/* =====================================================================
   DIVINE MEDICARE HOSPITAL — DESIGN SYSTEM
   Warm cream canvas · light editorial serif · deep teal · butter yellow
   No frameworks. Pairs with js/divine.js
   ===================================================================== */

:root {
    /* colour */
    --cream: #F6F1E9;
    --cream-2: #EFE7DA;
    --paper: #FFFDF9;
    --ink: #161616;
    --ink-2: #3d3d3d;
    --ink-3: #6b6b6b;
    --line: rgba(22, 22, 22, .14);
    --line-2: rgba(22, 22, 22, .08);
    --teal: #0B4654;
    --teal-2: #145E6F;
    --teal-ink: #062F39;
    --butter: #F2D67E;
    --butter-2: #E9C65C;
    --rust: #9A5220;
    --mint: #E1ECEA;
    --lavender: #ECE5F1;
    --peach: #F3DFCF;
    --sky: #D9EAEF;
    --red: #C8372D;
    --green: #2E8B57;

    /* type */
    --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
    --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* shape & motion */
    --r-sm: 10px;
    --r: 18px;
    --r-lg: 28px;
    --r-xl: 40px;
    --shadow-1: 0 1px 2px rgba(22, 22, 22, .05), 0 8px 24px -12px rgba(11, 70, 84, .18);
    --shadow-2: 0 2px 6px rgba(22, 22, 22, .06), 0 28px 60px -28px rgba(11, 70, 84, .38);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --header-h: 76px;
    --wrap: 1240px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

@supports (overflow-x: clip) {
    body {
        overflow-x: clip;
    }
}

img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

p {
    margin: 0 0 1em;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0 0 .5em;
    font-weight: 400;
    line-height: 1.15;
}

ul {
    margin: 0;
    padding: 0;
}

::selection {
    background: var(--butter);
    color: var(--teal-ink);
}

:focus-visible {
    outline: 2.5px solid var(--teal);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 3000;
    padding: 10px 16px;
    background: var(--teal);
    color: #fff;
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- layout ---------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.wrap-wide {
    max-width: 1400px;
}

.wrap-narrow {
    max-width: 860px;
}

.section {
    padding: clamp(72px, 10vw, 128px) 0;
}

.section-sm {
    padding: clamp(48px, 7vw, 80px) 0;
}

.center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 24px;
}

/* ---------- typography ---------- */
.display,
.h1,
.h2,
.h3 {
    font-family: var(--serif);
    font-weight: 300;
    letter-spacing: -.02em;
    color: var(--ink);
}

.display {
    font-size: clamp(2.9rem, 7.4vw, 6.2rem);
    line-height: 1.04;
}

.h1 {
    font-size: clamp(2.5rem, 5.6vw, 4.8rem);
    line-height: 1.07;
}

.h2 {
    font-size: clamp(2.1rem, 4.4vw, 3.7rem);
    line-height: 1.1;
}

.h3 {
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    line-height: 1.2;
    letter-spacing: -.01em;
}

.display em,
.h1 em,
.h2 em,
.h3 em {
    font-style: italic;
    font-weight: 300;
    color: var(--teal);
}

.em-rust em {
    color: var(--rust);
}

.em-butter em {
    color: var(--butter);
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.65;
    color: var(--ink-2);
    max-width: 640px;
}

.center .lead {
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1.5px;
    background: currentColor;
    opacity: .7;
}

.center .eyebrow::after {
    content: "";
    width: 26px;
    height: 1.5px;
    background: currentColor;
    opacity: .7;
}

.muted {
    color: var(--ink-3);
}

.section-head {
    max-width: 880px;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
}

.section-head.split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.section-head.split .lead {
    margin: 0;
    max-width: 460px;
}

/* ---------- buttons ---------- */
.btn {
    --btn-bg: var(--butter);
    --btn-fg: var(--teal-ink);
    --btn-fill: var(--teal);
    --btn-fill-fg: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 30px;
    border: 0;
    border-radius: 12px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .01em;
    line-height: 1.2;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

/* liquid fill that rises from the cursor side */
.btn::before {
    content: "";
    position: absolute;
    left: var(--fx, 50%);
    top: var(--fy, 100%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--btn-fill);
    transform: translate(-50%, -50%);
    transition: width .6s var(--ease), height .6s var(--ease);
    z-index: -1;
}

.btn:hover,
.btn:focus-visible {
    color: var(--btn-fill-fg);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -16px rgba(11, 70, 84, .55);
}

.btn:hover::before,
.btn:focus-visible::before {
    width: 260%;
    height: 520%;
}

.btn:active {
    transform: translateY(0) scale(.98);
}

.btn .arr {
    display: inline-flex;
    transition: transform .45s var(--spring);
}

.btn:hover .arr {
    transform: translateX(5px);
}

.btn-teal {
    --btn-bg: var(--teal);
    --btn-fg: #fff;
    --btn-fill: var(--butter);
    --btn-fill-fg: var(--teal-ink);
}

.btn-line {
    --btn-bg: transparent;
    --btn-fg: var(--teal);
    --btn-fill: var(--teal);
    box-shadow: inset 0 0 0 1.5px var(--teal);
}

.btn-line:hover {
    box-shadow: inset 0 0 0 1.5px var(--teal), 0 16px 30px -16px rgba(11, 70, 84, .55);
}

.btn-white {
    --btn-bg: #fff;
    --btn-fg: var(--teal-ink);
    --btn-fill: var(--butter);
    --btn-fill-fg: var(--teal-ink);
}

.btn-red {
    --btn-bg: var(--red);
    --btn-fg: #fff;
    --btn-fill: #8f1f17;
}

.btn-sm {
    min-height: 44px;
    padding: 10px 20px;
    font-size: .93rem;
    border-radius: 10px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.center .btn-row {
    justify-content: center;
}

/* text link with drawn underline */
.link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--teal);
}

.link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(.25);
    transform-origin: left;
    transition: transform .5s var(--ease);
}

.link:hover::after,
a:hover .link::after,
.card-link:hover .link::after {
    transform: scaleX(1);
}

.link i {
    transition: transform .45s var(--spring);
}

.link:hover i,
.card-link:hover .link i {
    transform: translateX(4px);
}

/* ---------- announcement bar ---------- */
.announce {
    background: var(--teal-ink);
    color: rgba(255, 255, 255, .86);
    font-size: .86rem;
}

.announce .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.announce a {
    color: #fff;
    font-weight: 600;
}

.announce a:hover {
    color: var(--butter);
}

.announce-left,
.announce-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #3ddc84;
    vertical-align: 1px;
}

.live-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #3ddc84;
    animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
    from {
        transform: scale(.5);
        opacity: 1;
    }

    to {
        transform: scale(1.6);
        opacity: 0;
    }
}

.announce .socials {
    display: flex;
    gap: 14px;
}

.announce .socials a {
    opacity: .8;
    transition: opacity .3s, transform .4s var(--spring);
}

.announce .socials a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(246, 241, 233, .82);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .4s, box-shadow .4s, background .4s;
}

.site-header.scrolled {
    border-bottom-color: var(--line-2);
    box-shadow: 0 10px 30px -22px rgba(11, 70, 84, .5);
    background: rgba(246, 241, 233, .9);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    height: 52px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: .97rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--ink-2);
    transition: color .3s, background .3s;
}

.header-cta .btn {
    white-space: nowrap;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 1.5px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--ease);
}

.nav a:hover {
    color: var(--teal);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav a[aria-current="page"] {
    color: var(--teal);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    font-weight: 600;
    color: var(--teal);
}

.header-phone .ic {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    transition: transform .45s var(--spring), background .3s;
}

.header-phone:hover .ic {
    transform: rotate(-14deg) scale(1.08);
    background: var(--butter);
}

.header-phone small {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-3);
    line-height: 1.1;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: var(--teal);
    color: #fff;
    cursor: pointer;
    place-items: center;
}

.menu-toggle .bars {
    position: relative;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: background .2s;
}

.menu-toggle .bars::before,
.menu-toggle .bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .45s var(--ease), top .45s var(--ease);
}

.menu-toggle .bars::before {
    top: -6px;
}

.menu-toggle .bars::after {
    top: 6px;
}

body.menu-open .menu-toggle .bars {
    background: transparent;
}

