/* ==========================================================================
   HARBOR TAX & ADVISORY — GLOBAL DESIGN SYSTEM
   "Premium coastal professional" · Fraunces + Inter · navy / teal / brass / sand
   ==========================================================================

   COMPONENT INDEX  (class → what it is; see the section for modifiers)
   --------------------------------------------------------------------------
   LAYOUT
   .container               centred max-width wrapper (padding built in)
   .container--narrow       ~820px reading width  |  .container--wide ~1320px
   .section                 vertical rhythm block (paper ground by default)
   .section--sand           warm sand ground      |  .section--navy  dark navy ground
   .section--tight / --loose smaller / larger vertical padding
   .section--flush-top       remove top padding    |  .section--flush-bottom
   .section__head           heading cluster (eyebrow + h2 + .lede); add --center
   .grid .grid--2/--3/--4   responsive auto-collapsing card grids
   .split                   media + text two-column; .split--flip swaps sides
   .split__media / .split__body / .split__media--tall
   .stack / .stack--sm / .stack--lg   vertical flow spacing helpers
   .cluster                 inline wrap row with gap

   TYPOGRAPHY
   .eyebrow                 pill eyebrow label (teal); .eyebrow--brass, --light, --plain
   .lede                    larger intro paragraph (muted)
   .display                 hero-scale Fraunces heading
   .h1 .h2 .h3 .h4          heading sizes without semantics
   .accent                  italic brass Fraunces span inside headings
   .accent--teal            same in teal
   .prose                   long-form body copy (lists, blockquotes, links styled)
   .text-muted / .text-light / .text-brass / .text-teal / .text-center / .text-small

   BUTTONS & BADGES
   .btn                     base (teal primary)         .btn--navy   dark navy
   .btn--outline            ghost/outline on light      .btn--light  light-on-dark ghost
   .btn--white              solid white on dark         .btn--brass  brass highlight
   .btn--sm / .btn--lg      sizes                       .btn--block  full width
   .btn__icon               inline SVG inside a button (arrow etc.)
   .link-arrow              text link with arrow that nudges on hover
   .badge                   small solid pill (teal); .badge--brass, --navy, --sand, --light
   .chip                    outlined chip (e.g. tags); .chip--active
   .pill-row                wrap row of chips/badges

   HEADER / NAV / FOOTER  (markup copied verbatim from index.html)
   .site-header             sticky blurred header; gets .is-scrolled via JS
   .brand / .brand__mark / .brand__name / .brand__tag
   .nav-toggle              hamburger (mobile)   .nav  drawer   .nav__list  .nav__cta
   .nav-backdrop            dim overlay behind mobile drawer
   .site-footer             navy footer  .footer__grid .footer__brand .footer__col
   .footer__bottom .footer__note  .social .social__link

   HERO
   .hero                    home hero (navy, contour waves)  .hero__grid .hero__copy
   .hero__title .hero__lede .hero__actions .hero__call .hero__trust .hero__art
   .hero__bg                absolutely positioned decorative SVG slot
   .page-hero               inner-page banner (navy); .page-hero__inner .breadcrumb
   .page-hero--image        variant with photo backdrop (set --hero-img)

   CARDS
   .card                    base white card (rounded-2xl, soft shadow, hover lift)
   .card--flat              no shadow, hairline border    .card--sand   sand ground
   .card--navy              navy ground (light text)      .card--hover  explicit hover lift
   .card__media             top image (aspect 16/10)       .card__body   padded content
   .card__title .card__text .card__footer
   .service-card            icon + title + text + link (extends .card)
   .feature-card            compact icon-left feature      .feature-card__icon
   .glass                   frosted glass panel for dark grounds
   .testimonial             quote card  .testimonial__quote .testimonial__author
   .testimonial__avatar .testimonial__stars
   .article-card            insights/blog card .article-card__meta .article-card__cat
   .team-card               headshot card   .team-card__photo .team-card__role
   .value-card              numbered/iconed statement card (about page)
   .icon-badge              44px rounded icon tile (teal-soft); --brass, --navy, --lg, --round
   .stat-row / .stat        counter row   .stat__value .stat__label   (use [data-count])
   .stat-row--dark          for navy grounds

   PATTERNS
   .logo-strip              "as featured in" trust text-marks row  .logo-strip__item
   .steps / .step           numbered process (1–4)  .step__num .step__title
   .tabs                    [data-tabs] wrapper .tabs__list .tabs__tab .tabs__panel
   .framework               Acquire/Operate/Exit 3-col with stage labels
   .price-card              pricing tier; .price-card--featured  .price-card__amount
   .price-card__period .price-card__list .price-card__ribbon
   .table-wrap              horizontal-scroll container   .compare-table  comparison
   .compare-table .check / .dash   tick / dash cell marks
   .accordion               [data-accordion]  .accordion__item .accordion__trigger
   .accordion__panel .accordion__body   (item gets .is-open)
   .cta-band                rounded navy call-to-action block  .cta-band__inner
   .cta-band--teal          teal gradient variant
   .newsletter              email capture block  .newsletter__form
   .info-list               icon + label/value rows (contact details)
   .checklist               tick-bullet list   .checklist--light
   .timeline                vertical dated list (deadline calendar)  .timeline__item
   .notice                  callout box; .notice--brass / --teal / --danger
   .calc                    calculator panel (resources page) .calc__result
   .map-embed               responsive iframe/placeholder frame
   .hairline                thin brass rule    .divider   soft grey rule

   FORMS
   .form .form-grid .form-grid--2   layout
   .field .field__label .field__hint .field__error   wrappers
   .input .select .textarea         controls (class on element)
   .checkbox                        label wrapper with custom box
   .form-success                    success panel shown by JS (hidden by default)
   .form-status                     inline status line (aria-live)

   UTILITIES
   .sr-only .skip-link .mt-0…  .mb-0… .mx-auto .flex .items-center .justify-between
   .gap-2/3/4 .hide-mobile .hide-desktop .w-full .rounded .shadow .relative .overflow-hidden
   .grain                   subtle film-grain overlay (use on dark sections)

   MOTION
   [data-reveal]            fade-up on scroll (JS adds .is-visible)
   [data-reveal="left"/"right"/"scale"/"fade"]  direction variants
   [data-reveal-delay="1..6"]  stagger 80ms steps
   .float                   gentle floating animation (hero art)
   ========================================================================== */


