/* ---- six month guarantee ---- */
.gtee-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.gtee-hero .gh-img img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); display: block; }
@media (max-width: 900px) { .gtee-hero { grid-template-columns: 1fr; } .gtee-hero .gh-img { order: -1; } }
.gtee-promise { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; border-radius: var(--r-xl); padding: clamp(34px, 5vw, 60px); box-shadow: var(--shadow-brand); display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.gtee-promise::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); pointer-events: none; }
.gtee-promise::after { content: ""; position: absolute; left: -80px; bottom: -140px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); pointer-events: none; }
.gtee-promise .eyebrow { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.gtee-promise h2 { color: #fff; font-size: clamp(27px, 3vw, 37px); line-height: 1.12; letter-spacing: -.02em; margin: 16px 0 16px; max-width: 22ch; text-wrap: balance; }
.gtee-promise h2 .u { background: linear-gradient(transparent 62%, rgba(255,255,255,.32) 62%); padding: 0 2px; border-radius: 2px; }
.gtee-promise p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 0 14px; font-size: 15.5px; line-height: 1.68; }
.gtee-promise .gp-body { position: relative; z-index: 1; }
.gtee-promise .small-print { font-size: 13px; color: rgba(255,255,255,.72); max-width: 60ch; }
.gtee-promise .btn { margin-top: 10px; }

/* Guarantee seal / medallion */
.gtee-seal { position: relative; z-index: 1; width: clamp(168px, 16vw, 208px); height: clamp(168px, 16vw, 208px); flex-shrink: 0; display: grid; place-items: center; }
.gtee-seal .seal-ring { position: absolute; inset: 0; animation: sealSpin 26s linear infinite; }
@media (prefers-reduced-motion: reduce) { .gtee-seal .seal-ring { animation: none; } }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.gtee-seal .seal-core { position: relative; width: 72%; height: 72%; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 14px 34px rgba(7,20,60,.34), inset 0 0 0 2px rgba(255,255,255,.6); }
.gtee-seal .seal-core .sc-num { font-size: clamp(40px, 5vw, 54px); font-weight: 800; line-height: .9; letter-spacing: -.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gtee-seal .seal-core .sc-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); margin-top: 2px; }
.gtee-seal .seal-core .sc-sub { font-size: 8.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); margin-top: 3px; }
.gtee-seal .seal-tick { position: absolute; right: 6%; bottom: 6%; width: 38px; height: 38px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(7,20,60,.3); border: 3px solid #fff; }
.gtee-seal .seal-tick svg { width: 19px; height: 19px; stroke-width: 3; }
@media (max-width: 720px) {
  .gtee-promise { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .gtee-promise h2, .gtee-promise p { max-width: 32ch; margin-left: auto; margin-right: auto; }
}
.gtee-promise .gp-body .btn { background: #fff; color: var(--brand-700); border-color: #fff; }
.gtee-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 52px); align-items: center; }
.gtee-split .gs-img img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-md); display: block; }
@media (max-width: 900px) { .gtee-split { grid-template-columns: 1fr; } }
.timeback { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); }
.timeback h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 16px; letter-spacing: -.01em; }
.xlist { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.xlist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--fg-1); line-height: 1.5; }
.xlist .xc { width: 26px; height: 26px; border-radius: 50%; background: var(--danger-bg); color: var(--danger); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.xlist .xc svg { width: 14px; height: 14px; }
.timeback .tb-quote { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.5; border-left: 3px solid var(--brand-500); padding-left: 16px; margin: 0; }
.steps { display: flex; flex-wrap: wrap; gap: 24px; counter-reset: step; }
.steps > .step { flex: 1 1 calc((100% - (var(--cols, 3) - 1) * 24px) / var(--cols, 3)); min-width: 0; }
@media (max-width: 900px) { .steps > .step { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .steps > .step { flex-basis: 100%; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; }
.step-num { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--brand-200); line-height: 1; display: block; margin-bottom: 12px; }
.step h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 10px; letter-spacing: -.01em; text-transform: capitalize; }
.step p { font-size: 14.5px; color: var(--fg-2); line-height: 1.6; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   pages.css — inner page components (depends on colors_and_type.css + site.css)
   ========================================================================== */

/* ---- case study page ---- */
.case-hero { background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.case-hero::before { content: ""; position: absolute; top: -30%; left: 50%; width: 80%; height: 120%; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 0%, rgba(21,94,239,.10), transparent 70%); pointer-events: none; }
.case-hero .wrap { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); }
.case-hero h1 { color: var(--ink); font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; margin: 16px 0 0; max-width: 20ch; }
.case-hero .sub { color: var(--fg-2); font-size: var(--fs-lead); line-height: 1.6; margin: 16px 0 0; max-width: 56ch; }
.case-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.case-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--brand-700); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-xs); }
.case-meta span svg { width: 14px; height: 14px; }
.case-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; margin-top: clamp(38px, 5vw, 56px); }
.case-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.case-stat .n { font-size: clamp(34px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.case-stat .t { font-size: 14px; font-weight: 700; color: var(--brand-600); margin-top: 12px; }
.case-stat .d { font-size: 12.5px; color: var(--fg-3); margin-top: 6px; line-height: 1.45; }
@media (max-width: 760px) { .case-stats { grid-template-columns: 1fr; } }

/* diagnosis cards */
.diag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 22px; }
.diag { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.diag .di { width: 48px; height: 48px; border-radius: 14px; background: var(--danger-bg); color: var(--danger); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.diag .di svg { width: 24px; height: 24px; }
.diag h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }
.diag p { font-size: 13.5px; color: var(--fg-2); line-height: 1.55; margin: 0; }
@media (max-width: 920px) { .diag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .diag-grid { grid-template-columns: 1fr; } }

/* treatment pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.pillar .pi { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pillar .pi svg { width: 24px; height: 24px; }
.pillar > h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 6px; letter-spacing: -.02em; }
.pillar > .plead { font-size: 14px; color: var(--fg-2); margin: 0; line-height: 1.55; }
.psub { border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 16px; }
.psub h4 { font-size: 14.5px; font-weight: 700; color: var(--ink); margin: 0 0 5px; display: flex; align-items: center; gap: 8px; }
.psub h4 svg { width: 16px; height: 16px; color: var(--brand-600); flex-shrink: 0; }
.psub p { font-size: 13.5px; color: var(--fg-2); line-height: 1.55; margin: 0; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* performance + ROI */
.perf { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.perfcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.perfcard h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.perfcard .psmall { font-size: 13px; color: var(--fg-3); margin: 0 0 22px; }
.bar-row { margin-bottom: 20px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; margin-bottom: 7px; }
.bar-lbl .k { color: var(--fg-1); font-weight: 600; }
.bar-lbl .v { color: var(--brand-600); font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-lbl .v.muted { color: var(--fg-3); }
.bar { height: 12px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: var(--r-pill); width: 0; transition: width 1.1s var(--ease-out); }
.bar.pre > span { background: var(--brand-200); }
.bar.post > span { background: var(--grad-brand); }
.croi { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 30px; }
.croi .clbl { font-size: 13px; color: rgba(255,255,255,.7); }
.croi .cval { font-size: 16px; font-weight: 700; color: #fff; }
.croi input[type="range"] { width: 100%; accent-color: var(--brand-400); margin: 14px 0 4px; }
.croi .crange { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.5); }
.croi .cout { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.croi .cout .big { font-size: clamp(38px, 6vw, 56px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.croi .cout .cnote { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 10px; }
@media (max-width: 820px) { .perf { grid-template-columns: 1fr; } }

/* big testimonial */
.bigquote { max-width: 820px; margin: 0 auto; text-align: center; }
.bigquote .qmark { font-size: 56px; color: var(--brand-200); line-height: .6; font-family: var(--font-display); }
.bigquote blockquote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; line-height: 1.45; color: var(--ink); letter-spacing: -.01em; margin: 16px 0 22px; }
.bigquote .qwho { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.bigquote .qwho .qav { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; object-fit: cover; object-position: top center; }
.bigquote .qwho .qn { font-weight: 700; color: var(--ink); font-size: 15px; text-align: center; }
.bigquote .qwho .qr { font-size: 13px; color: var(--fg-3); text-align: center; }

/* ---- aesthetic clinics page ---- */
.hero-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.hero-checks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--fg-1); }
.hero-checks .hc { color: var(--success); display: flex; flex-shrink: 0; }
.hero-checks .hc svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .hero-checks { grid-template-columns: 1fr; } }

.tagchips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tagchips span { font-size: 14px; font-weight: 500; color: var(--fg-1); background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-xs); }
.searchchips { display: flex; flex-wrap: wrap; gap: 10px; }
.searchchips span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg-2); background: var(--surface-2); border: 1px solid var(--line); padding: 9px 15px; border-radius: var(--r-pill); }
.searchchips span svg { width: 15px; height: 15px; color: var(--brand-500); }

/* ROI quiz / calculator */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; max-width: 940px; margin: 0 auto; }
.quiz-steps { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.quiz-step { display: flex; align-items: center; gap: 10px; padding: 15px 18px; font-size: 13px; font-weight: 600; color: var(--fg-3); border-right: 1px solid var(--line); }
.quiz-step:last-child { border-right: 0; }
.quiz-step .qn { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--fg-3); flex-shrink: 0; transition: all var(--dur) var(--ease); }
.quiz-step .qn svg { width: 14px; height: 14px; }
.quiz-step.active { color: var(--brand-700); }
.quiz-step.active .qn { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.quiz-step.done .qn { background: var(--success); border-color: var(--success); color: #fff; }
@media (max-width: 680px) { .quiz-steps { grid-template-columns: repeat(2, 1fr); } .quiz-step { border-bottom: 1px solid var(--line); } }
.quiz-body { padding: clamp(24px, 4vw, 40px); }
.quiz-panel { display: none; }
.quiz-panel.active { display: block; animation: heroUp .4s var(--ease-out) both; }
.quiz-panel h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 6px; }
.quiz-panel .qsub { font-size: 14.5px; color: var(--fg-2); margin: 0 0 24px; line-height: 1.55; }
.qfield { margin-bottom: 20px; }
.qfield > label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.qfield input[type="number"] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; -moz-appearance: textfield; }
.qfield input[type="number"]:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-50); }
.qprefix { position: relative; }
.qprefix .pfx { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fg-3); font-weight: 600; pointer-events: none; }
.qprefix input { padding-left: 28px !important; }
.qradios { display: flex; flex-wrap: wrap; gap: 10px; }
.qradio { position: relative; flex: 1 1 auto; min-width: 110px; }
.qradio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qradio label { display: block; text-align: center; padding: 11px 16px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 14px; font-weight: 500; color: var(--fg-1); cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.qradio input:checked + label { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.qrange { display: flex; align-items: center; gap: 14px; }
.qrange input[type="range"] { flex: 1; accent-color: var(--brand-600); height: 6px; }
.qrange .qval { min-width: 64px; text-align: right; font-weight: 700; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.qnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.qnav .spacer { flex: 1; }
.qworth { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-md); padding: 16px 18px; margin: 6px 0 24px; font-size: 15px; color: var(--ink); line-height: 1.5; }
.qworth b { color: var(--brand-700); font-size: 22px; font-weight: 800; }
.quiz-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-bottom: 24px; }
.qres { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.qres.hl { background: var(--grad-brand); border: none; box-shadow: var(--shadow-brand); }
.qres.hl .qr-num { color: #fff; }
.qres.hl .qr-lbl { color: rgba(255,255,255,.85); }
.qr-num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.qr-lbl { font-size: 13px; color: var(--fg-2); margin-top: 8px; line-height: 1.4; }
@media (max-width: 560px) { .quiz-results { grid-template-columns: 1fr; } }

/* aesthetic reviews grid */
.arev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.arev { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.arev .stars { color: #F5A623; display: flex; gap: 2px; margin-bottom: 13px; }
.arev .stars svg { width: 16px; height: 16px; fill: #F5A623; }
.arev .ah { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }
.arev p { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.arev .who { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--fg-3); padding-top: 16px; border-top: 1px solid var(--line-soft); }
.arev .who .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top center; flex-shrink: 0; background: var(--surface-2); }
.arev .who .avi { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.arev .who b { color: var(--ink); display: block; font-size: 14.5px; }
.arev .who .wt { display: block; line-height: 1.35; margin-top: 1px; }
@media (max-width: 900px) { .arev-grid { grid-template-columns: 1fr; } }

/* longevity case highlight */
.casehl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin-top: 28px; }
.casehl .cs { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 20px; box-shadow: var(--shadow-sm); }
.casehl .cs .n { font-size: 42px; font-weight: 800; color: var(--brand-600); letter-spacing: -.02em; line-height: 1; }
.casehl .cs .l { font-size: 13.5px; color: var(--fg-2); margin-top: 10px; line-height: 1.4; }
@media (max-width: 680px) { .casehl { grid-template-columns: 1fr; } }

/* ---- free course ---- */
.lesson-list { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 60px); }
.lesson { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.lesson .post-video { margin: 0; width: 100%; box-shadow: var(--shadow-lg); }
.lesson-num { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 13px; }
.lesson-num::before { content: ""; width: 26px; height: 2px; background: var(--brand-400); border-radius: 2px; }
.lesson-info h3 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 12px; line-height: 1.15; }
.lesson-info p { font-size: 15.5px; color: var(--fg-2); line-height: 1.65; margin: 0 0 16px; }
.lesson-info ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lesson-info ul li { position: relative; padding-left: 24px; font-size: 15px; color: var(--fg-1); line-height: 1.5; }
.lesson-info ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-400); }
.lesson-info .tlink { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brand-600); font-size: 14.5px; }
.lesson-info .tlink svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.lesson-info .tlink:hover svg { transform: translateX(3px); }
@media (max-width: 820px) { .lesson { grid-template-columns: 1fr; gap: 20px; } }
@media (min-width: 821px) { .lesson:nth-child(even) .lesson-video { order: 2; } }

/* what you'll learn checklist */
.learn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 15px 30px; }
.learn-item { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--fg-1); line-height: 1.5; }
.learn-item .lc { width: 26px; height: 26px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.learn-item .lc svg { width: 15px; height: 15px; }
@media (max-width: 680px) { .learn-grid { grid-template-columns: 1fr; } }

/* course "why" note + notify form */
.course-why { max-width: 760px; margin: 0 auto; }
.course-why p { font-size: 16px; color: var(--fg-1); line-height: 1.75; margin: 0 0 16px; }
.notify { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 46px); text-align: center; }
.notify .eyebrow { background: rgba(94,155,255,.16); border: 1px solid rgba(94,155,255,.3); color: #BFD4FF; }
.notify h2 { color: #fff; margin: 14px 0 6px; }
.notify p { color: rgba(255,255,255,.74); margin: 0 auto; max-width: 48ch; }
.notify-form { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px auto 0; max-width: 560px; }
.notify-form input { flex: 1 1 180px; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: 15px; }
.notify-form input::placeholder { color: rgba(255,255,255,.5); }
.notify-form .btn { flex: 0 0 auto; }
.notify .form-note { color: #9DE8C2 !important; }

/* ---- page hero ---- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; top: -40%; left: 50%; width: 90%; height: 120%; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 0%, rgba(21,94,239,.10), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(44px, 6vw, 72px); text-align: center; }

/* ---- media page hero (photographic) ---- */
.page-hero--media { border-bottom: none; background: var(--ink); }
.page-hero--media::before { display: none; }
.page-hero--media .ph-bg { position: absolute; inset: 0; z-index: 0; background: var(--grad-brand); overflow: hidden; }
.page-hero--media .ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.page-hero--media .ph-bg::after { content: none; }
.page-hero--media .ph-tint { position: absolute; inset: 0; display: block; background: linear-gradient(105deg, rgba(7,15,36,.94) 0%, rgba(7,15,36,.78) 46%, rgba(9,22,54,.45) 100%); }
.page-hero--media .wrap { position: relative; z-index: 2; text-align: left; padding: clamp(96px, 13vw, 184px) 0 clamp(56px, 8vw, 104px); }
.page-hero.page-hero--media .breadcrumb { color: rgba(255,255,255,.7); }
.page-hero.page-hero--media .breadcrumb a { color: rgba(255,255,255,.78); }
.page-hero.page-hero--media .breadcrumb a:hover { color: #fff; }
.page-hero.page-hero--media .breadcrumb span { color: #fff; }
.page-hero.page-hero--media h1 { color: #fff; max-width: 18ch; }
.page-hero.page-hero--media h1 .accent { color: var(--brand-400); }
.page-hero.page-hero--media p { color: rgba(255,255,255,.86); margin-left: 0; margin-right: 0; max-width: 58ch; }
.page-hero.page-hero--media .eyebrow { background: rgba(94,155,255,.18); border-color: rgba(94,155,255,.32); color: #BFD4FF; }

/* hero entrance */
.ph-anim > * { opacity: 0; transform: translateY(20px); animation: phRise .7s var(--ease-out) forwards; }
.ph-anim > *:nth-child(1) { animation-delay: .05s; }
.ph-anim > *:nth-child(2) { animation-delay: .16s; }
.ph-anim > *:nth-child(3) { animation-delay: .28s; }
.ph-anim > *:nth-child(4) { animation-delay: .40s; }
@keyframes phRise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ph-anim > * { opacity: 1; transform: none; animation: none; } }

.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-3); margin-bottom: 18px; }
.breadcrumb a { color: var(--fg-2); transition: color var(--dur); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb svg { width: 14px; height: 14px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; color: var(--ink); margin: 0; text-wrap: balance; }
.page-hero h1 .accent { color: var(--brand-600); }
.page-hero p { font-size: var(--fs-lead); color: var(--fg-2); line-height: 1.6; margin: 18px auto 0; max-width: 62ch; }
.page-hero .hero-actions { justify-content: center; }

/* ---- about intro ---- */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-intro h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.14; margin: 14px 0 18px; }
.about-intro p { font-size: 16.5px; color: var(--fg-1); line-height: 1.72; margin: 0 0 22px; }
.about-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- comparison table ---- */
.compare { max-width: 920px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; }
.compare-row + .compare-row { border-top: 1px solid var(--line-soft); }
.compare-head { background: var(--surface-2); font-weight: 700; color: var(--ink); }
.compare-head > div { padding: 18px 22px; font-size: 14px; }
.compare-head .us { color: var(--brand-700); text-align: center; }
.compare-head .them { color: var(--fg-3); text-align: center; }
.compare-row .feat { padding: 16px 22px; font-size: 15px; color: var(--fg-1); font-weight: 500; }
.compare-row .cell { padding: 16px 22px; display: flex; justify-content: center; }
.compare-row .cell .yes, .compare-row .cell .no { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.compare-row .cell .yes { background: var(--success-bg); color: var(--success); }
.compare-row .cell .no { background: var(--danger-bg); color: var(--danger); }
.compare-row .cell svg { width: 17px; height: 17px; }

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 1/1; background: var(--surface-2); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform var(--dur-slow) var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-body { padding: 22px; }
.team-body h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.team-body .role { font-size: 13.5px; font-weight: 600; color: var(--brand-600); margin: 4px 0 14px; }
.team-body p { font-size: 14px; color: var(--fg-2); line-height: 1.62; margin: 0 0 14px; }
.team-body .tlink { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--brand-600); }
.team-body .tlink svg { width: 16px; height: 16px; }
.team-card.solo { grid-column: span 1; }
.team-lead { text-align: center; max-width: 640px; margin: clamp(40px, 5vw, 64px) auto clamp(28px, 4vw, 40px); }
.team-lead h3 { font-size: 23px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin: 0 0 10px; }
.team-lead p { font-size: 15.5px; color: var(--fg-2); line-height: 1.6; margin: 0; }
.team-body .tlink svg { transition: transform var(--dur) var(--ease); }
.team-card:hover .team-body .tlink svg { transform: translateX(3px); }

/* ---- featured founder (about) ---- */
.founder-feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.founder-feature .ff-photo { aspect-ratio: 1/1; background: var(--surface-2); }
.founder-feature .ff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-feature .ff-body { padding: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) 0; }
.founder-feature h3 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.founder-feature .role { font-size: 14.5px; font-weight: 600; color: var(--brand-600); margin: 6px 0 18px; }
.founder-feature p { font-size: 15px; color: var(--fg-1); line-height: 1.7; margin: 0 0 14px; }
.founder-feature .credits { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.founder-feature .credits span { font-size: 12px; font-weight: 500; color: var(--fg-2); background: var(--surface-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--r-pill); }

/* ---- team socials + read-more ---- */
.team-card { display: flex; flex-direction: column; }
.team-body { display: flex; flex-direction: column; flex: 1; }
.team-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.tm-readmore { font-family: inherit; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--brand-600); background: transparent; border: 0; padding: 0; cursor: pointer; }
.tm-readmore svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.team-card:hover .tm-readmore svg { transform: translateX(3px); }
.social-row { display: flex; gap: 8px; }
.soc { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--fg-2); background: #fff; border: 1px solid var(--line); transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.soc:hover { color: #fff; background: var(--brand-600); border-color: var(--brand-600); transform: translateY(-2px); }
.soc svg { width: 16px; height: 16px; }
.founder-feature .ff-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---- team member modal ---- */
.tm-modal-scrim { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(7,15,36,.55); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s var(--ease); }
.tm-modal-scrim.open { opacity: 1; visibility: visible; }
.tm-modal { width: min(560px, 100%); background: #fff; border-radius: var(--r-xl); overflow: hidden auto; max-height: 90vh; box-shadow: var(--shadow-lg); position: relative; transform: translateY(28px) scale(.96); opacity: 0; transition: transform .36s var(--ease-out), opacity .36s var(--ease-out); }
.tm-modal-scrim.open .tm-modal { transform: translateY(0) scale(1); opacity: 1; }
.tm-banner { height: 96px; background: var(--grad-brand); }
.tm-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.tm-close:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }
.tm-close svg { width: 18px; height: 18px; }
.tm-modal-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 30px; margin-top: -48px; }
.tm-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top center; flex-shrink: 0; border: 4px solid #fff; box-shadow: var(--shadow-sm); background: var(--surface-2); }
.tm-modal-head .tm-id { padding-top: 16px; }
.tm-modal-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.tm-modal-head .role { font-size: 13.5px; font-weight: 600; color: var(--brand-600); margin: 5px 0 0; }
.tm-modal-body { padding: 18px 30px 4px; }
.tm-modal-body .social-row { justify-content: center; margin-bottom: 20px; }
.tm-modal-body p { font-size: 15px; color: var(--fg-1); line-height: 1.7; margin: 0 0 14px; }
.tm-modal-foot { padding: 8px 30px 30px; }
.tm-modal-foot .btn { width: 100%; }
@media (max-width: 460px) {
  .tm-modal-head { padding: 0 22px; }
  .tm-modal-body, .tm-modal-foot { padding-left: 22px; padding-right: 22px; }
}

/* ---- big case study rows ---- */
.cs-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; padding: clamp(24px, 3vw, 40px); }
.cs-row.flip .cs-media { order: 2; }
.cs-media { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); background: var(--surface-2); }
.cs-media img { width: 100%; height: auto; display: block; }
.cs-info .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-100); padding: 6px 13px; border-radius: var(--r-pill); }
.cs-info h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin: 16px 0 18px; line-height: 1.2; }
.cs-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 20px; }
.cs-stats .s .n { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--success); line-height: 1; }
.cs-stats .s .l { font-size: 13px; color: var(--fg-2); margin-top: 6px; max-width: 18ch; line-height: 1.35; }
.cs-quote { border-left: 3px solid var(--brand-200); padding-left: 18px; font-size: 14.5px; color: var(--fg-1); line-height: 1.6; font-style: italic; }
.cs-quote .who { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--fg-3); }
.cs-quote .who b { color: var(--ink); font-weight: 600; }

