/* =============================================================================
   home.css · jannelleorilla.com homepage · "quiet hospitality" (Oct 2026)

   Calm and expensive-looking, like the material a good boutique resort sends a
   guest: warm linen and sand grounds, deep green-grey ink, one sea-teal accent
   used sparingly, a refined serif for headlines (one italic word each) and
   Inter for reading. Phone first: most visitors open the link from Messenger.

   01 Fonts · 02 Tokens · 03 Base · 04 Buttons & links · 05 Header & menu
   06 Hero · 07 Sections · 08 Work · 09 Services · 10 Place · 11 Process
   12 Standards · 13 FAQ · 14 Book · 15 Footer & dock · 16 Motion · 17 Print
   ========================================================================== */

/* ---------------------------------------------------------------- 01 Fonts */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Display";
  src: url("fonts/archivo-display.woff2") format("woff2-variations");
  font-weight: 700 900;
  font-stretch: 62% 100%;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- 02 Tokens */
:root {
  /* Grounds */
  --linen:     #f7f3ec;   /* page ground                                    */
  --linen-hi:  #fcfaf6;   /* lifted surfaces, inputs                        */
  --sand:      #efe7db;   /* bands                                          */
  --sand-2:    #e5dacb;   /* frames, deeper sand                            */

  /* Ink (a green-grey near-black, so it sits with the sea accent) */
  --ink:       #1a2321;   /* headings · 15.4:1 on linen                     */
  --ink-80:    #38423f;   /* body · 10:1 on linen                           */
  --ink-60:    #58625e;   /* secondary text · 5.9:1 on linen, 5.3:1 on sand */
  --line:      rgba(26, 35, 33, .12);
  --line-2:    rgba(26, 35, 33, .22);

  /* The one accent: deep sea-teal */
  --sea:       #1e5754;   /* links, buttons, italic words · 7.6:1 on linen  */
  --sea-hi:    #276d69;
  --sea-lo:    #123c3a;   /* the closing band                               */
  --sea-wash:  #dfeae6;
  --sea-mist:  #c4dcd5;   /* accent text on the dark band · 9:1 on sea-lo   */

  /* On the dark band */
  --on-dark:    #f7f3ec;
  --on-dark-70: rgba(247, 243, 236, .76);
  --on-dark-line: rgba(247, 243, 236, .16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo Display", "Archivo Black", "Arial Black", system-ui, sans-serif;

  /* Type scale: seven steps */
  --t-xs:  .8125rem;
  --t-sm:  .9375rem;
  --t-md:  clamp(1rem, .96rem + .2vw, 1.0625rem);
  --t-lg:  clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --t-xl:  clamp(1.4rem, 1.2rem + .9vw, 1.9rem);
  --t-2xl: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);
  --t-3xl: clamp(2.65rem, 1.6rem + 4.9vw, 5.4rem);

  --gut:   clamp(1.25rem, 4vw, 3.5rem);
  --max:   78rem;
  --pad:   clamp(4.75rem, 10vw, 8.5rem);
  --top-h: 4.5rem;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --pill: 999px;

  --shadow: 0 2px 6px -2px rgba(18, 40, 38, .08), 0 32px 64px -40px rgba(18, 40, 38, .42);
  --shadow-sm: 0 1px 3px rgba(18, 40, 38, .08), 0 14px 28px -20px rgba(18, 40, 38, .35);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ----------------------------------------------------------------- 03 Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 1rem);
}
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink-80);
  font-family: var(--sans);
  font-size: var(--t-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, select, label, summary { touch-action: manipulation; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 340;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  color: var(--ink);
  letter-spacing: -.018em;
  text-wrap: balance;
  overflow-wrap: anywhere;   /* only a word wider than the screen ever breaks */
}
/* The one italic word per headline carries the accent. */
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sea);
  letter-spacing: -.01em;
}
p { text-wrap: pretty; }

::selection { background: var(--sea-wash); color: var(--ink); }
.book ::selection, .foot ::selection { background: var(--sea-mist); color: var(--sea-lo); }
input, textarea, select { caret-color: var(--sea); accent-color: var(--sea); }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
  border-radius: 4px;
}
:where(.book, .foot) :where(a, button, summary):focus-visible { outline-color: var(--sea-mist); }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .7rem 1rem; border-radius: var(--r-sm);
  background: var(--ink); color: var(--linen);
}
.skip:focus { top: 1rem; }

.sec { padding-block: var(--pad); padding-inline: var(--gut); }
.sec > * { max-width: var(--max); margin-inline: auto; }

