/* ═══════════════════════════════════════════════════════════════
   KHRISO — dark
   The same three houses, held to, only quieter and after dark:

   · Alighieri        — centred mark, a signature ornament repeating
                        as a divider, storytelling set in italic at a
                        narrow measure.
   · Completedworks   — offset asymmetric pairs, captions that say
                        something real rather than label a photo.
   · Van Cleef & Arpels — one deep field with the object glowing in
                        it, object plates with the name over the
                        smallest possible specs, and the tracked
                        micro-link sitting on a hairline rule.

   One family, Inter: modern, quiet, and it carries Greek and a true
   italic — which the storytelling needs.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --noir:   #14120F;   /* warm near-black, never blue */
  --noir-2: #1B1915;
  --noir-3: #232019;
  --cream:  #EFEBE3;
  --dim:    #9C958A;
  --dim-2:  #6C665C;
  --gold:   #B8934E;   /* the ornament, the specs, the rules. Nothing else. */

  --line:      rgba(239, 235, 227, .14);
  --line-soft: rgba(239, 235, 227, .07);

  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 4.6vw, 84px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head: 88px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--noir);
}
:target, .story, .works, .atelier, .visit { scroll-margin-top: var(--head); }
/* The wordmark points here; the top of the page needs no clearance. */
#top { scroll-margin-top: 0; }

body {
  background: var(--noir);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv05";
}

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(--cream); color: var(--noir); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 5px; }

.it { font-style: italic; }

/* Short centred lines strand single words at these sizes; let the
   browser even the ragged edge out. */
.atelier-line, .story-lede, .promise p { text-wrap: balance; }

/* ── The house mark: a drawn ornament between sections, the way
      Alighieri sets a dagger between them. ── */
.mark {
  display: grid;
  place-items: center;
  color: var(--gold);
  padding: clamp(48px, 7vw, 100px) 0;
  opacity: .85;
}
/* ── Cursor ── */
.cursor {
  --x: -100px; --y: -100px;
  position: fixed;
  top: 0; left: 0;
  z-index: 950;
  width: 7px; height: 7px;
  border: 1px solid var(--cream);
  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: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--noir);
  opacity: 0;
  transition: opacity .3s .06s;
}
.cursor[data-active="true"] { width: 54px; height: 54px; background: var(--cream); border-color: transparent; }
.cursor[data-active="true"] span { opacity: 1; }

/* ── Veil ── */
.veil {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--noir);
  display: grid;
  place-items: center;
  transition: opacity .9s var(--ease), visibility .9s;
}
.veil-mark {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--cream);
}
.veil.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.js .shell { opacity: 0; transition: opacity 1s var(--ease); }
.shell.is-live { opacity: 1; }

/* ══════════════════  HEADER  ══════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--head);
  padding: 0 var(--pad);
  background: var(--noir);
  border-bottom: 1px solid transparent;
  /* The page opens on the mark itself, so the bar stays out of the way
     until that mark has scrolled off. */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s;
}
.header.is-stuck {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  border-bottom-color: var(--line-soft);
}

.wordmark {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: .42em;
  text-indent: .42em;
  white-space: nowrap;
  text-align: center;
}

.head-r { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 28px); }
.nav a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
  padding-bottom: 3px;
  transition: color .35s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.lang {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 500; letter-spacing: .18em;
  color: var(--dim-2);
}
.lang button { color: var(--dim-2); transition: color .3s; padding: 8px 0; }
.lang button[aria-pressed="true"], .lang button:hover { color: var(--cream); }
.head-r .lang { padding-left: clamp(16px, 2vw, 26px); border-left: 1px solid var(--line-soft); }

/* On a phone the bar is a burger and nothing else; the language moves
   inside the menu, where there is room to spell it out. */
.menu-lang {
  justify-content: center;
  gap: 26px;
  margin: 26px 0 22px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: none;
}
.menu-lang button { padding: 10px 4px; }

.burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  margin-right: -12px;
  justify-self: end;
}
.burger span {
  position: absolute; right: 11px;
  width: 24px; height: 1px;
  background: var(--cream);
  transition: transform .4s var(--ease), top .3s;
}
.burger span:first-child { top: 20px; }
.burger span:last-child  { top: 26px; width: 16px; }
.burger[aria-expanded="true"] span { top: 23px; width: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: rotate(-45deg); }

/* ── Menu ── */
.menu {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: var(--noir);
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 130px var(--pad) 34px;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.menu:focus { outline: none; }
.menu nav { display: flex; flex-direction: column; justify-content: center; }
.menu nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(24px, 7vw, 38px);
  font-weight: 250;
  letter-spacing: -.015em;
  text-align: center;
}
.menu-foot {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 10px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim-2);
}

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

/* ══════════════════  HERO  ══════════════════
   Completedworks' opening, after dark: the mark alone and large,
   plain stacked lists holding the corners, two pictures hung at
   different heights, and captions that describe rather than label. */
.hero {
  padding: clamp(30px, 4vh, 54px) var(--pad) clamp(60px, 9vw, 110px);
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(20px, 4vw, 60px);
}

/* The plain stacked list — sentence case, no tracking, no ornament. */
.stack { display: flex; flex-direction: column; gap: 7px; }
.stack-r { align-items: flex-end; text-align: right; }
.stack a, .stack button {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--dim);
  transition: color .3s;
  width: fit-content;
}
.stack a:hover, .stack button:hover { color: var(--cream); }
.stack .lang { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; padding: 0; margin-top: 14px; }
.stack .lang button {
  font-size: 14px; font-weight: 300; letter-spacing: 0; text-transform: none;
  color: var(--dim-2);
}
.stack .lang button[aria-pressed="true"] { color: var(--cream); }

.hero-mark {
  font-size: clamp(38px, 7.6vw, 116px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .95;
  text-align: center;
  white-space: nowrap;
  color: var(--cream);
}

.season {
  margin: clamp(34px, 6vh, 72px) 0 clamp(52px, 9vh, 110px);
  text-align: center;
  font-size: clamp(15px, 1.2vw, 19px);
  font-weight: 300;
  color: var(--dim);
}

/* Two pictures, hung at different heights. */
.hero-pair {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 42fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
}
.pair-a { margin-top: clamp(24px, 4vw, 64px); }
.pair-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: filter .9s var(--ease);
}
.pair-a img { filter: grayscale(1) brightness(.9) contrast(1.05); }
.pair-b img { aspect-ratio: 4 / 3; filter: brightness(.86) saturate(.85); }
.pair-item:hover img { filter: none; }

.pair-item figcaption {
  margin: 22px 0 0;
  max-width: 42ch;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: var(--dim);
}

/* The underlined text link the reference ends every caption with. */
.tlink {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--cream);
  border-bottom: 1px solid var(--dim-2);
  padding-bottom: 2px;
  transition: border-color .35s;
}
.tlink:hover { border-bottom-color: var(--gold); }

.hero-index { margin-top: clamp(60px, 9vw, 120px); }

/* ══════════════════  STORY  ══════════════════
   Alighieri's story page: headings as tracked caps closed with an
   underscore, a centred italic opening, wide plates between blocks,
   and alternating column chapters with a pull-quote. */
.story { padding: clamp(90px, 12vw, 160px) var(--pad) clamp(90px, 12vw, 170px); }

.rule-head {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 26px;
}
.rule-head.centred { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }

.story-lede {
  max-width: 52ch;
  margin: 0 auto clamp(60px, 9vw, 120px);
  text-align: center;
  font-style: italic;
  font-weight: 250;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.75;
  color: var(--dim);
}

/* The wide plate that separates one block from the next. */
.wide-plate {
  max-width: 1360px;
  margin: 0 auto clamp(70px, 10vw, 140px);
  overflow: hidden;
}
.wide-plate img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 42%;
  transform: translateY(var(--py, 0px)) scale(1.06);
  filter: brightness(.86) saturate(.86);
}

/* Alternating chapters. */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 36fr) minmax(0, 46fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto clamp(70px, 10vw, 140px);
}
.chapter-flip { grid-template-columns: minmax(0, 46fr) minmax(0, 40fr); }

