:root {
  --black: #000;
  --grey: #ccc;
  --green: #17a34a;
  --page: #fff;
  --surface: #fff;
  --field: #fff;
  --line: #bfbfbf;
  --line-soft: #c8c8c8;
  --error: #d00;
  color-scheme: light dark;
  --margin-x: clamp(24px, 8.889vw, 128px);
  --margin-y: clamp(48px, 6.667vw, 96px);
  --gutter: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Spots gains a scrollbar once its scroll story initializes. Reserving the
     gutter keeps the viewport grid—and therefore the fixed menu—stationary. */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--black);
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 10; background: var(--surface); padding: 12px; }
.skip-link:focus { top: 1rem; }

.nav {
  position: fixed;
  z-index: 2;
  top: var(--margin-y);
  right: var(--margin-x);
  left: var(--margin-x);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
}
.nav-links { grid-column: 10 / -1; white-space: nowrap; }
.nav .active { text-decoration: underline; text-underline-offset: 2px; }
.about .nav { z-index: 4; }

/* About is a fixed twelve-column composition with the portrait pinned to its base. */
.about-page {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: var(--gutter);
  min-height: 100svh;
  padding: var(--margin-y) var(--margin-x);
  background: #fff;
  overflow: hidden;
}
.about-page::after {
  content: '';
  position: fixed;
  z-index: 0;
  top: 0;
  right: auto;
  bottom: auto;
  left: calc(var(--margin-x) + ((100vw - (2 * var(--margin-x)) + var(--gutter)) / 12 * 4));
  width: calc((100vw - (2 * var(--margin-x)) + var(--gutter)) / 12 * 4 - var(--gutter));
  height: 43%;
  background: #EEF6F9;
}
.about-page > :not(.about-photo) { position: relative; z-index: 2; }
.about-page h1 {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  grid-column: auto;
  grid-row: auto;
  width: 520px;
  opacity: 0;
  animation: about-reveal 700ms cubic-bezier(.16, 1, .3, 1) 80ms forwards;
}
.experiment-word { cursor: default; }
.experiment-prefix {
  display: inline-block;
  animation: experiment-letter-in 120ms cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes experiment-letter-in {
  from { opacity: 0; transform: translateX(-.15em) scaleX(.5); }
  to { opacity: 1; transform: translateX(0) scaleX(1); }
}
.about-photo {
  position: fixed;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: calc(var(--margin-x) + ((100vw - (2 * var(--margin-x)) + var(--gutter)) / 12 * 4));
  width: calc((100vw - (2 * var(--margin-x)) + var(--gutter)) / 12 * 4 - var(--gutter));
  overflow: hidden;
  transform: translate3d(var(--photo-x, 0), var(--photo-y, 0), 0);
  transition: transform 500ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.about-photo { background: #EEF6F9; }
.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  animation: portrait-reveal 1.15s cubic-bezier(.16, 1, .3, 1) 180ms forwards;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, .62) 0, rgba(255, 255, 255, .16) 16%, transparent 42%),
    linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, .18) 49%, transparent 61%);
  mix-blend-mode: screen;
  opacity: var(--glare-opacity, 0);
  transition: opacity 350ms ease, background-position 220ms ease;
}
@keyframes portrait-reveal {
  from { opacity: 0; transform: translateY(16px) scale(1.015); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.about-copy {
  grid-column: 1 / span 4;
  grid-row: 3;
  align-self: end;
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
  opacity: 0;
  animation: about-reveal 620ms cubic-bezier(.16, 1, .3, 1) 360ms forwards;
}
.about-details {
  grid-column: 10 / -1;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  padding-top: 115px;
  padding-bottom: 0;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
}
.about-details section:nth-child(2) { margin-top: 96px; }
.about-details section,
.resume-link { opacity: 0; animation: about-reveal 560ms cubic-bezier(.16, 1, .3, 1) forwards; }
.about-details section:first-child { animation-delay: 560ms; }
.about-details section:nth-child(2) { animation-delay: 710ms; }
.about-label { color: var(--grey); }
.about-details a:hover, .about-details a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.resume-link { align-self: flex-start; width: max-content; margin-top: auto; animation-delay: 860ms; }
@keyframes about-reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px) {
  .about-page {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    /* Keep every about-page block on the same text edge. The individual
       margins below make the vertical rhythm explicit instead of letting a
       desktop section offset leak into the mobile layout. */
    gap: 0;
    padding: 32px 24px 92px;
    overflow: visible;
  }
  .about-page::after { position: absolute; top: 0; right: 0; left: 0; width: auto; height: 43%; bottom: auto; }
  .about-page h1 { position: relative; top: auto; left: auto; width: auto; max-width: 100%; margin: 0 0 44px; font-size: clamp(35px, 10.6vw, 48px); line-height: .98; }
  .about-photo { position: relative; order: 2; top: auto; bottom: auto; left: auto; width: 100%; height: min(135vw, 560px); margin: 0 0 44px; }
  .about-copy { order: 3; width: 100%; margin: 0 0 64px; }
  .about-details { order: 4; display: flex; width: 100%; flex-direction: column; align-items: flex-start; gap: 44px; padding: 0; }
  .about-details section + section,
  .about-details section:nth-child(2) { margin: 0; }
  .resume-link { display: inline-block; margin-top: 0; }
}

/* History uses the same twelve-column canvas as the spots page. */
.history-page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: var(--gutter);
  min-height: 100svh;
  padding: var(--margin-y) var(--margin-x);
  font-weight: 500;
}
.history-page h1 {
  grid-column: 1 / span 4;
  grid-row: 1;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -.05em;
}
.history-empty {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  grid-row: 2;
  align-self: center;
  margin: -3px 0 0;
  color: var(--grey);
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -.05em;
}
.history-empty span:nth-child(1) { grid-column: 1 / span 3; }
.history-empty span:nth-child(2) { grid-column: 5 / span 3; }
.history-empty span:nth-child(3) { grid-column: 9 / span 3; }
.history-empty span {
  opacity: 0;
  animation: history-word-in 620ms cubic-bezier(.16, 1, .3, 1) forwards;
}
.history-empty span:nth-child(1) { animation-delay: 180ms; }
.history-empty span:nth-child(2) { animation-delay: 560ms; }
.history-empty span:nth-child(3) { animation-delay: 940ms; }
.history-empty[hidden], .history-archive[hidden] { display: none; }
@keyframes history-word-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.history-archive {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: repeat(4, 162px);
  gap: 48px 36px;
  align-self: center;
  margin: 64px 0;
}
.history-item { position: relative; min-width: 0; padding-top: 46px; }
.history-rank {
  position: absolute;
  top: 0;
  left: 4px;
  color: var(--grey);
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.history-rank--1 { color: var(--black); }
.history-card {
  position: relative;
  display: grid;
  place-items: center;
  width: 144px;
  height: 184px;
  border: 1px solid var(--line);
  background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-soft) 50%, transparent calc(50% + .5px)), var(--surface);
}
.history-card:hover, .history-card:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.history-spot-number {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 16px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
}
.history-card img { position: relative; z-index: 1; display: block; width: 100px; height: 100px; object-fit: contain; }
.history-period {
  position: absolute;
  top: 46px;
  left: 154px;
  color: var(--grey);
  font-size: 13px;
  line-height: 16px;
  letter-spacing: -.05em;
  white-space: nowrap;
  writing-mode: vertical-rl;
}
.history-copy {
  grid-column: 1 / span 5;
  grid-row: 3;
  align-self: end;
  margin-bottom: 1px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
}
.history-copy p + p { margin-top: 28px; }

