/* A Family Legacy: page styles. Grammar: single axis. Engine CSS loads first. */
@font-face { font-family: "Gazpacho"; src: url("../assets/fonts/gazpacho-bold.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Gazpacho"; src: url("../assets/fonts/gazpacho-bold-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Lulo"; src: url("../assets/fonts/lulo-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --sc-canvas: #EEE4D7; --sc-surface: #F7F4F4; --sc-ink: #2C3A4F; --sc-ink-soft: #4F5B6D;
  --sc-accent: #40536E; --sc-accent-ink: #F7F4F4;
  --flc-sky: #C6DAE5; --flc-stone: #E5E3E2;
  --sc-font-display: "Gazpacho", Georgia, serif; --sc-font-text: "Manrope", system-ui, sans-serif;
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-pill: 999px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --axis-x: 46vw;
  --pad-l: clamp(28px, 3.6vw, 56px);
  --pad-r: clamp(24px, 6vw, 96px);
  --rowgap: clamp(72px, 8.5vw, 120px);
  --line: color-mix(in srgb, var(--sc-ink) 22%, transparent);
}

html { background: var(--sc-canvas); }
body {
  margin: 0; background: var(--sc-canvas); color: var(--sc-ink);
  font-family: var(--sc-font-text); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.55; font-weight: 450; overflow-x: clip;
}
h1, h2, h3, .statement, .pull, blockquote p { text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { display: block; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--sc-ink); color: var(--sc-surface); padding: 12px 18px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; }
.hero-frame :focus-visible, .panel--navy :focus-visible { outline-color: var(--flc-sky); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 24px; border-radius: var(--r-pill); border: 0; text-decoration: none;
  font: 650 0.96rem/1.15 var(--sc-font-text); letter-spacing: 0.005em; text-align: center;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn--light { background: var(--sc-surface); color: var(--sc-ink); }
.btn--navy { background: var(--sc-ink); color: var(--sc-surface); }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #fff; box-shadow: 0 6px 18px -8px rgba(0,0,0,.45); }
  .btn--navy:hover { background: var(--sc-accent); }
  .text-link:hover { text-decoration-thickness: 2px; }
  .chip:hover { border-color: var(--sc-ink); }
  .tabs [role="tab"]:hover:not([aria-selected="true"]) { background: rgba(247,244,244,.7); }
  summary:hover { color: var(--sc-accent); }
  .hero-links a:hover, .hero-phone:hover { text-decoration: underline; text-underline-offset: 6px; }
}
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link--light { color: var(--sc-surface); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(247,244,244,.5); color: var(--sc-surface); }
.icon-btn:active { transform: scale(0.97); }
svg use { pointer-events: none; }

/* ---------- hero ---------- */
.hero-stage { height: 100svh; }
.hero-frame {
  position: relative; box-sizing: border-box; height: calc(100% - 24px); margin: 12px;
  border-radius: var(--r-lg); background: var(--sc-ink); color: var(--sc-surface); overflow: hidden;
  display: grid; grid-template-columns: 42% 58%; grid-template-rows: auto minmax(0, 1fr);
}
.hero-nav { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); padding: 14px 20px 14px 28px; position: relative; z-index: 3; }
.hero-logo { display: block; width: 64px; flex: none; }
.hero-logo img { width: 100%; height: auto; }
.hero-links { display: flex; gap: clamp(16px, 2vw, 30px); list-style: none; margin: 0 auto 0 12px; padding: 0; font-weight: 550; font-size: 0.95rem; }
.hero-links a, .hero-phone { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--sc-surface); }
.hero-phone { font-weight: 650; font-size: 0.95rem; }
.hero-call { display: none; }

.hero-type { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; justify-content: center; padding: 0 28px clamp(28px, 4vh, 56px) clamp(28px, 4vw, 64px); position: relative; z-index: 2; min-width: 0; }
.hero-tag { color: var(--flc-sky); font-weight: 650; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.hero-h1 { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.5rem, 4.7vw, 4.6rem); line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 20px; color: var(--sc-surface); }
.hl { display: block; will-change: transform; }
.hero-line { font-family: var(--sc-font-display); font-style: italic; font-size: clamp(1.25rem, 1.6vw, 1.6rem); color: var(--flc-sky); margin-bottom: 14px; }
.hero-sub { max-width: 40ch; color: rgba(247,244,244,.9); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }

.hero-photo { grid-column: 2; grid-row: 2; position: relative; margin: 0 12px 12px 0; border-radius: 0 calc(var(--r-lg) - 10px) calc(var(--r-lg) - 10px) 0; overflow: hidden; clip-path: url(#seamClip); background: var(--flc-stone); }
.hero-photo-inner { position: absolute; inset: 0; transform-origin: 50% 0; transform: scale(1.05); will-change: transform; }
.hero-photo .hf { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; }
.hf-b, .hf-c, .hf-d { opacity: 0; }
.hero-seam { grid-column: 2; grid-row: 2; width: calc(100% - 12px); height: calc(100% - 12px); overflow: visible; pointer-events: none; position: relative; z-index: 2; }
.hero-seam path { fill: none; stroke: var(--sc-canvas); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.hero-ring { position: absolute; left: 52%; top: 62%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 2px solid var(--sc-surface); opacity: 0; transform: scale(0.3); pointer-events: none; }
.hero-ring.pulse { animation: ring 760ms var(--ease) 1 both; }
@keyframes ring { 0% { opacity: .95; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.9); } }
.hero-caption {
  position: absolute; right: 36px; bottom: 36px; z-index: 3; margin: 0; max-width: 300px;
  background: var(--sc-surface); color: var(--sc-ink); border-radius: var(--r-md); padding: 18px 20px 16px;
  box-shadow: 0 18px 40px -20px rgba(20,28,40,.55); opacity: 0;
}
.hero-caption blockquote { margin: 0; }
.hero-caption p { font-family: var(--sc-font-display); font-size: 1.06rem; line-height: 1.3; margin: 0 0 8px; }
.hero-caption figcaption { font-size: 0.8rem; font-weight: 650; color: var(--sc-ink-soft); }

/* ---------- spine and axis ---------- */
.spine { position: relative; padding-top: var(--rowgap); }
.axis { position: absolute; left: calc(var(--axis-x) - 1px); top: 0; width: 2px; height: var(--axis-h, 100%); background: color-mix(in srgb, var(--sc-accent) 25%, transparent); pointer-events: none; }
.axis-fill { position: absolute; inset: 0; background: var(--sc-accent); transform-origin: 50% 0; transform: scaleY(0); }
.row { position: relative; display: grid; grid-template-columns: var(--axis-x) minmax(0, 1fr); }
.row + .row { margin-top: var(--rowgap); }
.lab { display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding: 0 var(--pad-l) 0 24px; min-width: 0; }
.main { padding: 0 var(--pad-r) 0 var(--pad-l); min-width: 0; }
.node { position: absolute; left: calc(var(--axis-x) - 8px); top: 14px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; background: var(--sc-canvas); border: 2px solid var(--sc-accent); z-index: 2; }
.node::after, .step-dot::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--sc-accent); transform: scale(0); transition: transform 300ms var(--ease); }
.node.is-on::after, .step-dot.is-on::after { transform: scale(1); }

.h2 { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 14px; color: var(--sc-ink); max-width: 12ch; }
.h3 { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.25rem, 1.5vw, 1.5rem); line-height: 1.2; margin: 0 0 12px; }
.tag { font-family: var(--sc-font-text); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-accent); margin: 6px 0 28px; }
.lab-sub { font-family: var(--sc-font-display); font-style: italic; font-size: 1.2rem; line-height: 1.35; color: var(--sc-accent); max-width: 22ch; }
.prose { max-width: 62ch; }
.lede { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.3rem); line-height: 1.55; max-width: 52ch; margin-bottom: 40px; }
.panel { border-radius: var(--r-lg); padding: clamp(24px, 3.8vw, 56px); margin-left: calc(-1 * var(--pad-l)); }
.beyond .main, .who .main { padding-right: clamp(12px, 2vw, 24px); }
.panel--navy { background: var(--sc-ink); --sc-ink-on: var(--sc-surface); color: var(--sc-surface); }
.panel--sky { background: var(--flc-sky); color: var(--sc-ink); }

