@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-normal-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #FBFCFC;
  --glacier: #EDF1F2;
  --glacier-deep: #DCE4E6;
  --ink: #0F2A4A;
  --ink-soft: #3D5470;
  --sage-ink: #4C6A5B;
  --blue: #2B63C6;
  --blue-deep: #1F4E9F;
  --rule: rgba(15, 42, 74, .14);
  --night: #0A1E36;

  --radius: 2px;
  --rule-w: 1px;
  --press: .97;

  --ease-out: cubic-bezier(.23, 1, .32, 1);

  --gutter: clamp(22px, 5.5vw, 88px);
  --header-h: 64px;
  --section-y: clamp(72px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }
::selection { background: var(--blue); color: #fff; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p, dl, dd { margin: 0; }
p { text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--radius); }

.frame { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { left: 8px; }

/* Controls: one token set (radius, rule, press) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--radius); border: var(--rule-w) solid transparent;
  font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(var(--press)); }
.btn-light { background: #fff; color: var(--ink); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-large { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: var(--glacier); }
  .btn-solid:hover { background: var(--blue-deep); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; text-decoration: none; }
.link-arrow span { display: inline-flex; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover span { transform: translateX(3px); } }

/* Header: white over the photo, solid paper after it */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--ink); background: rgba(251, 252, 252, .96);
  border-bottom: var(--rule-w) solid var(--rule);
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}
.site-header.is-over-hero:not(.menu-open) { color: #fff; background: transparent; border-color: transparent; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 600; font-size: 1rem; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 500; font-size: .9375rem; }
.site-nav .btn { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.site-header.is-over-hero:not(.menu-open) .site-nav .btn { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:not(.btn) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 240ms var(--ease-out); }
  .site-nav a:not(.btn):hover { background-size: 100% 1px; }
}
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px;
    background: none; border: 0; color: inherit; font-family: inherit; font-weight: 600; font-size: .9375rem; line-height: 1; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle-bars { display: grid; gap: 5px; width: 18px; }
  .nav-toggle-bars span { display: block; height: 1.5px; background: currentColor; transition: transform 200ms var(--ease-out); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--paper); color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav a:not(.btn) { padding: 18px 0; border-bottom: var(--rule-w) solid var(--rule); font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; }
  .site-nav .btn { margin-top: 28px; min-height: 56px; font-size: 1.0625rem; }
  .site-header.is-over-hero .site-nav .btn { background: var(--blue); color: #fff; }
}

/* Image slots: placeholder until the photo exists */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, #1B3D66 0%, #2B63C6 100%); }
.ph::before {
  content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center; color: rgba(255,255,255,.8);
  font-variant: all-small-caps; letter-spacing: .1em; font-weight: 600; font-size: .9375rem;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--night); }
