:root {
  --ink: #0a0b0c;
  --ink-soft: #15171a;
  --paper: #ebe6dc;
  --paper-dim: #b8b2a6;
  --green: #5c8268;
  --green-hot: #71987c;
  --brass: #c4a46a;
  --brass-hot: #d8b97d;
  --walnut: #5c4030;
  --line: rgba(235, 230, 220, 0.14);
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-ui: 'IBM Plex Sans', system-ui, sans-serif;
  /* Full signature glyph height so the script x-height optically matches Grain caps */
  --brand-work-optical: 2.35;
  --brand-work-aspect: 2.4809;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
}

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

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

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(10, 11, 12, 0.92), rgba(10, 11, 12, 0));
  mix-blend-mode: normal;
}

.nav-brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.04em;
  font-size: 1.1rem;
  line-height: 1;
}

.nav-brand .brand-work {
  height: calc(1em * var(--brand-work-optical));
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav nav a {
  color: var(--paper-dim);
  transition: color 160ms ease;
}

.site-nav nav a:hover {
  color: var(--paper);
}

.nav-cta {
  color: var(--green-hot) !important;
  border-bottom: 1px solid transparent;
}

.nav-cta:hover {
  border-bottom-color: var(--green-hot);
}

/* Hero — one composition, brand first, full-bleed */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.06);
  animation: hero-drift 18s ease-out forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.88) 0%, rgba(10, 11, 12, 0.55) 42%, rgba(10, 11, 12, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 11, 12, 0.35) 0%, rgba(10, 11, 12, 0.15) 40%, rgba(10, 11, 12, 0.82) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 2.5rem));
  margin: 0 auto 0 clamp(1.25rem, 4vw, 3rem);
  padding: 0 0 clamp(3.5rem, 8vh, 5.5rem);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 900ms ease 180ms forwards;
}

.brand-mark {
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 0.02em;
  width: max-content;
  max-width: 100%;
  margin: 0 0 1.15rem;
  font-size: clamp(2.35rem, 6.6vw, 4.7rem);
  line-height: 1;
}

.brand-grain {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-hot);
  line-height: 1;
}

/* Custom copperplate signature mark — pointed-nib thick/thin, not a live webfont */
.brand-work {
  display: block;
  flex: 0 0 auto;
  height: calc(1em * var(--brand-work-optical));
  aspect-ratio: var(--brand-work-aspect);
  margin: 0 0 -0.06em -0.06em;
  background: var(--green-hot);
  -webkit-mask: url('/assets/work-signature.svg') left bottom / contain no-repeat;
  mask: url('/assets/work-signature.svg') left bottom / contain no-repeat;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.hero-lede {
  margin: 1.1rem 0 0;
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--paper-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.75rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--green);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary:hover {
  background: var(--green-hot);
  border-color: var(--green-hot);
}

.btn-ghost {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  border-bottom: 1px solid rgba(235, 230, 220, 0.28);
  padding-bottom: 0.2rem;
  transition: color 160ms ease, border-color 160ms ease;
}

.btn-ghost:hover {
  color: var(--paper);
  border-bottom-color: var(--green);
}

/* Sections */
.section {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vh, 7rem) 0;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-hot);
}

.section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-intro p:not(.eyebrow) {
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--paper-dim);
}

.material-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.material-strip article {
  padding: 1.6rem 1.4rem 0.4rem 0;
  border-right: 1px solid var(--line);
}

.material-strip article:last-child {
  border-right: 0;
  padding-right: 0;
}

.material-strip h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.material-strip p {
  margin: 0.7rem 0 0;
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--paper-dim);
}

/* Collection — bands, not cards */
.collection {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lineup {
  display: grid;
  gap: 0;
}

.lineup-item {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

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

.lineup-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lineup-code {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--brass);
}

.lineup-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lineup-item > p {
  margin: 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--paper-dim);
}

.lineup-spec {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
  justify-self: end;
  padding-top: 0.35rem;
}

/* Bespoke */
.bespoke {
  width: 100%;
  max-width: none;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(92, 130, 104, 0.14), transparent 55%),
    var(--ink-soft);
}

.bespoke-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.process {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.process strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process span {
  color: var(--paper-dim);
  line-height: 1.5;
}

/* Commission */
.commission {
  text-align: left;
  padding-bottom: clamp(5rem, 12vh, 7.5rem);
}

.commission h2 {
  max-width: 14ch;
}

.commission-copy {
  margin: 1.1rem 0 1.85rem;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--paper-dim);
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.site-footer strong {
  display: block;
  color: var(--paper);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.footer-meta {
  display: grid;
  gap: 0.35rem;
  text-align: right;
}

.footer-meta a:hover {
  color: var(--green-hot);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  to {
    transform: scale(1);
  }
}

@media (max-width: 860px) {
  .site-nav nav a:not(.nav-cta) {
    display: none;
  }

  .material-strip {
    grid-template-columns: 1fr;
  }

  .material-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.35rem 0;
  }

  .lineup-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .lineup-spec {
    justify-self: start;
    white-space: normal;
  }

  .bespoke-grid {
    grid-template-columns: 1fr;
  }

  .process li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-meta {
    text-align: left;
  }

  .hero-copy {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: auto;
  }
}
