/* Physio Talwind – Beispiel-Website von KIVA. Concept "Talwind": a gentle wind through the valley; fine flowing lines hint at movement and posture. */
:root {
  --teal: #3E8E8A;        /* decorative lines, large accents */
  --teal-ink: #24625E;    /* text, buttons (AA on birch and white) */
  --teal-deep: #1C4E4B;
  --teal-50: #E3EFEC;
  --birch: #F7F5F0;
  --white: #FFFFFF;
  --sand: #EFE6D6;
  --sand-2: #E4D7C1;
  --ink: #1D2A33;
  --muted: #485961;
  --line: #CFC6B5;
  --field: #6A7A80;
  --serif: 'Fraunces Soft', Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  --r: 22px;
  --gut: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--birch); color: var(--ink); font: 400 1.1875rem/1.6 var(--sans); padding-bottom: 72px; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; overflow-wrap: break-word; hyphens: auto; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 8vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
h1 em, h2 em { font-style: italic; color: var(--teal-ink); }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 700px) { :root { --gut: 32px; } }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--ink); color: var(--birch); padding: 12px 18px; border-radius: 10px; z-index: 200; }
.skip:focus { top: 12px; }
.eyebrow { font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .8em; }
.lede { font-size: 1.28rem; color: var(--muted); max-width: 38em; }
.small { font-size: 1rem; color: var(--muted); }
.mt { margin-top: 1.4em; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--teal-ink); color: var(--white); border: 2px solid var(--teal-ink); font: 700 1.125rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.btn--line { background: transparent; color: var(--teal-ink); }
.btn--line:hover { background: var(--teal-50); color: var(--teal-deep); }
.btn--light { background: var(--birch); border-color: var(--birch); color: var(--teal-deep); }
.btn--light:hover { background: var(--white); color: var(--teal-deep); }
.btn--wide { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.link-more { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.link-more::after { content: "→"; margin-left: .45em; transition: margin .2s; }
.link-more:hover::after { margin-left: .75em; }

/* ---------- header: plain sticky bar (no transform/filter/backdrop-filter anywhere up the tree) */
.header { position: sticky; top: 0; z-index: 50; background: var(--birch); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 38px; height: 38px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; }
.logo-txt { display: flex; align-items: baseline; gap: 6px; }
.logo-sm { font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.logo-lg { font: italic 400 1.75rem/1 var(--serif); }
.menu-btn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; min-width: 48px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--birch); color: var(--ink); font: 700 1.05rem/1 var(--sans); cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: background-color .2s, rotate .25s, translate .25s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { translate: 0 -6px; }
.menu-lines::after { translate: 0 6px; }
.nav-open .menu-lines { background: transparent; }
.nav-open .menu-lines::before { translate: 0 0; rotate: 45deg; }
.nav-open .menu-lines::after { translate: 0 0; rotate: -45deg; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav-contact { display: none; }

@media (max-width: 959px) {
  .nav { position: fixed; inset: 0; z-index: 1; width: 100vw; height: 100vh; height: 100dvh; overflow-y: auto; background: var(--birch); padding: 96px var(--gut) 96px; display: flex; flex-direction: column; gap: 24px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
  .nav::before { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%233E8E8A' stroke-opacity='.28' stroke-width='1.5'%3E%3Cpath d='M-10 60C80 30 140 110 220 70S360 30 410 60'/%3E%3Cpath d='M-10 120C90 90 150 170 230 130S360 90 410 120'/%3E%3Cpath d='M-10 180C80 150 160 230 240 190S370 150 410 180'/%3E%3Cpath d='M-10 240C90 210 150 290 230 250S360 210 410 240'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
  .nav-open .nav { visibility: visible; opacity: 1; transition: opacity .25s; }
  .nav-open { overflow: hidden; }
  .nav ul { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
  .nav li a { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); font: 400 2rem/1.1 var(--serif); color: var(--ink); text-decoration: none; }
  .nav li a[aria-current="page"] { color: var(--teal-ink); font-style: italic; }
  .nav li a[aria-current="page"]::before { content: ""; width: 22px; height: 2px; background: var(--teal); margin-right: 12px; }
  .btn--nav { align-self: stretch; position: relative; }
  .nav-contact { display: block; position: relative; color: var(--muted); font-size: 1.05rem; }
  .nav-contact a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
}
@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 22px; }
  .nav ul { display: flex; gap: 4px; }
  .nav li a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.1rem; border-radius: 999px; }
  .nav li a:hover { background: var(--teal-50); }
  .nav li a[aria-current="page"] { color: var(--teal-ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
  .btn--nav { min-height: 48px; padding: 0 22px; font-size: 1.05rem; }
}

/* ---------- flow lines */
.flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow path { fill: none; vector-effect: non-scaling-stroke; }
.fl { stroke: var(--teal); stroke-opacity: .2; stroke-width: 1.4; stroke-dasharray: 340 26; animation: drift 38s linear infinite; }
.fl1, .fl4 { animation-duration: 52s; stroke-opacity: .16; }
.fl2 { animation-duration: 44s; stroke-opacity: .28; }
.fl3 { animation-direction: reverse; animation-duration: 60s; }
.fl-spine { stroke: var(--teal); stroke-opacity: .55; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: rise 3.2s .3s cubic-bezier(.3,.6,.2,1) forwards; }
@keyframes drift { to { stroke-dashoffset: -1464; } }
@keyframes rise { to { stroke-dashoffset: 0; } }
.flow--teaser .fl { stroke: var(--birch); stroke-opacity: .22; }
.divider { width: 100%; height: 40px; fill: none; stroke: var(--teal); stroke-opacity: .4; stroke-width: 1.5; }

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; }
.flow--hero { top: 28%; height: 72%; }
.hero-grid { position: relative; display: grid; gap: 36px; align-items: center; }
.hero h1 { max-width: 10em; }
.hero-meta { color: var(--muted); font-size: 1.05rem; }
.hero-meta a { font-weight: 700; }
.nowrap { white-space: nowrap; }
@media (max-width: 959px) { .flow--hero .fl-spine { display: none; } }
.hero-fig { margin: 0; }
.hero-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 120px var(--r) var(--r) var(--r); background: var(--sand); }
.img-note { font-size: .9rem; color: var(--muted); margin: 10px 0 0; }
.img-note--page { padding-top: 8px; padding-bottom: 24px; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .hero-img { border-radius: 220px var(--r) var(--r) var(--r); }
}

/* ---------- sections */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0 56px; }
.section--sand { background: var(--sand); }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
  .split--img { grid-template-columns: .85fr 1fr; align-items: center; }
}
.ed-fig { margin: 0; }
.ed-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r) 140px var(--r) var(--r); background: var(--sand-2); }
@media (min-width: 900px) { .ed-img { aspect-ratio: 2 / 3; max-height: 640px; } }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
.steps li { position: relative; padding: 26px 24px 18px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--teal-50); color: var(--teal-ink); font: italic 400 1.6rem/1 var(--serif); margin-bottom: 14px; }
.steps p { color: var(--muted); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; min-height: 72px; padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.svc-n { font-weight: 700; color: var(--teal-ink); font-size: .95rem; letter-spacing: .06em; }
.svc-t { font: 400 clamp(1.35rem, 3.6vw, 1.7rem)/1.2 var(--serif); }
.svc-arrow { color: var(--teal-ink); font-size: 1.3rem; transition: translate .2s; }
.svc-list a:hover .svc-t { color: var(--teal-ink); font-style: italic; }
.svc-list a:hover .svc-arrow { translate: 6px 0; }

.book-teaser { position: relative; overflow: hidden; background: var(--teal-deep); color: var(--birch); border-radius: 28px; padding: 44px 24px; }
.book-teaser-in { position: relative; max-width: 36em; }
.book-teaser h2 { color: var(--birch); }
.book-teaser h2 em { color: #CFE6E1; }
.eyebrow--light { color: #CFE6E1; }
@media (min-width: 900px) { .book-teaser { padding: 64px; } }

/* ---------- team */
.team-grid { list-style: none; margin: 32px 0 24px; padding: 0; display: grid; gap: 20px; }
.person { display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: start; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.person .portrait { grid-row: span 4; width: 96px; height: 96px; }
.person h3 { margin: 4px 0 2px; font: 400 1.5rem/1.15 var(--serif); }
.role { color: var(--muted); margin-bottom: 10px; }
.fict { font-size: .9rem; }
.person .small { margin: 0 0 6px; font-weight: 700; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tags li { padding: 4px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-deep); font-size: .98rem; max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .person { grid-template-columns: 1fr; text-align: left; padding: 24px; }
  .person .portrait { grid-row: auto; width: 128px; height: 128px; margin-bottom: 16px; }
}
.portrait .p-bg { fill: var(--sand); }
.portrait .p-line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-opacity: .55; }
.portrait .p-line2 { stroke-opacity: .3; }
.portrait .p-ini { font: italic 400 76px/1 var(--serif); fill: var(--teal-deep); }

/* ---------- lists, notes, tables */
.plain-list { margin: 0 0 1em; padding-left: 1.2em; }
.plain-list li { margin-bottom: .6em; }
.plain-list li::marker { color: var(--teal); }
.hint { display: inline-block; padding: 12px 16px; border-radius: 14px; background: var(--white); border-left: 4px solid var(--teal); font-weight: 700; }
.hint--big { font-size: 1.2rem; margin-top: 12px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); }
.tick { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--teal-ink); display: grid; place-items: center; }
.tick svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours th { font-weight: 500; padding-right: 16px; }
.hours td { text-align: right; font-weight: 700; }
.notes { display: grid; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 900px) { .notes { grid-template-columns: 1fr 1fr; } }
.note { padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--teal); }
.note--med { border-left-color: var(--ink); }
.note--slim { padding: 16px 20px; margin-bottom: 8px; }
.note-h { font: 700 1.25rem/1.25 var(--sans); margin-bottom: .5em; }
.note-em { margin-bottom: 0; }
.voices-ph { margin-top: 20px; padding: 40px 24px; border: 2px dashed var(--line); border-radius: var(--r); text-align: center; }
.voices-ph p:first-child { font: italic 400 clamp(1.4rem, 4vw, 1.9rem)/1.3 var(--serif); color: var(--teal-ink); }

