:root {
  --ink: #f5ead6;
  --muted: rgba(245, 234, 214, 0.68);
  --paper: #0d0b08;
  --panel: #17130d;
  --gold: #c99b54;
  --olive: #1c2114;
  --line: rgba(245, 234, 214, 0.12);
  --board-cream: #f6f1df;
  --board-ink: #11120b;
  --board-sage: #dfe5c4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  scroll-behavior: smooth;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 260svh;
  --hero-progress: 0;
  --hero-copy-reveal: 0;
  isolation: isolate;
  scroll-snap-align: start;
  background: #080704;
}

.hero-media {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100svh;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  z-index: 5;
  background:
    radial-gradient(circle at 68% 48%, transparent 0 22%, rgba(8, 7, 4, 0.2) 42%, rgba(8, 7, 4, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 7, 4, 0.82), rgba(8, 7, 4, 0.16) 42%, rgba(8, 7, 4, 0.42));
  pointer-events: none;
}

.hero-video,
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  opacity: 1;
}

.hero-canvas {
  opacity: 0;
}

.hero.uses-video .hero-video {
  opacity: 1;
}

.hero.uses-video .hero-canvas {
  opacity: 0;
}

.hero.uses-frames .hero-video {
  opacity: 0;
}

.hero.uses-frames .hero-canvas {
  opacity: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  background:
    linear-gradient(180deg, rgba(8, 7, 4, 0.26), transparent 45%, rgba(8, 7, 4, 0.72)),
    radial-gradient(circle at 20% 70%, rgba(201, 155, 84, 0.14), transparent 34%);
  pointer-events: none;
}

.hero-progress {
  position: fixed;
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  bottom: 28px;
  z-index: 20;
  height: 2px;
  overflow: hidden;
  background: rgba(245, 234, 214, 0.16);
  opacity: 1;
  transition: opacity 500ms ease;
}

.hero-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--hero-progress));
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), #f4dfaa);
}

.hero.is-complete .hero-progress {
  opacity: 0;
}

.hero-copy {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(620px, calc(100% - 40px));
  min-height: 100svh;
  margin-top: -100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(20px, 7vw, 112px);
  opacity: var(--hero-copy-reveal);
  transform: translateY(calc((1 - var(--hero-copy-reveal)) * 22px));
  pointer-events: none;
  transition:
    opacity 120ms linear,
    transform 120ms linear;
}

.hero.is-complete .hero-copy {
  transform: translateY(0);
  pointer-events: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 11vw, 10rem);
  line-height: 0.82;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 6.5rem);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 0.96;
  font-weight: 500;
}

.lede,
section p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.cta {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 20px;
  border: 1px solid rgba(245, 234, 214, 0.34);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(245, 234, 214, 0.08);
  backdrop-filter: blur(10px);
}

.scroll-cue {
  position: fixed;
  right: clamp(20px, 4vw, 64px);
  bottom: 44px;
  z-index: 25;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: calc(1 - var(--hero-progress));
  transition: opacity 120ms linear;
}

.hero.is-complete .scroll-cue {
  opacity: 0;
}

.intro,
.split-section,
.finale,
.collection,
.brand-board-section,
.brand-system {
  scroll-snap-align: start;
  padding: clamp(72px, 12vw, 150px) clamp(20px, 6vw, 96px);
}

.intro {
  display: grid;
  gap: 34px;
  background:
    radial-gradient(circle at 70% 20%, rgba(201, 155, 84, 0.12), transparent 30%),
    var(--paper);
}

.intro img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 720px;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--panel);
}

.feature-grid img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-grid article div {
  padding: clamp(28px, 5vw, 64px);
}

.split-section,
.finale {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  background: #100e0a;
}

.split-section img,
.finale img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 36px 86px rgba(0, 0, 0, 0.38);
}