/* ---- blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-cat { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(21,94,239,.92); padding: 5px 11px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-body .meta { font-size: 12.5px; color: var(--fg-3); display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.blog-body .meta svg { width: 14px; height: 14px; }
.blog-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 10px; }
.blog-body p { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 0 0 18px; flex: 1; }
.blog-body .more { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--brand-600); }
.blog-body .more svg { width: 16px; height: 16px; transition: transform var(--dur); }
.blog-card:hover .blog-body .more svg { transform: translateX(3px); }
.blog-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 32px; }
.blog-feature .bf-thumb { min-height: 340px; background: var(--surface-2); overflow: hidden; }
.blog-feature .bf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-feature .bf-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.blog-feature .bf-body h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 14px 0 16px; }
.blog-feature .bf-body p { font-size: 15.5px; color: var(--fg-2); line-height: 1.65; margin: 0 0 24px; }

/* ---- blog: results bar + pagination ---- */
.blog-resultbar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.blog-resultbar .count { font-size: 14px; color: var(--fg-3); font-weight: 500; }
.blog-resultbar .count strong { color: var(--ink); font-weight: 700; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(40px, 5vw, 56px); flex-wrap: wrap; }
.pagination button { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--fg-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.pagination button:hover:not(:disabled):not(.is-active) { border-color: var(--brand-200); color: var(--brand-600); background: var(--brand-50); }
.pagination button.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: var(--shadow-sm); cursor: default; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pagination .page-arrow svg { width: 16px; height: 16px; }
.pagination .page-gap { min-width: 24px; text-align: center; color: var(--fg-3); font-weight: 600; }

/* ---- blog: toolbar (filter + search) ---- */
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; margin: 0 0 26px; flex-wrap: wrap; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--fg-2); background: #fff; border: 1px solid var(--line); padding: 8px 15px; border-radius: var(--r-pill); cursor: pointer; transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--brand-200); color: var(--brand-600); }
.chip.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.blog-search { position: relative; flex: 0 0 auto; }
.blog-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--fg-3); pointer-events: none; }
.blog-search input { font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 16px 11px 40px; width: 248px; max-width: 100%; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.blog-search input:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-50); }
.blog-empty { text-align: center; padding: 64px 20px; color: var(--fg-2); }
.blog-empty svg { width: 34px; height: 34px; color: var(--fg-3); margin-bottom: 12px; }
.blog-empty h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.blog-empty p { font-size: 15px; margin: 0; }