body.menu-open .menu-toggle .bars::before {
    top: 0;
    transform: rotate(45deg);
}

body.menu-open .menu-toggle .bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* mobile drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 54px) 24px 32px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    clip-path: circle(0% at calc(100% - 46px) 58px);
    transition: clip-path .7s var(--ease), opacity .3s, visibility 0s .7s;
    overflow-y: auto;
}

body.menu-open .drawer {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at calc(100% - 46px) 58px);
    transition: clip-path .8s var(--ease), opacity .2s, visibility 0s;
}

body.menu-open {
    overflow: hidden;
}

.drawer nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-2);
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--ink);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}

.drawer nav a small {
    font-family: var(--sans);
    font-size: .78rem;
    color: var(--ink-3);
}

.drawer nav a[aria-current="page"] {
    color: var(--teal);
    font-style: italic;
}

body.menu-open .drawer nav a {
    opacity: 1;
    transform: none;
}

body.menu-open .drawer nav a:nth-child(1) { transition-delay: .12s; }
body.menu-open .drawer nav a:nth-child(2) { transition-delay: .16s; }
body.menu-open .drawer nav a:nth-child(3) { transition-delay: .20s; }
body.menu-open .drawer nav a:nth-child(4) { transition-delay: .24s; }
body.menu-open .drawer nav a:nth-child(5) { transition-delay: .28s; }
body.menu-open .drawer nav a:nth-child(6) { transition-delay: .32s; }
body.menu-open .drawer nav a:nth-child(7) { transition-delay: .36s; }

.drawer-foot {
    margin-top: auto;
    padding-top: 28px;
    display: grid;
    gap: 12px;
}

.drawer-foot .btn {
    width: 100%;
}

/* ---------- reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: var(--d, 0s);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal-mask {
    clip-path: inset(0 0 100% 0 round var(--r-lg));
    transition: clip-path 1.3s var(--ease);
    transition-delay: var(--d, 0s);
}

.reveal-mask.is-in {
    clip-path: inset(0 0 0 0 round var(--r-lg));
}

.js-off .reveal,
.js-off .reveal-mask {
    opacity: 1;
    transform: none;
    clip-path: none;
}

/* split words for headline reveal */
.split-words .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .08em;
    margin-bottom: -.08em;
}

.split-words .w > span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 1.1s var(--ease);
    transition-delay: calc(var(--i, 0) * 55ms + .1s);
}

.split-words.is-in .w > span {
    transform: none;
}

/* ---------- HERO (home) ---------- */
.hero {
    padding: clamp(48px, 7vw, 92px) 0 0;
    text-align: center;
}

.hero .display {
    max-width: 1060px;
    margin: 0 auto 26px;
}

.hero .lead {
    margin: 0 auto 28px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin: 0 0 30px;
    list-style: none;
    font-size: .92rem;
    color: var(--ink-2);
}

.trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-row i {
    color: var(--teal);
}

.hero-sub {
    margin-top: 14px;
    font-size: .9rem;
    color: var(--ink-3);
}

.hero-sub a {
    color: var(--teal);
    font-weight: 600;
    border-bottom: 1px solid currentColor;
}

.hero-media {
    position: relative;
    margin: clamp(44px, 6vw, 72px) auto 0;
    max-width: 1400px;
    padding: 0 16px;
}

.hero-frame {
    position: relative;
    height: clamp(420px, 56vw, 680px);
    border-radius: 28px 28px 28px clamp(140px, 22vw, 340px);
    overflow: hidden;
    background: var(--teal);
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 30%;
    transform: scale(1.08);
    transition: transform 1.8s var(--ease);
    will-change: transform;
}

.hero-frame.is-in img {
    transform: scale(1);
}

.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 47, 57, .5) 0%, rgba(6, 47, 57, 0) 45%);
    pointer-events: none;
}

/* floating glass cards on the hero photo */
.float-card {
    position: absolute;
    z-index: 2;
    padding: 18px 20px;
    border-radius: 18px;
    color: #fff;
    text-align: left;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .45);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45);
    animation: floaty 7s ease-in-out infinite;
}

.float-card .fc-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .85;
}

.fc-today {
    top: 9%;
    left: clamp(28px, 4vw, 60px);
    width: min(310px, 42%);
}

.fc-today h4 {
    margin: 6px 0 12px;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 1.1;
    color: #fff;
}

.fc-today ul {
    list-style: none;
    display: grid;
    gap: 8px;
    font-size: .9rem;
}

.fc-today li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
}

.fc-today li i {
    width: 16px;
    text-align: center;
    color: var(--butter);
}

.fc-quote {
    left: clamp(28px, 4vw, 60px);
    bottom: 16%;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 360px;
    padding: 14px 18px;
    font-size: .92rem;
    line-height: 1.4;
    animation-delay: -3s;
}

.fc-quote .avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--butter);
    color: var(--teal-ink);
    font-weight: 700;
}

.fc-badge {
    right: clamp(28px, 4vw, 60px);
    bottom: 10%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px 14px 14px;
    color: var(--teal-ink);
    background: rgba(255, 253, 249, .85);
    border-color: rgba(255, 255, 255, .9);
    animation-delay: -1.5s;
}

.fc-badge .ic {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    font-size: 1.1rem;
}

.fc-badge strong {
    display: block;
    font-size: 1.02rem;
}

.fc-badge span {
    font-size: .85rem;
    color: var(--ink-3);
}

@keyframes floaty {
    50% {
        transform: translateY(-10px);
    }
}

/* ---------- marquee ---------- */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 26px 0;
    border-block: 1px solid var(--line-2);
    -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 56px;
    animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 300;
    white-space: nowrap;
    color: var(--ink-2);
}

.marquee-item i {
    font-size: .9em;
    color: var(--rust);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- results / stats bento ---------- */
.bento {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-photo {
    grid-row: span 2;
    min-height: 520px;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
}

.bento-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.bento-photo:hover img {
    transform: scale(1.05);
}

.bento-photo .cap {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    color: #fff;
    background: rgba(6, 47, 57, .35);
    border: 1px solid rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: .95rem;
}

.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: transparent;
    overflow: hidden;
    transition: background .5s var(--ease), border-color .5s, transform .6s var(--ease);
}

.stat-card.arch {
    border-radius: 999px 999px var(--r-lg) var(--r-lg);
    padding-top: 70px;
}

.stat-card:hover {
    background: var(--paper);
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
}

.stat-num {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3.2rem, 5.4vw, 4.6rem);
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--ink);
}

.stat-num sup {
    font-size: .45em;
    vertical-align: .9em;
    margin-left: 2px;
    color: var(--rust);
}

.stat-card p {
    margin: 12px 0 0;
    max-width: 240px;
    color: var(--ink-2);
    line-height: 1.45;
}

.stat-card .stat-ic {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
    transition: transform .6s var(--spring), background .4s, color .4s;
}

.stat-card.arch .stat-ic {
    top: auto;
    bottom: 30px;
}

.stat-card:hover .stat-ic {
    transform: rotate(-20deg) scale(1.1);
    background: var(--teal);
    color: #fff;
}

/* ---------- service cards ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.svc-card {
    --tint: var(--mint);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px 12px 26px;
    border-radius: var(--r-lg);
    background: var(--tint);
    overflow: hidden;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.svc-card:nth-child(4n+2) { --tint: var(--lavender); }
.svc-card:nth-child(4n+3) { --tint: var(--peach); }
.svc-card:nth-child(4n+4) { --tint: var(--sky); }

.svc-card .ph {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
}

.svc-card .ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 1.1s var(--ease), filter .6s;
}

/* curtain wipe over the photo on hover */
.svc-card .ph::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 70, 84, 0) 30%, rgba(11, 70, 84, .55) 100%);
    opacity: 0;
    transition: opacity .6s var(--ease);
}

.svc-card .num {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 11px;
    border-radius: 30px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--teal-ink);
    background: rgba(255, 253, 249, .85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.svc-card .body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 12px 0;
}

.svc-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.45rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.svc-card p {
    flex: 1;
    margin-bottom: 18px;
    font-size: .96rem;
    color: var(--ink-2);
    line-height: 1.55;
}

