/* ============================================================
   Smiles by Nilou
   Palette: warm neutrals only. One accent — a blush lifted from
   the mattes on Nilou's own before/after photographs.
   Type: Bodoni Moda (display) + Jost (text). No Inter.
   ============================================================ */

:root {
  --porcelain: #FBF8F3;
  --ivory:     #F2EBE0;
  --sand:      #E2D6C4;
  --taupe:     #A8967F;  /* hairlines and dividers only — too pale for text */
  --clay-soft: #7E6E5E;  /* 4.6:1 on porcelain */
  --clay:      #6B5D50;
  --ink:       #2B241E;
  --blush:     #E7C6BC;

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 1240px;
  --band: clamp(5.5rem, 13vw, 10.5rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --slow: 820ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

a, button, input, select, textarea, label {
  -webkit-tap-highlight-color: rgba(43, 36, 30, .08);
}
a, button { touch-action: manipulation; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--clay);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.72;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain — the only texture on the page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

::selection { background: var(--blush); color: var(--ink); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .9rem 1.4rem;
  background: var(--ink);
  color: var(--porcelain);
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

/* ── Type primitives ─────────────────────────────────────── */

.eyebrow {
  margin: 0;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--clay);
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 400;
}

.head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.rule {
  display: block;
  width: clamp(2rem, 8vw, 6rem);
  height: 1px;
  background: var(--taupe);
  transform-origin: left;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .95rem 1.9rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: .78125rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.btn--ink { color: var(--porcelain); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--ink); }
.btn--ink:hover::before, .btn--ink:focus-visible::before { transform: scaleY(0); }

.btn--line::before { transform: scaleY(0); }
.btn--line:hover, .btn--line:focus-visible { color: var(--porcelain); }
.btn--line:hover::before, .btn--line:focus-visible::before { transform: scaleY(1); }

.btn--wide { width: 100%; }

/* ── Masthead ────────────────────────────────────────────── */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.masthead.is-stuck { border-bottom-color: var(--sand); }

.masthead__inner {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.75rem;
}

.masthead__mark { flex: none; line-height: 0; }
.masthead__mark img { width: 148px; height: auto; }

.masthead__nav {
  margin-left: auto;
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
}
.masthead__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--clay);
  font-size: .78125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.masthead__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.masthead__nav a:hover::after,
.masthead__nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.masthead__cta { min-height: 2.75rem; padding: .7rem 1.4rem; }

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.hero__title {
  margin: 1.75rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.9rem, 12.2vw, 9.5rem);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hero__title em { font-style: italic; }

/* The reveal masks these lines, so the box must clear Playfair's ascenders
   and descenders — at line-height .9 the glyphs sit ~.23em outside the line
   box on each side. Negative margins cancel the padding so the tight
   two-line spacing is unchanged. */
.line {
  display: block;
  overflow: hidden;
  padding-block: .28em;
  margin-block: -.28em;
}
.line__in { display: block; }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem 3rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--sand);
}
.hero__lede {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
}
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Sections ────────────────────────────────────────────── */

/* Grounds alternate so each section divides itself from the last without a
   rule: hero white → results beige → story white → sessions beige → contact
   white. The footer keeps its hairline since it shares white with contact. */
.section { padding-block: var(--band); }
.section--results,
.section--sessions { background: var(--ivory); }

/* 1 · Behind the smile */

.story {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.story__body { padding-top: .6rem; }

.pull {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.story__body p {
  margin: 0 0 1.35rem;
  max-width: 42ch;
}
.story__body p:last-child { margin-bottom: 0; }

/* 2 · Sessions & pricing */

.section--sessions .display { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.offer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
}
/* Divides the whitening pair from the other services below it. */
.head--sub { margin-top: clamp(4rem, 8vw, 6.5rem); }

/* A single card runs the full width rather than leaving half the row empty.
   Its contents split in two so they use that width: name and description on
   the left, price and booking on the right. */
.offer--wide { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 881px) {
  .offer--wide .offer__col {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(2.5rem, 6vw, 5rem);
    row-gap: 1.75rem;
    align-items: start;
  }
  .offer--wide .offer__title { grid-area: 1 / 1; margin: 0; }
  .offer--wide .offer__note  { grid-area: 2 / 1; margin: 0; max-width: 56ch; }
  .offer--wide .menu         { grid-area: 1 / 2; margin: 0; }
  .offer--wide .btn          { grid-area: 2 / 2; justify-self: start; }
}
.offer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 2rem;
  border-top: 1px solid var(--taupe);
}
.offer__title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  color: var(--ink);
}
.offer__note {
  margin: 0 0 2.25rem;
  max-width: 34ch;
  font-size: 1rem;
}