/* ---- blog: in-house guides band ---- */
.house-band { background: var(--ink); color: #fff; }
.house-band .wrap { padding: clamp(48px, 6vw, 80px) 0; }
.house-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.house-head .eyebrow { background: rgba(94,155,255,.16); border: 1px solid rgba(94,155,255,.3); color: #BFD4FF; }
.house-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.025em; color: #fff; margin: 14px 0 0; line-height: 1.1; }
.house-head p { font-size: var(--fs-lead); color: rgba(255,255,255,.72); margin: 10px 0 0; max-width: 52ch; }
.house-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.house-card { display: grid; grid-template-columns: 150px minmax(0,1fr); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.house-card:hover { transform: translateY(-4px); border-color: rgba(94,155,255,.5); background: rgba(255,255,255,.07); }
.house-card .hc-thumb { position: relative; overflow: hidden; }
.house-card .hc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.house-card .hc-body { padding: 20px 22px; display: flex; flex-direction: column; }
.house-card .hc-cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-400); margin-bottom: 8px; }
.house-card h3 { font-size: 17px; font-weight: 700; line-height: 1.3; color: #fff; margin: 0 0 8px; letter-spacing: -.01em; }
.house-card p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.66); margin: 0 0 14px; flex: 1; }
.house-card .more { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #9DBEFF; }
.house-card .more svg { width: 15px; height: 15px; transition: transform var(--dur); }
.house-card:hover .more svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .house-grid { grid-template-columns: 1fr; }
  .blog-search input { width: 100%; }
  .blog-search { flex: 1 1 100%; }
}
@media (max-width: 460px) {
  .house-card { grid-template-columns: 1fr; }
  .house-card .hc-thumb { aspect-ratio: 16/9; }
}

