/* ============================================================================
   SALTFIELD — a shore house on a tidal field
   ----------------------------------------------------------------------------
   Design notes the CSS is trying to hold to:

   · Paper, not screen. One warm bone ground everywhere; sections are divided
     by hairlines and space, never by background changes.
   · Photographs are "plates": set in a hairline frame with a mat of paper
     around them, like pages of a field guide. They never bleed except the
     arrival image and the room bands.
   · Fraunces carries the voice — big, low-contrast, with true italics doing
     the warmth. Mono smallcaps carry data: coordinates, light times, rates.
   · Motion is opacity/transform only, slow and few. The site should feel like
     it was printed, then very gently came to life.
   ========================================================================== */

/* -- tokens --------------------------------------------------------------- */
:root {
  --paper:    #F5F2EA;
  --paper-2:  #EFEBE0;
  --paper-3:  #E7E2D4;
  --ink:      #26241D;
  --faded:    #716C5D;
  --hairline: #D9D3C3;
  --sea:      #46635A;
  --sea-deep: #354C45;
  /* 4.86:1 on paper — the first clay (#A3714B) measured 3.74:1, under AA for
     the small mono labels it colours. */
  --clay:     #8F5F3A;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:    'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'Spline Sans Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease:     cubic-bezier(.25, .6, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --pad: clamp(1.15rem, 4.2vw, 3.5rem);
  --max: 1280px;
  --sec: clamp(4rem, 9vw, 7.5rem);
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(.96rem, .3vw + .9rem, 1.075rem)/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* No overflow-x:hidden on body — real overflow must stay visible as a
   scrollbar rather than silently clipping copy. */

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
::selection { background: var(--sea); color: var(--paper); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: .9rem 1.4rem; font: 600 .8rem/1 var(--sans); letter-spacing: .1em;
  text-transform: uppercase;
}
.skip:focus { left: 0; }

/* -- shared type ---------------------------------------------------------- */
.u-label {
  font: 500 .67rem/1.4 var(--mono);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--faded);
}
.u-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(2.8rem, 6vw, 5rem); }

/* -- header ---------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 242, 234, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
@supports not (backdrop-filter: blur(2px)) { .top { background: var(--paper); } }

.top__in {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem);
  padding: 1rem var(--pad);
  max-width: var(--max); margin-inline: auto;
}
.mark {
  font: 600 1.3rem/1 var(--display);
  letter-spacing: .06em; text-transform: uppercase;
  flex: none;
}
.mark em { font-style: italic; font-weight: 400; color: var(--sea); }

.top-nav { display: flex; gap: clamp(.9rem, 2.2vw, 1.9rem); margin-left: auto; }
.top-nav a {
  position: relative; padding: .3rem 0;
  font: 500 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--faded);
  transition: color .3s var(--ease);
}
.top-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--sea); transform: scaleX(0); transform-origin: right center;
  transition: transform .4s var(--ease-out);
}
.top-nav a:hover, .top-nav a:focus-visible, .top-nav a[aria-current] { color: var(--ink); }
.top-nav a:hover::after, .top-nav a:focus-visible::after, .top-nav a[aria-current]::after {
  transform: scaleX(1); transform-origin: left center;
}

.top-book {
  display: inline-flex; align-items: center; gap: .55rem; flex: none;
  padding: .78rem 1.35rem;
  background: var(--ink); color: var(--paper);
  font: 600 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s var(--ease);
}
.top-book:hover, .top-book:focus-visible { background: var(--sea-deep); }
.top-book::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--clay); flex: none;
  opacity: 0; transform: scale(.4);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.top-book[data-hold="1"]::before { opacity: 1; transform: none; }

/* conditions line */
.conditions {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-2);
}
.conditions__in {
  max-width: var(--max); margin-inline: auto;
  padding: .5rem var(--pad);
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  font: 500 .64rem/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--faded);
}
.conditions__in i { width: 3px; height: 3px; background: var(--hairline); border-radius: 50%; flex: none; }

@media (max-width: 860px) {
  .top-nav { display: none; }
  .top-book { margin-left: auto; }
  .conditions__in { justify-content: center; }
  .conditions__in span:first-child { display: none; }
}

/* -- footer nav for mobile (bottom of page, all pages reachable) ---------- */
.subnav { border-top: 1px solid var(--hairline); }
.subnav__in {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  padding: 1.2rem var(--pad);
  max-width: var(--max); margin-inline: auto;
}
.subnav a {
  font: 500 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--faded); transition: color .26s var(--ease);
}
.subnav a:hover, .subnav a:focus-visible, .subnav a[aria-current] { color: var(--ink); }

