/* =============================================================
   DWELLMORROW · Editorial Light Cream
   1. Tokens
   ============================================================= */
:root {
  /* DWELLMORROW brand palette */
  --bg:        #f5f1ea;   /* warm cream */
  --bg-2:      #ece5d9;   /* sand (between cream & taupe) */
  --bg-3:      #d8cfc2;   /* taupe */
  --paper:     #faf7f1;
  --ink:       #2b2b2b;   /* charcoal */
  --ink-soft:  #3d3b38;
  --ink-mute:  #857b6e;   /* warm stone-ish text */
  --accent:    #c56a4a;   /* terracotta */
  --accent-2:  #7a7f68;   /* muted olive */
  --clay:      #e9cdb9;   /* soft clay */
  --stone:     #b3a79a;   /* warm stone */
  --gold:      #b08d57;   /* brass hairline */
  --line:      rgba(43,43,43,0.13);
  --line-soft: rgba(43,43,43,0.07);

  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.5, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 11vw, 10rem); position: relative; }

.eyebrow, .kicker {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.eyebrow.light, .kicker.light { color: var(--gold); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .eyebrow { display: block; margin-bottom: 1.1rem; }
.section-head.split {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  align-items: flex-end; justify-content: space-between;
  max-width: none;
}
.section-note { color: var(--ink-mute); max-width: 40ch; font-size: 1.02rem; }
.section-note.center { margin-top: 1.4rem; }

/* =============================================================
   4. Typography
   ============================================================= */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
em { font-style: italic; font-family: var(--serif); }

.section-title { font-size: clamp(2rem, 5.2vw, 4rem); }
.section-title em { color: var(--accent); }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.32;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.muted { color: var(--ink-mute); }

/* =============================================================
   5. Components — buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  border-radius: 100px;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: var(--bg);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out {
  opacity: 0; pointer-events: none;
  transform: translateY(-1.5%);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }
.splash-mark { text-align: center; overflow: hidden; }
.splash-logo {
  width: clamp(160px, 34vw, 260px); height: auto; margin-inline: auto;
  animation: splashRise 1.1s var(--ease-out) both;
}
.splash-rule {
  display: block; height: 1px; width: 0; margin: 1.1rem auto 0;
  background: var(--accent);
  animation: splashLine 1.3s .4s var(--ease-out) forwards;
}
@keyframes splashRise { from { opacity: 0; transform: translateY(120%); } to { opacity: 1; transform: translateY(0); } }
@keyframes splashLine { to { width: min(220px, 40vw); } }

/* =============================================================
   7. Custom cursor
   ============================================================= */
.cursor { position: fixed; inset: 0; z-index: 8000; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-ring, .cursor-dot { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate3d(-50%, -50%, 0); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid var(--ink);
  mix-blend-mode: difference; opacity: .5;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), opacity .35s var(--ease-out);
}
.cursor.is-hover .cursor-ring { width: 60px; height: 60px; opacity: .9; }
.cursor-dot { width: 5px; height: 5px; background: var(--accent); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =============================================================
   8. Nav
   ============================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 1.4rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: padding .4s var(--ease-out);
}
.nav.is-solid { background: rgba(244,239,230,0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line-soft); }
.nav.is-solid .nav-inner { padding-block: .95rem; }
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 17px; width: auto; transition: filter .4s var(--ease-out); }
.nav:not(.is-solid) .nav-logo { filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 2.1rem; }
.nav-links a { position: relative; font-size: .84rem; letter-spacing: .04em; color: var(--ink-soft); padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent); transition: width .4s var(--ease-out); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: .6rem 1.3rem; border: 1px solid var(--line); border-radius: 100px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out); will-change: transform; }
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); }

