/* ==========================================================================
   MODEVRA — Luxury, engineered.

   Printed, not rendered: three flat inks (indigo, cyan, paper) and nothing
   else. No gradients, shadows, blur or texture. One grotesk in two sizes.
   The only ornament is the wordmark's own round-capped stroke.
   ========================================================================== */

:root {
  --ink: #111439;
  --cyan: #00b7f0;
  --paper: #fdfdfd;

  --lw: var(--paper);   /* logo: first ink */
  --lc: var(--cyan);    /* logo: second ink */
  --acc: var(--cyan);   /* stroke used for links and marks */

  --sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --io: cubic-bezier(.65, 0, .35, 1);

  --pad: clamp(20px, 4.4vw, 72px);
  --gut: clamp(16px, 2.2vw, 36px);
  --r: clamp(28px, 4.6vw, 76px);
}

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

html { background: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg, canvas { display: block; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.tnum { font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; left: 12px; top: 12px; z-index: 99; padding: 10px 14px; background: var(--paper); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
html.index-open, html.index-open body { overflow: hidden; }

/* ---------- The wordmark ---------- */
.lg { overflow: visible; }
.lg-w { stroke: var(--lw); }
.lg-c { stroke: var(--lc); }
.lg-o { opacity: .45; }
.lg-hit { fill: transparent; stroke: none; }

/* ---------- Stroke links: the underline is a round-capped stroke ---------- */
.u { position: relative; display: inline-block; padding-bottom: .34em; font-weight: 500; }
.u::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: max(3px, .16em);
  border-radius: 1em;
  background: var(--acc);
}
@media (hover: hover) {
  .u:hover::after { animation: redraw .7s var(--io); }
}
@keyframes redraw {
  0% { clip-path: inset(0 0 0 0 round 1em); }
  45% { clip-path: inset(0 0 0 100% round 1em); }
  46% { clip-path: inset(0 100% 0 0 round 1em); }
  100% { clip-path: inset(0 0 0 0 round 1em); }
}

/* a word underlined by hand, overprinting the type */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: "";
  position: absolute;
  left: -.04em; right: -.04em; bottom: -.02em;
  height: .13em;
  border-radius: 1em;
  background: var(--acc);
  mix-blend-mode: multiply;
  clip-path: inset(0 100% 0 0 round 1em);
  transition: clip-path 1.1s var(--io) .15s;
}
.mark.is-in::after, .no-js .mark::after { clip-path: inset(0 0 0 0 round 1em); }

/* ==========================================================================
   Mural
   ========================================================================== */
.mural {
  position: fixed;
  left: 0; top: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  padding: 0;
}
.no-js .mural { padding: 30vh 5vw; }
.scene { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; }
.no-js .scene { display: none; }
.js .scene { opacity: 0; transition: opacity .9s; }
.js.has-gl .scene { opacity: 1; }
.js .hero__txt > *, .js .bar__nav { opacity: 0; transform: translateY(22px); transition: opacity 1s, transform 1.3s var(--ease); }
.js.is-ready .hero__txt > *, .js.is-ready .bar__nav { opacity: 1; transform: none; }
.js.is-ready .hero__desc { opacity: .78; transition-delay: .12s; }
.js.is-ready .hero__hint { opacity: .78; transition-delay: .24s; }
.has-gl .mural path { visibility: hidden; }
.ml { cursor: pointer; }
.js .mural path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.js .mural.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--io) calc(var(--i) * .11s); }

/* ==========================================================================
   Bar & index
   ========================================================================== */
.bar {
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 50;
  height: 68px;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  color: var(--paper);
  font-size: 15px;
  transition: color .25s, transform .5s var(--ease);
}
.bar-off:not(.index-open) .bar { transform: translateY(-100%); }
[data-tone="paper"] .bar { color: var(--ink); }
[data-tone="cyan"] .bar { color: var(--ink); --lc: var(--paper); --acc: var(--paper); }
.index-open .bar { color: var(--paper); --lc: var(--cyan); --acc: var(--cyan); }