/* ---- resources / specialty feature cards ---- */
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.res-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.res-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: var(--shadow-brand); }
.res-ico svg { width: 28px; height: 28px; }
.res-card h3 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin: 0 0 10px; }
.res-card p { font-size: 14.5px; color: var(--fg-2); line-height: 1.65; margin: 0 0 24px; flex: 1; }

/* ---- specialty split ---- */
.spec-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.spec-split.flip .spec-media { order: 2; }
.spec-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); aspect-ratio: 4/3; }
.spec-media img { width: 100%; height: 100%; object-fit: cover; }
.spec-info h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.14; margin: 14px 0 16px; }
.spec-info p { font-size: 16px; color: var(--fg-1); line-height: 1.7; margin: 0 0 18px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 13px; }
.spec-list li { display: flex; gap: 12px; font-size: 15px; color: var(--fg-1); line-height: 1.5; }
.spec-list li .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spec-list li .ic svg { width: 15px; height: 15px; }

/* ---- value props strip ---- */
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.prop { text-align: left; }
.prop .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.prop .ico svg { width: 24px; height: 24px; }
.prop h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }
.prop p { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 0; }

/* ---- reusable CTA band ---- */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -40%; right: -5%; width: 50%; height: 150%; background: radial-gradient(circle, rgba(21,94,239,.30), transparent 65%); pointer-events: none; }
.cta-band .wrap { position: relative; text-align: center; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.02em; line-height: 1.14; color: #fff; margin: 16px 0 0; text-wrap: balance; }
.cta-band h2 .accent { color: var(--brand-400); }
.cta-band p { font-size: var(--fs-lead); color: rgba(255,255,255,.78); line-height: 1.55; margin: 16px auto 0; max-width: 56ch; }
.cta-band .eyebrow { background: rgba(94,155,255,.16); border-color: rgba(94,155,255,.3); color: #9DBEFF; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---- standalone contact ---- */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; margin-bottom: 48px; }
.ci-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-sm); text-align: center; }
.ci-card .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.ci-card .ico svg { width: 24px; height: 24px; }
.ci-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.ci-card a, .ci-card p { font-size: 14.5px; color: var(--fg-2); line-height: 1.55; margin: 0; }
.ci-card a:hover { color: var(--brand-600); }

