/* Gaitline Physiotherapy — concept site. The line gets easier: one sans, huge curves, a lot of air. */

@font-face { font-family: 'Figtree'; src: url('fonts/figtree.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
/* Metric-matched fallback (computed from the font tables) keeps the swap from shifting layout. */
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); size-adjust: 100.1%; ascent-override: 94.9%; descent-override: 25%; line-gap-override: 0%; }

:root {
	--chalk: #F6F8F5;
	--white: #FFFFFF;
	--mist: #D9ECE8;
	--mist-2: #BCDDD6;
	--teal: #0E6E6A;
	--deep: #0A3F42;
	--ink: #123336;
	--ink-2: #47605F;
	--coral: #E8765C;
	--coral-ink: #B8452D;
	--sans: 'Figtree', 'Figtree Fallback', system-ui, sans-serif;
	--ease: cubic-bezier(.3, .7, .2, 1);
	--side: clamp(20px, 6vw, 96px);
	--r: clamp(28px, 4vw, 56px);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--chalk); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; font-synthesis: none; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral-ink); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 8px; }
.wide { display: none; }
@media (min-width: 620px) { .wide { display: inline; } }

.kick { font-weight: 600; color: var(--teal); }
.kick > span { display: block; color: var(--ink-2); font-weight: 500; }
.kick .wide { display: none; }
.h2 { font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4.5rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.sect { max-width: 900px; margin-bottom: clamp(36px, 5vw, 70px); }
.sect .h2 { margin-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 32px; background: var(--teal); color: #fff; border: 0; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .4s var(--ease), transform .4s var(--ease); }
.btn:hover { background: var(--deep); transform: translateY(-2px); }
.btn--soft { background: var(--mist); color: var(--deep); }
.btn--soft:hover { background: var(--mist-2); }

.concept { min-height: 32px; display: flex; align-items: center; justify-content: center; padding: 4px 16px; background: var(--deep); color: #E8F3F0; font-size: .8125rem; }
.concept a { text-decoration: none; }
.concept a:hover { text-decoration: underline; text-underline-offset: 3px; }

.mast { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--side); }
.mast__mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; text-decoration: none; color: var(--teal); }
.mast__mark svg { width: 34px; height: 34px; }
.mast__nav { display: none; gap: 30px; font-weight: 500; }
.mast__nav a { text-decoration: none; }
.mast__nav a:hover { color: var(--teal); }
.mast__book { min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; background: var(--mist); border-radius: 999px; color: var(--deep); font-weight: 600; font-size: 1rem; text-decoration: none; }
@media (min-width: 860px) { .mast__nav { display: flex; } }

/* ---- Hero ---- */
.hero { position: relative; display: grid; gap: 10px; padding: clamp(20px, 5vw, 70px) var(--side) 0; overflow: hidden; }
.hero::after { content: ''; position: absolute; z-index: -1; left: -30%; right: -30%; bottom: -46vw; height: 80vw; background: var(--mist); border-radius: 50%; }
.hero__title { margin-top: 10px; font-weight: 800; font-size: clamp(3.1rem, 13.2vw, 7.75rem); line-height: .98; letter-spacing: -.04em; color: var(--deep); text-wrap: balance; }
.hero__lede { max-width: 32em; margin-top: 20px; font-size: 1.1875rem; color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__fig { width: min(78vw, 340px); margin: 6px auto 0; }
.fig__line { fill: none; stroke: var(--teal); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.fig__ghost { fill: none; stroke: var(--coral); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.fig__ground { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; }
@media (min-width: 900px) {
	.hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; min-height: min(calc(100svh - 110px), 780px); padding-bottom: 0; }
	.hero__copy { align-self: center; padding-bottom: 60px; }
	.hero__fig { width: 100%; max-width: 440px; margin: 0 0 0 auto; }
	.kick > span { display: inline; }
	.kick .wide { display: inline; }
}

/* ---- Body map ---- */
.where { padding: clamp(70px, 10vw, 140px) var(--side) clamp(60px, 8vw, 110px); }
.map { display: grid; gap: 30px; }
.body { position: relative; width: min(74vw, 320px); margin: 0 auto; }
.body svg { fill: var(--mist); stroke: var(--teal); stroke-width: 2.5; overflow: visible; }
.body svg use { stroke-width: 2.5; }
.spots button { position: absolute; left: var(--x); top: var(--y); width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.spots button::before { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgb(232 118 92 / .28); transition: inset .4s var(--ease), background-color .3s; }
.js .spots button::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid var(--coral); animation: ping 2.8s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .35s); }
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.spots button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.spots button:hover::before { inset: 7px; }
.spots button[aria-pressed="true"]::before { inset: 4px; background: var(--coral-ink); box-shadow: 0 0 0 6px rgb(184 69 45 / .25); }
.read { align-self: center; min-height: 19em; padding: clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px) 56px; background: var(--white); border-radius: var(--r); }
.read h3 { font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; color: var(--deep); }
.read > p { margin-top: 8px; }
.read dl { margin-top: 16px; display: grid; gap: 14px; }
.read dt { font-weight: 700; color: var(--teal); }
.read .btn { margin-top: 20px; }
.read__small { margin-top: 18px !important; font-size: .9375rem; color: var(--ink-2); }
.nojs { margin-top: 20px; }
html:not(.js) .read, html:not(.js) .spots { display: none; }
@media (min-width: 900px) { .map { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; } }

/* ---- The stride: pinned while the line gets easier ---- */
.stride { background: var(--deep); color: #fff; padding: 70px var(--side); border-radius: var(--r); }
.stride .fig__line { stroke: #fff; }
.stride__fig { width: min(100%, 480px); margin: 0 auto 30px; }
.stages { display: grid; gap: 20px; }
.stages b { display: block; font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; color: #9FE0D2; }
.stride__note { margin-top: 26px; font-size: .9375rem; color: #CFE3DF; }
.js.can-move .stride { height: 340vh; padding: 0 var(--side); }
.js.can-move .stride__stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.js.can-move .stride__fig { width: min(100%, 58svh, 560px); margin-bottom: 18px; }
.js.can-move .stages { display: grid; width: 100%; max-width: 620px; }
.js.can-move .stages li { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js.can-move .stages li.is-on { opacity: 1; transform: none; }
.stages b { font-size: clamp(1.75rem, 4.4vw, 2.75rem); }
.stages p { font-size: 1.1875rem; }

/* ---- First visit ---- */
.first { padding: clamp(80px, 11vw, 150px) var(--side) clamp(50px, 7vw, 100px); }
.first__grid { display: grid; gap: 34px; }
.first__pic img { width: 100%; border-radius: var(--r) var(--r) var(--r) 0; }
.steps { display: grid; gap: 24px; counter-reset: s; }
.steps li { position: relative; padding-left: 58px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mist); color: var(--deep); font-weight: 700; }
.steps b { font-size: 1.3125rem; font-weight: 700; color: var(--deep); }
@media (min-width: 900px) { .first__grid { grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; } }

/* ---- Prices ---- */
.prices { padding: 30px var(--side) clamp(60px, 9vw, 120px); }
.price { display: grid; gap: 14px; }
.price li { padding: 26px 28px; background: var(--white); border-radius: var(--r); }
.price p { font-weight: 600; }
.price strong { display: block; font-weight: 800; font-size: 3.25rem; line-height: 1.1; letter-spacing: -.03em; color: var(--teal); }
.price span { color: var(--ink-2); }
.faq { max-width: 820px; margin-top: 44px; }
.faq details { border-top: 2px solid var(--mist); }
.faq details:last-child { border-bottom: 2px solid var(--mist); }
.faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; color: var(--teal); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; }
@media (min-width: 800px) { .price { grid-template-columns: repeat(3, 1fr); } }

.say { max-width: 900px; margin: 0 auto; padding: 10px var(--side) clamp(60px, 9vw, 110px); }
.say blockquote { font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.2; letter-spacing: -.02em; color: var(--deep); text-wrap: balance; }
.say p { margin-top: 12px; }
.say__label { font-size: .9375rem; color: var(--ink-2); }

/* ---- Book ---- */
.book { padding: clamp(50px, 8vw, 110px) var(--side); background: var(--mist); border-radius: 50% 50% 0 0 / clamp(30px, 6vw, 90px) clamp(30px, 6vw, 90px) 0 0; }
.book__in { max-width: 640px; margin: 0 auto; }
.book__fig { width: 160px; margin: 0 auto 8px; }
.book header { text-align: center; }
.book header p { margin-top: 8px; }
.wiz { margin-top: 26px; padding: clamp(22px, 4vw, 36px); background: var(--white); border-radius: var(--r); }
.wiz__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 22px; }
.wiz__bar li { height: 6px; border-radius: 3px; background: var(--mist); transition: background-color .4s; }
.wiz__bar li.is-on { background: var(--teal); }
.wiz legend { margin-bottom: 14px; font-weight: 700; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.015em; color: var(--deep); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.opts--stack { grid-template-columns: 1fr; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opts span { display: flex; flex-direction: column; justify-content: center; min-height: 56px; height: 100%; padding: 9px 18px; background: var(--chalk); border: 2px solid var(--mist); border-radius: 18px; font-weight: 600; transition: background-color .25s, border-color .25s, color .25s; }
.opts small { font-weight: 400; font-size: .9375rem; }
.opts b { font-weight: 700; }
.opts input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--coral-ink); outline-offset: 2px; }
.days { display: grid; gap: 16px; }
.day h3 { margin-bottom: 7px; font-weight: 600; font-size: 1.0625rem; }
.day .opts { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.day .opts span { align-items: center; padding: 6px; min-height: 50px; }
.field { margin-top: 13px; }
.field label { display: block; margin-bottom: 4px; font-weight: 600; }
.field input { width: 100%; min-height: 56px; padding: 0 16px; background: var(--chalk); border: 2px solid var(--mist-2); border-radius: 16px; }
.field input[aria-invalid="true"] { border-color: var(--coral-ink); }
.wiz__sum { padding: 13px 16px; background: var(--mist); border-radius: 16px; }
.wiz__err { margin-top: 12px; font-weight: 600; color: var(--coral-ink); }
.wiz__nav { display: flex; gap: 10px; margin-top: 22px; }
.wiz__nav [data-next] { flex: 1; }
.wiz__demo { margin-top: 14px; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.done { margin-top: 26px; padding: 34px 26px; background: var(--white); border-radius: var(--r); text-align: center; }
.done:focus { outline: 0; }
.done svg { width: 70px; margin: 0 auto 12px; fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.done circle, .done path { stroke-dasharray: 200; animation: tick 1s var(--ease) both; }
@keyframes tick { from { stroke-dashoffset: 200; } }
.done h3 { font-weight: 700; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; color: var(--deep); }
.done p { margin-top: 8px; }
.done .btn { margin-top: 16px; }
.book__ring { margin-top: 18px; text-align: center; }
.book__ring a { font-weight: 700; color: var(--deep); }
html:not(.js) .wiz__bar, html:not(.js) .wiz fieldset, html:not(.js) .wiz__nav, html:not(.js) .wiz__demo { display: none; }

.foot { padding: 50px var(--side) 130px; background: var(--deep); color: #E8F3F0; }
.foot__grid { display: grid; gap: 16px; }
.foot__mark { font-weight: 800; font-size: 2.4rem; letter-spacing: -.03em; color: #fff; }
.foot b { display: block; color: #9FE0D2; }
.foot__concept { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .22); font-size: .9375rem; }
@media (min-width: 800px) { .foot { padding-bottom: 44px; } .foot__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.3fr; } }

/* ---- Mobile CTA: a quarter circle in the corner ---- */
.corner { position: fixed; z-index: 20; right: 0; bottom: 0; width: 112px; height: 112px; background: var(--coral-ink); color: #fff; border-radius: 100% 0 0 0; text-decoration: none; font-weight: 700; font-size: 1.25rem; transition: transform .5s var(--ease); transform-origin: 100% 100%; }
.corner span { position: absolute; right: 16px; bottom: 18px; }
.corner.is-away { transform: scale(0); }
@media (min-width: 900px) { .corner { display: none; } }

.note-call { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 20px; background: rgb(10 63 66 / .6); }
.note-call.is-open, .note-call:target { display: grid; }
.note-call__card { width: min(100%, 430px); padding: 30px 26px; background: var(--white); border-radius: var(--r); }
.note-call__card p + p { margin-top: 8px; }
.note-call__title { font-weight: 700; font-size: 1.9rem; line-height: 1.1; color: var(--deep); }
.note-call__num { font-weight: 800; font-size: 1.6rem; color: var(--teal); }
.note-call__small { font-size: .9375rem; color: var(--ink-2); }
.note-call .btn { margin-top: 16px; }
.has-modal { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