/* 2. why */
.statement { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.1rem, 3.7vw, 3.6rem); line-height: 1.08; letter-spacing: -0.015em; max-width: 15ch; margin: 0 0 36px; color: var(--sc-ink); }
.print { margin: 0; background: var(--sc-surface); padding: 14px 14px 46px; box-shadow: 0 22px 44px -26px rgba(44,58,79,.6); transform: rotate(-2.4deg); width: min(330px, 100%); }
.print img { width: 100%; height: auto; }

/* 3. familiar */
.familiar .h2 { max-width: 9ch; }
.chips-hint { font-size: 0.92rem; color: var(--sc-ink-soft); margin-bottom: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 12px; max-width: 640px; position: relative; z-index: 1; }
.chip {
  min-height: 46px; padding: 0 20px; border-radius: var(--r-pill); border: 1.5px solid color-mix(in srgb, var(--sc-ink) 38%, transparent);
  background: var(--sc-canvas); color: var(--sc-ink); font: 550 1rem/1 var(--sc-font-text); cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 160ms var(--ease);
}
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--sc-ink); color: var(--sc-surface); border-color: var(--sc-ink); }
.common { position: relative; margin: 96px 0 0; max-width: 30ch; font-family: var(--sc-font-display); font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.3; z-index: 1; }
.common strong { font-weight: 700; color: var(--sc-accent); }
.common-node { position: absolute; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; background: var(--sc-accent); border: 4px solid var(--sc-canvas); box-shadow: 0 0 0 2px var(--sc-accent); z-index: 2; }
.fan { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.fan path { fill: none; stroke: var(--sc-accent); stroke-width: 1.25; opacity: .42; transition: opacity 240ms var(--ease); }
.fan path.on { opacity: 1; stroke-width: 2; }

/* 4. beyond */
.beyond-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.beyond-copy p { color: rgba(247,244,244,.92); }
.beyond-goal { font-family: var(--sc-font-display); font-size: 1.3rem; line-height: 1.35; color: var(--sc-surface) !important; margin-top: 24px; }
.beyond-goal em { color: var(--flc-sky); }
.scan { margin: 0; background: #fff; border-radius: var(--r-md); overflow: hidden; }
.scan img { width: 100%; height: auto; }
.beyond-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(247,244,244,.2); }
.beyond-lists .safe { grid-column: 1 / -1; max-width: 62ch; }
.panel--navy .h3 { color: var(--sc-surface); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--sc-accent); }
.panel--navy .checks svg { color: var(--flc-sky); }