/* ---- contact: locate (office details + hours + map) ---- */
.contact-locate { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; margin-bottom: 48px; align-items: stretch; }
.locate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.locate-card h2 { font-size: clamp(20px, 2.3vw, 25px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 20px; }
.locate-line { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.locate-line .li { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.locate-line .li svg { width: 19px; height: 19px; }
.locate-line .lt { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin: 2px 0 3px; }
.locate-line .lv, .locate-line .lv a { font-size: 15px; color: var(--fg-1); line-height: 1.5; margin: 0; font-weight: 500; }
.locate-line .lv a:hover { color: var(--brand-600); }
.hours { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 22px; }
.hours h3 { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 10px; }
.hours h3 svg { width: 16px; height: 16px; color: var(--brand-600); }
.hours-list { display: flex; flex-direction: column; gap: 1px; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 9px; font-size: 14.5px; }
.hours-row .d { color: var(--fg-1); font-weight: 500; }
.hours-row .h { color: var(--fg-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-row.closed .h { color: var(--fg-3); }
.hours-row.today { background: var(--brand-50); }
.hours-row.today .d { color: var(--brand-700); font-weight: 700; }
.hours-row.today .h { color: var(--brand-700); font-weight: 600; }
.hours-row.today .d::after { content: "Today"; margin-left: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--brand-600); padding: 2px 7px; border-radius: var(--r-pill); vertical-align: 1px; }
.locate-card .btn { margin-top: auto; align-self: flex-start; }
.contact-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; min-height: 440px; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .contact-locate { grid-template-columns: 1fr; } .contact-map { min-height: 320px; } }

@media (max-width: 1024px) {
  .about-intro, .founder-feature, .cs-row, .cs-row.flip .cs-media, .spec-split, .spec-split.flip .spec-media, .blog-feature { grid-template-columns: 1fr; }
  .cs-row.flip .cs-media, .spec-split.flip .spec-media { order: 0; }
  .founder-feature .ff-body { padding: 0 clamp(24px,4vw,40px) clamp(28px,4vw,40px); }
  .team-grid, .blog-grid, .res-grid { grid-template-columns: repeat(2, 1fr); }
  .props { grid-template-columns: repeat(2, 1fr); }
  .about-img, .spec-media { max-height: 420px; }
}
@media (max-width: 640px) {
  .team-grid, .blog-grid, .res-grid, .contact-info-grid, .props { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1.4fr .6fr .6fr; }
  .compare-head > div, .compare-row .feat, .compare-row .cell { padding: 13px 14px; }
  .cs-stats { gap: 20px; }
}

/* ==========================================================================
   SEO Health Check Up — self assessment widget
   ========================================================================== */
.assess-section { background: var(--surface-2); }
.assess-shell { max-width: 760px; margin: 0 auto; }
.assess { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.assess-pad { padding: clamp(28px, 5vw, 56px); }

.assess-fade { animation: assessFade .45s var(--ease-out) both; }
.assess-slide { animation: assessSlide .38s var(--ease-out) both; }
@keyframes assessFade { from { opacity: 0; transform: translateY(10px); } }
@keyframes assessSlide { from { opacity: 0; transform: translateX(16px); } }
@media (prefers-reduced-motion: reduce) { .assess-fade, .assess-slide { animation: none; } }

.assess-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.assess-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); }

/* intro */
.assess-intro { text-align: center; }
.assess-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); margin: 16px 0 0; }
.assess-sub { font-size: var(--fs-lead); color: var(--fg-2); line-height: 1.5; margin: 14px auto 0; max-width: 46ch; }
.assess-free { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgba(31,138,91,.09); color: #1F8A5B; font-weight: 600; font-size: 14px; letter-spacing: .01em; padding: 9px 16px; border-radius: 9999px; margin: 26px auto 0; box-shadow: none; border: 1px solid rgba(31,138,91,.22); }
.assess-free svg { width: 17px; height: 17px; color: #1F8A5B; }
.assess-note { font-size: 14.5px; color: var(--fg-2); line-height: 1.6; margin: 18px auto 0; max-width: 50ch; }
.assess-start { margin-top: 30px; }
.assess-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--fg-3); margin: 18px auto 0; }
.assess-meta svg { width: 14px; height: 14px; }

