/* ==========================================================================
   K.B.N PARADISE
   Palette and typefaces are pinned by the client's brand book and are not
   open to reinterpretation: Dark Slate, Doe Brown, Eucalyptus Green, White;
   Playfair Display + Lato.
   ========================================================================== */

:root {
  /* Brand, verbatim from the brand book */
  --slate:        #2F4F4F;
  --gold:         #C5A059;
  --eucalyptus:   #A5C9A5;
  --white:        #FFFFFF;

  /* Extensions of the brand palette, derived not invented */
  --ink:          #142424;
  --slate-deep:   #223B3B;
  --gold-soft:    #D9BC84;
  --limestone:    #F6F3ED;
  --limestone-2:  #EDE8DE;

  /* Foreground roles, all verified against their ground */
  --on-slate:     #FFFFFF;   /* 8.9:1 on slate */
  --on-slate-2:   #BFD0CD;   /* 5.6:1 on slate */
  --on-light:     #2F4F4F;   /* 8.1:1 on limestone */
  --on-light-2:   #4E6A6A;   /* 5.3:1 on limestone */

  --hairline:     rgba(197, 160, 89, 0.28);
  --hairline-dim: rgba(47, 79, 79, 0.16);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display: clamp(2rem, 6.6vw, 4.75rem);
  --fs-h2:      clamp(1.75rem, 4.4vw, 3.4rem);
  --fs-h3:      clamp(1.5rem, 2.5vw, 2.05rem);
  --fs-body:    clamp(1.0625rem, 0.55vw + 0.95rem, 1.1875rem);
  --fs-small:   0.9375rem;
  --fs-label:   0.6875rem;

  /* In em, not ch: Lato's digit advance overstates the real character
     count and pushed the reading line past 80 characters. */
  --measure:    34em;
  --header-h:   4.75rem;
  --gutter:     clamp(1.25rem, 5vw, 3.5rem);
  --section-y:  clamp(4.5rem, 10vw, 9rem);

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--limestone);
  color: var(--on-light);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  margin: 0;
}

p { margin: 0; }

/* The UA gives <figure> `margin: 1em 40px`, which silently shrinks every
   photograph inside its frame. */
figure { margin: 0; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 500;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 900px; }

section { scroll-margin-top: calc(var(--header-h) + 1rem); }

.panel { padding-block: var(--section-y); }

.panel--light  { background: var(--limestone); color: var(--on-light); }
.panel--slate  { background: var(--slate); color: var(--on-slate); }
.panel--deep   { background: var(--slate-deep); color: var(--on-slate); }

/* Continues a panel that a texture band interrupted. */
.panel--tight-top { padding-top: clamp(3.5rem, 8vw, 7rem); }

.actions-row { margin-top: clamp(2rem, 4vw, 2.75rem); }

/* ------------------------------------------------------------ headings -- */

.section-head { text-align: center; }

.section-head h2 { font-size: var(--fs-h2); }

/* The drawn gold rule. This is the page's one authored motion moment:
   every section is introduced by a line being ruled, the way the estate's
   own mouldings are. */
.rule {
  display: block;
  width: 96px;
  height: 1px;
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
}
.panel--light .rule { background: var(--gold); }

/* The dropped axis line, echoing the building's line of symmetry. */
.axis {
  display: block;
  width: 1px;
  height: clamp(2.25rem, 4.5vw, 3.5rem);
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  background: linear-gradient(var(--gold), transparent);
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0.7;
}

.lede {
  font-size: var(--fs-body);
  max-width: var(--measure);
  color: var(--on-light-2);
}
.panel--slate .lede,
.panel--deep .lede { color: var(--on-slate-2); }

.lede + .lede { margin-top: 1.35rem; }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

/* Guarantees wordmark legibility over the hero's pale sky. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 36, 36, 0.62), rgba(20, 36, 36, 0));
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.site-header.is-solid {
  background: rgba(20, 36, 36, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.site-header.is-solid::before { opacity: 0; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.wordmark b { font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}

.nav a {
  position: relative;
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding-block: 0.5rem;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.header-cta { display: inline-flex; }

/* ------------------------------------------------------------- buttons -- */

.btn {
  --btn-fill: var(--gold);
  --btn-on-fill: var(--ink);  /* 6.5:1 on gold */
  --btn-off: var(--gold);     /* text once the fill has swept away */

  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--btn-on-fill);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease), transform 0.45s var(--ease);
}

/* Gold sweeps away rather than fading, so the ruled border stays the
   constant — the same hairline that runs under every heading. */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--btn-fill);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.btn > * { position: relative; z-index: 1; }

.btn:hover, .btn:focus-visible {
  color: var(--btn-off);
  transform: translateY(-2px);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(0); }
.btn:active { transform: translateY(0); }