.collection {
  background:
    linear-gradient(180deg, #0f0d09, #17130d),
    var(--panel);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0a07;
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

figcaption {
  padding: 18px 18px 20px;
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-system {
  min-height: 165svh;
  position: relative;
  overflow: hidden;
  display: block;
  padding: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 155, 84, 0.2), transparent 28%),
    radial-gradient(circle at 20% 86%, rgba(200, 209, 160, 0.08), transparent 24%),
    linear-gradient(180deg, #17130d, #0d0b08 76%);
}

.brand-system::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(13, 11, 8, 0.88), rgba(13, 11, 8, 0.18) 36%, rgba(13, 11, 8, 0.18) 66%, rgba(13, 11, 8, 0.62)),
    linear-gradient(180deg, rgba(13, 11, 8, 0.18), transparent 42%, rgba(13, 11, 8, 0.56)),
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(13, 11, 8, 0.34) 78%);
  pointer-events: none;
}

.brand-system-copy {
  position: sticky;
  left: clamp(24px, 6vw, 96px);
  top: calc(100svh - clamp(360px, 42vw, 520px));
  z-index: 5;
  max-width: min(500px, calc(100% - 48px));
  padding: clamp(16px, 2vw, 26px) 0;
  margin-left: clamp(24px, 6vw, 96px);
  transform: translateY(calc(var(--review-reveal, 0) * -18px));
}

.brand-system-copy h2 {
  max-width: 7.6ch;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.52);
}

.poster-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #0d0b08;
}

.poster-reveal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.poster-clean {
  transform: scale(1.035);
  filter: saturate(0.95) contrast(1.04);
}

.poster-notes {
  opacity: calc(var(--review-reveal, 0) * 1);
  filter: contrast(1.04) saturate(0.98) blur(calc((1 - var(--review-reveal, 0)) * 1.4px));
  transform: scale(calc(1.012 - (var(--review-reveal, 0) * 0.012)));
}

.scan-line {
  display: none;
}

.identity-board {
  position: relative;
  z-index: 2;
  width: min(72vw, calc(92svh * 0.8));
  height: min(92svh, calc(72vw * 1.25));
  justify-self: end;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 2.6% 11.8% 8.6% 7.1% 6.5% 7.2% 9.4% 7.4% 10.1% 8.3% 8.2% 6.1%;
  gap: clamp(6px, 0.85vw, 9px);
  padding: clamp(6px, 0.85vw, 9px);
  background: #fff;
  transform: rotate(-1.4deg);
  transform-origin: center;
  box-shadow:
    0 54px 150px rgba(0, 0, 0, 0.6),
    -26px 28px 120px rgba(201, 155, 84, 0.12),
    0 0 0 1px rgba(245, 234, 214, 0.1);
}

.identity-palette {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: inherit;
}

.identity-palette span {
  background: var(--swatch);
}

.identity-cell {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--board-cream);
  color: var(--board-ink);
}