.chapter-copy p {
  max-width: 46ch;
  margin-bottom: 1.1em;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dim);
}
.chapter-copy p.it { font-style: italic; color: var(--dim); }

.pull {
  margin: 1.8em 0;
  padding-left: 18px;
  border-left: 1px solid var(--gold);
}
.pull p {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--cream);
  margin-bottom: .4em;
}
.pull cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim-2);
}

/* Plate switcher — the reference's I / II under the picture. */
.chapter-media { position: relative; }
.chapter-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: brightness(.88) saturate(.85); }

/* Both plates are laid on top of each other and crossfaded, so the
   second view is already decoded when the numeral is pressed. */
.swap-frame { position: relative; }
.swap-plate { transition: opacity .5s var(--ease); }
.swap-plate:not(.is-on) {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.swap-plate:not(.is-on) img { height: 100%; }
html:not(.js) .swap-plate:not(.is-on) { display: none; }

/* The glyph stays small; the tap target does not. The rule is drawn
   inside the padding so the underline still hugs the numeral. */
.numerals { display: flex; gap: 4px; margin: 6px 0 0 -12px; }
.numerals button {
  position: relative;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--dim-2);
  padding: 10px 12px 8px;
  transition: color .3s;
}
.numerals button::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 5px;
  height: 1px;
  background: transparent;
  transition: background .3s;
}
.numerals button[aria-pressed="true"] { color: var(--cream); }
.numerals button[aria-pressed="true"]::after { background: var(--gold); }
.numerals button:hover { color: var(--cream); }

/* The 2 x 2 plate grid. */
.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 22px);
  align-content: start;
}
.quad figure:nth-child(2) { margin-top: clamp(18px, 3vw, 46px); }
.quad figure:nth-child(3) { margin-top: calc(-1 * clamp(18px, 3vw, 46px)); }
.quad img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: brightness(.86) saturate(.82);
  transition: filter .8s var(--ease);
}
.quad figure:hover img { filter: none; }

/* One piece, told at length. */
.tale { max-width: 54ch; margin: 0 auto; }
.tale p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dim);
  margin-bottom: 1.4em;
}

/* ══════════════════  PIECES  ══════════════════
   Each piece is a chapter, not a card: plates that page with roman
   numerals, the name large, the specs in gold, and a paragraph that
   tells the piece's own tale. */
.works {
  padding: clamp(90px, 12vw, 160px) var(--pad) clamp(70px, 9vw, 120px);
  background: var(--noir-2);
}

.piece-chapter {
  display: grid;
  grid-template-columns: minmax(0, 50fr) minmax(0, 40fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
  max-width: 1320px;
  margin: clamp(70px, 10vw, 140px) auto 0;
}
.piece-chapter.is-flipped .piece-plates { order: 2; }

.piece-plates img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: brightness(.88) saturate(.86);
  transition: filter .9s var(--ease);
}
.piece-plates:hover img { filter: brightness(1) saturate(.98); }

.piece-roman {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--gold);
  margin-bottom: 18px;
}
.piece-name {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 200;
  letter-spacing: -.026em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.piece-spec {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.piece-lead {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 1em;
  max-width: 34ch;
}
.piece-tale {
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--dim);
  max-width: 40ch;
}

/* ══════════════════  WORN  ══════════════════ */
.worn { padding: clamp(90px, 12vw, 170px) var(--pad); }
.worn-pair {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 32fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: start;
  max-width: 1240px;
  margin: clamp(50px, 7vw, 90px) auto 0;
}
.worn-pair figure:last-child { margin-top: clamp(50px, 9vw, 150px); }
.worn-pair img {
  width: 100%;
  filter: grayscale(1) brightness(.88) contrast(1.06);
  transform: translateY(var(--py, 0px));
  transition: filter .9s var(--ease);
}
.worn-pair figure:hover img { filter: grayscale(1) brightness(1.04) contrast(1.02); }

/* ══════════  THE ONE FIELD OF WARMTH  ══════════ */
.atelier {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: grid;
  place-items: center;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  overflow: hidden;
  background: var(--noir);
}
.atelier-media { position: absolute; inset: 0; }
.atelier-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08) translateY(var(--py, 0px));
  filter: brightness(.5) saturate(.9);
}
.atelier-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,18,15,.74), rgba(20,18,15,.44) 50%, rgba(20,18,15,.84));
}
.atelier-body { position: relative; z-index: 1; text-align: center; max-width: 36ch; }
.rule-head.light { color: rgba(239,235,227,.7); }
.atelier-line {
  margin: 20px 0 18px;
  font-size: clamp(26px, 3.6vw, 54px);
  font-weight: 200;
  letter-spacing: -.024em;
  color: var(--cream);
}
.atelier-sub {
  font-size: clamp(15px, 1.15vw, 18px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(239, 235, 227, .74);
}

/* ── The four promises, as the reference sets them out ── */
.promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) var(--pad);
  text-align: center;
}
.promise-mark { display: block; color: var(--gold); margin-bottom: 18px; }
.promise-mark svg { margin: 0 auto; }
.promise h3 {
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 10px;
}
.promise p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dim);
  max-width: 26ch;
  margin: 0 auto;
}