.svc-card .go {
    position: absolute;
    right: 24px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--paper);
    color: var(--teal);
    transform: rotate(-45deg);
    transition: transform .6s var(--spring), background .4s, color .4s;
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2);
}

.svc-card:hover .ph img {
    transform: scale(1.09);
}

.svc-card:hover .ph::after {
    opacity: 1;
}

.svc-card:hover .go {
    transform: rotate(0);
    background: var(--teal);
    color: #fff;
}

/* ---------- teal band ---------- */
.band {
    position: relative;
    margin: 0 16px;
    padding: clamp(64px, 9vw, 112px) 0;
    border-radius: var(--r-xl);
    background: var(--teal);
    color: rgba(255, 255, 255, .86);
    overflow: hidden;
}

.band::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    right: -240px;
    top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 214, 126, .16), transparent 65%);
    pointer-events: none;
}

.band .h1,
.band .h2,
.band .h3 {
    color: #fff;
}

.band .h1 em,
.band .h2 em {
    color: var(--butter);
}

.band .eyebrow {
    color: var(--butter);
}

.band .lead {
    color: rgba(255, 255, 255, .8);
}

.band-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 34px;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 40px;
    font-size: .93rem;
    font-weight: 500;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
    transition: background .35s, border-color .35s, transform .45s var(--spring), color .35s;
}

.chip i {
    color: var(--butter);
    transition: color .35s;
}

.chip:hover {
    background: var(--butter);
    border-color: var(--butter);
    color: var(--teal-ink);
    transform: translateY(-3px);
}

.chip:hover i {
    color: var(--teal-ink);
}

.band-photo {
    position: relative;
    border-radius: 999px 999px var(--r-lg) var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 4.4;
}

.band-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band-photo .float-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    top: auto;
    background: rgba(6, 47, 57, .55);
    border-color: rgba(255, 255, 255, .3);
}

/* ---------- steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
}

.step .ph {
    position: relative;
    aspect-ratio: 5 / 3.6;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 22px;
    background: var(--cream-2);
}

.step:nth-child(2) .ph {
    border-radius: 999px 999px var(--r-lg) var(--r-lg);
}

.step .ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.step:hover .ph img {
    transform: scale(1.06);
}

.step .ph .ic {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--butter);
    color: var(--teal-ink);
    font-size: 1.2rem;
    transition: transform .6s var(--spring);
}

.step:hover .ph .ic {
    transform: rotate(-10deg) scale(1.08);
}

.step-k {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rust);
}

.step h3 {
    margin: 8px 0 10px;
}

.step p {
    color: var(--ink-2);
    font-size: .98rem;
}

/* ---------- split panel ---------- */
.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--mint);
}

.split-panel .txt {
    padding: clamp(40px, 6vw, 84px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-panel .media {
    position: relative;
    min-height: 560px;
}

.split-panel .media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.split-panel .media .float-card {
    left: 24px;
    bottom: 24px;
    width: min(300px, calc(100% - 48px));
    color: var(--teal-ink);
    background: rgba(255, 253, 249, .82);
    border-color: rgba(255, 255, 255, .9);
}

.tick-list {
    display: grid;
    gap: 12px;
    margin: 6px 0 30px;
    list-style: none;
}

.tick-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--ink-2);
}

.tick-list li::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.cols-2 {
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

/* ---------- doctor cards ---------- */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.doc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    background: var(--paper);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.doc-card .ph {
    position: relative;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
    background: var(--cream-2);
}

.doc-card .ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: saturate(.9);
    transition: transform 1.1s var(--ease), filter .6s;
}

.doc-card .when {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--teal-ink);
    background: rgba(255, 253, 249, .86);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateY(calc(100% + 16px));
    transition: transform .6s var(--spring);
}

.doc-card .info {
    padding: 22px 22px 24px;
}

.doc-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.doc-card .role {
    font-weight: 600;
    color: var(--teal);
    font-size: .95rem;
}

.doc-card .creds {
    margin: 8px 0 0;
    font-size: .86rem;
    color: var(--ink-3);
    line-height: 1.5;
}

.doc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2);
}

.doc-card:hover .ph img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.doc-card:hover .when,
.doc-card:focus-within .when {
    transform: none;
}

@media (hover: none) {
    .doc-card .when {
        transform: none;
    }
}

/* ---------- OPD schedule ---------- */
.opd-table {
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.opd-row {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr 1.2fr auto;
    gap: 20px;
    align-items: center;
    padding: 22px 28px;
    border-top: 1px solid var(--line-2);
    transition: background .4s;
}

.opd-row:first-child {
    border-top: 0;
}

.opd-row.head {
    padding-top: 16px;
    padding-bottom: 16px;
    background: var(--cream-2);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.opd-row:not(.head):hover {
    background: rgba(225, 236, 234, .55);
}

.opd-spec {
    display: flex;
    align-items: center;
    gap: 14px;
}

.opd-spec .ic {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--mint);
    color: var(--teal);
    font-size: 1.1rem;
    transition: transform .6s var(--spring), background .4s, color .4s;
}

.opd-row:hover .opd-spec .ic {
    transform: rotate(-10deg) scale(1.06);
    background: var(--teal);
    color: #fff;
}

.opd-spec strong {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.2;
}

.opd-spec span,
.opd-doc span {
    font-size: .88rem;
    color: var(--ink-3);
}

.opd-doc strong {
    display: block;
    font-weight: 600;
}

.opd-when {
    font-size: .95rem;
}

.opd-when strong {
    display: block;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: var(--cream-2);
    color: var(--ink-2);
}

.tag.today {
    background: #dff3e7;
    color: #1d6b42;
}

.tag.today::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.tag.next {
    background: #fbf0cf;
    color: #7a5a06;
}

.opd-row.is-today {
    background: rgba(223, 243, 231, .5);
}

/* filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.filter {
    padding: 10px 18px;
    border-radius: 40px;
    border: 1px solid var(--line);
    background: transparent;
    font-weight: 600;
    font-size: .92rem;
    color: var(--ink-2);
    cursor: pointer;
    transition: background .35s, color .35s, border-color .35s, transform .4s var(--spring);
}

.filter:hover {
    transform: translateY(-2px);
    border-color: var(--teal);
    color: var(--teal);
}

.filter.active {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.opd-row.hide {
    display: none;
}

/* ---------- today widget (OPD page) ---------- */
.today-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 26px 30px;
    border-radius: var(--r-lg);
    background: var(--teal);
    color: #fff;
}

.today-card .day {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1;
}

.today-card .day small {
    display: block;
    margin-top: 6px;
    font-family: var(--sans);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--butter);
}

.today-card ul {
    list-style: none;
    display: grid;
    gap: 6px;
    color: rgba(255, 255, 255, .88);
}

.today-card li i {
    width: 22px;
    color: var(--butter);
}

/* ---------- testimonials ---------- */
.quotes {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 6px 4px 18px;
}

.quotes::-webkit-scrollbar {
    display: none;
}

.quote {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 34px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line-2);
    transition: transform .6s var(--ease), box-shadow .6s, background .5s;
}

.quote:nth-child(3n+2) {
    background: var(--lavender);
    border-color: transparent;
}

.quote:nth-child(3n+3) {
    background: var(--mint);
    border-color: transparent;
}

.quote:hover {
    transform: translateY(-6px) rotate(-.4deg);
    box-shadow: var(--shadow-2);
}

.quote .stars {
    display: flex;
    gap: 3px;
    color: #d9a520;
    font-size: .9rem;
    margin-bottom: 18px;
}

.quote blockquote {
    flex: 1;
    margin: 0 0 26px;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.45rem;
    line-height: 1.38;
    color: var(--ink);
}

