/* =============================================================================
   FireWire System Solutions
   Every value below traces to docs/design-system/FWSS-Design-System.md
   and the token sheet in "Design System.dc.html". Nothing here is invented.
   ============================================================================= */

/* ---------------------------------------------------------------- tokens */
:root{
  /* primary — orange */
  --color-primary-50:#FEF4E8;  --color-primary-100:#FDE4C9; --color-primary-200:#FBCB97;
  --color-primary-300:#F8AE60; --color-primary-400:#F59A38; --color-primary-500:#F1861B;
  --color-primary-600:#D97113; --color-primary-700:#B25A0E; --color-primary-800:#87440B;
  --color-primary-900:#5C2E08;
  /* secondary — navy */
  --color-secondary-50:#EAECF4;  --color-secondary-100:#CCD1E2; --color-secondary-200:#9DA6C5;
  --color-secondary-300:#6F7BA6; --color-secondary-400:#485586; --color-secondary-500:#2B3765;
  --color-secondary-600:#1F294E; --color-secondary-700:#171F3D; --color-secondary-800:#10162F;
  --color-secondary-900:#0A0E20;
  /* neutrals */
  --color-neutral-0:#FFFFFF;  --color-neutral-50:#F8F8F7;  --color-neutral-100:#F1F1EF;
  --color-neutral-200:#E4E4E1;--color-neutral-300:#CFCFCC; --color-neutral-400:#A4A4A0;
  --color-neutral-500:#7B7B77;--color-neutral-600:#5A5A57; --color-neutral-700:#3E3E3C;
  --color-neutral-800:#252523;--color-neutral-900:#131311;
  /* semantic */
  --color-success-50:#E9F6EE; --color-success-500:#2E9E5B; --color-success-700:#1E6E3E;
  --color-warning-50:#FDF6E4; --color-warning-500:#E3A912; --color-warning-700:#9C740B;
  --color-error-50:#FCEBE7;   --color-error-300:#EF9C86;   --color-error-500:#D64524; --color-error-700:#992F17;
  --color-info-50:#E9F0FB;    --color-info-500:#2D6CDF;    --color-info-700:#1D4A9E;
  /* surfaces */
  --bg-page:#FFFFFF; --bg-subtle:var(--color-neutral-50); --bg-dark:#0C0B09;
  --surface:var(--color-neutral-0); --surface-raised:var(--color-neutral-0);
  --border-default:var(--color-neutral-200); --border-strong:var(--color-neutral-300);
  /* text */
  --text-primary:var(--color-neutral-900); --text-secondary:var(--color-neutral-600);
  --text-muted:var(--color-neutral-400);   --text-inverse:#FFFFFF; --text-accent:var(--color-primary-500);
  /* type */
  --font-display:'Changa',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'Jost',system-ui,-apple-system,'Segoe UI',sans-serif;
  --fs-display:56px; --fs-h1:40px; --fs-h2:32px; --fs-h3:26px; --fs-h4:22px;
  --fs-h5:18px; --fs-h6:16px; --fs-body:15px; --fs-small:13px; --fs-caption:11px;
  --lh-tight:1.15; --lh-snug:1.3; --lh-body:1.7; --ls-caption:.08em; --ls-heading:0em;
  /* space */
  --space-xs:4px; --space-sm:8px; --space-md:16px; --space-lg:24px;
  --space-xl:32px; --space-2xl:48px; --space-3xl:64px;
  /* radius */
  --radius-none:0px; --radius-sm:4px; --radius-md:8px; --radius-lg:12px; --radius-pill:999px;
  /* elevation */
  --shadow-sm:0 1px 3px rgba(16,22,47,.08);
  --shadow-md:0 6px 18px rgba(16,22,47,.10);
  --shadow-lg:0 16px 40px rgba(16,22,47,.16);
  --shadow-focus:0 0 0 3px rgba(241,134,27,.30);
  --border-w:1px; --border-w-strong:2px;
  /* motion */
  --duration-fast:150ms; --duration-base:300ms; --duration-slow:600ms;
  --ease-out:cubic-bezier(.16,1,.3,1); --ease-in:cubic-bezier(.4,0,1,1);
  /* brand */
  --brand-red:#E23B2E; --brand-orange:#F1861B; --brand-yellow:#FFDD15;
  --gradient-brand:linear-gradient(135deg,#E23B2E 0%,#F1861B 45%,#FFDD15 100%);
  /* layout */
  --container:1240px; --nav-h:72px; --nav-h-shrunk:56px;
}

/* ------------------------------------------------------------------ icons */
/* Inline SVGs have no intrinsic size: without this an icon expands to fill
   whatever box it lands in. Contextual rules below override the default. */
.ico{width:20px;height:20px;flex:none;display:inline-block;vertical-align:middle}
.btn .ico{width:18px;height:18px}
.btn--lg .ico{width:20px;height:20px}
.alert .ico{width:18px;height:18px;margin-right:4px}
.badge .ico{width:13px;height:13px}
.checklist .ico,.card__link .ico{width:16px;height:16px}
.stars svg{width:16px;height:16px;flex:none}

/* ------------------------------------------------------------------ reset */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px);overflow-x:clip}
body{
  margin:0;background:var(--bg-page);color:var(--text-primary);
  font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-body);
  font-weight:400;-webkit-font-smoothing:antialiased;
}
/* NOTE: no overflow-x on <body>. It would make the body a scroll container and
   silently break position:sticky for the header. Horizontal overflow is clipped
   by `overflow-x:clip` on <html>, which does NOT create a scroll container. */
