/* ============================================================
   NATURA DIGITALIS — brand stylesheet
   Palette:
     --olive   #3C4829  (primary)
     --gold    #BAA84A  (primary)
     --moss    #14180F  (near-black backgrounds)
     --ivory   #F4EFE2  (light text / paper)
     --sage    #7C8A5C  (muted secondary)
     --gold-hi #D9C878  (pale gold highlight)
   ============================================================ */

@font-face {
  font-family: "Story of Nature";
  src: url("../fonts/Story%20of%20Nature.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --olive: #3C4829;
  --olive-deep: #2A3220;
  --gold: #BAA84A;
  --gold-hi: #D9C878;
  --moss: #14180F;
  --moss-2: #1B2114;
  --ivory: #F4EFE2;
  --ivory-dim: #C9C4B2;
  --sage: #7C8A5C;        /* decorative only — fails AAA as text */
  --sage-text: #AEBB8F;   /* AAA-safe sage for small text on dark */
  --hairline: rgba(186, 168, 74, 0.28);

  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --brand: "Story of Nature", "Cormorant Garamond", serif;

  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--moss);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--moss); }

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

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

/* Enhanced visible focus (WCAG 2.4.7 / 2.4.13) */
:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: -100vw;
  z-index: 300;
  background: var(--gold);
  color: var(--moss);
  padding: 0.9rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.skip-link:focus { left: 1rem; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---------- typography ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ivory);
}

.display {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  letter-spacing: 0.01em;
}

.display em,
h2 em {
  font-style: italic;
  color: var(--gold);
}

h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.45rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: 1.4rem;
}

.kicker::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.lede {
  color: var(--ivory-dim);
  font-size: 1.08rem;
  max-width: 38rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: padding 0.45s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: height 0.45s ease, background 0.45s ease,
    border-color 0.45s ease, box-shadow 0.45s ease;
}

/* Frosted-glass pill once the page scrolls away from the top */
.site-header.scrolled { padding-top: 0.85rem; }

.site-header.scrolled .nav {
  height: 62px;
  background: rgba(20, 24, 15, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(186, 168, 74, 0.32);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header.scrolled .nav { background: rgba(20, 24, 15, 0.94); }
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.wordmark svg,
.wordmark img { width: 40px; height: 40px; flex: none; }

.site-footer .wordmark img { width: 34px; height: 34px; }

.wordmark span {
  font-family: var(--brand);
  font-size: 1.5rem;
  color: var(--ivory);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-hi); }

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 6rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(60, 72, 41, 0.55), transparent 65%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(60, 72, 41, 0.35), transparent 60%),
    var(--moss);
}

.hero.hero-sub {
  min-height: 62vh;
  padding-top: 11rem;
}

.hero-veins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.hero-content { position: relative; max-width: 46rem; }

.hero .lede { margin-top: 1.8rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 3rem;
}

.brand-script {
  font-family: var(--brand);
  color: var(--gold-hi);
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--gold);
  color: var(--gold-hi);
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: -1;
}

.btn:hover { color: var(--moss); }
.btn:hover::before { transform: scaleX(1); }

.btn.ghost {
  border-color: rgba(244, 239, 226, 0.25);
  color: var(--ivory-dim);
}

.btn.ghost::before { background: var(--ivory); }
.btn.ghost:hover { color: var(--moss); }

/* ---------- sections ---------- */

section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.rule-gold {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

/* philosophy split */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.split .lede + .lede { margin-top: 1.2rem; }

.emblem-panel {
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, var(--moss-2), rgba(60, 72, 41, 0.25));
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.emblem-panel svg,
.emblem-panel img { width: 130px; height: 130px; }

.emblem-panel .motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ivory-dim);
}