.btn--ghost { color: var(--btn-off); }
.btn--ghost::before { transform: scaleX(0); transform-origin: left; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--btn-on-fill); }
.btn--ghost:hover::before, .btn--ghost:focus-visible::before { transform: scaleX(1); }

/* Gold text fails against limestone, so on light grounds the unfilled
   state falls back to slate ink. */
.panel--light .btn { --btn-off: var(--on-light); }

.btn--lg { padding: 1.15rem 2.25rem; font-size: 0.75rem; }

.btn--sm { padding: 0.7rem 1.15rem; letter-spacing: 0.16em; }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* Two scrims, not one. The vertical lift carries the action row; the
   lateral one gives the headline a dark ground where it crosses the
   building's white plaster, while leaving the pediment and its gold
   lettering — the page's real logotype — legible in the upper centre. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(20, 36, 36, 0.94) 0%, rgba(20, 36, 36, 0.80) 20%,
                    rgba(20, 36, 36, 0.34) 44%, rgba(20, 36, 36, 0.04) 62%,
                    rgba(20, 36, 36, 0.10) 100%),
    linear-gradient(to right, rgba(20, 36, 36, 0.60) 0%, rgba(20, 36, 36, 0.24) 42%,
                    rgba(20, 36, 36, 0) 68%);
}

/* A flex item defaults to min-width:auto, which lets the headline's
   min-content width push the whole hero wider than the viewport. */
.hero > .wrap { min-width: 0; }

.hero__body {
  color: var(--white);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  max-width: 46rem;
}

.hero h1 {
  font-size: var(--fs-display);
  color: var(--white);
}

.hero__sub {
  margin-top: 1.4rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 9vw, 7rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(var(--gold), transparent);
}

/* --------------------------------------------------------- text panels -- */

/* The axis line already ends this section; the full pad below it read as
   a gap rather than a pause. */
.intro { text-align: center; padding-bottom: clamp(3rem, 6vw, 5rem); }

.intro h2 { font-size: var(--fs-h2); }

.intro__body {
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: var(--measure);
  text-align: left;
}

/* --------------------------------------------------------------- bands -- */

.band {
  position: relative;
  overflow: hidden;
  height: clamp(9rem, 20vw, 16rem);
}
.band--thin { height: clamp(6.5rem, 13vw, 11rem); }

.band img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

/* -------------------------------------------------------------- blocks -- */

.block {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.block + .block { margin-top: clamp(4rem, 9vw, 7.5rem); }

.block--first { margin-top: clamp(3rem, 7vw, 5.5rem); }

/* Flipping swaps the sides, never the weighting: the photograph keeps the
   wide column. */
.block--flip { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.block--flip > .block__media { order: 2; }

.block__text h3 { font-size: var(--fs-h3); }

.block__text .lede { margin-top: 1.35rem; }

/* Framed image: a hairline offset behind the photograph, the way the
   estate's mouldings sit proud of the wall. */
.figure { position: relative; overflow: hidden; }

/* A hairline standing proud of the photograph, the way the estate's own
   mouldings stand proud of the wall. */
.figure-frame {
  position: relative;
  --frame: clamp(0.65rem, 1.4vw, 1.15rem);
}
.figure-frame::before {
  content: '';
  position: absolute;
  inset: calc(var(--frame) * -1);
  border: 1px solid var(--hairline);
  pointer-events: none;
}

.figure img { width: 100%; }

figcaption {
  margin-top: 0.9rem;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-slate-2);
}
.panel--light figcaption { color: var(--on-light-2); }

/* ---------------------------------------------------------------- spec -- */

/* A specification sheet, not a card grid: two ruled columns, the way the
   estate would be written up on paper. */
.spec-groups {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.spec-group__title {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-light-2);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold);
  margin: 0;
}
.panel--slate .spec-group__title,
.panel--deep .spec-group__title { color: var(--on-slate-2); }

.spec__row {
  padding-block: clamp(1.35rem, 2.4vw, 1.9rem);
  border-top: 1px solid var(--hairline-dim);
}
.spec-group__title + .spec__row { border-top: 0; }

.spec__row h4 {
  font-size: clamp(1.25rem, 1.75vw, 1.5rem);
}

.spec__row p {
  margin-top: 0.55rem;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--on-light-2);
  max-width: 34ch;
}

/* Sits in the shorter column, so the two lists end level instead of
   leaving a hole beside the longer one. */
.spec__note {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.5rem, 2.6vw, 2rem);
  border-top: 1px solid var(--gold);
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}
.spec__note p {
  font-size: var(--fs-small);
  color: var(--on-light-2);
  max-width: 46ch;
}
.spec__note strong { color: var(--on-light); font-weight: 700; }

/* --------------------------------------------------------------- where -- */

.where__lede {
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  text-align: center;
}

