@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/oxanium-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/oxanium-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/rajdhani-500-latin.woff2") format("woff2");
}

/* Tokens mirror the main site's design system (wildformassets.com/styles.css)
   so both surfaces share one palette and one type voice. */
:root {
  color-scheme: dark;
  --bg: oklch(13.5% 0.027 172);
  --night: oklch(4.8% 0.018 226);
  --surface: oklch(12.8% 0.019 166);
  --line: oklch(22% 0.022 144);
  --lime: oklch(91% 0.225 125);
  --teal: oklch(78% 0.155 171);
  --gold: oklch(73% 0.139 83);
  --bronze: oklch(42% 0.08 76);
  --ink: oklch(95% 0.035 118);
  --muted: rgba(234, 247, 216, 0.72);
  --muted-soft: rgba(234, 247, 216, 0.62);
  --rail: clamp(32px, 5vw, 72px);
  --wrap: 1420px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

a {
  color: var(--lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -3rem;
  z-index: 20;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--night);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--rail);
}

h1,
h2,
h3 {
  font-family: "Oxanium", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Same eyebrow treatment as the main site's section kickers. */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--gold);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--teal);
  box-shadow: 0 0 16px rgba(0, 214, 163, 0.8);
}

/* ---------- header ---------- */

.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 20px var(--rail) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand img {
  display: block;
}

.top nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top nav a {
  position: relative;
  padding-bottom: 6px;
  color: var(--muted-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.top nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--lime);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.4s var(--ease);
}

.top nav a:hover {
  color: var(--ink);
}

.top nav a:hover::after {
  scale: 1 1;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding-block: 148px clamp(48px, 7vh, 88px);
}

.hero-plate,
.hero-relic {
  position: absolute;
  pointer-events: none;
}

.hero-plate {
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 46% at 72% 44%, color-mix(in oklab, var(--teal) 14%, transparent), transparent 72%),
    linear-gradient(180deg, rgba(0, 5, 9, 0.62) 0%, rgba(0, 5, 9, 0.06) 26%, rgba(0, 5, 9, 0.34) 62%, var(--night) 100%),
    repeating-linear-gradient(0deg, rgba(234, 247, 216, 0.02) 0 1px, transparent 1px 4px);
}

.hero-relic {
  right: max(1vw, calc(50% - 640px));
  top: 46%;
  translate: 0 -50%;
  z-index: -1;
  width: clamp(220px, 32vw, 460px);
  height: auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  max-width: 20ch;
  color: var(--ink);
  font-size: clamp(46px, 7.6vw, 110px);
  line-height: 0.86;
  text-shadow: 0 0 32px rgba(0, 5, 9, 0.55);
}

.lede {
  margin: 26px 0 0;
  max-width: 40ch;
  color: var(--muted);
}

.hero-mail {
  margin: 32px 0 0;
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
}