/* ---------------------------------------------------- 04 Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), translate .3s var(--ease), box-shadow .3s var(--ease), scale .12s var(--ease);
}
.btn--solid { background: var(--sea); color: var(--linen-hi); box-shadow: 0 10px 22px -14px rgba(18, 60, 58, .7); }
.btn--light { background: var(--linen-hi); color: var(--sea-lo); }
.btn:active { scale: .97; }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--sea-lo); translate: 0 -1px; box-shadow: 0 16px 28px -16px rgba(18, 60, 58, .75); }
  .btn--light:hover { background: #fff; translate: 0 -1px; }}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  font-weight: 600;
  color: var(--sea);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
  text-decoration-color: rgba(30, 87, 84, .35);
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.link-arrow span[aria-hidden] { display: inline-block; transition: translate .3s var(--ease); }
.link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--t-sm);
  color: var(--ink-60);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: .3em;
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { text-decoration-color: currentColor; }
  .link-arrow:hover span[aria-hidden] { translate: 3px 0; }
  .link-quiet:hover { color: var(--ink); text-decoration-color: currentColor; }}

/* --------------------------------------------------- 05 Header & menu */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--top-h);
  padding-inline: var(--gut);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.top.is-stuck { background: var(--linen); border-bottom-color: var(--line); }
/* Beside the booking form the header button would only repeat it. */
.at-book .top .menu__cta { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.top__in {
  max-width: var(--max);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; min-height: 2.75rem; margin-inline-end: auto; }
.brand__mark { width: 2.3rem; height: auto; }
.brand__name {
  line-height: 1.15;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 420;
  letter-spacing: -.005em;
  color: var(--ink);
}
.menu { display: flex; align-items: center; gap: 2rem; overflow-wrap: anywhere; }
/* A very narrow screen with very large text (em, so it follows the phone's own
   text-size setting): keep the monogram and the menu, drop the written name. */
@media (max-width: 19.5em) { .brand__name { display: none; }}
.menu__list { display: flex; gap: 1.75rem; }
.menu__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-80);
  transition: color .25s var(--ease);
}
.menu__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .55rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.menu__list a[aria-current] { color: var(--sea); }
.menu__list a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .menu__list a:hover { color: var(--sea); }
  .menu__list a:hover::after { transform: scaleX(1); }}
.menu .btn { min-height: 2.75rem; padding-inline: 1.25rem; }
.top__cta, .menu__cta { display: none; }
@media (min-width: 900px) { .menu__cta { display: inline-flex; }}

.burger { display: none; }
/* The hero and the bottom bar carry "Book a call" on a phone; the header
   keeps the name and the menu. */
@media (max-width: 599px) { .top__cta { display: none !important; }}