.hero-media { position: absolute; inset: 0; }
.hero-media::before { align-items: flex-start; padding-top: 30vh; opacity: .5; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,30,54,.45) 0%, rgba(10,30,54,0) 22%),
    linear-gradient(to top, rgba(10,30,54,.94) 0%, rgba(10,30,54,.8) 34%, rgba(10,30,54,.4) 60%, rgba(10,30,54,0) 80%);
}
@media (min-width: 900px) {
  .hero-scrim {
    background:
      linear-gradient(to bottom, rgba(10,30,54,.45) 0%, rgba(10,30,54,0) 22%),
      linear-gradient(to right, rgba(10,30,54,.82) 0%, rgba(10,30,54,.5) 42%, rgba(10,30,54,0) 72%),
      linear-gradient(to top, rgba(10,30,54,.5) 0%, rgba(10,30,54,0) 40%);
  }
}
@media (min-width: 900px) { .hero-media img { left: -50%; width: 150%; max-width: none; object-position: 100% 50%; } }
.hero-content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: calc(clamp(32px, 6vh, 88px) + env(safe-area-inset-bottom)); }
.occupancy { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; letter-spacing: .01em; color: #fff; text-shadow: 0 1px 12px rgba(10,30,54,.6); margin-bottom: clamp(20px, 3vh, 32px); }
.occupancy { padding-top: 10px; border-top: var(--rule-w) solid rgba(255,255,255,.45); }
.hero h1 { font-size: clamp(3.25rem, 8.4vw, 6rem); font-weight: 350; line-height: .98; letter-spacing: -.035em; max-width: 11ch; text-shadow: 0 1px 24px rgba(10,30,54,.35); }
@media (min-width: 900px) { .hero h1 { font-weight: 300; letter-spacing: -.04em; } }
.hero-sub { margin-top: 14px; font-size: clamp(.875rem, 1.6vw, 1rem); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.hero-tagline { margin-top: clamp(18px, 3vh, 28px); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.4; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(24px, 4vh, 36px); }
.hero-actions .link-arrow { color: #fff; }
.hero-note { margin-top: 18px; font-size: .9375rem; color: rgba(255,255,255,.8); }

/* About */
.about { padding-block: var(--section-y); }
.statement { font-size: clamp(2.125rem, 5.2vw, 4.25rem); font-weight: 350; line-height: 1.05; letter-spacing: -.035em; max-width: 19ch; }
.about-body { margin-top: clamp(28px, 4vw, 48px); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--ink-soft); max-width: 52ch; }
@media (min-width: 900px) {
  .about-grid { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(40px, 6vw, 96px); }
  .statement { grid-column: 1 / -1; }
  .about-body { grid-column: 2; }
}

/* Services: sticky photo beside a treatment index */
.services { padding-bottom: var(--section-y); }
.services-grid { display: grid; gap: 40px; }
.services-media { aspect-ratio: 16 / 10; }
.services h2 { font-size: clamp(1.875rem, 3.8vw, 3rem); font-weight: 350; line-height: 1.08; letter-spacing: -.03em; max-width: 16ch; margin-bottom: clamp(24px, 3vw, 40px); }
.treatments { border-bottom: var(--rule-w) solid var(--rule); }
.treatment { padding: 24px 0; border-top: var(--rule-w) solid var(--rule); }
.treatment dt { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.treatment dd { margin-top: 6px; color: var(--ink-soft); max-width: 48ch; }
@media (min-width: 900px) {
  .services-grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .services-media { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; }
  .treatment { display: grid; grid-template-columns: 2fr 3fr; gap: 24px; padding: 32px 0; }
  .treatment dd { margin-top: 0; }
}

/* Residents: intake files */
.residents { background: var(--glacier); padding-block: var(--section-y); }
.section-head { max-width: 44rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(1.875rem, 3.8vw, 3rem); font-weight: 350; line-height: 1.08; letter-spacing: -.03em; }
.section-head p { margin-top: 16px; color: var(--ink-soft); max-width: 46ch; }
.files { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .files { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
  .file:nth-child(2) { margin-top: 56px; }
  .file:nth-child(3) { margin-top: 112px; }
}
.file-tab {
  display: inline-block; padding: 7px 14px 6px; margin-left: 16px;
  background: var(--blue); color: #fff; border-radius: var(--radius) var(--radius) 0 0;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.file-photo { aspect-ratio: 1 / 1; border-radius: var(--radius) var(--radius) 0 0; }
.file-photo img { object-position: 50% 22%; }
@media (min-width: 640px) { .file-photo { aspect-ratio: 4 / 5; } }
.file-body {
  overflow: clip; overflow-clip-margin: 12px;
  background: #fff; padding: 22px 22px 26px;
  border: var(--rule-w) solid var(--rule); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
}
.file { filter: drop-shadow(0 14px 20px rgba(15, 42, 74, .14)); }
.file-body h3 { font-size: 1.75rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.file-label { margin: 6px 0 18px; padding-bottom: 14px; border-bottom: var(--rule-w) dashed var(--rule); font-size: .875rem; font-weight: 600; color: var(--sage-ink); }
.file dt { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); }
.file dd { margin: 6px 0 20px; }
.file dd:last-child { margin-bottom: 0; }
.stamp {
  display: inline-block; max-width: 100%; margin-top: 10px !important; padding: 6px 12px;
  border: 4px double var(--ink); border-radius: var(--radius); color: var(--ink);
  font-weight: 700; font-size: .9375rem; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(-2deg); transform-origin: 20% 50%;
}

/* Confiscated at intake: full-bleed tray, receipt overlapping on the axis */
.intake { padding-block: 0; }
.intake-media { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .intake-media { aspect-ratio: auto; height: min(78vh, 760px); } }
.receipt {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), 560px);
  margin: -56px 0 0 var(--gutter); padding: clamp(24px, 3vw, 36px);
  background: #fff; border: var(--rule-w) solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 24px 56px -28px rgba(15, 42, 74, .4);
}
@media (min-width: 1440px) { .receipt { margin-left: calc((100vw - 1440px) / 2 + var(--gutter)); } }
@media (min-width: 900px) { .receipt { margin-top: -180px; } }
.receipt h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 400; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 20px; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ledger li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 11px 0; border-bottom: var(--rule-w) dotted rgba(15, 42, 74, .3); }
.ledger li span:last-child { font-weight: 700; min-width: 1.5ch; text-align: right; }
.caption { margin-top: 14px; font-style: italic; font-size: .9375rem; color: var(--ink-soft); }

/* Team: one lead, two in a column */
.team { padding-block: var(--section-y); }
.team-title { font-size: clamp(1.875rem, 3.8vw, 3rem); font-weight: 350; line-height: 1.08; letter-spacing: -.03em; max-width: 18ch; margin-bottom: clamp(40px, 5vw, 64px); }
.staff-grid { display: grid; gap: 32px; }
.staff h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; }
.role { margin: 2px 0 10px; font-size: .9375rem; font-weight: 600; color: var(--sage-ink); }
.staff-body > p:last-child { color: var(--ink-soft); }
.staff-lead .staff-photo { aspect-ratio: 4 / 3; }
.staff-lead .staff-body { margin-top: 20px; max-width: 52ch; }
.staff:not(.staff-lead) { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: start; padding-top: 24px; border-top: var(--rule-w) solid var(--rule); }
.staff:not(.staff-lead) .staff-photo { aspect-ratio: 1 / 1; }
.staff:not(.staff-lead) .staff-photo img { object-position: 50% 18%; }
.staff-photo { border-radius: var(--radius); }
@media (min-width: 900px) {
  .staff-grid { grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 80px); row-gap: 40px; }
  .staff-lead { grid-row: span 2; }
  .staff-lead h3 { font-size: 1.75rem; }
  .staff:not(.staff-lead) { grid-template-columns: 180px 1fr; gap: 24px; padding-top: 32px; }
  .staff:not(.staff-lead) .staff-photo { aspect-ratio: 4 / 5; }
}
.tip { position: relative; cursor: help; text-decoration: underline dotted rgba(15, 42, 74, .4); text-underline-offset: .22em; }
.tip::after {
  content: attr(data-tip);
  position: absolute; left: 0; bottom: calc(100% + 10px);
  padding: 8px 12px; border-radius: var(--radius);
  background: var(--ink); color: #fff; white-space: nowrap;
  font-size: .875rem; font-weight: 600; letter-spacing: 0;
  opacity: 0; transform: translateY(4px) scale(.97); transform-origin: 20% 100%; pointer-events: none;
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.tip:hover::after, .tip:focus::after, .tip.is-open::after { opacity: 1; transform: none; }

/* Programme: ordered stations on one continuous line */
.programme { background: var(--glacier); padding-block: var(--section-y); }
.programme-grid { display: grid; gap: 40px; }
.programme h2 { font-size: clamp(1.875rem, 3.8vw, 3rem); font-weight: 350; line-height: 1.08; letter-spacing: -.03em; max-width: 14ch; }
@media (min-width: 900px) {
  .programme-grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .programme h2 { position: sticky; top: calc(var(--header-h) + 40px); }
}
.stations { list-style: none; margin: 0; padding: 0; position: relative; }
.stations::before, .stations::after { content: ""; position: absolute; left: 5px; top: 12px; bottom: var(--tail, 10px); width: 2px; }
.stations::before { background: var(--glacier-deep); }
.stations::after { background: var(--ink); transform-origin: top; }
.stations li { position: relative; padding: 0 0 36px 44px; }
.stations li:last-child { padding-bottom: 0; }
.stations li::before {
  content: ""; position: absolute; z-index: 1; left: 0; top: 6px; width: 12px; height: 12px;
  border-radius: var(--radius); background: var(--paper); border: 2px solid var(--ink);
}
.stations li:last-child::before { background: var(--ink); }
.day { display: block; font-weight: 700; font-size: .9375rem; color: var(--sage-ink); font-variant-numeric: tabular-nums; }
.day small { font-weight: 500; font-size: 1em; color: var(--ink-soft); }
.stations p { margin-top: 4px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.45; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stations::after { animation: line-fill linear both; animation-timeline: view(); animation-range: entry 30% cover 65%; }
  }
}
@keyframes line-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Testimonials: pull quotes on the axis, no cards */
.testimonials { padding-block: var(--section-y); }
.testimonials-title { font-size: clamp(1.875rem, 3.8vw, 3rem); font-weight: 350; letter-spacing: -.03em; margin-bottom: clamp(40px, 5vw, 72px); }
.quotes { display: grid; gap: clamp(40px, 6vw, 72px); }
.quote blockquote { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 350; line-height: 1.2; letter-spacing: -.025em; max-width: 26ch; }
.quote-loud blockquote { font-weight: 700; letter-spacing: -.02em; max-width: 20ch; }
.quote figcaption { margin-top: 14px; font-size: .9375rem; font-weight: 600; color: var(--sage-ink); }
@media (min-width: 900px) {
  .quotes { grid-template-columns: 5fr 7fr; column-gap: clamp(40px, 6vw, 96px); }
  .quote { grid-column: 1 / -1; }
  .quote-loud, .quote:last-child { grid-column: 2; }
}

