/* FinFiscalPro design system. Tokens first; every component uses them. */
:root {
  --navy: #10243A; --navy-2: #183B5B; --blue: #2563EB; --blue-dark: #1D4ED8;
  --bg: #F7F9FC; --white: #FFFFFF; --gold: #C6A15B;
  --text: #344054; --muted: #667085; --border: #E4E7EC;
  --head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px; --r: 12px; --r-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 36, 58, .06), 0 8px 24px -12px rgba(16, 36, 58, .18);
  --shadow-hover: 0 2px 4px rgba(16, 36, 58, .08), 0 16px 32px -14px rgba(16, 36, 58, .28);
  --space: clamp(4rem, 8vw, 6.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--white); padding: .6rem 1rem; }
.muted { color: var(--muted); font-size: .9375rem; }

/* type */
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.18; margin: 0 0 .55em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 3.6vw + .8rem, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.6vw + 1rem, 2.4rem); font-weight: 800; max-width: 26ch; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; margin-top: 1.2em; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 60ch; }
.section-head { margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); }
.gold-rule { display: inline-block; font-family: var(--head); font-weight: 700; color: var(--navy); padding-bottom: .4rem;
  border-bottom: 2px solid var(--gold); margin-bottom: 1.4rem; }
.eyebrow-plain { color: var(--blue); font-weight: 600; font-size: .9375rem; margin-bottom: .5rem; }
.sub-label { font-family: var(--head); font-weight: 700; color: var(--navy); margin: 2.6rem 0 1.2rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--navy); text-decoration: none; font: 800 1.25rem var(--head); }
.brand-light { color: var(--white); }
.logo-badge { background: var(--white); border-radius: 10px; padding: 3px; display: inline-flex; }
.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--gold); }
.menu-toggle { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--blue); color: var(--white) !important;
  font: 600 1rem var(--body); text-decoration: none !important; padding: .9rem 1.5rem; border-radius: var(--r-sm); border: 2px solid var(--blue);
  cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; min-height: 48px; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-small { padding: .55rem 1rem; font-size: .9rem; min-height: 40px; }