img,svg,video{max-width:100%;height:auto;display:block}
a{color:var(--color-primary-600);text-decoration:none}
a:hover{color:var(--color-primary-700)}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4,h5,h6{font-family:var(--font-display);font-weight:700;line-height:var(--lh-tight);margin:0 0 var(--space-md);color:var(--color-secondary-800)}
h1{font-size:clamp(32px,7vw,var(--fs-h1))}
h2{font-size:clamp(26px,5vw,var(--fs-h2))}
h3{font-size:clamp(22px,4vw,var(--fs-h3))}
h4{font-size:var(--fs-h4)} h5{font-size:var(--fs-h5)} h6{font-size:var(--fs-h6)}
p{margin:0 0 var(--space-md)}
ul,ol{margin:0 0 var(--space-md);padding-left:1.25em}
hr{border:0;border-top:var(--border-w) solid var(--border-default);margin:var(--space-2xl) 0}
:focus-visible{outline:none;box-shadow:var(--shadow-focus);border-radius:var(--radius-sm)}
::selection{background:var(--color-primary-200);color:var(--color-secondary-900)}

/* ----------------------------------------------------------------- layout */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--space-lg)}
.section{padding-block:clamp(48px,8vw,var(--space-3xl))}
.section--tight{padding-block:clamp(32px,5vw,var(--space-2xl))}
.section--subtle{background:var(--bg-subtle)}
.section--dark{background:var(--bg-dark);color:var(--text-inverse)}
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4{color:var(--text-inverse)}
.section--dark p{color:rgba(255,255,255,.78)}
.grid{display:grid;gap:var(--space-lg)}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr}
@media(min-width:768px){.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}
.split{display:grid;gap:var(--space-2xl);align-items:center}
@media(min-width:900px){.split{grid-template-columns:1fr 1fr}.split--wide{grid-template-columns:1.15fr .85fr;align-items:start}}
.stack>*+*{margin-top:var(--space-md)}
.flow-narrow{max-width:68ch}
.text-center{text-align:center}
.mx-auto{margin-inline:auto}

/* --------------------------------------------------------------- eyebrow */
.eyebrow{
  font-size:var(--fs-caption);letter-spacing:var(--ls-caption);text-transform:uppercase;
  font-weight:600;color:var(--text-accent);display:inline-flex;align-items:center;
  gap:var(--space-sm);margin-bottom:var(--space-sm);font-family:var(--font-body);
}
.eyebrow::before{content:"";width:24px;height:2px;background:var(--gradient-brand);border-radius:2px}
.section--dark .eyebrow{color:var(--color-primary-400)}
.lede{font-size:clamp(16px,2.2vw,19px);color:var(--text-secondary);line-height:1.6}
.section--dark .lede{color:rgba(255,255,255,.8)}

/* --------------------------------------------------------------- buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--space-sm);
  min-height:44px;padding:12px var(--space-lg);border-radius:var(--radius-sm);
  font-family:var(--font-body);font-weight:600;font-size:var(--fs-body);
  border:var(--border-w-strong) solid transparent;cursor:pointer;position:relative;
  overflow:hidden;text-align:center;
  transition:transform var(--duration-fast) var(--ease-out),
             box-shadow var(--duration-fast) var(--ease-out),
             background-color var(--duration-fast) var(--ease-out),
             color var(--duration-fast) var(--ease-out);
}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--color-primary-500);color:#fff;box-shadow:var(--shadow-sm)}
.btn--primary::after{
  content:"";position:absolute;inset:0;background:var(--gradient-brand);
  background-size:220% 100%;background-position:100% 0;opacity:0;
  transition:opacity var(--duration-base) var(--ease-out);z-index:0;
}
.btn--primary:hover{color:#fff;box-shadow:var(--shadow-md);transform:translateY(-2px)}
.btn--primary:hover::after{opacity:1;animation:flame-sweep 2.5s linear infinite}
.btn--primary>*{position:relative;z-index:1}
.btn--secondary{background:transparent;color:var(--color-secondary-800);border-color:var(--border-strong)}
.btn--secondary:hover{border-color:var(--color-primary-500);color:var(--color-primary-600);background:var(--color-primary-50)}
.btn--ghost{background:transparent;color:var(--color-primary-600);border-color:transparent}
.btn--ghost:hover{background:var(--color-primary-50)}
.btn--inverse{background:#fff;color:var(--color-secondary-800)}
.btn--inverse:hover{background:var(--color-primary-50);color:var(--color-primary-700)}
.btn--outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.btn--outline-light:hover{background:rgba(255,255,255,.1);border-color:#fff;color:#fff}
.btn--sm{min-height:36px;padding:6px var(--space-md);font-size:var(--fs-small)}
.btn--lg{min-height:52px;padding:14px var(--space-xl);font-size:17px}
.btn--block{display:flex;width:100%}
.btn[disabled],.btn.is-loading{opacity:.55;pointer-events:none}
.btn-row{display:flex;flex-wrap:wrap;gap:var(--space-md)}
@media(max-width:479px){.btn-row .btn{flex:1 1 100%}}

/* --------------------------------------------------------------- badges */
.badge{
  display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--radius-pill);
  font-size:var(--fs-caption);font-weight:600;letter-spacing:.03em;text-transform:uppercase;
}
.badge--accredited{background:var(--color-success-50);color:var(--color-success-700)}
.badge--pending{background:var(--color-warning-50);color:var(--color-warning-700)}
.badge--sabs{background:var(--color-info-50);color:var(--color-info-700)}
.badge--standard{background:var(--color-primary-50);color:var(--color-primary-700);text-transform:none;letter-spacing:0;font-size:var(--fs-small)}
.badge--stock{background:var(--color-success-50);color:var(--color-success-700)}
.badge--quote{background:var(--color-secondary-50);color:var(--color-secondary-600)}