/* 5. who */
.tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px; border-radius: var(--r-pill); background: rgba(247,244,244,.55); }
.tabs [role="tab"] {
  position: relative; z-index: 1; min-height: 46px; border: 0; background: transparent; border-radius: var(--r-pill);
  color: var(--sc-ink); font: 650 0.96rem/1.1 var(--sc-font-text); cursor: pointer; padding: 0 10px;
  transition: color 220ms var(--ease), background-color 200ms var(--ease), transform 160ms var(--ease);
}
.tabs [role="tab"]:active { transform: scale(0.97); }
.tabs [role="tab"][aria-selected="true"] { color: var(--sc-surface); }
.tabs-pill { position: absolute; left: 0; top: 0; border-radius: var(--r-pill); background: var(--sc-ink); box-shadow: 0 6px 14px -8px rgba(20,28,40,.6); transition: transform 280ms var(--ease); }
.tabpanel { margin-top: 32px; }
.tabpanel:focus-visible { outline-offset: 8px; border-radius: var(--r-sm); }
.aud-head { display: grid; grid-template-columns: minmax(160px, 230px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-bottom: 28px; }
.aud-head p { max-width: 58ch; }
.aud-title { font-size: clamp(1.5rem, 2.1vw, 2rem); }
.aud-lead { font-family: var(--sc-font-display); font-style: italic; font-size: 1.15rem; line-height: 1.35; }
.arch { margin: 0; overflow: hidden; border-radius: 50% 50% var(--r-md) var(--r-md) / 37.5% 37.5% var(--r-md) var(--r-md); aspect-ratio: 3 / 4; background: var(--flc-stone); }
.arch img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 20%; }
.list-label { font-weight: 700; margin-bottom: 14px; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.benefits li { border-top: 1px solid color-mix(in srgb, var(--sc-ink) 22%, transparent); padding: 12px 0 14px; }
.benefits strong { display: block; font-weight: 700; margin-bottom: 2px; }
.benefits span { display: block; font-size: 0.95rem; line-height: 1.45; }

/* 6. expect */
.lab-sticky { position: sticky; top: 48px; display: flex; flex-direction: column; align-items: flex-end; }
.note { background: var(--sc-surface); border-radius: var(--r-md); padding: clamp(20px, 2.6vw, 32px); margin: 32px 0 40px; max-width: 62ch; }
.note-h { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.3rem; margin: 0 0 10px; }
.note p:last-child { margin-bottom: 0; }
.steps-wrap { position: relative; max-width: 720px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.steps-line { position: absolute; left: 31px; top: 44px; bottom: 60px; border-left: 2px dashed color-mix(in srgb, var(--sc-accent) 60%, transparent); }
.step { position: relative; background: var(--sc-surface); border-radius: var(--r-md); padding: 28px 28px 22px 68px; }
.step p:last-child { margin-bottom: 0; }
.step-dot { position: absolute; left: 23px; top: 32px; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; background: var(--sc-surface); border: 2px solid var(--sc-accent); }
.step-k { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-accent); margin-bottom: 6px; }
.dots { margin: 0 0 1em; padding-left: 1.2em; }
.dots li { margin-bottom: 4px; }
.dots li::marker { color: var(--sc-accent); }

/* 7. meet */
.meet-photos { position: relative; width: min(380px, 100%); margin: 20px 0 80px; }
.arch--big { aspect-ratio: 4 / 5; border-radius: 50% 50% var(--r-md) var(--r-md) / 40% 40% var(--r-md) var(--r-md); position: relative; }
.arch--big .par { position: absolute; left: 0; right: 0; top: -8%; height: 116%; }
.arch--big img { width: 100%; height: 100%; object-position: 50% 30%; }
.print--small { position: absolute; left: -18%; bottom: -16%; width: 44%; padding: 10px 10px 30px; transform: rotate(-4deg); }
.big-p { font-family: var(--sc-font-display); font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.35; }
.pull { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--sc-accent); max-width: 14ch; margin: 48px 0 40px; }