.emblem-panel .motto strong {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

/* pillars: games / apps duo */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.duo-card {
  position: relative;
  border: 1px solid var(--hairline);
  padding: clamp(2.5rem, 5vw, 4rem);
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.duo-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.duo-card .bg {
  position: absolute;
  inset: 0;
  transition: transform 0.8s ease, opacity 0.6s ease;
  opacity: 0.9;
}

.duo-card:hover .bg { transform: scale(1.04); }

.duo-card.games .bg {
  background:
    radial-gradient(ellipse 90% 70% at 80% 0%, rgba(186, 168, 74, 0.16), transparent 60%),
    linear-gradient(200deg, var(--olive-deep), var(--moss-2));
}

.duo-card.apps .bg {
  background:
    radial-gradient(ellipse 90% 70% at 20% 0%, rgba(124, 138, 92, 0.2), transparent 60%),
    linear-gradient(160deg, var(--olive-deep), var(--moss-2));
}

.duo-card .num {
  position: absolute;
  top: 2rem;
  right: 2.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-hi);
}

.duo-card h3 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  position: relative;
}

.duo-card p {
  position: relative;
  color: var(--ivory-dim);
  margin: 1rem 0 1.8rem;
  max-width: 26rem;
}

.duo-card .cta {
  position: relative;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-hi);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.duo-card .cta::after {
  content: "\2192";
  font-family: var(--serif);
  transition: transform 0.3s ease;
}

.duo-card:hover .cta::after { transform: translateX(6px); }

/* values */

.values {
  background: linear-gradient(180deg, var(--moss), var(--moss-2) 30%, var(--moss-2) 70%, var(--moss));
}

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

.value-card {
  border-top: 1px solid var(--hairline);
  padding-top: 2.2rem;
  transition: border-color 0.4s ease;
}

.value-card:hover { border-top-color: var(--gold); }

.value-card .roman {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-hi);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1.2rem;
}

.value-card h3 { margin-bottom: 0.9rem; }

.value-card p { color: var(--ivory-dim); font-size: 0.98rem; }

/* longevity band */

.band {
  border-block: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 70% 100% at 50% 120%, rgba(60, 72, 41, 0.5), transparent 70%),
    var(--moss-2);
  text-align: center;
}

.band .wrap { max-width: 52rem; }

.band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
}

.band blockquote em { color: var(--gold); }

.band figcaption {
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

/* stats strip */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.stat {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(186, 168, 74, 0.14);
}

.stat .n {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}

.stat .l {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-top: 0.6rem;
  display: block;
}

/* ---------- catalogue pages (games / apps) ---------- */

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

.title-card {
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--moss-2), rgba(42, 50, 32, 0.5));
  padding: 2.4rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.title-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.title-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.title-card:hover::before { opacity: 1; }

.title-card .app-icon {
  width: 68px;
  height: 68px;
  flex: none;
  border-radius: 17px;
  border: 1px solid var(--hairline);
  background: rgba(20, 24, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color 0.4s ease;
}

.title-card:hover .app-icon { border-color: var(--gold); }

.title-card .app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder mark shown until a title has its own icon */
.title-card .app-icon svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}

.title-card .genre {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sage-text);
  margin-bottom: 1.1rem;
}

.title-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.9rem;
}

.title-card p {
  color: var(--ivory-dim);
  font-size: 0.95rem;
  flex: 1;
}

.title-card .status {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(186, 168, 74, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.title-card .status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(186, 168, 74, 0.8);
}

.title-card.soon .status { color: var(--sage-text); }
.title-card.soon .status .dot {
  background: var(--sage);
  box-shadow: 0 0 10px rgba(124, 138, 92, 0.7);
}

/* commitment list on catalogue pages */

.commit-list {
  list-style: none;
  max-width: 44rem;
}

.commit-list li {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(186, 168, 74, 0.14);
  color: var(--ivory-dim);
}

.commit-list li:first-child { border-top: 1px solid rgba(186, 168, 74, 0.14); }

.commit-list .roman {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-hi);
  flex: none;
  width: 2rem;
}