@media (max-width: 899px) {
  .top__cta { display: inline-flex; min-height: 2.75rem; padding-inline: 1.1rem; font-size: var(--t-xs); white-space: nowrap; }
  .burger {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 2.75rem;
    height: 2.75rem;
    margin-inline-end: -.6rem;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .burger span { display: block; width: 1.35rem; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

  .menu {
    position: fixed;
    inset: var(--top-h) 0 0 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem var(--gut) calc(2rem + env(safe-area-inset-bottom, 0px));
    background: var(--linen);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    translate: 0 -8px;
    transition: opacity .3s var(--ease), translate .4s var(--ease), visibility 0s .3s;
  }
  .menu.is-open { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
  .menu__list { flex-direction: column; gap: 0; }
  .menu__list li { border-bottom: 1px solid var(--line); }
  .menu__list a {
    width: 100%;
    min-height: 3.75rem;
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
  }
  .menu__list a::after { display: none; }
  .menu__cta { display: inline-flex; width: 100%; }}

/* ------------------------------------------------------------------ 06 Hero
   The original composition (Sep 2026), recoloured to the quiet hospitality
   palette (Oct 2026): the full-bleed JANNELLE wordmark with the standing
   portrait breaking through it, two glass cards, the identity block and the
   headline bottom-left, the note bottom-right. */

.hero {
  --lead-reserve: 23rem;
  --card-w: clamp(11.25rem, 13.5vw, 15.5rem);
  --face-edge: calc(50% - 7.4svh - .9rem);
  --wm-ratio: 4.9565;
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  min-height: 100svh;
  padding-inline: var(--gut);
  overflow: clip;
  isolation: isolate;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(62% 46% at 50% 2%, rgba(252, 250, 246, .85), transparent 70%),
    var(--linen);
}
/* Four soft masses of the palette drifting behind the hero (a zero-size
   carrier turns, the light inside it travels an ellipse). Literal keyframes so
   the compositor runs them; nothing but rotate and scale changes. */
.hero__glow {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
  scale: var(--sq);
  animation: glow-orbit var(--orbit) linear infinite;
  animation-delay: var(--phase);
}
.hero__glow > i {
  position: absolute;
  left: var(--rx);
  top: var(--ry);
  width: var(--size);
  aspect-ratio: 1;
  margin: calc(var(--size) / -2);
  border-radius: 50%;
  opacity: var(--o);
  background: radial-gradient(closest-side, var(--c), transparent 72%);
  animation: var(--breathe-name) var(--breathe) ease-in-out infinite alternate;
  animation-delay: var(--breathe-phase);
}
.hero__glow--1 { --x: -2%;  --y: 36%;  --orbit: 41s; --phase: -9s;  --sq: 1 .82;
                 --rx: 11vmin;  --ry: 7vmin;   --size: 64vmin; --o: .8;
                 --c: rgba(223, 234, 230, .98); --breathe: 23s; --breathe-phase: -5s;  --breathe-name: glow-breathe-1; }
.hero__glow--2 { --x: 102%; --y: 52%;  --orbit: 53s; --phase: -21s; --sq: 1 .74;
                 --rx: -13vmin; --ry: 9vmin;   --size: 58vmin; --o: .7;
                 --c: rgba(229, 218, 203, .95); --breathe: 29s; --breathe-phase: -14s; --breathe-name: glow-breathe-2;
                 animation-direction: reverse; }
.hero__glow--3 { --x: 28%;  --y: -8%;  --orbit: 67s; --phase: -33s; --sq: .86 1;
                 --rx: 8vmin;   --ry: -10vmin; --size: 48vmin; --o: .45;
                 --c: rgba(196, 220, 213, .9);  --breathe: 37s; --breathe-phase: -19s; --breathe-name: glow-breathe-3; }
.hero__glow--4 { --x: 76%;  --y: 106%; --orbit: 79s; --phase: -11s; --sq: 1 .9;
                 --rx: -9vmin;  --ry: -12vmin; --size: 52vmin; --o: .35;
                 --c: rgba(235, 211, 203, .8);  --breathe: 43s; --breathe-phase: -27s; --breathe-name: glow-breathe-4;
                 animation-direction: reverse; }
@keyframes glow-orbit { to { rotate: 360deg; } }
@keyframes glow-breathe-1 { to { scale: 1.14; } }
@keyframes glow-breathe-2 { to { scale: 1.11; } }
@keyframes glow-breathe-3 { to { scale: 1.16; } }
@keyframes glow-breathe-4 { to { scale: 1.09; } }
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* Wordmark */
.hero__wordmark {
  --wm-x: -50%;
  position: absolute;
  top: calc(var(--top-h) + .5svh);
  left: 50%;
  z-index: 1;
  width: min(100% - var(--gut) * 2, calc(28svh * var(--wm-ratio)));
  translate: var(--wm-x) 0;
  pointer-events: none;
}
.wordmark { display: block; width: 100%; height: auto; overflow: visible; }
.wordmark__text {
  font-family: var(--display);
  font-size: 294.1px;
  font-weight: 900;
  font-stretch: 62%;
  font-variation-settings: "wght" 900, "wdth" 62;
  fill: var(--sea-lo);
}

/* Portrait */
.hero__portrait {
  position: absolute;
  top: 4.6svh;
  left: 50%;
  z-index: 2;
  height: 117.5svh;
  aspect-ratio: 669 / 1431;
  translate: -50% 0;
  pointer-events: none;
}
.hero__portrait img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: top center;
}

/* Glass cards */
.hero__floats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.card {
  position: absolute;
  width: var(--card-w);
  padding: clamp(1rem, 2.05svh, 1.7rem) clamp(1rem, 1.8vw, 1.9rem);
  background: rgba(252, 250, 246, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-lg);
  box-shadow: 0 1.5rem 3.5rem -1.75rem rgba(18, 40, 38, .32), inset 0 1px 0 rgba(255, 255, 255, .7);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  pointer-events: auto;
}
.card--traits {
  left: max(var(--gut), min(
    calc(var(--gut) + var(--lead-reserve) + clamp(2rem, 3.6vw, 4.25rem)),
    calc(var(--face-edge) - var(--card-w))));
  bottom: 49%;
}
.card--skills { right: clamp(1.25rem, 19vw, 34rem); top: 37%; }
.card__badge {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: clamp(2.5rem, 3.25vw, 3.4rem);
  aspect-ratio: 1;
  translate: -46% -46%;
  border-radius: 50%;
  background: linear-gradient(142deg, var(--sea-hi) 2%, var(--sea) 48%, var(--sea-lo) 100%);
  box-shadow: 0 .5rem 1.1rem -.35rem rgba(18, 60, 58, .55), inset 0 1px 1px rgba(255, 255, 255, .35);
}
.card__badge svg { width: 52%; height: auto; fill: none; stroke: var(--linen-hi); stroke-width: 1.35; stroke-linejoin: round; stroke-linecap: round; }
.card--traits .card__badge svg path:first-child { fill: rgba(252, 250, 246, .2); }
.card__badge svg .card__cursor { fill: var(--linen-hi); }
.card__list li {
  position: relative;
  padding-block: clamp(.5rem, 1.16svh, .92rem);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}
.card__list li + li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(30, 87, 84, .28), rgba(30, 87, 84, .02));
}
.card__list--traits li { font-weight: 700; }

