/* Bimler & Schmidt – ZFA Kieferorthopädie. Mobile first. */
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-latin-wght.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../fonts/figtree-latin-wght.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #f5f7ef;
  --paper: #ffffff;
  --ink: #1b261f;
  --ink-2: #4a564d;
  --lime: #a2bb0b;
  --lime-soft: #e8efc2;
  --lime-text: #5f7000;
  --forest: #16221a;
  --forest-2: #223127;
  --red: #b3271e;
  --wa: #15803d;
  --r: 22px;
  --pad: 20px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --shadow: 0 1px 2px rgba(27, 38, 31, .05), 0 12px 32px -12px rgba(27, 38, 31, .18);
  --display: 'Outfit', system-ui, sans-serif;
  --text: 'Figtree', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 8.4vw, 3.4rem); }
h3 { font-size: 1.3rem; line-height: 1.15; letter-spacing: -.015em; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; }
button, a, summary, label { touch-action: manipulation; }
button, .btn, summary, .opt, .cal-tabs button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.close :focus-visible, .marquee :focus-visible, .btn-dark:focus-visible, .path-b :focus-visible { outline-color: #fff; }
html:has(dialog[open]) { overflow: hidden; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: 72px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 1.02rem/1.1 var(--display); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.btn:active { transform: scale(.97); }
.btn svg { transition: transform 200ms var(--ease-out); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-lg { min-height: 60px; padding: 18px 30px; font-size: 1.12rem; }
.btn-wide { width: 100%; }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-dark { background: var(--forest); }
.btn-wa { background: var(--wa); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 1.02rem var(--display); text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #2c3a30; }
  .btn-lime:hover { background: #b3cd1c; }
  .btn-wa:hover { background: #17903f; }
  .btn:hover svg, .link-arrow:hover svg { transform: translateX(4px); }
  .link-arrow svg { transition: transform 200ms var(--ease-out); }
}

/* entrances */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.clip { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
.js .reveal.clip.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1000ms var(--ease-out) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out) var(--d, 0ms), transform 700ms var(--ease-out) var(--d, 0ms); }
/* first screen never waits for a script: it comes in with plain CSS */
.js .hero .reveal { opacity: 1; transform: none; animation: rise 700ms var(--ease-out) backwards; animation-delay: var(--d, 0ms); }
.hero-text > :nth-child(2) { --d: 70ms; } .hero-text > :nth-child(3) { --d: 140ms; } .hero-text > :nth-child(4) { --d: 210ms; } .hero-text > :nth-child(5) { --d: 280ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); background: var(--bg); transition: box-shadow 200ms ease; }
.nav.is-solid { box-shadow: 0 1px 0 rgba(27, 38, 31, .08), 0 10px 24px -18px rgba(27, 38, 31, .35); }
.progress { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; gap: 28px; font: 500 .98rem var(--display); }
.nav-links a { text-decoration: none; padding-block: 12px; opacity: .8; transition: opacity 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { opacity: 1; } }

/* hero */
.hero { padding-block: 22px 44px; }
.hero-in { display: grid; gap: 34px; }
.hero-job { display: inline-block; font: 600 .86rem/1.3 var(--display); color: var(--lime-text); background: var(--lime-soft); padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(2.5rem, 11.4vw, 4.7rem); letter-spacing: -.035em; line-height: .98; }
.hero-claim { margin-top: 14px; font: 600 clamp(1.3rem, 5.6vw, 1.9rem)/1.15 var(--display); letter-spacing: -.02em; color: var(--lime-text); }
.hero-checks { margin-top: 18px; display: grid; gap: 9px; }
.hero-checks li { display: flex; align-items: center; gap: 11px; font: 500 1.04rem/1.3 var(--display); }
.hero-checks svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--lime); color: var(--forest); }
.nav-job { display: grid; margin-left: auto; text-align: right; line-height: 1.15; }
.nav-job strong { font: 600 1rem var(--display); letter-spacing: -.01em; }
.nav-job span { font-size: .78rem; color: var(--ink-2); }
.nav .btn { display: none; }
.dock p { text-align: center; font: 600 .8rem var(--display); color: var(--ink-2); margin-bottom: 6px; }
.hero-cta { margin-top: 24px; display: grid; gap: 12px; }
.quick { background: var(--paper); border-radius: 26px; padding: 18px 14px 14px; box-shadow: var(--shadow); }
.quick-q { font: 600 1.16rem/1.25 var(--display); letter-spacing: -.015em; padding-inline: 6px; text-wrap: balance; }
.quick-opts { display: grid; gap: 8px; margin-top: 14px; }
.quick-opts button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 14px 16px 14px 18px; border: 0; border-radius: 18px; background: var(--ink); color: #fff; font: 600 1.02rem/1.25 var(--display); text-align: left; cursor: pointer; -webkit-user-select: none; user-select: none; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.quick-opts button:active { transform: scale(.97); }
.quick-opts button svg { color: var(--lime); }
.quick-opts button:last-child { background: var(--bg); color: var(--ink-2); font-weight: 500; min-height: 48px; }
.quick-opts button:last-child svg { color: currentColor; }
@media (hover: hover) and (pointer: fine) { .quick-opts button:hover { background: #2c3a30; } .quick-opts button:last-child:hover { background: var(--lime-soft); } }
.hero-note { font-size: .92rem; color: var(--ink-2); line-height: 1.4; text-align: center; text-wrap: balance; }
.hero-art { position: relative; margin-inline: 8px; padding-bottom: 26px; }
.arch { position: relative; z-index: 1; aspect-ratio: 1 / 1.08; border-radius: 999px 999px 30px 30px; overflow: hidden; background: var(--lime-soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.04); animation: drift 16s var(--ease-in-out) infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translate(-1%, -1%); } }
.ring { position: absolute; z-index: 0; width: 62%; aspect-ratio: 1; left: -9%; bottom: -4%; border: clamp(22px, 6vw, 44px) solid var(--lime); border-radius: 50%; clip-path: inset(50% 0 0 0); }
.chip { position: absolute; z-index: 2; display: grid; background: var(--paper); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); line-height: 1.2; animation: float 6s ease-in-out infinite; }
.chip strong { font: 600 1.08rem var(--display); letter-spacing: -.01em; }
.chip span { font-size: .84rem; color: var(--ink-2); }
.chip-a { right: -8px; top: 24%; }
.chip-b { left: -8px; bottom: 9%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* marquee */
.marquee { background: var(--forest); color: var(--lime); overflow: hidden; padding-block: 16px; }
.marquee-track { display: flex; width: max-content; gap: 0; font: 500 1.05rem var(--display); }
.marquee-track span { display: inline-flex; align-items: center; white-space: nowrap; padding-inline: 18px; }
.marquee-track span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin-left: 36px; }
.marquee-track.is-moving { animation: slide var(--dur, 40s) linear infinite; }
.is-paused .marquee-track, .is-paused .arch img, .is-paused .chip { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* rhythm */
.rhythm-in { display: grid; gap: 28px; }
.rhythm-text p { margin-top: 16px; color: var(--ink-2); max-width: 36em; }
.rhythm-side { font-size: .95rem; padding: 12px 16px; border-radius: 16px; background: var(--lime-soft); color: var(--ink) !important; }
.cal { background: var(--paper); border-radius: 28px; padding: 16px; box-shadow: var(--shadow); }
.cal-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); border-radius: 999px; padding: 4px; }
.cal-tabs button { position: relative; z-index: 1; min-height: 44px; border: 0; background: none; border-radius: 999px; font: 600 .92rem var(--display); color: var(--ink-2); cursor: pointer; transition: color 200ms ease, transform 140ms var(--ease-out); }
.cal-tabs button:active { transform: scale(.96); }
.cal-tabs button[aria-checked="true"] { color: #fff; }
.cal-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--ink); transition: transform 320ms var(--ease-out); }
[data-view="frei"] .cal-pill { transform: translateX(100%); }
[data-view="pause"] .cal-pill { transform: translateX(200%); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 16px; }
.cal-week { grid-column: 1 / -1; font: 600 .82rem var(--display); color: var(--ink-2); margin-top: 6px; }
.day { display: grid; place-items: center; aspect-ratio: 1 / 1.15; border-radius: 14px; background: var(--bg); font: 600 .95rem var(--display); color: var(--ink); transition: background-color 260ms ease, color 260ms ease, opacity 260ms ease, transform 420ms var(--ease-out); }
[data-view="arbeit"] .w { background: var(--forest); color: #fff; }
[data-view="arbeit"] .f { opacity: .7; }
[data-view="frei"] .f { background: var(--lime); color: var(--forest); transform: scale(1.04); }
[data-view="frei"] .w { opacity: .7; }
[data-view="pause"] .p { background: var(--lime); color: var(--forest); transform: scale(1.06); }
[data-view="pause"] .day:not(.p) { opacity: .7; }
.cal-out { margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--lime-soft); font-size: .96rem; line-height: 1.4; }
.cal-out strong { display: block; font: 600 1.3rem/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 2px; }