.commit-list strong {
  color: var(--ivory);
  font-weight: 400;
  display: block;
  margin-bottom: 0.2rem;
}

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

.contact-split { align-items: start; }

.contact-form {
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--moss-2), rgba(42, 50, 32, 0.45));
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field span {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.field input,
.field textarea {
  background: rgba(20, 24, 15, 0.6);
  border: 1px solid rgba(186, 168, 74, 0.22);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(20, 24, 15, 0.85);
}

/* Honeypot — visually removed, still in the DOM for bots */
.field.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.form-foot .btn {
  background: none;
  cursor: pointer;
  font-family: var(--sans);
}

.form-foot .btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.form-status {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--sage-text);
  margin: 0;
}

.form-status.ok { color: var(--gold-hi); }
.form-status.err { color: #ECAB8C; }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- project pages & legal prose ---------- */

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.6rem;
  padding: 0;
  list-style: none;
}

.project-tabs a {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  border: 1px solid rgba(186, 168, 74, 0.25);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.project-tabs a:hover {
  color: var(--gold-hi);
  border-color: var(--gold);
}

.project-tabs a[aria-current="page"] {
  color: var(--moss);
  background: var(--gold);
  border-color: var(--gold);
}

.prose { max-width: 46rem; }

.prose h2 {
  font-size: 1.7rem;
  margin: 3rem 0 1.1rem;
}

.prose h2:first-of-type { margin-top: 0; }

.prose p,
.prose li {
  color: var(--ivory-dim);
  margin-bottom: 1rem;
}

.prose ul { padding-left: 1.3rem; margin-bottom: 1rem; }

.prose li { margin-bottom: 0.5rem; }

.prose strong { color: var(--ivory); font-weight: 400; }

.prose a {
  color: var(--gold-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-scroll { overflow-x: auto; margin: 1.4rem 0; }

.prose table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.prose th {
  text-align: left;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-hi);
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--hairline);
  background: rgba(186, 168, 74, 0.06);
}

.prose td {
  padding: 0.9rem 1rem;
  color: var(--ivory-dim);
  border-bottom: 1px solid rgba(186, 168, 74, 0.14);
  vertical-align: top;
  line-height: 1.6;
}

.prose td strong { color: var(--ivory); font-weight: 400; }

.shots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.shot {
  border: 1px solid var(--hairline);
  background: var(--moss-2);
  padding: 1.1rem;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.shot:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
}

.shot figcaption {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-align: center;
}

.store-badge img {
  width: 200px;
  height: auto;
  transition: opacity 0.3s ease;
}

.store-badge:hover img { opacity: 0.85; }

@media (max-width: 900px) {
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .shots-grid { grid-template-columns: 1fr; }
}

.legal-updated {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage-text);
  margin-bottom: 2.6rem;
}

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

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--moss-2);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-grid .wordmark span { font-size: 1.35rem; }

.footer-grid p {
  color: var(--ivory-dim);
  font-size: 0.92rem;
  max-width: 24rem;
  margin-top: 1.2rem;
}

.footer-grid .footer-legal {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-hi);
  font-weight: 400;
  margin-bottom: 1.4rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.7rem; }

.footer-col a {
  color: var(--ivory-dim);
  font-size: 0.92rem;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--gold-hi); }

.footer-base {
  border-top: 1px solid rgba(186, 168, 74, 0.14);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

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

@media (max-width: 900px) {
  .split, .duo, .values-grid, .catalogue { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }

  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 96px;
    left: 1rem; right: 1rem;
    flex-direction: column;
    gap: 0;
    background: rgba(20, 24, 15, 0.85);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid transparent;
    border-radius: 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, border-color 0.4s ease;
  }

  .nav-links.open {
    max-height: 340px;
    border-color: var(--hairline);
  }

  .nav-links li { width: 100%; text-align: center; }

  .nav-links a {
    display: block;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(186, 168, 74, 0.1);
  }

  .nav-links li:last-child a { border-bottom: none; }
}