.bar__id {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .4s, transform .6s var(--ease);
}
.past-hero .bar__id, .index-open .bar__id { opacity: 1; transform: none; pointer-events: auto; }
.bar__logo { display: block; padding: 8px 0; --lw: currentColor; }
.bar__logo svg { height: 17px; width: auto; }
.bar__logo .lg-l { opacity: .3; transition: opacity .4s; cursor: pointer; }
.bar__logo .lg-l.is-done { opacity: .62; }
.bar__logo .lg-l.is-now, .index-open .bar__logo .lg-l { opacity: 1; }
.bar__name { opacity: .7; }
.bar__nav { pointer-events: auto; }
.bar__index { display: none; }

/* The index is the wordmark set as a column: each letter keeps its real
   proportions and colours, stands on the baseline of its chapter's name,
   and is drawn in as the panel opens. */
.index {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 84px var(--pad) calc(26px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  overflow-y: auto;
  transition: clip-path .7s var(--io), visibility 0s .7s;
}
.index-open .index { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--io); }
.index__list { border-bottom: 1px solid rgba(253, 253, 253, .16); }
.index__list a {
  display: flex;
  align-items: baseline;
  padding: .3em 0 .34em;
  border-top: 1px solid rgba(253, 253, 253, .16);
  font-size: clamp(30px, min(9.6vw, 6.4vh), 60px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}
.index__list svg { flex: none; width: 1.72em; height: 1em; }
.index__list span {
  opacity: 0;
  transform: translateX(-.25em);
  transition: opacity .5s, transform .8s var(--ease);
}
.index-open .index__list span { opacity: 1; transform: none; transition-delay: calc(.3s + var(--i) * .06s); }
.index .lg-w, .index .lg-c { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.index-open .index .lg-w, .index-open .index .lg-c {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .9s var(--io) calc(.22s + var(--i) * .06s);
}
.index__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 28px;
  font-size: 15.5px;
  opacity: 0;
  transition: opacity .5s;
}
.index-open .index__foot { opacity: 1; transition-delay: .7s; }

/* ==========================================================================
   Windows & sheets
   ========================================================================== */
main { position: relative; z-index: 1; pointer-events: none; }
main a, main button { pointer-events: auto; }

.win { position: relative; height: 100vh; height: 100svh; }
.win__cap {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(26px, 5vh, 60px);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

.hero { display: flex; align-items: flex-end; }
.hero__txt {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  align-items: end;
  padding-bottom: clamp(26px, 5vh, 60px);
}
.hero h1 {
  grid-column: 1 / span 5;
  font-size: clamp(34px, 3.5vw, 58px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero__desc { grid-column: 6 / span 4; max-width: 430px; font-size: 16px; opacity: .78; }
.hero__hint { grid-column: 10 / -1; justify-self: end; text-align: right; font-size: 15px; opacity: .78; }
.hero__hint b { font-weight: 500; color: var(--cyan); margin-right: .5em; }

.sheet {
  position: relative;
  pointer-events: auto;
  min-height: 125vh;
  padding-block: clamp(92px, 11vw, 184px);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--fg);
  overflow: clip;
  isolation: isolate;
  transform: scale(calc(.86 + .14 * var(--in, 1)));
  transform-origin: 50% 0;
}
.sheet[data-tone="paper"] { --bg: var(--paper); --fg: var(--ink); --mute: rgba(17, 20, 57, .64); --rule: rgba(17, 20, 57, .16); }
.sheet[data-tone="cyan"] { --bg: var(--cyan); --fg: var(--ink); --mute: rgba(17, 20, 57, .8); --rule: rgba(17, 20, 57, .3); --acc: var(--paper); }
.sheet[data-tone="ink"] { --bg: var(--ink); --fg: var(--paper); --mute: rgba(253, 253, 253, .62); --rule: rgba(253, 253, 253, .18); }
.sheet[data-tone="cyan"] .mark::after { mix-blend-mode: normal; z-index: -1; }

.statement, .title, .letter {
  font-weight: 500;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.statement { max-width: 21ch; font-size: clamp(32px, 5vw, 86px); line-height: 1; }
.title { max-width: 13ch; font-size: clamp(42px, 7.4vw, 128px); line-height: .92; }
.lead { max-width: 30em; margin-top: clamp(24px, 2.6vw, 40px); margin-left: calc((100% + var(--gut)) / 12 * 3); font-size: clamp(17px, 1.35vw, 21px); color: var(--mute); }
.sheet h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.sheet p { text-wrap: pretty; }

/* ---------- m · Essence ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gut);
  margin-top: clamp(72px, 9vw, 150px);
  margin-left: calc((100% + var(--gut)) / 12 * 3);
}
.fact { padding-top: 18px; border-top: 1px solid var(--fg); }
.fact h3 { font-size: clamp(20px, 1.7vw, 26px); margin-bottom: 14px; }
.fact p { color: var(--mute); font-size: 16px; }

/* ---------- o · Capabilities ---------- */
.caps {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: var(--gut);
  margin-top: clamp(64px, 8vw, 130px);
}
.dial {
  --dial: clamp(150px, 17vw, 270px);
  position: sticky;
  top: calc(50vh - var(--dial) / 2);
  align-self: start;
  width: var(--dial);
  height: var(--dial);
}
.dial svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke-width: 26; }
.dial__ring { stroke: var(--fg); }
.dial__arc {
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-dasharray: 1 5;
  transform-origin: 54px 54px;
  transform: rotate(calc(var(--n, 0) * 60deg - 120deg));
  transition: transform .9s var(--ease);
}
.dial__n {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: calc(var(--dial) * .27);
  font-weight: 500;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.cap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: 14px var(--gut);
  padding: clamp(26px, 2.8vw, 44px) 0 clamp(30px, 3.2vw, 52px);
  border-top: 1px solid var(--rule);
  transition: opacity .5s;
}
.cap:first-child { border-top-color: var(--fg); }
.has-now .cap:not(.is-now) { opacity: .34; }
.cap h3 { font-size: clamp(28px, 3vw, 50px); letter-spacing: -.04em; line-height: 1; }
.cap p { max-width: 34em; }
.cap__scope { margin: 12px 0 18px; font-size: 14.5px; color: var(--mute); }
.cap .u { font-size: 15px; }

/* ---------- d · Principles (pinned) ---------- */
.sheet--pin { padding: 0; height: 300vh; min-height: 0; }
/* the field and the words each own a cell of the grid, so they can never overlap */
.pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  padding: 84px var(--pad) 44px 0;
}
.field { order: 2; width: 100%; height: 100%; min-height: 0; }
.pin__txt { order: 1; padding-right: 0; }
.pwords li {
  font-size: clamp(44px, 5.4vw, 100px);
  font-weight: 500;
  letter-spacing: -.055em;
  white-space: nowrap;
  line-height: .94;
  color: rgba(253, 253, 253, .16);
  font-stretch: 62%;
  transition: color .5s, font-stretch .9s var(--ease);
}
.pwords li.is-on { font-stretch: 112%; }
.pwords li.is-on { color: var(--paper); }
.pdescs { position: relative; max-width: 26em; min-height: 7.5em; margin-top: clamp(24px, 4vh, 44px); font-size: clamp(16px, 1.3vw, 20px); color: var(--mute); }
.pdescs p { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .7s var(--ease); }
.pdescs p.is-on { opacity: 1; transform: none; }
.no-js .pdescs p { position: static; opacity: 1; transform: none; margin-bottom: 1em; }

/* ---------- e · Approach: five strokes that overlap as they hand over ---------- */
.stages {
  --p: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--gut);
  margin-top: clamp(64px, 8vw, 130px);
}
.stage { position: relative; padding-top: 62px; }
.stage__bar {
  position: absolute;
  left: 0; top: 0;
  width: calc(128% + var(--gut));
  height: 26px;
  border-radius: 26px;
  background: var(--ink);
  mix-blend-mode: multiply;
  clip-path: inset(0 calc(100% - 100% * clamp(0, var(--p) * 6.4 - var(--i), 1)) 0 0 round 26px);
}
.stage:nth-child(even) .stage__bar { background: var(--cyan); }
.stage:last-child .stage__bar { width: 100%; }
.stage h3 { font-size: clamp(24px, 2.2vw, 36px); letter-spacing: -.04em; margin-bottom: 14px; }
.stage p { font-size: 15.5px; color: var(--mute); }
.stage__out { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; }

/* ---------- v · Standard ---------- */
.rows { margin-top: clamp(64px, 8vw, 130px); border-bottom: 1px solid var(--fg); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
  column-gap: var(--gut);
  padding: 20px 0 24px;
  border-top: 1px solid var(--fg);
}
.row h3 { grid-column: 2; font-size: clamp(21px, 1.9vw, 30px); }
.row p { grid-column: 3; max-width: 32em; color: var(--mute); }

/* ---------- r · Engagement ---------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gut); margin-top: clamp(64px, 8vw, 130px); }
.way { display: flex; flex-direction: column; align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--fg); }
.way__term { font-size: 14.5px; color: var(--mute); margin-bottom: clamp(40px, 5vw, 84px); }
.way h3 { font-size: clamp(30px, 3vw, 50px); letter-spacing: -.045em; line-height: 1; margin-bottom: 18px; }
.way > p { color: var(--mute); max-width: 26em; }
.way ul { align-self: stretch; margin: 28px 0 32px; border-bottom: 1px solid var(--rule); }
.way li { padding: 11px 0; border-top: 1px solid var(--rule); font-size: 15.5px; }
.way .u { margin-top: auto; font-size: 15.5px; }

/* ---------- a · Contact: the enquiry is a letter ---------- */
.letter { max-width: 22em; font-size: clamp(28px, 4.2vw, 68px); line-height: 1.16; letter-spacing: -.045em; text-wrap: initial; }
.letter > p { margin-bottom: .35em; }
.slot { display: inline-block; max-width: 100%; vertical-align: baseline; }
.slot input, .letter textarea {
  font: inherit;
  letter-spacing: inherit;
  color: var(--fg);
  background: none;
  border: 0;
  border-bottom: max(3px, .06em) solid var(--rule);
  border-radius: 0;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s;
}
.slot input { width: 6ch; max-width: 100%; }
.slot input:focus, .letter textarea:focus, .slot input:not(:placeholder-shown), .letter textarea:not(:placeholder-shown) { border-bottom-color: var(--cyan); }
.slot input::placeholder, .letter textarea::placeholder { color: rgba(17, 20, 57, .3); opacity: 1; }
.slot input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 9999s; }