/* quiz */
.assess-qhead { text-align: center; font-size: 18px; font-weight: 700; color: var(--brand-700); letter-spacing: -.01em; }
.assess-progress { height: 8px; border-radius: var(--r-pill); background: var(--brand-100); margin: 18px 0 30px; overflow: hidden; }
.assess-progress span { display: block; height: 100%; border-radius: var(--r-pill); background: var(--grad-brand); transition: width .4s var(--ease-out); }
.assess-qcard { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); }
.assess-qcat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); background: var(--brand-50); padding: 5px 11px; border-radius: var(--r-pill); margin-bottom: 16px; }
.assess-qtext { font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; line-height: 1.4; color: var(--ink); margin: 0 0 26px; text-wrap: pretty; }
.assess-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.assess-opt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 14px; border-radius: var(--r-md); font-size: 16px; font-weight: 700; color: #fff; border: 2px solid transparent; cursor: pointer; transition: transform var(--dur) var(--ease), box-shadow var(--dur), filter var(--dur); }
.assess-opt svg { width: 18px; height: 18px; }
.assess-opt:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.opt-yes { background: var(--brand-600); }
.opt-no { background: var(--danger); }
.opt-maybe { background: var(--fg-3); }
.assess-opt.chosen { box-shadow: 0 0 0 3px #fff, 0 0 0 5px currentColor; }
.assess-qnav { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.assess-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--fg-2); padding: 6px 4px; border-radius: var(--r-sm); transition: color var(--dur); }
.assess-back:hover { color: var(--brand-700); }
.assess-back svg { width: 16px; height: 16px; }
.assess-count { font-size: 13px; color: var(--fg-3); font-weight: 500; }

/* results */
.assess-results { text-align: center; }
.score-ring { --pct: 0; --draw: 0; width: 168px; height: 168px; border-radius: 50%; margin: 26px auto 0; display: grid; place-items: center;
  background: conic-gradient(var(--ring-color) calc(var(--draw) * 1%), var(--brand-100) 0); transition: background 1.1s var(--ease-out); }