/* the visible marker for anything the client has not yet verified */
.confirm-flag{
  display:inline-block;background:repeating-linear-gradient(45deg,#FDF6E4,#FDF6E4 6px,#FBEFD0 6px,#FBEFD0 12px);
  color:var(--color-warning-700);border:1px dashed var(--color-warning-500);
  padding:0 6px;border-radius:var(--radius-sm);font-size:.9em;font-weight:600;white-space:nowrap;
}

/* ---------------------------------------------------------------- topbar */
/* One row, one line per item. Hidden below 1024px, where the sticky call bar
   and the drawer carry the same information. */
.topbar{
  background:var(--color-secondary-800);color:rgba(255,255,255,.72);
  font-size:var(--fs-small);line-height:1;
}
.topbar__inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:var(--space-lg);height:40px;flex-wrap:nowrap;
}
.topbar__items{
  display:flex;align-items:center;flex-wrap:nowrap;min-width:0;
  gap:0 var(--space-lg);
}
/* Hairline separators instead of wide gaps — keeps four items on one row. */
.topbar__items>*+*{
  padding-left:var(--space-lg);
  box-shadow:inset 1px 0 0 rgba(255,255,255,.12);
}
.topbar__item{
  display:inline-flex;align-items:center;gap:6px;
  color:rgba(255,255,255,.78);white-space:nowrap;min-width:0;
}
.topbar__item>span{overflow:hidden;text-overflow:ellipsis}
.topbar__item .ico{width:15px;height:15px;color:var(--color-primary-500)}
a.topbar__item:hover{color:#fff}
a.topbar__item:hover .ico{color:var(--color-primary-400)}

.topbar__aside{display:flex;align-items:center;gap:var(--space-sm);flex:none}
.topbar__social{
  width:26px;height:26px;display:grid;place-items:center;border-radius:var(--radius-sm);
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.8);
  transition:background var(--duration-fast) var(--ease-out),color var(--duration-fast) var(--ease-out);
}
.topbar__social .ico{width:14px;height:14px}
.topbar__social:hover{background:var(--color-primary-500);color:#fff}
.topbar__cta{
  display:inline-flex;align-items:center;height:26px;padding:0 12px;
  border-radius:var(--radius-sm);background:var(--color-primary-500);color:#fff;
  font-size:var(--fs-caption);font-weight:600;letter-spacing:.02em;text-transform:uppercase;
  transition:background var(--duration-fast) var(--ease-out);
}
.topbar__cta:hover{background:var(--color-primary-600);color:#fff}

/* Drop the least-critical item first rather than let the row wrap. */
@media(max-width:1200px){.topbar__item--optional{display:none}}
@media(max-width:1023px){.topbar{display:none}}

/* ------------------------------------------------------------- site header */
/* Top bar + nav travel together and stay pinned. --header-h tracks the real
   height so anchor offsets and sticky sidebars stay correct as it shrinks. */
:root{--header-h:112px}
.site-header{position:sticky;top:0;z-index:100;background:#fff}
/* Zero-height marker just above the header. An IntersectionObserver watches it,
   which is far more reliable than sampling scroll events. */
.header-sentinel{position:absolute;top:0;left:0;width:1px;height:1px;pointer-events:none}
/* Below 1024px the top bar is hidden, so the header is the nav alone. */
@media(max-width:1023px){:root{--header-h:72px}}

/* ------------------------------------------------------------------- nav */
.nav{background:#fff;box-shadow:0 1px 0 var(--border-default);transition:box-shadow var(--duration-base) var(--ease-out)}
.nav.is-stuck{box-shadow:var(--shadow-md)}
.nav__inner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-lg);height:var(--nav-h);transition:height var(--duration-base) var(--ease-out)}
.nav.is-stuck .nav__inner{height:var(--nav-h-shrunk)}
.site-header.is-stuck{--header-h:96px}
.nav__logo{display:flex;align-items:center;flex:none}
.nav__logo img{height:44px;width:auto;transition:height var(--duration-base) var(--ease-out)}
.nav.is-stuck .nav__logo img{height:34px}
.nav__menu{display:none}
.nav__cta{display:none}
.nav__toggle{
  display:grid;place-items:center;width:44px;height:44px;background:none;border:0;cursor:pointer;
  border-radius:var(--radius-sm);
}
.nav__toggle span{display:block;width:22px;height:2px;background:var(--color-secondary-800);border-radius:2px;transition:transform var(--duration-base) var(--ease-out),opacity var(--duration-fast)}
.nav__toggle span+span{margin-top:5px}
.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)}