.topic { cursor: pointer; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span {
  color: rgba(17, 20, 57, .34);
  background: linear-gradient(var(--cyan), var(--cyan)) 0 96% / 0 .09em no-repeat;
  transition: color .25s, background-size .5s var(--ease);
}
@media (hover: hover) { .topic:hover span { color: rgba(17, 20, 57, .7); } }
.topic input:checked + span { color: var(--ink); background-size: 100% .09em; }
.topic input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.letter textarea {
  display: block;
  width: 100%;
  margin: .5em 0 .7em;
  padding-bottom: .3em;
  resize: none;
  overflow: hidden;
  font-size: .5em;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.4;
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.letter__foot { display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 72px); margin-top: .9em; }
.letter__send { letter-spacing: inherit; }
.letter__send[disabled] { opacity: .4; pointer-events: none; }
.letter__note { max-width: 22em; padding-bottom: .5em; font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.45; color: var(--mute); }
.form__status { margin-top: 1.4em; font-size: 15px; font-weight: 400; letter-spacing: 0; color: #c2283c; }
.form__status:empty { display: none; }

.letter-done { display: none; outline: none; }
.letter-wrap.is-sent .letter { display: none; }
.letter-wrap.is-sent .letter-done { display: block; }
.letter-done .lead { margin-left: 0; margin-bottom: 32px; }

.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gut); margin-top: clamp(80px, 10vw, 160px); }
.details > div { padding-top: 14px; border-top: 1px solid var(--fg); }
.details dt { font-size: 14.5px; color: var(--mute); margin-bottom: 6px; }
.details dd { font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; }
.copy { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--mute); border-bottom: 1px solid currentColor; }