/* 8. maloney */
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.6rem, 2.5vw, 2.35rem); line-height: 1.24; letter-spacing: -0.01em; max-width: 30ch; color: var(--sc-ink); margin: 0 0 24px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .02em; }
.quote figcaption::before { content: ""; width: 32px; height: 2px; background: var(--sc-accent); }

/* 9. faq */
.faq .main { max-width: 760px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px;
  font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.2rem, 1.5vw, 1.4rem); cursor: pointer; transition: color 200ms var(--ease);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sc-font-text); font-weight: 500; font-size: 1.6rem; line-height: 1; color: var(--sc-accent); transition: transform 240ms var(--ease); flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 62ch; padding-bottom: 12px; }

/* 10. close */
.close { position: relative; margin-top: var(--rowgap); padding: 0 12px; }
.close-mark { width: 132px; margin: 0 0 28px calc(var(--axis-x) - 78px); }
.close-mark img { width: 100%; height: auto; }
.close-panel { margin-left: 0; text-align: center; padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 80px); }
.close-h { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0 auto 24px; max-width: 16ch; color: var(--sc-surface); }
.close-copy { max-width: 56ch; margin: 0 auto; color: rgba(247,244,244,.92); }
.stub { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); max-width: 780px; margin: 40px auto 24px; background: var(--sc-surface); color: var(--sc-ink); border-radius: var(--r-md); text-align: left; }
.stub-main { padding: 30px 32px; }
.stub-amt { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin: 0 0 6px; }
.stub-for { font-weight: 700; margin-bottom: 14px; }
.stub-copy { font-size: 0.95rem; margin: 0; }
.stub-tear { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 24px; border-left: 2px dashed color-mix(in srgb, var(--sc-ink) 35%, transparent); }
.stub-tear::before, .stub-tear::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; background: radial-gradient(circle, var(--sc-ink) 0 13.5px, transparent 14px); }
.stub-tear::before { top: -14px; }
.stub-tear::after { bottom: -14px; }
.stub-tear .text-link { color: var(--sc-ink); }
.close-thanks { font-family: var(--sc-font-display); font-style: italic; font-size: 1.25rem; color: var(--flc-sky); }
.close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); text-align: left; margin: 56px auto 0; padding-top: 48px; border-top: 1px solid rgba(247,244,244,.2); max-width: 1040px; }
.close-grid p { color: rgba(247,244,244,.92); }
.contact { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
.contact a:not(.text-link) { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--sc-surface); font-weight: 650; }
.contact svg { width: 20px; height: 20px; }
.contact address { font-style: normal; margin-top: 6px; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.2rem; padding-bottom: 8px; }
.hours th, .hours td { padding: 10px 0; border-top: 1px solid rgba(247,244,244,.2); vertical-align: top; }
.hours th { text-align: left; font-weight: 650; }
.hours td { text-align: right; }
.creed { font-family: "Lulo", var(--sc-font-text); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--flc-sky); margin: 64px 0 0; }