.quote .who {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote .who .av {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
}

.quote .who strong {
    display: block;
}

.quote .who span {
    font-size: .88rem;
    color: var(--ink-3);
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.round-btn {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--teal);
    background: transparent;
    color: var(--teal);
    cursor: pointer;
    transition: background .35s, color .35s, transform .45s var(--spring);
}

.round-btn:hover {
    background: var(--teal);
    color: #fff;
    transform: scale(1.06);
}

/* ---------- blog cards ---------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    display: flex;
    flex-direction: column;
}

.post-card .ph {
    position: relative;
    aspect-ratio: 5 / 3.8;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.post-card .ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.post-card .ph .cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--teal-ink);
    background: rgba(255, 253, 249, .88);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.post-card .meta {
    font-size: .86rem;
    color: var(--ink-3);
    margin-bottom: 8px;
}

.post-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.55rem;
    line-height: 1.22;
    margin-bottom: 10px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size .7s var(--ease);
    display: inline;
}

.post-card:hover h3 {
    background-size: 100% 1.5px;
}

.post-card .h3wrap {
    margin-bottom: 12px;
}

.post-card p {
    color: var(--ink-2);
    font-size: .97rem;
}

.post-card:hover .ph img {
    transform: scale(1.06);
}

.post-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    margin-bottom: 64px;
}

.post-featured .ph {
    aspect-ratio: 4 / 3;
    margin: 0;
}

.post-featured h3 {
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 300;
}

/* ---------- FAQ ---------- */
.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    border-radius: var(--r);
    background: var(--paper);
    border: 1px solid var(--line-2);
    transition: background .4s, border-color .4s, box-shadow .4s;
}

.faq details[open] {
    background: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-1);
}

.faq summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    font-family: var(--serif);
    font-size: 1.28rem;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .pm {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mint);
    transition: background .4s, transform .5s var(--spring);
}

.faq summary .pm::before,
.faq summary .pm::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 13px;
    height: 1.8px;
    border-radius: 2px;
    background: var(--teal);
    transform: translate(-50%, -50%);
    transition: transform .5s var(--ease), background .4s;
}

.faq summary .pm::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] summary .pm {
    background: var(--teal);
    transform: rotate(180deg);
}

.faq details[open] summary .pm::before,
.faq details[open] summary .pm::after {
    background: #fff;
}

.faq details[open] summary .pm::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq .ans {
    padding: 0 26px 24px;
    color: var(--ink-2);
}

.faq .ans p:last-child {
    margin: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.faq-grid .sticky {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

/* ---------- CTA + map ---------- */
.cta-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--butter);
}

.cta-card .txt {
    padding: clamp(40px, 6vw, 80px);
}

.cta-card .txt .h1 em {
    color: var(--teal);
}

.cta-card .map {
    position: relative;
    min-height: 420px;
    background: var(--cream-2);
}

.cta-card .map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.85) contrast(1.02);
}

.contact-lines {
    display: grid;
    gap: 14px;
    margin: 26px 0 32px;
    list-style: none;
}

.contact-lines li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-lines .ic {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(11, 70, 84, .1);
    color: var(--teal);
}

.contact-lines small {
    display: block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(6, 47, 57, .6);
}

.contact-lines a,
.contact-lines span {
    font-weight: 600;
    color: var(--teal-ink);
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
    padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    list-style: none;
    font-size: .88rem;
    color: var(--ink-3);
}

.crumbs li + li::before {
    content: "/";
    margin-right: 8px;
    opacity: .5;
}

.crumbs a:hover {
    color: var(--teal);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: end;
}

.page-hero .lead {
    margin: 0;
}

.page-banner {
    margin: 0 16px;
    height: clamp(220px, 30vw, 380px);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- pastel info cards ---------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    --tint: var(--paper);
    position: relative;
    padding: 30px 28px;
    border-radius: var(--r-lg);
    background: var(--tint);
    border: 1px solid var(--line-2);
    overflow: hidden;
    transition: transform .6s var(--ease), box-shadow .6s, border-color .4s;
}

.info-card::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: var(--butter);
    opacity: 0;
    transform: scale(.4);
    transition: transform .8s var(--ease), opacity .6s;
}

.info-card > * {
    position: relative;
    z-index: 1;
}

.info-card .ic {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 16px;
    background: var(--mint);
    color: var(--teal);
    font-size: 1.25rem;
    transition: transform .6s var(--spring), background .4s, color .4s;
}

.info-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.info-card p {
    margin: 0;
    font-size: .95rem;
    color: var(--ink-2);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    border-color: transparent;
}

.info-card:hover::after {
    opacity: .5;
    transform: scale(1);
}

.info-card:hover .ic {
    transform: rotate(-10deg) scale(1.08);
    background: var(--teal);
    color: #fff;
}

.tint-mint { --tint: var(--mint); border-color: transparent; }
.tint-lav { --tint: var(--lavender); border-color: transparent; }
.tint-peach { --tint: var(--peach); border-color: transparent; }
.tint-sky { --tint: var(--sky); border-color: transparent; }

/* vision / quote cards */
.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.big-card {
    padding: clamp(32px, 5vw, 56px);
    border-radius: var(--r-xl);
    background: var(--paper);
    transition: transform .6s var(--ease), box-shadow .6s;
}

.big-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
}

.big-card .ic {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--butter);
    font-size: 1.3rem;
}

.big-card p {
    color: var(--ink-2);
    font-size: 1.05rem;
    margin: 0;
}

.big-card blockquote {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--ink);
}

/* about split */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}

.about-photos {
    position: relative;
    padding: 0 0 60px 0;
}

.about-photos .main {
    border-radius: 999px 999px var(--r-lg) var(--r-lg);
    overflow: hidden;
    aspect-ratio: 5 / 6;
    max-width: 460px;
}

.about-photos .main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photos .badge {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 220px;
    padding: 24px;
    border-radius: var(--r-lg);
    background: var(--teal);
    color: #fff;
    box-shadow: var(--shadow-2);
    animation: floaty 7s ease-in-out infinite;
}

.about-photos .badge .stat-num {
    color: #fff;
}

.about-photos .badge .stat-num sup {
    color: var(--butter);
}

.about-photos .badge p {
    margin: 8px 0 0;
    font-size: .92rem;
    color: rgba(255, 255, 255, .8);
}

/* credentials timeline */
.timeline {
    position: relative;
    display: grid;
    gap: 0;
    list-style: none;
}

.timeline li {
    position: relative;
    padding: 0 0 30px 44px;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 10px;
    bottom: -10px;
    width: 1.5px;
    background: var(--line);
}

.timeline li:last-child::before {
    display: none;
}

.timeline li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--teal);
    transition: background .4s, transform .5s var(--spring);
}

.timeline li:hover::after {
    background: var(--butter);
    transform: scale(1.2);
}

.timeline strong {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.25;
}

.timeline span {
    color: var(--ink-3);
    font-size: .95rem;
}

/* profile hero */
.profile-hero {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}

.profile-photo {
    position: relative;
    max-width: 500px;
}

.profile-photo .frame {
    border-radius: 999px 999px var(--r-lg) var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--mint);
}

.profile-photo .frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.profile-photo .float-card {
    left: -18px;
    bottom: 40px;
    color: var(--teal-ink);
    background: rgba(255, 253, 249, .88);
    border-color: #fff;
}

.cred-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 30px;
    list-style: none;
}

.cred-pills li {
    padding: 8px 14px;
    border-radius: 30px;
    background: var(--paper);
    border: 1px solid var(--line-2);
    font-size: .88rem;
    font-weight: 600;
    color: var(--teal);
}

/* ---------- article ---------- */
.article-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.article-cover {
    width: calc(100% - 32px);
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: 0 16px;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 22px;
    font-size: .92rem;
    color: var(--ink-3);
}

.article-meta i {
    color: var(--teal);
    margin-right: 6px;
}

.prose {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--ink-2);
}

.prose > p:first-of-type::first-letter {
    float: left;
    margin: 6px 10px 0 0;
    font-family: var(--serif);
    font-size: 4.2rem;
    line-height: .8;
    color: var(--teal);
}

.prose h2,
.prose h3,
.prose h4 {
    margin: 2em 0 .6em;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    line-height: 1.2;
    color: var(--ink);
}

.prose ul,
.prose ol {
    margin: 0 0 1.4em;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.prose li {
    position: relative;
    padding: 14px 18px 14px 46px;
    border-radius: 14px;
    background: var(--paper);
    border: 1px solid var(--line-2);
    line-height: 1.6;
}

.prose li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 19px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.prose strong {
    color: var(--ink);
    font-weight: 600;
}

.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 48px;
    padding: 28px;
    border-radius: var(--r-lg);
    background: var(--mint);
}

.author-box img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
}

.author-box h4 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.author-box p {
    margin: 0;
    font-size: .96rem;
    color: var(--ink-2);
}

.side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    gap: 18px;
}