@media (min-width: 801px) and (max-width: 1050px) {
  .history-archive { grid-template-columns: repeat(3, 162px); }
}

/* How it works follows the same quiet, twelve-column editorial rhythm. */
.how-page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: var(--gutter);
  height: 100svh;
  padding: var(--margin-y) var(--margin-x);
  overflow: hidden;
}
.how-intro { grid-column: 1 / span 5; grid-row: 1; }
.how-steps {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
}
.how-intro h1 { font-size: 48px; line-height: 48px; letter-spacing: -.05em; }
.how-steps {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  padding: 0;
  margin: 0;
  list-style: none;
}
.how-steps li { position: relative; min-height: 355px; padding: 32px 24px; border: 1px solid var(--grey); }
.how-steps li { opacity: 0; transform: translateY(18px); animation: how-card-in 680ms cubic-bezier(.16, 1, .3, 1) forwards; }
.how-steps li:nth-child(1) { animation-delay: 120ms; }
.how-steps li:nth-child(2) { animation-delay: 240ms; }
.how-steps li:nth-child(3) { animation-delay: 360ms; }
.how-steps li:nth-child(4) { animation-delay: 480ms; }
@keyframes how-card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.how-number { display: block; margin-bottom: 20px; color: var(--grey); }
.how-step-copy h2 { margin: 0; font-size: 32px; line-height: .96; letter-spacing: -.05em; font-weight: 500; }
.how-step-copy p { margin-top: 28px; max-width: 255px; color: var(--black); }
.how-step-copy a { text-decoration: underline; text-underline-offset: 2px; }
.how-card { position: absolute; z-index: 1; bottom: -124px; left: 24px; width: 145px; height: 185px; display: flex; padding: 16px; border: 1px solid var(--grey); background: #fff; color: var(--grey); }
.how-card strong { color: var(--black); font-weight: 500; }
.how-card--claim { align-items: center; justify-content: center; color: var(--black); text-align: center; }
.how-card--claim::before, .how-card--claim::after { content: ''; position: absolute; width: 62px; height: 1px; background: var(--grey); transform: rotate(48deg); }
.how-card--claim::before { top: 24px; left: -7px; }
.how-card--claim::after { right: -7px; bottom: 24px; }
.how-card--price, .how-card--logo { justify-content: space-between; }
.how-card--review { flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 24px; text-align: left; }
.how-card--logo b { position: absolute; top: 70px; left: 24px; color: var(--black); font-size: 22px; line-height: 23px; letter-spacing: -.05em; font-weight: 500; }

.content-nav {
  position: fixed;
  z-index: 2;
  top: 36%;
  right: var(--margin-x);
  left: var(--margin-x);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
}
.content-nav a { position: relative; grid-column: 10 / -1; color: var(--grey); }
.content-nav a:hover, .content-nav a:focus-visible, .content-nav a.active { color: var(--black); }
.content-nav a.active::after {
  content: '';
  position: absolute;
  right: 0;
  top: 6px;
  width: 12px;
  height: 8px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M12 4H1M5 0 1 4l4 4' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
}

.spot-section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  min-height: 100svh;
  padding: var(--margin-y) var(--margin-x);
  overflow: hidden;
}
.mobile-story-ending { display: none; }