/* ══════════════════  VISIT  ══════════════════ */
.visit { padding: clamp(70px, 9vw, 110px) var(--pad) clamp(80px, 10vw, 130px); }
.visit-grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(46px, 8vw, 120px);
  align-items: start;
  max-width: 1240px;
  margin: clamp(50px, 7vw, 90px) auto 0;
}
.visit-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 30px; }
.visit-facts dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 10px;
}
.visit-facts dd { font-size: 16px; font-weight: 300; line-height: 1.55; }
.visit-facts a { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .4s; }
.visit-facts a:hover { border-bottom-color: var(--gold); }

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

.field-row { position: relative; padding-top: 28px; }
.field-row label {
  position: absolute;
  top: 28px; left: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim-2);
  pointer-events: none;
  transform-origin: left;
  transition: transform .45s var(--ease), color .45s;
}
.field-row input, .field-row textarea {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
  font-size: 17px;
  font-weight: 300;
  resize: none;
  transition: border-color .45s;
}
.field-row input:focus, .field-row textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field-row input:-webkit-autofill,
.field-row input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 40px var(--noir) inset;
  caret-color: var(--cream);
  transition: background-color 9999s;
}
.field-row input:focus + label,
.field-row textarea:focus + label,
.field-row input:not(:placeholder-shown) + label,
.field-row textarea:not(:placeholder-shown) + label,
.field-row.is-filled label {
  transform: translateY(-28px) scale(.86);
  color: var(--dim-2);
}
.visit-form .tlink { align-self: flex-start; margin-top: 30px; padding: 8px 0; }
.form-status {
  margin-top: 16px;
  min-height: 1em;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ══════════════════  FOOTER  ══════════════════ */
.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(60px, 8vw, 100px) var(--pad) 30px;
  border-top: 1px solid var(--line-soft);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-mark {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--cream);
}
.footer-orn { color: var(--gold); }
.footer-tag { font-style: italic; font-size: 14px; color: var(--dim); }

.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 6px;
}
.footer-col a, .footer-addr {
  font-size: 13px;
  font-weight: 300;
  color: var(--dim);
  transition: color .3s;
  width: fit-content;
}
.footer-col a:hover { color: var(--cream); }

.footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: clamp(40px, 6vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim-2);
}
.footer-base a { transition: color .3s; }
.footer-base a:hover { color: var(--cream); }
.footer-credit i { font-style: normal; }

/* ══════════════════  RESPONSIVE  ══════════════════ */

/* ── Laptop: the two-column contact block runs out of room first. ── */
@media (max-width: 1100px) {
  .visit-grid { grid-template-columns: 1fr; gap: 64px; }
  .chapter, .chapter-flip { gap: clamp(30px, 4vw, 56px); }
  .piece-chapter, .piece-chapter.is-flipped { gap: clamp(30px, 4.5vw, 64px); }
}

