:root {
  --ink: #07080b;
  --fog: #ece6da;
  --gold: #d7b56d;
  --line: rgba(236, 230, 218, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem) 1.75rem;
}

.hero-media,
.hero-media canvas,
.hero-wash,
.hero-grain,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -1;
}

.hero-media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-wash {
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.22) 0%, rgba(7, 8, 11, 0.06) 38%, rgba(7, 8, 11, 0.72) 100%);
}

.hero-grain {
  opacity: 0.14;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.45s steps(2) infinite;
}

.hero-vignette {
  box-shadow: inset 0 0 12rem 2rem rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.nav,
.hero-copy,
.hero-meta {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav nav a {
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.nav nav a:hover,
.nav nav a:focus-visible,
.nav nav a[data-plate][aria-current="true"] {
  opacity: 1;
}

.hero-mohawk .nav nav a[href="mohawk.html"] {
  margin-left: 0.6rem;
}

.hero-roadmap .hero-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.6s ease;
}

.hero-roadmap .hero-plate.is-visible {
  opacity: 1;
  z-index: 1;
}

.roadmap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.hero-roadmap {
  min-height: 0;
  height: clamp(22rem, 62svh, 40rem);
  max-height: 62svh;
}

.roadmap-main {
  background: var(--ink);
  color: var(--fog);
}

.roadmap-sheet {
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.roadmap-sheet .roadmap-list {
  max-width: 44rem;
}

.roadmap-list li {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.roadmap-item-name {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.roadmap-item-blurb {
  max-width: 34rem;
  margin: 0.85rem 0 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  opacity: 0.82;
}


.roadmap-app-icon {
  flex-shrink: 0;
  width: clamp(3rem, 7vw, 4.5rem);
  height: clamp(3rem, 7vw, 4.5rem);
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.roadmap-list span {
  display: block;
  margin-top: 0.45rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-copy {
  align-self: end;
  max-width: 42rem;
  padding-bottom: clamp(2rem, 8vh, 5rem);
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-copy h1,
.section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  word-spacing: 0.06em;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 10vw, 7.4rem);
  line-height: 0.92;
  animation: rise 1.15s var(--ease) 0.12s both;
}

.hero-home .hero-copy h1 {
  font-size: clamp(2.5rem, 7.2vw, 5.1rem);
}

.hero-home .lede {
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
}

.hero-copy h1 em {
  font-style: italic;
  color: #f4ecde;
}

.eyebrow {
  animation: rise 1.15s var(--ease) both;
}

.lede {
  max-width: 32rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  opacity: 0.78;
  animation: rise 1.15s var(--ease) 0.24s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
  animation: rise 1.15s var(--ease) 0.36s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--fog);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn.primary {
  background: var(--fog);
  color: var(--ink);
  border-color: var(--fog);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--fog);
}

.hero-meta {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 1rem;
}

.scroll {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}

.scroll i {
  width: 1px;
  height: 2.4rem;
  background: var(--fog);
  transform-origin: top;
  animation: draw 1.8s var(--ease) infinite;
}

.section {
  padding: clamp(4.5rem, 12vw, 8rem) clamp(1.25rem, 4vw, 3.5rem);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  display: grid;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.still {
  min-height: 16rem;
}

.still img {
  display: block;
  width: 100%;
  height: 16rem;
  object-fit: cover;
  object-position: left top;
}

.card-a .still {
  background:
    radial-gradient(circle at 70% 20%, rgba(232, 196, 120, 0.35), transparent 36%),
    linear-gradient(160deg, #2a241c, #0e1013 58%, #3a2c20);
}

.card-b .still {
  background:
    radial-gradient(circle at 40% 30%, rgba(180, 150, 90, 0.28), transparent 42%),
    linear-gradient(200deg, #1a1714, #0b0c0e 55%, #2a2018);
}

.card-c .still {
  background:
    radial-gradient(circle at 60% 70%, rgba(240, 190, 110, 0.22), transparent 48%),
    linear-gradient(180deg, #241810, #0d0b09);
}

.card-copy {
  padding: 1rem 1.1rem 1.15rem;
}

.card-copy p {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
}

.card-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.studio {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.sheet {
  background: #f3efe6;
  color: #1c1915;
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3.5rem) clamp(5rem, 12vw, 8rem);
}

.sheet-head {
  max-width: 40rem;
  margin-bottom: clamp(3rem, 8vw, 5.5rem);
}

.sheet .kicker {
  color: #8a6232;
}

.sheet h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.sheet .deck {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  line-height: 1.6;
  opacity: 0.78;
}

.beat {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.beat-flip {
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
}

.beat-flip .beat-copy {
  order: 2;
}

.beat-copy p:first-child {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #8a6232;
}

.beat-copy h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
}

.beat-copy p:last-child {
  margin: 0;
  line-height: 1.65;
  opacity: 0.8;
}

.plate {
  position: relative;
  margin: 0;
  width: min(100%, 43.7rem);
  justify-self: start;
}

.beat-flip .plate {
  justify-self: end;
}

.plate img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(28, 25, 21, 0.14);
}

.pin {
  position: absolute;
  z-index: 1;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 12rem;
  padding: 0.2rem 0.45rem 0.2rem 0;
  background: rgba(243, 239, 230, 0.94);
  color: #1c1915;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  transform: translateY(-50%);
}

.pin::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: #8a6232;
  flex: none;
}

.plate-night .pin {
  background: rgba(16, 14, 12, 0.78);
  color: #f3efe6;
}

.plate-night .pin::before {
  background: #e7c27a;
}

.sheet-spotlight {
  margin-top: clamp(4.5rem, 10vw, 7rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(28, 25, 21, 0.12);
  max-width: 40rem;
}

.sheet-spotlight .spotlight-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.sheet-spotlight .spotlight-deck {
  margin: 1.1rem 0 0;
  line-height: 1.65;
  opacity: 0.82;
}

.sheet-spotlight + .beat {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.sheet-mark {
  display: flex;
  justify-content: flex-end;
  margin: clamp(3.5rem, 8vw, 5.5rem) 0 0;
}

.sheet-mark img {
  display: block;
  width: clamp(8.5rem, 16vw, 12.5rem);
  height: auto;
}

.studio-copy p,
.footer p {
  margin: 0 0 1rem;
  line-height: 1.7;
  opacity: 0.78;
}

.studio-copy ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.studio-copy li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  letter-spacing: 0.04em;
}

.studio-copy a {
  opacity: 0.86;
}

.studio-copy a:hover,
.studio-copy a:focus-visible {
  opacity: 1;
}

.themes {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  background: #f3efe6;
  color: #1c1915;
}

.themes .kicker {
  color: #8a6232;
}

.themes .theme-grid img {
  border-color: rgba(28, 25, 21, 0.14);
}

.themes .sheet-mark {
  justify-content: center;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1rem;
}

.theme-grid figure {
  margin: 0;
}

.theme-grid img {
  display: block;
  width: 70%;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
}

.page-nav {
  padding: 1.5rem clamp(1.25rem, 4vw, 3.5rem) 0;
}

.hero > .footer {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.floor {
  border-bottom: 1px solid var(--line);
}

.floor .section-head p {
  max-width: 28rem;
  margin: 1.1rem 0 0;
  line-height: 1.7;
  opacity: 0.78;
}

.floor-list {
  display: grid;
  gap: clamp(2.6rem, 6vw, 4.2rem);
}

.floor-list figure {
  margin: 0;
}

.floor-list img {
  display: block;
  width: 100%;
  height: auto;
}

.floor-list figcaption {
  margin: 0.8rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}

.floor-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: start;
}

.contact-panel {
  max-width: 40rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
}

.contact-form .full,
.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(236, 230, 218, 0.04);
  color: var(--fog);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--gold);
}

.form-status {
  margin: 1rem 0 0;
  color: var(--gold);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  font-size: 0.8rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 2%); }
  100% { transform: translate(0, 0); }
}

@keyframes draw {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(0.6rem); opacity: 0; }
}

@media (max-width: 860px) {
  .work-grid,
  .theme-grid,
  .studio-grid,
  .floor-pair,
  .contact-form,
  .beat,
  .beat-flip {
    grid-template-columns: 1fr;
  }

  .beat-flip .beat-copy {
    order: 0;
  }

  .plate,
  .beat-flip .plate {
    width: 100%;
    justify-self: stretch;
  }

  .pin {
    position: static;
    transform: none;
    margin: 0.35rem 0.5rem 0 0;
  }

  .pin::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav nav {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-home .hero-copy h1 {
    font-size: clamp(2.25rem, 13vw, 3.45rem);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero-mohawk .hero-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-mohawk .hero-wash {
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.2) 0%, rgba(7, 8, 11, 0.06) 40%, rgba(7, 8, 11, 0.7) 100%);
}

.hero-copy,
.hero-meta,
.hero-wash,
.hero-grain,
.hero-vignette {
  transition: opacity 0.4s ease;
}

.hero.reel-product .hero-copy,
.hero.reel-product .hero-meta,
.hero.reel-product .hero-wash,
.hero.reel-product .hero-grain,
.hero.reel-product .hero-vignette {
  opacity: 0;
}

.hero.reel-product .hero-copy,
.hero.reel-product .hero-meta {
  pointer-events: none;
}

.sky-line {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(4.5rem, 12vh, 7rem);
  margin: 0;
  max-width: 14rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  line-height: 0.98;
  color: #f3efe6;
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero.reel-sky .sky-line {
  opacity: 1;
}

.hero-mohawk .nav a[aria-current="page"],
.hero-roadmap .nav a[aria-current="page"],
.hero-company .nav a[aria-current="page"] {
  opacity: 1;
}

.hero-company {
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
}

.hero-company .hero-media canvas {
  object-fit: contain;
}

.hero-company .hero-wash {
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.28) 0%, rgba(7, 8, 11, 0) 18%, rgba(7, 8, 11, 0) 62%, rgba(7, 8, 11, 0.55) 100%);
}

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

  .eyebrow,
  .hero-copy h1,
  .lede,
  .actions,
  .hero-grain,
  .scroll i {
    animation: none;
  }
}