/* Content grid */
.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  align-content: end;
  column-gap: clamp(2rem, 5vw, 6rem);
  padding-block-end: clamp(1.5rem, 4.5svh, 3rem);
}
.identity { max-width: var(--lead-reserve); margin-block-end: clamp(1rem, 4.2svh, 2.5rem); }
.identity__name {
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1.34vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.15;
  color: var(--ink);
}
.identity__role {
  margin-block-start: .42em;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--sea);
}
.identity__sub {
  margin-block-start: .3em;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-60);
}
.identity__rule {
  display: block;
  width: clamp(3rem, 4.7vw, 4.9rem);
  height: 2px;
  margin-block-start: clamp(.75rem, 1.5vh, 1.15rem);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sea), var(--sea-mist));
}
.headline {
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.2vw, 4.55rem);
  font-weight: 900;
  font-stretch: 89%;
  font-variation-settings: "wght" 900, "wdth" 89;
  letter-spacing: -.012em;
  line-height: .9;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
}
.headline__line, .headline__in { display: block; }
.headline em { font-style: normal; font-weight: 900; color: var(--sea); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem, 1.15vw, 1.2rem); margin-block-start: clamp(1.35rem, 3.4svh, 2.1rem); }
.btn--ghost {
  background: var(--linen-hi);
  color: var(--sea-lo);
  border-color: rgba(30, 87, 84, .3);
  box-shadow: 0 .6rem 1.4rem -1rem rgba(18, 40, 38, .35);
}
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { border-color: var(--sea); translate: 0 -1px; }}
.hero__note {
  justify-self: end;
  max-width: 19rem;
  margin-block-end: clamp(1.25rem, 4.65svh, 3.5rem);
  margin-inline-end: clamp(0rem, 2.8vw, 3rem);
  padding-inline-start: clamp(1rem, 1.5vw, 1.5rem);
  border-inline-start: 2px solid;
  border-image: linear-gradient(180deg, var(--sea-mist), var(--sea) 45%, rgba(30, 87, 84, 0)) 1;
  font-size: clamp(.9375rem, 1.05vw, 1.1rem);
  line-height: 1.75;
  color: var(--ink-80);
}
.hero__note strong { font-weight: 600; color: var(--sea); }

/* Pointer parallax: home.js writes --px / --py (desktop, fine pointer). */
.hero__wordmark, .hero__portrait, .card { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }

/* Entrance: the wordmark sweeps in, the portrait settles (it paints on the
   first frame, so it stays the page's largest paint), then the copy and cards.
   Opacity, translate and scale only. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__wordmark { opacity: 0; }
  .js .hero .hx { opacity: 0; translate: 0 1.75rem; }
  .js .hero .hx--wipe { translate: 0 2.4rem; }
  .is-loaded .hero__wordmark { animation: whoosh 1.2s cubic-bezier(.7, 0, .2, 1) .05s both; }
  .is-loaded .hero__portrait { animation: emerge 1.1s var(--ease) .3s both; }
  .is-loaded .hero .hx { animation: hx-in .85s var(--ease) var(--d, 0s) both; }
  .is-loaded .card--traits { animation: hx-in .85s var(--ease) var(--d) both, drift 9s ease-in-out 2.5s infinite alternate; }
  .is-loaded .card--skills { animation: hx-in .85s var(--ease) var(--d) both, drift 11s ease-in-out 2.9s infinite alternate-reverse; }
  @keyframes whoosh { 0% { opacity: 0; translate: calc(var(--wm-x) + 115%) 0; } 18% { opacity: 1; } 100% { opacity: 1; translate: var(--wm-x) 0; } }
  @keyframes emerge { 0% { translate: -50% 6.5%; scale: 1.08; } 100% { translate: -50% 0; scale: 1; } }
  @keyframes hx-in { to { opacity: 1; translate: 0 0; } }
  @keyframes drift { from { translate: 0 0; } to { translate: 0 -9px; } }}
@media (prefers-reduced-motion: reduce) {
  .hero__glow, .hero__glow > i { animation: none; }
  .hero__wordmark, .hero__portrait, .card { transform: none; }}

/* Laptop: cards move out to the margins. */
@media (min-width: 900px) and (max-height: 800px) {
  .hero__wordmark { width: min(100% - var(--gut) * 2, calc(25svh * var(--wm-ratio))); }}