/* =============================================================
   9. Hero
   ============================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroDrift 22s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.06); } to { transform: scale(1.13); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,13,.28) 0%, transparent 30%, transparent 45%, rgba(20,17,13,.55) 100%),
    linear-gradient(90deg, rgba(20,17,13,.35) 0%, transparent 55%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) clamp(3.5rem, 8vw, 7rem); }
.hero .kicker { color: #e7d9c4; display: block; margin-bottom: 1.5rem; }
.hero-title { color: var(--paper); font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 300; max-width: 20ch; }
.hero-title em { color: #e5b98f; }
.hero-sub { color: rgba(251,248,242,.86); font-size: clamp(1rem, 1.6vw, 1.22rem); max-width: 46ch; margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero .btn-primary { background: var(--paper); color: var(--ink); }
.hero .btn-primary:hover { background: var(--accent); color: var(--paper); }
.hero .btn-ghost { border-color: rgba(251,248,242,.5); color: var(--paper); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero-scroll { position: absolute; bottom: 2rem; right: var(--gutter); z-index: 2; display: flex; align-items: center; gap: .7rem; color: rgba(251,248,242,.75); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.hero-scroll i { display: block; width: 1px; height: 42px; background: linear-gradient(rgba(251,248,242,.7), transparent); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--paper); animation: scrollLine 2.2s var(--ease-soft) infinite; }
@keyframes scrollLine { 0% { top: -50%; } 60%, 100% { top: 100%; } }

/* =============================================================
   10. Manifesto
   ============================================================= */
.manifesto { background: var(--bg); }
.manifesto-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.manifesto-num { font-family: var(--serif); font-size: 1rem; color: var(--accent); letter-spacing: .05em; }
.manifesto-num span { color: var(--line); }
.manifesto-body .lead { margin-bottom: 1.4rem; }
.stats { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); }
.stat { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat-num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink); line-height: 1; font-weight: 400; }
.stat-num em { color: var(--accent); font-style: normal; }
.stat-label { color: var(--ink-mute); font-size: .92rem; margin-top: .6rem; max-width: 30ch; }

/* =============================================================
   11. Services
   ============================================================= */
.services { background: var(--paper); }
.services-list { display: grid; gap: 0; }
.service {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  padding-block: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--line);
  align-items: center;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service-media { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.service:hover .service-media img { transform: scale(1.06); }
.service-num { font-family: var(--serif); font-size: .95rem; color: var(--accent); letter-spacing: .1em; margin-bottom: .8rem; }
.service-title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin-bottom: .9rem; }
.service-lead { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink-soft); margin-bottom: 1rem; font-weight: 300; }
.service-body { color: var(--ink-mute); max-width: 46ch; }
.service-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.service-tags span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 100px; }

/* =============================================================
   12. Marquee
   ============================================================= */
.marquee { background: var(--ink); color: var(--bg); padding-block: 1.5rem; overflow: hidden; }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-item { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 300; display: inline-flex; align-items: center; gap: 3.5rem; color: var(--bg); }
.marquee-item::after { content: "·"; color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* =============================================================
   13. Interiors gallery
   ============================================================= */
.interiors { background: var(--bg); }
.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 5; }
.gallery-item:first-child { border-radius: 999px 999px 16px 16px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; color: var(--paper); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,17,13,.55)); opacity: 0; transition: opacity .5s var(--ease-out); }
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item:hover::after { opacity: 1; }

/* =============================================================
   14. Catalogue collections
   ============================================================= */
.catalogue { background: var(--paper); }
.catalogue .section-head { max-width: none; text-align: center; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.collections { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.collection {
  position: relative; overflow: hidden; border-radius: 999px 999px 18px 18px;
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end;
  will-change: transform;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1.2s var(--ease-out); }
.collection::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,17,13,.05) 30%, rgba(20,17,13,.72)); transition: opacity .5s var(--ease-out); }
.collection:hover { box-shadow: 0 30px 60px -30px rgba(157,91,62,.5); }
.collection:hover img { transform: scale(1.08); }
.collection-body { position: relative; z-index: 2; padding: 1.6rem; color: var(--paper); width: 100%; }
.collection-meta { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #e5b98f; margin-bottom: .5rem; }
.collection-name { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); line-height: 1.1; }
.collection-note { font-size: .86rem; color: rgba(251,248,242,.8); margin-top: .6rem; max-width: 32ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .5s var(--ease-out), margin .5s var(--ease-out); }
.collection:hover .collection-note { max-height: 6rem; opacity: 1; }