/* ---------- map */
.map { margin: 0; }
.map svg { width: 100%; height: auto; border-radius: var(--r); }
.map figcaption { font-size: .98rem; color: var(--muted); margin-top: 10px; }
.m-bg { fill: #F3EDE1; }
.m-river { fill: none; stroke: #BFD9D4; stroke-width: 22; stroke-linecap: round; }
.m-rail { fill: none; stroke: #8C969A; stroke-width: 6; }
.m-rail-ties { fill: none; stroke: #F3EDE1; stroke-width: 2; stroke-dasharray: 6 10; }
.m-road { fill: none; stroke: var(--white); stroke-width: 16; stroke-linecap: round; }
.m-road--main { stroke-width: 22; }
.m-walk { fill: none; stroke: var(--teal-ink); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.m-station { fill: var(--ink); }
.m-label { font: 700 19px/1 var(--sans); fill: var(--ink); }
.m-label--inv { fill: var(--birch); font-size: 16px; }
.m-small { font: 500 15px/1 var(--sans); fill: var(--muted); }
.m-small--river { fill: #3F6E69; font-style: italic; }
.m-bus { fill: var(--teal-ink); }
.m-bus-t { font: 700 12px/1 var(--sans); fill: var(--white); }
.m-pin-halo { fill: var(--teal); fill-opacity: .2; }
.m-pin-dot { fill: var(--teal-ink); stroke: var(--white); stroke-width: 3; }

/* ---------- page heads */
.page-head { position: relative; overflow: hidden; padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .wrap { position: relative; }
.flow--head { top: 40%; height: 60%; }
.page-head--legal { padding-bottom: 24px; }
@media (min-width: 960px) { .page-head { padding: 80px 0 56px; } }
.jump { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--teal-ink); border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 500; }
.jump a:hover { background: var(--teal-50); }

/* ---------- services page */
.svc-stack { display: grid; gap: 56px; padding-top: 48px; padding-bottom: 24px; }
.svc { display: grid; gap: 24px; align-items: center; }
.svc-fig { margin: 0; }
.svc-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--sand); }
.svc:nth-child(odd) .svc-img { border-top-left-radius: 110px; }
.svc:nth-child(even) .svc-img { border-top-right-radius: 110px; }
.svc-num { font: italic 400 1.4rem/1 var(--serif); color: var(--teal-ink); margin-bottom: 8px; }
.svc-sub { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin: 1.2em 0 .3em; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .svc:nth-child(even) .svc-fig { order: 2; }
}

/* ---------- costs */
.cost-grid { display: grid; gap: 20px; }
@media (min-width: 820px) { .cost-grid { grid-template-columns: 1fr 1fr; } }
.cost { padding: 28px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.cost h2 { font-size: 1.8rem; }
.prices { width: 100%; border-collapse: collapse; margin-top: 8px; }
.prices caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.prices th, .prices td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.prices td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }

/* ---------- booking demo */
.booking-wrap { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .booking-wrap { grid-template-columns: 1fr 1.8fr; gap: 40px; } .tool-box { position: sticky; top: 96px; } .booking, .bk-done { grid-column: 2; grid-row: 1; } }
.tool-box { padding: 24px; border-radius: var(--r); border: 2px dashed var(--teal); background: var(--teal-50); }
.booking, .bk-done { padding: 24px 18px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
@media (min-width: 700px) { .booking, .bk-done { padding: 36px; } }
.booking-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.booking-top h2 { margin: 0; }
.demo-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--birch); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.bk-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 20px 0 8px; }
.bk-steps li { flex: 1; padding-top: 10px; border-top: 4px solid var(--line); font-size: .95rem; color: var(--muted); font-weight: 500; }
.bk-steps li.is-done { border-top-color: var(--teal); color: var(--teal-ink); font-weight: 700; }
.bk-set { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.bk-set legend { display: flex; align-items: center; gap: 10px; font: 400 1.6rem/1.2 var(--serif); margin-bottom: 14px; padding: 0; }
.leg-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-50); color: var(--teal-ink); font: 700 1rem/1 var(--sans); }
.opts { display: grid; gap: 10px; }
.opts--th { grid-template-columns: 1fr; }
@media (min-width: 640px) { .opts--th { grid-template-columns: 1fr 1fr; } }
.opts--date { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.opts--time { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-in { display: flex; align-items: center; gap: 12px; min-height: 56px; height: 100%; padding: 10px 14px; border: 2px solid var(--line); border-radius: 16px; background: var(--birch); transition: border-color .15s, background-color .15s; }
.opt-in strong { display: block; font-weight: 700; line-height: 1.25; }
.opt-in small { display: block; color: var(--muted); font-size: .95rem; line-height: 1.3; }
.opt:hover .opt-in { border-color: var(--teal); }
.opt input:checked + .opt-in { border-color: var(--teal-ink); background: var(--teal-50); box-shadow: inset 0 0 0 1px var(--teal-ink); }
.opt input:focus-visible + .opt-in { outline: 3px solid var(--ink); outline-offset: 2px; }
.opt input:disabled + .opt-in { opacity: 1; color: #6B767A; background: repeating-linear-gradient(-45deg, var(--birch) 0 6px, #EEEAE2 6px 12px); border-style: dashed; cursor: not-allowed; }
.opt input:disabled + .opt-in s { text-decoration-thickness: 1.5px; }
.opt input:disabled { cursor: not-allowed; }
.opts--date .opt-in, .opts--time .opt-in { flex-direction: column; justify-content: center; gap: 0; text-align: center; padding: 8px 6px; }
.opts--date .opt-in small { font-size: .9rem; }
.portrait--sm { width: 48px; height: 48px; flex: 0 0 48px; }
.opt-any { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: var(--sand); color: var(--teal-ink); font: 400 1.6rem/1 var(--serif); }
.bk-err { min-height: 1.6em; margin: 16px 0 8px; color: #9B2C1F; font-weight: 700; }
.bk-done h2 { margin-top: 16px; }
.bk-sum { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 20px; padding: 18px; background: var(--teal-50); border-radius: 16px; }
.bk-sum dt { color: var(--muted); }
.bk-sum dd { margin: 0; font-weight: 700; }

/* ---------- forms */
.contact-form { display: grid; gap: 16px; margin-top: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid var(--field); border-radius: 14px; background: var(--white); color: var(--ink); font: inherit; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 1px; border-color: var(--teal-ink); }
.field .small { margin: 6px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 48px; }
.check input { width: 26px; height: 26px; margin: 2px 0 0; flex: 0 0 26px; accent-color: var(--teal-ink); }
.form-msg { min-height: 1.5em; font-weight: 700; color: var(--teal-deep); margin: 0; }

/* ---------- legal */
.legal { max-width: 46em; padding-top: 40px; padding-bottom: 48px; }
.legal h2 { font-size: 1.8rem; margin-top: 1.2em; }

/* ---------- footer */
.footer { background: var(--ink); color: #E9E5DC; padding: 56px 0 24px; }
.footer a { color: #CFE6E1; display: inline-block; min-height: 32px; padding: 6px 0; }
.footer a:hover { color: var(--white); }
.footer :focus-visible { outline-color: var(--birch); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1fr; } }
.footer-name { display: flex; align-items: center; gap: 10px; font: italic 400 1.6rem/1 var(--serif); color: var(--birch); }
.footer-name .logo-mark { stroke: #8FC4BE; }
.footer-h { font: 700 1rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #CFE6E1; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid #3A4954; font-size: 1rem; }
.footer-bottom p { margin: 0 0 6px; }

/* ---------- KIVA demo badge (always visible) */
.demo-badge { position: fixed; left: 12px; bottom: 12px; z-index: 100; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px); margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--birch); font: 700 .95rem/1.25 var(--sans); box-shadow: 0 6px 20px rgba(29, 42, 51, .22); }
.demo-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #8FC4BE; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fl-spine { stroke-dashoffset: 0; }
}