@media (min-width: 900px) and (max-width: 1280px) {
  .hero { --card-w: clamp(10.25rem, 17.5vw, 13.5rem); }
  .card { padding-block: clamp(.85rem, 1.7svh, 1.4rem); }
  .card--traits {
    left: max(var(--gut), min(
      calc(var(--gut) + var(--lead-reserve) + clamp(1.25rem, 2.4vw, 2.5rem)),
      calc(var(--face-edge) - var(--card-w))));
    top: auto; bottom: 54%;
  }
  .card--skills { right: var(--gut); top: 28.5%; }
  .hero__note { margin-inline-end: 0; margin-block-end: clamp(1.25rem, 5svh, 3rem); }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }}
@media (min-width: 900px) and (max-height: 720px) {
  .identity { margin-block-end: 1.1rem; }
  .hero__ctas { margin-block-start: 1.15rem; }
  .card { padding-block: .8rem; }
  .card__list li { padding-block: .4rem; }
  .card--traits { top: auto; bottom: 52%; }
  .card--skills { top: 23.5%; }}
@media (min-width: 900px) and (max-width: 1280px) and (max-height: 760px) {
  .card--traits { top: 12%; bottom: auto; }}

/* Tablet and phone: the poster stacks. Wordmark on top, portrait cropped to
   head and shoulders and faded out behind the copy, cards as a two-up grid. */
@media (max-width: 899px) {
  .hero { grid-template-rows: auto auto auto; min-height: 100svh; padding-block-end: clamp(2rem, 6svh, 3.5rem); }
  .hero__wordmark {
    --wm-x: 0%;
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-block-start: calc(var(--top-h) + 2.2svh);
  }
  .hero__portrait {
    order: 1;
    top: calc(var(--top-h) + 2.2svh + 1.5vw);
    height: min(60vw, 21.5rem);
    width: min(74vw, 26rem);
    aspect-ratio: auto;
    overflow: clip;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 99%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 99%);
  }
  .hero__portrait img { position: absolute; top: 0; left: 0; height: auto; width: 100%; }
  .hero__grid {
    order: 2;
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(1.35rem, 3.5svh, 2.25rem);
    margin-block-start: min(40vw, 14.5rem);
    padding-block-end: 0;
  }
  .headline { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
  .identity { margin-block-end: clamp(1.25rem, 3.4svh, 2.25rem); }
  .hero__note { justify-self: start; max-width: 34rem; margin-block-end: 0; margin-inline-end: 0; }
  .hero__floats {
    order: 3;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(.85rem, 3vw, 1.5rem);
    z-index: 3;
    margin-block-start: clamp(1.5rem, 4svh, 2.5rem);
  }
  .card { position: static; width: auto; backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); }
  .card__badge { translate: -34% -34%; }
  .is-loaded .card--traits, .is-loaded .card--skills { animation: hx-in .85s var(--ease) var(--d) both; }}
@media (max-width: 600px) {
  .hero__portrait { width: 80vw; height: min(72vw, 17rem); }
  .hero__grid { margin-block-start: min(56vw, 12.5rem); }
  .headline { font-size: clamp(1.7rem, 8.9vw, 2.6rem); font-stretch: 79%; font-variation-settings: "wght" 900, "wdth" 79; letter-spacing: -.015em; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero__ctas .btn { width: 100%; }
  .hero__floats { gap: .65rem; }
  .card { padding: .8rem .85rem; }
  .card__list li { padding-block: .4rem; letter-spacing: .08em; font-size: .78rem; }
  .card__badge { width: 2.15rem; }}

/* ------------------------------------------------------------- 06b Intro
   The four promises and the "For" strip, just under the hero. */
.intro { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gut) 0; }
.intro > * { max-width: var(--max); margin-inline: auto; }
.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1rem, 3vw, 2.5rem);
}
@media (min-width: 900px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
.promises li {
  display: grid;
  align-content: start;
  gap: .15rem;
  padding-block: .9rem;
  border-top: 1px solid var(--line-2);
}
.promises b { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.promises span { font-size: var(--t-xs); line-height: 1.5; color: var(--ink-60); }

.for {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem clamp(1rem, 3vw, 2.5rem);
  padding-block: 1.25rem;
  border-block: 1px solid var(--line-2);
}
.for__k { font-family: var(--serif); font-style: italic; font-size: var(--t-lg); color: var(--sea); }
.for__list { display: flex; flex-wrap: wrap; gap: .35rem 0; }
.for__list li { font-size: var(--t-sm); font-weight: 500; color: var(--ink-80); }
.for__list li + li::before { content: "\00B7"; content: "\00B7" / ""; margin-inline: .8rem; color: var(--sea); font-weight: 700; }
@media (max-width: 899px) {
  .for { display: grid; gap: .6rem; }
  .for__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; }
  .for__list li { display: flex; gap: .55rem; }
  .for__list li::before,
  .for__list li + li::before { content: ""; flex: none; width: .3rem; height: .3rem; margin: .62em 0 0; border-radius: 50%; background: var(--sea); }}

/* -------------------------------------------------------------- 07 Sections */
.head { margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.head__t { font-size: var(--t-2xl); line-height: 1.06; letter-spacing: -.024em; max-width: 16ch; }
.head__l { margin-top: 1.1rem; max-width: 32rem; color: var(--ink-60); }
@media (min-width: 900px) {
  .head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: last baseline; column-gap: clamp(2rem, 6vw, 6rem); }
  .head--split .head__l { margin-top: 0; }}

/* ----------------------------------------------------------------- 08 Work */
.work {
  padding-top: clamp(5rem, 12vw, 10rem);
  background: linear-gradient(180deg, var(--linen) 0, var(--linen-hi) 14rem, var(--linen-hi) calc(100% - 14rem), var(--linen) 100%);
}
.cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.case, .case__copy, .case__media { min-width: 0; }
.case__copy, .case__links, .svc, .qa__a, .foot__in { overflow-wrap: anywhere; }
.cases__index { display: none; }
@media (min-width: 1100px) {
  .cases { grid-template-columns: 11.5rem minmax(0, 1fr); column-gap: clamp(2.5rem, 4vw, 4.5rem); }
  .cases__index { display: block; }
  .cases__index ol {
    position: sticky;
    top: calc(var(--top-h) + 3rem);
    display: grid;
    gap: .2rem;
    padding-top: .5rem;
    border-top: 1px solid var(--line-2);
  }
  .cases__index a {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    min-height: 2.6rem;
    padding-block: .45rem;
    font-size: var(--t-sm);
    color: var(--ink-60);
    transition: color .3s var(--ease), translate .4s var(--ease);
  }
  .cases__n { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink-60); transition: color .3s var(--ease); }
  .cases__index a[aria-current] { color: var(--ink); translate: 4px 0; }
  .cases__index a[aria-current] .cases__n { color: var(--sea); }}
