@font-face {
  font-family: Archivo;
  src: url("/assets/orvante-v105/font-0.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/orvante-v105/font-1.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

.norea-references,
.norea-reference-story {
  --reference-paper: var(--ov-paper, #deddd8);
  --reference-soft: var(--ov-soft, #f7f6f2);
  --reference-ink: var(--ov-ink, #141413);
  --reference-muted: var(--nb-text-secondary, #55554f);
  --reference-line: var(--ov-line, #14141330);
  --reference-gutter: clamp(1.25rem, 4vw, 4.5rem);
  background: var(--reference-paper);
  color: var(--reference-ink);
  font-family: "Inter Tight", Arial, sans-serif;
}

.norea-references {
  scroll-margin-top: 5rem;
  padding: clamp(2.75rem, 6vw, 6rem) 0 clamp(2rem, 4vw, 3.75rem);
  border-top: 1px solid var(--reference-line);
}

.norea-references-layout { max-width: 79rem; margin-inline: auto; }
.norea-references-layout > header { padding-inline: var(--reference-gutter); text-align: center; }

.norea-references h2,
.norea-reference-story h1,
.norea-reference-story h2 {
  margin: 0;
  font-family: Archivo, Arial, sans-serif;
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.norea-references h2,
.norea-reference-story h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 4.4rem);
}

.norea-reference-story h1 { max-width: 18ch; }

.norea-references-layout > header p {
  margin: .75rem 0 0;
  color: var(--reference-muted);
}

.norea-reference-track {
  --card-width: clamp(11.75rem, 33vw, 19rem);
  position: relative;
  display: flex;
  gap: clamp(.35rem, .8vw, .8rem);
  padding: 1.2rem max(0px, calc((100% - var(--card-width)) / 2)) 2.6rem;
  overflow: auto hidden;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.norea-references[data-initialized] .norea-reference-track { scrollbar-width: none; }
.norea-reference-track:focus-visible { outline: 2px solid var(--reference-ink); outline-offset: -3px; }

.norea-reference-slide {
  flex: 0 0 var(--card-width);
  position: relative;
  scroll-snap-align: center;
}

.norea-reference-slide[data-position="0"] { z-index: 3; }
.norea-reference-slide:is([data-position="-1"], [data-position="1"]) { z-index: 2; }

.norea-reference-tile {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: 1;
  padding: .8rem;
  border: 1px solid var(--reference-line);
  border-radius: clamp(.8rem, 2vw, 1.4rem);
  background: var(--reference-soft);
  color: var(--reference-ink);
  box-shadow: 0 .5rem 1.5rem #14141316;
  text-decoration: none;
}

.norea-reference-slide[data-position="-1"] .norea-reference-tile {
  transform: translate(7%, 4%) rotate(-8deg) scale(.88);
}
.norea-reference-slide[data-position="1"] .norea-reference-tile {
  transform: translate(-7%, 4%) rotate(8deg) scale(.88);
}
.norea-reference-slide[data-position="-2"] .norea-reference-tile {
  transform: translate(12%, 11%) rotate(-13deg) scale(.75);
}
.norea-reference-slide[data-position="2"] .norea-reference-tile {
  transform: translate(-12%, 11%) rotate(13deg) scale(.75);
}

.norea-reference-slide:focus-within { z-index: 4; }
.norea-reference-slide:focus-within .norea-reference-tile { transform: none; }

.norea-reference-art {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  border-radius: .7rem;
}

.norea-reference-art img {
  display: block;
  width: 86%;
  height: 85%;
  object-fit: contain;
}

.norea-reference-art img.norea-reference-round {
  width: 74%;
  height: auto;
  max-height: 91%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.norea-reference-art-photo img { width: 100%; height: 100%; object-fit: cover; }
.norea-reference-slide[data-name="UrbanSoccer"] .norea-reference-art { background: var(--reference-ink); }
.norea-reference-slide[data-name="Urban Sports Bar"] .norea-reference-art-photo img { object-position: center 75%; }

.norea-reference-name {
  padding: .7rem .45rem .25rem;
  text-align: center;
  font-size: clamp(.9375rem, .86rem + .4vw, 1.125rem);
  font-weight: 600;
  line-height: 1.25;
}

a.norea-reference-tile { border-color: var(--reference-muted); }
a.norea-reference-tile:hover .norea-reference-name { text-decoration: underline; text-underline-offset: .2em; }

.norea-reference-arrow {
  position: absolute;
  inset: .7rem .7rem auto auto;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--reference-ink);
  color: var(--reference-soft);
  font-size: .9rem;
}

.norea-reference-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.2rem, 1vw, .85rem);
  margin-top: 1.25rem;
}
.norea-reference-controls[hidden] { display: none; }

.norea-reference-controls button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--reference-ink);
  cursor: pointer;
}

.norea-reference-controls > button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--reference-muted);
  border-radius: 50%;
  background: var(--reference-soft);
  font-size: 1.2rem;
}

.norea-reference-controls > button:hover { background: var(--reference-ink); color: var(--reference-soft); }
.norea-reference-controls button:focus-visible { outline: 2px solid var(--reference-ink); outline-offset: 2px; }
.norea-reference-markers { display: flex; }
.norea-reference-markers button { width: clamp(1.5rem, 3vw, 2.125rem); height: 2.75rem; border: 0; background: transparent; }

.norea-reference-markers button::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border: 1px solid var(--reference-muted);
  border-radius: 50%;
}

.norea-reference-markers button[aria-current="true"]::before {
  width: .8rem;
  height: .8rem;
  background: var(--reference-ink);
  border-color: var(--reference-ink);
}

.norea-reference-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (prefers-reduced-motion: no-preference) {
  .norea-reference-track { scroll-behavior: smooth; }
  .norea-reference-tile { transition: transform .28s ease-out; }
}

.norea-reference-story {
  min-height: 100svh;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.norea-reference-story *,
.norea-references * { box-sizing: border-box; }

.norea-reference-story a { color: inherit; text-underline-offset: .2em; }

:is(.norea-reference-story, .norea-references) a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.norea-reference-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem var(--reference-gutter);
  border-bottom: 1px solid var(--reference-line);
  background: var(--reference-soft);
}

.norea-reference-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.norea-reference-nav img { width: 6.25rem; height: auto; filter: brightness(0); }

.norea-reference-main {
  max-width: 80rem;
  margin-inline: auto;
  padding: clamp(1.65rem, 5vw, 4.75rem) var(--reference-gutter);
}

.norea-reference-content {
  display: grid;
  gap: clamp(1.75rem, 5vw, 5rem);
  margin-top: clamp(1.4rem, 4vw, 3.5rem);
}

.norea-reference-main :is(p, figcaption) { max-width: 55ch; }
.norea-reference-main h2 { margin-top: 1.75rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.norea-reference-main p { margin-block: .65rem 1.15rem; }
.norea-reference-crumb { font-size: .875rem; color: var(--reference-muted); }

.norea-reference-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .55rem .95rem;
  border-radius: 4px;
  background: var(--reference-ink);
  color: var(--reference-soft) !important;
  text-decoration: none;
}

.norea-reference-button:focus-visible { outline-color: var(--reference-ink) !important; }
.norea-reference-button:hover { text-decoration: underline; }
.norea-reference-photo { margin: 0; }
.norea-reference-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 4px;
  background: var(--reference-soft);
}

.norea-reference-photo figcaption {
  margin-top: .55rem;
  color: var(--reference-muted);
  font-size: .875rem;
}

@media (min-width: 53rem) {
  .norea-reference-content {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }
}
