/* helpdog.me, the walk: one fixed world at human scale; the pair walks, a lit room arrives from the dark, the caption sits under the picture. */
:root {
  --ink: #F4F1EA; --ink-soft: rgba(244, 241, 234, .78); --ink-mute: rgba(244, 241, 234, .58); --line: rgba(244, 241, 234, .18);
  --blue: #8DB8FF; --blue-deep: #0B57D0; --night: #0B1220; --night-2: #17263F; --warm: 0; --focus: 0;
  --font: "Rubik", "Heebo", system-ui, sans-serif; --text: "Heebo", "Rubik", system-ui, sans-serif;
  --strip: 52px; --bar: 56px;
  --band-top: 8%; --plate-h: min(66vh, 52vw); --pair-h: calc(var(--plate-h) * .9);
  --t-xs: 12px; --t-sm: 14px; --t-base: clamp(16px, 1.05vw, 18px); --t-lg: clamp(19px, 1.5vw, 23px); --t-xl: clamp(26px, 2.6vw, 40px); --t-2xl: clamp(34px, 4.2vw, 62px);
  --ease: cubic-bezier(.23, 1, .32, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--night); }
body { font-family: var(--text); font-size: var(--t-base); line-height: 1.55; color: var(--ink); background: var(--night); direction: rtl; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.display { font-family: var(--font); font-weight: 800; line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; font-size: var(--t-2xl); }
.display--s { font-size: var(--t-xl); }
.lede { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; }
.small { font-size: var(--t-sm); color: var(--ink-mute); }
.tag { display: inline-block; font-size: var(--t-xs); font-weight: 700; padding: 1px 7px; border-radius: 3px; vertical-align: middle; margin-inline-start: 6px; white-space: nowrap; }
.tag--law { background: #1B3A6B; color: #CFE0FF; }
.tag--off { background: #1F4A34; color: #CFEBD8; }
.tag--rec { background: #3A3128; color: #EADFCF; }
.tag--field { background: #4A3A22; color: #F1E2C8; }
.arrow { display: inline-block; transform: scaleX(-1); }
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 0 1.3em; border-radius: 999px; background: var(--blue-deep); color: #fff; font-weight: 700; font-family: var(--font); transition: transform 140ms var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, .45); color: var(--ink); }

/* ---------------------------------------------------------------- strip */
.strip { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--strip); display: flex; align-items: center; gap: 1rem; padding: 0 clamp(16px, 3vw, 40px); background: linear-gradient(180deg, rgba(7, 12, 23, .9), rgba(7, 12, 23, .0)); }
.strip__mark .mark { height: 36px; width: auto; display: block; }
.strip__mark { position: relative; flex-shrink: 0; }
.strip__mark a { position: absolute; top: 0; bottom: 0; }
.mark__home { left: 0; width: 50.4%; }
.mark__parent { right: 0; width: 49.6%; }
.strip__nav { display: flex; align-items: center; gap: 1.4rem; margin-inline-start: auto; font-family: var(--font); font-weight: 500; font-size: var(--t-sm); }
.strip__nav > button:hover { color: var(--blue); }
.switch { font-size: 13px; padding: .3em .8em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.switch[aria-pressed="true"] { background: var(--ink); color: var(--night); box-shadow: none; }
.places { position: relative; }
.places__btn { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; }
.places__btn::after { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-2px); }
.places__list { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 240px; background: #101A2C; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8); padding: .4rem 0; display: none; z-index: 70; }
.places__list.open { display: block; }
.places__list button { display: block; width: 100%; text-align: start; padding: .5rem 1rem; font-size: 15px; }
.places__list button:hover { background: rgba(255, 255, 255, .06); color: var(--blue); }
.places__list .group { padding: .5rem 1rem .15rem; font-size: var(--t-xs); letter-spacing: .06em; color: var(--ink-mute); }

/* ---------------------------------------------------------------- the world */
.world { position: fixed; inset: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 1; }
.track { position: relative; height: 900vh; }
.sky { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 50% 38%, color-mix(in oklab, var(--night-2), #3B2B18 calc(var(--warm) * 100%)) 0%, color-mix(in oklab, var(--night), #1E1611 calc(var(--warm) * 100%)) 58%, #070C17 100%);
  filter: brightness(calc(1 - .35 * var(--focus))); }
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); z-index: 4; }
.floorlight { position: absolute; left: 20%; right: 20%; bottom: calc(98% - var(--band-top) - var(--plate-h)); height: 30%; background: radial-gradient(50% 55% at 50% 100%, rgba(255, 214, 150, .13), transparent 70%); pointer-events: none; }
.band { position: absolute; top: var(--band-top); left: 0; right: 0; height: var(--plate-h); }
.plate { position: absolute; top: 0; left: 0; height: 100%; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; transform-origin: 50% 100%; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); will-change: transform, opacity, filter; background: #1a2436; }
.plate .in3 { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 3 / 2; transform: translateX(-50%); }
.plate .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate .fig { position: absolute; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.plate .q { filter: brightness(.5) saturate(.6) blur(1.4px); }
.plate .enter { position: absolute; inset: 0; opacity: 0; }
.plate .enter .ly { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.plate .vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 100% at 50% 40%, transparent 58%, rgba(7, 12, 23, .5) 100%), linear-gradient(180deg, rgba(7, 12, 23, .22), transparent 16%, transparent 84%, rgba(7, 12, 23, .3)); }
.plate--side { left: 50%; transform: translateX(-50%); }

/* A single leftward drawing keeps the hand, leash and dog together. */
.pair { position: absolute; left: 16%; bottom: calc(100% - var(--band-top) - var(--plate-h)); height: var(--pair-h); width: calc(var(--pair-h) * 1.5); pointer-events: none; will-change: transform, opacity; z-index: 3; }
.pair .walking-pair { width: 100%; height: 100%; object-fit: contain; }
.pair::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 9%; height: 4%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .5), transparent 72%); }

/* the words: a caption under the picture; beside the pair where there is no room */
.words { position: absolute; top: calc(var(--band-top) + var(--plate-h) + 1.6vh); left: 12%; right: 12%; bottom: 8.5%; pointer-events: none; text-align: center; z-index: 5; }
.words[data-stop="street"] { top: 16%; left: auto; right: 6%; width: 33%; bottom: 18%; text-align: start; }
.wb { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity 220ms var(--ease), transform 220ms var(--ease); pointer-events: none; display: grid; align-content: start; justify-items: center; gap: .5rem; }
.words[data-stop="street"] .wb { justify-items: stretch; gap: .7rem; }
.wb.on { opacity: 1; transform: none; pointer-events: auto; }
.wb .name { font-family: var(--font); font-size: var(--t-xs); letter-spacing: .1em; color: var(--ink-mute); }
.wb .title { font-family: var(--font); font-weight: 700; font-size: var(--t-2xl); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
.wb .lede { margin-top: .2rem; }
.wb .note { font-size: var(--t-xs); color: var(--ink-mute); letter-spacing: .03em; margin-top: .2rem; }
.wb .rows { margin-top: .6rem; display: grid; }
.wb .rows button { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); font-family: var(--font); font-weight: 500; font-size: var(--t-base); text-align: start; width: 100%; }
.wb .rows button:last-child { border-bottom: 1px solid var(--line); }
.wb .rows button.urgent { color: var(--blue); }
.wb .rows .arrow { color: var(--blue); flex: none; }
.wb .line { font-size: var(--t-base); line-height: 1.5; color: var(--ink-soft); max-width: 64ch; text-wrap: pretty; opacity: 0; transform: translateY(6px); transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.wb .line.on { opacity: 1; transform: none; }
.wb .line.first { font-family: var(--font); font-weight: 600; font-size: var(--t-lg); line-height: 1.3; color: var(--ink); max-width: 52ch; }
.wb .line.small { font-size: var(--t-sm); color: var(--ink-mute); }
.wb .line .src { display: block; font-size: var(--t-xs); color: var(--ink-mute); letter-spacing: .03em; margin-top: .15rem; }
.wb .link, .wb .cta { opacity: 0; transition: opacity 260ms var(--ease); }
.wb .link.on, .wb .cta.on { opacity: 1; }
.wb .link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; font-size: var(--t-sm); }
.wb .cta { margin-top: .5rem; display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }

/* a side place: its own room, no walk */
.side { position: absolute; inset: 0; z-index: 5; }
.side .wb { pointer-events: auto; }
.side .back { position: absolute; top: calc(var(--strip) + 10px); inset-inline-start: 5%; font-size: var(--t-sm); color: var(--blue); text-decoration: underline; text-underline-offset: .2em; z-index: 6; }

/* the route: the nav is a map of the day, running the way the pair walks, right to left */
.route { position: absolute; left: 6%; right: 6%; bottom: 2.4%; height: 44px; z-index: 6; }
.route .rail { position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--line); }
.route .done { position: absolute; right: 0; top: 30px; height: 2px; background: var(--blue); }
.route ol { position: absolute; inset: 0; display: flex; justify-content: space-between; direction: rtl; }
.route li { position: relative; }
.route button { position: relative; font-family: var(--font); font-size: 13px; letter-spacing: .04em; color: var(--ink-mute); padding: 0 0 22px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; transition: color 160ms; }
.route button::after { content: ""; position: absolute; right: 50%; bottom: 8px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: translateX(50%); }
.route button:hover { color: var(--ink); text-decoration-color: var(--blue); }
.route li.on button { color: var(--ink); font-weight: 700; }
.route li.on button::after { background: var(--blue); box-shadow: 0 0 0 5px rgba(141, 184, 255, .25); width: 10px; height: 10px; bottom: 7px; }
.route li.was button { color: var(--ink-soft); }
.route li.was button::after { background: var(--blue); }
.phonebar, .sheet { display: none; }