h1, h2, h3, p { margin: 0; font: inherit; }
.mobile-break { display: none; }
h1, h2 {
  grid-column: 1 / span 7;
  align-self: start;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -.05em;
  max-width: 680px;
}

.presence, .detail, .aside, .offer p, .final-aside, .back {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
}
.presence { position: relative; z-index: 4; grid-column: 1 / span 4; align-self: start; margin-top: 32px; color: inherit; text-decoration: none; pointer-events: auto; }
.presence--mobile { display: none; }
.presence:hover, .presence.is-hovered, .presence:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.presence > span:first-child { display: inline-block; width: 5px; height: 5px; margin: 0 4px 1px 0; background: var(--green); border-radius: 50%; animation: presence-pulse 1.7s ease-in-out infinite; }
@keyframes presence-pulse { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .presence > span:first-child { animation: none; } }
.detail { grid-column: 1 / span 4; align-self: end; margin-bottom: 2px; }
.aside { grid-column: 10 / -1; align-self: end; margin-bottom: 2px; }

.applications-heading { position: relative; cursor: pointer; outline: none; }
.applications-heading:focus-visible { outline: 1px solid currentColor; outline-offset: 8px; }
.applications-hint {
  position: absolute !important;
  z-index: 4;
  top: calc(var(--margin-y) - 36px);
  left: calc(var(--margin-x) + 320px);
  display: flex;
  align-items: flex-start;
  width: 176px;
  height: 58px;
  color: var(--black);
  pointer-events: none;
  transform: rotate(-2deg);
  transition: opacity 140ms ease;
}
.applications-hint svg { width: 72px; height: 52px; overflow: visible; }
.applications-hint path { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.applications-hint span {
  margin: -2px 0 0 2px;
  white-space: nowrap;
  font-family: "Shadows Into Light", "Comic Sans MS", cursive;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.applications-hint-mobile { display: none; }
.applications-heading.is-open ~ .applications-hint { opacity: 0 !important; }
.applications-total { display: inline-flex; }
.application-digit {
  position: relative;
  display: inline-grid;
  min-width: .56em;
  justify-items: center;
  perspective: 1.2em;
  overflow: hidden;
}
.application-digit-old,
.application-digit-new {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
.application-digit-old {
  animation: application-digit-out 86ms linear both;
}
.application-digit-new {
  animation: application-digit-in 86ms linear both;
}
@keyframes application-digit-out {
  0%, 46% { opacity: 1; transform: rotateX(0deg) translateY(0); }
  100% { opacity: 0; transform: rotateX(-92deg) translateY(-.12em); }
}
@keyframes application-digit-in {
  0%, 44% { opacity: 0; transform: rotateX(92deg) translateY(.12em); }
  100% { opacity: 1; transform: rotateX(0deg) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .application-digit-old, .application-digit-new { animation: none; }
}
.applications-breakdown {
  position: absolute !important;
  z-index: 5 !important;
  top: calc(var(--margin-y) + 164px);
  left: var(--margin-x);
  width: min(360px, calc(100vw - (2 * var(--margin-x))));
  padding: 16px;
  border: 1px solid var(--grey);
  background: #fff;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
  opacity: 0;
  translate: 0 8px;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, translate 160ms ease, visibility 0s linear 160ms;
}
.applications-heading.is-open + .applications-breakdown {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.applications-divider { height: 1px; margin: 14px 0; background: var(--grey); }
.applications-days { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.applications-days li { display: flex; justify-content: space-between; gap: 24px; }
.applications-days time { color: var(--grey); }
.applications-days span { text-align: right; }

.down {
  grid-column: 6 / span 2;
  align-self: end;
  justify-self: center;
  font-family: Inter, Arial, sans-serif;
  font-size: 54px;
  font-weight: 400;
  line-height: .55;
  transition: transform .2s ease;
}
.down:hover { transform: translateY(6px); }

.final h2 { grid-column: 1 / span 7; }
.final { grid-template-rows: auto 1fr auto; }
.final h2 { grid-row: 1; }
.offer { grid-column: 1 / span 5; grid-row: 3; align-self: end; margin-bottom: 0; }
.offer h3 { margin-bottom: 18px; font-size: 48px; line-height: 48px; letter-spacing: -.05em; }
.offer p { margin-bottom: 32px; }
.offer p + p { margin-bottom: 0; }
.final-aside { grid-column: 10 / -1; grid-row: 3; align-self: end; margin-bottom: 0; }
.final-aside p { margin-bottom: 32px; }
.final-aside p + p { margin-bottom: 0; }
.back { grid-column: 6 / span 2; grid-row: 3; align-self: end; justify-self: center; white-space: nowrap; }

.line, .line > span { display: block; }
.scroll-story { height: 460svh; }
.scroll-story .scroll-stage { position: sticky; top: 0; height: 100svh; }
.scroll-story .spot-section { position: absolute; inset: 0; height: 100%; min-height: 0; grid-template-rows: auto 1fr auto; }
.scroll-story .spot-section:not(.is-visible) { pointer-events: none; }
.scroll-story .spot-gallery { visibility: visible; }
.scroll-story h1, .scroll-story h2 { grid-row: 1; }
.scroll-story .presence { grid-row: 2; }
.scroll-story .detail, .scroll-story .aside, .scroll-story .down,
.scroll-story .offer, .scroll-story .final-aside { grid-row: 3; }
.scroll-story .line { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.scroll-story .line > span { transform: translateY(var(--line-shift)); will-change: transform; }
.scroll-story .spot-section > :not(h1):not(h2):not(.spot-gallery) { opacity: var(--copy-opacity); translate: 0 var(--copy-shift); }

@media (max-width: 800px) {
  :root { --margin-x: 24px; --margin-y: 32px; --gutter: 12px; }
  .nav { top: auto; right: 24px; bottom: max(20px, env(safe-area-inset-bottom)); left: 24px; display: block; padding: 9px 12px; width: max-content; max-width: calc(100% - 48px); background: #fff; border: 1px solid var(--grey); }
  .nav-links { display: block; }
  /* The desktop scroll-story controls are decorative at this size. Keeping
     them fixed covered the carousel and the page menu on short phones. */
  .content-nav { display: none; }
  .scroll-stage {
    display: flex;
    flex-direction: column;
  }
  .mobile-story-carousel {
    display: flex;
    width: calc(100% - 24px);
    min-width: 0;
    align-items: stretch;
    gap: 24px;
    margin: -56px 0 0 24px;
    padding: 56px 24px 0 0;
    scroll-padding-left: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .mobile-story-carousel::-webkit-scrollbar { display: none; }
  /* Keep the full story available below the mobile spot board. */
  .scroll-stage > .spot-section:not(.final), .mobile-story-carousel > .spot-section { display: flex; }
  .spot-section { display: flex; min-height: auto; flex-direction: column; align-items: stretch; gap: 28px; padding: 32px 24px 112px; overflow: visible; }
  .mobile-story-carousel .spot-section {
    flex: 0 0 calc(100vw - 120px);
    margin: 0;
    padding: 24px 24px 40px !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-left: 0;
  }
  .mobile-story-carousel br { display: none; }
  .mobile-story-carousel h2 {
    font-size: 32px;
    line-height: .96;
    letter-spacing: -.05em;
  }
  .mobile-story-carousel .spot-section:first-child { margin-left: 0 !important; }
  .mobile-story-carousel .spot-section.intro { margin-top: 0; }
  .spot-section.intro { min-height: auto; }
  .spot-section.final { order: -1; gap: 28px; padding-top: 32px; padding-bottom: 0; }
  .final > h2, .final .offer p:first-of-type { display: block; }
  .final .offer { order: 1; }
  .final .spot-gallery { order: 2; }
  .final > h2 { order: 3; }
  .final > h1, .final > h2 { display: none; }
  .mobile-story-ending { display: block; margin: 64px 24px 112px; padding: 0 0 32px; }
  .mobile-story-card { margin: 0; padding: 0; border: 0; }
  .mobile-story-card h2, .mobile-story-card h3 { font-size: clamp(35px, 10.6vw, 48px); line-height: .98; letter-spacing: -.05em; }
  .mobile-story-ending h2 { font-size: 32px; line-height: .96; letter-spacing: -.05em; }
  .mobile-story-card + .mobile-story-card h3 { margin-top: 56px; }
  .mobile-story-card p { margin-top: 24px; font-size: 13px; line-height: 20px; letter-spacing: -.05em; }
  .mobile-top-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
  .offer .mobile-top-link { text-decoration: none; }
  .mobile-story-card h3 + p { margin-top: 24px; }
  .mobile-story-signoff { margin-top: 24px; }
  .mobile-story-signoff p + p { margin-top: 24px; }
  .mobile-story-signoff strong { font-weight: inherit; }
  h1, h2 { grid-column: 1 / -1; font-size: clamp(35px, 10.6vw, 48px); line-height: .98; }
  .presence { margin-top: 0; }
  .intro > .presence { display: none; }
  .detail, .aside { align-self: auto; margin: 0; }
  .applications-breakdown {
    display: none;
    position: static !important;
    width: 100%;
    margin-top: -12px;
  }
  .applications-heading.is-open + .applications-breakdown {
    display: block;
    opacity: 1;
    translate: 0 0;
    visibility: visible;
    pointer-events: auto;
  }
  .applications-hint {
    position: absolute !important;
    top: -28px;
    right: 10px;
    left: auto;
    width: 130px;
    height: 42px;
    transform: rotate(-5deg) !important;
    transform-origin: top right;
  }
  .applications-hint svg { width: 62px; height: 42px; }
  .applications-hint span { margin-top: 0; font-size: 22px; }
  .applications-hint-desktop { display: none; }
  .applications-hint-mobile { display: inline; }
  .intro .aside { margin-top: 12px; }
  .down { display: none; }
  .offer { align-self: stretch; margin: 0; }
  .offer p { margin-bottom: 32px; }
  .offer h3 { margin-bottom: 24px; font-size: clamp(35px, 10.6vw, 48px); line-height: .98; }
  .presence--mobile { display: block; margin: 0 0 24px; }
  .mobile-break { display: block; }
  .final-aside { display: none; }
  .back { display: none; }

  /* Once the spot board is over, keep the remaining story beats visually
     connected instead of treating each section as a separate screen. */
  .spot-section:not(.final) { padding-top: 0; padding-bottom: 64px; }
  .spot-section:not(.final) + .spot-section:not(.final) { padding-top: 0; }
  .spot-section:not(.final) {
    margin: 24px;
    padding: 24px 24px 40px;
    border: 1px solid var(--grey);
  }
  .mobile-story-carousel .spot-section {
    margin: 0;
  }
  .spot-section.intro { margin-top: 24px; }

  /* Mobile keeps the content in the document flow, but each story beat still
     arrives with the same measured pacing as the desktop scroll narrative. */
  .mobile-story .spot-section > * {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 520ms cubic-bezier(.16, 1, .3, 1), translate 520ms cubic-bezier(.16, 1, .3, 1);
  }
  .mobile-story .spot-section.has-entered > * { opacity: 1; translate: 0 0; }
  /* The claim section is the mobile entry point, so its restored story copy
     must remain visible even before the observer reaches later sections. */
  .mobile-story .final > * { opacity: 1; translate: 0 0; }
  .mobile-story .spot-section > :nth-child(2) { transition-delay: 70ms; }
  .mobile-story .spot-section > :nth-child(3) { transition-delay: 130ms; }
  .mobile-story .spot-section > :nth-child(4) { transition-delay: 190ms; }
  .mobile-story .spot-section > :nth-child(5) { transition-delay: 250ms; }
  .history-page {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: var(--margin-y) var(--margin-x) 86px;
  }
  .history-page h1 { grid-column: 1 / -1; font-size: clamp(35px, 10.6vw, 48px); line-height: .98; }
  .history-empty { grid-template-columns: 1fr; grid-column: 1 / -1; gap: 3px; font-size: clamp(35px, 10.6vw, 48px); line-height: .98; }
  .history-empty span:nth-child(n) { grid-column: auto; }
  .history-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; margin: 48px 0 64px; }
  .history-card { width: calc(100% - 18px); max-width: 144px; height: auto; aspect-ratio: 144 / 184; }
  .history-period { left: min(calc(100% - 8px), 154px); }
  .history-rank { font-size: 27px; }
  .history-copy { grid-column: 1 / -1; }
  .how-page { display: flex; height: auto; min-height: 100svh; flex-direction: column; gap: 44px; padding: 32px 24px 160px; overflow: visible; }
  .how-intro h1 { font-size: clamp(35px, 10.6vw, 48px); line-height: .98; }
  .how-steps { display: flex; flex-direction: column; gap: 104px; }
  .how-steps li { min-height: 330px; padding: 24px; }
  .how-step-copy h2 { font-size: 32px; }
}

.logo-preview[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spot-section > :not(h1):not(h2) { transition: none; }
  .history-empty span { opacity: 1; animation: none; }
  .about-page h1, .about-copy, .about-details section, .resume-link, .about-photo img { opacity: 1; animation: none; }
  .how-steps li { opacity: 1; transform: none; animation: none; }
  .about-photo { transform: none; transition: none; }
  .about-photo::after { display: none; }
}

/* The spots stay pinned while the story changes behind them. */
.spot-section > * { position: relative; z-index: 2; }
.spot-section .presence { z-index: 10 !important; pointer-events: auto !important; cursor: pointer; }
.final > .back { z-index: 3; }
.spot-gallery {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw;
  height: 100svh;
  z-index: 1;
  overflow: hidden;
  transform: translateZ(0);
  touch-action: pan-y;
  pointer-events: none;
}
.spot-ring { position: relative; width: 100%; height: 100%; will-change: transform; }
.spot-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 144px;
  height: 184px;
  display: grid;
  place-items: center;
  border: 1px solid #bfbfbf;
  background: transparent;
  transform-origin: center;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.application, .thank-you { display: none; position: fixed; inset: 0; z-index: 30; background: #fff; }
body.thank-you-active .spots { visibility: hidden; }
.spots:has(~ .thank-you.is-open) { visibility: hidden; }
.application.is-open, .thank-you.is-open { display: grid; }
.application {
  grid-template-columns: minmax(300px, 456px) minmax(360px, 380px) minmax(130px, 1fr);
  gap: clamp(40px, 10.3vw, 148px);
  align-items: center;
  padding: var(--margin-y) var(--margin-x);
  overflow-y: auto;
}
.application.is-animating .application-upload,
.application.is-animating .application-form { opacity: 0; }
.application-upload, .application-form { transition: opacity 180ms ease; }
.application-upload { width: 100%; }
.upload-dropzone { display: grid; place-items: center; position: relative; width: 100%; max-height: calc(100svh - 192px); aspect-ratio: 456 / 582; border: 1px dashed #c8c8c8; cursor: pointer; overflow: hidden; }
.upload-dropzone.is-dragging { border-color: #000; background: #f5f5f5; }
.spot-flight.is-dragging { border-color: #000; background: #f5f5f5; }
.upload-dropzone.has-error { border: 2px solid #d00; background: #fff7f7; }
.upload-dropzone.has-error .upload-prompt { color: #d00; }
.upload-dropzone:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.upload-dropzone:has(.logo-preview:not([hidden])) { border-style: solid; }
.spot-flight { position: fixed; z-index: 31 !important; display: grid; place-items: center; margin: 0; border: 1px solid #bfbfbf; background: #fff; overflow: hidden; pointer-events: none; }
.spot-flight.is-arrived { border-style: dashed; cursor: pointer; pointer-events: auto; }
.spot-flight.is-arrived svg, .spot-flight.is-arrived::after { display: none; }
.spot-upload-prompt { font-size: 48px; line-height: .99; letter-spacing: -.07em; text-align: center; }
.spot-flight .spot-upload-prompt { font-size: 48px; line-height: .99; letter-spacing: -.07em; }
.spot-flight .spot-claim { opacity: 1; }
.spot-flight svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.spot-flight line { stroke: #c8c8c8; stroke-width: 1; vector-effect: non-scaling-stroke; }
.spot-flight::after { position: absolute; inset: -20%; content: ""; border-top: 1px solid #c8c8c8; transform: rotate(52deg); transform-origin: center; }
.spot-flight span { position: relative; z-index: 1; padding: 10px 8px; background: #fff; font-size: 13px; line-height: 20px; letter-spacing: -.05em; text-align: center; }
.upload-prompt { font-size: 48px; line-height: .99; letter-spacing: -.07em; text-align: center; }
.logo-preview { display: block; width: 278px; height: 278px; max-width: 100%; max-height: 100%; object-fit: contain; }
.upload-prompt { grid-area: 1 / 1; }
.application-form { position: relative; width: 100%; align-self: center; }
.application-form h2 { margin-bottom: 23px; font-size: 48px; line-height: .98; letter-spacing: -.07em; }
.application-intro { max-width: 370px; margin-bottom: 35px; font-size: 13px; line-height: 20px; letter-spacing: -.05em; }
.application-form label { display: block; margin-bottom: 25px; font-size: 13px; line-height: 20px; letter-spacing: -.05em; }
.application-form input, .application-form textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid #c8c8c8; border-radius: 0; background: #fff; padding: 9px 12px; color: #000; font: inherit; font-size: 13px; font-weight: 400; line-height: 20px; outline-offset: 2px; }
.application-form input { height: 38px; }
.application-form textarea { height: 78px; resize: vertical; }
.application-form input::placeholder, .application-form textarea::placeholder, .message-label span, .payment-note, .pending-card span { color: #c8c8c8; }
.message-label { position: relative; }
.message-label > span { position: absolute; top: 0; right: 0; }
.application-close { position: fixed; top: clamp(32px, 6.667vw, 96px); right: clamp(24px, 8.889vw, 128px); width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: #ccc; font-family: Arial, sans-serif; font-size: 56px; font-weight: 200; line-height: 31px; cursor: pointer; }
.payment { margin-top: 2px; font-size: 13px; line-height: 20px; letter-spacing: -.05em; }
.payment + .message-label { margin-top: 32px; }
.reveal-after-payment[hidden], .submit-application[hidden] { display: none; }
.payment[hidden] { display: none; }
.payment-title { margin-bottom: 0; padding-bottom: 8px; }
.revolut-button { display: grid; place-items: center; width: 100%; height: 77px; margin: 0 0 16px; border: 1px solid #2f3040; border-radius: 13px; background: #202027; cursor: pointer; transition: background 150ms ease, transform 150ms ease; }
.revolut-button img { display: block; width: min(169px, 55%); height: auto; transform: translateY(3px); }
.revolut-button:hover { background: #2b2c35; }
.revolut-button:active { transform: scale(.99); }
.revolut-button:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.submit-application { position: absolute; left: 0; bottom: -33px; border: 0; background: transparent; padding: 0; color: #000; font: inherit; font-size: 48px; line-height: 1; letter-spacing: -.07em; cursor: pointer; }
.submit-application:hover, .submit-application:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.application-submit-error { position: absolute; left: 0; bottom: -112px; margin: 0; color: #d00; font-size: 13px; line-height: 20px; letter-spacing: -.05em; }
.thank-you { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); grid-template-rows: auto 1fr auto; padding: var(--margin-y) var(--margin-x); }
.thank-you.is-open { background: transparent; }
.thank-you .pending-card { display: none; }
.spot-card.is-returning { opacity: 0 !important; }
.spot-return img { display: block; width: 278px; height: 278px; max-width: 100%; max-height: 100%; object-fit: contain; }
.thank-you h2 { grid-column: 1 / span 5; font-size: 48px; line-height: .98; letter-spacing: -.07em; }
.pending-card { grid-column: 7 / span 2; align-self: center; width: 145px; height: 186px; padding: 24px; border: 1px solid #c8c8c8; display: flex; flex-direction: column; justify-content: space-between; font-size: 13px; line-height: 20px; letter-spacing: -.05em; }
.pending-card strong { font: inherit; }
.review-copy, .live-copy { align-self: end; font-size: 13px; line-height: 20px; letter-spacing: -.05em; }
.review-copy { grid-column: 1 / span 4; }
.live-copy { grid-column: 10 / -1; }

@media (max-width: 800px) {
  .application { display: none; grid-template-columns: 1fr; gap: 32px; align-content: start; padding: 78px 24px 36px; }
  .application.is-open { display: block; height: 100dvh; overflow-y: scroll; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
  .application-upload { max-width: 456px; margin: 0 auto 32px; }
  .upload-dropzone { aspect-ratio: 1 / 1; }
  .upload-prompt, .application-form h2, .thank-you h2 { font-size: clamp(36px, 11vw, 48px); }
  .application-form { max-width: 456px; margin: 0 auto; }
  .application-close { top: 26px; right: 20px; }
  .application-form input, .application-form textarea { font-size: 16px; }
  .submit-application { position: static; display: block; margin: 48px 0 0; font-size: 40px; }
  .application-submit-error { position: static; margin: 12px 0 0; }
  .thank-you { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; gap: 28px; padding: 32px 24px; }
  .thank-you h2, .pending-card, .review-copy, .live-copy { grid-column: 1; }
  .pending-card { justify-self: center; align-self: center; }
  .review-copy, .live-copy { align-self: end; }
}
.spot-card svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.spot-card line { stroke: #c8c8c8; stroke-width: 1; vector-effect: non-scaling-stroke; }
.spot-claim {
  position: relative;
  padding: 10px 8px;
  background: #fff;
  color: #000;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -.05em;
  text-align: center;
  opacity: 0;
  transition: opacity 180ms ease;
}
.spot-pending { width: 100%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px 24px; background: #fff; color: #c8c8c8; font-size: 13px; line-height: 20px; letter-spacing: -.05em; text-align: left; }
.spot-pending strong { color: #000; font: inherit; }
.spot-card.is-live { background: #fff; overflow: hidden; }
.spot-card.is-live img { display: block; width: 97px; height: 97px; margin-top: 12px; object-fit: contain; }
.spot-card-header { position: absolute; top: 14px; right: 16px; left: 16px; display: flex; justify-content: space-between; gap: 8px; color: #c8c8c8; font-size: 13px; line-height: 20px; letter-spacing: -.05em; }
.spot-word { color: #ccc; }
.spot-card-header > span:last-child { color: #000; white-space: nowrap; }
.spot-preview-logo { display: grid; place-items: center; width: calc(100% - 32px); height: calc(100% - 66px); font-size: 26px; line-height: 1; letter-spacing: -.08em; text-align: center; }
.spot-preview-logo--1 { font-size: 34px; font-family: Georgia, serif; font-style: italic; letter-spacing: -.12em; }
.spot-preview-logo--2 { font-size: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.spot-preview-logo--3 { font-size: 31px; letter-spacing: -.13em; }
.spot-preview-logo--4 { font-family: Georgia, serif; font-size: 30px; letter-spacing: -.1em; }
.spot-preview-logo--5 { font-size: 24px; font-style: italic; letter-spacing: .02em; }
.spot-preview-logo--6 { font-size: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.spot-preview-logo--7 { font-size: 31px; font-family: Georgia, serif; letter-spacing: -.15em; }
.spot-preview-logo--8 { font-size: 23px; font-weight: 700; letter-spacing: -.09em; }
.spot-preview-logo--9 { font-size: 29px; font-style: italic; letter-spacing: -.12em; }
.spot-preview-logo--10 { font-size: 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.spot-preview-logo--11 { font-size: 30px; font-family: Georgia, serif; font-style: italic; letter-spacing: -.12em; }
.spot-countdown { position: absolute; right: 0; bottom: 14px; left: 0; color: #aaa; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 500; line-height: 13px; letter-spacing: -.05em; text-align: center; }
.spot-card:hover, .spot-card:focus-visible { opacity: 1 !important; z-index: 20 !important; background: #fff; }
.spot-card:hover .spot-claim, .spot-card:focus-visible .spot-claim { opacity: 1; }
.spot-card:focus-visible { outline: 2px solid #000; outline-offset: 5px; }
@media (max-width: 800px) {
  /* On phones the spots belong to the opening section instead of floating
     over every section. This gives the carousel a real, predictable block. */
  .spot-gallery { position: relative !important; inset: auto !important; width: calc(100% + 48px); height: 224px; margin: 0 -24px; overflow-x: auto; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scrollbar-width: thin; scroll-snap-type: x mandatory; }
  .spot-ring { display: flex; align-items: center; gap: 22px; width: max-content; min-width: 100%; height: 100%; padding: 20px 24px; transform: none !important; }
  .spot-card { position: relative; left: auto; top: auto; flex: 0 0 144px; scroll-snap-align: center; transform: none !important; opacity: 1 !important; }
  .spot-card:nth-child(even) { margin-top: 28px; }
  .spot-claim { opacity: 1; }
  .spot-word { display: none; }

  /* Keep live brand marks clear of the card header and countdown in the
     three-column mobile board. */
  .spot-card.is-live img { width: 68.9px; height: 68.9px; margin-top: 0; }

  /* The mobile entry point is a compact, browseable claim board. The same
     cards remain viewport-pinned and animated by the desktop composition. */
  .final .spot-gallery { width: 100%; height: auto; margin: 0; overflow: visible; scroll-snap-type: none; }
  .final .spot-ring { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; width: 100%; min-width: 0; height: auto; padding: 0; }
  .final .spot-gallery { margin-bottom: 64px; }
  .final .spot-card { width: 100%; height: auto; min-width: 0; aspect-ratio: 144 / 184; margin: 0; }
  .final .spot-card:nth-child(even) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-card { will-change: auto; }
  .spot-claim { transition: none; }
}

/* Match the visitor's system theme. The dark palette follows the supplied
   reference: a charcoal canvas, black cards and quiet cool-grey details. */
:root[data-theme="dark"] {
  --black: #f5f5f3;
  --grey: #777a7c;
  --green: #35c66b;
  --page: #191c1f;
  --surface: #050505;
  --field: #101214;
  --line: #3b3e40;
  --line-soft: #46494b;
  --error: #ff6b6b;
  color-scheme: dark;

  body,
  .about-page { background: var(--page); }

  .skip-link,
  .applications-breakdown,
  .how-steps li,
  .how-card,
  .spot-card,
  .spot-flight,
  .spot-flight span,
  .spot-claim,
  .spot-pending,
  .spot-card.is-live,
  .spot-card:hover,
  .spot-card:focus-visible { background: var(--surface); }

  .how-steps li,
  .mobile-story-carousel .spot-section,
  .spot-section:not(.final),
  .spot-card { border-color: var(--line); }

  .how-card,
  .pending-card,
  .upload-dropzone,
  .spot-flight { border-color: var(--line-soft); }

  .about-page::after,
  .about-photo { background: #20262a; }

  .about-photo::after {
    background:
      radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .05) 16%, transparent 42%),
      linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, .08) 49%, transparent 61%);
  }

  .content-nav a.active::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M12 4H1M5 0 1 4l4 4' fill='none' stroke='%23f5f5f3' stroke-width='1.1'/%3E%3C/svg%3E");
  }

  .application,
  .thank-you { background: var(--page); }

  .application-form input,
  .application-form textarea {
    border-color: var(--line-soft);
    background: var(--field);
    color: var(--black);
  }

  .application-form input::placeholder,
  .application-form textarea::placeholder,
  .message-label span,
  .payment-note,
  .pending-card span,
  .spot-pending,
  .spot-card-header,
  .spot-word { color: var(--grey); }

  .how-card strong,
  .how-card--claim,
  .how-card--logo b,
  .how-step-copy p,
  .spot-pending strong,
  .spot-card-header > span:last-child,
  .spot-claim,
  .submit-application { color: var(--black); }

  .spot-card line,
  .spot-flight line { stroke: var(--line-soft); }

  .spot-flight::after { border-color: var(--line-soft); }

  .upload-dropzone.is-dragging,
  .spot-flight.is-dragging {
    border-color: var(--black);
    background: #202326;
  }

  .upload-dropzone.has-error {
    border-color: var(--error);
    background: #2b1113;
  }

  .upload-dropzone.has-error .upload-prompt,
  .application-submit-error { color: var(--error); }

  .upload-dropzone:focus-visible,
  .revolut-button:focus-visible,
  .spot-card:focus-visible { outline-color: var(--black); }

  @media (max-width: 800px) {
    .nav {
      border-color: var(--line);
      background: var(--surface);
    }

    .mobile-story-carousel .spot-section,
    .spot-section:not(.final) { background: var(--surface); }
  }
}