/* -- headings & chapter rules --------------------------------------------- */
.eyebrow { display: flex; align-items: center; gap: .9rem; margin-bottom: clamp(1rem, 2.4vw, 1.6rem); }
.eyebrow i { width: 34px; height: 1px; background: var(--sea); flex: none; }

h1, .h1 {
  font: 500 clamp(2.5rem, 7.2vw, 5.2rem)/1.02 var(--display);
  letter-spacing: -.015em;
}
h1 em, .h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--sea); }

.h2 {
  font: 500 clamp(1.7rem, 3.8vw, 2.7rem)/1.1 var(--display);
  letter-spacing: -.01em;
}
.h3 { font: 500 1.28rem/1.2 var(--display); }

.chapter {
  display: flex; align-items: baseline; gap: clamp(.9rem, 2vw, 1.6rem);
  border-top: 1px solid var(--hairline); padding-top: 1.5rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.2rem);
}
.chapter .u-label { flex: none; color: var(--clay); }
.chapter__aside { margin-left: auto; max-width: 36ch; text-align: right; color: var(--faded); font-size: .92rem; }
@media (max-width: 760px) {
  .chapter { flex-wrap: wrap; }
  .chapter__aside { margin-left: 0; text-align: left; width: 100%; }
}

.lede { max-width: 58ch; color: var(--faded); font-size: clamp(1rem, .4vw + .95rem, 1.15rem); }

/* -- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.9rem;
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .32s var(--ease), color .32s var(--ease), border-color .32s var(--ease);
  white-space: nowrap;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover, .btn--ink:focus-visible { background: var(--sea-deep); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover, .btn--line:focus-visible { background: var(--ink); color: var(--paper); }
.btn--paper { border-color: #F8F5EE; color: #F8F5EE; }
.btn--paper:hover, .btn--paper:focus-visible { background: #F8F5EE; color: var(--ink); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* busy state: the label steps aside for a spinner — feedback for any wait */
.btn .spin {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-top-color: transparent;
  display: none;
}
.btn[data-busy="1"] { pointer-events: none; opacity: .75; }
.btn[data-busy="1"] .spin { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .btn[data-busy="1"] .spin { animation: spin .7s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.linkline {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 500 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--hairline); padding-bottom: .35rem;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.linkline:hover, .linkline:focus-visible { border-color: var(--sea); color: var(--sea-deep); }

/* -- plates (framed photographs) ------------------------------------------ */
.plate {
  border: 1px solid var(--hairline);
  padding: clamp(.4rem, 1vw, .65rem);
  background: #FBF9F4;
}
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate--tall img { aspect-ratio: 4 / 5; }

.caption {
  display: flex; gap: .8rem; align-items: baseline;
  margin-top: .7rem;
  font: 500 .68rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--faded);
}
.caption i { flex: 1; border-bottom: 1px dotted var(--hairline); }

/* -- arrival (home hero) --------------------------------------------------- */
.arrival { position: relative; }
.arrival__media { position: relative; overflow: hidden; }
.arrival__media img { width: 100%; height: clamp(380px, 58vh, 620px); object-fit: cover; }
.arrival__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245,242,234,0) 55%, rgba(245,242,234,.94) 96%);
}
.arrival__copy {
  position: relative;
  margin-top: clamp(-4.5rem, -8vw, -6.5rem);
  padding-bottom: 0;
}
.arrival__copy h1 { max-width: 13ch; }
.arrival__sub { max-width: 46ch; color: var(--faded); margin-top: 1.1rem; font-size: clamp(1rem, .4vw + .95rem, 1.18rem); }
.arrival__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

/* -- room cards ------------------------------------------------------------ */
.rgrid {
  display: grid; gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
}
.rcard { display: flex; flex-direction: column; }
.rcard__media { position: relative; overflow: hidden; }
.rcard__media img { aspect-ratio: 4 / 3; }
@media (prefers-reduced-motion: no-preference) {
  .rcard__media img { transition: transform .9s var(--ease-out); }
  .rcard:hover .rcard__media img { transform: scale(1.035); }
}
.rcard__no {
  position: absolute; top: 0; left: 0;
  padding: .45rem .7rem; background: var(--paper);
  font: 500 .66rem/1 var(--mono); letter-spacing: .14em; color: var(--faded);
}
.rcard__body { padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.rcard__head { display: flex; align-items: baseline; gap: .8rem; }
.rcard__name { font: 500 1.45rem/1.1 var(--display); }
.rcard__rate { margin-left: auto; font: 500 .78rem/1.4 var(--mono); color: var(--faded); white-space: nowrap; }
.rcard__line { color: var(--faded); font-size: .92rem; flex: 1; }
.rcard__meta {
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding-top: .4rem;
  font: 500 .66rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--faded);
}
.rcard a.linkline { margin-top: .9rem; align-self: flex-start; }