/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* palette */
  --navy: #0B1F3A;
  --navy-2: #132C4F;
  --navy-3: #1B3A66;
  --navy-rgb: 11, 31, 58;
  --teal: #0E7C7B;
  --teal-2: #14A3A0;
  --teal-3: #5EC8C5;
  --teal-soft: #E3F3F2;
  --teal-rgb: 14, 124, 123;
  --brass: #C9A45C;
  --brass-2: #E0C284;
  --brass-soft: #F6EDD9;
  --sand: #F6F1E7;
  --sand-2: #EFE8DA;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --ink: #1B2430;
  --muted: #5B6778;
  --muted-2: #8A93A3;
  --line: #E4DED2;
  --line-strong: #D2C9B7;
  --success: #1E8A5F;
  --success-soft: #E4F4EC;
  --danger: #C23B3B;
  --danger-soft: #FBE9E9;

  /* on-dark text */
  --on-dark: #F4F1EA;
  --on-dark-muted: rgba(244, 241, 234, .72);
  --on-dark-faint: rgba(244, 241, 234, .12);

  /* typography */
  --font-display: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.9rem, 6.2vw, 5rem);
  --fs-h1: clamp(2.4rem, 4.8vw, 3.6rem);
  --fs-h2: clamp(1.95rem, 3.4vw, 2.85rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.55rem);
  --fs-h4: 1.125rem;
  --fs-lg: 1.15rem;
  --fs-md: 1rem;
  --fs-sm: .9rem;
  --fs-xs: .8rem;
  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-body: 1.65;

  /* spacing scale */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.5rem;
  --s-8: 3rem;
  --s-9: 4rem;
  --s-10: 5rem;
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* shadows (layered, warm) */
  --shadow-xs: 0 1px 2px rgba(27, 36, 48, .06);
  --shadow-sm: 0 1px 2px rgba(27, 36, 48, .05), 0 4px 12px rgba(27, 36, 48, .06);
  --shadow-md: 0 2px 4px rgba(27, 36, 48, .05), 0 12px 28px -8px rgba(27, 36, 48, .14);
  --shadow-lg: 0 4px 8px rgba(27, 36, 48, .05), 0 28px 56px -16px rgba(11, 31, 58, .28);
  --shadow-teal: 0 10px 28px -10px rgba(14, 124, 123, .55);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, .6);

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .28s;
  --dur-slow: .7s;

  /* layout */
  --container: 1200px;
  --container-narrow: 820px;
  --container-wide: 1320px;
  --header-h: 76px;

  color-scheme: light;
}


/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html { overflow-x: clip; }

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { fill: none; }

a { color: var(--teal); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--navy); }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button { cursor: pointer; background: none; border: 0; padding: 0; }

ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
figure, blockquote { margin: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }

strong, b { font-weight: 600; }
small { font-size: var(--fs-sm); }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--teal-2);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
.section--navy :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.cta-band :focus-visible { outline-color: var(--brass-2); }

::selection { background: var(--teal); color: #fff; }


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: -.015em;
  color: var(--navy);
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-variation-settings: "opsz" 144, "SOFT" 30; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.12; font-variation-settings: "opsz" 120, "SOFT" 30; }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
h4, .h4 { font-size: var(--fs-h4); letter-spacing: 0; font-variation-settings: "opsz" 24; }
h5, h6 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 600; letter-spacing: 0; }
.display {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.accent {
  font-style: italic;
  font-weight: 400;
  color: var(--brass);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.accent--teal { color: var(--teal-2); }
.accent--navy { color: var(--navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .85rem;
  border-radius: var(--r-pill);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}
.eyebrow--brass { background: var(--brass-soft); color: #9A7A3A; }
.eyebrow--light { background: rgba(255, 255, 255, .1); color: var(--brass-2); border: 1px solid rgba(255, 255, 255, .14); }
.eyebrow--plain { background: transparent; padding: 0; color: var(--teal); }
.eyebrow--plain::before { width: 22px; height: 1.5px; border-radius: 0; }

.lede {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}
.lede--lg { font-size: clamp(1.15rem, 1.6vw, 1.32rem); }

.text-muted { color: var(--muted); }
.text-light { color: var(--on-dark-muted); }
.text-white { color: var(--on-dark); }
.text-brass { color: var(--brass); }
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-small { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-serif { font-family: var(--font-display); }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.caps { text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs); font-weight: 600; }
.tabular { font-variant-numeric: tabular-nums; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--teal-rgb), .4); }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote {
  margin: 1.5em 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--brass);
  background: var(--sand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-size: 1.15em;
  color: var(--navy);
}
.prose img { border-radius: var(--r-md); }
.prose figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: .5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--navy); font-weight: 600; background: var(--sand); }

/* on-dark headings */
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4,
.hero h1, .hero h2, .hero h3, .page-hero h1, .page-hero h2,
.cta-band h2, .cta-band h3, .card--navy h3, .card--navy h4,
.site-footer h4 { color: var(--on-dark); }
.section--navy p:not(.eyebrow), .hero p:not(.eyebrow), .page-hero p:not(.eyebrow), .cta-band p:not(.eyebrow) { color: var(--on-dark-muted); }
.section--navy a:not(.btn), .hero a:not(.btn), .page-hero a:not(.btn) { color: var(--on-dark); }
.section--navy a:not(.btn):hover, .hero a:not(.btn):hover, .page-hero a:not(.btn):hover { color: var(--brass-2); }


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--paper);
}
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--navy {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--on-dark);
}
.section--navy .lede { color: var(--on-dark-muted); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--loose { padding-block: clamp(6rem, 12vw, 9.5rem); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--border-top { border-top: 1px solid var(--line); }

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.section__head h2 { margin-bottom: .55em; }
.section__head .lede { margin-bottom: 0; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lede { margin-inline: auto; }
.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.section__head--row > div { max-width: 640px; }
.section__head--row .btn, .section__head--row .link-arrow { flex-shrink: 0; margin-bottom: .35rem; }

.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }
.grid--tight { gap: 1rem; }
.grid--align-start { align-items: start; }
.grid--align-center { align-items: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--wide-text { grid-template-columns: 5fr 6fr; }
.split--flip .split__media { order: 2; }
.split--flip .split__body { order: 1; }
.split__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  background: var(--sand-2);
}
.split__media--tall { aspect-ratio: 4 / 5; }
.split__media--wide { aspect-ratio: 16 / 10; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--framed::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: calc(var(--r-xl) - 10px);
  pointer-events: none;
}
.split__body h2 { margin-bottom: .6em; }
.split__body .lede { margin-bottom: 1.4rem; }
/* floating caption chip over media */
.split__float {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem;
  max-width: calc(100% - 2.5rem);
}
.split__float strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.split__float span { font-size: var(--fs-xs); color: var(--muted); }

.stack > * + * { margin-top: var(--s-5); }
.stack--sm > * + * { margin-top: var(--s-3); }
.stack--lg > * + * { margin-top: var(--s-7); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-4);
}


/* ==========================================================================
   5. BUTTONS, LINKS, BADGES, CHIPS
   ========================================================================== */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  --btn-bd: transparent;
  --btn-bg-h: #0A6A69;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  letter-spacing: .005em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn:hover { background: var(--btn-bg-h); color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-teal); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn--navy { --btn-bg: var(--navy); --btn-bg-h: var(--navy-2); }
.btn--navy:hover { box-shadow: 0 10px 28px -10px rgba(11, 31, 58, .6); }
.btn--brass { --btn-bg: var(--brass); --btn-fg: var(--navy); --btn-bg-h: var(--brass-2); }
.btn--brass:hover { box-shadow: 0 10px 28px -10px rgba(201, 164, 92, .7); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bg-h: var(--sand); }
.btn--white:hover { box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .4); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); --btn-bg-h: var(--white);
  box-shadow: none;
}
.btn--outline:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--teal); --btn-bg-h: var(--teal-soft); box-shadow: none; }
.btn--ghost:hover { box-shadow: none; }
.btn--light {
  --btn-bg: rgba(255, 255, 255, .06); --btn-fg: var(--on-dark); --btn-bd: rgba(255, 255, 255, .28);
  --btn-bg-h: rgba(255, 255, 255, .14);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--light:hover { border-color: rgba(255, 255, 255, .6); box-shadow: none; }
.btn--sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--icon { padding: .8rem; width: 44px; height: 44px; }
.btn__icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.btn:hover .btn__icon--arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--teal);
  font-size: .95rem;
}
.link-arrow svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--brass-2); }
.link-arrow--light:hover { color: #fff; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.badge--brass { background: var(--brass); color: var(--navy); }
.badge--navy { background: var(--navy); }
.badge--sand { background: var(--sand-2); color: var(--navy); }
.badge--soft { background: var(--teal-soft); color: var(--teal); }
.badge--light { background: rgba(255, 255, 255, .12); color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .16); }
.badge--success { background: var(--success-soft); color: var(--success); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.2;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip--active, .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }


/* ==========================================================================
   6. HEADER / NAVIGATION
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251, 250, 247, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(228, 222, 210, .6);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 250, 247, .92);
  box-shadow: 0 6px 24px -12px rgba(11, 31, 58, .22);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -.01em;
  line-height: 1;
  flex-shrink: 0;
}
.brand:hover { color: var(--navy); }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__name { display: flex; flex-direction: column; gap: .18rem; }
.brand__tag {
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
}
.brand--light { color: var(--on-dark); }
.brand--light:hover { color: var(--on-dark); }
.brand--light .brand__tag { color: var(--brass-2); }

.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav__list { display: flex; align-items: center; gap: .2rem; }
.nav__list a {
  display: inline-block;
  padding: .55rem .8rem;
  border-radius: var(--r-pill);
  color: var(--ink);
  font-weight: 500;
  font-size: .93rem;
  position: relative;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__list a:hover { color: var(--teal); background: rgba(var(--teal-rgb), .07); }
.nav__list a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
}
.nav__cta { display: flex; align-items: center; gap: .75rem; }
.nav__phone {
  display: none; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .9rem; color: var(--navy);
}
.nav__phone svg { width: 17px; height: 17px; stroke: var(--teal); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.nav__phone:hover { color: var(--teal); }
.nav__login {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: .9rem; color: var(--navy);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__login svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.nav__login:hover { color: var(--teal); background: rgba(var(--teal-rgb), .07); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  color: var(--navy);
  position: relative;
  z-index: 130;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 31, 58, .5);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease);
  z-index: 110;
}
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    background: var(--paper);
    box-shadow: -20px 0 60px -20px rgba(11, 31, 58, .35);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform .38s var(--ease-out);
    z-index: 120;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  /* backdrop-filter makes the header the containing block for the fixed drawer (clipping it
     to header height), and its z-index would sit under .nav-backdrop — lift both while open */
  body.nav-open .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
    z-index: 115;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__list a {
    display: block;
    padding: .9rem 1rem;
    font-size: 1.1rem;
    font-family: var(--font-display);
    font-weight: 500;
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--line);
  }
  .nav__list li:last-child a { border-bottom: 0; }
  .nav__list a[aria-current="page"]::after { display: none; }
  .nav__list a[aria-current="page"] { background: var(--teal-soft); }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: 1.5rem; gap: 1rem; }
  .nav__cta .btn { width: 100%; }
  .nav__phone { display: inline-flex; justify-content: center; font-size: 1rem; }
  .nav__login {
    justify-content: center; font-size: 1rem;
    padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  }
}
/* slightly tighter nav between tablet-landscape and desktop */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav { gap: 1rem; }
  .nav__list a { padding: .5rem .55rem; font-size: .88rem; }
  .nav__list a[aria-current="page"]::after { left: .55rem; right: .55rem; }
  .brand { font-size: 1.15rem; }
}


/* ==========================================================================
   7. HERO (home) + PAGE HERO (inner pages)
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(20, 163, 160, .28), transparent 60%),
              radial-gradient(800px 500px at 0% 110%, rgba(201, 164, 92, .16), transparent 60%),
              linear-gradient(160deg, #0B1F3A 0%, #132C4F 55%, #0F2748 100%);
  color: var(--on-dark);
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4.5rem, 10vw, 8rem);
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
}
.hero__bg svg { width: 100%; height: 100%; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__title {
  color: var(--on-dark);
  margin-bottom: 1.25rem;
}
.hero__lede {
  color: var(--on-dark-muted);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .6rem 1.1rem;
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust li + li::before {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  margin-right: .5rem;
}
.hero__trust strong { color: var(--on-dark); font-weight: 600; }
.hero__trust .stars { color: var(--brass-2); letter-spacing: .05em; }
.hero__trust svg { width: 16px; height: 16px; stroke: var(--teal-3); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* click-to-call line under the hero buttons -- the header number sits in the
   off-canvas drawer below 1024px, so this is the only number visible on phones
   without opening the menu */
.hero__call {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  color: var(--on-dark-muted);
}
.hero__call strong { color: var(--on-dark); font-weight: 600; letter-spacing: .01em; transition: color .2s; }
.hero__call svg { width: 18px; height: 18px; fill: none; stroke: var(--teal-3); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hero__call:hover strong, .hero__call:focus-visible strong { color: var(--teal-3); }
.hero__art { position: relative; }
.hero--center { text-align: center; }
.hero--center .hero__copy { max-width: 780px; margin-inline: auto; }
.hero--center .hero__lede, .hero--center .hero__actions, .hero--center .hero__trust { margin-inline: auto; justify-content: center; }

/* Inner-page hero banner */
.page-hero {
  position: relative;
  background: radial-gradient(900px 400px at 90% 0%, rgba(20, 163, 160, .25), transparent 60%),
              linear-gradient(160deg, #0B1F3A 0%, #132C4F 100%);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--image::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: .22;
  z-index: -1;
  mix-blend-mode: luminosity;
}
.page-hero__inner { max-width: 760px; }
.page-hero h1 { margin-bottom: .6rem; }
.page-hero .lede { color: var(--on-dark-muted); }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero--center .breadcrumb { justify-content: center; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.page-hero--split .page-hero__inner { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .4rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb a:hover { color: var(--brass-2); }
.breadcrumb li + li::before { content: "/"; opacity: .4; margin-right: .4rem; }
.breadcrumb [aria-current] { color: var(--brass-2); }

/* wave divider that can sit at the bottom of any dark block */
.wave-edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 48px; pointer-events: none; }
.wave-edge svg { width: 100%; height: 100%; display: block; }


/* ==========================================================================
   8. CARDS
   ========================================================================== */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid rgba(228, 222, 210, .7);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(210, 201, 183, .9); }
.card--static:hover { transform: none; box-shadow: var(--shadow-sm); }
.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: var(--shadow-sm); }
.card--sand { background: var(--sand); border-color: transparent; }
.card--navy { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); color: var(--on-dark); }
.card--navy p { color: var(--on-dark-muted); }
.card--teal { background: var(--teal); border-color: transparent; color: #fff; }
.card--teal h3, .card--teal h4 { color: #fff; }
.card--teal p { color: rgba(255, 255, 255, .8); }
.card--xl { border-radius: var(--r-xl); }
.card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-2);
  position: relative;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--square { aspect-ratio: 1; }
.card__media--portrait { aspect-ratio: 4 / 5; }
.card__media .badge { position: absolute; top: 1rem; left: 1rem; }
.card__body { padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.card__body--lg { padding: clamp(1.75rem, 3vw, 2.5rem); }
.card__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--teal); }
.card__text { color: var(--muted); margin-bottom: 1.25rem; }
.card__footer { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
/* stretch a single link over the whole card */
.card__link-overlay::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Service card ---------------------------------------------------------- */
.service-card { padding: clamp(1.6rem, 2.6vw, 2.1rem); }
.service-card .icon-badge { margin-bottom: 1.35rem; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.service-card p { color: var(--muted); margin-bottom: 1.25rem; }
.service-card .link-arrow { margin-top: auto; }
.service-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal-2), var(--brass));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.service-card:hover::before { opacity: 1; }