/* ── Tablet and phone ── */
@media (max-width: 900px) {
  :root { --head: 70px; }
  .nav { display: none; }
  .head-r .lang { display: none; }
  .burger { display: block; }

  /* The hero's own lists are hidden here, so the bar has to be reachable
     from the top — but the wordmark still waits, so the big mark keeps
     the opening to itself. */
  .header {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    transition: background .45s var(--ease), border-color .45s;
  }
  .header.is-stuck { background: var(--noir); }
  .header:not(.is-stuck) .wordmark { opacity: 0; pointer-events: none; }
  .wordmark { transition: opacity .4s var(--ease); }

  .hero { padding-top: calc(var(--head) + 10px); }
  .hero-top { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .hero-top .stack { display: none; }
  .hero-mark { font-size: clamp(34px, 13vw, 60px); }
  .season { margin: 26px 0 40px; }
  .hero-pair { grid-template-columns: 1fr; gap: 52px; max-width: 560px; }
  .pair-a { margin-top: 0; }
  .hero-index { align-items: center; margin-top: 60px; }

  .chapter, .chapter-flip { grid-template-columns: 1fr; gap: 40px; }
  .chapter-flip .chapter-copy { order: -1; }
  .chapter-media { max-width: 480px; }
  .chapter-flip .quad { max-width: 560px; }
  .chapter-copy p, .piece-lead, .piece-tale { max-width: 62ch; }
  .wide-plate img { aspect-ratio: 4 / 3; }

  .piece-chapter, .piece-chapter.is-flipped { grid-template-columns: 1fr; gap: 34px; }
  .piece-chapter.is-flipped .piece-plates { order: 0; }
  .piece-plates { max-width: 560px; }
  /* Stacked, the chapter's numeral lands directly under the plate
     switcher's — two romans saying different things, an arm's length
     apart. The chapter keeps its order without it. */
  .piece-roman { display: none; }

  .worn-pair { grid-template-columns: 1fr; gap: 44px; max-width: 560px; }
  .worn-pair figure:last-child { margin-top: 0; width: 76%; margin-left: auto; }

  .promises { grid-template-columns: 1fr 1fr; gap: 46px 28px; }

  .footer { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .footer-brand { grid-column: 1 / -1; }

  /* A finger needs more than the line box these links sit in. */
  .wordmark { padding: 12px 0; }
  .footer-col { gap: 0; }
  .footer-col a, .footer-addr { padding: 6px 0; }
  .menu-foot a { padding: 9px 4px; }
  .visit-facts a { padding: 6px 0; }
  .tlink { padding: 6px 0 8px; }
}

/* ── Small tablet and large phone ── */
@media (max-width: 640px) {
  .visit-facts { grid-template-columns: 1fr; gap: 32px; }
  .visit-grid { gap: 54px; }
  .story-lede { font-size: 17px; }
  .quad { gap: 10px; }
  .chapter-flip .quad { max-width: none; }
}

/* ── Phone ── */
@media (max-width: 520px) {
  .cursor { display: none; }
  .wordmark { font-size: 13px; letter-spacing: .3em; text-indent: .3em; }

  /* Two columns leave the promises about twenty characters of room,
     which is not enough for the Greek. */
  .promises { grid-template-columns: 1fr; gap: 40px; }
  .promise p { max-width: 34ch; }

  .footer { grid-template-columns: 1fr; gap: 34px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 10px; }

  .menu nav a { padding: 15px 0; }
  .menu-foot { flex-direction: column; align-items: center; gap: 12px; }

  .worn-pair figure:last-child { width: 84%; }
  .hero-pair { gap: 44px; }
  .pull { padding-left: 14px; }
}

/* ── A phone on its side: the menu is the only thing tall enough
      to run off the bottom. ── */
@media (max-height: 540px) and (orientation: landscape) {
  .menu { padding-top: calc(var(--head) + 18px); padding-bottom: 22px; }
  .menu nav a { padding: 11px 0; font-size: clamp(19px, 4.6vw, 26px); }
  .hero { padding-top: calc(var(--head) + 6px); }
  .atelier { min-height: 0; }
}

/* A pointer that cannot hover has no use for a drawn one. */
@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; }
  .atelier-media img, .wide-plate img, .worn-pair img { transform: none; }
  .veil { display: none; }
  .js .shell { opacity: 1; }
}