.hero-mail a {
  display: inline-block;
  padding-bottom: 4px;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 2px solid color-mix(in oklab, var(--lime) 40%, transparent);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.hero-mail a:hover {
  color: var(--ink);
  border-color: var(--lime);
}

.spec {
  margin: 18px 0 0;
  color: var(--gold);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- studio ---------- */

.studio {
  padding-block: clamp(64px, 10vh, 120px) clamp(40px, 6vh, 72px);
}

.studio-grid {
  display: grid;
  gap: clamp(32px, 5vw, 96px);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
}

h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 0.96;
}

.studio-copy p:not(.kicker) {
  margin: 0 0 18px;
  max-width: 58ch;
  color: var(--muted);
  text-wrap: pretty;
}

.studio-copy p:last-child {
  margin-bottom: 0;
}

.ledger {
  margin: 6px 0 0;
  border-top: 1px solid var(--line);
}

.ledger > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ledger dt {
  color: var(--gold);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ledger dd {
  margin: 0;
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

/* ---------- selected collections ---------- */

.work {
  padding-block: clamp(40px, 6vh, 72px) clamp(56px, 9vh, 104px);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 32px);
}

.gallery figure {
  margin: 0;
  grid-column: span 4;
}

.gallery .g-lead {
  grid-column: 1 / span 7;
}

.gallery .g-b {
  grid-column: 8 / span 5;
  align-self: end;
}

.gallery .g-f {
  grid-column: 1 / span 5;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(217, 168, 59, 0.22);
}

.gallery figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding-top: 12px;
}

.g-name {
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.g-tag {
  color: var(--gold);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.g-note {
  grid-column: 7 / span 5;
  align-self: end;
  margin: 0;
  max-width: 46ch;
  color: var(--muted-soft);
}

/* ---------- inside a collection ---------- */

.inside {
  background: var(--bg);
  border-block: 1px solid var(--line);
  padding-block: clamp(48px, 7vh, 88px) 0;
}

.inside-head {
  display: grid;
  gap: 12px clamp(32px, 5vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: end;
  padding-bottom: clamp(32px, 5vh, 56px);
}

.inside-head h2 {
  margin-bottom: 0;
}

.inside-head > p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
}

.sheet {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: specimen;
  background: var(--line);
}

.sheet li {
  padding-bottom: 14px;
  background:
    radial-gradient(72% 62% at 50% 42%, rgba(0, 214, 163, 0.05), transparent 70%),
    var(--bg);
}

.sheet img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.sheet span {
  display: block;
  padding: 0 14px;
  color: var(--muted-soft);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sheet span::before {
  content: counter(specimen, decimal-leading-zero) " ";
  counter-increment: specimen;
  color: var(--gold);
}

/* ---------- process ---------- */

.process {
  padding-block: clamp(64px, 10vh, 116px);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 64px minmax(140px, 15rem) minmax(0, 1fr);
  gap: 6px clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding-block: clamp(20px, 3vh, 32px);
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.num {
  margin: 0;
  color: var(--gold);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.steps h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.steps li > p:last-child {
  margin: 0;
  max-width: 52ch;
  color: var(--muted-soft);
  font-size: 16px;
}

/* ---------- contact ---------- */

.contact {
  padding-block: clamp(72px, 12vh, 132px);
  border-top: 1px solid rgba(217, 168, 59, 0.22);
}

.mail {
  margin: 0;
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: clamp(26px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
}

.mail a {
  display: inline-block;
  padding-bottom: 0.12em;
  color: var(--lime);
  text-decoration: none;
  background-image:
    linear-gradient(var(--lime), var(--lime)),
    linear-gradient(color-mix(in oklab, var(--lime) 30%, transparent), color-mix(in oklab, var(--lime) 30%, transparent));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 3px, 100% 3px;
  transition: color 0.35s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .mail a {
    background-size: 0 3px, 100% 3px;
    transition: background-size 0.6s var(--ease), color 0.35s var(--ease);
  }

  .mail a:hover,
  .mail a:focus-visible {
    background-size: 100% 3px, 100% 3px;
  }
}

.mail a:hover {
  color: var(--ink);
}

.contact-note {
  margin: 32px 0 0;
  max-width: 52ch;
  color: var(--muted-soft);
}

/* ---------- footer ---------- */

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

.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 28px 36px;
  color: var(--muted-soft);
  font-family: "Oxanium", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.foot-in p {
  margin: 0;
}

/* ---------- motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, -1.5%, 0) rotate(-0.7deg);
  }
  to {
    transform: translate3d(0, 1.5%, 0) rotate(0.7deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .lede,
  .hero-mail,
  .spec {
    animation: rise 1s var(--ease) both;
  }

  .lede {
    animation-delay: 0.12s;
  }

  .hero-mail {
    animation-delay: 0.22s;
  }

  .spec {
    animation-delay: 0.3s;
  }

  .hero-relic {
    animation: drift 19s ease-in-out infinite alternate;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 24%;
    }
  }
}

/* ---------- responsive ---------- */

@media (max-width: 60rem) {
  .studio-grid,
  .inside-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery figure,
  .gallery .g-b,
  .gallery .g-f {
    grid-column: span 6;
  }

  .gallery .g-lead {
    grid-column: span 12;
  }

  .g-note {
    grid-column: span 12;
    max-width: 60ch;
  }

  .sheet {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps li {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .steps li > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 40rem) {
  body {
    font-size: 18px;
  }

  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .top nav {
    gap: 18px;
  }

  .hero {
    min-height: 92svh;
    padding-block: 176px 48px;
  }

  .hero-relic {
    top: 30%;
    right: -6vw;
    width: 320px;
    opacity: 0.85;
  }

  .gallery figure,
  .gallery .g-lead,
  .gallery .g-b,
  .gallery .g-f {
    grid-column: span 12;
  }

  .sheet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sheet span {
    padding-inline: 10px;
    letter-spacing: 0.04em;
  }
}