/* Feature card (icon left) --------------------------------------------- */
.feature-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.feature-card:hover { border-color: var(--teal-3); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.feature-card--plain { background: transparent; border: 0; padding: 0; }
.feature-card--plain:hover { box-shadow: none; transform: none; }
.feature-card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: var(--on-dark); }
.feature-card--dark:hover { border-color: rgba(255, 255, 255, .25); }
.feature-card--dark h4 { color: var(--on-dark); }
.feature-card--dark p { color: var(--on-dark-muted); }
.feature-card h4 { margin-bottom: .3rem; font-size: 1.05rem; }
.feature-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.feature-card__icon { flex-shrink: 0; }

/* Glass panel ---------------------------------------------------------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-xl);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
  color: var(--on-dark);
}
.glass--light {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(255, 255, 255, .8);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

/* Portfolio desk (hero dashboard) -------------------------------------- */
.desk { padding: 1.5rem; width: 100%; max-width: 520px; margin-left: auto; }
.desk__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.desk__head h3 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--on-dark); margin: 0 0 .2rem; letter-spacing: .01em; }
.desk__head p { font-size: .78rem; color: var(--on-dark-muted); margin: 0; }
.desk__live {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-3);
  padding: .3rem .6rem; border-radius: var(--r-pill);
  background: rgba(20, 163, 160, .14);
  border: 1px solid rgba(20, 163, 160, .3);
}
.desk__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-3); box-shadow: 0 0 0 0 rgba(94, 200, 197, .6); animation: pulse 2s infinite; }
.desk__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.desk__kpi {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  padding: .8rem .9rem;
}
.desk__kpi strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.desk__kpi span { display: block; font-size: .72rem; color: var(--on-dark-muted); margin-top: .35rem; letter-spacing: .02em; }
.desk__panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  margin-bottom: .6rem;
}
.desk__panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .5rem; }
.desk__panel-head span { font-size: .74rem; color: var(--on-dark-muted); letter-spacing: .02em; }
.desk__panel-head strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: #fff; line-height: 1; }
.desk__panel-head strong small { font-family: var(--font-body); font-size: .72rem; color: var(--teal-3); font-weight: 600; margin-left: .35rem; }
.desk__chart { width: 100%; height: 74px; display: block; }
.desk__chart .bar { fill: rgba(255, 255, 255, .14); }
.desk__chart .bar--hot { fill: var(--teal-2); }
.desk__chart .line { stroke: var(--brass-2); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.desk__chart .area { fill: url(#deskArea); }
.desk__rows { display: grid; gap: .45rem; }
.desk__row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  font-size: .8rem;
  padding: .55rem .75rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04);
}
.desk__row span { color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: .5rem; }
.desk__row strong { color: #fff; font-weight: 600; }
.desk__row svg { width: 15px; height: 15px; stroke: var(--brass-2); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.desk__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: .72rem; color: var(--on-dark-muted); }
.desk__foot .badge { font-size: .62rem; }
/* small floating chip next to the desk */
.desk-chip {
  position: absolute;
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .95rem;
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  font-size: .8rem;
  line-height: 1.25;
  z-index: 2;
}
.desk-chip strong { display: block; font-weight: 600; }
.desk-chip span { color: var(--muted); font-size: .72rem; }
/* pinned to the corners so they overlap only the card's padding, never its content */
.desk-chip--tl { top: -2.6rem; left: -1.5rem; }
.desk-chip--br { bottom: -2.6rem; right: -1rem; }

/* Testimonial ---------------------------------------------------------- */
.testimonial {
  background: var(--white);
  border: 1px solid rgba(228, 222, 210, .8);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  gap: 1.1rem;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute; top: .6rem; right: 1.4rem;
  font-family: var(--font-display);
  font-size: 5.5rem; line-height: 1;
  color: var(--brass);
  opacity: .28;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.testimonial__stars { color: var(--brass); letter-spacing: .08em; font-size: .95rem; }
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0;
  font-variation-settings: "opsz" 24, "SOFT" 30;
}
.testimonial__quote--lg { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.testimonial__author { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.testimonial__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600; font-size: .9rem;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__name { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; }
.testimonial__meta { display: block; font-size: var(--fs-xs); color: var(--muted); }
.testimonial--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.testimonial--dark .testimonial__quote, .testimonial--dark .testimonial__name { color: var(--on-dark); }
.testimonial--dark .testimonial__meta { color: var(--on-dark-muted); }
.testimonial--sand { background: var(--sand); border-color: transparent; box-shadow: none; }

/* Article card --------------------------------------------------------- */
.article-card .card__body { padding: 1.4rem 1.5rem 1.6rem; }
.article-card__meta { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-xs); color: var(--muted); margin-bottom: .7rem; }
.article-card__meta li + li::before { content: "·"; margin-right: .6rem; opacity: .6; }
.article-card__cat { color: var(--teal); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.article-card .card__title { font-size: 1.22rem; line-height: 1.3; }
.article-card .card__text { font-size: var(--fs-sm); }

/* Team card ------------------------------------------------------------ */
.team-card { text-align: left; }
.team-card__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-2); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--dur-slow) var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.03); }
.team-card .card__body { padding: 1.25rem 1.4rem 1.5rem; }
.team-card h3 { font-size: 1.2rem; margin-bottom: .15rem; }
.team-card__role { color: var(--teal); font-weight: 600; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .7rem; }
.team-card p { font-size: var(--fs-sm); color: var(--muted); }
.team-card__links { display: flex; gap: .5rem; margin-top: 1rem; }

/* Value card ------------------------------------------------------------ */
.value-card {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
}
.value-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144;
}
.value-card h3 { font-size: 1.2rem; }
.value-card p { color: var(--muted); font-size: var(--fs-sm); }

