/* Base: reset, type, layout, shared components, header, footer, hero */

:root {
  --font: "Jost", "Futura", "Century Gothic", sans-serif;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;
  --sec-pad: clamp(4rem, 8vw, 7.5rem);

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.4rem, 1.15rem + 0.9vw, 1.75rem);
  --fs-xl: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem);
  --fs-display: clamp(2.6rem, 5.2vw, 4.75rem);
  --fs-number: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 62ch;
  --radius: 2px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --hair: 1px;
}

@media (min-width: 1100px) {
  :root { --header-h: 104px; }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; }
p, ul, ol, dl, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: var(--selection); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: var(--radius); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--s-2) var(--s-4);
  text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: var(--s-4); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: var(--hair); background: var(--accent); flex: none;
}
.sec__title { font-size: var(--fs-xl); font-weight: 300; letter-spacing: -0.02em; max-width: 22ch; }
.sec__intro { margin-top: var(--s-4); max-width: var(--measure); color: var(--text); font-size: var(--fs-md); line-height: 1.6; font-weight: 300; }
.lede { font-size: var(--fs-md); font-weight: 300; line-height: 1.6; max-width: var(--measure); }
.prose p + p { margin-top: var(--s-4); }
.prose { max-width: var(--measure); }
.num { font-weight: 300; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.link {
  color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 0.22em; text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link:hover { text-decoration-color: currentColor; color: var(--ink); }
.link--arrow { display: inline-flex; align-items: center; gap: 0.45em; text-decoration: none; font-weight: 500; }
.link--arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.link--arrow:hover .icon { transform: translateX(3px); }

/* Layout */
.sec { position: relative; padding-block: var(--sec-pad); }
.sec__inner { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; position: relative; }
.sec__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec--paper { background: var(--paper); }
.sec--tint {
  background-color: var(--paper-2);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
}
.sec--deep {
  background-color: var(--deep);
  background-image:
    radial-gradient(ellipse 70% 90% at 85% 10%, color-mix(in oklab, var(--deep) 80%, white) 0%, transparent 60%),
    linear-gradient(to right, var(--grid-deep) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-deep) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: var(--on-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.sec--deep h2, .sec--deep h3, .sec--deep .sec__title { color: var(--on-deep); }
.sec--deep .eyebrow { color: var(--on-deep-soft); }
.sec--deep .eyebrow::before { background: var(--on-deep-soft); }
.sec--deep .sec__intro, .sec--deep p { color: var(--on-deep-soft); }
.sec--deep .link { color: var(--on-deep); text-decoration-color: var(--on-deep-soft); }

.grid-2, .grid-3, .grid-4, .grid-5 { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Icons */
.icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.25;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--lg { width: 2.75rem; height: 2.75rem; color: var(--accent); }
.icon--solid { fill: currentColor; stroke: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.75rem 1.6rem;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:active { transform: translateY(1px); }
.btn--action { background: var(--action); color: var(--action-ink); }
.btn--action:hover { background: var(--action-hover); }
.btn--outline { border-color: var(--accent-ink); color: var(--accent-ink); background: transparent; }
.btn--outline:hover { background: color-mix(in oklab, var(--accent) 10%, transparent); color: var(--ink); border-color: var(--ink); }
.btn--on-deep { border-color: color-mix(in oklab, white 70%, transparent); color: var(--on-deep); background: transparent; }
.btn--on-deep:hover { background: color-mix(in oklab, white 12%, transparent); border-color: var(--on-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* Cards */
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 18px 40px -28px color-mix(in oklab, var(--deep) 45%, transparent); }
.card__title { font-size: var(--fs-lg); font-weight: 400; margin-top: var(--s-4); }
.card--question .card__q { font-size: var(--fs-lg); font-weight: 300; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
.sec--deep .card { background: color-mix(in oklab, white 6%, transparent); border-color: color-mix(in oklab, white 18%, transparent); color: var(--on-deep); }

/* Photo frame: offset hairline behind, never wider than 560px */
.frame { position: relative; max-width: 560px; margin-right: 12px; margin-bottom: 12px; }
.frame::before {
  content: ""; position: absolute; inset: 12px -12px -12px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); pointer-events: none;
}
.frame picture, .frame img { position: relative; border-radius: var(--radius); width: 100%; }
.frame__mark { position: absolute; z-index: 1; right: -22px; top: -22px; width: 44px; height: 44px; color: var(--accent); stroke-width: 0.6; background: var(--paper); border-radius: 50%; }

/* Divider: hairline with a four-point star at the crossing */
.divider { position: relative; display: flex; align-items: center; justify-content: center; height: 24px; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; color: var(--accent); }
.divider::before, .divider::after { content: ""; flex: 1; height: var(--hair); background: var(--line-strong); }
.divider .icon { width: 18px; height: 18px; margin-inline: 14px; stroke-width: 1; }

/* Trust stat */
.stat__num { display: block; font-size: var(--fs-number); font-weight: 300; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.03em; }
.stat__label { display: block; margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--text); }

/* Portrait: styled silhouette in a 4:5 frame */
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.portrait::before, .portrait::after { content: ""; position: absolute; background: var(--line); }
.portrait::before { left: 0; right: 0; top: 39%; height: var(--hair); }
.portrait::after { top: 0; bottom: 0; left: 50%; width: var(--hair); }
.portrait__ring { position: absolute; left: 50%; top: 39%; width: 56%; aspect-ratio: 1; translate: -50% -50%; border: 1px solid var(--line); border-radius: 50%; }
.portrait__figure { position: absolute; inset: auto 0 0 0; width: 100%; height: 86%; color: var(--tint); opacity: 0.32; fill: currentColor; }
.portrait__star { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; color: var(--accent); stroke-width: 1; }
.portrait__cap { margin-top: var(--s-4); }
.portrait__name { font-size: var(--fs-lg); font-weight: 400; color: var(--ink); }
.portrait__meta { font-size: var(--fs-sm); color: var(--text); }

/* Reveal on scroll: only hidden once main.js has run */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in oklab, var(--paper) 96%, transparent); }
.site-header__inner { height: 100%; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; display: flex; align-items: center; gap: var(--s-5); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: calc(var(--header-h) - 20px); width: auto; }
.nav { margin-left: auto; display: none; }
.nav__list { display: flex; gap: clamp(1rem, 1.6vw, 1.75rem); }
.nav__link {
  position: relative; display: inline-block; padding-block: 0.4rem;
  font-size: var(--fs-sm); font-weight: 400; color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--hair);
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header__cta { display: none; }
.site-header__tools { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { border-color: var(--accent-ink); }
.icon-btn .icon { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .site-header__tools { display: none; }
}

/* Mobile menu panel */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--paper);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  display: flex; flex-direction: column; padding: var(--s-4) var(--gutter) var(--s-6);
  overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity 0.25s var(--ease), visibility 0s; }
.menu[hidden] { display: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - var(--s-4)); }
.menu__top img { height: calc(var(--header-h) - 22px); width: auto; }
.menu__list { margin-top: var(--s-6); display: grid; }
.menu__link {
  display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line); font-size: 1.6rem; font-weight: 300; color: var(--ink); text-decoration: none;
}
.menu__link .icon { color: var(--accent); }
.menu__foot { margin-top: auto; padding-top: var(--s-6); display: grid; gap: var(--s-3); }
.menu__foot .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { position: relative; overflow: clip; background-color: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 55% 70% at 78% 45%, var(--wash) 0%, transparent 70%),
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent);
  mask-image: linear-gradient(to bottom, black 70%, transparent);
}
.hero__inner {
  position: relative; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; align-items: center;
  gap: var(--s-5); padding-block: var(--s-5) var(--s-8);
}
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: var(--fs-display); font-weight: 300; letter-spacing: -0.02em; line-height: 1.04; color: var(--ink); }
.hero__line { display: block; }
.hero__line--light { color: var(--accent-ink); }
.hero__sub { margin-top: var(--s-5); font-size: var(--fs-md); font-weight: 300; line-height: 1.6; max-width: 46ch; color: var(--text); }
.hero__actions { margin-top: var(--s-6); }
.hero__note { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--text); display: flex; align-items: center; gap: 0.6em; }
.hero__note .icon { width: 1rem; height: 1rem; color: var(--accent); }

