/* Psihoterapia Relațiilor — homepage
   Tokens mirror the design system (tokens.json). */

:root {
  --surface: #f7f1e8; --surface-raised: #fffaf3; --surface-sunken: #efe6d8;
  --ink: #1b2340; --ink-muted: #5a5f73; --line: #d9cdbb; --border-strong: #8a7f70;
  --teal: #136c70; --on-teal: #ffffff; --teal-soft: #d5e8e4;
  --ochre: #e0a045; --on-ochre: #1b2340; --ochre-soft: #f6e3bf;
  --coral: #f0a493; --rose: #f8dcd2; --heart: #c2412e; --mauve: #8b7689;
  --night: #1b2340; --on-night: #f7f1e8; --on-night-muted: #b9bccb;
  --shadow-card: 0 1px 2px rgba(27, 35, 64, .06), 0 12px 32px rgba(27, 35, 64, .08);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
  --radius-sm: 6px; --radius-md: 14px; --radius-lg: 28px; --radius-arch: 999px;

  --duration-quick: 200ms; --duration-reveal: 900ms; --duration-wash: 1200ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --font-display: Fraunces, Georgia, serif;
  --font-sans: "Instrument Sans", system-ui, sans-serif;

  --gutter: var(--space-12);
  --nav-h: 88px;
}
@media (max-width: 899px) { :root { --gutter: var(--space-4); --space-24: 72px; --space-32: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 16px/26px var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color var(--duration-wash) var(--ease-in-out);
}
body.wash { background: var(--rose); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: 100%; max-width: 1296px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 900px) { .container { padding-inline: calc(var(--gutter) * 2); } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--surface); padding: 8px 16px; border-radius: var(--radius-arch); }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.om-on-night :focus-visible { outline-color: var(--on-night); }
.em-heart { color: var(--heart); font-style: italic; }
.lede { font-size: 18px; line-height: 29px; }

/* ── shared components ─────────────────────────────────────────── */
.om-display { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
.om-eyebrow { font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

.om-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  border: 1.5px solid transparent; border-radius: var(--radius-arch);
  font: 600 15px/20px var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--teal); color: var(--on-teal);
  transition: transform var(--duration-quick) var(--ease-out), border-color var(--duration-quick);
}
.om-btn:hover { transform: translateY(-2px); }
.om-btn:active { transform: none; }
.om-btn--accent { background: var(--ochre); color: var(--on-ochre); }
.om-btn--on-night { background: transparent; color: var(--on-night); border-color: var(--on-night-muted); }
.om-btn--on-night:hover { border-color: var(--on-night); }
.om-btn--sm { min-height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.om-btn .om-arrow { transition: transform var(--duration-quick) var(--ease-out); }
.om-btn:hover .om-arrow { transform: translateX(4px); }

.om-tag {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-3);
  border: 1px solid var(--border-strong); border-radius: var(--radius-arch);
  font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}

.om-portrait { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; }
.om-portrait__shape { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--ochre); right: -14%; top: 8%; }
.om-portrait__shape--coral { background: var(--coral); }
.om-portrait__shape--left { right: auto; left: -14%; top: auto; bottom: 10%; }
.om-portrait__mask { position: absolute; inset: 0; overflow: hidden; background: var(--surface-sunken); border-radius: var(--radius-arch) var(--radius-arch) var(--radius-lg) var(--radius-lg); }
.om-portrait__mask img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.om-portrait--disc { aspect-ratio: 1; }
.om-portrait--disc .om-portrait__mask { border-radius: 50%; }