/* Icon badge ------------------------------------------------------------ */
.icon-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-grid; place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  flex-shrink: 0;
}
.icon-badge svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.icon-badge--brass { background: var(--brass-soft); color: #9A7A3A; }
.icon-badge--navy { background: var(--navy); color: var(--brass-2); }
.icon-badge--teal { background: var(--teal); color: #fff; }
.icon-badge--sand { background: var(--sand); color: var(--navy); }
.icon-badge--light { background: rgba(255, 255, 255, .1); color: var(--teal-3); border: 1px solid rgba(255, 255, 255, .14); }
.icon-badge--sm { width: 38px; height: 38px; border-radius: 11px; }
.icon-badge--sm svg { width: 19px; height: 19px; }
.icon-badge--lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-badge--lg svg { width: 28px; height: 28px; }
.icon-badge--round { border-radius: 50%; }
/* bare inline icon helper */
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }

/* Stats ----------------------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-row--3 { grid-template-columns: repeat(3, 1fr); }
.stat-row--bordered .stat + .stat { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.stat { text-align: left; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-bottom: .45rem;
}
.stat__value sup, .stat__value .stat__suffix { font-size: .55em; color: var(--brass); vertical-align: baseline; margin-left: .05em; }
.stat__label { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.stat-row--dark .stat__value { color: #fff; }
.stat-row--dark .stat__label { color: var(--on-dark-muted); }
.stat-row--dark.stat-row--bordered .stat + .stat { border-color: rgba(255, 255, 255, .12); }
.stat-row--center .stat { text-align: center; }
.stat-row--center.stat-row--bordered .stat + .stat { padding-left: 0; }


/* ==========================================================================
   9. PATTERNS
   ========================================================================== */

/* Logo / trust strip ---------------------------------------------------- */
.logo-strip {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 1.5rem clamp(1.75rem, 4vw, 3.5rem);
}
.logo-strip__label {
  width: 100%;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: .25rem;
}
.logo-strip__item {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--muted);
  opacity: .75;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.logo-strip__item:hover { opacity: 1; color: var(--navy); }
.logo-strip__item svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.logo-strip__item--sans { font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; }
.logo-strip__item--mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; font-size: 1rem; letter-spacing: .02em; }
.logo-strip--dark .logo-strip__item { color: var(--on-dark-muted); }
.logo-strip--dark .logo-strip__item:hover { color: #fff; }
.logo-strip--dark .logo-strip__label { color: rgba(255, 255, 255, .45); }

/* Process steps ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  counter-increment: step;
}
.step__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--brass-2);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.1rem;
  position: relative;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__title { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
/* connector line on desktop */
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3.1rem; right: -1.5rem;
    width: 1.5rem; height: 1px;
    background: repeating-linear-gradient(90deg, var(--brass) 0 4px, transparent 4px 8px);
  }
}
.steps--vertical { grid-template-columns: 1fr; gap: 0; }
.steps--vertical .step { border: 0; background: transparent; padding: 0 0 2rem 4rem; }
.steps--vertical .step__num { position: absolute; left: 0; top: 0; margin: 0; }
.steps--vertical .step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 1px; background: var(--line-strong); }
.steps--vertical .step::after { display: none; }
.steps--dark .step { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.steps--dark .step__title { color: var(--on-dark); }
.steps--dark .step p { color: var(--on-dark-muted); }
.steps--dark .step__num { background: var(--brass); color: var(--navy); }

/* Tabs ------------------------------------------------------------------ */
.tabs__list {
  display: inline-flex; flex-wrap: wrap;
  gap: .3rem;
  padding: .3rem;
  border-radius: var(--r-pill);
  background: var(--sand-2);
  margin-bottom: 2rem;
}
.tabs__tab {
  padding: .65rem 1.25rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  transition: all var(--dur) var(--ease);
  display: inline-flex; align-items: center; gap: .5rem;
}
.tabs__tab:hover { color: var(--navy); }
.tabs__tab[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.tabs__tab .badge { font-size: .62rem; padding: .2rem .45rem; }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeIn .35s var(--ease); }
.tabs--dark .tabs__list { background: rgba(255, 255, 255, .08); }
.tabs--dark .tabs__tab { color: var(--on-dark-muted); }
.tabs--dark .tabs__tab[aria-selected="true"] { background: var(--paper); color: var(--navy); }
.tabs--center .tabs__list { display: flex; justify-content: center; width: fit-content; margin-inline: auto; }
.tabs--underline .tabs__list { background: transparent; border-radius: 0; border-bottom: 1px solid var(--line); padding: 0; gap: 0; width: 100%; }
.tabs--underline .tabs__tab { border-radius: 0; padding: .85rem 1.1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs--underline .tabs__tab[aria-selected="true"] { background: transparent; box-shadow: none; border-bottom-color: var(--teal); color: var(--teal); }

/* Framework (Acquire / Operate / Exit) ---------------------------------- */
.framework { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.framework__stage {
  position: relative;
  padding: 2rem 1.75rem 1.9rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.framework__stage:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.framework__stage::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--stage-color, var(--teal));
}
.framework__stage--acquire { --stage-color: var(--teal-2); }
.framework__stage--operate { --stage-color: var(--brass); }
.framework__stage--exit { --stage-color: var(--navy); }
.framework__label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stage-color, var(--teal));
  margin-bottom: 1rem;
}
.framework__label span {
  font-family: var(--font-display); font-size: 2rem; font-weight: 300; letter-spacing: 0;
  color: var(--line-strong); line-height: 1;
}
.framework__stage h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.framework__stage > p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1.1rem; }
.framework--dark .framework__stage { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.framework--dark .framework__stage h3 { color: var(--on-dark); }
.framework--dark .framework__stage > p { color: var(--on-dark-muted); }
.framework--dark .framework__label span { color: rgba(255, 255, 255, .2); }
.framework--dark .framework__stage--exit { --stage-color: var(--brass-2); }

/* Checklist ------------------------------------------------------------- */
.checklist { display: grid; gap: .6rem; }
.checklist li {
  position: relative;
  padding-left: 1.85rem;
  font-size: var(--fs-sm);
  color: var(--ink);
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .1em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C7B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.checklist--light li { color: var(--on-dark-muted); }
.checklist--light li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8C5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist--brass li::before { background-color: var(--brass-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A7A3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist--2col { grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; }
.checklist--lg li { font-size: var(--fs-md); padding-left: 2.1rem; }
.checklist--lg li::before { width: 22px; height: 22px; background-size: 12px; }

/* Pricing --------------------------------------------------------------- */
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card__ribbon {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--brass); color: var(--navy);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: var(--r-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.price-card__tier { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .6rem; }
.price-card__desc { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1.4rem; min-height: 2.6em; }
.price-card__amount {
  display: flex; align-items: baseline; gap: .3rem;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: .25rem;
}
.price-card__amount .from { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--muted); font-weight: 500; align-self: flex-start; margin-top: .6rem; }
.price-card__amount .num { font-size: clamp(2.6rem, 4vw, 3.3rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 30; }
.price-card__amount .cur { font-size: 1.5rem; font-weight: 400; align-self: flex-start; margin-top: .45rem; }
.price-card__period { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--muted); }
.price-card__note { font-size: var(--fs-xs); color: var(--muted-2); margin-bottom: 1.5rem; }
.price-card__list { display: grid; gap: .6rem; margin: 1.5rem 0 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.price-card__list li { position: relative; padding-left: 1.75rem; font-size: var(--fs-sm); line-height: 1.5; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C7B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.price-card__list li.is-muted { color: var(--muted-2); }
.price-card__list li.is-muted::before { background: var(--sand-2); }
.price-card .btn { margin-top: auto; }
.price-card__fine { font-size: var(--fs-xs); color: var(--muted-2); text-align: center; margin-top: .85rem; }
.price-card--featured {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: transparent;
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.price-card--featured:hover { transform: translateY(-12px); }
.price-card--featured .price-card__tier { color: var(--brass-2); }
.price-card--featured .price-card__desc, .price-card--featured .price-card__period,
.price-card--featured .price-card__note, .price-card--featured .price-card__fine,
.price-card--featured .price-card__amount .from { color: var(--on-dark-muted); }
.price-card--featured .price-card__amount { color: #fff; }
.price-card--featured .price-card__list { border-top-color: rgba(255, 255, 255, .12); }
.price-card--featured .price-card__list li { color: var(--on-dark); }
.price-card--featured .price-card__list li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EC8C5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.price-card--featured .price-card__list li.is-muted { color: rgba(255, 255, 255, .4); }
.price-card--featured .price-card__list li.is-muted::before { background-color: rgba(255, 255, 255, .05); background-image: none; }
.price-card--featured h3, .price-card--featured .h3 { color: #fff; }
.price-card--compact { padding: 1.5rem; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; padding-top: 1rem; }
.price-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Comparison table ------------------------------------------------------ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--fs-sm); }
.compare-table th, .compare-table td { padding: .95rem 1.1rem; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { background: var(--sand); color: var(--navy); font-weight: 600; font-size: var(--fs-sm); position: sticky; top: 0; }
.compare-table thead th small { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-xs); margin-top: .15rem; }
.compare-table thead th.is-featured { background: var(--navy); color: #fff; }
.compare-table thead th.is-featured small { color: var(--on-dark-muted); }
.compare-table tbody th { font-weight: 500; color: var(--ink); }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: 0; }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background: rgba(246, 241, 231, .5); }
.compare-table td.is-featured { background: rgba(14, 124, 123, .05); }
.compare-table .group th { background: var(--paper); color: var(--teal); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .6rem 1.1rem; }
.compare-table .check, .compare-table .dash {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
}
.compare-table .check { background: var(--teal-soft); }
.compare-table .check::before { content: ""; width: 11px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C7B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.compare-table .dash { color: var(--line-strong); }
.compare-table .dash::before { content: "—"; font-size: .8rem; }

/* Accordion ------------------------------------------------------------- */
.accordion { display: grid; gap: .75rem; }
.accordion__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.accordion__item.is-open { border-color: var(--teal-3); box-shadow: var(--shadow-sm); }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  font-variation-settings: "opsz" 24, "SOFT" 30;
}
.accordion__trigger:hover { color: var(--teal); background: rgba(246, 241, 231, .5); }
.accordion__trigger:focus-visible { outline-offset: -3px; }
.accordion__icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--teal);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.accordion__icon svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; }
.accordion__icon svg line:last-child { transition: transform var(--dur) var(--ease); transform-origin: center; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { background: var(--teal); border-color: var(--teal); color: #fff; }
.accordion__trigger[aria-expanded="true"] .accordion__icon svg line:last-child { transform: rotate(90deg); opacity: 0; }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .36s var(--ease);
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__body { overflow: hidden; visibility: hidden; transition: visibility 0s linear .36s; }
.accordion__item.is-open .accordion__body { visibility: visible; transition-delay: 0s; }
.accordion__content { padding: 0 1.35rem 1.35rem; color: var(--muted); font-size: .95rem; }
.accordion__content > * + * { margin-top: .75em; }
.accordion__content ul { list-style: disc; padding-left: 1.2em; }
.accordion--sand .accordion__item { background: var(--sand); border-color: transparent; }
.accordion--sand .accordion__trigger:hover { background: var(--sand-2); }
.accordion--dark .accordion__item { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.accordion--dark .accordion__trigger { color: var(--on-dark); }
.accordion--dark .accordion__trigger:hover { background: rgba(255, 255, 255, .04); color: var(--brass-2); }
.accordion--dark .accordion__content { color: var(--on-dark-muted); }
.accordion--dark .accordion__icon { border-color: rgba(255, 255, 255, .25); color: var(--teal-3); }
/* FAQ group heading */
.accordion-group + .accordion-group { margin-top: 3rem; }
.accordion-group__title { font-size: 1.35rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .75rem; }

/* CTA band -------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(700px 300px at 100% 0%, rgba(20, 163, 160, .35), transparent 60%),
              radial-gradient(500px 300px at 0% 100%, rgba(201, 164, 92, .2), transparent 60%),
              linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--on-dark);
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.cta-band--teal { background: radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(150deg, var(--teal) 0%, #0A6666 100%); }
.cta-band--sand { background: var(--sand); color: var(--ink); box-shadow: none; }
.cta-band--sand h2, .cta-band--sand h3 { color: var(--navy); }
.cta-band--sand p { color: var(--muted); }
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: center;
  position: relative; z-index: 1;
}
.cta-band__inner--center { grid-template-columns: 1fr; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band__inner--center .btn-row { justify-content: center; }
.cta-band h2 { margin-bottom: .5em; }
.cta-band p { color: var(--on-dark-muted); max-width: 56ch; }
.cta-band .btn-row { justify-content: flex-end; flex-wrap: nowrap; }
.cta-band__deco {
  position: absolute; right: -6%; top: -30%;
  width: 55%; height: 160%;
  pointer-events: none;
  opacity: .5;
  z-index: 0;
}
.cta-band__deco svg { width: 100%; height: 100%; }

/* Newsletter ------------------------------------------------------------ */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.newsletter h3 { margin-bottom: .35rem; }
.newsletter p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.newsletter__form { display: flex; gap: .6rem; }
.newsletter__form .input { flex: 1; }
.newsletter__form .btn { flex-shrink: 0; }
.newsletter__fine { font-size: var(--fs-xs); color: var(--muted-2); margin-top: .6rem; }
.newsletter--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.newsletter--dark h3 { color: var(--on-dark); }
.newsletter--dark p, .newsletter--dark .newsletter__fine { color: var(--on-dark-muted); }
.newsletter--stack { grid-template-columns: 1fr; text-align: center; }
.newsletter--stack .newsletter__form { max-width: 520px; margin-inline: auto; }

/* Info list (contact details) ------------------------------------------ */
.info-list { display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list__label { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .15rem; }
.info-list__value { color: var(--ink); font-weight: 500; line-height: 1.45; }
.info-list__value a { color: var(--navy); }
.info-list__value a:hover { color: var(--teal); }
.info-list--dark .info-list__label { color: rgba(255, 255, 255, .5); }
.info-list--dark .info-list__value, .info-list--dark .info-list__value a { color: var(--on-dark); }

/* Timeline (deadline calendar) ------------------------------------------ */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 62px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline__item { display: grid; grid-template-columns: 52px 1fr; gap: 1.5rem; padding: 1rem 0; position: relative; }
.timeline__item::before { content: ""; position: absolute; left: 57px; top: 1.65rem; width: 11px; height: 11px; border-radius: 50%; background: var(--teal); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--teal); }
.timeline__item--past::before { background: var(--line-strong); box-shadow: 0 0 0 1px var(--line-strong); }
.timeline__item--soon::before { background: var(--brass); box-shadow: 0 0 0 4px rgba(201, 164, 92, .25); }
.timeline__date { text-align: center; font-family: var(--font-display); color: var(--navy); line-height: 1; }
.timeline__date strong { display: block; font-size: 1.7rem; font-weight: 500; }
.timeline__date span { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-top: .3rem; }
.timeline__body { padding-left: 1rem; }
.timeline__body h4 { margin-bottom: .2rem; }
.timeline__body p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Notice / callout ------------------------------------------------------ */
.notice {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--teal-soft);
  border: 1px solid rgba(14, 124, 123, .2);
  color: var(--ink);
  font-size: var(--fs-sm);
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--teal); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; margin-top: .1rem; }
.notice--brass { background: var(--brass-soft); border-color: rgba(201, 164, 92, .35); }
.notice--brass svg { stroke: #9A7A3A; }
.notice--danger { background: var(--danger-soft); border-color: rgba(194, 59, 59, .25); }
.notice--danger svg { stroke: var(--danger); }
.notice--sand { background: var(--sand); border-color: var(--line); }
.notice--sand svg { stroke: var(--navy); }
.notice strong { color: var(--navy); }

/* Calculator panel ------------------------------------------------------ */
.calc {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.calc__form { padding: clamp(1.5rem, 3vw, 2.5rem); }
.calc__result {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center;
}
.calc__result h3, .calc__result h4 { color: var(--on-dark); }
.calc__result p { color: var(--on-dark-muted); }
.calc__big { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 500; line-height: 1; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: .5rem 0 1rem; }
.calc__big.is-refund { color: var(--teal-3); }
.calc__big.is-owed { color: var(--brass-2); }
.calc__rows { display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-sm); }
.calc__rows li { display: flex; justify-content: space-between; gap: 1rem; color: var(--on-dark-muted); }
.calc__rows li strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.range-wrap { display: flex; align-items: center; gap: 1rem; }
.range-wrap output { min-width: 5.5ch; text-align: right; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--teal); }

/* Map embed ------------------------------------------------------------- */
.map-embed { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); aspect-ratio: 16 / 9; box-shadow: var(--shadow-sm); }
.map-embed iframe, .map-embed img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.map-embed__pin { position: absolute; left: 1.25rem; bottom: 1.25rem; background: #fff; border-radius: var(--r-md); padding: .8rem 1rem; box-shadow: var(--shadow-md); font-size: var(--fs-sm); display: flex; gap: .7rem; align-items: center; }

/* Rules ---------------------------------------------------------------- */
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--brass) 20%, var(--brass) 80%, transparent); border: 0; margin: var(--s-7) 0; opacity: .7; }
.hairline--short { width: 72px; margin: 1.25rem 0; background: var(--brass); opacity: 1; }
.hairline--center { margin-inline: auto; }
.divider { height: 1px; background: var(--line); border: 0; margin: var(--s-7) 0; }

/* Ornamental image frame (about / split) -------------------------------- */
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--brass); border-radius: var(--r-xl); opacity: .5; z-index: -1; pointer-events: none; }
.frame--teal::before { border-color: var(--teal-3); }