/* =============================================================
   15. Studio
   ============================================================= */
.studio { background: var(--bg); }
.studio-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.studio-media { overflow: hidden; border-radius: 999px 999px 18px 18px; aspect-ratio: 4 / 5; will-change: transform; }
.studio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.studio-media:hover img { transform: scale(1.05); }
.studio-body .eyebrow { display: block; margin-bottom: 1.1rem; }
.studio-body .section-title { margin-bottom: 1.4rem; }
.studio-body p { color: var(--ink-mute); max-width: 48ch; }
.studio-facts { list-style: none; margin-top: 2rem; display: grid; gap: 0; }
.studio-facts li { display: flex; flex-direction: column; gap: .2rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.studio-facts li:last-child { border-bottom: 1px solid var(--line); }
.studio-facts strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--ink); }
.studio-facts span { color: var(--ink-mute); font-size: .9rem; }

/* =============================================================
   16. Quote
   ============================================================= */
.quote { background: var(--ink); color: var(--bg); text-align: center; }
.quote-block { max-width: 24ch; margin-inline: auto; position: relative; }
.quote-mark { position: absolute; top: -2.5rem; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 6rem; color: var(--accent); line-height: 1; opacity: .8; }
.quote-block p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.3; color: var(--paper); }
.quote-block footer { margin-top: 2rem; font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* =============================================================
   17. CTA
   ============================================================= */
.cta { position: relative; overflow: hidden; color: var(--paper); padding-block: clamp(6rem, 14vw, 12rem); }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,13,.72), rgba(20,17,13,.82)); }
.cta-content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-content .eyebrow { display: block; margin-bottom: 1.2rem; }
.cta-title { color: var(--paper); font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 300; }
.cta-title em { color: #e5b98f; }
.cta-sub { color: rgba(251,248,242,.85); max-width: 44ch; margin-top: 1.4rem; }
.cta-lines { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: center; margin-top: 2.6rem; }
.cta-link { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem); font-style: italic; font-weight: 300; color: var(--paper); position: relative; }
.cta-link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: rgba(251,248,242,.4); transition: background-color .4s var(--ease-out); }
.cta-link:hover::after { background: var(--accent); }
.cta-note { margin-top: 2rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(251,248,242,.6); }

/* =============================================================
   18. Footer
   ============================================================= */
.footer { background: var(--bg-2); padding-block: 0 2rem; border-top: 1px solid var(--line); }
.footer-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem;
  padding-block: 1.6rem; margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute);
}
.footer-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-logo { height: 54px; width: auto; }
.footer-brand p { color: var(--ink-mute); margin-top: 1rem; font-size: .92rem; font-style: italic; font-family: var(--serif); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; }
.footer-nav a { font-size: .84rem; color: var(--ink-soft); position: relative; }
.footer-nav a:hover { color: var(--accent); }
.footer-meta { color: var(--ink-mute); font-size: .8rem; display: grid; gap: .4rem; }
.footer-fine { color: var(--gold); font-style: italic; }

/* =============================================================
   19. Reveal animations
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* DEFENSIVE: never let split-reveal elements stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }

.split-line { display: block; overflow: hidden; }
.split-inner { display: block; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.is-visible .split-inner { transform: translateY(0); }
.split-word { display: inline-block; opacity: 0; transform: translateY(0.5em); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.is-visible .split-word { opacity: 1; transform: none; }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .manifesto-grid { grid-template-columns: 140px 1fr; gap: clamp(2rem, 6vw, 6rem); }
  .service { grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); }
  .service:nth-child(even) .service-media { order: 2; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-row: span 2; aspect-ratio: 4 / 6; }
  .collections { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .studio-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .gallery-item:first-child { grid-row: span 2; }
  .collections { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    background: var(--bg);
    opacity: 0; pointer-events: none; transform: translateY(-6%);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  }
  .nav-links a { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-toggle { display: flex; z-index: 10; }
  .nav.is-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-cta { display: none; }
}

/* =============================================================
   21. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-scroll i::after { animation: none; }
  .hero-bg { transform: scale(1.06); animation: none; }
  .splash-word, .splash-rule { animation-duration: .01s; }
}