/* overlays: the two transactions */
.panel { position: fixed; inset: 0; z-index: 80; background: rgba(7, 12, 23, .96); overflow: auto; -webkit-overflow-scrolling: touch; }
.panel[hidden] { display: none; }
.panel__in { max-width: 44rem; margin: 0 auto; padding: calc(var(--strip) + 16px) clamp(16px, 4vw, 40px) 64px; display: grid; gap: 1.1rem; }
.panel__close { position: sticky; top: 10px; justify-self: end; font-size: var(--t-sm); color: var(--blue); text-decoration: underline; text-underline-offset: .2em; z-index: 2; }
.actions { display: grid; gap: 1rem; counter-reset: a; }
.actions li { position: relative; padding-inline-start: 3rem; font-family: var(--font); font-size: var(--t-xl); font-weight: 700; line-height: 1.15; }
.actions li::before { counter-increment: a; content: counter(a); position: absolute; inset-inline-start: 0; top: .05em; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--ink); color: var(--night); font-size: var(--t-base); display: grid; place-items: center; }
.actions li small { display: block; font-family: var(--text); font-size: var(--t-base); font-weight: 400; color: var(--ink-soft); margin-top: .25rem; }
.routes { display: grid; }
.routes a { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-top: 1px solid var(--line); font-weight: 700; font-family: var(--font); }
.routes a:last-child { border-bottom: 1px solid var(--line); }
.routes .arrow { color: var(--blue); }
.notcover { display: grid; gap: .5rem; padding: 1rem 1.2rem; background: rgba(255, 255, 255, .05); border-radius: 8px; }
.notcover ul { display: grid; gap: .25rem; color: var(--ink-soft); }
.notcover li { padding-inline-start: 1rem; position: relative; }
.notcover li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-mute); }
.form { display: grid; gap: .8rem; }
.form label { display: grid; gap: .3rem; font-size: var(--t-sm); font-weight: 600; }
.form input, .form textarea { width: 100%; font: inherit; padding: .65em .8em; border: 1.5px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form textarea { min-height: 6em; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form .consent { font-weight: 400; display: flex; gap: .6em; align-items: flex-start; line-height: 1.5; }
.form .consent input { width: 18px; height: 18px; margin-top: .2em; }
.form__note { font-size: var(--t-sm); color: var(--ink-mute); }
.form__status { font-size: var(--t-sm); font-weight: 600; }
.form__status.ok { color: #9FD8B4; }
.form__status.err { color: #FFB4A8; }
.btns { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.voices { display: grid; gap: .8rem; }
.voices blockquote { padding: 1rem 1.2rem; background: rgba(255, 255, 255, .05); border-radius: 8px; display: grid; gap: .4rem; }
.voices cite { font-style: normal; font-size: var(--t-sm); color: var(--ink-mute); }
.brief { padding: 1.2rem 1.4rem; background: rgba(255, 255, 255, .05); border-radius: 10px; display: grid; gap: .7rem; }
.brief h3 { font-family: var(--font); font-size: var(--t-lg); }
.brief p { color: var(--ink-soft); }

/* the answers panel */
.answers { display: grid; gap: 1.6rem; }
.answers section { display: grid; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--strip) + 12px); }
.answers h3 { font-family: var(--font); font-size: var(--t-xl); font-weight: 800; }
.answers .part { display: grid; gap: .35rem; }
.answers .k { font-size: var(--t-xs); letter-spacing: .08em; color: var(--ink-mute); }
.answers h4 { font-family: var(--font); font-size: var(--t-lg); font-weight: 700; line-height: 1.3; margin: 0; }
.answers .src { font-size: var(--t-sm); color: var(--ink-mute); }
.answers .src a, .answers a.link { color: var(--blue); text-decoration: underline; text-underline-offset: .18em; }

/* motion off: stills */
.stills { display: none; }
html.quiet .world, html.quiet .track { display: none; }
html.quiet .stills { display: grid; gap: clamp(40px, 6vw, 80px); padding: calc(var(--strip) + 32px) clamp(16px, 4vw, 56px) 80px; max-width: 1200px; margin: 0 auto; }
.still { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.still__pic { position: relative; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: #1a2436; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.still__pic .plate--still { position: absolute; inset: 0; height: 100%; width: 100%; transform: none; border-radius: 0; box-shadow: none; }
.still__pic .pair--still { position: absolute; left: 6%; bottom: 3%; height: 84%; width: calc(84% * 1.5); z-index: auto; }
.still .wb { position: static; opacity: 1; transform: none; pointer-events: auto; justify-items: stretch; text-align: start; }
.still .line, .still .link, .still .cta { opacity: 1; transform: none; }
.still .cta { justify-content: flex-start; }
.still--dark .still__pic { background: radial-gradient(120% 80% at 62% 40%, #17263F, #0B1220); }

/* ---------------------------------------------------------------- phone */
@media (max-width: 700px) {
  :root { --strip: 48px; --band-top: 7%; --plate-h: 46vh; }
  .strip { padding: 0 14px; gap: .6rem; }
  .strip__mark .mark { height: 30px; }
  .strip__nav { gap: .9rem; font-size: 13px; }
  .strip__nav [data-goto] { display: none; }
  .floorlight { left: 10%; right: 10%; }
  .plate { width: 100vw; aspect-ratio: auto; border-radius: 0; }
  .plate--side { left: 0; transform: none; }
  .pair { left: 50%; margin-left: calc(var(--pair-h) * -.63); }
  .words { top: calc(var(--band-top) + var(--plate-h) + 1.4vh); left: 5%; right: 5%; bottom: calc(var(--bar) + 2%); text-align: start; }
  .words[data-stop="street"] { top: 11%; left: 5%; right: 5%; width: auto; bottom: 48%; }
  .wb { justify-items: stretch; gap: .4rem; }
  .wb .title { font-size: clamp(26px, 7.4vw, 34px); }
  .wb .lede { font-size: 15px; max-width: none; }
  .wb .rows button { padding: .5rem 0; font-size: 15px; }
  .wb .line { font-size: 14px; max-width: none; }
  .wb .line.first { font-size: 18px; max-width: none; }
  .wb .cta { justify-content: flex-start; }
  .wb .cta .btn { min-height: 42px; font-size: 15px; }
  .route { display: none; }
  .phonebar { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar); background: rgba(7, 12, 23, .92); border-top: 1px solid var(--line); z-index: 6; }
  .phonebar button { width: 100%; height: 100%; display: flex; align-items: center; gap: 12px; padding: 0 16px; font-family: var(--font); font-weight: 600; font-size: 15px; }
  .phonebar__line { flex: 1 1 auto; height: 2px; background: var(--line); position: relative; }
  .phonebar__line i { position: absolute; right: 0; top: 0; height: 100%; background: var(--blue); width: 0; }
  .sheet { display: block; position: absolute; inset: auto 0 var(--bar) 0; max-height: 70vh; overflow: auto; background: #101A2C; border-top: 1px solid var(--line); z-index: 7; padding: .4rem 0 .6rem; }
  .sheet[hidden] { display: none; }
  .sheet button { display: block; width: 100%; text-align: start; padding: 0 16px; min-height: 48px; font-size: 16px; font-family: var(--font); border-top: 1px solid rgba(255, 255, 255, .06); }
  .sheet .group { padding: .6rem 16px .2rem; font-size: 12px; letter-spacing: .06em; color: var(--ink-mute); }
  .side .back { top: calc(var(--strip) + 4px); }
  .form .row2 { grid-template-columns: 1fr; }
  .still { grid-template-columns: 1fr; }
  .panel__in { padding-top: calc(var(--strip) + 8px); }
}
@media (prefers-reduced-motion: reduce) { .wb, .wb .line { transition: none; } }

/* The selected timeline: the same world, with the compact finalist's direct guidance. */
@font-face { font-family: HeeboLocal; src: url('../service-draft/assets/heebo-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: HeeboLocal; src: url('../service-draft/assets/heebo-bold.ttf') format('truetype'); font-weight: 500 900; font-display: swap; }
:root { --text: HeeboLocal, Heebo, system-ui, sans-serif; --font: HeeboLocal, Heebo, system-ui, sans-serif; --strip: 72px; --band-top: 11%; --plate-h: min(55svh, 48vw); --t-base: clamp(17px, 1.25vw, 19px); --t-sm: 15px; --t-xs: 13px; }
body { line-height: 1.65; }
[hidden] { display: none !important; }
h1,h2,h3,h4 { text-wrap: balance; }
p { text-wrap: pretty; }
button,a,summary { touch-action: manipulation; }
button:disabled { opacity: .3; cursor: default; }
.skip { position: fixed; z-index: 100; top: -100px; right: 16px; background: var(--ink); color: var(--night); padding: 12px 18px; border-radius: 4px; }
.skip:focus { top: 10px; }
.strip { background: linear-gradient(#0B1220 55%, #0B1220e8); border-bottom: 1px solid #f4f1ea0d; }
.strip__mark .mark { height: 50px; }
.strip__nav { font-size: 15px; gap: 26px; }
.strip__nav button { min-height: 44px; }
.strip__nav .places__btn { color: var(--blue); }
.places__btn::after { display: none; }
.switch { padding: 0 14px; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--blue); }
.words { top: calc(var(--band-top) + var(--plate-h) + 3svh); left: 18%; right: 18%; bottom: 17%; }
.words[data-stop='street'] { top: 17%; right: 7%; width: 39%; bottom: 19%; }
.wb { gap: 10px; transition: opacity 180ms, transform 180ms; }
.wb .title { font-size: clamp(42px, 5vw, 76px); line-height: 1.12; font-weight: 700; }
.wb .lede { font-size: 20px; line-height: 1.65; margin: 8px 0; }
.wb .name { color: var(--blue); font-size: 14px; letter-spacing: 0; }
.wb .line { opacity: 1; transform: none; font-size: 18px; max-width: 66ch; line-height: 1.65; }
.wb .line.first { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; line-height: 1.4; max-width: 48ch; }
.wb .link,.wb .cta { opacity: 1; }
.wb .link { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: none; border-bottom: 1px solid #8db8ff75; }
.wb .rows { margin-top: 8px; width: 100%; }
.wb .rows button { min-height: 58px; font-size: 21px; padding: 12px 0; font-weight: 500; }
.wb .rows button.primary { padding: 12px 18px; margin-bottom: 7px; border: 0; border-radius: 6px; background: var(--blue-deep); color: #fff; }
.wb .rows button.primary:hover { background: #1768e5; }
.wb .rows button:not(.primary):hover { color: var(--blue); }
.wb .note { font-size: 14px; margin-top: 4px; letter-spacing: 0; }


.wb .cta { align-items: center; gap: 20px; margin-top: 6px; }
.pair { left: 10%; }
.plate { border-radius: 9px; }
.journey-controls { position: absolute; bottom: 10%; left: 6%; right: 6%; display: flex; align-items: center; justify-content: space-between; direction: rtl; z-index: 8; pointer-events: none; }
.journey-controls button { pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; font-size: 15px; color: var(--ink-soft); }
.journey-controls #previousStop { width: 44px; border: 1px solid var(--line); border-radius: 50%; transform: none; }
#nextStop { direction: rtl; }
#nextStop>span:last-child { font-size: 22px; color: var(--blue); }
.journey-controls button:hover { color: var(--blue); }
.route { bottom: 2.5%; }
.route button { min-height: 44px; font-size: 14px; letter-spacing: 0; }
.route button::after { width: 7px; height: 7px; }
.panel { background: #0B1220; overscroll-behavior: contain; scrollbar-gutter: stable; }
.panel__in { max-width: 860px; padding: 24px clamp(22px, 4vw, 48px) 80px; gap: 20px; }
.panel__in>.display { font-size: clamp(32px, 3.6vw, 50px); font-weight: 700; line-height: 1.15; }
.panel__in>.lede { font-size: 20px; line-height: 1.65; max-width: 52ch; }
.panel__close { position: relative; top: auto; display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.panel__close span { font-size: 26px; }
.reader-tools { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; background: #0B1220f7; border-bottom: 1px solid var(--line); margin-top: -24px; padding-block: 10px; }
.text-link { color: var(--blue); min-height: 44px; display: inline-flex; align-items: center; text-align: start; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }
.guide-choices { display: grid; border-top: 1px solid var(--line); }
.guide-choice { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding: 18px 0; text-align: start; }
.guide-choice img { width: 110px; height: auto; border-radius: 5px; }
.guide-choice b { display: block; font-size: 22px; line-height: 1.45; font-weight: 500; }
.guide-choice>span>span { display: block; color: var(--ink-mute); font-size: 16px; margin-top: 3px; }
.guide-choice i { font-style: normal; color: var(--blue); font-size: 25px; transition: transform 150ms; }
.guide-choice:hover,.guide-choice:focus-visible { background: #17263f; }
.guide-choice:hover i { transform: translateX(-4px); }
#answers .panel__in { max-width: 1100px; }
.answers { display: block; }
.answers>[data-key] { display: block; border: 0; padding: 0; }
.guide-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; margin: 10px 0 30px; }
.guide-hero img { width: 100%; height: auto; border-radius: 6px; }
.answer-lead { font-size: 23px; line-height: 1.7; }
.guide-hero .src { margin-top: 15px; }
.reader-nav { display: flex; gap: 26px; flex-wrap: wrap; border-block: 1px solid var(--line); padding: 8px 0; }
.reader-nav button { min-height: 44px; font-size: 16px; color: var(--blue); }
.reader-nav button:hover { text-decoration: underline; text-underline-offset: 6px; }
.context-note { background: #17263f; padding: 20px 24px; margin: 28px 0 4px; font-size: 17px; border-inline-start: 3px solid var(--blue); }
.context-note .text-link { display: flex; }
.answers .part { max-width: 730px; padding: 32px 0; gap: 14px; scroll-margin-top: 80px; }
.answers h3 { font-size: 27px; font-weight: 500; }
.answers .part h3 { line-height: 1.3; }
.answers .authority { display: block; font-size: 14px; color: var(--ink-mute); }
.part-lead { font-size: 20px; font-weight: 500; }
.answers .src { font-size: 14px; line-height: 1.8; }
.answers .part>.src { margin-top: 7px; }
.guide-details { border-top: 1px solid var(--line); padding: 14px 0; scroll-margin-top: 80px; }
summary { cursor: pointer; font-size: 19px; font-weight: 500; min-height: 48px; padding-block: 8px; }
details[open]>summary { margin-bottom: 12px; }
.identify-list,.source-list { display: grid; gap: 20px; font-size: 18px; line-height: 1.8; padding: 18px 0; }
.identify-list .tag { display: table; margin: 0 0 6px; }
.source-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.guide-end { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 24px; }
.actions { margin-block: 8px; gap: 26px; }
.actions li { font-size: 26px; line-height: 1.4; padding-inline-start: 52px; font-weight: 500; }
.actions li::before { background: #17263f; color: var(--blue); width: 36px; height: 36px; top: 0; }
.actions li small { font-size: 18px; line-height: 1.75; margin-top: 6px; }
.notcover { display: block; padding: 14px 22px; }
.notcover ul { margin: 12px 0; }
.share-story { border-top: 1px solid var(--line); padding-block: 10px; }
.share-story>h3 { display: none; }
.share-story .form { margin-block: 24px; }
.training-outcomes { display: grid; gap: 16px; padding-block: 12px; counter-reset: training; }
.training-outcomes li { display: flex; align-items: center; gap: 16px; font-size: 19px; }
.training-outcomes li::before { counter-increment: training; content: '0' counter(training); color: var(--blue); font-size: 15px; }
.form { gap: 18px; margin-top: 12px; }
.form label { font-size: 16px; font-weight: 400; }
.form input,.form textarea { padding: 12px 15px; font-size: 18px; }
.form [aria-invalid='true'] { border-color: #FFB4A8; }
.form input[type='tel'] { direction: ltr; text-align: right; }
.form__note { line-height: 1.8; }
.form__status { font-size: 16px; }
.brief { display: block; margin-top: 20px; }
.brief p { margin-block: 15px; font-size: 17px; }
.brief .btns { margin-top: 18px; }
.still { scroll-margin-top: calc(var(--strip) + 20px); }
.still .wb .name { color: var(--blue); }
.still .wb { gap: 14px; }
.still .wb .line { opacity: 1; }
html.quiet .strip { background: #0B1220f5; }
html.quiet .stills { gap: 90px; }
html.quiet .still .wb .title { font-size: clamp(30px, 3vw, 48px); }
.no-script { position: relative; z-index: 5; margin: 120px auto; padding: 24px; max-width: 700px; display: grid; gap: 24px; }
html:not(.sc-ready) .track { height: 100svh; }
@media (min-width:701px) and (max-height:699px) {
 :root { --strip: 60px; --band-top: 18%; --plate-h: min(61svh, 33vw); }
 .strip__mark .mark { height: 42px; }
 .strip__nav { font-size: 14px; gap: 20px; }
 .words,.words[data-stop='street'] { top: 20%; left: auto; right: 5%; width: 35%; bottom: 19%; text-align: start; }
 .wb { justify-items: start; gap: 7px; }
 .wb .title { font-size: clamp(28px, 5.4svh, 39px); }
 .wb .lede { font-size: 16px; margin: 3px 0; }
 .wb .line.first { font-size: 26px; }
 .wb .line { font-size: 17px; }
 .wb .rows button { min-height: 48px; font-size: 18px; padding-block: 7px; }
 .wb .note { font-size: 13px; }
 .wb .eyebrow { font-size: 13px; }
 .pair { left: 13%; }
 .journey-controls { bottom: 12%; }
 .words .cta { justify-content: start; gap: 12px; }
 .words .cta .btn { font-size: 15px; }
}
@media (max-width:700px) {
 :root { --strip: 100px; --band-top: 15%; --plate-h: min(39svh, 61vw); --bar: 56px; }
 .strip { height: var(--strip); padding: 7px 18px; display: block; }
 .strip__mark { display: block; width: max-content; }
 .strip__mark .mark { height: 43px; }
 .strip__nav { height: 43px; margin: 0; justify-content: space-between; gap: 16px; font-size: 14px; }
 .strip__nav .training-nav { display: block; }
 .strip__nav .switch { position: absolute; top: 8px; left: 18px; min-height: 38px; font-size: 13px; }
 .plate { width: auto; aspect-ratio: 3 / 2; border-radius: 6px; }
 .plate--side { left: 50%; transform: translateX(-50%); }
 .pair { left: 50%; margin-left: calc(var(--pair-h) * -.7); }
 .words { top: calc(var(--band-top) + var(--plate-h) + 3svh); left: 7%; right: 7%; bottom: 20%; text-align: start; }
 .words[data-stop='street'] { top: calc(var(--strip) + 22px); left: 7%; right: 7%; width: auto; bottom: auto; }
 .wb { gap: 9px; justify-items: stretch; }
 .wb .title { font-size: clamp(35px, 10vw, 44px); line-height: 1.16; }
 .wb .eyebrow { font-size: 12px; }
 .wb .lede { font-size: 17px; line-height: 1.65; margin: 3px 0; }
 .wb .rows { margin-top: 5px; }
 .wb .rows button { min-height: 50px; font-size: 18px; padding-block: 10px; }
 .wb .rows button.primary { padding: 10px 14px; }
 .wb .note { font-size: 13px; }
 .wb .line.first { font-size: 25px; font-weight: 500; line-height: 1.45; }
 .wb .line { font-size: 18px; line-height: 1.75; }
 .wb .link { font-size: 16px; }

 .journey-controls { bottom: calc(var(--bar) + 12px); left: 7%; right: 7%; }
 .journey-controls button { font-size: 14px; }
 .phonebar { padding-bottom: env(safe-area-inset-bottom); height: calc(var(--bar) + env(safe-area-inset-bottom)); }
 .phonebar button { direction: rtl; }
 .phonebar__map { font-size: 13px; color: var(--blue); display: flex; gap: 8px; }
 .phonebar__line { max-width: none; }
 .sheet { bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
 .side .back { top: calc(var(--strip) + 4px); z-index: 10; }
 .side .band { top: calc(var(--band-top) + 22px); }
 .side .words { top: calc(var(--band-top) + var(--plate-h) + 5svh); }
 .panel__in { padding: 16px 24px 60px; gap: 17px; }
 .panel__in>.display { font-size: 33px; }
 .panel__in>.lede { font-size: 18px; }
 .panel__close { font-size: 14px; }
 .guide-choice { grid-template-columns: 80px 1fr 18px; gap: 14px; padding-block: 18px; }
 .guide-choice img { width: 80px; }
 .guide-choice b { font-size: 19px; }
 .guide-choice>span>span { font-size: 15px; line-height: 1.5; }
 .guide-choice i { font-size: 20px; }
 .reader-tools { margin-top: -16px; padding-block: 8px; }
 .reader-tools .text-link { font-size: 14px; }
 .guide-hero { display: flex; flex-direction: column; align-items: stretch; gap: 23px; margin: 4px 0 24px; }
 .answer-lead { font-size: 21px; line-height: 1.75; }
 .reader-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding-block: 6px; }
 .reader-nav button { text-align: start; font-size: 16px; }
 .context-note { font-size: 17px; padding: 18px; }
 .answers .part { padding-block: 28px; gap: 13px; }
 .answers h3 { font-size: 26px; }
 .actions li { font-size: 24px; padding-inline-start: 46px; }
 .actions li small { font-size: 18px; }
 .training-outcomes li { font-size: 18px; align-items: start; }
 .still { grid-template-columns: 1fr; gap: 24px; }
 .still--dark { display: flex; flex-direction: column-reverse; }
 .still__pic { width: 100%; }
 .still .wb { width: 100%; }
}
@media (max-width:700px) and (max-height:700px) {
 :root { --band-top: 19%; --plate-h: min(32svh, 58vw); }
 .words[data-stop='street'] { top: calc(var(--strip) + 12px); right: 6%; left: 6%; }
 .wb .title { font-size: 28px; }
 .wb .lede { font-size: 16px; line-height: 1.55; }
 .wb .rows button { min-height: 40px; padding-block: 4px; }
 .wb .note { display: none; }
 .wb .line.first { font-size: 21px; }
 .wb .line { font-size: 16px; line-height: 1.6; }
 .wb .link { font-size: 15px; }
 .words[data-stop='street'] .wb { gap: 6px; }
 .journey-controls { bottom: calc(var(--bar) + 6px); }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition: none !important; animation: none !important; } }
@media (max-width:700px) {
 .pair { transform-origin: 50% 0; }
 .words[data-stop='street'] .wb.on { position: relative; }
}
@media (max-width:359px) {
 .strip__mark .mark { height: 36px; }
 .strip__nav { font-size: 13px; gap: 9px; }
 .strip__nav button { white-space: nowrap; }
 .strip__nav .switch { font-size: 12px; }
}
@media (max-width:359px), (max-width:700px) and (max-height:700px) {

}
@media (min-width:701px) and (max-height:480px) {
 .words,.words[data-stop='street'] { width: 45%; }
 .words .wb .name { display: none; }
 .words .wb .line.first { font-size: 22px; }
 .words .wb .line { font-size: 16px; line-height: 1.6; }
 .words[data-stop='street'] .note { display: none; }
 .words .wb .cta { gap: 10px; }
 .words .wb .cta .text-link { font-size: 14px; }
 .pair { left: 10%; }
 .journey-controls { bottom: 14%; }
}
@media (max-width:700px) and (max-height:700px) {
 :root { --plate-h: min(24svh, 58vw); }
 .words .wb .name { display: none; }
}
@media (min-width:701px) and (max-height:480px) {
 :root { --plate-h: min(54svh, 30vw); }
 .band { right: 48%; overflow: hidden; }
 .journey-controls { right: auto; width: 35%; bottom: 12%; }
 .journey-controls #nextStop span:first-child { display: none; }
 .journey-controls #nextStop { width: 44px; border: 1px solid var(--line); border-radius: 50%; }
}

@media (min-width:701px) and (max-height:699px) { .words[data-stop='street'] .note { display: none; } }
@media (max-width:700px) { .words .cta { gap: 12px; } .words .cta .btn { padding-inline: 16px; } }

.journey-start { display: flex; align-items: center; gap: 20px; }
@media (min-width:701px) {
 .sheet { display: block; position: absolute; inset: auto auto 17% 6%; width: 270px; max-height: 65svh; overflow: auto; background: #101A2C; border: 1px solid var(--line); border-radius: 8px; z-index: 9; padding: 10px 0; }
 .sheet button { display: block; width: 100%; min-height: 44px; padding: 6px 20px; text-align: start; font-size: 16px; }
 .sheet button:hover { color: var(--blue); background: var(--night-2); }
 .sheet .group { color: var(--ink-mute); font-size: 13px; padding: 12px 20px 4px; }
}
@media (max-width:700px) { .journey-controls .journey-more { display: none; } }

/* Complete approved scenes avoid missing limbs or translucent furniture from cutout overlap. */
.plate--cutout { background: transparent; box-shadow: none; overflow: visible; }
.plate--cutout .bg { object-fit: contain; }
.plate--cutout .vig, .plate[data-stop="dogs"] .vig { display: none; }
.guide-foundation { display: grid; gap: 4px; padding-block: 10px; }
.form-heading { font-size: 25px; margin-top: 16px; }

/* Refusal help: a reading page with a visible three-step structure. */
#refused .panel__in { max-width: 1020px; gap: 26px; }
#refused>.panel__in>.panel__close { position: sticky; top: 8px; background: var(--night); padding-inline: 18px; border: 1px solid var(--line); border-radius: 30px; }
.help-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.help-hero h2 { font-size: clamp(36px, 4.5vw, 58px); margin: 12px 0 20px; line-height: 1.2; }
.help-hero img { width: 100%; height: auto; border-radius: 8px; }
.help-hero .lede { font-size: 21px; line-height: 1.7; }
.help-nav { display: flex; gap: 32px; padding: 14px 0; border-block: 1px solid var(--line); }
.help-nav button { min-height: 44px; font-size: 18px; color: var(--blue); }
#refused .actions { gap: 0; margin: 0; }
#refused .actions>li { display: grid; grid-template-columns: 62px 1fr; gap: 28px; border-bottom: 1px solid var(--line); padding: 34px 0 40px; font: inherit; scroll-margin-top: 65px; }
#refused .actions>li::before { display: none; }
.step-number { font-size: 33px; font-weight: 700; line-height: 1.2; color: var(--blue); direction: ltr; padding-top: 28px; }
#refused .step-label { color: var(--blue); font-size: 15px; margin-bottom: 7px; }
#refused .actions h3 { font-size: 30px; line-height: 1.35; margin-bottom: 14px; }
#refused .actions p { max-width: 53ch; font-size: 20px; line-height: 1.85; font-weight: 400; }
#refused .actions blockquote { max-width: 54ch; margin: 24px 0 0; padding: 22px 26px; background: #17263f; border-inline-start: 3px solid var(--blue); font-size: 21px; line-height: 1.9; font-weight: 400; }
#refused .actions blockquote>span { display: block; font-size: 14px; color: var(--blue); margin-bottom: 8px; }
#refused .actions .care-note { font-size: 17px; color: var(--ink-soft); margin-top: 20px; }
#refused .routes { margin-top: 22px; }
#refused .routes a { gap: 20px; padding: 20px 0; font-weight: 400; }
#refused .routes strong { font-size: 21px; color: var(--blue); }
#refused .routes small { display: block; font-size: 17px; color: var(--ink-soft); margin-top: 4px; line-height: 1.7; }
#refused .routes a>span:last-child { color: var(--blue); font-size: 24px; }
#refused .notcover { margin-top: 12px; padding: 18px 24px; }
#refused .notcover li { margin-block: 10px; }
.help-source .text-link { font-size: inherit; }

/* Types explain roles separately from legal recognition or training status. */
#dogs .panel__in { max-width: 1080px; }
#dogs h3 { font-size: 28px; margin-top: 24px; }
.dog-intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; }
.dog-intro img { width: 100%; height: auto; }
.dog-intro .lede { font-size: 21px; line-height: 1.8; }
.dog-intro .context-note { margin-bottom: 0; }
.dog-roles { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.dog-roles>div { padding: 24px 0; border-top: 1px solid var(--line); }
.dog-roles dt { font-size: 24px; font-weight: 700; }
.dog-roles dd { margin: 10px 0 0; font-size: 19px; color: var(--ink-soft); line-height: 1.85; }
.dog-distinctions>details { border-top: 1px solid var(--line); padding: 14px 0 24px; }
.dog-distinctions summary { font-size: 23px; }
.dog-distinctions p { font-size: 19px; line-height: 1.9; color: var(--ink-soft); max-width: 64ch; }
#dogs .btn { justify-self: start; margin-top: 16px; }
@media (max-width:700px) {
 .help-hero { grid-template-columns: 1fr 110px; gap: 18px; }
 .help-hero>div { display: contents; }
 .help-hero .eyebrow,.help-hero .lede { grid-column: 1 / -1; }
 .help-hero h2 { font-size: 35px; margin: 0; grid-column: 1; }
 .help-hero .lede { font-size: 19px; }
 .help-hero img { width: 110px; grid-column: 2; grid-row: 2; }
 .help-nav { gap: 28px; padding-block: 6px; }
 #refused .actions>li { grid-template-columns: 35px 1fr; gap: 16px; padding: 28px 0 32px; }
 .step-number { font-size: 24px; padding-top: 30px; }
 #refused .actions h3 { font-size: 25px; }
 #refused .actions p { font-size: 19px; line-height: 1.85; }
 #refused .actions blockquote { padding: 18px; font-size: 19px; }
 #refused .actions .care-note { font-size: 16px; }
 #refused .step-label { font-size: 13px; }
 .dog-intro { grid-template-columns: 1fr; gap: 20px; }
 .dog-intro img { max-width: 200px; justify-self: center; }
 .dog-roles { grid-template-columns: 1fr; }
 #dogs h3 { font-size: 25px; }
 .dog-roles dt,.dog-distinctions summary { font-size: 22px; }
}
@media (max-width:700px) and (max-height:700px) {
 .words[data-stop='street'] .title { font-size: 32px; }
 .words[data-stop='street'] .rows button { min-height: 46px; font-size: 17px; padding-block: 6px; }
}
@media (min-width:701px) and (max-height:480px) {
 .words[data-stop='street'] { top: 20%; }
 .words[data-stop='street'] .title { font-size: 33px; }
 .words[data-stop='street'] .eyebrow { display: none; }
 .words[data-stop='street'] .lede { font-size: 15px; line-height: 1.5; margin: 0; }
 .words[data-stop='street'] .rows { margin-top: 2px; }
 .words[data-stop='street'] .rows button { min-height: 44px; font-size: 16px; padding-block: 5px; }
 .words[data-stop='street'] .rows button.primary { margin-bottom: 0; }
}

/* Read the answer first; open exceptions and sources only when needed. */
.strip__mark .mark { height: 58px; }
#world[data-stop='street'] #nextStop { padding: 10px 20px; border: 1px solid var(--blue); border-radius: 6px; color: var(--ink); background: linear-gradient(to left, #0B57D0 calc(var(--departure) * 100%), #17263f 0); box-shadow: 0 0 calc(var(--departure) * 24px) #8db8ff44; }
#world[data-stop='street'] #nextStop>span:last-child { transform: translateX(calc(var(--departure) * -8px)); color: white; }
#world[data-stop='street'] .floorlight { transform: translateX(calc(var(--departure) * 100px)); }
.route .rail,.route .done { height: 3px; }
#answers .panel__in { max-width: 1020px; }
.guide-hero { grid-template-columns: 1.3fr 1fr; margin: 0 0 24px; gap: 28px; }
.guide-hero .answer-lead { font-size: clamp(23px, 2.5vw, 31px); line-height: 1.5; color: var(--ink); }
.quick-points { display: grid; gap: 0; margin-bottom: 24px; }
.quick-points>li { display: grid; grid-template-columns: 210px 1fr; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.quick-points h3 { font-size: 21px; font-weight: 700; }
.quick-points p,.guide-details>p { font-size: 18px; color: var(--ink-soft); line-height: 1.75; max-width: 60ch; }
.service-rule { background: var(--night-2); border-inline-start: 3px solid var(--blue); padding: 20px 24px; font-size: 18px; line-height: 1.75; margin-bottom: 22px; }
.service-rule strong { display: block; color: var(--ink); font-size: 21px; margin-bottom: 6px; }
.guide-links { display: flex; gap: 28px; flex-wrap: wrap; padding-block: 12px; }
.exception-list { list-style: disc; padding-inline-start: 22px; font-size: 18px; line-height: 1.75; margin-bottom: 20px; display: grid; gap: 12px; }
.answers .src a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.identification { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; margin: 30px 0 24px; }
.identification h3 { font-size: 27px; font-weight: 700; margin-bottom: 18px; }
.identification p { font-size: 18px; color: var(--ink-soft); line-height: 1.75; }
.section-number { display: block; color: var(--blue); font-size: 15px; margin-bottom: 10px; }
.vest-row { display: grid; grid-template-columns: 44px 1fr; gap: 18px; margin-bottom: 24px; }
.vest-row h4 { font-size: 20px; margin: 0 0 8px; }
.vest-swatch { display: block; height: 52px; background: #0b57d0; border-radius: 15px 15px 6px 6px; border: 2px solid #8db8ff; position: relative; }
.vest-swatch::after { content: ''; position: absolute; inset: 20px 6px 12px; background: #f4f1ea; border-radius: 2px; }
.vest-swatch.black { background: #050505; border-color: #838998; }
.certificate { margin-top: 18px; }
.certificate img { width: 100%; height: auto; border-radius: 7px; }
.certificate figcaption { font-size: 14px; line-height: 1.6; color: var(--ink-mute); margin-top: 10px; }
.download-sheet { display: flex; align-items: center; gap: 30px; padding: 26px 0; border-top: 1px solid var(--line); }
.download-sheet h3 { font-size: 23px; margin-bottom: 8px; }
.download-sheet p { font-size: 17px; color: var(--ink-soft); }
.download-sheet .btn { flex-shrink: 0; display: grid; gap: 0; padding: 14px 20px; border-radius: 6px; }
.download-sheet small { font-weight: 400; font-size: 13px; }
#dogs .small>.text-link { font-size: inherit; min-height: 0; }
#dogs .dog-tasks,#dogs .dog-recognition { margin-top: 18px; }
#dogs .dog-tasks h3,#dogs .dog-recognition h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.3; margin: 10px 0 18px; }
.dog-tasks>p:not(.eyebrow):not(.small) { font-size: 19px; color: var(--ink-soft); }
.task-examples { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin-block: 24px; }
.task-examples li { border-top: 1px solid var(--line); padding-top: 14px; }
.task-examples span { font-size: 14px; color: var(--blue); display: block; margin-bottom: 12px; }
.task-examples strong { font-size: 23px; line-height: 1.55; font-weight: 500; }
.dog-distinctions details { padding: 10px 0; }
.dog-distinctions summary { font-size: 21px; }
.dog-distinctions p { font-size: 18px; line-height: 1.75; }
.dog-roles dt { font-size: 20px; }
.dog-roles dd { font-size: 17px; }
.help-hero { display: block; }
.help-hero h2 { margin: 8px 0 18px; }
.help-nav { gap: 12px; border: 0; padding: 0; }
.help-nav button { background: var(--night-2); border: 1px solid var(--line); padding: 7px 17px; border-radius: 6px; font-size: 16px; }
#refused .actions>li { display: block; padding: 0; }
#refused .actions details { scroll-margin-top: 70px; }
#refused .actions summary { display: flex; align-items: center; gap: 18px; font-size: 26px; padding: 22px 0; list-style: none; }
#refused .actions summary::-webkit-details-marker { display: none; }
#refused .actions summary::after { content: '+'; margin-inline-start: auto; color: var(--blue); font-weight: 400; }
#refused .actions details[open]>summary::after { content: '−'; }
#refused .step-number { font-size: 17px; padding: 0; }
#refused .help-body { padding: 0 36px 24px 0; }
#refused .help-body p { font-size: 18px; line-height: 1.7; }
#refused .actions blockquote { margin-top: 18px; padding: 18px 22px; font-size: 20px; line-height: 1.7; }
#refused .actions .care-note { font-size: 16px; margin-top: 16px; }
#refused .document-list { display: grid; gap: 12px; }
#refused .document-list li { font: inherit; font-size: 18px; padding: 0; }
#refused .document-list li::before { display: none; }
#refused .routes { margin-top: 16px; }
#refused .routes a { padding-block: 14px; }
#refused .notcover { margin: 0; }
#enquiry .panel__in { max-width: 1020px; }
.lecture-hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 24px; }
.lecture-hero h2 { font-size: clamp(33px, 4vw, 48px); margin: 16px 0 20px; line-height: 1.15; }
.lecture-hero .lede { font-size: 20px; line-height: 1.7; }
.lecture-hero img { width: 100%; height: auto; }
.lecture-hero figcaption { text-align: center; color: var(--blue); font-size: 15px; }
.hadar-contact { padding: 25px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--night-2); border-radius: 8px; }
.hadar-contact p { font-size: 17px; line-height: 1.8; }
.hadar-contact strong { font-size: 21px; }
.hadar-contact .btn { flex-shrink: 0; border-radius: 6px; }
.enquiry-draft { border-top: 1px solid var(--line); padding-block: 10px; }
.contact-routes { display: grid; gap: 4px; justify-items: start; flex-shrink: 0; }
.contact-routes .text-link { font-size: 15px; min-height: 36px; }
.lecture-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lecture-facts li { padding: 18px 20px; background: var(--night-2); border-top: 3px solid var(--blue); border-radius: 8px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.lecture-facts b { display: block; font-family: var(--font); font-size: 21px; color: var(--ink); margin-bottom: 4px; }
/* The organisations belt from the yaronedel.com lecture page, on light cards so every logo reads as designed. */
.proof { display: grid; gap: 18px; padding-block: 8px; min-width: 0; }
.belt { direction: ltr; min-width: 0; }
.belt__view { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.belt__track { display: flex; width: max-content; animation: belt 60s linear infinite; }
.belt:hover .belt__track { animation-play-state: paused; }
.belt__set { display: flex; gap: 14px; padding-inline: 7px; }
.belt__set li { width: 150px; height: 76px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(157deg, #FFFEFC, #EEE9E0); }
.belt .lg { width: 104px; height: 40px; background: var(--l) center / contain no-repeat; filter: grayscale(1) brightness(.5) contrast(1.05); opacity: .85; }
.belt .lg.mark { width: 54px; height: 52px; }
.belt .lg.detail { filter: grayscale(1) contrast(1.03); opacity: .66; }
.belt .lg.light { filter: grayscale(1) brightness(.34) contrast(1.18); opacity: .9; }
@keyframes belt { to { transform: translateX(-50%); } }
.quiet .belt__view { -webkit-mask: none; mask: none; }
.quiet .belt__track { animation: none; width: auto; }
.quiet .belt__set { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
.quiet .belt__set[aria-hidden] { display: none; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote { display: grid; align-content: space-between; gap: 16px; padding: 22px 24px; background: rgba(255, 255, 255, .04); border-inline-start: 3px solid var(--blue); border-radius: 8px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.7; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-mute); line-height: 1.4; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote figcaption b { display: block; color: var(--ink); font-size: 16px; }
@media (max-width: 700px) {
 .lecture-facts, .quotes { grid-template-columns: 1fr; gap: 10px; }
 .belt__set li { width: 118px; height: 62px; }
 .belt .lg { width: 84px; height: 32px; }
 .belt .lg.mark { width: 44px; height: 42px; }
}
@media (max-width:1100px) and (min-width:701px) {
 .strip { gap: 15px; padding-inline: 22px; }
 .strip__mark .mark { height: 48px; }
 .strip__nav { gap: 18px; font-size: 14px; }
 .strip__nav .nav-long { display: none; }
}
@media (max-width:700px) {
 :root { --strip: 110px; }
 .strip { padding: 4px 18px 6px; }
 .strip__mark .mark { height: auto; width: min(330px, calc(100vw - 36px)); }
 .strip__nav { height: 40px; font-size: 14px; gap: 10px; }
 .strip__nav .nav-long { display: none; }
 .strip__nav .switch { position: static; font-size: 12px; min-height: 36px; }
 .guide-hero { display: grid; grid-template-columns: 1fr 105px; gap: 18px; align-items: center; margin-bottom: 22px; }
 .guide-hero .answer-lead { font-size: 22px; }
 .quick-points>li { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
 .quick-points h3 { font-size: 21px; }
 .quick-points p { font-size: 18px; }
 .guide-links { display: grid; gap: 0; padding-block: 8px; }
 .service-rule { padding: 18px; }
 .identification { grid-template-columns: 1fr; gap: 12px; }
 .identification h3 { font-size: 25px; }
 .identification>section { border-top: 1px solid var(--line); padding-top: 20px; }
 .download-sheet { align-items: stretch; flex-direction: column; gap: 18px; }
 .download-sheet .btn { align-self: start; }
 .task-examples { grid-template-columns: 1fr; gap: 0; }
 .task-examples li { display: flex; gap: 18px; padding-block: 16px; align-items: baseline; }
 .task-examples span { margin: 0; }
 .task-examples strong { font-size: 21px; }
 .help-hero .lede { font-size: 19px; }
 .help-nav { gap: 8px; }
 .help-nav button { font-size: 14px; padding-inline: 10px; }
 #refused .actions summary { font-size: 23px; gap: 14px; }
 #refused .help-body { padding: 0 0 24px; }
 .lecture-hero { grid-template-columns: 1fr; gap: 12px; }
 .lecture-hero figure { display: flex; align-items: center; justify-content: center; gap: 14px; }
 .lecture-hero img { width: 150px; }
 .lecture-hero h2 { font-size: 36px; }
 .lecture-hero .lede { font-size: 19px; }
 .hadar-contact { display: grid; gap: 16px; padding: 22px; }
 .hadar-contact .btn { justify-self: start; }
 #world[data-stop='street'] #nextStop { padding: 8px 12px; }
}
@media (max-width:359px) { .strip__nav { font-size: 13px; gap: 8px; } }
@media (min-width:701px) and (max-height:480px) { #world[data-stop='street'] #nextStop { padding: 0; } }

@media (max-width:700px) and (max-height:700px) { :root { --band-top: max(19%, calc(var(--strip) + 8px)); } }

/* The opening copy shares the right edge of its heading and actions. */
.words[data-stop="street"] .wb { justify-items: stretch; text-align: right; }
.words[data-stop="street"] .lede { max-width: none; }

/* One group scene carries the breed variety; the caption remains a quiet foreground layer. */
.breed-scene { margin-block: 8px 0; }
.breed-scene__art { overflow: clip; border-radius: 8px; }
.breed-scene img { width: 100%; height: auto; display: block; }
.breed-key { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-align: center; font-size: 18px; }
.breed-key small { display: block; color: var(--ink-mute); font-size: 14px; }
@supports (animation-timeline: view()) {
 @media (prefers-reduced-motion: no-preference) {
  html:not(.quiet) .breed-scene img { animation: group-depth linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes group-depth { from { transform: scale(1.035) translateX(0.8%); } to { transform: scale(1.035) translateX(-0.8%); } }
 }
}
@media (max-width:700px) { .breed-key { font-size: 15px; gap: 8px; padding-block: 14px; } .breed-key small { font-size: 12px; } }

/* Ruby remains registered while the complete drawings crossfade together. */
#pair, #band .plate { transform-origin: 0 0; }

/* The camera owns scroll easing; captions never trail behind it on a second timer. */
#words .wb { transition: none; transform: none; }
@media (max-width:700px) and (max-height:760px) {
 .words[data-stop="street"] { top: calc(var(--strip) + 12px); }
 .words[data-stop="street"] .wb { gap: 7px; }
 .words[data-stop="street"] .eyebrow, .words[data-stop="street"] .note { display: none; }
 .words[data-stop="street"] .title { width: 56%; justify-self: start; min-height: 100px; display: flex; align-items: center; font-size: clamp(29px, 8vw, 34px); }
 .words[data-stop="street"] .lede { font-size: 16px; line-height: 1.55; margin: 0; }
 .words[data-stop="street"] .rows { margin-top: 2px; }
 .words[data-stop="street"] .rows button { min-height: 44px; font-size: 17px; padding-block: 6px; }
 .words[data-stop="street"] .rows button.primary { margin-bottom: 0; }
}

/* On wide screens the picture and reading each keep their own side of the page. */
@media (min-width:701px) and (min-height:700px) {
 :root {
  --plate-h: min(55svh, 34vw);
  --scene-h: max(var(--plate-h), 380px);
  --scene-top: max(calc(var(--strip) + 24px), calc((100svh + var(--strip) - var(--scene-h) - 156px) / 2));
  --band-top: calc(var(--scene-top) + (var(--scene-h) - var(--plate-h)) / 2);
 }
 .words:not([data-stop="street"]) { top: var(--scene-top); height: var(--scene-h); left: auto; right: 7%; width: 35%; bottom: auto; text-align: start; }
 .words:not([data-stop="street"]) .wb { justify-items: start; align-content: center; gap: 16px; }
 .words:not([data-stop="street"]) .cta { justify-content: start; }
 .journey-controls { top: calc(var(--scene-top) + var(--scene-h) + 28px); bottom: auto; }
 .route { top: calc(var(--scene-top) + var(--scene-h) + 96px); bottom: auto; }
}

/* The browser fades the existing reading pages in and out, including display:none. */
.panel { opacity: 1; transition: opacity 280ms ease, display 280ms allow-discrete; }
.panel[hidden] { opacity: 0; pointer-events: none; }
.panel__in { transform: translateY(0); transition: transform 280ms ease; }
.panel[hidden] .panel__in { transform: translateY(8px); }
@starting-style {
 .panel:not([hidden]) { opacity: 0; }
 .panel:not([hidden]) .panel__in { transform: translateY(8px); }
}
html.quiet .panel, html.quiet .panel__in { transition: none; }

/* A practical example follows each place's own sequence of actions. */
.answers .guide-situation { padding: 24px 28px; margin: 8px 0 28px; border: 0; border-inline-start: 3px solid var(--blue); background: var(--night-2); gap: 12px; }
.guide-situation h3 { font-size: 24px; line-height: 1.4; }
.guide-situation>p:not(.eyebrow) { font-size: 18px; line-height: 1.8; color: var(--ink-soft); max-width: 62ch; }

/* The dog reader has three sections, with the business decision first. */
#dogs .dog-section { padding-block: 32px 12px; margin: 0; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
#dogs .dog-section h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.35; margin: 8px 0 20px; }
.dog-section__lead { font-size: 20px; line-height: 1.8; color: var(--ink-soft); max-width: 64ch; margin-bottom: 24px; }
.dog-distinctions { margin: 0; }
.dog-distinctions>div { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); }
.dog-distinctions dt { font-size: 21px; font-weight: 700; line-height: 1.5; }
.dog-distinctions dd { margin: 0; font-size: 18px; line-height: 1.8; color: var(--ink-soft); max-width: 58ch; }
#dogs .dog-section .btn { margin-block: 10px 24px; }
@media (max-width:700px) {
 #dogs .dog-section { padding-top: 22px; }
 .dog-section__lead { font-size: 18px; }
 .dog-distinctions>div { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
 .answers .guide-situation { padding: 20px; }
}

/* A small utility line stays reachable without adding another story stop. */
:root { --legal-h: calc(33px + env(safe-area-inset-bottom)); }
.world { height: calc(100svh - var(--legal-h)); }
.site-footer { position: fixed; inset: auto 0 0; z-index: 65; background: var(--night); padding-bottom: env(safe-area-inset-bottom); }
.legal-links { display: flex; justify-content: center; gap: 24px; border-top: 1px solid var(--line); }
.legal-links a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; }
.legal-links a:hover { color: var(--blue); }
.panel__in>.legal-links { margin-top: 24px; padding-top: 12px; justify-content: start; }
.panel--legal .panel__in { max-width: 860px; }
.panel--legal section { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.panel--legal h3 { font-size: 24px; line-height: 1.4; }
.panel--legal section p,.legal-list { font-size: 18px; line-height: 1.85; color: var(--ink-soft); }
.legal-list { list-style: disc; padding-inline-start: 22px; display: grid; gap: 12px; }
@media (max-width:700px) {
 :root { --bar: 44px; }
 .phonebar { padding-bottom: 0; height: var(--bar); }
 .sheet { bottom: var(--bar); }
 .words:not([data-stop="street"]) { top: calc(var(--band-top) + var(--plate-h) + 1svh); }
}

/* Reading aids. Guide steps: a symbol on a connecting line, the step number, then ✓ do and ✕ don't lines. */
.panel { --ink-soft: rgba(244, 241, 234, .88); }
.in-short { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; color: var(--blue); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.in-short small { color: var(--ink-mute); font-size: 14px; font-weight: 400; }
.steps>li { position: relative; grid-template-columns: 44px 1fr; gap: 18px; border-top: 0; padding: 18px 0; }
.steps>li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 21px; top: 64px; bottom: -16px; width: 2px; background: rgba(141, 184, 255, .3); }
.step__icon { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; background: var(--night); }
.step__icon svg { width: 22px; height: 22px; }
.steps>li>div { display: grid; grid-template-columns: 190px 1fr; gap: 2px 28px; align-content: start; }
.steps .step__n { color: var(--ink-mute); font-size: 13px; line-height: 1.4; }
.steps h3 { grid-column: 1; }
.steps .dd { grid-column: 2; grid-row: 1 / span 2; }
.dd { display: grid; gap: 10px; }
.dd li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.dd li::before { content: "✓"; content: "✓" / ""; color: #9FD8B4; font-weight: 800; text-align: center; }
.dd .dont { color: #FFD9D2; }
.dd .dont::before { content: "✕"; content: "✕" / ""; color: #FFB4A8; }
/* Long pages: their parts stay listed at the top; the part being read lights up. */
.page-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; padding: 12px 0 14px; background: var(--night); box-shadow: 0 12px 14px -14px rgba(0, 0, 0, .9); }
.page-nav a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(141, 184, 255, .4); color: var(--blue); font-size: 15px; white-space: nowrap; }
.page-nav a span { font-size: 13px; opacity: .75; }
.page-nav a.here { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; font-weight: 700; }
.page-nav__done { position: absolute; bottom: 0; inset-inline-start: 0; width: 0; height: 3px; background: var(--blue); border-radius: 2px; }
.page-nav ~ section { scroll-margin-top: 76px; }
.lecture-part { display: grid; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.lecture-part h3 { font-family: var(--font); font-size: 28px; font-weight: 700; line-height: 1.25; }
@media (max-width: 700px) {
 .steps>li { grid-template-columns: 38px 1fr; gap: 14px; }
 .step__icon { width: 38px; height: 38px; }
 .step__icon svg { width: 19px; height: 19px; }
 .steps>li:not(:last-child)::after { inset-inline-start: 18px; top: 58px; }
 .steps>li>div { grid-template-columns: 1fr; }
 .steps .dd { grid-column: 1; grid-row: auto; margin-top: 8px; }
 .page-nav { gap: 6px; overflow-x: auto; }
 .page-nav a { flex: 1 1 auto; gap: 4px; font-size: 14px; padding: 0 8px; min-height: 38px; }
 .lecture-part h3 { font-size: 24px; }
}
@media (max-width: 359px) { .page-nav a { font-size: 13px; padding: 0 7px; } .page-nav a span { display: none; } }
/* Dogs page: the group picture opens the page; each kind of dog has a drawing of what it wears. */
.breed-scene__say { font-size: 19px; line-height: 1.7; color: var(--ink-soft); padding-top: 16px; max-width: 64ch; }
.breed-scene__say strong { color: var(--ink); }
#dogs h3 { font-family: var(--font); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.3; margin: 8px 0 14px; }
.roles-h { font-family: var(--font); font-size: 22px; font-weight: 700; margin: 26px 0 0; }
.dog-roles dt { display: flex; align-items: center; gap: 12px; }
.role__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; }
.role__icon svg { width: 20px; height: 20px; }
.dog-roles dd { padding-inline-start: 52px; }
@media (max-width: 700px) {
 .breed-scene__say { font-size: 17px; }
 .dog-roles dd { padding-inline-start: 0; }
}
#dogs .steps h3 { font-size: 21px; margin: 0; }
.dog-also { display: grid; gap: 16px; margin-top: 24px; max-width: 64ch; }
.dog-also section { padding: 18px 20px; background: var(--night-2); border-radius: 10px; }
.dog-also h4 { font-family: var(--font); font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.dog-also p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
@media (max-width: 700px) { .dog-also { grid-template-columns: 1fr; } }
.harness-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.harness-gallery figure { margin: 0; display: grid; gap: 10px; }
.harness-gallery img { width: 100%; height: auto; border-radius: 10px; background: #F4F1EA; }
.harness-gallery figcaption { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.harness-gallery figcaption strong { color: var(--ink); }
@media (max-width: 700px) { .harness-gallery { grid-template-columns: 1fr; } .harness-gallery img { max-width: 340px; } }
/* Pre-launch fixes: the logo belt can be stopped; the guide-dog exception sits beside the two identification checks. */
.belt.paused .belt__track { animation-play-state: paused; }
.belt__toggle { justify-self: start; font-size: 15px; }
.quiet .belt__toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .belt__toggle { display: none; } }
.guide-dog-note { font-size: 17px; line-height: 1.75; color: var(--ink-soft); padding: 14px 18px; border-inline-start: 3px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: 6px; max-width: 64ch; margin-bottom: 20px; }
/* A field only bots fill; people never see or reach it. */
.form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form button[disabled] { opacity: .6; cursor: progress; }
