/* Briidges · the site. Built only from the system's tokens (system.css). */

.skip-link { position: absolute; z-index: var(--z-dialog); left: var(--space-base); top: var(--space-base); padding: var(--space-close) var(--space-base); background: var(--ink); color: var(--paper); border-radius: var(--radius-pill); font-size: var(--text-small); transform: translateY(-200%); transition: transform var(--dur-quick) var(--ease-settle); }
.skip-link:focus-visible { transform: none; }

.home { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--target-min); border-radius: var(--radius-soft); }

/* 1 · Opening. The question, then the water close beneath it. */
.hero { padding-block: var(--space-silence) var(--space-group); }
.hero .lead { max-width: 36ch; }
.sea-section.opening { padding-block: 0 var(--space-breath); }
.opening .sea { height: clamp(360px, 58vh, 600px); }

/* 2 · Beliefs read as one column with room between them */
.beliefs h3 { margin-top: var(--space-group); }
.beliefs h3:first-child { margin-top: 0; }
.beliefs p + p { margin-top: var(--space-close); }

/* 3 · The four qualities: each holds its own colour, the way the lenses do */
.qualities { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-group) var(--space-section); }
.qualities li { padding-left: var(--space-base); border-left: 2px solid var(--c); }
.qualities h3 { color: var(--c); font-weight: var(--weight-medium); margin-bottom: var(--space-hair); }
.qualities .ask { font-size: var(--text-lead); line-height: var(--leading-lead); font-weight: var(--weight-light); margin-bottom: var(--space-close); }
.qualities .ask + p { color: var(--ink-soft); }

/* 4 · How we work */
.ways { display: grid; gap: var(--space-group); }
.ways dt { font-size: var(--text-heading); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); font-weight: var(--weight-light); margin-bottom: var(--space-near); text-wrap: balance; }
.ways dd { color: var(--ink-soft); max-width: var(--measure); }

/* 6 · The Ending */
.ending .answer { margin-bottom: var(--space-group); }
.vow { color: var(--ink-soft); }
.let-us-build { margin-block: var(--space-section) var(--space-group); font-size: var(--text-heading); font-weight: var(--weight-whisper); letter-spacing: 0.12em; color: var(--ink-soft); }
.write { font-size: var(--text-small); color: var(--ink-faint); }

footer .small-mark { font-size: 1rem; }

@media (max-width: 600px) {
  .hero { padding-block: var(--space-breath) var(--space-apart); }
  .opening .sea { height: clamp(320px, 60vh, 520px); }
}

/* The specimen keeps a column for its contents list; the site has none */
body .page, body > footer { padding-left: max(var(--margin-page), env(safe-area-inset-left, 0px)); }
@media (max-width: 760px) {
  header.top { flex-wrap: nowrap; }
  .top-tools { padding-right: 0; }
}

/* Something hidden stays hidden, whatever its display */
[hidden] { display: none !important; }
.sea-line { max-width: none; }
#water { scroll-margin-top: 72px; }
/* Phones: the site has no lens bar to share the header with, so the tools stay fully legible */
@media (max-width: 760px) { html.js header.top:not(.awake) .top-tools { opacity: 1; } }

/* ── The water behind the page ───────────────────────────────── */
#ink { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* A moment: one scroll, one symbol, a few words that arrive while it dissolves */
.scene { min-height: 100svh; display: grid; place-items: center; text-align: center; padding-block: var(--space-breath); }
.scene .wrap { max-width: 760px; }
.scene p { margin-inline: auto; }
.scene h2 { font-size: var(--text-title); line-height: var(--leading-title); letter-spacing: var(--tracking-title); font-weight: var(--weight-whisper); margin-bottom: var(--space-apart); }
.scene .lead { max-width: 46ch; }
.quality h2 { font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); color: var(--c); font-weight: var(--weight-light); margin-bottom: var(--space-base); }
.quality .ask { font-size: var(--text-heading); line-height: var(--leading-heading); font-weight: var(--weight-light); margin-bottom: var(--space-apart); max-width: 24ch; text-wrap: balance; }
.quality .ask + p { color: var(--ink-soft); max-width: 44ch; }
/* The words wait for the symbol: they arrive out of soft focus once it has begun to dissolve */
html.js .after { opacity: 0; transform: translateY(var(--rise)); filter: blur(var(--blur-arrive));
  transition: opacity var(--dur-slow) var(--ease-settle), transform var(--dur-slow) var(--ease-settle), filter var(--dur-slow) var(--ease-settle);
  transition-delay: calc(1300ms + var(--i, 0) * 280ms); }
html.js .in .after, html.js .after.in { opacity: 1; transform: none; filter: none; }

#beliefs > .wrap { display: block; max-width: var(--width-narrow); }
.four-intro { border-top: 0; }
@media (prefers-reduced-motion: reduce) { html.js .after { transition-delay: 0ms; } }
/* The opening's light reaches past the hero's edges, so it fades out instead of being cut off */
.hero::before { inset: -40vh 0;
  background: radial-gradient(circle min(340px, 42vw) at var(--ax) calc(var(--ay) * 0.55 + 22.5%),
    color-mix(in srgb, var(--glow) 16%, transparent),
    color-mix(in srgb, var(--glow) 9%, transparent) 35%,
    color-mix(in srgb, var(--glow) 3%, transparent) 68%,
    transparent); }

html.js header.top.at-top, html.js header.top.at-top.awake { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
/* The hero sits inside the page margin, so its light reaches out to the screen's edges at every width;
   the page clips sideways so that reach never adds a horizontal scroll */
.hero::before { left: calc(50% - 50vw); right: calc(50% - 50vw); }
main.page { overflow-x: clip; }
/* The work: a name, the question it answers, and what it is */
.work h2 { font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); font-weight: var(--weight-light); margin-bottom: var(--space-base); text-wrap: balance; }
.work .ask { font-size: var(--text-heading); line-height: var(--leading-heading); font-weight: var(--weight-light); margin-bottom: var(--space-apart); max-width: 26ch; text-wrap: balance; }
.work .ask + p { color: var(--ink-soft); max-width: 46ch; }