.side-card {
    padding: 26px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line-2);
}

.side-card h4 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.side-card.teal {
    background: var(--teal);
    border-color: transparent;
    color: rgba(255, 255, 255, .86);
}

.side-card.teal h4 {
    color: #fff;
}

.side-links {
    display: grid;
    gap: 4px;
    list-style: none;
}

.side-links a {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px;
    margin: 0 -10px;
    border-radius: 12px;
    transition: background .3s;
}

.side-links a:hover {
    background: var(--cream);
}

.side-links img {
    width: 64px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.side-links span {
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.35;
}

.reading-bar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1100;
    height: 3px;
    width: 100%;
    background: var(--butter);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

/* ---------- contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line-2);
    transition: transform .6s var(--ease), box-shadow .6s, background .5s, color .5s;
}

.contact-card .ic {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 40px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
    font-size: 1.2rem;
    transition: transform .6s var(--spring), background .4s, color .4s;
}

.contact-card small {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
    transition: color .5s;
}

.contact-card strong {
    display: block;
    margin: 6px 0 14px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.45rem;
    line-height: 1.25;
}

.contact-card .link {
    margin-top: auto;
}

.contact-card:hover {
    transform: translateY(-6px);
    background: var(--teal);
    color: #fff;
    box-shadow: var(--shadow-2);
}

.contact-card:hover small {
    color: rgba(255, 255, 255, .7);
}

.contact-card:hover .link {
    color: var(--butter);
}

.contact-card:hover .ic {
    background: var(--butter);
    color: var(--teal-ink);
    transform: rotate(-12deg) scale(1.08);
}

.contact-card.urgent .ic {
    background: #fbe1de;
    color: var(--red);
}

.form-card {
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--r-xl);
    background: var(--paper);
    box-shadow: var(--shadow-1);
}

.field {
    position: relative;
    margin-bottom: 16px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 24px 16px 10px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: var(--cream);
    font-size: 1rem;
    transition: border-color .3s, background .3s, box-shadow .3s;
    -webkit-appearance: none;
    appearance: none;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field label {
    position: absolute;
    left: 17px;
    top: 17px;
    font-size: 1rem;
    color: var(--ink-3);
    pointer-events: none;
    transform-origin: left top;
    transition: transform .3s var(--ease), color .3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 70, 84, .1);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select + label {
    transform: translateY(-10px) scale(.78);
    color: var(--teal);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-note {
    margin: 14px 0 0;
    font-size: .86rem;
    color: var(--ink-3);
}

.select-wrap::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.hours {
    display: grid;
    gap: 0;
    list-style: none;
}

.hours li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-2);
}

.hours li span:last-child {
    font-weight: 600;
    text-align: right;
}

/* ---------- footer ---------- */
.site-footer {
    margin-top: clamp(72px, 10vw, 120px);
    background: var(--teal-ink);
    color: rgba(255, 255, 255, .72);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: clamp(56px, 8vw, 96px) 0 48px;
}

.footer-top h4 {
    margin-bottom: 18px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--butter);
}

.footer-brand {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--cream);
    margin-bottom: 22px;
}

.footer-brand img {
    height: 54px;
    width: auto;
}

.footer-top p {
    max-width: 340px;
    font-size: .95rem;
}

.footer-links {
    display: grid;
    gap: 10px;
    list-style: none;
}

.footer-links a {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, .8);
    transition: color .3s, transform .45s var(--ease);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(6px);
}

.footer-contact {
    display: grid;
    gap: 14px;
    list-style: none;
    font-size: .95rem;
}

.footer-contact li {
    display: flex;
    gap: 12px;
}

.footer-contact i {
    margin-top: 5px;
    color: var(--butter);
    width: 16px;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    transition: background .35s, color .35s, transform .5s var(--spring), border-color .35s;
}

.footer-social a:hover {
    background: var(--butter);
    border-color: var(--butter);
    color: var(--teal-ink);
    transform: translateY(-4px) rotate(-8deg);
}

.footer-word {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3rem, 11.5vw, 10.5rem);
    line-height: .9;
    letter-spacing: -.04em;
    color: rgba(255, 255, 255, .08);
    white-space: nowrap;
    text-align: center;
    padding-bottom: 10px;
    user-select: none;
}

.footer-word em {
    color: rgba(242, 214, 126, .16);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .88rem;
}

.footer-bottom a {
    color: #fff;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--butter);
}

/* ---------- mobile quick bar ---------- */
.quickbar {
    display: none;
}

/* ---------- back to top ---------- */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .4s, visibility .4s, transform .5s var(--spring), background .3s;
}

