/* ═══════════════════════════════════════════════════════════════
   MAISON ELEF — Bone & Ink
   Reference points: The Row, Toteme, Lemaire.
   Rules of the house: no border radius, no drop shadows, no boxes.
   Hierarchy comes from tonal shifts, hairlines and empty space.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bone:       #F2EFE8;
  --bone-deep:  #E8E3D9;
  --paper:      #FBFAF6;
  --ink:        #14130F;
  --ink-soft:   #403C33;
  --ink-faint:  #6B6659;
  --clay:       #A8917B;

  --line:       rgba(20, 19, 15, .20);
  --line-soft:  rgba(20, 19, 15, .11);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;

  --pad: clamp(20px, 4.2vw, 76px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-curtain: cubic-bezier(.76, 0, .24, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bone); }

/* The header is fixed, so anchored sections need to clear it. */
:target, .story, .edit, .atelier, .visit { scroll-margin-top: 74px; }
@media (max-width: 900px) { :target, .story, .edit, .atelier, .visit { scroll-margin-top: 66px; } }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bone); }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.italic { font-style: italic; }

/* ── Micro label: the connective tissue of the whole site ────── */
.label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 15px 26px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn > span, .btn > i { position: relative; z-index: 1; }
.btn > span { white-space: nowrap; }
.btn > i { width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.btn:hover { color: var(--bone); border-color: var(--ink); }
.btn:hover::before { transform: scaleY(1); }
.btn:hover > i { width: 30px; }

.btn-solid { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn-solid::before { background: var(--bone); }
.btn-solid:hover { color: var(--ink); }

/* ── Film grain: keeps flat bone from reading as dead screen ── */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 900;
  pointer-events: none;
  opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ── Cursor ──────────────────────────────────────────────────── */
.cursor {
  --x: -100px; --y: -100px;
  position: fixed;
  top: 0; left: 0;
  z-index: 950;
  width: 8px; height: 8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);
  transition: width .42s var(--ease), height .42s var(--ease),
              background .42s var(--ease), border-color .42s var(--ease);
}
.cursor span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0;
  transition: opacity .3s .06s;
}
.cursor[data-active="true"] {
  width: 52px; height: 52px;
  background: var(--ink);
  border-color: transparent;
}
.cursor[data-active="true"] span { opacity: 1; }

/* ── Curtain intro ───────────────────────────────────────────── */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--bone);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.05s var(--ease-curtain), visibility 1.05s;
}
.curtain.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }

.curtain-inner { text-align: center; }
.curtain-mark {
  font-family: var(--serif);
  font-size: clamp(24px, 4.4vw, 54px);
  font-weight: 300;
  letter-spacing: 0em;
  white-space: nowrap;
  transition: letter-spacing 1.7s var(--ease), opacity .6s;
}
.curtain.is-open .curtain-mark { letter-spacing: .3em; }

.curtain-sub {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .9s .35s, transform .9s .35s var(--ease);
}
.curtain.is-open .curtain-sub { opacity: 1; transform: none; }

.curtain-count {
  position: absolute;
  left: var(--pad);
  bottom: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--ink-faint);
}
.curtain-rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

.js .shell { opacity: 0; transition: opacity .8s; }
.shell.is-live { opacity: 1; }

/* ── Scroll progress ─────────────────────────────────────────── */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  height: 1px;
  background: var(--ink);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* A permanent bone bar. The hero photograph runs underneath it, so the
     image still bleeds to the edges while the nav always sits on solid
     ground. Nothing about this bar animates. */
  height: 74px;
  padding: 0 var(--pad);
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color .45s;
  /* Own compositing layer — a fixed bar over scrolling imagery repaints
     badly in Safari without one. */
  transform: translateZ(0);
}
.header.is-stuck { border-bottom-color: var(--line); }

.wordmark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  padding-top: .12em;   /* optical centring — the caps sit high in the em box */
}

.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
  transition: color .35s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 30px; height: 16px; position: relative; }
.burger span {
  position: absolute; right: 0;
  width: 26px; height: 1px;
  background: var(--ink);
  transition: transform .4s var(--ease), top .3s;
}
.burger span:first-child { top: 4px; }
.burger span:last-child  { top: 11px; width: 18px; }
.burger[aria-expanded="true"] span { top: 8px; width: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: rotate(-45deg); }