.hero__art { position: relative; justify-self: center; width: min(68vw, 280px); aspect-ratio: 1; order: -1; }
.hero__disc {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, color-mix(in oklab, var(--tint) 20%, var(--paper)) 0%, color-mix(in oklab, var(--tint) 11%, var(--paper)) 62%, color-mix(in oklab, var(--tint) 5%, var(--paper)) 100%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tint) 22%, transparent);
}
.hero__axis { position: absolute; pointer-events: none; background: var(--line); }
.hero__axis--h { left: -14%; right: -100vw; top: 50%; height: var(--hair); transform-origin: center; }
.hero__axis--v { top: -100vh; bottom: -12%; left: 50%; width: var(--hair); transform-origin: center; }
.compass-btn {
  position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 50%; -webkit-tap-highlight-color: transparent;
}
.compass { width: 100%; height: 100%; overflow: visible; color: var(--accent); }
.compass path, .compass line { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.compass .c-ring { stroke-width: 1.15; }
.compass .c-cross { stroke-width: 1; opacity: 0.85; }
.compass .c-diag { stroke-width: 1; opacity: 0.55; }
.compass .c-point { stroke-width: 1.15; }
.compass .c-spine { stroke-width: 0.9; opacity: 0.8; }
.compass .c-fill { fill: currentColor; stroke: none; opacity: 0.14; }
.compass .c-tick { stroke-width: 1; }
.compass__star { transform-origin: 300px 300px; transform-box: view-box; }
.compass .c-ring { --t: 0s; --d: 0.9s; }
.compass .c-ring--in { --t: 0.12s; }
.compass .c-cross { --t: 0.3s; --d: 0.9s; }
.compass .c-diag { --t: 0.45s; --d: 0.8s; }
.compass .c-tick { --t: 1.05s; --d: 0.3s; }
.compass .c-point { --t: 0.7s; --d: 0.75s; }
.compass .c-point--short { --t: 0.85s; --d: 0.6s; }
.compass .c-spine { --t: 0.95s; --d: 0.6s; }
.compass .c-spine--short { --t: 1.05s; --d: 0.5s; }
.compass .c-hub { --t: 1.2s; --d: 0.4s; }

@media (min-width: 768px) {
  .hero__art { width: min(52vw, 380px); }
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); padding-block: var(--s-8) var(--s-9); min-height: min(760px, calc(100svh - var(--header-h))); }
  .hero__art { order: 0; width: min(100%, 480px); }
}