.btn-outline { background: transparent; color: var(--blue) !important; }
.btn-outline:hover { background: var(--blue); color: var(--white) !important; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: var(--white) !important; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy) !important; }
.btn-gold:hover { background: #B48E48; border-color: #B48E48; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.8rem; }
.link { font-weight: 600; color: var(--blue); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* sections */
.section { padding: var(--space) 0; }
.section.tint { background: var(--bg); }
.section.navy { background: var(--navy); color: #C9D4E2; }
.section.navy h2, .section.navy h3, .section.navy h4 { color: var(--white); }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* hero */
.hero { background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .lead { margin-top: .4rem; }
.hero-note { margin-top: 1.4rem; font-size: .9375rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.hero-note::before { content: ""; width: 1.4rem; height: 2px; background: var(--gold); }
.hero-media { position: relative; }
.hero-media .photo, .hero-media .ph { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -1.2rem; bottom: -1.2rem; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow);
  padding: .9rem 1.1rem; font-size: .9rem; max-width: 17rem; border-left: 3px solid var(--gold); }
.hero-badge strong { display: block; color: var(--navy); font-family: var(--head); }
.page-hero { background: var(--navy); color: #C9D4E2; padding: clamp(3rem, 6vw, 5rem) 0; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lead { color: #C9D4E2; }
.page-hero .crumbs, .page-hero .crumbs a { color: #9FB0C6; }

/* images */
.photo { width: 100%; object-fit: cover; border-radius: var(--r); background: var(--bg); }
.ph { width: 100%; border-radius: var(--r); display: grid; place-items: end start; padding: 1rem;
  background: radial-gradient(circle at 80% 15%, rgba(198,161,91,.35), transparent 40%),
              linear-gradient(135deg, var(--navy-2), var(--navy)); color: rgba(255,255,255,.55); font-size: .8rem; }
.ph span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ph { position: relative; }
.ph::after { content: ""; position: absolute; right: 1.2rem; bottom: 1.2rem; width: 44px; height: 44px; opacity: .55;
  background: url("/assets/img/logo.png") center / contain no-repeat; filter: brightness(0) invert(1); }
.media .photo, .media .ph { box-shadow: var(--shadow); }

/* cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tight { gap: 1.2rem 2.4rem; margin-top: 2rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
  color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
a.card:hover, .card-lg:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card .photo, .card .ph { border-radius: 0; }
.card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.card-body p { color: var(--muted); font-size: .9688rem; }
.card-body .link, .card-body > .muted { margin-top: auto; }
.card-sm { padding: 1.6rem; }
.card-sm p { color: var(--muted); font-size: .9688rem; }
.ico { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #EAF0FD; stroke: var(--blue); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; margin-bottom: .9rem; }
.industries .card-body h3 { font-size: 1.125rem; }

/* why / remote */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.4rem; }
.why div { border-top: 2px solid var(--border); padding-top: 1.1rem; }
.why div:hover { border-top-color: var(--gold); }
.why h3 { font-size: 1.0625rem; }
.why p { color: var(--muted); font-size: .9688rem; }
.remote { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.remote .mini { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 1.2rem 1.3rem; }
.remote .mini h4 { margin-top: 0; }
.remote .mini p { font-size: .9375rem; margin: 0; }
.remote .tight { margin-top: 0; }
.section.navy .gold-rule { color: var(--white); }
.loc { font-style: normal; border-left: 3px solid var(--gold); padding-left: 1rem; color: var(--white); font-weight: 500; margin-top: 1.4rem; }
.split-callout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.note { background: #FBF6EC; border-left: 3px solid var(--gold); padding: .9rem 1.1rem; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--navy); font-size: .9375rem; }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
.steps li { counter-increment: s; position: relative; padding-top: 3.4rem; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--navy); color: var(--white); font: 700 1rem/2.4rem var(--head); text-align: center; }
.steps li::after { content: ""; position: absolute; top: 1.2rem; left: 3rem; right: -1rem; height: 1px; background: var(--border); }
.steps li:last-child::after { display: none; }
.steps h4 { margin-top: 0; }
.steps p { color: var(--muted); font-size: .9375rem; }

/* lists */
.checks, .dashes, .crosses { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li, .dashes li, .crosses li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .95rem; height: .55rem; border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.dashes li::before { content: ""; position: absolute; left: .1rem; top: .75em; width: .8rem; height: 2px; background: var(--gold); }
.crosses li { color: var(--muted); }
.crosses li::before { content: "\2013"; position: absolute; left: .2rem; color: var(--muted); }

/* services page */
.service-block { padding: var(--space) 0; }
.service-block.alt { background: var(--bg); }
.service-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem 1.7rem; box-shadow: var(--shadow); }
.panel h4 { margin-top: 0; font-size: 1.125rem; }
.benefit { color: var(--navy); font-weight: 500; border-left: 3px solid var(--gold); padding-left: .9rem; }
.service-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.service-nav a { color: var(--white); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; text-decoration: none; }
.service-nav a:hover { background: rgba(255,255,255,.1); }

/* industries */
.ind-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: 3rem 0;
  border-bottom: 1px solid var(--border); }
.ind-row.flip .media { order: 2; }

/* dashboard illustration */
.dash { margin: 0; background: var(--navy); color: #C9D4E2; border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.dash-top { display: flex; justify-content: space-between; font: 700 .95rem var(--head); color: var(--white); margin-bottom: 1rem; }
.dash-top em { font: 500 .75rem var(--body); color: var(--gold); font-style: normal; border: 1px solid var(--gold); border-radius: 999px; padding: .05rem .6rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1.2rem; }
.dash-kpis div { background: rgba(255,255,255,.06); border-radius: var(--r-sm); padding: .7rem .8rem; }
.dash-kpis small { display: block; font-size: .75rem; color: #9FB0C6; }
.dash-kpis b { font: 700 1.2rem var(--head); color: var(--white); }
.dash-bars { display: flex; align-items: flex-end; gap: .7rem; height: 140px; border-bottom: 1px solid rgba(255,255,255,.15); }
.dash-bars span { flex: 1; background: linear-gradient(180deg, #5B8CFF, var(--blue)); border-radius: 4px 4px 0 0; }
.dash-axis { display: flex; gap: .7rem; margin-top: .4rem; }
.dash-axis span { flex: 1; text-align: center; font-size: .72rem; color: #9FB0C6; }
.dash figcaption { font-size: .75rem; color: #9FB0C6; margin-top: .9rem; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.6rem; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.8rem;
  display: flex; flex-direction: column; }
.price-card header { border-bottom: 1px solid var(--border); margin-bottom: 1.1rem; padding-bottom: .9rem; }
.price-card h4 { margin-top: .6rem; }
.price { font: 800 1.7rem var(--head); color: var(--navy); margin: .2rem 0 0; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* case studies */
.case { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem 3rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.figures { display: grid; gap: 1.2rem; align-content: start; }
.figures strong { display: block; font: 800 2rem/1.1 var(--head); color: var(--navy); }
.figures span { color: var(--muted); font-size: .9375rem; }
.empty-case { border: 1px dashed #C9D1DC; border-radius: var(--r-lg); padding: 2.2rem; background: var(--white); max-width: 760px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; font: 700 1.0625rem var(--head); color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .7rem 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #C9D4E2; padding: clamp(3.5rem, 7vw, 5rem) 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-inline: auto; }
.cta-band p { margin-inline: auto; }
.cta-alt { margin-top: 1.2rem; font-size: .9375rem; }
.cta-alt a { color: var(--white); }

/* founder */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.founder .ph, .founder .photo { border-radius: var(--r-lg); }

/* articles */
.post { padding: clamp(2.5rem, 5vw, 4rem) 0 var(--space); }
.byline { color: var(--muted); font-size: .9375rem; border-bottom: 1px solid var(--border); padding-bottom: 1.2rem; margin-bottom: 1.8rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose li { margin-bottom: .4rem; }
.related { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: baseline; }
.related h4 { margin: 0; width: 100%; }
.card-post .card-body { padding-top: 1.7rem; }

/* insights */
.pill { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--blue); background: #EAF0FD; border-radius: 999px;
  padding: .2rem .7rem; align-self: flex-start; margin-bottom: .5rem; }
.pill-gold { color: #7A5B1E; background: #F6EEDC; }
.post-meta { font-size: .875rem; color: var(--muted); }
.posts .card-body h3 { font-size: 1.15rem; }
.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center;
  text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: clamp(1rem, 2.5vw, 1.6rem); margin-bottom: 2.6rem; transition: box-shadow .2s; }
.featured-post:hover { box-shadow: var(--shadow-hover); }
.featured-post h2 { margin-top: .6rem; font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); }
.featured-post .lead { font-size: 1.05rem; }
.read-more { display: block; margin-top: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { font: 600 .875rem var(--body); color: var(--navy); background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: .5rem 1rem; cursor: pointer; min-height: 40px; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.posts .card[hidden] { display: none; }
.post-cover { margin: 0 0 2rem; }
.post-cover .photo, .post-cover .ph { border-radius: var(--r-lg); }
.takeaways { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r);
  padding: 1.3rem 1.5rem .4rem; margin-bottom: 2rem; }
.takeaways h2 { font-size: 1.15rem; margin: 0 0 .8rem; }
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.topics a { display: block; padding: 1.1rem 1.2rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); color: var(--white);
  text-decoration: none; font-weight: 600; background: rgba(255,255,255,.04); }
.topics a:hover { background: rgba(255,255,255,.09); }
.topics small { display: block; font-weight: 400; color: #9FB0C6; margin-top: .2rem; }
@media (max-width: 960px) { .featured-post { grid-template-columns: 1fr; } .topics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .topics { grid-template-columns: 1fr; } }

/* form */
.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field { margin-bottom: 1.1rem; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--white); border: 1px solid #D0D5DD;
  border-radius: var(--r-sm); padding: .75rem .85rem; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field .error { color: #B42318; font-size: .875rem; margin: .3rem 0 0; display: none; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B42318; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: #067647; }
.form-status.fail { color: #B42318; }
.contact-cards { display: grid; gap: 1rem; }
.contact-cards div { border: 1px solid var(--border); border-radius: var(--r); padding: 1.1rem 1.2rem; background: var(--bg); }
.contact-cards strong { display: block; color: var(--navy); font-family: var(--head); }

/* legal */
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.review { background: #FEF3F2; border-left: 3px solid #B42318; padding: .8rem 1rem; color: #7A271A; font-size: .9375rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* footer */
.site-footer { background: var(--navy); color: #9FB0C6; padding: 4rem 0 1.6rem; font-size: .9375rem; }
.site-footer a { color: #C9D4E2; text-decoration: none; display: block; margin-bottom: .5rem; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-head { color: var(--white); font: 700 1rem var(--head); margin-bottom: .9rem; }
.footer-loc { color: var(--white); border-left: 3px solid var(--gold); padding-left: .9rem; }
.footer-statement { color: var(--gold); font-weight: 500; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: #1B3A5A; color: var(--white); transition: background .2s, color .2s; }
.footer-social a:hover, .footer-social a:focus { background: var(--gold); color: var(--navy, #10243A); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid #22405F; margin-top: 2.8rem; padding-top: 1.3rem; font-size: .875rem; }
.footer-base a { display: inline; margin-left: 1.2rem; }

/* responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .service-head, .remote, .split-callout, .ind-row, .case, .founder { grid-template-columns: 1fr; }
  .ind-row.flip .media { order: 0; }
  .grid-3, .why { grid-template-columns: 1fr 1fr; }
  .hero-badge { left: .8rem; bottom: .8rem; }
  .site-nav { gap: 1.1rem; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; font: 600 .95rem var(--body); background: none; border: 1px solid var(--border); border-radius: var(--r-sm);
    padding: .5rem 1rem; color: var(--navy); min-height: 44px; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column;
    align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.4rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .site-nav a[aria-current="page"]:not(.btn) { box-shadow: none; }
  .site-nav .btn { margin-top: 1rem; border-bottom: 2px solid var(--blue); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .why, .form-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 1rem; max-width: none; }
  .actions .btn { width: 100%; }
  .footer-base a { margin: 0 1rem 0 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Official profiles list (About and Contact) */
.profiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.profiles a { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 12px;
  background: var(--white); border: 1px solid rgba(16,36,58,.1); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.profiles a:hover, .profiles a:focus { border-color: var(--gold); transform: translateY(-2px); }
.profiles svg { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--navy, #10243A); color: var(--white); }
.profiles span { display: flex; flex-direction: column; min-width: 0; }
.profiles small { color: var(--muted); overflow-wrap: anywhere; }

/* Videos: tutorials and YouTube in articles (click to play) */
.post-video { margin: 0 0 2rem; }
.yt { position: relative; aspect-ratio: 16/9; background: #0b1726; border-radius: var(--r-lg); overflow: hidden; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-poster { position: absolute; inset: 0; display: block; }
.yt-poster img, .video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .2s; line-height: 0; }
.yt-poster:hover .yt-play, .yt-poster:focus .yt-play, .card-video:hover .yt-play { transform: translate(-50%, -50%) scale(1.1); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0b1726; }
.video-dur { position: absolute; right: .5rem; bottom: .5rem; background: rgba(0,0,0,.78); color: #fff; font: 600 .75rem var(--body); padding: .15rem .4rem; border-radius: 4px; }
.card-video .card-body h3 { font-size: 1.1rem; }
.video-series { margin-bottom: 2.6rem; }
.video-series h2 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.video-series[hidden] { display: none; }
.video-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 0 2rem; }
/* Seven menu items: keep the header on one line on laptop widths */
.site-nav .btn { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 1001px) { .site-nav { gap: 1.05rem; } .site-nav a { font-size: .92rem; } }
.video-meta { color: var(--muted); font-size: .92rem; margin: -1rem 0 2rem; }