/* ── Mobile menu ─────────────────────────────────────────────── */
.menu {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: var(--bone);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 96px var(--pad) 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s var(--ease-curtain), visibility 0s linear .8s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .8s var(--ease-curtain), visibility 0s;
}
.menu-foot {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.menu nav { display: flex; flex-direction: column; justify-content: center; }
.menu nav a {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.menu nav a:first-child { border-top: 1px solid var(--line); }
.menu nav em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--ink-faint);
}
.menu nav span {
  font-family: var(--serif);
  font-size: clamp(38px, 12vw, 68px);
  font-weight: 400;
  line-height: 1;
}

/* ── Reveal ──────────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.mask { display: block; overflow: hidden; }
.mask > i {
  display: block;
  font-style: inherit;
  transform: translateY(105%);
  transition: transform 1.15s var(--ease);
}
.mask > i.italic { font-style: italic; }
.is-live .hero-title .mask:nth-child(1) > i { transform: none; transition-delay: .15s; }
.is-live .hero-title .mask:nth-child(2) > i { transform: none; transition-delay: .27s; }
.is-live .hero-title .mask:nth-child(3) > i { transform: none; transition-delay: .39s; }

/* ═══════════════════════  HERO  ═══════════════════════ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 46vw;
  align-items: stretch;
  position: relative;
}
.hero-type {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(120px, 16vh, 180px) clamp(30px, 4vw, 68px) 42px var(--pad);
  border-right: 1px solid var(--line);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(50px, 7.4vw, 128px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
  margin: auto 0;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--ink-soft);
  text-align: right;
}

.hero-media { position: relative; overflow: hidden; background: var(--bone-deep); }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.07) saturate(1.04);
  transform: scale(1.12) translateY(var(--py, 0px));
  transition: transform 1.9s var(--ease);
}
.is-live .hero-media img { transform: scale(1) translateY(var(--py, 0px)); }

.hero-caption {
  position: absolute;
  left: 20px; bottom: 18px;
  padding: 5px 9px;
  background: rgba(242, 239, 232, .92);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-edge {
  position: absolute;
  right: 16px;
  bottom: 16%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bone);
  mix-blend-mode: difference;
  writing-mode: vertical-rl;
  z-index: 2;
}

/* ═══════════════════════  CREED  ═══════════════════════ */
.creed {
  border-block: 1px solid var(--line);
  background: var(--bone-deep);
  padding: 22px 0;
  overflow: hidden;
}
.creed-row {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding-left: 12vw;
  will-change: transform;
}
.creed-row span {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 54px);
  font-weight: 300;
  white-space: nowrap;
}
.creed-row i { font-style: normal; color: var(--clay); font-size: 12px; }

/* ═══════════════════════  STORY  ═══════════════════════ */
.story {
  display: grid;
  grid-template-columns: 42vw 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding: 0 var(--pad) clamp(80px, 9vw, 140px) 0;
  align-items: start;
}

.story-media {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--bone-deep);
}
.story-media figure {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.story-media figure.is-active { opacity: 1; }
.story-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Postcard blue is the one thing that breaks a bone-and-ink house.
     A warm desaturation pulls the Cyclades back into the palette. */
  filter: saturate(.74) sepia(.04) contrast(1.13);
}

.story-index {
  position: absolute;
  left: var(--pad); bottom: 26px;
  z-index: 2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--bone);
  mix-blend-mode: difference;
}

.story-copy { padding-top: clamp(88px, 15vh, 170px); }
.story-title {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 76px);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 24px 0 clamp(44px, 7vh, 96px);
}
.story-beats p {
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 40px);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -.01em;
  max-width: 20ch;
  margin-bottom: clamp(86px, 16vh, 180px);
}
.story-beats p:last-child { margin-bottom: 4vh; color: var(--ink-soft); }

/* ═══════════════════════  EDIT / LOOKBOOK  ═══════════════════════ */
.edit { background: var(--paper); border-top: 1px solid var(--line); }
.edit-track { position: relative; }

.edit-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3.2vh, 44px);
  overflow: hidden;
  padding: clamp(96px, 13vh, 128px) 0 clamp(24px, 3.4vh, 38px);
}

.edit-head { padding: 0 var(--pad); }
.edit-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-top: 16px;
}

.edit-rail {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.4vw, 40px);
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}