/* footer */
.foot { padding: 40px 24px calc(120px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 0.9rem; color: var(--sc-ink-soft); max-width: 1320px; margin: 0 auto; }
.foot p { margin: 0; }
.foot-social { display: flex; gap: 20px; }
.foot-social a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; color: var(--sc-ink); }
.foot-note { flex-basis: 100%; }

/* dock */
.dock {
  position: fixed; z-index: 50; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px; padding: 7px 7px 7px 16px; border-radius: var(--r-pill);
  background: var(--sc-surface); color: var(--sc-ink); box-shadow: 0 18px 40px -18px rgba(20,28,40,.55), 0 0 0 1px rgba(44,58,79,.08);
  transform: translate(-50%, 160%); opacity: 0; transition: transform 300ms var(--ease), opacity 220ms var(--ease);
}
.dock.is-on { transform: translate(-50%, 0); opacity: 1; }
.dock-mark { width: 44px; height: auto; }
.dock-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-weight: 650; text-decoration: none; color: var(--sc-ink); }
.dock-phone svg { width: 20px; height: 20px; }
.dock-call { display: none; }

/* x-ray */
.xray [data-sc-src] { outline: 2px dashed #b3261e !important; outline-offset: -2px; }
.xray figure[data-sc-src], .xray div[data-sc-src] { position: relative; }
.xray figure[data-sc-src]::after, .xray div[data-sc-src]::after { content: attr(data-sc-src); position: absolute; left: 8px; top: 8px; z-index: 9; background: #b3261e; color: #fff; font: 700 11px/1 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; }
.xray .axis::after { top: 40px; left: 6px; }

/* ---------- phone ---------- */
@media (max-width: 899px) {
  :root { --axis-x: 18px; --pad-l: 22px; --rowgap: 80px; }
  .hero-frame { margin: 8px; height: calc(100% - 16px); grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr); border-radius: 24px; }
  .hero-nav { padding: 8px 10px 0 16px; gap: 10px; }
  .hero-logo { width: 54px; margin-right: auto; }
  .hero-links, .hero-phone, .hero-navcta { display: none; }
  .hero-call { display: inline-grid; }
  .hero-type { grid-row: 2; padding: 6px 20px 8px; justify-content: flex-start; }
  .hero-tag { font-size: 0.74rem; margin-bottom: 10px; }
  .hero-h1 { font-size: clamp(2.05rem, 9.2vw, 2.6rem); margin-bottom: 10px; }
  .hero-line { font-size: 1.12rem; margin-bottom: 8px; }
  .hero-sub { font-size: 0.98rem; line-height: 1.45; margin-bottom: 14px; }
  .hero-actions { gap: 0 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { min-height: 40px; }
  .hero-photo { grid-column: 1; grid-row: 3; margin: 0 8px 8px; border-radius: 0 0 16px 16px; min-height: 0; }
  .hero-photo-inner { top: 5%; }
  .hero-seam { grid-column: 1; grid-row: 3; width: calc(100% - 16px); height: calc(100% - 8px); margin: 0 8px; }
  .hero-caption { right: 16px; bottom: 16px; left: auto; max-width: 230px; padding: 12px 14px 10px; }
  .hero-caption p { font-size: 0.92rem; }
  .hero-caption figcaption { font-size: 0.74rem; }

  .row { display: block; }
  .lab { align-items: flex-start; text-align: left; padding: 0 18px 0 calc(var(--axis-x) + var(--pad-l)); }
  .main { padding: 0 18px 0 calc(var(--axis-x) + var(--pad-l)); }
  .node { top: 10px; }
  .h2 { max-width: none; font-size: clamp(2rem, 8.6vw, 2.4rem); }
  .lab-sub { max-width: none; margin-bottom: 24px; }
  .panel { margin-left: calc(-1 * var(--pad-l)); padding: 24px 18px; border-radius: 22px; }
  .beyond .main, .who .main { padding-right: 10px; }

  .why { display: flex; flex-direction: column; }
  .why .lab { display: contents; }
  .why .tag { order: 0; padding-left: calc(var(--axis-x) + var(--pad-l)); margin-bottom: 18px; }
  .why .main { order: 1; }
  .why .print { order: 2; margin: 12px 0 0 calc(var(--axis-x) + var(--pad-l) + 8px); width: min(280px, 70vw); }
  .statement { font-size: clamp(2rem, 8.6vw, 2.5rem); margin-bottom: 24px; }

  .chips { gap: 10px 8px; }
  .chip { padding: 0 16px; font-size: 0.95rem; }
  .common { margin-top: 64px; }

  .beyond-grid { grid-template-columns: 1fr; }
  .scan { max-width: 300px; }
  .beyond-lists { grid-template-columns: 1fr; margin-top: 32px; padding-top: 28px; }

  .tabs { grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .tabs [role="tab"], .tabs-pill { border-radius: 18px; }
  .aud-head { grid-template-columns: 1fr; }
  .aud-head .arch { width: min(260px, 80%); }
  .benefits { grid-template-columns: 1fr; }

  .lab-sticky { position: static; align-items: flex-start; }
  .step { padding: 22px 18px 18px 52px; }
  .step-dot { left: 16px; top: 26px; }
  .steps-line { left: 24px; }

  .meet-photos { width: min(300px, 78vw); margin: 8px 0 64px 28px; }
  .print--small { left: -24px; bottom: -40px; }

  .close { padding: 0 8px; }
  .close-mark { width: 96px; margin-left: 4px; }
  .close-panel { padding: 40px 18px; }
  .stub { grid-template-columns: 1fr; }
  .stub-main { padding: 24px 20px 22px; }
  .stub-tear { border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--sc-ink) 35%, transparent); padding: 22px 16px 18px; }
  .stub-tear .btn { width: 100%; padding: 0 14px; }
  .stub-tear::before { left: -14px; top: -15px; }
  .stub-tear::after { left: auto; right: -14px; top: -15px; bottom: auto; }
  .close-grid { grid-template-columns: 1fr; }
  .creed { font-size: 0.6rem; letter-spacing: 0.1em; }

  .foot { padding: 32px 18px calc(110px + env(safe-area-inset-bottom)) calc(var(--axis-x) + var(--pad-l)); }

  .dock { left: 0; right: 0; bottom: 0; transform: translateY(110%); border-radius: 20px 20px 0 0; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .dock.is-on { transform: translateY(0); }
  .dock-mark, .dock-num { display: none; }
  .dock-call { display: inline; }
  .dock-phone { border: 1.5px solid var(--sc-ink); border-radius: var(--r-pill); min-height: 48px; padding: 0 16px; flex: none; }
  .dock-cta { flex: 1; padding: 0 12px; font-size: 0.9rem; }
}

/* ---------- reduced motion ---------- */
.is-reduced .hf-d { opacity: 1; }
.is-reduced .hero-caption { opacity: 1; }
.is-reduced .axis-fill { transform: none; }
.is-reduced .hero-ring { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