/* versus */
.versus { background: var(--paper); }
.vs { display: grid; gap: 12px; margin-top: 28px; }
.vs-col { border-radius: 26px; padding: 22px 20px; }
.vs-col h3 { margin-bottom: 14px; }
.vs-col li { display: flex; gap: 12px; align-items: flex-start; padding-block: 10px; line-height: 1.4; }
.vs-col li + li { border-top: 1px solid rgba(27, 38, 31, .08); }
.vs-col li svg { margin-top: 2px; padding: 3px; border-radius: 50%; width: 22px; height: 22px; }
.vs-old { background: var(--bg); color: var(--ink-2); }
.vs-old li svg { background: rgba(27, 38, 31, .08); color: var(--ink-2); }
.vs-new { background: var(--forest); color: #fff; }
.vs-new h3 { color: var(--lime); }
.vs-new li + li { border-top-color: rgba(255, 255, 255, .1); }
.vs-new li svg { background: var(--lime); color: var(--forest); }
.vs-cta { margin-top: 24px; display: grid; }

/* entry */
.entry-head p { margin-top: 16px; color: var(--ink-2); max-width: 40em; }
.entry-grid { display: grid; gap: 14px; margin-top: 28px; }
.path { background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.path img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.path-body { padding: 20px 20px 24px; }
.path-body p { margin-top: 10px; color: var(--ink-2); }
.path-b { background: var(--lime); box-shadow: none; }
.path-b .path-body p { color: var(--forest); }

/* tasks */
.tasks { background: var(--paper); }
.tasks-in { display: grid; gap: 30px; }
.tasks-media { position: relative; padding: 0 0 22px 14px; }
.tasks-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 30px 30px 30px 160px; }
.ring-sm { width: 46%; left: -2%; bottom: -2%; }
.tasks-list { display: grid; gap: 0; margin-block: 22px 26px; }
.tasks-list > div { padding-block: 14px; border-top: 1px solid rgba(27, 38, 31, .1); display: grid; gap: 2px; }
.tasks-list dt { font: 600 1.14rem var(--display); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.tasks-list dt::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; }
.tasks-list dd { color: var(--ink-2); padding-left: 20px; }
.tasks-text .btn { width: 100%; }

/* perks */
.perks { background: var(--forest); color: #fff; }
.bento { display: grid; gap: 12px; margin-top: 28px; }
.tile { position: relative; overflow: hidden; border-radius: 26px; padding: 22px 20px; background: var(--forest-2); min-height: 150px; }
.tile p { margin-top: 8px; color: rgba(255, 255, 255, .78); position: relative; z-index: 1; max-width: 30em; }
.tile h3 { position: relative; z-index: 1; }
.tile-lime { background: var(--lime); color: var(--forest); }
.tile-lime p { color: var(--forest); max-width: 17em; }
.tile-big { position: absolute; right: 10px; bottom: -34px; font: 700 9rem/1 var(--display); letter-spacing: -.05em; color: rgba(255, 255, 255, .07); pointer-events: none; }
.tile-lime .tile-big { color: rgba(22, 34, 26, .13); font-size: 11rem; }
.tile-photo { padding: 0; min-height: 300px; display: grid; align-items: end; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tile-cap { position: relative; padding: 70px 20px 20px; background: linear-gradient(to top, rgba(12, 20, 15, .88), rgba(12, 20, 15, 0)); }
.tile-cap p { color: rgba(255, 255, 255, .86); }
@media (hover: hover) and (pointer: fine) { .tile-photo:hover img { transform: scale(1.05); } }

/* fit */
.fit { background: var(--lime-soft); }
.fit-in { display: grid; gap: 22px; }
.fit-text > p { margin-top: 10px; color: var(--ink-2); }
.fit-out { font: 600 1.15rem/1.3 var(--display); color: var(--ink) !important; min-height: 2.6em; }
.fit-text { display: contents; }
.fit-text h2 { order: 1; } .fit-text > p:not(.fit-out) { order: 2; } .fit-list { order: 3; } .fit-out { order: 4; } .fit-text .btn { order: 5; }
.fit-list { display: grid; gap: 10px; }
.fit-list label { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border-radius: 20px; padding: 16px; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 200ms ease; }
.fit-list label:active { transform: scale(.985); }
.fit-list input { position: absolute; opacity: 0; pointer-events: none; }
.fit-list strong { display: block; font: 600 1.08rem/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 2px; }
.fit-list label > span:last-child { color: var(--ink-2); font-size: .96rem; line-height: 1.45; }
.fit-list strong { color: var(--ink); }
.box { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--bg); color: var(--forest); box-shadow: inset 0 0 0 2px rgba(27, 38, 31, .16); transition: background-color 180ms ease, box-shadow 180ms ease, transform 260ms var(--ease-out); }
.box svg { opacity: 0; transform: scale(.6); transition: opacity 160ms ease, transform 260ms var(--ease-out); }
.fit-list input:checked + .box { background: var(--lime); box-shadow: none; transform: scale(1.06); }
.fit-list input:checked + .box svg { opacity: 1; transform: none; }
.fit-list input:focus-visible + .box { outline: 3px solid var(--forest); outline-offset: 2px; }

/* team */
.team-head p { margin-top: 14px; color: var(--ink-2); max-width: 34em; }
.team-grid { display: grid; gap: 16px; margin-top: 26px; }
.team-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc { background: var(--paper); border-radius: 26px; padding: 18px 12px 20px; text-align: center; box-shadow: var(--shadow); }
.doc img { width: 74%; margin-inline: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 5px var(--paper), 0 0 0 9px var(--lime); }
.doc figcaption { margin-top: 18px; display: grid; gap: 2px; }
.doc strong { font: 600 1.02rem/1.2 var(--display); }
.doc span { font-size: .88rem; color: var(--ink-2); }
.voices { margin-top: 34px; display: grid; gap: 12px; }
.voices-h { font: 600 1.2rem var(--display); letter-spacing: -.01em; }
.voices blockquote { background: var(--paper); border-radius: 22px; padding: 20px; font: 500 1.12rem/1.4 var(--display); letter-spacing: -.01em; }
.voices-src { font-size: .85rem; color: var(--ink-2); }

/* way */
.way { background: var(--paper); }
.way-list { counter-reset: step; display: grid; gap: 0; margin-top: 28px; }
.way-list li { counter-increment: step; position: relative; padding: 0 0 30px 68px; }
.way-list li::before { content: counter(step); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--forest); font: 700 1.3rem var(--display); }
.way-list li:not(:last-child)::after { content: ''; position: absolute; left: 22px; top: 50px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--lime-soft); }
.way-list p { margin-top: 6px; color: var(--ink-2); }