.om-service {
  display: flex; flex-direction: column; gap: var(--space-4);
  min-height: 340px; padding: var(--space-8);
  border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink);
}
.om-service__no { font: 300 44px/1 var(--font-display); color: var(--teal); }
.om-service__title { font: italic 400 26px/1.25 var(--font-display); }
.om-service__text { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.om-service--teal { background: var(--teal-soft); }
.om-service--ochre { background: var(--ochre-soft); }
.om-service--rose { background: var(--rose); }

.om-member { display: grid; gap: var(--space-2); }
.om-member .om-portrait { margin-bottom: var(--space-3); }
.om-member__name { font: italic 400 24px/1.25 var(--font-display); }
.om-member__role { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.om-member--empty .om-portrait__mask::after { content: ""; position: absolute; left: 50%; top: 42%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--line); transform: translate(-50%, -50%); }
.om-member--empty .om-member__name { color: var(--ink-muted); }

.om-reveal {
  opacity: 0; transform: translate3d(0, 32px, 0);
  transition: opacity var(--duration-reveal) var(--ease-out), transform var(--duration-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.om-reveal.is-in { opacity: 1; transform: none; }
.om-words .om-word { opacity: .14; transition: opacity 120ms linear; }
.om-words .om-word.is-lit { opacity: 1; }
.no-js .om-reveal { opacity: 1; transform: none; }

/* ── nav ───────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); pointer-events: none; }
.nav__bar { position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }
.nav__pill {
  pointer-events: auto; position: absolute; left: var(--gutter); right: var(--gutter); top: 16px; min-height: 56px;
  max-width: 1200px; margin-inline: auto; padding: 0 8px 0 24px;
  display: flex; align-items: center; gap: var(--space-8); border-radius: 28px;
  transition: background-color 400ms, box-shadow 400ms;
}
.nav.is-scrolled .nav__pill, .nav.is-open .nav__pill { background: var(--surface-raised); box-shadow: var(--shadow-card); }
.nav__name { font: 400 22px/1 var(--font-display); text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav__name em { font-style: italic; }
.nav__links { display: flex; gap: var(--space-8); }
.nav__link { font-weight: 600; font-size: 14px; text-decoration: none; padding: 8px 0; border-bottom: 1.5px solid transparent; transition: border-color var(--duration-quick); }
.nav__link:hover { border-color: var(--ink); }
.nav__toggle { display: none; font: 600 14px/20px var(--font-sans); color: var(--ink); background: none; border: 1.5px solid var(--border-strong); border-radius: var(--radius-arch); min-height: 40px; padding: 0 var(--space-4); cursor: pointer; }
@media (max-width: 899px) {
  .nav__pill { flex-wrap: wrap; gap: var(--space-2); padding: 8px 8px 8px 16px; }
  .nav__name { font-size: 18px; }
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__cta { display: none; }
  .nav__links { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding: var(--space-2) 0 var(--space-3); }
  .nav.is-open .nav__links { display: flex; }
  .nav__link { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
}

/* ── 1 · hero ──────────────────────────────────────────────────── */
.hero { position: relative; }
.hero__stick { position: relative; overflow: hidden; padding: calc(var(--nav-h) + var(--space-8)) 0 var(--space-24); }
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1296px; margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: var(--space-12); }
.hero__name { font: 400 15.2vw/.95 var(--font-display); letter-spacing: -.03em; }
.hero__word { display: block; white-space: nowrap; will-change: transform; }
.hero__word--b { font-style: italic; }
.hero__word > span { display: block; animation: rise 1200ms var(--ease-out) both; }
.hero__word--b > span { animation-delay: 140ms; }
.hero__meta { display: grid; gap: var(--space-4); margin-top: var(--space-8); max-width: 460px; animation: rise 1200ms var(--ease-out) 360ms backwards; }
.hero__lede { font-size: 20px; line-height: 30px; }
.hero__visual { position: relative; width: min(340px, 78%); margin-inline: auto; }
.hero__portrait { position: relative; z-index: 2; will-change: transform; }
.hero__portrait .om-portrait__mask { animation: arch 1400ms var(--ease-out) 100ms both; }
.hero__portrait img { transform: scale(1.12); will-change: transform; }
.hero__caption { position: relative; z-index: 2; margin-top: var(--space-4); text-align: center; font-size: 14px; line-height: 20px; color: var(--ink-muted); animation: rise 1200ms var(--ease-out) 480ms backwards; }
.hero__caption b { color: var(--ink); font-weight: 600; }
.shape { position: absolute; will-change: transform; }
.shape i { display: block; width: 100%; height: 100%; animation: pop 1400ms var(--ease-out) 300ms both; }
.shape--disc { right: -26%; top: -9%; width: 62%; aspect-ratio: 1; z-index: 0; }
.shape--disc i { border-radius: 50%; background: var(--ochre); }
.shape--pill { left: -30%; top: 56%; width: 14%; height: 34%; z-index: 1; }
.shape--pill i { border-radius: var(--radius-arch); background: var(--mauve); transform: rotate(24deg); }
.shape--quarter { left: -22%; bottom: 4%; width: 38%; aspect-ratio: 1; z-index: 1; }
.shape--quarter i { border-radius: 0 100% 0 0; background: var(--teal); }
.shape--half { left: 8%; bottom: 0; width: clamp(140px, 21vw, 256px); aspect-ratio: 2; }
.shape--half i { border-radius: 999px 999px 0 0; background: var(--coral); }
.cue { display: none; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 56px, 0); } to { opacity: 1; transform: none; } }
@keyframes arch { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(36px); opacity: 0; } }

@media (min-width: 900px) {
  .hero { height: 200vh; }
  .hero__stick { position: sticky; top: 0; height: 100vh; min-height: 620px; padding: var(--nav-h) 0 var(--space-12); display: grid; align-items: center; }
  .hero__inner { padding-inline: calc(var(--gutter) * 2); grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: var(--space-16); }
  .hero__name { font-size: clamp(4.25rem, 8.3vw, 7.5rem); }
  .hero__visual { width: min(340px, 100%, 46vh); }
  .shape--half { left: 36%; }
  .cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
  .cue i { width: 1.5px; height: 36px; background: var(--ink); transform-origin: 50% 0; animation: cue 2000ms var(--ease-in-out) infinite; }
}