@media(min-width:1024px){
  .nav__toggle{display:none}
  .nav__menu{display:flex;align-items:center;gap:var(--space-xs);list-style:none;margin:0;padding:0}
  .nav__cta{display:inline-flex}
  .nav__link{
    display:flex;align-items:center;gap:4px;padding:10px 12px;border-radius:var(--radius-sm);
    font-weight:500;color:var(--color-secondary-800);white-space:nowrap;position:relative;
    transition:color var(--duration-fast) var(--ease-out);
  }
  .nav__link::after{
    content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;
    background:var(--gradient-brand);border-radius:2px;transform:scaleX(0);transform-origin:left;
    transition:transform var(--duration-base) var(--ease-out);
  }
  .nav__link:hover,.nav__item.is-active>.nav__link{color:var(--color-primary-600)}
  .nav__link:hover::after,.nav__item.is-active>.nav__link::after{transform:scaleX(1)}
  .nav__item{position:relative}
  .nav__sub{
    position:absolute;top:100%;left:0;min-width:290px;background:#fff;border-radius:var(--radius-md);
    box-shadow:var(--shadow-lg);border:var(--border-w) solid var(--border-default);
    padding:var(--space-sm);list-style:none;margin:0;
    opacity:0;visibility:hidden;transform:translateY(8px);
    transition:opacity var(--duration-base) var(--ease-out),transform var(--duration-base) var(--ease-out),visibility var(--duration-base);
  }
  .nav__item:hover .nav__sub,.nav__item:focus-within .nav__sub{opacity:1;visibility:visible;transform:translateY(0)}
  .nav__sub a{display:block;padding:9px 12px;border-radius:var(--radius-sm);color:var(--text-secondary);font-size:14px}
  .nav__sub a:hover{background:var(--color-primary-50);color:var(--color-primary-700)}
}

/* mobile drawer */
.drawer{
  position:fixed;inset:0 0 0 auto;width:min(88vw,380px);background:#fff;z-index:200;
  transform:translateX(100%);transition:transform var(--duration-base) var(--ease-out);
  overflow-y:auto;padding:var(--space-lg);box-shadow:var(--shadow-lg);
}
.drawer{visibility:hidden;pointer-events:none}
.drawer.is-open{transform:translateX(0);visibility:visible;pointer-events:auto}
.drawer__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-lg)}
.drawer__close{width:44px;height:44px;border:0;background:var(--color-neutral-100);border-radius:var(--radius-sm);cursor:pointer;font-size:20px}
.drawer ul{list-style:none;margin:0;padding:0}
.drawer li>a{display:block;padding:13px 8px;border-bottom:1px solid var(--border-default);font-weight:600;color:var(--color-secondary-800);min-height:44px}
.drawer li>a:hover{color:var(--color-primary-600)}
.drawer__sub{padding-left:var(--space-md) !important}
.drawer__sub a{font-weight:400 !important;font-size:14px;color:var(--text-secondary) !important;padding:10px 8px !important}
.scrim{position:fixed;inset:0;background:rgba(10,14,32,.55);z-index:199;opacity:0;visibility:hidden;transition:opacity var(--duration-base),visibility var(--duration-base);backdrop-filter:blur(2px)}
.scrim.is-open{opacity:1;visibility:visible}

/* ------------------------------------------------------------------ hero */
.hero{position:relative;isolation:isolate;color:#fff;overflow:hidden;background:var(--color-secondary-900)}
.hero__media{position:absolute;inset:0;z-index:-2;overflow:hidden}
.hero__media img{width:100%;height:100%;object-fit:cover;animation:ken-burns 18s ease-out both}
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(10,14,32,.86) 0%,rgba(10,14,32,.7) 45%,rgba(10,14,32,.88) 100%);
}
.hero__inner{position:relative;padding-block:clamp(64px,12vw,120px);max-width:820px}
.hero__title{
  font-size:clamp(32px,8vw,var(--fs-display));color:#fff;line-height:1.08;margin-bottom:var(--space-lg);
}
.hero__title .sweep{
  background:var(--gradient-brand);background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  animation:flame-sweep 3.5s var(--ease-out) infinite alternate;
}
.hero__lede{font-size:clamp(16px,2.4vw,20px);color:rgba(255,255,255,.85);margin-bottom:var(--space-xl);max-width:62ch}
.hero__trust{display:flex;flex-wrap:wrap;gap:var(--space-md) var(--space-xl);margin-top:var(--space-2xl);padding-top:var(--space-lg);border-top:1px solid rgba(255,255,255,.16)}
.hero__trust-item{display:flex;align-items:center;gap:var(--space-sm);font-size:var(--fs-small);color:rgba(255,255,255,.82)}
.hero__trust-item svg{width:20px;height:20px;color:var(--color-primary-400);flex:none}
/* ember bar: sits on the hero floor, under the angled cut */
.hero__flame{
  position:absolute;left:0;right:0;bottom:0;height:190px;z-index:0;
  pointer-events:none;line-height:0;
}
.hero__flame canvas{display:block;width:100%}
@media(max-width:767px){.hero__flame{height:130px}}