/* -- filter chips ---------------------------------------------------------- */
.filters { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.fchip {
  padding: .58rem 1rem;
  border: 1px solid var(--hairline); color: var(--faded);
  font: 500 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transition: color .26s var(--ease), border-color .26s var(--ease), background .26s var(--ease);
}
.fchip:hover { border-color: var(--faded); color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fcount { margin-left: auto; }

/* -- bands (full-bleed photo + copy) --------------------------------------- */
.band { position: relative; overflow: hidden; }
.band img { width: 100%; height: clamp(300px, 44vw, 520px); object-fit: cover; }
.band__copy {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(38,36,29,0) 40%, rgba(38,36,29,.55) 100%);
}
.band__copy .wrap { padding-bottom: clamp(1.6rem, 4vw, 3rem); color: #F8F5EE; }
.band__copy .u-label { color: rgba(248,245,238,.75); }
.band__copy .h2 { color: #FBF9F4; max-width: 22ch; }

/* -- split (plate + copy two-up) ------------------------------------------- */
.split {
  display: grid; gap: clamp(1.6rem, 4vw, 3.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center;
}
.split > * { min-width: 0; }
.split__copy .h2 { margin-bottom: 1rem; }
.split__copy p + p { margin-top: .9rem; }
.split__copy p { color: var(--faded); max-width: 52ch; }
.split__copy .linkline { margin-top: 1.5rem; }
.split--flip > :first-child { order: 2; }
@media (max-width: 900px) { .split--flip > :first-child { order: 0; } }

/* facts table */
.facts { border-top: 1px solid var(--hairline); margin-top: 1.4rem; }
.facts div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--hairline);
  font-size: .9rem;
}
.facts dt { color: var(--faded); }
.facts dd { font-family: var(--mono); font-size: .82rem; }

/* -- room detail ----------------------------------------------------------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 940px) { .detail { grid-template-columns: 1fr; } }
.detail__list { list-style: none; margin-top: 1.2rem; }
.detail__list li {
  padding: .65rem 0 .65rem 1.5rem; position: relative;
  border-bottom: 1px solid var(--hairline); color: var(--faded); font-size: .94rem;
}
.detail__list li::before {
  content: ''; position: absolute; left: 0; top: 1.15rem;
  width: 7px; height: 1px; background: var(--clay);
}

/* quote card (room page + booking page share it) */
.qcard {
  border: 1px solid var(--hairline); background: #FBF9F4;
  padding: clamp(1.3rem, 3vw, 1.9rem);
  display: flex; flex-direction: column; gap: 1rem;
  position: sticky; top: 96px;
}
.qcard__rows { display: flex; flex-direction: column; gap: .45rem; }
.qcard__row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  font-size: .9rem; color: var(--faded);
}
.qcard__row b { color: var(--ink); font-weight: 500; }
.qcard__row .u-num { font-size: .84rem; }
.qcard__total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--hairline); padding-top: .9rem;
}
.qcard__total span { font: 500 .68rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faded); }
.qcard__total b { font: 500 1.7rem/1 var(--display); }
.qcard__note { font-size: .78rem; color: var(--faded); }
.qcard__why { color: var(--clay); font: 500 .78rem/1.5 var(--mono); }

/* date fields */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font: 500 .66rem/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faded); }
.field input, .field select, .field textarea {
  padding: .85rem 1rem; background: var(--paper);
  border: 1px solid var(--hairline); color: var(--ink);
  transition: border-color .26s var(--ease), background .26s var(--ease);
  resize: vertical; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sea); background: #FBF9F4;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--clay); }
.field__err { color: #8C4A21; font: 500 .74rem/1.5 var(--mono); }
.field__hint { color: var(--faded); font-size: .78rem; }
.fields2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 540px) { .fields2 { grid-template-columns: 1fr; } }