/* ── 2 · motto ─────────────────────────────────────────────────── */
.motto { height: 220vh; }
.motto__stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; align-content: center; justify-items: center; text-align: center; gap: var(--space-8); padding-inline: var(--gutter); }
.motto__text { position: relative; z-index: 1; max-width: 940px; font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.06; letter-spacing: -.02em; }
.motto__by { font: italic 400 22px/1.3 var(--font-display); color: var(--ink-muted); }
.motto__disc { position: absolute; left: 8%; top: 70%; width: clamp(72px, 11vw, 128px); aspect-ratio: 1; border-radius: 50%; background: var(--teal); will-change: transform; }
.motto__half { position: absolute; right: 9%; top: 14%; width: clamp(110px, 16vw, 192px); aspect-ratio: 2; border-radius: 0 0 999px 999px; background: var(--ochre); will-change: transform; }

/* ── 3 · about ─────────────────────────────────────────────────── */
.about { padding-top: var(--space-24); }
.about__pin { display: none; }
.chapter { display: grid; gap: var(--space-4); padding-block: var(--space-12); }
.chapter__img { width: min(260px, 70%); margin-bottom: var(--space-4); }
.chapter__no { font: 300 44px/1 var(--font-display); color: var(--teal); }
.chapter h2 { font: 400 clamp(2rem, 3.4vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.015em; }
.chapter p:not(.om-eyebrow):not(.chapter__no) { color: var(--ink-muted); max-width: 520px; font-size: 18px; line-height: 29px; }
.chapter p.lede { color: var(--ink) !important; font-size: 20px !important; line-height: 30px !important; }
@media (min-width: 900px) {
  .about { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 520px); justify-content: space-between; column-gap: var(--space-16); align-items: start; }
  .about__pin { display: block; position: sticky; top: calc(50vh - 280px); }
  .about__frame { position: relative; width: min(340px, 100%); aspect-ratio: 3 / 4; }
  .about__shape { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--ochre); right: -16%; top: 9%; transition: transform var(--duration-reveal) var(--ease-out), background-color var(--duration-reveal); }
  .about__pin[data-step="1"] .about__shape { transform: translate(-158%, 132%); background: var(--teal); }
  .about__pin[data-step="2"] .about__shape { transform: translate(-21%, 158%) scale(.8); background: var(--coral); }
  .about__mask { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-lg) var(--radius-lg); background: var(--surface-sunken); }
  .about__mask img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: 0; transform: scale(1.08); transition: opacity var(--duration-reveal) var(--ease-in-out), transform 1600ms var(--ease-out); }
  .about__mask img.is-on { opacity: 1; transform: none; }
  .about__count { margin-top: var(--space-6); display: flex; align-items: center; gap: var(--space-3); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink-muted); }
  .about__count i { width: 28px; height: 2px; background: var(--line); transition: background-color 400ms, width 400ms; }
  .about__count i.is-on { background: var(--ink); width: 56px; }
  .chapter { min-height: 76vh; align-content: center; padding-block: 0; }
  .chapter__img { display: none; }
}

/* stats */
.stats { display: grid; gap: var(--space-12); padding-block: var(--space-16); margin-top: var(--space-12); border-top: 1px solid var(--line); }
.stat b { display: block; font: 300 clamp(4rem, 7.4vw, 5.5rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: var(--space-3); color: var(--ink-muted); max-width: 240px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); padding-block: var(--space-24); } }

/* ── team ──────────────────────────────────────────────────────── */
.team { padding-block: var(--space-12) var(--space-24); }
.team__head { display: grid; gap: var(--space-6); margin-bottom: var(--space-12); }
.team__head h2, .themes__pin h2, .reel__head h2 { font: 400 clamp(2.125rem, 4vw, 3rem)/1.08 var(--font-display); letter-spacing: -.015em; margin-top: var(--space-3); }
.team__head .lede { color: var(--ink-muted); max-width: 440px; }
.team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-4); align-items: start; }
@media (min-width: 900px) {
  .team__head { grid-template-columns: 1fr 420px; column-gap: var(--space-16); align-items: end; margin-bottom: var(--space-16); }
  .team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
  .team__grid .om-member:nth-child(even) { margin-top: var(--space-12); }
}