/* the angled cut under the hero, as in the reference layout */
.hero__cut{position:absolute;left:0;right:0;bottom:-1px;z-index:1;line-height:0}
.hero__cut svg{width:100%;height:clamp(28px,5vw,64px);display:block}

/* page banner (interior pages) */
.banner{position:relative;background:var(--color-secondary-800);color:#fff;padding-block:clamp(40px,7vw,72px);overflow:hidden}
.banner::after{content:"";position:absolute;inset:0;background:var(--gradient-brand);opacity:.10;mix-blend-mode:screen}
.banner__flame{position:absolute;left:0;right:0;bottom:0;height:120px;z-index:0;pointer-events:none;line-height:0}
.banner__flame canvas{display:block;width:100%}
@media(max-width:767px){.banner__flame{height:80px}}
.banner__inner{position:relative;z-index:1}
.banner h1{color:#fff;margin-bottom:var(--space-sm)}
.banner p{color:rgba(255,255,255,.78);max-width:70ch;margin:0}
.crumbs{display:flex;flex-wrap:wrap;gap:var(--space-sm);font-size:var(--fs-small);color:rgba(255,255,255,.6);margin-bottom:var(--space-md);list-style:none;padding:0}
.crumbs a{color:rgba(255,255,255,.8)}
.crumbs a:hover{color:var(--color-primary-400)}
.crumbs li+li::before{content:"/";margin-right:var(--space-sm);color:rgba(255,255,255,.35)}

/* ----------------------------------------------------------------- cards */
.card{
  background:var(--surface);border:var(--border-w) solid var(--border-default);
  border-radius:var(--radius-md);padding:var(--space-lg);box-shadow:var(--shadow-sm);
  transition:transform var(--duration-base) var(--ease-out),box-shadow var(--duration-base) var(--ease-out),border-color var(--duration-base);
  display:flex;flex-direction:column;height:100%;position:relative;overflow:hidden;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--color-primary-200)}
.card__icon{
  width:52px;height:52px;border-radius:var(--radius-md);display:grid;place-items:center;
  background:var(--color-primary-50);color:var(--color-primary-600);margin-bottom:var(--space-md);flex:none;
  transition:box-shadow var(--duration-base) var(--ease-out);
}
.card__icon svg{width:26px;height:26px}
.card:hover .card__icon{animation:ember-pulse 1.6s var(--ease-out)}
.card h3{font-size:var(--fs-h5);margin-bottom:var(--space-sm)}
.card p{color:var(--text-secondary);font-size:14px;margin-bottom:var(--space-md)}
.card__foot{margin-top:auto;padding-top:var(--space-sm);display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm)}
.card__link{font-weight:600;font-size:14px;color:var(--color-primary-600);display:inline-flex;align-items:center;gap:6px}
.card__link svg{width:16px;height:16px;transition:transform var(--duration-fast) var(--ease-out)}
.card:hover .card__link svg{transform:translateX(4px)}
/* the reference layout's accent rule across the top of a service card */
.card--service::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--gradient-brand);transform:scaleX(0);transform-origin:left;transition:transform var(--duration-base) var(--ease-out)}
.card--service:hover::before,.card--service.is-featured::before{transform:scaleX(1)}
.card--featured{background:var(--color-primary-500);border-color:var(--color-primary-500);color:#fff}
.card--featured h3,.card--featured p{color:#fff}
.card--featured p{color:rgba(255,255,255,.88)}
.card--featured .card__icon{background:rgba(255,255,255,.16);color:#fff}
.card--featured .card__link{color:#fff}
.section--dark .card{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12);color:#fff}
.section--dark .card h3{color:#fff}
.section--dark .card p{color:rgba(255,255,255,.72)}
.section--dark .card__icon{background:rgba(241,134,27,.18);color:var(--color-primary-400)}

/* ------------------------------------------------------------- checklist */
.checklist{list-style:none;padding:0;margin:0 0 var(--space-lg)}
.checklist li{position:relative;padding-left:32px;margin-bottom:var(--space-sm);color:var(--text-secondary)}
.checklist li::before{
  content:"";position:absolute;left:0;top:.45em;width:18px;height:18px;border-radius:var(--radius-pill);
  background:var(--color-success-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E9E5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.section--dark .checklist li{color:rgba(255,255,255,.78)}
.steplist{list-style:none;counter-reset:s;padding:0;margin:0}
.steplist li{counter-increment:s;position:relative;padding-left:52px;margin-bottom:var(--space-lg)}
.steplist li::before{
  content:counter(s);position:absolute;left:0;top:-2px;width:36px;height:36px;border-radius:var(--radius-pill);
  background:var(--gradient-brand);color:#fff;display:grid;place-items:center;font-family:var(--font-display);font-weight:700;
}

/* ------------------------------------------------------------------ stats */
.stats{display:grid;gap:var(--space-lg);grid-template-columns:repeat(2,1fr)}
@media(min-width:900px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat{text-align:center;padding:var(--space-lg) var(--space-md)}
.stat__value{font-family:var(--font-display);font-size:clamp(32px,6vw,48px);font-weight:800;line-height:1;
  background:var(--gradient-brand);-webkit-background-clip:text;background-clip:text;color:transparent}
.stat__label{font-size:var(--fs-small);color:var(--text-secondary);margin-top:var(--space-sm);display:block}
.section--dark .stat__label{color:rgba(255,255,255,.7)}

/* experience badge, as in the reference layout */
.exp-badge{
  position:absolute;left:var(--space-lg);bottom:calc(-1 * var(--space-xl));background:#fff;
  border-radius:var(--radius-md);box-shadow:var(--shadow-lg);padding:var(--space-md) var(--space-lg);
  display:flex;align-items:center;gap:var(--space-md);z-index:2;
}
.exp-badge__icon{width:44px;height:44px;border-radius:var(--radius-md);background:var(--color-primary-50);color:var(--color-primary-600);display:grid;place-items:center;flex:none}
.exp-badge__value{font-family:var(--font-display);font-size:26px;font-weight:800;color:var(--color-primary-500);line-height:1}
.exp-badge__label{font-size:var(--fs-caption);letter-spacing:var(--ls-caption);text-transform:uppercase;color:var(--text-secondary);font-weight:600}

/* --------------------------------------------------------- media collage */
.collage{position:relative;padding-bottom:var(--space-2xl)}
.collage__main{border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:4/3}
.collage__main img{width:100%;height:100%;object-fit:cover}
.collage__inset{
  position:absolute;right:calc(-1 * var(--space-md));bottom:var(--space-2xl);width:46%;
  border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-lg);border:4px solid #fff;aspect-ratio:1;
}
.collage__inset img{width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.collage__inset{width:52%;right:0}}

/* ------------------------------------------------------------ accreditation */
.accred-strip{display:flex;flex-wrap:wrap;gap:var(--space-md);align-items:stretch}
.accred{
  display:flex;align-items:center;gap:var(--space-md);padding:var(--space-md);border-radius:var(--radius-md);
  border:var(--border-w) solid var(--border-default);background:#fff;flex:1 1 240px;min-width:0;
  transition:border-color var(--duration-base),box-shadow var(--duration-base);
}
.accred:hover{border-color:var(--color-primary-300);box-shadow:var(--shadow-sm)}
.accred__mark{width:44px;height:44px;border-radius:var(--radius-sm);background:var(--color-secondary-50);color:var(--color-secondary-600);
  display:grid;place-items:center;font-family:var(--font-display);font-weight:800;font-size:13px;flex:none;letter-spacing:.02em}
.accred__body{min-width:0}
.accred__name{font-weight:600;font-size:14px;color:var(--color-secondary-800);display:block;line-height:1.3}
.accred__meta{font-size:var(--fs-caption);color:var(--text-muted)}

/* --------------------------------------------------------------- reviews */
.reviews{display:grid;gap:var(--space-lg)}
@media(min-width:768px){.reviews{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.reviews{grid-template-columns:repeat(3,1fr)}}
.review{background:#fff;border:var(--border-w) solid var(--border-default);border-radius:var(--radius-md);padding:var(--space-lg);display:flex;flex-direction:column;gap:var(--space-md)}
.review__head{display:flex;align-items:center;gap:var(--space-md)}
.review__avatar{width:44px;height:44px;border-radius:var(--radius-pill);object-fit:cover;background:var(--color-neutral-100);flex:none}
.review__avatar--letter{display:grid;place-items:center;font-family:var(--font-display);font-weight:700;color:var(--color-primary-600);background:var(--color-primary-50)}
.review__name{font-weight:600;font-size:14px;color:var(--color-secondary-800)}
.review__date{font-size:var(--fs-caption);color:var(--text-muted)}
.review__body{color:var(--text-secondary);font-size:14px;margin:0}
.stars{display:inline-flex;gap:2px;color:var(--color-warning-500)}
.stars svg{width:16px;height:16px;fill:currentColor}
.rating-summary{display:flex;align-items:center;gap:var(--space-md);flex-wrap:wrap}
.rating-summary__score{font-family:var(--font-display);font-size:44px;font-weight:800;line-height:1;color:var(--color-secondary-800)}

/* ------------------------------------------------------------------ forms */
.field{margin-bottom:var(--space-md)}
.field label{display:block;font-size:var(--fs-small);font-weight:600;color:var(--color-secondary-800);margin-bottom:6px}
.field .req{color:var(--color-error-500)}
.input,.select,.textarea{
  width:100%;min-height:44px;padding:11px var(--space-md);border-radius:var(--radius-sm);
  border:var(--border-w) solid var(--border-strong);background:#fff;color:var(--text-primary);
  transition:border-color var(--duration-fast),box-shadow var(--duration-fast);
}
.textarea{min-height:120px;resize:vertical}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--color-primary-500);box-shadow:var(--shadow-focus)}
.input[aria-invalid="true"],.textarea[aria-invalid="true"],.select[aria-invalid="true"]{border-color:var(--color-error-500);background:var(--color-error-50)}
.field__error{display:block;color:var(--color-error-700);font-size:var(--fs-small);margin-top:5px}
.field__hint{display:block;color:var(--text-muted);font-size:var(--fs-small);margin-top:5px}
.field-row{display:grid;gap:var(--space-md)}
@media(min-width:600px){.field-row--2{grid-template-columns:1fr 1fr}.field-row--3{grid-template-columns:repeat(3,1fr)}}
/* label.check, not .check: `.field label` above is more specific (0,1,1) and
   would otherwise win the `display` declaration and break the layout. */
label.check{display:flex;gap:var(--space-sm);align-items:flex-start;font-size:var(--fs-small);color:var(--text-secondary)}
label.check>span{flex:1;min-width:0}
.check input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--color-primary-500)}
/* honeypot — off-screen rather than display:none, which some bots detect */
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.alert{padding:var(--space-md);border-radius:var(--radius-sm);margin-bottom:var(--space-lg);border-left:4px solid;font-size:14px}
.alert--success{background:var(--color-success-50);border-color:var(--color-success-500);color:var(--color-success-700)}
.alert--error{background:var(--color-error-50);border-color:var(--color-error-500);color:var(--color-error-700)}
.alert--info{background:var(--color-info-50);border-color:var(--color-info-500);color:var(--color-info-700)}
.alert--warning{background:var(--color-warning-50);border-color:var(--color-warning-500);color:var(--color-warning-700)}

/* ------------------------------------------------------------------- shop */
.product-card{background:#fff;border:var(--border-w) solid var(--border-default);border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column;transition:transform var(--duration-base) var(--ease-out),box-shadow var(--duration-base) var(--ease-out)}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.product-card__media{aspect-ratio:4/3;background:var(--color-neutral-100);display:grid;place-items:center;overflow:hidden;position:relative}
.product-card__media img{width:100%;height:100%;object-fit:cover;transition:transform 600ms var(--ease-out)}
.product-card:hover .product-card__media img{transform:scale(1.05)}
.product-card__body{padding:var(--space-md);display:flex;flex-direction:column;gap:var(--space-sm);flex:1}
.product-card__name{font-family:var(--font-display);font-weight:700;font-size:16px;color:var(--color-secondary-800);margin:0}
.product-card__price{font-family:var(--font-display);font-size:20px;font-weight:800;color:var(--color-primary-600)}
.product-card__foot{margin-top:auto;padding-top:var(--space-sm)}
.price-tag{font-family:var(--font-display);font-size:32px;font-weight:800;color:var(--color-primary-600)}
.cart-table{width:100%;border-collapse:collapse}
.cart-table th{text-align:left;font-size:var(--fs-caption);letter-spacing:var(--ls-caption);text-transform:uppercase;color:var(--text-muted);padding:var(--space-sm);border-bottom:2px solid var(--border-default)}
.cart-table td{padding:var(--space-md) var(--space-sm);border-bottom:1px solid var(--border-default);vertical-align:middle}
.qty{width:76px;text-align:center}
.totals{background:var(--bg-subtle);border-radius:var(--radius-md);padding:var(--space-lg)}
.totals__row{display:flex;justify-content:space-between;padding:var(--space-sm) 0;font-size:14px;color:var(--text-secondary)}
.totals__row--total{border-top:2px solid var(--border-default);margin-top:var(--space-sm);padding-top:var(--space-md);font-size:18px;font-weight:700;color:var(--color-secondary-800);font-family:var(--font-display)}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ------------------------------------------------------------------- misc */
.tabs{display:flex;gap:var(--space-sm);flex-wrap:wrap;border-bottom:2px solid var(--border-default);margin-bottom:var(--space-xl)}
.tab{padding:10px var(--space-md);border:0;background:none;cursor:pointer;font-weight:600;color:var(--text-secondary);border-bottom:3px solid transparent;margin-bottom:-2px;min-height:44px}
.tab.is-active{color:var(--color-primary-600);border-bottom-color:var(--color-primary-500)}
.accordion{border:var(--border-w) solid var(--border-default);border-radius:var(--radius-md);overflow:hidden;background:#fff}
.accordion+.accordion{margin-top:var(--space-sm)}
.accordion__btn{width:100%;text-align:left;padding:var(--space-md) var(--space-lg);background:none;border:0;cursor:pointer;font-weight:600;color:var(--color-secondary-800);display:flex;justify-content:space-between;gap:var(--space-md);align-items:center;min-height:56px;font-size:15px}
.accordion__btn:hover{background:var(--color-primary-50)}
.accordion__icon{flex:none;width:20px;height:20px;transition:transform var(--duration-base) var(--ease-out);color:var(--color-primary-500)}
.accordion[open] .accordion__icon{transform:rotate(45deg)}
.accordion__body{padding:0 var(--space-lg) var(--space-lg);color:var(--text-secondary);font-size:14px}
.cta-band{background:var(--gradient-brand);color:#fff;border-radius:var(--radius-lg);padding:clamp(28px,5vw,var(--space-3xl));text-align:center;position:relative;overflow:hidden}
.cta-band h2{color:#fff}
.cta-band p{color:rgba(255,255,255,.9);max-width:60ch;margin-inline:auto}
.prose{max-width:72ch}
.prose h2{margin-top:var(--space-2xl)}
.prose h3{margin-top:var(--space-xl);font-size:var(--fs-h4)}
.prose ul{padding-left:1.2em}
.prose li{margin-bottom:var(--space-sm);color:var(--text-secondary)}
.map-embed{border-radius:var(--radius-md);overflow:hidden;border:var(--border-w) solid var(--border-default);aspect-ratio:16/9;background:var(--color-neutral-100)}
.map-embed iframe{width:100%;height:100%;border:0}

/* ----------------------------------------------------------------- footer */
.footer{background:var(--bg-dark);color:rgba(255,255,255,.72);padding-block:var(--space-3xl) var(--space-lg);position:relative;overflow:hidden}
.footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--gradient-brand)}
.footer__grid{display:grid;gap:var(--space-2xl);margin-bottom:var(--space-2xl)}
@media(min-width:768px){.footer__grid{grid-template-columns:1.4fr 1fr 1fr}}
@media(min-width:1024px){.footer__grid{grid-template-columns:1.6fr 1fr 1fr 1.2fr}}
.footer h4{color:#fff;font-size:var(--fs-h6);margin-bottom:var(--space-md);letter-spacing:.02em}
.footer a{color:rgba(255,255,255,.72)}
.footer a:hover{color:var(--color-primary-400)}
.footer ul{list-style:none;padding:0;margin:0}
.footer li{margin-bottom:10px;font-size:14px}
.footer__logo{height:52px;width:auto;margin-bottom:var(--space-md)}
.footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:var(--space-lg);display:flex;flex-wrap:wrap;gap:var(--space-md);justify-content:space-between;font-size:var(--fs-small);color:rgba(255,255,255,.5)}
.footer__contact-item{display:flex;gap:var(--space-sm);align-items:flex-start;margin-bottom:var(--space-md);font-size:14px}
.footer__contact-item svg{width:18px;height:18px;color:var(--color-primary-500);flex:none;margin-top:3px}

/* ------------------------------------------------------- floating actions */
/* the mobile sticky call bar — phone is the primary conversion */
.call-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:160;display:grid;grid-template-columns:1fr 1fr;
  background:var(--color-secondary-800);box-shadow:0 -4px 20px rgba(0,0,0,.28);
  padding-bottom:env(safe-area-inset-bottom);
}
.call-bar a{display:flex;align-items:center;justify-content:center;gap:var(--space-sm);min-height:56px;color:#fff;font-weight:600;font-size:14px}
.call-bar a+a{border-left:1px solid rgba(255,255,255,.14)}
.call-bar a:first-child{background:var(--color-primary-500)}
.call-bar .ico{width:20px;height:20px}
@media(min-width:768px){.call-bar{display:none}}
@media(max-width:767px){
  body{padding-bottom:56px}
}

/* -------------------------------------------------------------- animation */
/* 1. Rise — scroll reveal */
[data-reveal]{opacity:0;transform:translateY(24px);
  transition:opacity var(--duration-slow) var(--ease-out),transform var(--duration-slow) var(--ease-out)}
[data-reveal].is-in{opacity:1;transform:none}
/* 2. Flame sweep */
@keyframes flame-sweep{from{background-position:0% 0}to{background-position:100% 0}}
/* 3. Ignite — ember ring */
@keyframes ember-pulse{
  0%{box-shadow:0 0 0 0 rgba(241,134,27,.45)}
  70%{box-shadow:0 0 0 14px rgba(241,134,27,0)}
  100%{box-shadow:0 0 0 0 rgba(241,134,27,0)}
}
@keyframes ken-burns{from{transform:scale(1.12)}to{transform:scale(1)}}
@keyframes spin{to{transform:rotate(360deg)}}
.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}
.progress{height:6px;background:var(--color-neutral-200);border-radius:var(--radius-pill);overflow:hidden}
.progress__bar{height:100%;background:var(--gradient-brand);border-radius:var(--radius-pill);width:0;transition:width 900ms var(--ease-out)}

@media(max-width:767px){
  [data-reveal]{transition-duration:var(--duration-base)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  [data-reveal]{opacity:1;transform:none}
  .hero__media img{animation:none}
  .hero__title .sweep{animation:none;background-position:0 0}
}

/* ------------------------------------------------------------------ print */
@media print{
  .nav,.topbar,.footer,.call-bar,.drawer,.scrim,.cta-band{display:none!important}
  body{color:#000}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:11px}
}