/* ==========================================================================
   10. FORMS
   ========================================================================== */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; gap: 1.1rem; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: .5rem; }
.field__label .req { color: var(--danger); font-weight: 500; }
.field__label .opt { color: var(--muted-2); font-weight: 400; font-size: var(--fs-xs); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field__error { font-size: var(--fs-xs); color: var(--danger); font-weight: 500; display: none; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(194, 59, 59, .12); }

.input, .select, .textarea {
  width: 100%;
  padding: .85rem 1.05rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-size: .97rem;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:hover, .select:hover, .textarea:hover { border-color: #B9AF9C; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 123, .16);
}
.select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6778' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}
.textarea { min-height: 140px; resize: vertical; }
.input--lg { padding: 1rem 1.2rem; font-size: 1.02rem; }
.input-group { position: relative; }
.input-group .input { padding-left: 2.7rem; }
.input-group svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--muted-2); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.input-prefix { position: relative; }
.input-prefix .input { padding-left: 2rem; }
.input-prefix::before { content: attr(data-prefix); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; pointer-events: none; }

.checkbox, .radio {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: var(--fs-sm); color: var(--ink);
  cursor: pointer;
  line-height: 1.45;
}
.checkbox input, .radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox__box, .radio__box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: .1rem;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  display: grid; place-items: center;
  transition: all var(--dur) var(--ease);
}
.radio__box { border-radius: 50%; }
.checkbox__box svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: all var(--dur) var(--ease); }
.radio__box::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform var(--dur) var(--ease); }
.checkbox input:checked + .checkbox__box { background: var(--teal); border-color: var(--teal); }
.checkbox input:checked + .checkbox__box svg { opacity: 1; transform: scale(1); }
.radio input:checked + .radio__box { background: var(--teal); border-color: var(--teal); }
.radio input:checked + .radio__box::after { transform: scale(1); }
.checkbox input:focus-visible + .checkbox__box, .radio input:focus-visible + .radio__box { outline: 3px solid var(--teal-2); outline-offset: 2px; }
.checkbox a { text-decoration: underline; text-underline-offset: 2px; }