.menu {
  width: 100%;
  margin: 0 0 1.5rem;
}
.menu__row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--sand);
}
.menu__row:first-child { border-top: 1px solid var(--sand); }
.menu dt {
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--clay);
}
/* --clay, not --clay-soft: this sits on the ivory panel, where the softer
   tone only reaches 4.15:1. */
.menu__shade {
  display: block;
  margin-top: .15rem;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--clay);
}
.menu dd {
  margin: 0 0 0 auto;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.offer__fine {
  margin: 0 0 2rem;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--clay);
}
.offer__quote {
  margin: 0 0 2rem;
  max-width: 30ch;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink);
}
.offer__quote span {
  display: block;
  margin-top: .5rem;
  font-family: var(--sans);
  font-size: .875rem;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--clay);
}

/* 3 · Before & after — the reveal plates */

.results__intro {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.plate { margin: 0; grid-column: span 1; }
.plate--lead { grid-column: 1 / -1; }

.plate__frame {
  --pos: 100%;
  --p: 1;
  position: relative;
  aspect-ratio: 2.016 / 1;
  overflow: hidden;
  background: var(--sand);
  cursor: ew-resize;
  /* Vertical panning stays with the browser; horizontal drags come to us. */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
/* The slider itself is invisible, so the frame carries its focus ring.
   :focus-within rather than :focus-visible — a keyboard user must always
   get an indicator, even where the heuristic would suppress one. */
.plate__frame:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.plate__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.plate__clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.plate__tag {
  position: absolute;
  top: clamp(.75rem, 1.6vw, 1.25rem);
  z-index: 3;
  padding: .4rem .7rem;
  background: rgba(43, 36, 30, .55);
  color: var(--porcelain);
  font-size: .625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity .25s linear;
  pointer-events: none;
}
.plate__tag--b { left: clamp(.75rem, 1.6vw, 1.25rem); opacity: calc(.28 + .72 * var(--p)); }
.plate__tag--a { right: clamp(.75rem, 1.6vw, 1.25rem); opacity: calc(1 - .72 * var(--p)); }

.plate__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 1px;
  margin-left: -.5px;
  background: var(--porcelain);
  box-shadow: 0 0 0 1px rgba(43, 36, 30, .14);
  pointer-events: none;
}
.plate__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  border: 1px solid rgba(251, 248, 243, .85);
  border-radius: 50%;
  background: rgba(43, 36, 30, .22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: scale .35s var(--ease), background .35s var(--ease);
}
.plate__grip::before,
.plate__grip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-block: 4px solid transparent;
  translate: 0 -50%;
}
.plate__grip::before { left: 12px; border-right: 5px solid var(--porcelain); }
.plate__grip::after  { right: 12px; border-left: 5px solid var(--porcelain); }

@media (hover: hover) {
  .plate__frame:hover .plate__grip { scale: 1.1; }
}
.plate__frame.is-grabbed { cursor: grabbing; }
.plate__frame.is-grabbed .plate__grip {
  scale: .94;
  background: rgba(231, 198, 188, .55);
}

/* Kept as a real slider so it is keyboard- and screen-reader-operable, but
   pointer input is handled by the frame — mobile browsers steal horizontal
   touch-drags from a native range and hand them to the scroller. */
.plate__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}
.plate__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1px;
  height: 100%;
  background: transparent;
}
.plate__range::-moz-range-thumb {
  width: 1px;
  height: 100%;
  border: 0;
  background: transparent;
}

/* 4 · Contact */

/* One column, in the order the booking path should be read:
   book online → phone → email → instagram → address → map. */
.contact {
  display: grid;
  gap: clamp(2.25rem, 4.5vw, 3.25rem);
}

/* From tablet up the details sit left and the map stands tall beside them.
   DOM order is unchanged, so it still stacks book → phone → email →
   instagram → address → map on small screens. */
@media (min-width: 1025px) {
  .contact {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(3rem, 5vw, 4.5rem);
    align-items: start;
  }
  .contact > .display,
  .contact > .btn--book,
  .contact > .direct { grid-column: 1; }
  /* Stretches to the details column's height so the two sides land level at
     any width; the column is narrow, so it stays portrait. */
  .contact > .map {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: stretch;
    aspect-ratio: auto;
    max-height: none;
    min-height: 30rem;
  }
}

/* The strongest call to action on the page. */
.btn--book {
  width: 100%;
  max-width: 30rem;
  min-height: 4rem;
  font-size: .875rem;
  letter-spacing: .2em;
}