@media (hover: hover) and (pointer: fine) { .cases__index a:hover { color: var(--ink); }}

.cases__list { display: grid; gap: clamp(5rem, 11vw, 9rem); }
.case { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) {
  .case { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: clamp(2.5rem, 4.5vw, 4.5rem); }
  /* Alternate sides; the screenshot keeps the wide column either way. */
  .case:nth-child(even) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .case:nth-child(even) .case__media { order: 2; }}

.case__media { position: relative; padding-bottom: 9%; }
.shot { overflow: hidden; background: #fff; }
.shot img { width: 100%; }
.shot--desk {
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: .35rem;
  height: 1.9rem;
  padding-inline: .8rem;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  font-size: .6875rem;
  letter-spacing: .02em;
  color: var(--ink-60);
}
.shot__bar i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--sand-2); }
.shot__bar span { min-width: 0; margin-inline-start: .6rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shot--phone {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: 25%;
  min-width: 5.5rem;
  border-radius: 1.4rem;
  border: 5px solid var(--ink);
  box-shadow: var(--shadow);
}
/* The phone always sits on the right: Lemon Refresh sets its headline on the
   left of its hero, where a left-hand phone would cover it. In the right-hand
   column it stays inside the content edge. */
.case:nth-child(even) .shot--phone { right: 0; }
/* Phone visitors judge the phone screen, so on a phone it is big enough to read. */
@media (max-width: 599px) {
  .case__media { padding-bottom: 16%; }
  .shot--phone { width: 40%; right: 0; border-width: 4px; border-radius: 1.1rem; }}

.case__copy { display: grid; justify-items: start; gap: 1rem; }
@media (min-width: 1000px) { .case__copy { padding-top: 1rem; }}
.case__t { font-size: clamp(2rem, 1.6rem + 1.8vw, 2.9rem); line-height: 1.05; }
.case__meta { margin-top: -.5rem; font-size: var(--t-sm); color: var(--ink-60); }
.case__body { color: var(--ink-80); }
.case__for {
  display: grid;
  gap: .2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  background: var(--sea-wash);
  color: var(--ink);
}
.case__for b { font-size: var(--t-xs); font-weight: 600; letter-spacing: .02em; color: var(--sea); }
.case__proof { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding-top: .35rem; }
.case__proof dt { font-size: var(--t-xs); color: var(--ink-60); }
.case__proof dd { font-variant-numeric: lining-nums tabular-nums; font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 400; line-height: 1.2; color: var(--ink-60); }
.case__proof dd b { font-weight: 420; color: var(--sea); }
.case__proof dd span[aria-hidden] { font-family: var(--sans); font-size: .55em; vertical-align: .25em; color: var(--ink-60); }
.case__note { font-size: var(--t-xs); line-height: 1.55; color: var(--ink-60); }
.case__links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.75rem; }

.work__more {
  margin-top: clamp(4rem, 9vw, 6.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-60);
}