.to-top svg {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.to-top circle {
    fill: none;
    stroke: var(--butter);
    stroke-width: 3;
    stroke-linecap: round;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: var(--teal-2);
    transform: translateY(-3px);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
    .nav a {
        padding: 10px 10px;
        font-size: .93rem;
    }

    .nav a::after {
        left: 10px;
        right: 10px;
    }

    .header-phone .txt {
        display: none;
    }

    .svc-grid,
    .doc-grid,
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-h: 68px;
    }

    .announce {
        display: none;
    }

    .nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .brand img {
        height: 46px;
    }

    .bento {
        grid-template-columns: 1fr 1fr;
    }

    .bento-photo {
        grid-column: span 2;
        grid-row: auto;
        min-height: 360px;
    }

    .band-grid,
    .split-panel,
    .faq-grid,
    .cta-card,
    .about-split,
    .profile-hero,
    .page-hero-grid,
    .article-wrap,
    .post-featured {
        grid-template-columns: 1fr;
    }

    .band-photo {
        max-width: 460px;
        margin: 0 auto;
        width: 100%;
    }

    .split-panel .media {
        min-height: 440px;
    }

    .faq-grid .sticky,
    .side {
        position: static;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step .ph {
        aspect-ratio: 16 / 9;
    }

    .post-grid {
        grid-template-columns: 1fr 1fr;
    }

    .opd-row {
        grid-template-columns: 1fr 1fr;
        gap: 14px 20px;
    }

    .opd-row.head {
        display: none;
    }

    .opd-row .opd-act {
        grid-column: span 2;
    }

    .opd-row .opd-act .btn {
        width: 100%;
    }

    .duo {
        grid-template-columns: 1fr;
    }

    .about-photos {
        max-width: 520px;
    }

    .profile-photo {
        margin: 0 auto;
        width: 100%;
    }

    .page-hero-grid {
        align-items: start;
        gap: 20px;
    }

    /* quick action bar */
    .quickbar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 950;
        display: grid;
        grid-template-columns: 1.15fr 1fr 1fr;
        gap: 6px;
        padding: 6px;
        border-radius: 18px;
        background: rgba(255, 253, 249, .86);
        -webkit-backdrop-filter: saturate(170%) blur(18px);
        backdrop-filter: saturate(170%) blur(18px);
        border: 1px solid rgba(255, 255, 255, .9);
        box-shadow: 0 18px 40px -18px rgba(6, 47, 57, .5);
        transform: translateY(150%);
        transition: transform .6s var(--spring);
    }

    .quickbar.show {
        transform: none;
    }

    .quickbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        border-radius: 13px;
        font-size: .9rem;
        font-weight: 600;
        color: var(--teal-ink);
        transition: transform .2s;
    }

    .quickbar a:active {
        transform: scale(.95);
    }

    .quickbar .q-call {
        background: var(--teal);
        color: #fff;
    }

    .quickbar .q-wa i {
        color: #1fa855;
    }

    .quickbar .q-map i {
        color: var(--red);
    }

    body {
        padding-bottom: 84px;
    }

    .to-top {
        bottom: calc(92px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        width: 46px;
        height: 46px;
    }

    .to-top svg {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 16px;
    }

    .wrap {
        padding: 0 18px;
    }

    .hero {
        padding-top: 36px;
    }

    .trust-row {
        gap: 8px 16px;
        font-size: .86rem;
    }

    .hero .btn-row .btn {
        width: 100%;
    }

    .hero-media {
        padding: 0 10px;
    }

    .hero-frame {
        height: 520px;
        border-radius: 22px 22px 22px 120px;
    }

    .hero-frame img {
        object-position: 30% 30%;
    }

    .hero-frame::after {
        background: linear-gradient(180deg, rgba(6, 47, 57, .55) 0%, rgba(6, 47, 57, 0) 50%, rgba(6, 47, 57, .35) 100%);
    }

    .fc-today {
        left: 14px;
        right: 14px;
        top: 14px;
        width: auto;
        padding: 14px 16px;
    }

    .fc-today h4 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .fc-today ul {
        gap: 6px;
        font-size: .84rem;
    }

    .fc-today li {
        padding: 6px 8px;
    }

    .fc-quote {
        display: none;
    }

    .fc-badge {
        right: 14px;
        left: auto;
        bottom: 14px;
        padding: 10px 14px 10px 10px;
    }

    .fc-badge .ic {
        width: 40px;
        height: 40px;
    }

    .bento {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        min-height: 190px;
        padding: 20px;
    }

    .stat-card.arch {
        padding-top: 54px;
    }

    .stat-card .stat-ic {
        width: 38px;
        height: 38px;
        top: 16px;
        right: 16px;
        font-size: .9rem;
    }

    .stat-card.arch .stat-ic {
        bottom: auto;
        top: 16px;
    }

    .stat-card p {
        font-size: .88rem;
    }

    .svc-grid,
    .doc-grid,
    .post-grid,
    .info-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .doc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .doc-card .info {
        padding: 14px 14px 16px;
    }

    .doc-card h3 {
        font-size: 1.12rem;
    }

    .doc-card .role {
        font-size: .82rem;
    }

    .doc-card .creds {
        font-size: .76rem;
    }

    .doc-card .when {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 7px 9px;
        font-size: .72rem;
    }

    .band {
        margin: 0 10px;
        border-radius: 28px;
    }

    .split-panel {
        border-radius: 28px;
    }

    .split-panel .media {
        min-height: 400px;
    }

    .cols-2 {
        grid-template-columns: 1fr;
    }

    .opd-row {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .opd-row .opd-act {
        grid-column: auto;
    }

    .today-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    .quotes {
        grid-auto-columns: 86%;
    }

    .quote {
        padding: 26px;
    }

    .quote blockquote {
        font-size: 1.25rem;
    }

    .cta-card {
        border-radius: 28px;
    }

    .cta-card .map {
        min-height: 300px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer {
        border-radius: 28px 28px 0 0;
    }

    .footer-word {
        font-size: 15vw;
    }

    .page-banner,
    .article-cover {
        margin: 0 10px;
        border-radius: 24px;
    }

    .article-cover {
        aspect-ratio: 4 / 3;
    }

    .about-photos .badge {
        width: 180px;
        padding: 18px;
    }

    .profile-photo .float-card {
        left: 10px;
        right: 10px;
        bottom: 14px;
    }

    .section-head.split .slider-nav {
        display: none;
    }

    .marquee-item {
        font-size: 1.2rem;
    }
}

@media (max-width: 380px) {
    .stat-num {
        font-size: 2.6rem;
    }

    .quickbar a {
        font-size: .8rem;
        gap: 5px;
    }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-mask,
    .split-words .w > span {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }
}


/* =====================================================================
   IMAGE-LED PAGE HEROES (inner pages)
   ===================================================================== */
.ihero {
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 72px);
}

@supports (overflow: clip) {
    .ihero {
        overflow: clip;
    }
}

.ih-glow {
    position: absolute;
    right: -12%;
    top: -10%;
    width: 70%;
    height: 120%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(closest-side at 62% 38%, rgba(225, 236, 234, .95), transparent),
        radial-gradient(closest-side at 30% 78%, rgba(243, 223, 207, .8), transparent),
        radial-gradient(closest-side at 85% 85%, rgba(242, 214, 126, .35), transparent);
    filter: blur(10px);
}

.ih-grid {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
    min-height: clamp(540px, calc(100svh - 150px), 780px);
}

.ih-text .display {
    font-size: clamp(3rem, 6.2vw, 5.6rem);
    margin-bottom: 22px;
}

.ih-line {
    max-width: 420px;
    margin: 0 0 30px;
    font-size: clamp(1.08rem, 1.5vw, 1.28rem);
    line-height: 1.55;
    color: var(--ink-2);
}

.ih-text .crumbs {
    margin-bottom: 28px;
}

/* media column */
.ih-media {
    position: relative;
    height: clamp(460px, 66vh, 660px);
    --px: 0;
    --py: 0;
}

.ih-arch {
    position: absolute;
    inset: 0 0 0 9%;
    border-radius: 999px 999px 34px 34px;
    overflow: hidden;
    background: var(--mint);
    box-shadow: 0 40px 80px -40px rgba(11, 70, 84, .45);
}

.ih-arch img,
.ih-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.14);
    transition: transform 1.8s var(--ease);
}

.ih-arch.is-in img,
.ih-tile.is-in img {
    transform: scale(1.02);
}

.ih-arch:hover img {
    transform: scale(1.07);
}

/* trio of arch tiles */
.ih-trio .ih-tile {
    position: absolute;
    width: 31.5%;
    border-radius: 999px 999px 26px 26px;
    overflow: hidden;
    background: var(--cream-2);
    box-shadow: 0 30px 60px -30px rgba(11, 70, 84, .45);
    transition: transform .9s var(--ease), box-shadow .6s;
}

.ih-trio .t1 { left: 0; top: 16%; height: 68%; }
.ih-trio .t2 { left: 34.25%; top: 2%; height: 84%; }
.ih-trio .t3 { left: 68.5%; top: 24%; height: 66%; }

.ih-trio .ih-tile img {
    object-position: top center;
}

.ih-trio:hover .t1 { transform: translate(-6px, -8px) rotate(-2.5deg); }
.ih-trio:hover .t2 { transform: translateY(-14px); }
.ih-trio:hover .t3 { transform: translate(6px, -8px) rotate(2.5deg); }

/* rotating text badge */
.spin-badge {
    position: absolute;
    top: 5%;
    left: -1%;
    z-index: 3;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: var(--butter);
    box-shadow: 0 18px 40px -18px rgba(11, 70, 84, .55);
    translate: calc(var(--px) * -14px) calc(var(--py) * -14px);
    transition: translate .6s var(--ease);
}

.spin-badge svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 22s linear infinite;
}

.spin-badge text {
    font-family: var(--sans);
    font-size: 10.2px;
    font-weight: 700;
    letter-spacing: 2.4px;
    fill: var(--teal-ink);
}

.sb-ic {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-size: 1.1rem;
    transition: transform .6s var(--spring);
}

.spin-badge:hover .sb-ic {
    transform: scale(1.12) rotate(-12deg);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* floating glass chip */
.ih-chip {
    position: absolute;
    right: -2%;
    bottom: 9%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px 16px 16px;
    border-radius: 20px;
    background: rgba(255, 253, 249, .82);
    border: 1px solid rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 24px 50px -24px rgba(11, 70, 84, .5);
    font-size: .95rem;
    line-height: 1.35;
    color: var(--ink-2);
    translate: calc(var(--px) * 12px) calc(var(--py) * 12px);
}

.ih-chip.is-in {
    animation: floaty 7s ease-in-out infinite;
}

.ih-chip strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.ih-chip-num {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 2.7rem;
    line-height: 1;
    color: var(--ink);
}

.ih-chip-num sup {
    font-size: .45em;
    vertical-align: .9em;
    color: var(--rust);
}

.ih-chip-ic {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--teal);
    color: #fff;
    font-size: 1.05rem;
}

.ih-chip-ic.red {
    background: var(--red);
}

.ih-chip .live-dot {
    margin-right: 6px;
}

.ih-trio .ih-chip {
    bottom: 4%;
    right: 4%;
}

/* on the photo trio the badge sits above the shortest (right) tile, clear of faces */
.ih-trio .spin-badge {
    left: auto;
    right: -1%;
    top: 0;
}

@media (max-width: 767.98px) {
    .ih-trio .spin-badge {
        width: 92px;
        height: 92px;
        right: -2%;
        top: -2%;
    }

    .ih-trio .spin-badge text {
        font-size: 8.6px;
        letter-spacing: 1.4px;
    }
}

/* =====================================================================
   HOME HERO — mobile: keep faces clear
   ===================================================================== */
.hero-today-m {
    display: none;
}