/* ── 4 · reel ──────────────────────────────────────────────────── */
.reel { background: var(--night); color: var(--on-night); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.reel .om-eyebrow { color: var(--on-night-muted); }
.reel__stick { padding-block: var(--space-24); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
.reel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
.reel__head h2 em { color: var(--ochre); }
.reel__meter { display: none; }
.reel__track { display: flex; gap: var(--space-4); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reel__track::-webkit-scrollbar { display: none; }
.reel__track .om-service { flex: none; width: min(300px, 78vw); scroll-snap-align: center; }
@media (min-width: 900px) {
  .reel__stick { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; align-content: center; padding-block: var(--nav-h) var(--space-8); }
  .reel__meter { display: flex; align-items: center; gap: var(--space-4); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--on-night-muted); font-variant-numeric: tabular-nums; }
  .reel__meter span { position: relative; width: 200px; height: 2px; background: rgba(247, 241, 232, .22); }
  .reel__meter span i { position: absolute; inset: 0; background: var(--ochre); transform-origin: 0 50%; transform: scaleX(0); }
  .reel__track { width: max-content; overflow: visible; gap: var(--space-6); padding-inline: max(calc(var(--gutter) * 2), calc((100vw - 1296px) / 2 + var(--gutter) * 2)); will-change: transform; }
  .reel__track .om-service { width: 320px; }
}

/* ── 5 · themes ────────────────────────────────────────────────── */
.themes { padding-block: var(--space-24); display: grid; gap: var(--space-12); }
.themes__pin { display: grid; gap: var(--space-4); }
.themes__pin .lede { color: var(--ink-muted); max-width: 420px; }
.themes__tags { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.stack { padding-bottom: var(--space-12); }
.card {
  position: sticky; top: calc(var(--nav-h) + 8px + var(--n) * 14px);
  min-height: 220px; margin-bottom: var(--space-8); padding: var(--space-6);
  border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: 56px 1fr; column-gap: var(--space-4); align-content: start;
  transform-origin: 50% 0; will-change: transform;
}
.card b { font: 300 36px/1.1 var(--font-display); color: var(--teal); }
.card h3 { font: italic 400 clamp(1.5rem, 2.6vw, 1.875rem)/1.2 var(--font-display); margin-bottom: var(--space-3); }
.card p { color: var(--ink-muted); font-size: 17px; line-height: 27px; }
.card--teal { background: var(--teal-soft); }
.card--ochre { background: var(--ochre-soft); }
.card--sunken { background: var(--surface-sunken); }
.card--night { background: var(--night); }
.card--night h3 { color: var(--on-night); } .card--night p { color: var(--on-night-muted); } .card--night b { color: var(--ochre); }
@media (min-width: 900px) {
  .themes { padding-block: var(--space-32) var(--space-24); grid-template-columns: minmax(0, 400px) minmax(0, 504px); justify-content: space-between; column-gap: var(--space-16); align-items: start; }
  .themes__pin { position: sticky; top: 150px; }
  .card { top: calc(136px + var(--n) * 16px); min-height: 260px; margin-bottom: 40px; padding: var(--space-8); grid-template-columns: 72px 1fr; column-gap: var(--space-6); }
  .card b { font-size: 44px; line-height: 1; }
}

/* ── contact ───────────────────────────────────────────────────── */
.contact { position: relative; background: var(--night); color: var(--on-night); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding-block: var(--space-24) var(--space-8); overflow: hidden; }
.contact .om-eyebrow { color: var(--on-night-muted); }
.contact__top { display: grid; gap: var(--space-12); }
.contact h2 { font: 400 clamp(2.25rem, 5.3vw, 4rem)/1.06 var(--font-display); letter-spacing: -.02em; max-width: 660px; margin: var(--space-4) 0 var(--space-8); }
.contact h2 em { color: var(--ochre); }
.contact__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.contact__photo { width: min(240px, 60%); margin-left: 12%; will-change: transform; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-8); margin-top: var(--space-16); padding-top: var(--space-8); border-top: 1px solid rgba(247, 241, 232, .22); }
.contact__grid p + p { margin-top: var(--space-2); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-12); margin-top: var(--space-16); font-size: 13px; line-height: 20px; color: var(--on-night-muted); }
@media (min-width: 900px) {
  .contact { padding-block: var(--space-32) var(--space-12); }
  .contact__top { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; column-gap: var(--space-16); }
  .contact h2 { margin-bottom: var(--space-12); }
  .contact__photo { width: 300px; margin: 0; }
  .contact__grid { grid-template-columns: repeat(3, 220px); gap: var(--space-12); margin-top: var(--space-24); }
  .foot { margin-top: var(--space-24); }
}

/* ── reduced motion: everything in flow, at rest ───────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .om-reveal { opacity: 1; transform: none; }
  .om-words .om-word { opacity: 1; }
  .hero, .motto { height: auto; }
  .hero__stick, .motto__stick { position: relative; }
  .hero__portrait img { transform: none; }
  .reel__stick { position: relative; height: auto; }
  .reel__track { width: auto; overflow-x: auto; }
  .card { position: relative; top: auto; }
  .cue { display: none; }
}

/* ══ relationship motifs ═══════════════════════════════════════════ */
/* hands that meet under the motto */
.motto__stick { padding-bottom: 22vh; }
.hands { position: absolute; left: 0; bottom: 5vh; width: 100%; height: clamp(120px, 15vw, 260px); pointer-events: none; }
.hand { will-change: transform; }
/* colours reach the <use> copies through inherited custom properties */
.hand--l { --skin: var(--coral); --sleeve: var(--teal); --cuff: var(--ochre); }
.hand--r { --skin: var(--ochre); --sleeve: var(--night); --cuff: var(--coral); }
.hand__skin { fill: var(--skin); }
.hand__sleeve { fill: var(--sleeve); }
.hand__cuff { fill: var(--cuff); }
.hands__spark { fill: var(--heart); transform-box: fill-box; transform-origin: center; transform: scale(0); }
.hands__ring { fill: none; stroke: var(--heart); stroke-width: 2; transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }

/* two threads that braid together */
.threads { width: 100%; max-width: 1296px; margin: 0 auto; padding-inline: var(--gutter); }
.threads svg { display: block; width: 100%; height: clamp(72px, 12vw, 160px); overflow: visible; }
.draw { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.threads__a { stroke: var(--teal); }
.threads__b { stroke: var(--coral); }

/* a second disc joins the one behind the contact portrait */
.contact__join { background: var(--ochre); right: -10%; top: 4%; width: 44%; will-change: transform; }

/* ══ team card as link ═════════════════════════════════════════════ */
.om-member--link { text-decoration: none; color: inherit; }
.om-member--link .om-portrait__mask img { transition: transform 900ms var(--ease-out); }
.om-member--link:hover .om-portrait__mask img { transform: scale(1.05); }
.om-member__more { font-weight: 600; font-size: 14px; color: var(--teal); margin-top: var(--space-1); }

/* ══ blog: covers, cards, section ══════════════════════════════════ */
.cover { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; --t: 0; }
.cover i { position: absolute; display: block; will-change: transform; }
/* two halves become one circle */
.cover--imago { background: var(--teal-soft); }
.cover--imago .a { right: 50%; top: 50%; width: 24%; aspect-ratio: 1 / 2; background: var(--coral); border-radius: 999px 0 0 999px; transform: translate(calc((1 - var(--t)) * -70%), -50%); }
.cover--imago .b { left: 50%; top: 50%; width: 24%; aspect-ratio: 1 / 2; background: var(--teal); border-radius: 0 999px 999px 0; transform: translate(calc((1 - var(--t)) * 70%), -50%); }
/* two circles overlap */
.cover--myths { background: var(--ochre-soft); }
.cover--myths .a, .cover--myths .b { top: 50%; left: 50%; width: 40%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; }
.cover--myths .a { background: var(--ochre); transform: translate(calc(-78% - (1 - var(--t)) * 42%), -50%); }
.cover--myths .b { background: var(--coral); transform: translate(calc(-22% + (1 - var(--t)) * 42%), -50%); }
/* a disc comes close and stops at a line */
.cover--limits { background: var(--rose); }
.cover--limits .a { left: 14%; bottom: 0; width: 28%; height: 64%; background: var(--teal); border-radius: 999px 999px 0 0; }
.cover--limits .b { left: 50%; top: 16%; width: 2.4%; height: 68%; background: var(--night); border-radius: 999px; }
.cover--limits .c { left: 56%; top: 50%; width: 24%; aspect-ratio: 1; background: var(--ochre); border-radius: 50%; transform: translate(calc((1 - var(--t)) * 90%), -30%); }

.blog { padding-block: var(--space-12) var(--space-24); }
.blog__head { display: grid; gap: var(--space-6); margin-bottom: var(--space-12); }
.blog__head h2 { font: 400 clamp(2.125rem, 4vw, 3rem)/1.08 var(--font-display); letter-spacing: -.015em; margin-top: var(--space-3); }
.blog__head .lede { color: var(--ink-muted); max-width: 440px; }
.blog__grid { display: grid; gap: var(--space-12) var(--space-6); }
.post-card { display: grid; gap: var(--space-3); align-content: start; text-decoration: none; color: inherit; }
.post-card .cover { margin-bottom: var(--space-3); transition: transform var(--duration-quick) var(--ease-out); }
.post-card:hover .cover { transform: translateY(-6px); }
.post-card__title { font: 400 26px/1.2 var(--font-display); letter-spacing: -.01em; }
.post-card__text { color: var(--ink-muted); }
.post-card__more { font-weight: 600; font-size: 14px; color: var(--teal); }
@media (min-width: 900px) {
  .blog__head { grid-template-columns: 1fr 420px; column-gap: var(--space-16); align-items: end; margin-bottom: var(--space-16); }
  .blog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog__grid .post-card:nth-child(2) { margin-top: var(--space-12); }
}

/* ══ subpages: shared ══════════════════════════════════════════════ */
.page { padding-top: calc(var(--nav-h) + var(--space-12)); }
.back { display: inline-flex; gap: var(--space-2); font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink-muted); margin-bottom: var(--space-8); }
.back:hover { color: var(--ink); }

/* ══ team member page ══════════════════════════════════════════════ */
.profile { display: grid; gap: var(--space-12); padding-bottom: var(--space-24); }
.profile__pin { width: min(300px, 76%); }
.profile__frame { position: relative; aspect-ratio: 3 / 4; }
.profile__shape { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--ochre); right: -16%; top: 9%; transition: transform var(--duration-reveal) var(--ease-out), background-color var(--duration-reveal); }
.profile__pin[data-step="1"] .profile__shape { transform: translate(-158%, 132%); background: var(--teal); }
.profile__pin[data-step="2"] .profile__shape { transform: translate(-21%, 158%) scale(.8); background: var(--coral); }
.profile__mask { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-lg) var(--radius-lg); background: var(--surface-sunken); animation: arch 1400ms var(--ease-out) 100ms both; }
.profile__mask img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; opacity: 0; transform: scale(1.08); transition: opacity var(--duration-reveal) var(--ease-in-out), transform 1600ms var(--ease-out); }
.profile__mask img.is-on { opacity: 1; transform: none; }
.profile__facts { margin-top: var(--space-8); display: grid; gap: var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.profile__facts b { display: block; color: var(--ink); font-weight: 600; }
.psec { padding-block: var(--space-8); display: grid; gap: var(--space-4); max-width: 620px; }
.psec--head { padding-top: 0; }
.psec h1 { font: 400 clamp(3rem, 7vw, 5.5rem)/.98 var(--font-display); letter-spacing: -.03em; }
.psec h1 em { font-style: italic; }
.psec h2 { font: 400 clamp(1.875rem, 3.2vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.015em; }
.psec p { color: var(--ink-muted); font-size: 18px; line-height: 29px; }
.psec p.lede { color: var(--ink); font-size: 20px; line-height: 30px; }
.psec .om-eyebrow { font-size: 12px; line-height: 16px; }
.psec__tags { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.psec__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-2); }
.om-btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.om-btn--ghost:hover { border-color: var(--ink); }
.om-tag--teal { background: var(--teal-soft); border-color: transparent; }
.om-tag--ochre { background: var(--ochre-soft); border-color: transparent; }
.om-tag--rose { background: var(--rose); border-color: transparent; }
.pquote { margin: var(--space-4) 0; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--rose); }
.pquote p { font: 400 clamp(1.5rem, 3vw, 2rem)/1.25 var(--font-display); color: var(--ink); }
.pquote cite { display: block; margin-top: var(--space-4); font: italic 400 18px/1.3 var(--font-display); color: var(--ink-muted); }
.timeline { position: relative; list-style: none; margin: var(--space-4) 0 0; padding: 0 0 0 var(--space-8); display: grid; gap: var(--space-8); --t: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--teal); transform-origin: 50% 0; transform: scaleY(var(--t)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(var(--space-8) * -1); top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--teal); z-index: 1; }
.timeline b { display: block; font: italic 400 22px/1.3 var(--font-display); color: var(--ink); }
.timeline span { color: var(--ink-muted); }
.topics { display: grid; gap: var(--space-6); margin-top: var(--space-2); }
.topics h3 { font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.pstats b { display: block; font: 300 clamp(2.75rem, 6vw, 4rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pstats span { display: block; margin-top: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
@media (min-width: 900px) {
  .profile { grid-template-columns: minmax(0, 340px) minmax(0, 620px); justify-content: space-between; column-gap: var(--space-16); align-items: start; }
  .profile__pin { position: sticky; top: calc(var(--nav-h) + var(--space-8)); width: min(320px, 100%, 44vh); }
  .psec { padding-block: var(--space-12); }
  .psec--head { min-height: calc(100vh - var(--nav-h) - var(--space-24)); align-content: center; padding-top: 0; }
  .topics { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

/* ══ article page ══════════════════════════════════════════════════ */
.post__head { max-width: 860px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: var(--space-4); }
.post__head h1 { font: 400 clamp(2.5rem, 6vw, 4.5rem)/1.04 var(--font-display); letter-spacing: -.025em; text-wrap: balance; animation: rise 1200ms var(--ease-out) both; }
.post__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.post__cover { margin-top: var(--space-12); aspect-ratio: 4 / 3; animation: rise 1200ms var(--ease-out) 200ms backwards; }
.post__body { max-width: 680px; margin-inline: auto; padding-block: var(--space-16) var(--space-12); }
.post__body > * + * { margin-top: var(--space-6); }
.post__body p, .post__body li { font-size: 19px; line-height: 31px; color: var(--ink); }
.post__body p.intro { font: 400 clamp(1.375rem, 2.6vw, 1.625rem)/1.4 var(--font-display); }
.post__body h2 { font: 400 clamp(1.75rem, 3.2vw, 2.25rem)/1.15 var(--font-display); letter-spacing: -.015em; margin-top: var(--space-16); }
.post__body h2 .no { display: block; font: 300 44px/1 var(--font-display); color: var(--teal); margin-bottom: var(--space-3); }
.post__body ul, .post__body ol { padding-left: 1.2em; display: grid; gap: var(--space-3); }
.post__body li::marker { color: var(--teal); }
.post__body em { font-style: italic; }
.post__pull { margin-block: var(--space-16); font: 400 clamp(1.875rem, 4.6vw, 3rem)/1.12 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.post__steps { list-style: none; padding: 0 !important; display: grid; gap: var(--space-4); }
.post__steps li { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-raised); }
.post__steps li:nth-child(2) { background: var(--teal-soft); }
.post__steps li:nth-child(3) { background: var(--ochre-soft); }
.post__steps b { display: block; font: italic 400 24px/1.25 var(--font-display); margin-bottom: var(--space-2); }
.post__note { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-sunken); font-size: 15px !important; line-height: 24px !important; color: var(--ink-muted) !important; margin-top: var(--space-16) !important; }
.post__author { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-12) !important; padding-top: var(--space-8); border-top: 1px solid var(--line); }
.post__author .dot { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--teal); position: relative; overflow: hidden; }
.post__author .dot::after { content: ""; position: absolute; inset: 0 0 0 50%; background: var(--coral); }
.post__author p { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.post__author b { display: block; color: var(--ink); font-size: 16px; }
.more { padding-block: var(--space-12) var(--space-24); }
.more h2 { font: 400 clamp(1.875rem, 3.2vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.015em; margin-bottom: var(--space-12); }
.more__grid { display: grid; gap: var(--space-12) var(--space-6); }
@media (min-width: 700px) { .more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .post__cover { aspect-ratio: 21 / 9; } }

@media (prefers-reduced-motion: reduce) {
  .draw { stroke-dashoffset: 0; }
  .hands__spark { transform: none; }
  .cover { --t: 1; }
  .timeline { --t: 1; }
  .profile__pin { position: relative; top: auto; }
}

/* article column: 680px of text inside the page gutters */
.post__body.container { max-width: calc(680px + var(--gutter) * 2); }
@media (min-width: 900px) {
  .post__body.container { max-width: calc(680px + var(--gutter) * 4); }
  /* wide article covers: size the shapes from the cover's height */
  .post__cover.cover--imago .a, .post__cover.cover--imago .b { width: auto; height: 76%; }
  .post__cover.cover--myths .a, .post__cover.cover--myths .b { width: auto; height: 70%; }
  .post__cover.cover--limits .a { width: 15%; height: 70%; }
  .post__cover.cover--limits .c { width: auto; height: 42%; }
}

/* ══ events ════════════════════════════════════════════════════════ */
/* six dots gather into a ring */
.cover--circle { background: var(--rose); }
.cover--circle i { left: 50%; top: 50%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--teal); transform: translate(-50%, -50%) rotate(calc(var(--k) * 60deg)) translateY(calc(-150% - (1 - var(--t)) * 170%)); }
.cover--circle i:nth-child(1) { --k: 0; } .cover--circle i:nth-child(2) { --k: 1; background: var(--coral); }
.cover--circle i:nth-child(3) { --k: 2; background: var(--ochre); } .cover--circle i:nth-child(4) { --k: 3; }
.cover--circle i:nth-child(5) { --k: 4; background: var(--coral); } .cover--circle i:nth-child(6) { --k: 5; background: var(--ochre); }
/* a sun rises beside an arch */
.cover--retreat { background: var(--ochre-soft); }
.cover--retreat .a { left: 22%; bottom: 0; width: 30%; height: 58%; background: var(--teal); border-radius: 999px 999px 0 0; }
.cover--retreat .b { left: 50%; top: 22%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--coral); transform: translateY(calc((1 - var(--t)) * 120%)); }

.events { padding-block: var(--space-12) var(--space-24); }
.events__list { display: grid; border-top: 1px solid var(--line); }
.event { display: grid; gap: var(--space-4); padding-block: var(--space-8); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.event__art { width: min(220px, 60%); margin: 0; }
.event__body { display: grid; gap: var(--space-2); align-content: center; }
.event__body h3 { font: 400 clamp(1.625rem, 3vw, 2.25rem)/1.15 var(--font-display); letter-spacing: -.015em; }
.event__body p:not(.om-eyebrow) { color: var(--ink-muted); max-width: 460px; }
.event__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.event__go { font-weight: 600; font-size: 14px; color: var(--teal); white-space: nowrap; transition: transform var(--duration-quick) var(--ease-out); }
a.event:hover .event__go { transform: translateX(6px); }
a.event .event__body h3 { transition: color var(--duration-quick); }
a.event:hover .event__body h3 { color: var(--teal); }
@media (min-width: 900px) {
  .event { grid-template-columns: 200px minmax(0, 1fr) auto; column-gap: var(--space-12); align-items: center; }
  .event__art { width: 200px; }
  .event__meta { flex-direction: column; align-items: flex-end; gap: var(--space-3); }
}

/* event page */
.ev__head { display: grid; gap: var(--space-12); align-items: center; }
.ev__head h1 { font: 400 clamp(2.75rem, 6vw, 4.75rem)/1.02 var(--font-display); letter-spacing: -.025em; text-wrap: balance; margin: var(--space-4) 0 var(--space-6); animation: rise 1200ms var(--ease-out) both; }
.ev__head .lede { font-size: 20px; line-height: 30px; max-width: 520px; }
.ev__head .psec__cta { margin-top: var(--space-8); }
.ev__head .cover { animation: rise 1200ms var(--ease-out) 200ms backwards; }
.ev__layout { display: grid; gap: var(--space-8); padding-bottom: var(--space-24); }
.ev__layout .post__body { margin: 0; padding-block: var(--space-12) 0; }
.ticket { padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-card); display: grid; gap: var(--space-6); margin-top: var(--space-12); }
.ticket dl { margin: 0; display: grid; gap: var(--space-4); }
.ticket dt { font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.ticket dd { margin: var(--space-1) 0 0; font-size: 17px; line-height: 26px; }
.ticket dd a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; }
.ticket .om-btn { width: 100%; }
.ticket small { font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) 0; font: 400 22px/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--font-display); color: var(--teal); transition: transform var(--duration-quick) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--space-6); color: var(--ink-muted) !important; font-size: 17px !important; line-height: 28px !important; }
.host { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-6); align-items: center; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--teal-soft); text-decoration: none; color: inherit; }
.host b { display: block; font: italic 400 24px/1.25 var(--font-display); }
.host span { display: block; color: var(--ink-muted); font-size: 15px; line-height: 22px; margin-top: var(--space-1); }
.host em { display: block; margin-top: var(--space-2); font-style: normal; font-weight: 600; font-size: 14px; color: var(--teal); }
@media (min-width: 900px) {
  .ev__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: var(--space-16); }
  .ev__layout { grid-template-columns: minmax(0, 680px) minmax(0, 340px); justify-content: space-between; column-gap: var(--space-16); align-items: start; }
  .ticket { position: sticky; top: calc(var(--nav-h) + var(--space-6)); margin-top: var(--space-16); }
}
@media (prefers-reduced-motion: reduce) { .ticket { position: relative; top: auto; } }