/* Contact: the one dark field */
.contact { background: var(--ink); color: #fff; padding-block: var(--section-y); }
.contact-grid { display: grid; gap: 40px; }
.contact-crest { display: block; width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px); color: rgba(255,255,255,.9); margin-bottom: clamp(24px, 3vw, 40px); }
.contact h2 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.contact-lines { display: grid; gap: 28px; }
.contact-lines dt { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.72); }
.contact-lines dd { margin-top: 4px; font-size: clamp(2rem, 3.6vw, 2.5rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.contact-lines .email { font-size: clamp(1.3125rem, 3.2vw, 2.25rem); }
.contact-lines a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.contact-lines a:hover { text-decoration-color: #fff; }
.fine { margin-top: 18px; font-size: .9375rem; color: rgba(255,255,255,.72); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(40px, 6vw, 96px); row-gap: 48px; }
  .contact-head { grid-row: span 2; }
}

/* Footer */
.site-footer { padding-block: 56px calc(48px + env(safe-area-inset-bottom)); border-top: var(--rule-w) solid var(--rule); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 44px; height: 44px; color: var(--ink); }
.footer-name { font-weight: 600; }
.footer-pillars { font-size: .9375rem; color: var(--ink-soft); }
.disclaimer {
  max-width: 68ch; padding: 18px 20px;
  background: var(--glacier); border: var(--rule-w) solid var(--rule); border-radius: var(--radius);
  font-size: 1rem; line-height: 1.55;
}
.disclaimer a { font-weight: 600; }
.copyright { font-size: .875rem; color: var(--ink-soft); }

/* Motion: one authored moment per element group */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-enter] { opacity: 0; transform: translateY(14px); }
  .motion .hero-media img { transform: scale(1.06); }
  .motion.is-loaded [data-enter] {
    opacity: 1; transform: none;
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: calc(120ms + var(--i, 0) * 70ms);
  }
  .motion.is-loaded .hero-media img { transform: none; transition: transform 1600ms var(--ease-out); }

  .motion .file { opacity: 0; transform: translateY(24px); }
  .motion .file.is-in { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .motion .file .stamp { opacity: 0; transform: rotate(-6deg) scale(1.18); }
  .motion .file.is-in .stamp {
    opacity: 1; transform: rotate(-2deg) scale(1);
    transition: opacity 120ms ease-out, transform 260ms var(--ease-out);
    transition-delay: calc(650ms + var(--i, 0) * 90ms);
  }
}

/* 404 */
.notfound { min-height: 72vh; display: grid; align-items: center; padding: calc(var(--header-h) + 64px) 0 80px; background: var(--glacier); }
.notfound h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; max-width: 12ch; }
.notfound p { margin: 20px 0 32px; font-size: 1.125rem; color: var(--ink-soft); max-width: 40ch; }

@media (min-width: 900px) { .statement { font-weight: 300; } }