.where {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.where__address {
  margin-top: clamp(1.5rem, 2.6vw, 2rem);
  font-style: normal;              /* <address> is italic by default */
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.75vw, 1.5rem);
  line-height: 1.45;
  color: var(--on-slate);
}

.where__actions {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.where__link {
  font-size: var(--fs-small);
  color: var(--on-slate-2);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.where__link:hover,
.where__link:focus-visible { color: var(--gold-soft); border-color: var(--gold-soft); }

/* A timetable, read left to right: place, then how long it takes. */
.distances { margin-top: 0; }

.distances li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(0.85rem, 1.6vw, 1.15rem);
  border-bottom: 1px solid var(--hairline);
}

.distances li span:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--on-slate);
}

.distances li span:last-child {
  flex: none;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}

.where__note {
  margin-top: clamp(1.5rem, 2.6vw, 2rem);
  font-size: var(--fs-small);
  color: var(--on-slate-2);
  max-width: 46ch;
}

/* ------------------------------------------------------------- closing -- */

.closing {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(6rem, 14vw, 11rem);
  color: var(--white);
  overflow: hidden;
}

.closing__media { position: absolute; inset: 0; z-index: -2; }
.closing__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
}
.closing::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(20, 36, 36, 0.86), rgba(20, 36, 36, 0.94));
}

.closing h2 { font-size: var(--fs-h2); color: var(--white); }
.closing .lede {
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.86);
}
.closing__actions {
  margin-top: clamp(2.25rem, 4.5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.closing__aside {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  font-size: var(--fs-small);
  color: var(--on-slate-2);
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--ink);
  color: var(--on-slate-2);
  padding-block: clamp(3.5rem, 7vw, 5rem);
  text-align: center;
}

.site-footer .wordmark {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 0.16em;
}

.footer-values {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--eucalyptus);
}
.footer-values span[aria-hidden] { color: var(--gold); opacity: 0.7; }

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(197, 160, 89, 0.18);
  font-size: var(--fs-small);
  color: rgba(191, 208, 205, 0.72);
}
.footer-meta a { border-bottom: 1px solid var(--hairline); }
.footer-meta a:hover { color: var(--gold); }

/* --------------------------------------------------------- mobile menu -- */

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 0;
  padding: 0.5rem 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle i {
  display: block;
  position: relative;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  transition: background-color 0.3s var(--ease);
}
.menu-toggle i::before,
.menu-toggle i::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.menu-toggle i::before { top: -6px; }
.menu-toggle i::after  { top: 6px; }

.menu-toggle[aria-expanded='true'] i { background: transparent; }
.menu-toggle[aria-expanded='true'] i::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] i::after  { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) var(--gutter) var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.menu.is-open { opacity: 1; visibility: visible; }

.menu ul { display: grid; gap: 0.35rem; }

.menu a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.75rem);
  color: var(--white);
  padding-block: 0.45rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.16);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              color 0.3s var(--ease);
}
.menu.is-open a { opacity: 1; transform: none; }
.menu a:hover { color: var(--gold); }
.menu__cta { margin-top: clamp(2rem, 6vw, 3rem); }

/* --------------------------------------------------------------- motion -- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .figure {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease);
}
.js .figure.is-in { clip-path: inset(0 0 0 0); }
.js .figure img { transform: scale(1.09); transition: transform 1.5s var(--ease); }
.js .figure.is-in img { transform: none; }

.js .rule { transition: transform 1s var(--ease) 0.15s; }
.js .rule.is-in { transform: scaleX(1); }
.js .axis { transition: transform 0.9s var(--ease) 0.1s; }
.js .axis.is-in { transform: scaleY(1); }

/* No-JS and reduced-motion both fall back to the finished state. */
html:not(.js) .rule { transform: scaleX(1); }
html:not(.js) .axis { transform: scaleY(1); }

.hero__media img { animation: heroSettle 2.4s var(--ease) both; }
.hero__body > * { animation: riseIn 1.1s var(--ease) both; }
.hero h1        { animation-delay: 0.25s; }
.hero__sub      { animation-delay: 0.42s; }
.hero__actions  { animation-delay: 0.58s; }
.hero__scroll   { animation: riseIn 1.1s var(--ease) 0.8s both; }

@keyframes heroSettle { from { transform: scale(1.09); } to { transform: none; } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 900px) {
  .block,
  .block--flip {
    grid-template-columns: 1fr;
  }
  .block--flip > .block__media { order: 0; }
  .hero__scroll { display: none; }
}

@media (max-width: 780px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero__body { max-width: none; }
  .spec__note { flex-direction: column; align-items: flex-start; }
  .figure-frame::before { inset: -0.5rem; }
}

@media (min-width: 781px) {
  .menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .figure { clip-path: none; }
  .js .figure img { transform: none; }
  .rule { transform: scaleX(1); }
  .axis { transform: scaleY(1); }
}