/* ------------------------------------------------------------- 09 Services */
.svc-list { display: grid; border-top: 1px solid var(--line-2); }
.svc {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  grid-template-areas: "n t" "n d" "n inc" "n ask";
  align-content: start;
  justify-items: start;
  column-gap: .75rem;
  row-gap: .8rem;
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line-2);
  transition: background-color .4s var(--ease);
}
@media (min-width: 900px) {
  .svc {
    grid-template-columns: 3.5rem minmax(0, .95fr) minmax(0, 1.1fr) auto;
    grid-template-areas: "n t d ask" "n t inc ask";
    column-gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
  .svc__ask { align-self: center; }}
.svc__n { grid-area: n; font-family: var(--serif); font-style: italic; font-size: var(--t-lg); line-height: 1.6; color: var(--sea); }
.svc__t { grid-area: t; }
.svc__d { grid-area: d; }
.svc__inc { grid-area: inc; }
.svc__ask { grid-area: ask; }
.svc__t { font-size: var(--t-xl); font-weight: 420; line-height: 1.15; max-width: 22ch; }
.svc__d { max-width: 34rem; }
.svc__inc { font-size: var(--t-xs); line-height: 1.6; color: var(--ink-60); }
.svc__ask {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--sea);
}
.svc__ask span { display: inline-block; transition: translate .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .svc:hover { background: linear-gradient(90deg, rgba(252, 250, 246, 0), var(--linen-hi) 12%, var(--linen-hi) 88%, rgba(252, 250, 246, 0)); }
  .svc:hover .svc__ask span { translate: 3px 0; }}

/* ---------------------------------------------------------------- 10 (retired)
   The mid-page photograph moved to the top of the closing band (14 Book). */

/* -------------------------------------------------------------- 11 Process */
.steps { display: grid; counter-reset: none; }
.step {
  display: grid;
  align-content: start;
  grid-template-columns: 3rem minmax(0, 1fr);
  grid-template-areas: "n t" "n d";
  column-gap: 1rem;
  row-gap: .35rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-2);
}
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: var(--sea);
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .js .step::before { transform: scaleX(0); transition: transform 1.1s var(--ease) calc(var(--d, 0s) + .15s); }
  .js .step.in::before { transform: scaleX(1); }}
.step__n { grid-area: n; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: var(--sea); }
.step__t { grid-area: t; font-size: var(--t-lg); font-weight: 420; line-height: 1.3; }
.step__d { grid-area: d; font-size: var(--t-sm); color: var(--ink-60); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(1.25rem, 2.2vw, 2rem); }
  .step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "n" "t" "d";
    row-gap: .6rem;
    padding-top: 1.4rem;
  }}

/* ------------------------------------------------------------ 12 Standards */
.standards { background: var(--sand); }
.standards__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3rem); }
.standards__list li { overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .standards__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }}
.standards__t { font-size: var(--t-2xl); line-height: 1.08; max-width: 14ch; }
.standards__list { display: grid; border-top: 1px solid var(--line-2); }
.standards__list li {
  position: relative;
  padding: 1.05rem 0 1.05rem 2.25rem;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--t-lg);
  color: var(--ink);
}
/* A drawn check, not a glyph. */
.standards__list li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: 1.5rem;
  width: .9rem;
  height: .5rem;
  border-left: 1.5px solid var(--sea);
  border-bottom: 1.5px solid var(--sea);
  rotate: -45deg;
}

/* ------------------------------------------------------------------ 13 FAQ */
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  padding: 1.1rem 3rem 1.1rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before,
.qa summary::after {
  content: "";
  position: absolute;
  right: .4rem;
  top: 50%;
  width: 1rem;
  height: 1.5px;
  background: var(--sea);
  transition: rotate .35s var(--ease);
}
.qa summary::after { rotate: 90deg; }
.qa[open] summary::after { rotate: 0deg; }
.qa__a { max-width: 62ch; padding-bottom: 1.5rem; color: var(--ink-80); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--sea); }}
@media (prefers-reduced-motion: no-preference) {
  .qa[open] .qa__a { animation: qa-in .45s var(--ease) both; }
  @keyframes qa-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }}

/* ----------------------------------------------------------------- 14 Book */
.book {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--pad) + clamp(7rem, 18vw, 13rem));
  background: var(--sea-lo);
  color: var(--on-dark-70);
}
.book__bg {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -1;
  height: clamp(18rem, 42vw, 34rem);
  opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 28%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 28%, transparent 92%);
}
.sec > .book__bg { max-width: none; margin: 0; }   /* full bleed, not the content column */
.book__bg img { width: 100%; height: 100%; object-fit: cover; }
.book__chat { margin-top: 1.75rem; }
.book__chat .btn { min-height: 3.25rem; }
.book__credit { margin-top: 1rem; font-size: var(--t-xs); color: var(--on-dark-70); }
.book > .book__in { position: relative; }
.book__in { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 1000px) { .book__in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(3rem, 7vw, 6.5rem); align-items: start; }}
.book__t { font-size: var(--t-2xl); line-height: 1.06; color: var(--on-dark); max-width: 12ch; }
.book__t em { color: var(--sea-mist); }
.book__l { margin-top: 1.25rem; max-width: 30rem; font-size: var(--t-lg); }
.book__direct { margin-top: 1.75rem; font-size: var(--t-sm); }
.book__direct a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: .3em;
  text-decoration-color: rgba(247, 243, 236, .4);
  overflow-wrap: anywhere;
}