/* The load moment: the compass draws itself once (about 2 s), the headline rises with it */
@media (prefers-reduced-motion: no-preference) {
  .compass.is-play .c-draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: c-draw var(--d, 0.8s) var(--ease) var(--t, 0s) forwards; }
  .compass.is-play .c-fill { opacity: 0; animation: c-fade 0.6s var(--ease) 1.45s forwards; }
  .compass.is-play .compass__star { animation: c-settle 0.95s cubic-bezier(0.34, 1.4, 0.5, 1) 0.95s both; }
  .hero__art.is-play .hero__disc { animation: c-disc 1.1s var(--ease) both; }
  .hero__art.is-play .hero__axis--h { animation: c-axis-h 1.2s var(--ease) 0.25s both; }
  .hero__art.is-play .hero__axis--v { animation: c-axis-v 1.2s var(--ease) 0.35s both; }
  .hero__rise { animation: c-rise 0.8s var(--ease) var(--t, 0.15s) both; }
}
@keyframes c-draw { to { stroke-dashoffset: 0; } }
@keyframes c-fade { to { opacity: 0.14; } }
@keyframes c-settle {
  0% { transform: rotate(-22deg); }
  70% { transform: rotate(6deg); }
  100% { transform: rotate(0deg); }
}
@keyframes c-disc { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes c-axis-h { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes c-axis-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes c-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Footer */
.site-footer {
  background-color: var(--deep-2);
  background-image:
    linear-gradient(to right, var(--grid-deep) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-deep) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--on-deep-soft); font-size: var(--fs-sm);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.site-footer__inner { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; padding-block: var(--s-8) var(--s-6); }
.site-footer__grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
.site-footer__brand img { width: 92px; height: auto; }
.site-footer__line { margin-top: var(--s-4); max-width: 30ch; color: var(--on-deep); font-size: var(--fs-md); font-weight: 300; line-height: 1.45; }
.site-footer__h { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-deep-soft); margin-bottom: var(--s-4); }
.site-footer__list { display: grid; gap: var(--s-2); }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.site-footer__person { display: grid; gap: var(--s-1); }
.site-footer__person strong { color: var(--on-deep); font-weight: 500; }
.site-footer__social { margin-top: var(--s-5); display: flex; gap: var(--s-5); }
.site-footer__base {
  margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid color-mix(in oklab, white 16%, transparent);
  display: grid; gap: var(--s-2); font-size: var(--fs-xs); line-height: 1.6;
}
.site-footer__base p { color: var(--on-deep-soft); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer__base { grid-template-columns: 1fr auto; column-gap: var(--s-6); }
}

/* Print */
@media print {
  .site-header, .menu, .hero__art, .btn, .skip-link, .divider { display: none !important; }
  body, .sec, .sec--tint, .sec--deep, .site-footer, .hero { background: white !important; color: black !important; }
  .sec--deep *, .site-footer * { color: black !important; }
  .sec { padding-block: 1.5rem; }
  a[href^="http"]::after, a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
.hero__rise--1 { --t: 0.1s; }
.hero__rise--2 { --t: 0.25s; }
.hero__rise--3 { --t: 0.45s; }
.hero__rise--4 { --t: 0.6s; }
.portrait__figure { stroke: none; }
@media (min-width: 1024px) {
  .hero__axis--v { bottom: -100vh; }
}

/* Shared blocks used on both pages: partners, compliance, contact */
.partners { display: grid; gap: var(--s-7); grid-template-columns: 1fr; }
.partner { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: start; }
.partner .portrait { max-width: 340px; }
.partner__place { display: flex; align-items: center; gap: 0.4em; margin-top: var(--s-1); font-size: var(--fs-sm); color: var(--text); letter-spacing: 0.02em; }
.partner__place .icon { width: 1rem; height: 1rem; color: var(--accent); }
.partner__bio { margin-top: var(--s-4); font-size: var(--fs-md); font-weight: 300; line-height: 1.55; color: var(--ink); }
.partner__quals { margin-top: var(--s-4); display: grid; gap: var(--s-2); font-size: var(--fs-sm); }
.partner__quals li { display: flex; gap: 0.6em; align-items: baseline; }
.partner__quals li::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg) translateY(-1px); }
.partner .btn-row { margin-top: var(--s-5); }
@media (min-width: 768px) {
  .partners { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}
@media (min-width: 1024px) {
  .partner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-6); }
}
.partners--compact .partner { grid-template-columns: 120px 1fr; gap: var(--s-5); align-items: start; }
.partners--compact .portrait { max-width: 120px; }
.partners--compact .partner__bio { font-size: var(--fs-base); margin-top: var(--s-2); }
.partners--compact .btn-row { margin-top: var(--s-3); }

.compliance { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
.compliance__cell { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; align-content: start; padding: var(--s-5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.compliance__cell .icon { width: 2.25rem; height: 2.25rem; color: var(--accent); }
.compliance__title { font-size: var(--fs-md); font-weight: 400; color: var(--ink); }
.compliance__text { margin-top: var(--s-2); font-size: var(--fs-sm); line-height: 1.6; }
@media (min-width: 768px) { .compliance { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .compliance { grid-template-columns: repeat(4, 1fr); } .compliance__cell { grid-template-columns: 1fr; } }

.contact__grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 768px) { .contact__grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { display: grid; gap: var(--s-2); padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__city { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }
.contact-card__name { font-size: var(--fs-lg); font-weight: 400; color: var(--ink); }
.contact-card .btn-row { margin-top: var(--s-4); }
.contact-card__email { font-size: var(--fs-sm); }