.identity-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity-cell > span {
  position: absolute;
  left: 10px;
  bottom: 9px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 5px 7px;
  border: 1px solid rgba(17, 18, 11, 0.08);
  background: rgba(246, 241, 223, 0.84);
  color: var(--board-ink);
  font-size: clamp(0.42rem, 0.8vw, 0.66rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.identity-wordmark {
  width: 86%;
  color: var(--board-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5vw, 4.9rem);
  line-height: 0.9;
  text-align: center;
}

.identity-wordmark.small {
  font-size: clamp(1.1rem, 2.4vw, 2rem);
}

.identity-logo {
  grid-column: 1 / 8;
  grid-row: 2 / 5;
  background: #eee9d7;
}

.identity-imagery {
  grid-column: 8 / 13;
  grid-row: 2 / 5;
}

.identity-imagery img {
  object-position: 48% 42%;
}

.identity-icon {
  grid-row: 5 / 7;
  background: #fbf4e2;
}

.identity-icon img {
  width: 230%;
  height: 180%;
}

.identity-icon-a {
  grid-column: 1 / 4;
}

.identity-icon-a img {
  object-position: 0% 8%;
}

.identity-icon-b {
  grid-column: 4 / 7;
}

.identity-icon-b img {
  object-position: 34% 8%;
}

.identity-icon-c {
  grid-column: 7 / 10;
}

.identity-icon-c img {
  object-position: 66% 8%;
}

.identity-icon-d {
  grid-column: 10 / 13;
}

.identity-icon-d img {
  object-position: 100% 92%;
}

.identity-pattern {
  grid-column: 1 / -1;
  grid-row: 7 / 8;
  background: var(--board-sage);
}

.identity-mockup {
  grid-column: 1 / 8;
  grid-row: 8 / 11;
}

.identity-mockup img {
  object-position: 44% 44%;
}

.identity-photo {
  grid-column: 8 / 13;
  grid-row: 8 / 11;
}

.identity-photo img {
  object-position: 48% 50%;
}

.identity-ig {
  grid-column: 1 / 3;
  grid-row: 11 / 13;
}

.identity-ig img {
  width: 210%;
  height: 145%;
  object-position: 79% 82%;
}

.identity-small-pattern {
  grid-column: 3 / 5;
  grid-row: 11 / 13;
}

.identity-small-pattern img {
  width: 180%;
}

.identity-mark {
  grid-column: 5 / 7;
  grid-row: 11 / 13;
  background: #33351f;
}

.identity-ring-mark {
  width: clamp(34px, 6vw, 56px);
  height: clamp(34px, 6vw, 56px);
  border: clamp(4px, 0.8vw, 7px) solid var(--board-cream);
  border-top-color: var(--gold);
  border-right-color: #d5b55f;
  border-radius: 50%;
  box-shadow: inset 0 0 0 clamp(7px, 1.3vw, 12px) #33351f;
}

.identity-mark > span {
  color: var(--board-cream);
  background: rgba(17, 18, 11, 0.64);
}

.identity-illustration {
  grid-column: 7 / 10;
  grid-row: 11 / 13;
}

.identity-illustration img {
  object-position: 52% 45%;
}

.identity-secondary {
  grid-column: 10 / 13;
  grid-row: 11 / 13;
  background: #e7ebc8;
}

.brand-board-section {
  min-height: 110svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 209, 160, 0.14), transparent 28%),
    linear-gradient(180deg, #0d0b08, #17130d 54%, #0f0d09);
}

.brand-board-copy {
  max-width: 520px;
}

.brand-board-copy h2 {
  max-width: 8.4ch;
}

.brand-board-section .identity-board {
  width: min(56vw, 640px);
  height: auto;
  aspect-ratio: 4 / 5;
  justify-self: end;
}

.brand-board-section .identity-wordmark {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.brand-board-section .identity-wordmark.small {
  font-size: clamp(1rem, 2vw, 1.45rem);
}

@keyframes posterSettle {
  to {
    transform: scale(1);
  }
}

@media (max-width: 860px) {
  .hero-copy {
    justify-content: flex-end;
    padding: 0 20px 104px;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6.4rem);
  }

  .feature-grid,
  .split-section,
  .finale,
  .cards,
  .brand-board-section,
  .brand-system {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .brand-system {
    min-height: 150svh;
  }

  .brand-system::before {
    background:
      linear-gradient(180deg, rgba(13, 11, 8, 0.12), rgba(13, 11, 8, 0.2) 46%, rgba(13, 11, 8, 0.86)),
      radial-gradient(circle at 50% 50%, transparent 0 30%, rgba(13, 11, 8, 0.32) 100%);
  }

  .brand-system-copy {
    position: sticky;
    left: 20px;
    right: 20px;
    top: calc(100svh - 330px);
    max-width: none;
    margin-left: 0;
  }

  .brand-system-copy h2 {
    max-width: 8ch;
    font-size: clamp(3.1rem, 16vw, 4.4rem);
  }

  .identity-board {
    width: min(100%, 520px);
    height: auto;
    aspect-ratio: 4 / 5;
    justify-self: center;
    margin-top: 32px;
    transform: none;
  }

  .brand-board-section .identity-board {
    width: min(100%, 520px);
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