.form {
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  border-radius: var(--r-lg);
  background: rgba(247, 243, 236, .06);
  border: 1px solid var(--on-dark-line);
}
.form__t { font-family: var(--serif); font-size: var(--t-xl); font-weight: 420; color: var(--on-dark); }
.form__ask {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .9rem;
  padding: .45rem .9rem;
  border-radius: var(--pill);
  background: rgba(196, 220, 213, .14);
  font-size: var(--t-xs);
  color: var(--on-dark-70);
}
.form__ask b { font-weight: 600; color: var(--on-dark); }
.form__ask[hidden] { display: none; }
.form__grid { display: grid; gap: 1rem 1.1rem; margin-top: 1.4rem; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }}
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--t-xs); font-weight: 600; color: var(--on-dark); }
.field__opt { font-weight: 400; color: var(--on-dark-70); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .9rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--linen-hi);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6.5 4 4 4-4' fill='none' stroke='%2358625e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 1rem;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7470; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--sea-mist);
  box-shadow: 0 0 0 3px rgba(196, 220, 213, .45);
}
.form .btn { width: 100%; margin-top: 1.4rem; }

/* ------------------------------------------------------- 15 Footer & dock */
.foot {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--gut) calc(clamp(2.5rem, 5vw, 3.5rem) + env(safe-area-inset-bottom, 0px));
  background: var(--sea-lo);
  color: var(--on-dark-70);
  font-size: var(--t-sm);
}
/* Who she is, in one plain paragraph: the sentence search engines and AI
   answers quote when someone looks her up by name. */
.foot__about {
  max-width: min(var(--max), 62ch);
  margin: 0 auto 2.25rem;
  font-size: var(--t-sm);
  line-height: 1.7;
  color: var(--on-dark-70);
}
@media (min-width: 900px) { .foot__about { margin-inline: max(0px, calc((100% - var(--max)) / 2)) auto; }}
.foot__in {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--on-dark-line);
}
@media (min-width: 900px) { .foot__in { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 3rem; }}
.foot__brand { display: flex; align-items: center; gap: .9rem; }
.foot__brand > span:last-child { display: grid; }
.foot__brand b { font-weight: 600; color: var(--on-dark); }
.foot__mono { font-family: var(--serif); font-size: 1.9rem; font-weight: 420; color: var(--sea-mist); line-height: 1; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
@media (min-width: 900px) { .foot__links { justify-content: center; }}
.foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: rgba(247, 243, 236, .3);
  text-underline-offset: .3em;
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { text-decoration-color: currentColor; }}

.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: flex;
    gap: .6rem;
    padding: .65rem var(--gut) calc(.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 243, 236, .96);
    border-top: 1px solid var(--line);
    translate: 0 110%;
    visibility: hidden;
    transition: translate .4s var(--ease), visibility 0s .4s;
  }
  .dock[hidden] { display: none; }
  .dock.is-up { translate: 0 0; visibility: visible; transition-delay: 0s; }
  .dock .btn { flex: 1 1 0; min-width: 0; }
  .dock .dock__msg { flex: 0 1 9rem; }
  .dock .btn { padding-inline: .9rem; white-space: nowrap; }
  .foot { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }}

/* ---------------------------------------------------------------- 16 Motion
   Calm and one-directional: things fade up into place once, images settle
   from a slightly larger scale. Only opacity, translate and scale move.
   Nothing loops. Without JavaScript, or with reduced motion, the page is
   simply there. */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; translate: 0 18px; transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
  .js .rv.in { opacity: 1; translate: 0 0; }
  .js .rv--img { translate: 0 0; }
  .js .rv--img img { scale: 1.06; transition: scale 1.6s var(--ease) var(--d, 0s); }
  .js .rv--img.in img { scale: 1; }
  .js .shot { overflow: hidden; }
  .js .hero .rv { transition-duration: 1.1s; }}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }}

/* ----------------------------------------------------------------- 17 Print */
@media print {
  .top, .dock, .form, .cases__index { display: none; }
  .hero { padding-top: 2rem; }
  .book, .foot { background: none; color: #000; }
  .book__t, .foot b { color: #000; }}