.form-status { font-size: var(--fs-sm); color: var(--muted); min-height: 1.4em; }
.form-status.is-error { color: var(--danger); font-weight: 500; }
.form-success {
  display: none;
  padding: 2rem;
  border-radius: var(--r-lg);
  background: var(--success-soft);
  border: 1px solid rgba(30, 138, 95, .25);
  text-align: center;
}
.form-success.is-visible { display: block; animation: fadeUp .5s var(--ease-out); }
.form-success .icon-badge { margin: 0 auto 1rem; background: var(--success); color: #fff; }
.form-success h3 { color: var(--navy); margin-bottom: .4rem; }
.form-success p { color: var(--muted); margin: 0; }
.form.is-submitted .form__fields { display: none; }
/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Form card wrapper */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.form-card--navy { background: var(--navy-2); border-color: rgba(255, 255, 255, .1); color: var(--on-dark); }
.form-card--navy .field__label { color: var(--on-dark); }
.form-card--navy .input, .form-card--navy .select, .form-card--navy .textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.form-card--navy .input::placeholder, .form-card--navy .textarea::placeholder { color: rgba(255, 255, 255, .45); }
.form-card--navy .checkbox { color: var(--on-dark-muted); }


/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--on-dark-muted);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 100% 0%, rgba(20, 163, 160, .14), transparent 60%);
  pointer-events: none;
}
.footer__main { position: relative; padding-block: clamp(3.5rem, 6vw, 5rem) clamp(2.5rem, 4vw, 3.5rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.25fr;
  gap: 2.5rem 2rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer__brand { max-width: 320px; }
.footer__brand .brand { margin-bottom: 1.1rem; }
.footer__brand p { font-size: var(--fs-sm); line-height: 1.65; margin-bottom: 1.4rem; }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { color: var(--on-dark-muted); font-size: var(--fs-sm); transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__col li { font-size: var(--fs-sm); line-height: 1.55; }
.footer__col li svg { width: 16px; height: 16px; stroke: var(--teal-3); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: .2rem; }
.footer__col li.with-icon { display: flex; gap: .6rem; align-items: flex-start; }
.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem;
  font-size: var(--fs-xs);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__bottom a { color: var(--on-dark-muted); }
.footer__bottom a:hover { color: #fff; }
.footer__note { width: 100%; color: rgba(255, 255, 255, .38); font-size: .74rem; }
.footer__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }

.social { display: flex; gap: .5rem; }
.social__link {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--on-dark-muted);
  transition: all var(--dur) var(--ease);
}
.social__link svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.social__link:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); }
.social--light .social__link { border-color: var(--line-strong); color: var(--navy); }