/* place */
.place-in { display: grid; gap: 26px; }
.place-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.place-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }
.place-media img:first-child { border-radius: 120px 120px 22px 22px; }
.place-media img:last-child { margin-top: 34px; }
.place-adr { display: flex; gap: 12px; margin-top: 18px; font: 600 1.3rem/1.25 var(--display); letter-spacing: -.015em; }
.place-adr svg { width: 28px; height: 28px; color: var(--lime-text); margin-top: 2px; }
.place-text > p:not(.place-adr) { margin-top: 12px; color: var(--ink-2); }
.place-text .link-arrow { margin-top: 10px; }

/* faq */
.faq { background: var(--paper); }
.faq-list { margin-top: 22px; }
.faq details { border-top: 1px solid rgba(27, 38, 31, .12); }
.faq details:last-child { border-bottom: 1px solid rgba(27, 38, 31, .12); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding-block: 14px; font: 600 1.12rem/1.25 var(--display); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231b261f' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 260ms var(--ease-out), background-color 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq-a { overflow: hidden; }
.faq-a p { padding-bottom: 18px; color: var(--ink-2); max-width: 40em; }

/* close */
.close { background: var(--forest); color: #fff; overflow: hidden; }
.close-in { position: relative; display: grid; gap: 20px; }
.close-in > :not(.ring) { position: relative; z-index: 1; }
.ring-close { width: 86vw; left: auto; right: -38vw; top: -62vw; bottom: auto; border-width: clamp(30px, 9vw, 70px); opacity: .9; }
.close h2 { max-width: 11em; padding-top: 26vw; }
.close-lead { color: rgba(255, 255, 255, .8); max-width: 34em; }
.promise { display: grid; gap: 10px; }
.promise li { display: flex; gap: 12px; align-items: center; font: 500 1.04rem var(--display); }
.promise svg { padding: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--forest); }
.ask { margin-top: 26px; background: var(--forest-2); border-radius: 26px; padding: 22px 20px; display: grid; gap: 18px; }
.ask p { margin-top: 8px; color: rgba(255, 255, 255, .78); }

/* footer */
.foot { padding-block: 34px calc(110px + env(safe-area-inset-bottom, 0px)); background: var(--bg); }
.foot-in { display: grid; gap: 18px; }
.foot img { height: 46px; width: auto; }
.foot-note { font-size: .88rem; color: var(--ink-2); max-width: 44em; }
.foot-links { display: flex; gap: 22px; font-size: .95rem; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }

/* phone dock */
.dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bg); box-shadow: 0 -1px 0 rgba(27, 38, 31, .08), 0 -14px 28px -18px rgba(27, 38, 31, .4); transform: translateY(110%); transition: transform 380ms var(--ease-drawer); pointer-events: none; }
.dock.is-on { transform: none; pointer-events: auto; }