.direct { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.direct li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--sand);
}
.direct li:first-child { border-top: 1px solid var(--sand); }
.direct__k {
  flex: none;
  width: 8.5rem;
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay);
}
/* Underlined by default so it reads as tappable at a glance — taupe keeps it
   quiet, darkening to the ink colour on hover. */
.direct__v {
  display: inline-block;
  padding-block: .55rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--taupe);
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
  transition: text-decoration-color .35s var(--ease);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.direct__v--sm { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.direct__v:hover, .direct__v:focus-visible { text-decoration-color: currentColor; }

.direct__val { display: flex; flex-direction: column; align-items: flex-start; }
.direct__note {
  margin-top: -.15rem;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--clay);
}

.direct__addr {
  margin: 0;
  padding-block: .55rem;
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink);
}

/* ── Map ─────────────────────────────────────────────────── */

/* Stacked, the map is as wide as the page, so a portrait ratio alone would
   make it absurdly tall on a tablet. The cap keeps it sane; on a phone the
   width is small enough that 4/5 wins and it stays portrait. */
.map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 30rem;
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: 12px;
  background: var(--ivory);
}
.map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* eased off Google's default saturation so it sits in the warm palette */
  filter: saturate(.85);
}

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--sand);
  text-align: center;
}
.footer__inner { display: grid; justify-items: center; gap: 1.75rem; }
.footer__mark { width: 190px; height: auto; opacity: .85; }
.footer__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 1rem;
  font-size: .875rem;
  letter-spacing: .04em;
}
.footer__meta a {
  display: inline-block;
  padding-block: .7rem;
  color: var(--clay);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  transition: text-decoration-color .35s var(--ease), color .35s var(--ease);
}
.footer__meta a:hover, .footer__meta a:focus-visible { color: var(--ink); text-decoration-color: var(--ink); }
.footer__meta span { color: var(--taupe); }
/* The link padding carries the 44px tap target, so the group sits flush and
   the negative top margin absorbs it back out of the footer's gap. */
.footer__base {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-top: -.75rem;
}
.footer__by {
  margin: 0;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--clay-soft);
}
.footer__by a {
  display: inline-block;
  padding-block: .75rem;
  color: var(--clay);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  transition: text-decoration-color .35s var(--ease), color .35s var(--ease);
}
.footer__by a:hover,
.footer__by a:focus-visible { color: var(--ink); text-decoration-color: var(--ink); }

.footer__fine {
  margin: 0;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--clay-soft);
}

/* ── Mobile action dock ──────────────────────────────────── */

.dock {
  position: fixed;
  z-index: 55;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: .5rem;
  padding: .75rem var(--gutter);
  padding-bottom: max(.75rem, env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--sand);
  transform: translateY(115%);
  transition: transform .5s var(--ease);
}
.dock.is-on { transform: none; }
.dock__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: .78125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
.dock__btn--ink { flex: 2; background: var(--ink); color: var(--porcelain); }

/* ── Scroll reveal ───────────────────────────────────────── */

/* Scoped to .js so the page is fully legible if the script never runs. */
.reveal {
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  transition-delay: calc(var(--d, 0) * 85ms);
}
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .line__in.reveal { transform: translateY(105%); }
.js .reveal.is-in { opacity: 1; transform: none; }

[data-d="1"] { --d: 1; }
[data-d="2"] { --d: 2; }
[data-d="3"] { --d: 3; }
[data-d="4"] { --d: 4; }
[data-d="5"] { --d: 5; }

.rule { transition: transform 1s var(--ease) 120ms; }
.js .rule { transform: scaleX(0); }
.js .head.is-in .rule { transform: scaleX(1); }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem); }
}

@media (max-width: 880px) {
  .masthead__nav { display: none; }
  .masthead__cta { margin-left: auto; }

  .hero { padding-top: 2.5rem; }
  .hero__foot { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; padding-inline: 1rem; }

  .offer { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .offer__col .btn { width: 100%; }

  .gallery { grid-template-columns: minmax(0, 1fr); }
  .plate--lead { grid-column: auto; }

  .direct__k { width: 6.5rem; }

  .dock { display: flex; }
  .footer { padding-bottom: 8rem; }
}

@media (max-width: 359px) {
  /* Playfair runs wide — hold the two-line hero break on the smallest phones. */
  .hero__title { font-size: 2.6rem; }
}

@media (max-width: 480px) {
  .masthead__mark img { width: 124px; }
  .masthead__cta { padding: .6rem 1rem; letter-spacing: .12em; }
  .direct li { flex-direction: column; gap: .35rem; }
  .direct__k { width: auto; }
}

/* ── Motion preferences ──────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal, .js .line__in.reveal { opacity: 1; transform: none; }
  .js .rule { transform: scaleX(1); }
}