/* ==========================================================================
   12. UTILITIES
   ========================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0 !important; }  .mt-2 { margin-top: var(--s-2) !important; }  .mt-3 { margin-top: var(--s-3) !important; }
.mt-4 { margin-top: var(--s-4) !important; } .mt-5 { margin-top: var(--s-5) !important; } .mt-6 { margin-top: var(--s-6) !important; }
.mt-7 { margin-top: var(--s-7) !important; } .mt-8 { margin-top: var(--s-8) !important; } .mt-9 { margin-top: var(--s-9) !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: var(--s-2) !important; } .mb-3 { margin-bottom: var(--s-3) !important; }
.mb-4 { margin-bottom: var(--s-4) !important; } .mb-5 { margin-bottom: var(--s-5) !important; } .mb-6 { margin-bottom: var(--s-6) !important; }
.mb-7 { margin-bottom: var(--s-7) !important; } .mb-8 { margin-bottom: var(--s-8) !important; }
.mx-auto { margin-inline: auto; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--s-2); } .gap-3 { gap: var(--s-3); } .gap-4 { gap: var(--s-4); } .gap-5 { gap: var(--s-5); } .gap-6 { gap: var(--s-6); }
.w-full { width: 100%; }
.max-w-sm { max-width: 480px; } .max-w-md { max-width: 640px; } .max-w-lg { max-width: 820px; }
.rounded { border-radius: var(--r-lg); }
.rounded-xl { border-radius: var(--r-xl); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-1 { position: relative; z-index: 1; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1; }
.hide-desktop { display: none; }
.grain::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.grain > :not(.hero__bg, .cta-band__deco, .wave-edge) { position: relative; z-index: 1; }


/* ==========================================================================
   13. MOTION
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 200, 197, .55); } 70% { box-shadow: 0 0 0 8px rgba(94, 200, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 200, 197, 0); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-4%); } }

/* Reveal-on-scroll: hidden ONLY once JS has marked the document (html.js),
   so content is always visible without JavaScript or in static renders. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
html.js [data-reveal="left"] { transform: translateX(-28px); }
html.js [data-reveal="right"] { transform: translateX(28px); }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s !important; }
[data-reveal-delay="2"] { transition-delay: .16s !important; }
[data-reveal-delay="3"] { transition-delay: .24s !important; }
[data-reveal-delay="4"] { transition-delay: .32s !important; }
[data-reveal-delay="5"] { transition-delay: .40s !important; }
[data-reveal-delay="6"] { transition-delay: .48s !important; }
/* auto-stagger direct children of a grid marked data-reveal-stagger */
html.js [data-reveal-stagger] > [data-reveal]:nth-child(2) { transition-delay: .1s; }
html.js [data-reveal-stagger] > [data-reveal]:nth-child(3) { transition-delay: .2s; }
html.js [data-reveal-stagger] > [data-reveal]:nth-child(4) { transition-delay: .3s; }
html.js [data-reveal-stagger] > [data-reveal]:nth-child(5) { transition-delay: .4s; }
html.js [data-reveal-stagger] > [data-reveal]:nth-child(6) { transition-delay: .5s; }

.float { animation: floaty 7s ease-in-out infinite; }
.float--slow { animation-duration: 11s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .float { animation: none; }
}


/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__grid .footer__col:last-child { grid-column: 2 / -1; }
  .footer__grid .footer__col:last-child ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem 1.5rem; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .grid--4 { --cols: 2; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .stat-row--bordered .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .price-grid--4 { grid-template-columns: 1fr 1fr; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-4px); }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__copy { max-width: 640px; }
  .desk { margin-inline: auto; }
  .page-hero--split .page-hero__inner { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  :root { --section-y: clamp(3.5rem, 12vw, 5rem); }
  .hide-mobile { display: none !important; }
  .hide-desktop { display: initial; }
  .grid--2, .grid--3, .grid--4 { --cols: 1; }
  .split, .split--wide-text { grid-template-columns: 1fr; gap: 2rem; }
  .split--flip .split__media { order: 0; }
  .split--flip .split__body { order: 0; }
  .split__media { aspect-ratio: 16 / 11; }
  .split__media--tall { aspect-ratio: 4 / 4; }
  .framework { grid-template-columns: 1fr; }
  .steps, .steps--3 { grid-template-columns: 1fr; }
  .stat-row, .stat-row--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row--bordered .stat + .stat { border-left: 0; padding-left: 0; }
  .price-grid, .price-grid--4 { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .form-grid--2 { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .checklist--2col { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .footer__grid .footer__col:last-child { grid-column: 1 / -1; }
  .footer__grid .footer__col:last-child ul { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: .5rem .9rem; }
  .hero__trust li + li::before { display: none; }
  .desk { padding: 1.15rem; }
  .desk__kpis { gap: .45rem; }
  .desk__kpi { padding: .7rem .7rem; }
  .desk__kpi strong { font-size: 1.3rem; }
  /* chips stack above/below the desk instead of overlapping it */
  .desk-chip { position: static; width: fit-content; max-width: 100%; }
  .desk-chip--tl { margin: 0 0 .85rem auto; }
  .desk-chip--br { margin: .85rem 0 0; }
  .section__head--row { align-items: flex-start; flex-direction: column; }
  .tabs__list { width: 100%; border-radius: var(--r-md); }
  .tabs__tab { flex: 1 1 auto; justify-content: center; }
  .timeline::before { left: 22px; }
  .timeline__item { grid-template-columns: 1fr; gap: .4rem; padding-left: 3rem; }
  .timeline__item::before { left: 17px; top: 1.35rem; }
  .timeline__date { text-align: left; display: flex; align-items: baseline; gap: .5rem; }
  .timeline__date strong { font-size: 1.25rem; }
  .timeline__body { padding-left: 0; }
  .btn-row .btn { flex: 1 1 auto; }
  .cta-band .btn-row .btn { width: 100%; }
  .table-wrap { border-radius: var(--r-md); }
  .testimonial__quote--lg { font-size: 1.25rem; }
  .frame::before { inset: -8px -8px 8px 8px; }
}

@media (max-width: 420px) {
  .stat-row, .stat-row--3 { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .stat__value { font-size: 2.1rem; }
  .brand { font-size: 1.12rem; }
  .brand__mark { width: 34px; height: 34px; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band, .newsletter, .skip-link { display: none !important; }
  .section { padding-block: 1.5rem; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