.piece { width: clamp(215px, 35svh, 380px); flex: none; }
.piece-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bone-deep);
}
.piece-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .8s;
  filter: saturate(.88) contrast(1.12);
}
.piece:hover .piece-media img { transform: scale(1.05); filter: saturate(1) contrast(1.06); }

.piece-meta {
  display: grid;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.piece-meta h3 {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 31px);
  font-weight: 400;
  letter-spacing: .01em;
}
.piece-meta span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 5px;
}

.piece-end { display: flex; align-items: center; width: clamp(290px, 46svh, 470px); }
.piece-end-inner { padding-left: clamp(10px, 3vw, 50px); }
.piece-end-line {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 54px);
  font-weight: 400;
  line-height: 1.06;
  margin: 22px 0 34px;
}

.edit-foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 var(--pad);
}
.edit-bar { height: 1px; background: var(--line); position: relative; }
.edit-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--ink);
  transform: scaleX(var(--e, 0));
  transform-origin: left;
  transition: transform .18s linear;
}
.edit-hint { transition: opacity .5s; }

/* ═══════════════════════  ATELIER  ═══════════════════════ */
.atelier {
  padding: clamp(110px, 14vw, 210px) var(--pad);
  border-top: 1px solid var(--line);
}
.atelier-head { max-width: 1500px; margin: 0 auto clamp(70px, 9vw, 130px); }
.atelier-title {
  font-family: var(--serif);
  font-size: clamp(46px, 7.6vw, 138px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.025em;
  margin: 28px 0 34px;
}
.atelier-lead {
  max-width: 40ch;
  margin-left: auto;
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
}

.atelier-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(46px, 6vw, 100px) clamp(16px, 2vw, 34px);
  align-items: start;
}
.fr { position: relative; overflow: visible; }
.fr img {
  width: 100%;
  display: block;
  transform: translateY(var(--py, 0px));
  filter: saturate(.8) contrast(1.14);
  transition: filter .7s;
}
.fr:hover img { filter: saturate(1) contrast(1.08); }
.fr figcaption {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.fr-a { grid-column: 1 / span 5; }
.fr-b { grid-column: 8 / span 4; margin-top: 10vw; }
.fr-c { grid-column: 2 / span 4; }
.fr-d { grid-column: 7 / span 3; margin-top: 7vw; }
.fr-e { grid-column: 6 / span 6; }

.atelier-quote {
  grid-column: 1 / span 5;
  align-self: center;
  padding: clamp(30px, 4vw, 60px) 0;
}
.atelier-quote p {
  font-family: var(--serif);
  font-size: clamp(27px, 3.1vw, 50px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.01em;
}

/* ═══════════════════════  VISIT  ═══════════════════════ */
.visit {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(90px, 11vw, 170px) var(--pad) clamp(70px, 8vw, 120px);
}
.visit .label { color: rgba(242, 239, 232, .66); }

.visit-head { max-width: 1500px; margin: 0 auto clamp(70px, 9vw, 120px); }
.visit-title {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 180px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.03em;
  margin: 30px 0 34px;
}
.visit-lead {
  max-width: 36ch;
  margin-left: auto;
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(242, 239, 232, .8);
}

.visit-body {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
}

.visit-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 30px; }
.visit-facts dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, .62);
  margin-bottom: 12px;
}
.visit-facts dd { font-size: clamp(18px, 1.5vw, 23px); font-weight: 500; letter-spacing: .01em; }
.visit-facts a { border-bottom: 1px solid rgba(242, 239, 232, .28); padding-bottom: 2px; transition: border-color .4s; }
.visit-facts a:hover { border-bottom-color: var(--bone); }

.visit-form { display: flex; flex-direction: column; gap: 8px; }
.hp { position: absolute; left: -9999px; }

.field { position: relative; padding-top: 30px; }
.field label {
  position: absolute;
  top: 30px; left: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, .66);
  pointer-events: none;
  transform-origin: left;
  transition: transform .45s var(--ease), color .45s;
}
.field input, .field textarea {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(242, 239, 232, .34);
  padding: 0 0 14px;
  font: inherit;
  font-size: 19px;
  color: var(--bone);
  resize: none;
  transition: border-color .45s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--bone); }
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field.is-filled label {
  transform: translateY(-30px) scale(.74);
  color: rgba(242, 239, 232, .38);
}

.visit-form .btn { align-self: flex-start; margin-top: 34px; }
.visit-form .btn-solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.visit-form .btn-solid::before { background: var(--clay); }
.visit-form .btn-solid:hover { color: var(--bone); border-color: var(--clay); }