/* -- season key ------------------------------------------------------------ */
.seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.seasons > div { background: var(--paper); padding: clamp(1.1rem, 2.4vw, 1.6rem); }
.seasons .h3 { margin-bottom: .35rem; }
.seasons p { color: var(--faded); font-size: .88rem; }
.seasons .u-label { display: block; margin-top: .8rem; color: var(--clay); }

/* -- notes (journal) ------------------------------------------------------- */
.note { border-top: 1px solid var(--hairline); padding-top: clamp(1.6rem, 4vw, 2.4rem); margin-top: clamp(1.6rem, 4vw, 2.4rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.4rem, 4vw, 3rem); }
@media (max-width: 820px) { .note { grid-template-columns: 1fr; } }
.note__meta { display: flex; flex-direction: column; gap: .5rem; }
.note__body p { color: var(--faded); max-width: 58ch; }
.note__body p + p { margin-top: .9rem; }
.note__body .h2 { margin-bottom: 1rem; color: var(--ink); }

/* -- booking page ---------------------------------------------------------- */
.book { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 940px) { .book { grid-template-columns: 1fr; } }
.book__form { display: flex; flex-direction: column; gap: 1.1rem; }

.roomseg { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .roomseg { grid-template-columns: 1fr; } }
.roomseg__b {
  display: flex; gap: .8rem; align-items: center; text-align: left;
  border: 1px solid var(--hairline); padding: .7rem .9rem;
  transition: border-color .26s var(--ease), background .26s var(--ease);
}
.roomseg__b img { width: 56px; height: 42px; object-fit: cover; flex: none; }
.roomseg__b b { display: block; font: 500 1rem/1.2 var(--display); }
.roomseg__b span { font: 500 .64rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faded); }
.roomseg__b:hover { border-color: var(--faded); }
.roomseg__b[aria-checked="true"] { border-color: var(--sea); background: #FBF9F4; box-shadow: inset 0 0 0 1px var(--sea); }

/* confirmation */
.done { max-width: 660px; padding-block: clamp(1rem, 4vw, 2.5rem) var(--sec); }
.done__ref { font: 500 .8rem/1 var(--mono); letter-spacing: .2em; color: var(--clay); text-transform: uppercase; margin-bottom: 1rem; }
.done h1 { margin-bottom: 1rem; }
.done__p { color: var(--faded); margin-bottom: 2rem; max-width: 52ch; }
.done .facts { margin-bottom: 2rem; }

/* -- toast ----------------------------------------------------------------- */
#toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 90;
  transform: translate(-50%, 1rem);
  background: var(--ink); color: var(--paper);
  padding: .85rem 1.4rem;
  font: 500 .8rem/1.4 var(--sans); letter-spacing: .04em;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  max-width: min(92vw, 480px); text-align: center;
}
#toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
#toast[data-kind="warn"] { background: #8C4A21; }

/* -- map & footer ---------------------------------------------------------- */
.mapfig { max-width: 900px; margin-inline: auto; }

.foot { border-top: 1px solid var(--hairline); margin-top: var(--sec); background: var(--paper-2); }
.foot__in {
  max-width: var(--max); margin-inline: auto; padding: clamp(2.4rem, 5vw, 4rem) var(--pad) 1.6rem;
  display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .9fr)); gap: clamp(1.6rem, 4vw, 3rem);
}
@media (max-width: 820px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
.foot__mark { font: 600 1.6rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .8rem; }
.foot__brand p { color: var(--faded); max-width: 34ch; font-size: .92rem; }
.foot__brand img { max-width: 240px; margin-top: 1.2rem; mix-blend-mode: multiply; }
.foot__h { font: 500 .66rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--faded); margin-bottom: .9rem; }
.foot__l { display: flex; flex-direction: column; gap: .5rem; }
.foot__l a, .foot__l span { color: var(--faded); font-size: .9rem; transition: color .26s var(--ease); }
.foot__l a:hover, .foot__l a:focus-visible { color: var(--ink); }
.foot__bar {
  max-width: var(--max); margin-inline: auto; padding: 1.2rem var(--pad);
  border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
}
.foot__bar p { font: 500 .68rem/1.6 var(--mono); letter-spacing: .06em; color: var(--faded); }

/* -- reveals --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .reveal { opacity: 0; transform: translate3d(0, 18px, 0); }
  .js-anim .reveal.is-in {
    opacity: 1; transform: translate3d(0, 0, 0);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  }
}

.mt-l { margin-top: clamp(1.8rem, 4vw, 3rem); }
.mt-m { margin-top: 1.2rem; }