@media (max-width: 991.98px) {
    .ih-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 36px;
    }

    .ih-media {
        height: clamp(400px, 92vw, 560px);
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .ihero {
        padding-top: 18px;
    }

    .ih-text .crumbs {
        margin-bottom: 18px;
    }

    .ih-text .display {
        font-size: clamp(2.7rem, 12vw, 3.4rem);
    }

    .ih-line {
        margin-bottom: 24px;
    }

    .ih-text .btn-row .btn {
        flex: 1 1 auto;
    }

    .ih-arch {
        inset: 0 0 0 6%;
        border-radius: 999px 999px 26px 26px;
    }

    .spin-badge {
        width: 104px;
        height: 104px;
        top: 2%;
        left: -2%;
    }

    .spin-badge text {
        font-size: 9.4px;
        letter-spacing: 1.8px;
    }

    .sb-ic {
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
        font-size: .95rem;
    }

    .ih-chip {
        right: 0;
        bottom: 5%;
        padding: 12px 16px 12px 12px;
        font-size: .86rem;
    }

    .ih-chip-num {
        font-size: 2.1rem;
    }

    .ih-chip-ic {
        width: 40px;
        height: 40px;
    }

    /* home hero */
    .hero .display {
        margin-bottom: 20px;
    }

    .hero-frame {
        height: 430px;
    }

    .hero-frame img {
        object-position: 36% 35%;
    }

    .hero-frame::after {
        background: linear-gradient(180deg, rgba(6, 47, 57, 0) 55%, rgba(6, 47, 57, .45) 100%);
    }

    .fc-today {
        display: none;
    }

    .fc-badge {
        left: 14px;
        right: auto;
        bottom: 74px;
        padding: 8px 14px 8px 8px;
        border-radius: 14px;
    }

    .fc-badge .ic {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: .95rem;
    }

    .fc-badge strong {
        font-size: .92rem;
    }

    .fc-badge span span {
        font-size: .78rem;
    }

    .hero-today-m {
        display: block;
        position: relative;
        z-index: 3;
        margin: -58px 16px 0;
        padding: 18px 18px 16px;
        border-radius: 22px;
        background: var(--paper);
        box-shadow: var(--shadow-2);
        text-align: left;
    }

    .hero-today-m .fc-label {
        font-size: .74rem;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--teal);
        margin-bottom: 10px;
    }

    .hero-today-m ul {
        list-style: none;
        display: grid;
        gap: 6px;
        margin-bottom: 12px;
        font-size: .9rem;
    }

    .hero-today-m li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        border-radius: 12px;
        background: var(--cream);
    }

    .hero-today-m li i {
        width: 16px;
        text-align: center;
        color: var(--teal);
    }

    .hero-today-m .link {
        font-size: .92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spin-badge svg {
        animation: none;
    }
}


/* =====================================================================
   ROUND 3 — sliders, blog variants, premium motion
   ===================================================================== */

/* ---------- home hero: actions under the photo ---------- */
.hero .display {
    margin-bottom: 0;
}

.hero-actions {
    justify-content: center;
    margin-top: 34px;
}

.about-top {
    padding-top: clamp(28px, 4vw, 56px);
}

.about-top .crumbs {
    margin-bottom: 30px;
}

.focus-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1180px) {
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- slider (touch swipe, drag on desktop, dots) ---------- */
.mslider.always,
.quotes {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(340px, calc((100% - 40px) / 3));
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    cursor: grab;
}

.mslider::-webkit-scrollbar {
    display: none;
}

.mslider.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}

.mslider.dragging a,
.mslider.dragging img {
    pointer-events: none;
}

.slider-foot {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.slider-foot.on {
    display: flex;
}

.sdots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sdots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(22, 22, 22, .18);
    cursor: pointer;
    transition: width .5s var(--ease), background .4s;
}

.sdots button.active {
    width: 30px;
    background: var(--teal);
}

.slider-count {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}

.slider-count b {
    font-weight: 400;
    color: var(--ink);
}

.slider-btns {
    display: flex;
    gap: 8px;
}

.slider-btns .round-btn {
    width: 44px;
    height: 44px;
}

.slider-btns .round-btn:disabled {
    opacity: .3;
    pointer-events: none;
}

/* active slide gets focus, neighbours step back */
.mslider.has-active > * {
    transition: transform .7s var(--ease), opacity .7s var(--ease), box-shadow .6s var(--ease) !important;
}

/* mobile: grids become swipeable sliders */
@media (max-width: 767.98px) {
    .mslider {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        grid-template-columns: none !important;
        gap: 14px !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        margin: 0 -18px;
        padding: 8px 18px 22px;
        scroll-padding: 0 18px;
    }

    .mslider > * {
        scroll-snap-align: start;
    }

    .mslider.has-active > :not(.is-active) {
        transform: scale(.94) !important;
        opacity: .6 !important;
    }

    .svc-grid.mslider {
        grid-auto-columns: 80%;
    }

    .quotes.mslider {
        grid-auto-columns: 86%;
    }

    .section-head.split .slider-nav,
    .slider-btns {
        display: none;
    }

    .slider-foot {
        justify-content: flex-start;
        gap: 18px;
        margin-top: 4px;
    }
}

/* ---------- blog cards: three distinct designs ---------- */
.post-card.pv1,
.post-card.pv2,
.post-card.pv3 {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}

.post-card.pv1:hover,
.post-card.pv2:hover,
.post-card.pv3:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2);
}

/* v1 — full-bleed photo, text on a dark fade */
.post-card.pv1 {
    min-height: 520px;
    justify-content: flex-end;
    padding: 28px;
    color: #fff;
    background: var(--teal-ink);
}

.post-card.pv1 .ph {
    position: absolute;
    inset: 0;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
}

.post-card.pv1 .ph::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 47, 57, 0) 25%, rgba(6, 47, 57, .92) 100%);
}

.post-card.pv1 > :not(.ph) {
    position: relative;
    z-index: 2;
}

.post-card.pv1 .meta,
.post-card.pv1 p {
    color: rgba(255, 255, 255, .78);
}

.post-card.pv1 h3 {
    color: #fff;
    font-size: 1.75rem;
}

.post-card.pv1 .link {
    color: var(--butter);
}

/* v2 — lavender card with an inset photo */
.post-card.pv2 {
    padding: 12px 12px 26px;
    background: var(--lavender);
}

.post-card.pv2 .ph {
    border-radius: 18px;
    margin-bottom: 22px;
}

.post-card.pv2 > :not(.ph) {
    padding: 0 14px;
}

/* v3 — butter card with an arch photo */
.post-card.pv3 {
    padding: 26px;
    background: var(--butter);
}

.post-card.pv3 .ph {
    aspect-ratio: 1 / .9;
    border-radius: 999px 999px 20px 20px;
    margin-bottom: 22px;
}

.post-card.pv3 .ph .cat {
    top: auto;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
}

.post-card.pv3 .meta {
    color: rgba(6, 47, 57, .65);
}

.post-card.pv3 p {
    color: var(--teal-ink);
}

.post-card.pv3 .link {
    color: var(--teal-ink);
}

@media (max-width: 767.98px) {
    .post-card.pv1 {
        min-height: 460px;
        padding: 22px;
    }

    .post-card.pv1 h3 {
        font-size: 1.5rem;
    }

    .post-card.pv3 {
        padding: 20px;
    }
}

/* ---------- premium motion ---------- */
/* reveal now also comes out of a soft blur */
.reveal {
    filter: blur(8px);
    transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
    transition-delay: var(--d, 0s);
}

.reveal.is-in {
    filter: none;
}

.js-off .reveal {
    filter: none;
}

/* scroll parallax images (premium.js sets --pY) */
[data-parallax] {
    scale: 1.12;
    translate: 0 var(--pY, 0px);
    will-change: translate;
}

/* cursor glow that follows the pointer inside cards (desktop) */
@media (hover: hover) and (pointer: fine) {
    .svc-card::before,
    .info-card::before,
    .doc-card::before,
    .contact-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 4;
        border-radius: inherit;
        pointer-events: none;
        opacity: 0;
        background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 60%);
        transition: opacity .5s;
    }

    .svc-card:hover::before,
    .info-card:hover::before,
    .doc-card:hover::before,
    .contact-card:hover::before {
        opacity: 1;
    }

    .contact-card {
        position: relative;
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        filter: none !important;
    }

    [data-parallax] {
        scale: 1;
        translate: none;
    }


}