.form-status {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
  min-height: 1em;
}

/* ═══════════════════════  FOOTER  ═══════════════════════ */
.footer {
  background: var(--ink);
  color: rgba(242, 239, 232, .72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 30px;
  padding: 26px var(--pad);
  border-top: 1px solid rgba(242, 239, 232, .13);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer nav { display: flex; gap: 28px; }
.footer a { transition: color .35s; }
.footer a:hover { color: var(--bone); }
.footer-credit i { font-style: normal; }

/* ═══════════════════════  RESPONSIVE  ═══════════════════════ */
@media (max-width: 1100px) {
  .story { grid-template-columns: 38vw 1fr; }
  .visit-body { grid-template-columns: 1fr; gap: 70px; }
  .visit-facts { max-width: 560px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .header { height: 66px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-type { border-right: 0; padding: 128px var(--pad) 44px; }
  .hero-title { font-size: clamp(44px, 13vw, 76px); margin: 52px 0 46px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero-note { text-align: left; }
  .hero-media { aspect-ratio: 4 / 5; }
  .hero-media img { position: absolute; }
  .hero-edge { display: none; }

  .creed-row { padding-left: 26vw; gap: 22px; }

  .story { display: block; padding: 0 0 clamp(70px, 10vw, 120px); }
  .story-media { position: sticky; top: 0; height: 100svh; }
  .story-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(242, 239, 232, .72);
  }
  .story-index { left: var(--pad); z-index: 2; }
  .story-copy {
    position: relative;
    z-index: 1;
    margin-top: -100svh;
    padding: clamp(104px, 17vh, 160px) var(--pad) 0;
  }
  .story-beats p { max-width: 20ch; margin-bottom: 34svh; }
  .story-beats p:last-child { margin-bottom: 14svh; }

  /* Lookbook: native swipe rail, no pinning */
  .edit-track { height: auto !important; }
  .edit-sticky {
    position: static;
    height: auto;
    padding: clamp(80px, 12vw, 130px) 0 clamp(60px, 8vw, 90px);
    overflow: visible;
  }
  .edit-rail {
    transform: none !important;
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
  }
  .edit-rail::-webkit-scrollbar { display: none; }
  .piece { width: 74vw; scroll-snap-align: start; }
  .piece-end { width: 82vw; }
  .edit-foot { grid-template-columns: 1fr; gap: 12px; }
  .edit-bar { display: none; }

  .atelier-grid { grid-template-columns: repeat(6, 1fr); gap: 56px 18px; }
  .fr-a { grid-column: 1 / span 6; }
  .fr-b { grid-column: 2 / span 5; margin-top: 0; }
  .fr-c { grid-column: 1 / span 5; }
  .fr-d { grid-column: 3 / span 4; margin-top: 0; }
  .fr-e { grid-column: 1 / span 6; }
  .atelier-quote { grid-column: 1 / span 6; }
  .atelier-lead { margin-left: 0; }

  .visit-facts { grid-template-columns: 1fr; gap: 34px; }
  .visit-lead { margin-left: 0; }

  .footer { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .cursor, .grain { display: none; }
  .wordmark { font-size: 15px; letter-spacing: .24em; }
  .atelier-grid { grid-template-columns: 1fr; }
  .fr-a, .fr-b, .fr-c, .fr-d, .fr-e, .atelier-quote { grid-column: 1; }
  .footer nav { gap: 18px; }
}

/* Pointer-less devices never see the custom cursor */
@media (hover: none) { .cursor { display: none; } }

/* ═══════════════════════  REDUCED MOTION  ═══════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .mask > i { transform: none; }
  .hero-media img { transform: none; }
  .curtain { display: none; }
  .shell { opacity: 1; }
  .edit-track { height: auto !important; }
  .edit-sticky { position: static; height: auto; overflow: visible; padding: 110px 0 80px; }
  .edit-rail { transform: none !important; width: auto; overflow-x: auto; }
  .piece { width: min(70vw, 380px); }
  .story-media { position: relative; height: 70svh; }
  .story-media::after { display: none; }
  .story-copy { margin-top: 0; padding-top: clamp(60px, 9vh, 96px); }
  .story-beats p { margin-bottom: clamp(56px, 8vh, 90px); }
  .fr img { transform: none; }
}