.score-ring.good { --ring-color: var(--success); }
.score-ring.mid { --ring-color: var(--brand-500); }
.score-ring.low { --ring-color: var(--warn); }
.score-ring.drawn { --draw: var(--pct); }
.score-ring-inner { width: 132px; height: 132px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-xs) inset; }
.score-pct { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.score-pts { font-size: 13px; color: var(--fg-3); margin-top: 4px; }
.assess-verdict { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.4; margin: 22px auto 0; max-width: 40ch; text-wrap: balance; }
.assess-cta { margin-top: 26px; text-align: center; }
.assess-alt { font-size: 13.5px; color: var(--fg-3); margin: 16px auto 0; }
.assess-alt a { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.roadmap { text-align: left; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.roadmap-title { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.roadmap-lead { font-size: 14.5px; color: var(--fg-2); margin: 8px 0 22px; }
.roadmap-item { background: var(--danger-bg); border: 1px solid color-mix(in srgb, var(--danger) 18%, transparent); border-left: 4px solid var(--danger); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 12px; }
.roadmap-cat { font-size: 15px; font-weight: 700; color: var(--ink); }
.roadmap-ans { font-size: 13px; color: var(--danger); font-weight: 600; margin: 4px 0 8px; }
.roadmap-fix { font-size: 14px; color: var(--fg-1); line-height: 1.55; margin: 0; }
.roadmap-clear { display: flex; gap: 14px; align-items: flex-start; background: var(--success-bg); border: 1px solid color-mix(in srgb, var(--success) 22%, transparent); border-radius: var(--r-md); padding: 22px; }
.roadmap-clear svg { width: 26px; height: 26px; color: var(--success); flex-shrink: 0; }
.roadmap-clear p { margin: 0; font-size: 14.5px; color: var(--fg-1); line-height: 1.6; }

.assess-edit { display: inline-flex; align-items: center; gap: 7px; margin: 26px auto 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 20px; font-size: 14px; font-weight: 600; color: var(--fg-1); cursor: pointer; transition: background var(--dur), border-color var(--dur); }
.assess-edit:hover { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-700); }
.assess-edit svg { width: 15px; height: 15px; }

.assess-share { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.assess-share h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; }
.share-row { display: flex; justify-content: center; gap: 12px; }
.share-btn { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: transform var(--dur) var(--ease), filter var(--dur), box-shadow var(--dur); }
.share-btn:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: var(--shadow-md); }
.share-btn svg { width: 19px; height: 19px; color: #fff; stroke: #fff; }
.s-x { background: #0f0f0f; }
.s-fb { background: #1877F2; }
.s-li { background: #0A66C2; }
.s-em { background: var(--brand-600); }

/* post video embed */
.post-video { position: relative; aspect-ratio: 16/9; margin: 30px 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--ink); }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* click-to-play facade (avoids YouTube embed origin errors; lazy-loads players) */
.post-video .yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--grad-brand); display: block; overflow: hidden; }
.post-video .yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: opacity var(--dur) var(--ease), transform var(--dur-slow) var(--ease); }
.post-video .yt-facade img[src=""], .post-video .yt-facade img:not([src]) { display: none; }
.post-video .yt-facade:hover img { opacity: 1; transform: scale(1.04); }
.post-video .yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 54px; border-radius: 15px; background: #FF0000; box-shadow: 0 8px 22px rgba(0,0,0,.32); display: flex; align-items: center; justify-content: center; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.post-video .yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.09); }
.post-video .yt-play svg { width: 30px; height: 30px; color: #fff; fill: #fff; margin-left: 2px; }

/* ---- free-course custom branded video thumbnails ---- */
.vthumb { position: relative; display: block; width: 100%; aspect-ratio: 16/9; margin: 0; padding: 0; border: 0; cursor: pointer; border-radius: var(--r-lg); overflow: hidden; background: #091637; box-shadow: var(--shadow-lg); -webkit-tap-highlight-color: transparent; }
.vthumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center 22%); transition: transform .6s var(--ease-out); }
.vthumb:hover .vthumb-img, .vthumb:focus-visible .vthumb-img { transform: scale(1.05); }
.vthumb-grad { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,22,55,.85) 0%, rgba(9,22,55,.48) 34%, rgba(9,22,55,0) 62%), linear-gradient(0deg, rgba(9,22,55,.94) 2%, rgba(9,22,55,.16) 40%, rgba(9,22,55,0) 68%); }
.vthumb-brand { position: absolute; top: 15px; left: 17px; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.vthumb-brand::before { content: ""; width: 15px; height: 15px; border-radius: 4px; background: var(--grad-brand); box-shadow: 0 2px 6px rgba(21,94,239,.5); }
.vthumb-cap { position: absolute; left: clamp(17px, 4%, 26px); right: 96px; bottom: 17px; display: flex; flex-direction: column; gap: 7px; text-align: left; }
.vthumb-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #B4D2FF; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.vthumb-h { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.14; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.vthumb-h b { color: #9DC4FF; font-weight: 800; }
.vthumb-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.96); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.28), 0 0 0 9px rgba(255,255,255,.16); transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), background .2s var(--ease); z-index: 2; }
.vthumb-play svg { width: 32px; height: 32px; fill: var(--brand-600); margin-left: 4px; position: relative; z-index: 1; transition: fill .2s var(--ease); }
.vthumb-play::before, .vthumb-play::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); }
@media (prefers-reduced-motion: no-preference) {
  .vthumb-play::before { animation: vthumb-pulse 4.4s cubic-bezier(.4,0,.2,1) infinite; }
  .vthumb-play::after { animation: vthumb-pulse 4.4s cubic-bezier(.4,0,.2,1) infinite 2.2s; }
}
@keyframes vthumb-pulse { 0% { transform: scale(1); opacity: .75; } 80% { opacity: 0; } 100% { transform: scale(2); opacity: 0; } }
.vthumb:hover .vthumb-play, .vthumb:focus-visible .vthumb-play { transform: translate(-50%, -50%) scale(1.12); background: var(--brand-600); box-shadow: 0 16px 40px rgba(21,94,239,.5), 0 0 0 9px rgba(21,94,239,.18); }
.vthumb:hover .vthumb-play svg, .vthumb:focus-visible .vthumb-play svg { fill: #fff; }
@media (max-width: 520px) {
  .vthumb-play { width: 60px; height: 60px; }
  .vthumb-play svg { width: 26px; height: 26px; }
  .vthumb-cap { right: 74px; }
}
/* branded facade injected in place of blog/post video iframes */
.vfacade { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; cursor: pointer; display: block; background: #091637; -webkit-tap-highlight-color: transparent; }
.vfacade:hover .vthumb-img, .vfacade:focus-visible .vthumb-img { transform: scale(1.05); }
.vfacade:hover .vthumb-play, .vfacade:focus-visible .vthumb-play { transform: translate(-50%, -50%) scale(1.12); background: var(--brand-600); box-shadow: 0 16px 40px rgba(21,94,239,.5), 0 0 0 9px rgba(21,94,239,.18); }
.vfacade:hover .vthumb-play svg, .vfacade:focus-visible .vthumb-play svg { fill: #fff; }

@media (max-width: 520px) {
  .assess-opts { grid-template-columns: 1fr; }
  .assess-opt { justify-content: flex-start; padding: 14px 18px; }
}

/* ==========================================================================
   Single blog post / article template
   ========================================================================== */
.post-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); border-bottom: 1px solid var(--line); }
.post-hero::before { content: ""; position: absolute; top: -50%; left: 50%; width: 80%; height: 120%; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 0%, rgba(21,94,239,.10), transparent 70%); pointer-events: none; }
.post-hero .wrap { position: relative; max-width: 860px; padding: clamp(34px, 5vw, 60px) 0 clamp(28px, 4vw, 40px); text-align: center; }
.post-hero .breadcrumb { display: flex; justify-content: center; width: 100%; }
.post-cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-100); padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 18px; }
.post-hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; color: var(--ink); margin: 0; text-wrap: balance; }
.post-deck { font-size: var(--fs-lead); color: var(--fg-2); line-height: 1.55; margin: 18px auto 0; max-width: 60ch; text-wrap: pretty; }
.post-meta { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--fg-2); }
.post-meta .sep { color: var(--line); }
.post-author { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.post-author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.post-meta time, .post-read { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 15px; height: 15px; opacity: .6; }

.post-feature { max-width: 980px; margin: clamp(-20px, -3vw, -36px) auto 0; padding: 0 24px; position: relative; z-index: 2; }
.post-feature img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); display: block; aspect-ratio: 16/8; object-fit: cover; }