/* ---------- 404 page ---------- */
.nf {
    padding-top: clamp(40px, 6vw, 80px);
}

.nf-code {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(7rem, 22vw, 15rem);
    line-height: .9;
    letter-spacing: -.05em;
    color: var(--teal);
    margin-bottom: 18px;
}

.nf-code span {
    display: inline-block;
    font-style: italic;
    color: var(--rust);
    animation: floaty 5s ease-in-out infinite;
}

.nf .lead {
    margin-left: auto;
    margin-right: auto;
}


/* =====================================================================
   HOME HERO v2 — full-bleed photo, minimal text on the image
   ===================================================================== */
.hero.hero-v2 {
    padding: 12px 0 0;
    text-align: left;
}

.hero-v2 .hero-media {
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 16px;
}

.hero-v2 .hero-frame {
    height: clamp(520px, calc(100svh - var(--header-h) - 28px), 820px);
    border-radius: 28px 28px clamp(120px, 18vw, 280px) 28px;
}

.hero-v2 .hero-frame picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-v2 .hero-frame img {
    object-position: 60% 30%;
}

.hero-v2 .hero-frame::after {
    background:
        linear-gradient(0deg, rgba(6, 47, 57, .82) 0%, rgba(6, 47, 57, .35) 38%, rgba(6, 47, 57, 0) 62%),
        linear-gradient(90deg, rgba(6, 47, 57, .45) 0%, rgba(6, 47, 57, 0) 55%);
}

.hero-copy {
    position: absolute;
    z-index: 2;
    left: clamp(24px, 5vw, 72px);
    right: clamp(24px, 5vw, 72px);
    bottom: clamp(28px, 5vw, 64px);
    max-width: 760px;
    color: #fff;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px 8px 14px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.hero-title {
    margin: 20px 0 30px;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.8rem, 6.6vw, 5.8rem);
    line-height: 1;
    letter-spacing: -.025em;
    color: #fff;
}

.hero-title em {
    font-style: italic;
    color: var(--butter);
}

.hero-cta {
    gap: 12px;
}

.btn-glass {
    --btn-bg: rgba(255, 255, 255, .1);
    --btn-fg: #fff;
    --btn-fill: #fff;
    --btn-fill-fg: var(--teal-ink);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

@media (max-width: 767.98px) {
    .hero.hero-v2 {
        padding-top: 8px;
    }

    .hero-v2 .hero-media {
        padding: 0 10px;
    }

    .hero-v2 .hero-frame {
        height: calc(100svh - var(--header-h) - 16px);
        min-height: 560px;
        border-radius: 22px 22px 90px 22px;
    }

    .hero-v2 .hero-frame picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero-v2 .hero-frame img {
        object-position: 50% 15%;
    }

    .hero-v2 .hero-frame::after {
        background: linear-gradient(0deg, rgba(6, 47, 57, .88) 0%, rgba(6, 47, 57, .4) 45%, rgba(6, 47, 57, 0) 70%);
    }

    .hero-copy {
        left: 20px;
        right: 20px;
        bottom: 24px;
    }

    .hero-tag {
        font-size: .72rem;
    }

    .hero-title {
        margin: 16px 0 22px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-v2 .hero-media {
        padding: 0 8px;
    }
}

/* home hero v2 — full bleed: no gutter, no rounded corners */
.hero.hero-v2 {
    padding: 0;
}

.hero-v2 .hero-media,
.hero-v2 .hero-media {
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero-v2 .hero-frame {
    height: calc(100svh - var(--header-h));
    min-height: 560px;
    max-height: none;
    border-radius: 0;
}

@media (max-width: 767.98px) {
    .hero.hero-v2,
    .hero-v2 .hero-media {
        padding: 0;
    }

    .hero-v2 .hero-frame {
        height: calc(100svh - var(--header-h));
        border-radius: 0;
    }
}

/* mobile header — call + book next to the menu so it doesn't feel empty */
@media (max-width: 991.98px) {
    .site-header .wrap {
        gap: 10px;
    }

    .header-cta {
        display: flex;
        gap: 8px;
        margin-left: auto;
    }

    .menu-toggle {
        margin-left: 0;
    }

    .header-phone {
        position: relative;
        padding: 0;
    }

    .header-phone .ic {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: var(--paper);
        color: var(--teal);
        box-shadow: inset 0 0 0 1.5px rgba(11, 70, 84, .28);
        animation: ringPulse 2.4s ease-out infinite;
    }

    .header-phone:hover .ic {
        background: var(--mint);
    }

    .header-cta .btn-sm {
        min-height: 46px;
        padding: 10px 16px;
        font-size: .92rem;
        border-radius: 12px;
    }
}

@media (max-width: 767.98px) {
    .header-cta .hide-m {
        display: none;
    }
}

@media (max-width: 340px) {
    .header-cta .btn-sm {
        display: none;
    }
}

@keyframes ringPulse {
    0% {
        box-shadow: inset 0 0 0 1.5px rgba(11, 70, 84, .28), 0 0 0 0 rgba(11, 70, 84, .35);
    }

    70%,
    100% {
        box-shadow: inset 0 0 0 1.5px rgba(11, 70, 84, .28), 0 0 0 10px rgba(11, 70, 84, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-phone .ic {
        animation: none;
    }
}

/* header buttons — one solid teal primary (Book), quiet outlined call + menu */
.header-cta .btn-sm {
    --btn-bg: var(--teal);
    --btn-fg: #fff;
    --btn-fill: var(--teal-ink);
    --btn-fill-fg: #fff;
}

@media (max-width: 991.98px) {
    .menu-toggle {
        background: var(--paper);
        color: var(--teal);
        box-shadow: inset 0 0 0 1.5px rgba(11, 70, 84, .28);
    }

    body.menu-open .menu-toggle {
        background: var(--teal);
        color: #fff;
        box-shadow: none;
    }
}

/* mobile hero — compact, not full screen */
@media (max-width: 767.98px) {
    .hero-v2 .hero-frame {
        height: clamp(440px, 68svh, 560px);
        min-height: 0;
    }

    .hero-v2 .hero-frame img {
        object-position: 50% 12%;
    }

    .hero-title {
        font-size: clamp(2.3rem, 10vw, 2.9rem);
        margin: 14px 0 20px;
    }
}

/* =====================================================================
   SECTION RHYTHM — one consistent gap between stacked sections
   (two plain sections in a row used to double their padding)
   ===================================================================== */
.section + .section,
.section + .section-sm {
    padding-top: 0;
}

.section-sm + .section {
    padding-top: calc(clamp(72px, 10vw, 128px) - clamp(48px, 7vw, 80px));
}

.page-hero + .section {
    padding-top: clamp(32px, 5vw, 72px);
}

.timeline li:last-child {
    padding-bottom: 0;
}

/* reveal-mask: once revealed, remove the clip entirely (Safari/iOS rendering fix) */
.reveal-mask.is-done {
    clip-path: none;
}

/* hero headline: keep "count on" together; give the copy room on desktop */
.hero-copy {
    max-width: min(1100px, calc(100% - 48px));
}

.hero-title em {
    white-space: nowrap;
}

/* mobile: lift the hero text a little */
@media (max-width: 767.98px) {
    .hero-copy {
        bottom: 88px;
    }

    .hero-v2 .hero-frame::after {
        background: linear-gradient(0deg, rgba(6, 47, 57, .9) 0%, rgba(6, 47, 57, .55) 45%, rgba(6, 47, 57, 0) 80%);
    }
}

/* OPD table — fixed, aligned columns (the auto-width button column used to shift every row) */
@media (min-width: 992px) {
    .opd-row {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1.1fr) 190px;
        gap: 28px;
        padding: 22px 32px;
    }

    .opd-row .opd-act .btn {
        width: 100%;
    }
}

.opd-spec > span:last-child {
    min-width: 0;
}

.opd-spec span span,
.opd-doc span {
    display: block;
    margin-top: 2px;
    line-height: 1.45;
}

.opd-when .tag:empty,
.opd-when [data-opd-tag]:empty {
    display: none;
}

/* calm hover: no spinning icon */
.opd-row:hover .opd-spec .ic {
    transform: none;
}