/* consent box: only appears when a pixel number is set (js/main.js) */
.consent { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); max-width: 460px; margin-inline: auto; padding: 18px 18px 14px; background: var(--paper); border-radius: 26px; box-shadow: 0 0 0 1px rgba(27, 38, 31, .06), 0 24px 48px -16px rgba(27, 38, 31, .45); transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform 420ms var(--ease-drawer), opacity 200ms ease; }
.consent.is-on { transform: none; opacity: 1; }
.consent-h { font: 600 1.16rem/1.2 var(--display); letter-spacing: -.015em; }
.consent-p { margin-top: 6px; font-size: .92rem; line-height: 1.45; color: var(--ink-2); }
.consent-p a { text-underline-offset: 3px; white-space: nowrap; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.consent-btns button { min-height: 50px; padding: 10px 8px; border-radius: 16px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 600 .98rem/1.15 var(--display); cursor: pointer; -webkit-user-select: none; user-select: none; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.consent-btns button[data-consent-set="yes"] { background: var(--ink); color: #fff; }
.consent-btns button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .consent-btns button:hover { background: var(--lime-soft); } .consent-btns button[data-consent-set="yes"]:hover { background: #2c3a30; } }
@media (min-width: 980px) { .consent { left: 24px; right: auto; bottom: 24px; margin: 0; } }
.foot-links button { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.foot-links { flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .consent { transform: none; transition: opacity 200ms ease; } }

/* application sheet */
.apply { width: 100%; max-width: 100%; margin: auto 0 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); border-radius: 28px 28px 0 0; max-height: 94dvh; overflow: hidden; }
.apply[open] { display: flex; animation: sheet-in 420ms var(--ease-drawer); }
.apply.is-closing { animation: sheet-out 180ms ease-in forwards; }
.apply::backdrop { background: rgba(14, 22, 17, .55); animation: fade 260ms ease; }
.apply.is-closing::backdrop { animation: fade 180ms ease reverse forwards; }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.apply-form { display: flex; flex-direction: column; width: 100%; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
.apply-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; }
.apply-title { font: 600 1rem var(--display); color: var(--ink-2); }
.apply-progress { grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 999px; background: rgba(27, 38, 31, .1); overflow: hidden; }
.apply-progress span { display: block; height: 100%; background: var(--lime); clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 420ms var(--ease-out); }
.apply-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: transform 140ms var(--ease-out); }
.apply-x:active { transform: scale(.94); }
.step { display: none; border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.step.is-on { display: block; animation: step-in 300ms var(--ease-out); }
.is-back .step.is-on { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(22px); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-22px); } }
.step legend { padding: 0; font: 600 1.6rem/1.12 var(--display); letter-spacing: -.025em; margin-bottom: 18px; text-wrap: balance; }
.step-note { margin: -8px 0 16px; color: var(--ink-2); font-size: .95rem; }
.opt { display: block; position: relative; margin-top: 10px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; padding: 16px 18px; border-radius: 18px; background: var(--paper); font: 500 1.06rem/1.3 var(--display); box-shadow: inset 0 0 0 2px transparent; transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease; }
.opt span::after { content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(27, 38, 31, .2); transition: box-shadow 160ms ease, background-color 160ms ease; }
.opt:active span { transform: scale(.98); }
.opt input:checked + span { background: var(--lime-soft); box-shadow: inset 0 0 0 2px var(--lime); }
.opt input:checked + span::after { background: var(--lime); box-shadow: inset 0 0 0 6px var(--lime), inset 0 0 0 12px var(--forest); }
.opt input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 2px; }
.more { margin-top: 16px; display: grid; gap: 12px; animation: step-in 260ms var(--ease-out); }
.more[hidden] { display: none; }
.more label { color: var(--ink-2); font-size: .97rem; }
.fields { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label, .hp label { font: 600 .92rem var(--display); }
.opt-note { font-weight: 400; color: var(--ink-2); }
input:not([type="radio"]):not([type="checkbox"]), textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--text); box-shadow: inset 0 0 0 2px rgba(27, 38, 31, .1); transition: box-shadow 160ms ease; -webkit-appearance: none; appearance: none; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--forest); }
[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--red) !important; }
input[type="checkbox"][aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: .93rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 26px; height: 26px; margin: 0; accent-color: var(--forest); }
.err { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fbe9e7; color: #7a1a13; font-size: .95rem; }
.err[hidden] { display: none; }
.step .btn[type="submit"] { margin-top: 16px; }
.done { text-align: center; padding-block: 22px 8px; }
.done.is-on { display: grid; gap: 14px; justify-items: center; }
.done-ico { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--forest); animation: pop 520ms var(--ease-out); }
.done-ico svg { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }
.done-h { font: 600 1.7rem/1.12 var(--display); letter-spacing: -.025em; }
.done p:not(.done-h) { color: var(--ink-2); max-width: 26em; }
.apply-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; min-height: 44px; }
.apply-count { margin-left: auto; font-size: .88rem; color: var(--ink-2); }
.link { border: 0; background: none; min-height: 44px; padding: 0 6px; font: 600 .98rem var(--display); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link[hidden] { display: none; }

/* tablets and up */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  body { font-size: 18px; }
  section { padding-block: 104px; }
  .hero-cta { max-width: 520px; }
  .hero-note { text-align: left; }
  .vs { grid-template-columns: 1fr 1fr; gap: 16px; }
  .vs-col { padding: 30px 28px; }
  .vs-cta { justify-content: center; }
  .entry-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .bento { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tile-wide { grid-column: span 2; }
  .tile { padding: 28px; min-height: 210px; }
  .voices { grid-template-columns: repeat(3, 1fr); }
  .voices-h, .voices-src { grid-column: 1 / -1; }
  .way-list { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .way-list li { padding: 66px 0 0; }
  .way-list li:not(:last-child)::after { left: 60px; right: -20px; top: 20px; bottom: auto; width: auto; height: 4px; }
  .tasks-text .btn { width: auto; }
  .tasks-list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .dock { display: none; }
  .foot { padding-bottom: 44px; }
  .fit-text .btn { display: inline-flex; margin-top: 8px; }
  .ask { grid-template-columns: 1fr auto; align-items: center; padding: 28px; }
  .close-in > .btn { justify-self: start; }
  .apply { margin: auto; max-width: 560px; border-radius: 30px; }
  .apply[open] { animation: modal-in 260ms var(--ease-out); }
  .apply.is-closing { animation: modal-out 160ms ease forwards; }
  @keyframes modal-in { from { opacity: 0; transform: scale(.96); } }
  @keyframes modal-out { to { opacity: 0; transform: scale(.97); } }
  .apply-form { padding: 22px 28px 26px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .nav-in { height: 76px; }
  .nav-logo img { height: 48px; }
  .nav-links { display: flex; }
  .nav .btn { display: inline-flex; }
  .nav-job { margin-left: 0; }
  .nav-links { margin-left: auto; }
  .hero { padding-block: 40px 70px; }
  .hero-in { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
  .hero-art { margin: 0 10px 0 30px; }
  .rhythm-in { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 64px; }
  .cal { padding: 26px; }
  .day { font-size: 1.1rem; border-radius: 18px; }
  .tasks-in { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 64px; }
  .fit-in { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .fit-text { position: sticky; top: 110px; display: grid; gap: 14px; justify-items: start; }
  .fit-text > *, .fit-list { order: 0 !important; }
  .team-grid { grid-template-columns: 1.25fr 1fr; align-items: stretch; }
  .team-photo img { height: 100%; aspect-ratio: auto; }
  .docs { align-content: stretch; }
  .place-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; }
  .faq-list { margin-top: 0; }
  .ring-close { width: 620px; right: -120px; top: -400px; }
  .close h2 { padding-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; }
  .js .reveal.clip { clip-path: none; }
  .js .reveal.is-in { transition: opacity 300ms ease; }
  .arch img, .chip, .marquee-track.is-moving, .done-ico { animation: none; }
  .js .hero .reveal { animation: none; }
  .apply[open], .apply.is-closing, .step.is-on, .more { animation: fade 160ms ease; }
  .cal-pill, .day, .dock { transition-duration: 1ms; }
}