.post-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; max-width: 1080px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.post-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.toc { border-left: 2px solid var(--line); padding-left: 18px; }
.toc h4 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 14px; }
.toc nav { display: flex; flex-direction: column; gap: 9px; }
.toc a { font-size: 13.5px; color: var(--fg-2); line-height: 1.4; transition: color var(--dur); }
.toc a:hover { color: var(--brand-600); }
.toc a.active { color: var(--brand-700); font-weight: 600; }
.aside-cta { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px; }
.aside-cta h4 { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 8px; letter-spacing: -.01em; }
.aside-cta p { font-size: 13px; color: rgba(255,255,255,.74); line-height: 1.5; margin: 0 0 16px; }
.aside-cta .btn { width: 100%; }

/* prose */
.post-body { font-size: 17px; line-height: 1.72; color: var(--fg-1); max-width: 720px; }
.post-body > h2 { font-size: clamp(24px, 3vw, 31px); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; color: var(--ink); margin: 48px 0 16px; scroll-margin-top: 96px; text-wrap: balance; }
.post-body > h3 { font-size: clamp(19px, 2.2vw, 22px); font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin: 32px 0 12px; }
.post-body p { margin: 0 0 20px; }
.post-body a { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--brand-200); transition: text-decoration-color var(--dur); }
.post-body a:hover { text-decoration-color: var(--brand-600); }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 22px; padding-left: 4px; display: flex; flex-direction: column; gap: 11px; }
.post-body li { position: relative; padding-left: 30px; list-style: none; }
.post-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); }
.post-body ol { counter-reset: li; }
.post-body ol li { counter-increment: li; }
.post-body ol li::before { content: counter(li); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.post-body figure { margin: 30px 0; }
.post-body figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); display: block; }
.post-body figcaption { font-size: 13px; color: var(--fg-3); text-align: center; margin-top: 10px; }

/* callouts */
.key-takeaway { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-lg); padding: 24px 26px; margin: 0 0 36px; }
.key-takeaway .kt-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 10px; }
.key-takeaway .kt-label svg { width: 16px; height: 16px; }
.key-takeaway p { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0; font-weight: 500; }
.key-takeaway p strong { font-weight: 800; }
.callout { display: flex; gap: 15px; border-radius: var(--r-md); padding: 18px 20px; margin: 28px 0; border: 1px solid; }
.callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.callout p { margin: 0 !important; font-size: 15.5px; line-height: 1.6; }
.callout.tip { background: var(--success-bg); border-color: color-mix(in srgb, var(--success) 22%, transparent); }
.callout.tip svg, .callout.tip strong { color: var(--success); }
.callout.warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 26%, transparent); }
.callout.warn svg, .callout.warn strong { color: var(--warn); }
.pull-quote { border-left: 4px solid var(--brand-500); padding: 4px 0 4px 24px; margin: 32px 0; font-size: clamp(20px, 2.5vw, 24px); font-weight: 600; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }

/* prose table */
.post-body .table-scroll { margin: 28px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-md); max-width: 100%; }
.post-body table, .post-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.post-body .table-scroll table { margin: 0; border: none; border-radius: 0; min-width: 540px; }
.post-body table th, .post-body table td, .post-table th, .post-table td { padding: 12px 15px; text-align: left; vertical-align: top; color: var(--fg-1); line-height: 1.5; border-top: 1px solid var(--line); }
.post-body table thead th, .post-body table tr:first-child td, .post-table th { background: var(--surface-2); font-weight: 700; color: var(--ink); border-top: none; }
.post-body table td strong { color: var(--ink); }
.post-table { margin: 28px 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.post-table tr td:first-child { font-weight: 600; color: var(--ink); }

/* author + share */
.author-card { display: flex; gap: 20px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin: 48px 0 0; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-card h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.author-card .ac-role { font-size: 13px; color: var(--brand-600); font-weight: 600; margin: 0 0 10px; }
.author-card p { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 0 0 12px; }
.author-card a { font-size: 13.5px; }
.post-share { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-share span { font-size: 13px; font-weight: 600; color: var(--fg-3); }
.post-share .share-row { gap: 10px; }
.post-share .share-btn { width: 40px; height: 40px; }
.post-share .share-btn svg { width: 17px; height: 17px; }

/* related */
.related { background: var(--surface-2); border-top: 1px solid var(--line); }
.related .wrap { padding: clamp(48px, 6vw, 72px) 0; }
.related h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 28px; }

/* ROI calculator */
.roi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; margin: 34px 0; }
.roi-head { background: var(--grad-brand); color: #fff; padding: 22px 26px; }
.roi-head h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.roi-head p { color: rgba(255,255,255,.85); font-size: 13.5px; margin: 5px 0 0; }
.roi-body { padding: 24px 26px; }
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.roi-field { display: flex; flex-direction: column; gap: 6px; }
.roi-field label { font-size: 13px; font-weight: 600; color: var(--fg-1); line-height: 1.35; }
.roi-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface-1); transition: border-color var(--dur); overflow: hidden; }
.roi-input:focus-within { border-color: var(--brand-500); }
.roi-input .pfx { padding: 0 0 0 12px; color: var(--fg-3); font-size: 15px; font-weight: 600; }
.roi-input input { flex: 1; border: none; background: none; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--ink); width: 100%; outline: none; }
.roi-input input::-webkit-outer-spin-button, .roi-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.roi-assume { font-size: 12.5px; color: var(--fg-3); margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.roi-assume b { color: var(--brand-700); }
.roi-results { border-top: 1px solid var(--line); background: var(--surface-2); padding: 22px 26px; }
.roi-results h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 14px; }
.roi-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.roi-table th, .roi-table td { padding: 11px 10px; text-align: right; }
.roi-table th { font-size: 12px; font-weight: 700; color: var(--fg-2); border-bottom: 1px solid var(--line); }
.roi-table th:first-child, .roi-table td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.roi-table td { border-bottom: 1px solid var(--line-soft); color: var(--fg-1); }
.roi-table .hl { color: var(--brand-700); font-weight: 700; }
.roi-table tr.roi-total td { font-weight: 800; color: var(--ink); border-bottom: none; padding-top: 14px; }
.roi-note { font-size: 12px; color: var(--fg-3); line-height: 1.5; margin: 14px 0 0; }
.roi-error { display: none; font-size: 13px; color: var(--danger); font-weight: 600; margin: 4px 0 0; }

@media (max-width: 920px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .toc { flex: 1; min-width: 240px; }
  .aside-cta { flex: 1; min-width: 240px; }
}
@media (max-width: 560px) {
  .post-aside { flex-direction: column; }
  .roi-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; gap: 14px; }
  .roi-table { font-size: 12.5px; }
  .roi-table th, .roi-table td { padding: 9px 5px; }
}
