/* StudyChirp
 *
 * QuanticaLabs MediCenter (main demo), rebuilt 1:1 from its stylesheet and
 * computed styles (.template/): Source Sans Pro 400 headings (30/42 section
 * heads, 18/28 small heads with the 50px bar, 24/36 box heads, the 60px
 * slider lines in 200 and 700) over Open Sans 16/27.4 in #666; PT Serif
 * italic in the statement band; square corners everywhere; the 1230 frame;
 * #F8F8F8 and #F0F0F0 grounds, #E5E5E5 hairlines, the #2E3033 footer over
 * #151515. The theme's sky / ocean / navy trio is recoloured to the logo:
 * teal #157F8A, deep teal #0E6E79 and petrol #0F4C5C (each AA with white
 * text, which the theme's own #42B3E5 is not), with the logo's leaf green
 * for the bars and ticks.
 */

@font-face { font-family: "Source Sans Pro"; src: url(../fonts/source-sans-pro-200.woff2) format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url(../fonts/source-sans-pro-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url(../fonts/source-sans-pro-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url(../fonts/source-sans-pro-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url(../fonts/source-sans-pro-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(../fonts/open-sans-400.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "PT Serif"; src: url(../fonts/pt-serif-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --teal: #157F8A;      /* the theme's #42B3E5: buttons, active menu, box one */
  --sea: #0E6E79;       /* the theme's #0384CE: links, box two */
  --ink: #0F4C5C;       /* the theme's #3156A3: box three, bars, the phone line */
  --chirp: #2DBDC9;     /* logo teal, decoration only */
  --leaf: #8CC63F;      /* logo green: the 50px bars, tick rings */
  --leaf-ink: #4A7A16;  /* green that can carry text */
  --black: #000000;
  --text: #666666;
  --meta: #6A6A6A;
  --paper: #F8F8F8;
  --mist: #F0F0F0;
  --line: #E5E5E5;
  --foot: #2E3033;
  --foot-2: #151515;
  --foot-text: #BAC0C5;
  --frame: 1230px;
  --gut: 20px;
  --head: "Source Sans Pro", "Arial", sans-serif;
  --body: "Open Sans", "Arial", sans-serif;
  --serif: "PT Serif", Georgia, serif;
  --ease: cubic-bezier(.75, 0, .25, 1);   /* the theme's animation curve */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.71429 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sea); text-decoration: none; transition: color .2s; }
a:hover { color: var(--black); }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--black); font-family: var(--head); font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }
.frame { width: 100%; max-width: calc(var(--frame) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- type --- */
.h-large { font-size: 30px; line-height: 1.4; }
.sub-h { font-size: 18px; line-height: 1.5556; color: var(--black); margin-bottom: 33px; }
.sub-h::after { content: ""; display: block; width: 50px; height: 2px; margin-top: 7px; background: var(--leaf); }
.sub-h.center::after, .center .sub-h::after { margin-left: auto; margin-right: auto; }
.h-large.barred::after { content: ""; display: block; width: 50px; height: 2px; margin: 26px auto 0; background: var(--leaf); }
.lede { font-size: 16px; }
.serif-lede { font: italic 400 20px/1.6 var(--serif); color: var(--sea); margin: 0 0 30px; }
.center { text-align: center; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

/* bar slides out when the heading arrives (theme: .box-header.slide:after) */
html.motion [data-bar]::after { width: 0; transition: width .6s var(--ease); }
html.motion [data-bar].is-in::after { width: 50px; }

/* ------------------------------------------------------------- buttons --- */
.mbtn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 19px; min-height: 45px; font: 400 14px/1.2 var(--body); text-transform: uppercase; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.mbtn svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.mbtn:hover svg { transform: translateX(3px); }
.mbtn:active { transform: scale(.98); }
.mbtn--fill { background: var(--teal); color: #fff; }
.mbtn--fill:hover { background: var(--ink); color: #fff; }
.mbtn--sea { background: var(--sea); color: #fff; }
.mbtn--sea:hover { background: var(--ink); color: #fff; }
.mbtn--ink { background: var(--ink); color: #fff; padding: 16px 29px; }
.mbtn--ink:hover { background: var(--teal); color: #fff; }
.mbtn--line { border-color: #fff; color: #fff; }
.mbtn--line:hover { background: #fff; color: var(--ink); }
.mbtn--ghost { border-color: var(--line); color: var(--text); background: #fff; padding: 16px 29px; }
.mbtn--ghost:hover { border-color: var(--teal); color: var(--black); }
.mbtn--big { padding: 16px 29px; }
.mbtn--block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 46px; }

/* ------------------------------------------------------------- top bar --- */
.topbar { background: var(--mist); font-size: 13px; color: var(--text); }
.topbar-in { display: flex; align-items: center; min-height: 50px; }
.tb-list { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.tb-list li { display: flex; align-items: center; gap: 10px; }
.tb-list svg { width: 16px; height: 16px; color: var(--meta); }
.tb-list a { color: var(--text); }
.tb-list a:hover { color: var(--black); }

/* -------------------------------------------------------------- header --- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 120px; transition: min-height .3s; }
.site-header.is-stuck .header-in { min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--black); flex: none; }
.brand:hover { color: var(--black); }
.brand .mark { width: 50px; height: 50px; }
.brand-word { display: flex; flex-direction: column; }
.brand-word b { font: 600 28px/1 var(--head); color: #14303A; letter-spacing: -.01em; }
.brand-word b span { color: #1C8E99; }
.brand-word small { font: 400 10.5px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--meta); margin-top: 6px; }
.main-nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nl { display: inline-flex; align-items: center; gap: 6px; padding: 11px 15px; font: 400 14px/24px var(--body); text-transform: uppercase; color: var(--text); border: 1px solid #fff; transition: background-color .2s, color .2s; }
.nl svg { width: 14px; height: 14px; margin-right: -4px; }
.nl:hover, .has-sub:hover > .nl, .has-sub:focus-within > .nl { color: var(--black); }
.nl.is-on, .nl.is-on:hover { background: var(--teal); color: #fff; }
.sub { position: absolute; top: 100%; left: 0; z-index: 120; width: 250px; background: #fff; border: 1px solid var(--line); padding: 0 15px 15px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.sub a { display: block; padding: 15px 0; font-size: 14px; line-height: 1.4; color: var(--text); border-bottom: 1px solid var(--line); }
.sub a:hover, .sub a[aria-current] { color: var(--black); border-bottom: 2px solid var(--teal); padding-bottom: 14px; }
.head-right { display: flex; align-items: center; gap: 12px; }
.head-cta { padding: 11px 18px; min-height: 48px; }
.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--black); }
.burger svg { width: 24px; height: 24px; }

/* the phone panel */
.mpanel { position: fixed; inset: 0; z-index: 200; }
.mp-scrim { position: absolute; inset: 0; background: rgba(15, 30, 36, .5); opacity: 0; transition: opacity .3s; }
.mp-in { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; padding: 20px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.23, 1, .32, 1); }
.mpanel.is-open .mp-scrim { opacity: 1; }
.mpanel.is-open .mp-in { transform: none; }
.mp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mp-top .brand .mark { width: 40px; height: 40px; }
.mp-top .brand-word b { font-size: 23px; }
.mp-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.mp-close svg { width: 20px; height: 20px; }
.mp-menu { margin-bottom: 24px; }
.mp-link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 15px/1.4 var(--body); text-transform: uppercase; color: var(--text); text-align: left; }
.mp-link[aria-current] { color: var(--teal); }
.mp-link svg { width: 16px; height: 16px; transition: transform .2s; }
.mp-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mp-sub { padding: 6px 0 6px 14px; border-bottom: 1px solid var(--line); }
.mp-sub a { display: block; padding: 9px 0; font-size: 15px; color: var(--text); }
.mp-sub a[aria-current] { color: var(--teal); }
.mp-phone { display: flex; align-items: center; gap: 10px; margin-top: 24px; font: 400 22px/1.3 var(--head); color: var(--ink); }
.mp-phone svg { width: 20px; height: 20px; }
.mp-hours { font-size: 14px; color: var(--meta); margin-top: 4px; }

/* ---------------------------------------------------------------- hero --- */
.hero { position: relative; background: var(--ink); color: #fff; }
.hero-stage { position: relative; height: 670px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 52, 63, .82) 0%, rgba(10, 52, 63, .55) 42%, rgba(10, 52, 63, 0) 75%); }
html.motion .slide.is-on img { animation: kb 7s linear both; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide-copy { position: relative; z-index: 2; padding-top: 82px; }
.slide-copy .h1a, .slide-copy .h1b { display: block; margin: 0; font-family: var(--head); font-size: 60px; line-height: 70px; color: #fff; }
.slide-copy .h1a { font-weight: 200; }
.slide-copy .h1b { font-weight: 700; }
.slide-copy h1 { color: #fff; font-family: var(--head); }
.slide-copy .s-sub { font: 400 24px/36px var(--head); max-width: 560px; margin-top: 42px; }
html.motion .slide .s-line { opacity: 0; transform: translateY(30px); }
html.motion .slide.is-on .s-line { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s var(--ease); }
html.motion .slide.is-on .s-line:nth-child(2) { transition-delay: .15s; }
html.motion .slide.is-on .s-line:nth-child(3) { transition-delay: .35s; }
.hero-ui { position: absolute; left: 0; right: 0; top: 375px; z-index: 5; }
.dots { display: grid; grid-template-columns: repeat(3, 1fr); }
.dot { position: relative; display: block; text-align: left; height: 34px; padding-top: 10px; font: 400 12px/1 var(--body); color: #fff; }
.dot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .45); }
.dot i { position: absolute; left: 0; top: -1px; height: 4px; width: 0; background: #fff; }
.dot.is-on i { width: 100%; }
html.motion .dot.is-on i { animation: fill var(--dur, 7s) linear both; }
.hero.is-paused .dot.is-on i { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.hero-boxes { position: relative; z-index: 6; margin-top: -255px; }
.hboxes { display: grid; grid-template-columns: repeat(3, 1fr); }
.hbox { padding: 37px 30px 30px; color: #fff; min-height: 255px; }
.hbox:nth-child(1) { background: var(--teal); }
.hbox:nth-child(2) { background: var(--sea); }
.hbox:nth-child(3) { background: var(--ink); }
.hbox h2 { color: #fff; font-size: 24px; line-height: 36px; margin-bottom: 20px; }
.hbox p { font-size: 14px; line-height: 1.71429; margin-bottom: 27px; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 13px; border-bottom: 1px solid rgba(255, 255, 255, .25); font-size: 14px; line-height: 1.71429; }
.hours-list li:first-child { padding-top: 0; }
.hours-list a { color: #fff; }
.hours-list a:hover { color: #D9F1F3; }
.hbox-pause { position: absolute; right: 30px; top: 37px; display: flex; }

/* ------------------------------------------------------------- sections --- */
.sec { padding: 70px 0; }
.sec--white { background: #fff; }
.sec--mist { background: var(--mist); }
.sec--top0 { padding-top: 0; }
.home-welcome { padding: 70px 0 57px; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.twin-photos { position: relative; height: 510px; }
.twin-photos img { position: absolute; width: 320px; height: 460px; object-fit: cover; }
.twin-photos img:nth-child(1) { left: 0; top: 50px; z-index: 1; }
.twin-photos img:nth-child(2) { left: 250px; top: 0; }
.twin-copy { padding-top: 6px; }
.twin-copy .h-large { margin-bottom: 32px; }
.ticks { margin-top: 38px; }
.ticks li { position: relative; padding-left: 50px; font-size: 15px; line-height: 28px; margin-bottom: 13px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.ticks li svg { position: absolute; left: 7px; top: 7px; width: 16px; height: 16px; color: var(--leaf-ink); }
.ticks a { color: var(--text); }
.ticks a:hover { color: var(--black); }
.ticks--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }

/* the call strip */
.callstrip { background: var(--mist); padding: 57px 0 63px; }
.callstrip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 50px; text-align: center; }
.callstrip p { margin: 0; font: 400 24px/36px var(--head); color: var(--ink); }
.callstrip p a { color: var(--ink); }
.callstrip p a:hover { color: var(--teal); }

/* the icon band (theme: counters over a blurred photo; here no numbers) */
.band { position: relative; color: #fff; padding: 140px 0 130px; background: var(--ink) center / cover no-repeat; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(15, 76, 92, .55); }
.band > .frame { position: relative; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.band-item svg { width: 56px; height: 56px; margin: 0 auto 30px; }
.band-item h3 { color: #fff; font: 400 16px/26px var(--head); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.band-item p { font-size: 14px; line-height: 1.6; color: #E4F2F4; max-width: 250px; margin: 0 auto; }

/* two-column intro: heading left, words right */
.intro2 { display: grid; grid-template-columns: 1fr 2fr; gap: 30px 110px; margin-bottom: 70px; }
.intro2 .h-large { max-width: 340px; }

/* image cards (theme: home "services" boxes) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--mist); color: var(--text); border-right: 1px solid var(--line); }
.card:nth-child(3n) { border-right: 0; }
.card:hover { color: var(--text); }
.card-img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 32px 40px 38px; flex: 1; }
.card h3, .card h4 { font: 600 18px/1.5 var(--head); letter-spacing: 1px; text-transform: uppercase; color: var(--black); margin-bottom: 14px; }
.card p { font-size: 15px; line-height: 1.6; margin: 0; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; text-transform: uppercase; color: var(--sea); }
.card-more svg { width: 14px; height: 14px; }
.cards--gap { gap: 30px; }
.cards--gap .card { border-right: 0; }
.more-row { display: flex; justify-content: center; margin-top: 46px; }

/* full-bleed split: photo half, words half */
.split { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.split--mist { background: var(--paper); }
.split-img { position: relative; min-height: 600px; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { padding: 55px 105px 70px 100px; max-width: 720px; }
.split--rev .split-copy { justify-self: end; padding: 100px 100px 90px var(--gut); max-width: calc(var(--frame) / 2 + var(--gut)); }
.split--rev .split-img { order: 2; }
.split-copy .h-large { margin-bottom: 30px; }
.split--rev .split-copy .lede { margin-bottom: 0; }

/* steps drawn as the theme's progress rows, a real sequence */
.steps { margin-top: 44px; }
.step { margin-bottom: 44px; }
.step h3 { font: 400 16px/26px var(--head); letter-spacing: 1px; color: var(--black); margin-bottom: 4px; }
.step p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; max-width: 440px; }
.step-bar { position: relative; height: 2px; background: var(--line); }
.step-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--chirp); width: var(--w); }
.step-bar b { position: absolute; top: -10px; left: var(--w); transform: translateX(-100%); min-width: 40px; height: 40px; padding: 0 10px; display: flex; align-items: center; justify-content: center; background: var(--teal); color: #fff; font: 400 14px/1 var(--body); }
html.motion .step-bar i { width: 0; transition: width 1.2s var(--ease); }
html.motion .step-bar b { left: 40px; opacity: 0; transition: left 1.2s var(--ease), opacity .4s; }
html.motion .step.is-in .step-bar i { width: var(--w); }
html.motion .step.is-in .step-bar b { left: var(--w); opacity: 1; }

/* the statement band (theme: testimonials in PT Serif over a blurred photo) */
.quote-band { position: relative; color: #fff; padding: 100px 0; text-align: center; background: var(--ink) center / cover no-repeat; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(15, 76, 92, .5); }
.quote-band > .frame { position: relative; }
.qslides { position: relative; max-width: 760px; margin: 0 auto; min-height: 220px; }
.qslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.qslide.is-on { position: relative; opacity: 1; visibility: visible; transition: opacity .6s; }
.qslide p { font: italic 400 24px/37.33px var(--serif); color: #fff; margin: 0; }
.qslide p::after { content: ""; display: block; width: 50px; height: 1px; background: #fff; margin: 45px auto 0; }
.qslide span { display: block; margin-top: 13px; font-size: 13px; color: #fff; }
.qnav { position: absolute; right: var(--gut); top: 0; display: flex; }
.qnav button, .pager button { width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.qnav button + button, .pager button + button { border-left: 0; }
.qnav button:hover { background: #fff; color: var(--ink); }
.qnav svg, .pager svg { width: 16px; height: 16px; }
.pager button { border-color: rgba(255, 255, 255, .6); }

/* tabs (theme: Our History / Technology / The Benefits) */
.tabs-bar { background: var(--mist); }
.tablist { display: grid; grid-template-columns: repeat(3, 1fr); }
.tab { padding: 25px 20px; font: 400 18px/28px var(--head); color: var(--text); text-align: center; transition: background-color .2s, color .2s; }
.tab:hover { color: var(--black); }
.tab[aria-selected="true"] { background: #fff; color: var(--black); }
.tabpanels { background: #fff; }
.tabpanel { padding: 70px 0 100px; }
.tp-grid { display: grid; grid-template-columns: 570px 1fr; gap: 60px; align-items: start; }
.tp-photos { position: relative; height: 430px; }
.tp-photos img { position: absolute; object-fit: cover; }
.tp-photos img:nth-child(1) { left: 0; top: 0; width: 390px; height: 300px; }
.tp-photos img:nth-child(2) { left: 180px; top: 70px; width: 390px; height: 360px; z-index: 1; border: 0; }
html.js .tabpanel[hidden] { display: none !important; }

/* items in three columns (theme: Why Choose Us) */
.items3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; margin-top: 64px; }
.items2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 70px; margin-top: 64px; }
.item { position: relative; padding-left: 64px; }
.item-ic { position: absolute; left: 0; top: 0; width: 44px; height: 44px; color: var(--teal); }
.item h3 { font: 400 18px/28px var(--head); color: var(--black); margin-bottom: 16px; }
.item p { font-size: 15px; line-height: 1.6; }

/* form section (theme: contact page appointment form and its sidebar) */
.sticky-col { position: sticky; top: 110px; }
.formsec { display: grid; grid-template-columns: 1fr 400px; gap: 30px 90px; align-items: start; }
.info-list li { display: flex; background: var(--mist); }
.info-list li:nth-child(even) { background: var(--paper); }
.info-list .ic { flex: none; width: 56px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #fff; color: var(--meta); }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list .tx { padding: 18px 20px 18px 16px; font-size: 14px; line-height: 1.71429; }
.info-list .tx b { display: block; font-weight: 400; color: var(--black); }
.info-list .tx a { color: var(--sea); }

.form-wrap { position: relative; }
.form-bar { display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; padding: 10px 20px; min-height: 50px; font: 400 18px/1.4 var(--head); margin-bottom: 26px; }
.form-bar svg { width: 18px; height: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.span2 { grid-column: 1 / -1; }
.field { margin-bottom: 20px; }
.field label { display: block; font: 400 12px/1.4 var(--body); text-transform: uppercase; color: var(--text); margin-bottom: 9px; }
.field .opt { text-transform: none; color: var(--meta); }
.field input, .field textarea, .select select { display: block; width: 100%; height: 52px; padding: 0 16px; font: 400 15px/1.4 var(--body); color: var(--black); background: var(--mist); border: 1px solid var(--mist); border-radius: 0; transition: border-color .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A8A8A; }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--teal); background: #fff; }
.sec--white .field input, .sec--white .field textarea, .sec--white .select select { background: var(--mist); }
.sec--mist .field input, .sec--mist .field textarea, .sec--mist .select select { background: #fff; border-color: #fff; }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select svg { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; pointer-events: none; color: var(--text); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #B3261E; background: #fff; }
.consents { margin: 8px 0 24px; }
.check { position: relative; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; margin-bottom: 16px; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; left: 0; top: 2px; cursor: pointer; }
.check-box { flex: none; width: 22px; height: 22px; margin-top: 2px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #C5C5C5; color: #fff; transition: background-color .15s, border-color .15s; }
.check-box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.check input:checked + .check-box { background: var(--teal); border-color: var(--teal); }
.check input:checked + .check-box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check-box { outline: 2px solid var(--teal); outline-offset: 2px; }
.check.is-invalid .check-box { border-color: #B3261E; }
.check-text { font-size: 13px; line-height: 1.65; color: var(--text); }
.check-text a { text-decoration: underline; }
.opt-tag { display: inline-block; margin-right: 6px; padding: 1px 7px; font: 600 11px/18px var(--body); color: var(--ink); background: #DDF0F2; vertical-align: 1px; }
.consent-links { font-size: 13px; line-height: 1.65; margin: 0 0 16px 36px; }
.form-error { display: none; margin: 0 0 18px; padding: 12px 16px; background: #FCEDEC; border-left: 3px solid #B3261E; color: #8C1D18; font-size: 14px; }
.form-error.is-shown { display: block; }
.sbtn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; min-height: 52px; padding: 14px 30px; font: 400 14px/1 var(--body); text-transform: uppercase; color: #fff; background: var(--ink); transition: background-color .2s; }
.sbtn:hover { background: var(--teal); }
.sbtn:active { transform: scale(.98); }
.sbtn:disabled { opacity: .7; cursor: progress; }
.form-note { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--meta); }
.form-note svg { width: 16px; height: 16px; flex: none; }
.form-done { display: none; padding: 40px; background: var(--mist); }
.form-done.is-shown { display: block; }
.form-done:focus { outline: none; }
.done-ic { display: flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 50%; background: var(--teal); color: #fff; margin-bottom: 20px; }
.done-ic svg { width: 24px; height: 24px; }
.form-done h3 { font-size: 24px; line-height: 36px; margin-bottom: 12px; }
.form-done .mbtn { margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* -------------------------------------------------------- inner pages --- */
.phead { background: var(--paper); }
.phead-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 30px; padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.phead h1 { font-size: 36px; line-height: 1.3; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; text-transform: uppercase; color: var(--meta); }
.crumbs a { color: var(--meta); }
.crumbs a:hover { color: var(--black); }
.crumbs svg { width: 14px; height: 14px; }
.phead-lede { flex-basis: 100%; max-width: 760px; margin: 12px 0 0; font-size: 16px; }

.dept { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 50px 30px; align-items: start; padding-top: 50px; padding-bottom: 90px; }
.dept-main { min-width: 0; }
.dept-side { position: sticky; top: 110px; }
.dbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: #fff; padding: 12px 20px; font: 400 18px/1.4 var(--head); }
.dbar svg { width: 30px; height: 30px; flex: none; color: #fff; }
.dtabs { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0 0 40px; }
.dtab { padding: 14px 12px 12px; font-size: 15px; color: var(--text); border-bottom: 2px solid var(--line); transition: color .2s, border-color .2s; }
.dtab:hover { color: var(--black); }
.dtab[aria-selected="true"] { color: var(--black); border-bottom-color: var(--chirp); }
.dpanel > * + * { margin-top: 0; }
.dpanel .sub-h { margin-top: 44px; }
.dpanel .sub-h:first-child { margin-top: 0; }
.dpanel .dphoto { margin: 0 0 36px; }
.dpanel .dphoto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
html.js .dpanel[hidden] { display: none !important; }
.rows li { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.rows li b { display: block; font-weight: 400; color: var(--black); margin-bottom: 4px; }
.rows .tag { flex: none; padding: 4px 10px; font-size: 13px; line-height: 1.4; background: var(--teal); color: #fff; }
.rows2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.note-box { margin: 36px 0 0; padding: 26px 30px; background: var(--mist); border-left: 3px solid var(--leaf); }
.note-box h3 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.terms dt { color: var(--black); font-family: var(--head); font-size: 17px; margin-top: 16px; }
.terms dd { margin: 4px 0 0; font-size: 15px; }

/* accordion (theme: department list with + icons) */
.acc { margin-top: 10px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; text-align: left; font: 400 18px/1.5 var(--head); color: var(--text); transition: color .2s; }
.acc-q button:hover, .acc-item.is-open .acc-q button { color: var(--black); }
.acc-q svg { width: 20px; height: 20px; flex: none; color: var(--meta); transition: transform .3s var(--ease), color .2s; }
.acc-item.is-open .acc-q svg { transform: rotate(45deg); color: var(--teal); }
.acc-a { overflow: hidden; }
.acc-a p { padding: 0 40px 22px 0; font-size: 15px; line-height: 1.7; margin: 0; }

/* sidebar boxes (theme: Emergency Case / Doctors Timetable) */
.sbox { padding: 30px; color: #fff; }
.sbox h2 { color: #fff; font-size: 24px; line-height: 36px; margin-bottom: 14px; }
.sbox p { font-size: 14px; line-height: 1.71429; margin-bottom: 24px; }
.sbox--teal { background: var(--teal); }
.sbox--sea { background: var(--sea); }
.sbox--ink { background: var(--ink); }
.sbox a:not(.mbtn) { color: #fff; text-decoration: underline; }
.side-h { font: 400 18px/28px var(--head); color: var(--black); margin: 40px 0 20px; }
.side-links li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.side-links li a:hover, .side-links li a[aria-current] { color: var(--black); }
.side-links svg { width: 14px; height: 14px; flex: none; }

/* prose (guides, legal) */
.prose h2 { font-size: 24px; line-height: 1.5; margin: 50px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; line-height: 1.5; margin: 28px 0 10px; }
.prose ul { margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 15px; line-height: 1.65; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; background: var(--leaf); }
.prose p { font-size: 16px; }
.points { margin-top: 50px; padding: 34px 36px; background: var(--ink); color: #fff; }
.points h2 { color: #fff; font-size: 24px; margin: 0 0 18px; }
.points li { position: relative; padding-left: 34px; margin-bottom: 12px; font-size: 15px; line-height: 1.6; }
.points li svg { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; color: var(--leaf); }

/* guide list cards (theme: blog) */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
.post { display: block; color: var(--text); }
.post:hover { color: var(--text); }
.post .card-img { margin-bottom: 26px; }
.post h2 { font-size: 24px; line-height: 1.4; margin-bottom: 12px; transition: color .2s; }
.post:hover h2 { color: var(--teal); }
.post p { font-size: 15px; line-height: 1.65; }

/* FAQ page */
.faq-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px 60px; align-items: start; padding-top: 50px; padding-bottom: 90px; }
.faq-nav { position: sticky; top: 110px; }
.faq-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.faq-nav a.is-on { color: var(--black); border-bottom: 2px solid var(--chirp); padding-bottom: 12px; }
.faq-group + .faq-group { margin-top: 60px; }
.faq-group h2 { font-size: 24px; line-height: 1.4; margin-bottom: 10px; scroll-margin-top: 110px; }

/* does / does not */
.dd2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.dd2 > div { padding: 40px; background: #fff; }
.dd2 .no li svg { color: #9A3B2F; }
.side-note { margin-top: 24px; font-size: 14px; }

/* legal */
.legal-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px 60px; align-items: start; padding-top: 50px; padding-bottom: 90px; }
.toc { position: sticky; top: 110px; background: #fff; padding: 26px 28px; }
.toc-h { font: 400 18px/1.5 var(--head); color: var(--black); margin-bottom: 10px; }
.toc li a { display: block; padding: 7px 0; font-size: 14px; color: var(--text); }
.toc li a:hover { color: var(--black); }
.legal-body { background: #fff; padding: 50px 56px; }
.legal-body section { scroll-margin-top: 110px; }
.legal-body section + section { margin-top: 44px; }

/* contact info columns (theme: Main Office / Call Today / Business Hours) */
.info3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 56px 0 50px; border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.info3 h2 { font-size: 18px; line-height: 1.5; margin-bottom: 14px; }
.info3 p { font-size: 15px; }

/* -------------------------------------------------------------- footer --- */
.site-footer { background: var(--foot); color: var(--foot-text); font-size: 14px; line-height: 1.71429; }
.f-top { display: grid; grid-template-columns: 1.25fr .75fr .75fr 1.15fr; gap: 40px 30px; padding-top: 95px; padding-bottom: 40px; }
.f-h { font: 400 18px/28px var(--head); color: #fff; margin-bottom: 30px; }
.f-about p { margin-bottom: 26px; }
.f-contact li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.f-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--foot-text); }
.f-contact a { color: #fff; }
.f-contact a:hover { color: var(--chirp); }
.f-links li { margin-bottom: 11px; }
.f-links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.f-links a:hover { color: var(--chirp); }
.f-links svg { width: 13px; height: 13px; flex: none; }
.f-posts li { margin-bottom: 22px; }
.f-posts a { color: #fff; display: block; }
.f-posts a:hover { color: var(--chirp); }
.f-posts span { display: block; font-size: 12px; color: #9EA5AB; margin-top: 4px; }
.f-note { font-size: 13px; color: var(--foot-text); padding: 22px 0 36px; border-top: 1px solid rgba(255, 255, 255, .1); margin: 0; }
.f-bar { background: var(--foot-2); }
.f-bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-top: 30px; padding-bottom: 30px; }
.f-bar p { margin: 0; }
.f-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.f-legal a { color: #fff; }
.f-legal a:hover { color: var(--chirp); }
.f-up { display: flex; width: 35px; height: 35px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); }
.f-up svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------- reveals --- */
/* The theme's animated-element classes: fadeIn 500ms, slideRight from -100%
 * 800ms with 250 and 500ms delays, scale for icons, all on its
 * cubic-bezier(.75,0,.25,1). Nothing hides until main.js sets .motion. */
html.motion [data-reveal] { opacity: 0; transition: opacity .5s ease, transform .8s var(--ease); }
html.motion [data-reveal="right"] { transform: translateX(-60px); }
html.motion [data-reveal="up"] { transform: translateY(30px); }
html.motion [data-reveal="scale"] { transform: scale(.7); transition: opacity .5s ease, transform .6s var(--ease); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive --- */
@media (max-width: 1279px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .header-in { min-height: 90px; }
  .site-header.is-stuck .header-in { min-height: 76px; }
  .head-right { margin-left: auto; }
  .split-copy { padding: 60px 50px 70px; }
  .split--rev .split-copy { padding: 70px 50px 70px var(--gut); }
  .tp-grid { grid-template-columns: 1fr 1fr; }
  .tp-photos img:nth-child(1) { width: 70%; }
  .tp-photos img:nth-child(2) { left: 30%; width: 70%; }
  .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .hero-stage { height: 560px; }
  .slide-copy { padding-top: 60px; }
  .slide-copy .h1a, .slide-copy .h1b { font-size: 46px; line-height: 54px; }
  .slide-copy .s-sub { font-size: 20px; line-height: 30px; margin-top: 26px; }
  .hero-ui { top: auto; bottom: 30px; }
  .hero-boxes { margin-top: 0; }
  .hboxes { grid-template-columns: 1fr; }
  .twin { grid-template-columns: 1fr; gap: 40px; }
  .twin-photos { height: 440px; max-width: 600px; }
  .twin-photos img { width: 58%; height: 390px; }
  .twin-photos img:nth-child(2) { left: 42%; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 50px 30px; }
  .band { padding: 90px 0; }
  .intro2 { grid-template-columns: 1fr; margin-bottom: 50px; }
  .intro2 .h-large { max-width: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card:nth-child(3n) { border-right: 1px solid var(--line); }
  .card:nth-child(2n) { border-right: 0; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split-img { min-height: 380px; }
  .split--rev .split-img { order: 0; }
  .split-copy, .split--rev .split-copy { padding: 56px var(--gut) 64px; max-width: none; justify-self: stretch; }
  .tp-grid { grid-template-columns: 1fr; gap: 40px; }
  .tp-photos { max-width: 570px; }
  .items3 { grid-template-columns: 1fr 1fr; }
  .formsec, .dept, .faq-grid, .legal-grid { grid-template-columns: 1fr; }
  .dept-side, .faq-nav, .toc, .sticky-col { position: static; }
  .posts { grid-template-columns: 1fr 1fr; }
  .info3 { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
  :root { --gut: 16px; }
  html.motion [data-reveal="right"] { transform: translateY(24px); }
  .topbar { font-size: 12.5px; }
  .topbar-in { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .tb-list { gap: 4px 20px; }
  .tb-hours { display: none !important; }
  .head-cta { display: none; }
  .brand .mark { width: 42px; height: 42px; }
  .brand-word b { font-size: 24px; }
  .header-in { min-height: 76px; }
  .hero-stage { height: 520px; }
  .slide-copy { padding-top: 46px; }
  .slide-copy .h1a, .slide-copy .h1b { font-size: 36px; line-height: 42px; }
  .slide-copy .s-sub { font-size: 18px; line-height: 28px; }
  .slide::after { background: linear-gradient(180deg, rgba(10, 52, 63, .78) 0%, rgba(10, 52, 63, .6) 60%, rgba(10, 52, 63, .7) 100%); }
  .hbox { padding: 32px 20px 30px; min-height: 0; }
  .sec { padding: 56px 0; }
  .h-large { font-size: 26px; line-height: 1.38; }
  .twin-photos { height: 330px; }
  .twin-photos img { height: 290px; }
  .ticks--2 { grid-template-columns: 1fr; }
  .callstrip p { font-size: 21px; line-height: 32px; }
  .band-grid { grid-template-columns: 1fr; }
  .cards, .cards--gap { grid-template-columns: 1fr; }
  .card { border-right: 0 !important; }
  .card-body { padding: 26px 24px 30px; }
  .split-img { min-height: 260px; }
  .tablist { grid-template-columns: 1fr; }
  .tab { padding: 16px; }
  .tabpanel { padding: 50px 0 60px; }
  .tp-photos { height: 300px; }
  .tp-photos img:nth-child(1) { height: 210px; }
  .tp-photos img:nth-child(2) { top: 60px; height: 240px; }
  .items3, .items2 { grid-template-columns: 1fr; gap: 34px; margin-top: 44px; }
  .item { padding-left: 56px; }
  .qslide p { font-size: 20px; line-height: 32px; }
  .qnav { position: static; justify-content: center; margin-top: 30px; }
  .quote-band { padding: 70px 0; }
  .qslides { min-height: 260px; }
  .form-grid { grid-template-columns: 1fr; }
  .sbtn { width: 100%; }
  .phead h1 { font-size: 30px; }
  .phead-in { padding: 34px 0 30px; }
  .rows2 { grid-template-columns: 1fr; }
  .dtabs { gap: 0; }
  .dtab { flex: 1 1 50%; text-align: center; padding: 12px 6px; font-size: 14px; }
  .posts { grid-template-columns: 1fr; }
  .dd2 { grid-template-columns: 1fr; }
  .dd2 > div { padding: 30px 24px; }
  .legal-body { padding: 34px 22px; }
  .f-top { grid-template-columns: 1fr; padding-top: 60px; }
  .acc-a p { padding-right: 0; }
  .btn-row { gap: 14px; }
  .btn-row .mbtn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