/* ══ listing pages (blog, events) ══════════════════════════════════ */
.section__more { display: flex; justify-content: center; margin-top: var(--space-12); }
.nav__link[aria-current="page"] { border-color: var(--ink); }
.listing__head { display: grid; gap: var(--space-4); padding-bottom: var(--space-12); }
.listing__head h1 { font: 400 clamp(2.75rem, 7vw, 5.5rem)/1 var(--font-display); letter-spacing: -.03em; text-wrap: balance; animation: rise 1200ms var(--ease-out) both; }
.listing__head .lede { color: var(--ink-muted); max-width: 560px; font-size: 20px; line-height: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.chip {
  min-height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-arch);
  border: 1.5px solid var(--border-strong); background: transparent; color: var(--ink);
  font: 600 14px/20px var(--font-sans); cursor: pointer;
  transition: background-color var(--duration-quick), color var(--duration-quick), border-color var(--duration-quick);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.listing { padding-bottom: var(--space-24); }
.listing__sub { font: 400 clamp(1.875rem, 3.2vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.015em; margin-bottom: var(--space-8); }
.listing__grid { display: grid; gap: var(--space-12) var(--space-6); }
.listing__empty { color: var(--ink-muted); padding-block: var(--space-12); font-size: 18px; }
.is-hidden { display: none !important; }
@media (min-width: 700px) {
  .listing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--feature { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .post-card--feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: var(--space-12); align-content: center; }
  .post-card--feature .cover { grid-column: 1; grid-row: 1 / span 4; margin-bottom: 0; }
  .post-card--feature > :not(.cover) { grid-column: 2; }
  .post-card--feature > .om-eyebrow { align-self: end; }
  .post-card--feature .post-card__title { font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.1; }
  .post-card--feature .post-card__text { font-size: 18px; line-height: 29px; }
  .post-card--feature > .post-card__more { align-self: start; }
}

.formats { display: grid; gap: var(--space-6); }
.format { padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface-raised); display: grid; gap: var(--space-3); align-content: start; }
.format--teal { background: var(--teal-soft); }
.format--ochre { background: var(--ochre-soft); }
.format__no { font: 300 44px/1 var(--font-display); color: var(--teal); }
.format h3 { font: italic 400 26px/1.25 var(--font-display); }
.format p { color: var(--ink-muted); }
.cta-band { margin-top: var(--space-16); padding: var(--space-12) var(--space-8); border-radius: var(--radius-lg); background: var(--rose); display: grid; gap: var(--space-4); justify-items: start; }
.cta-band h2 { font: 400 clamp(1.875rem, 3.6vw, 2.75rem)/1.1 var(--font-display); letter-spacing: -.015em; max-width: 640px; }
.cta-band p { color: var(--ink-muted); max-width: 520px; font-size: 18px; line-height: 29px; }
.cta-band .om-btn { margin-top: var(--space-2); }
@media (min-width: 900px) {
  .formats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band { padding: var(--space-16); }
}

/* ══ 404, photo covers, preview bar, host without photo ═══════════ */
.notfound { min-height: 70vh; display: grid; align-content: center; justify-items: start; gap: var(--space-4); padding-bottom: var(--space-24); }
.notfound__art { width: min(260px, 70%); margin-bottom: var(--space-4); }
.notfound h1 { font: 400 clamp(2.5rem, 6vw, 4.5rem)/1.04 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }
.notfound .lede { color: var(--ink-muted); max-width: 520px; font-size: 20px; line-height: 30px; }
.cover--photo img { width: 100%; height: 100%; object-fit: cover; }
.post__body img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.host__dot { width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--ochre); }
.preview-bar { position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%); padding: 10px 18px; border-radius: var(--radius-arch); background: var(--ink); color: var(--surface); font: 600 13px/18px var(--font-sans); box-shadow: var(--shadow-card); }