/* ---------- Colophon: the camera pulls back out ---------- */
.foot { height: 200vh; height: 200svh; display: flex; align-items: flex-end; }
.foot__in {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  align-items: end;
  padding-bottom: calc(clamp(24px, 4vh, 48px) + env(safe-area-inset-bottom));
  font-size: 14.5px;
  line-height: 1.5;
}
.foot__in > p:nth-child(1) { grid-column: 1 / span 2; }
.foot__in > p:nth-child(2) { grid-column: 3 / span 3; }
.foot__legal { grid-column: 6 / span 4; opacity: .62; }
.foot__top { grid-column: 10 / -1; justify-self: end; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stage { padding: 0 0 clamp(36px, 5vw, 56px) clamp(52px, 8vw, 110px); max-width: 44em; }
  .stage:last-child { padding-bottom: 0; }
  .stage__bar,
  .stage:last-child .stage__bar {
    width: 20px;
    height: calc(100% + 30px);
    clip-path: inset(0 0 calc(100% - 100% * clamp(0, var(--p) * 6.4 - var(--i), 1)) 0 round 20px);
  }
  .stage:last-child .stage__bar { height: 100%; }
  .ways { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .way__term { margin-bottom: 20px; }
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .cap { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .bar { height: 60px; }
  .bar__cta { display: none; }
  .bar__index { display: inline-block; }
  .bar__name { display: none; }

  .hero__txt { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .hero h1, .hero__desc, .hero__hint { grid-column: 1; }
  .hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .hero__desc { max-width: 24em; }
  .hero__hint { justify-self: start; text-align: left; font-size: 14px; opacity: .6; }

  .lead, .facts { margin-left: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }

  .caps { grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; }
  .dial { --dial: 52px; top: 76px; }
  .dial__n { font-size: 17px; letter-spacing: 0; }

  .sheet--pin { height: 280vh; }
  .pin {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: 18px;
    padding: 64px 0 clamp(22px, 5vh, 48px);
  }
  .field { order: 1; }
  .pin__txt { order: 2; padding-right: var(--pad); }
  .pwords li { font-size: clamp(36px, min(12vw, 7.4vh), 84px); }
  .pwords li.is-on { font-stretch: 106%; }
  .pdescs { min-height: 8.8em; margin-top: 14px; font-size: 15.5px; }

  .row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .row h3, .row p { grid-column: 1; }

  .letter { line-height: 1.22; }
  .letter textarea { font-size: .62em; }
  .letter__foot { flex-direction: column; align-items: flex-start; gap: 18px; }

  .foot { height: 190vh; height: 190svh; }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 18px; }
  .foot__in > p:nth-child(1), .foot__in > p:nth-child(2) { grid-column: auto; }
  .foot__legal { grid-column: 1 / -1; font-size: 13px; }
  .foot__top { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 520px) {
  .details { grid-template-columns: minmax(0, 1fr); }
}

/* short phones: the hero keeps the line and the description, and lets the mark have the room */
@media (max-width: 900px) and (max-height: 720px) {
  .hero__hint { display: none; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 52px); }
  .hero__desc { font-size: 15px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .sheet--pin { height: auto; }
  .pin { position: relative; height: auto; padding-block: 80px; }
  .field { height: 70vh; }
}

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