/* ============================================================================
   Client Strategy Group — rebuilt stylesheet
   ----------------------------------------------------------------------------
   Every colour, texture and proportion below is taken from the company's own
   theme files (kept in _tools/archive/theme-css/) and from pixel samples of the
   company's own artwork. Nothing here is invented:

     accent blue     #4988c9   .rect_blue.gif, blue_partten_left.gif
     accent blue lt  #9cc6f2   rectangles.png, subpage.css
     accent green    #8ad411   .rect_green.gif
     accent green lt #9bd739   green_partten_left.gif
     accent orange   #f5510b   .rect_orange.gif, orange-pattern-left.gif
     deep green      #426804   rectangles.png
     deep orange     #872c05   rectangles.png
     ink / dark      #000000   frontpage.css body background
     panel dark      #1a1a1a   subpage.css sidebar
     greys           #c0c0c0 #909090 #6e6e6e  subpage.css / layout.css
     headline face   Arial / Verdana, uppercase, bold   layout.css

   The original was a fixed 960 px black page. This rebuild keeps the black
   hero, the three colour strips and the colour-coded sections, and moves the
   page bodies onto paper so the site reads light rather than heavy.
   ========================================================================== */

:root {
  --blue: #4988c9;
  --blue-lt: #9cc6f2;
  --blue-dk: #2f5f92;
  --green: #8ad411;
  --green-lt: #9bd739;
  --green-dk: #426804;
  --orange: #f5510b;
  --orange-lt: #f28233;
  --orange-dk: #872c05;
  --ink: #000000;
  --dark: #0a0a0a;
  --dark-2: #1a1a1a;
  --dark-3: #262626;
  --grey: #6e6e6e;
  --grey-2: #909090;
  --grey-3: #c0c0c0;
  --line: #e3e6ea;
  --paper: #ffffff;
  --paper-2: #f7f8fa;
  --paper-3: #eef1f5;
  --text: #1c1f24;
  --text-soft: #5c636e;
  --wrap: 1140px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 20px rgba(0, 0, 0, .06);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .08), 0 18px 44px rgba(0, 0, 0, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: Arial, Helvetica, "Liberation Sans", sans-serif;
  --font-head: Verdana, Geneva, "Liberation Sans", Arial, sans-serif;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper-2); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; margin: 0 0 .6rem; color: var(--text); }
h1 { font-size: clamp(1.6rem, 3.1vw, 2.45rem); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.95rem); text-transform: uppercase; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }

.wrap { width: min(var(--wrap), 91vw); margin-inline: auto; }
.wrap-narrow { width: min(820px, 91vw); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: #fff; padding: .7rem 1.1rem; z-index: 999; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; }
.center { text-align: center; }
.muted { color: var(--text-soft); }
.small { font-size: .9rem; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 1.9rem; } .mt-4 { margin-top: 2.6rem; }
.narrow { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; margin: 0 0 .55rem; color: var(--grey);
}
.eyebrow.blue { color: var(--blue); } .eyebrow.green { color: var(--green-dk); } .eyebrow.orange { color: var(--orange); }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--text-soft); max-width: 62ch; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p, .on-dark .lede { color: #c9cdd3; }
.on-dark .eyebrow { color: var(--grey-3); }

/* =================================================================== header */
.site-header {
  position: sticky; top: 0; z-index: 200; background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; }
.brand { margin-right: auto; display: block; flex: 0 0 auto; }
.brand img { width: 132px; height: auto; }
.nav ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; margin: 0; }
.nav a {
  display: block; padding: .58rem .82rem; color: var(--grey-3);
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 4px;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .09); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 3px; margin-top: .3rem; background: var(--orange); border-radius: 2px; }
.nav .has-sub > a::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-right: .42rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .65;
}
.nav .submenu {
  position: absolute; top: calc(100% + 6px); left: 0; display: block; gap: 0;
  width: auto; min-width: 250px; max-width: min(320px, calc(100vw - 2rem));
  background: var(--paper); border-radius: 8px; box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--blue);
  padding: .45rem; margin: 0; list-style: none; opacity: 0; visibility: hidden;
  transform: translateY(6px); z-index: 10;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu a { color: var(--text); font-family: var(--font); font-size: .9rem; font-weight: 400; letter-spacing: 0; text-transform: none; padding: .48rem .7rem; white-space: normal; }
.nav .submenu a:hover { background: var(--paper-2); color: var(--orange); }
.nav > ul > li:nth-last-child(-n+2) > .submenu { left: auto; right: 0; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .25);
  background: none; border-radius: 6px; cursor: pointer; padding: 0;
  place-items: center; gap: 4px; align-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; margin: 2px auto; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer {
  position: fixed; inset: 0 0 auto; z-index: 190; background: var(--dark-2);
  padding: 1.4rem 0 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, .12);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  max-height: 100vh; overflow-y: auto;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.drawer li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.drawer a { display: block; padding: .85rem .2rem; color: #e6e9ed; font-family: var(--font-head); font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.drawer a:hover { color: #fff; text-decoration: none; }
.drawer li.sub a { padding-left: 1.3rem; font-size: .86rem; color: var(--grey-3); }
body.no-scroll { overflow: hidden; }

/* ================================================================= buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .78rem 1.4rem; border: 0; border-radius: 4px;
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; line-height: 1;
  transition: transform .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dk); color: #fff; }
.btn-green { background: var(--green); color: #16260a; }
.btn-green:hover { background: var(--green-lt); color: #16260a; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dk); color: #fff; }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--orange); color: var(--orange); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.link-arrow { font-family: var(--font-head); font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--orange); }
.link-arrow::after { content: "\2192"; margin-left: .4rem; display: inline-block; transition: transform .18s var(--ease); }
.link-arrow:hover { text-decoration: none; color: var(--orange-dk); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--grey-3); }
.on-dark .link-arrow:hover { color: #fff; }

/* ==================================================================== hero */
/* The original hero: a cut-out portrait on the black background with a
   colour-textured strip sliding up under it, and three colour dot buttons. */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero .bg {
  position: absolute; inset: 0; background: url("../img/body_bg.jpg") no-repeat center top;
  background-size: cover; opacity: .85;
}
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .88)); }
.hero-inner { position: relative; z-index: 2; padding: clamp(2.4rem, 5vw, 4rem) 0 0; }
.hero-stage { position: relative; min-height: 340px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-slide .inner { display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); grid-template-columns: 1fr; align-items: end; }
.hero-face { position: relative; text-align: center; }
.hero-face img { width: min(430px, 78vw); margin: 0 auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .5)); }
.hero-name { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-3); margin: .2rem 0 0; }
.hero-name em { font-style: normal; font-weight: 400; color: var(--grey-2); }
.hero-credit { position: absolute; right: 1.1rem; top: -1.05rem; font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.strip-green .hero-credit, .strip-orange .hero-credit { color: rgba(255, 255, 255, .9); }
.hero-copy h1 { font-size: clamp(1.5rem, 3.4vw, 2.5rem); margin: 0 0 .2rem; color: #fff; }

.hero-copy .strip {
  position: relative; display: block; margin: 1.4rem 0 0; padding: 1.5rem clamp(1.2rem, 3vw, 2.2rem) 1.7rem;
  color: #fff;
}
.hero-copy .strip h2 { font-size: clamp(1.25rem, 2.9vw, 2.05rem); color: #fff; margin: 0; text-transform: uppercase; }
.hero-copy .strip h2 .hl { display: block; color: #fff; }
.hero-copy .strip .cta { display: inline-block; margin-top: 1.1rem; font-family: var(--font-head); font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; padding-right: 1.8rem; background-repeat: no-repeat; background-position: right center; }
.hero-copy .strip .cta:hover { text-decoration: underline; }
/* The original highlight colours, read from layout.css:
   .strip h1 { color:#fff } and the span inside it carries the accent. */
/* The original strips were three layers: a repeating centre tile with a wider
   left cap and right cap over the ends (layout.css: .blue_strip .left/.right).
   All three files survived, so all three are used, here as a background stack
   so the caps cannot sit on top of the headline. */
.strip-blue {
  background-color: #4988c9;
  background-image: url("../img/blue_partten_left.gif"), url("../img/blue_partten_right.gif"), url("../img/blue_partten.gif");
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: left center, right center, 0 0;
  background-size: 180px 100%, 180px 100%, auto;
}
.strip-blue .hl { color: #9bc3ed; }
.strip-blue .cta { background-image: url("../img/arrow.gif"); color: #9cc6f2; }
.strip-green {
  background-color: #9bd739;
  background-image: url("../img/green_partten_left.gif"), url("../img/green_partten_right.gif"), url("../img/green_partten.gif");
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: left center, right center, 0 0;
  background-size: 180px 100%, 180px 100%, auto;
}
.strip-green h2 { color: #fff; text-shadow: 1px 1px 1px rgba(0, 0, 0, .4); }
.strip-green .hl { color: #4f790c; }
.strip-green .cta { background-image: url("../img/arrow_green.gif"); color: #426804; }
.strip-orange {
  background-color: #f5510b;
  background-image: url("../img/orange-pattern-left.gif"), url("../img/orange-pattern-right.gif"), url("../img/orange-pattern.gif");
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: left center, right center, 0 0;
  background-size: 180px 100%, 180px 100%, auto;
}
.strip-orange h2 { color: #fff; text-shadow: 1px 1px 1px rgba(0, 0, 0, .35); }
.strip-orange .hl { color: #872c05; }
.strip-orange .cta { background-image: url("../img/arrow_red.gif"); color: #642205; }
.strip .cta:hover { color: #fff; }
.hero-dots { display: flex; gap: .45rem; justify-content: center; list-style: none; margin: 1.6rem 0 0; padding: 0; position: relative; z-index: 3; }
.hero-dots button {
  width: 22px; height: 22px; border: 0; padding: 0; cursor: pointer; background: url("../img/csg-button-sprites.jpg") no-repeat;
}
.hero-dots button[data-c="blue"] { background-position: 18px 0; }
.hero-dots button[data-c="green"] { background-position: 42px 0; }
.hero-dots button[data-c="orange"] { background-position: 0 0; }
.hero-dots button.is-active[data-c="blue"] { background-position: 18px -23px; }
.hero-dots button.is-active[data-c="green"] { background-position: 42px -23px; }
.hero-dots button.is-active[data-c="orange"] { background-position: 0 -23px; }
.hero-dots button:hover { filter: brightness(1.25); }
.hero-trio { position: relative; z-index: 2; padding: 0 0 clamp(2rem, 4vw, 3rem); }
.hero-trio .grid { margin-top: 0; }
.slide-count { position: relative; z-index: 3; display: flex; gap: 1rem; justify-content: center; align-items: center; padding-bottom: 1.4rem; }

/* =========================================================== page hero/top */
.page-hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background: url("../img/body_bg_sub.jpg") no-repeat center top; background-size: cover; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .9)); }
.page-hero .wrap { position: relative; z-index: 2; padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.8rem, 4vw, 2.8rem); }
.page-hero h1 { margin: 0 0 .5rem; color: #fff; }
.page-hero .lede { color: #c9cdd3; margin: 0; }
.page-hero .title-bar { height: 14px; margin-top: 1.6rem; }
.title-bar.blue { background: url("../img/blue_partten.gif") repeat, var(--blue); }
.title-bar.green { background: url("../img/green_partten.gif") repeat, var(--green-lt); }
.title-bar.orange { background: url("../img/orange-pattern.gif") repeat, var(--orange); }
.breadcrumb { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-2); margin: 0 0 .8rem; }
.breadcrumb a { color: var(--grey-3); }
.breadcrumb span { color: var(--grey); margin: 0 .4rem; }

/* ================================================================ sections */
.section { padding: clamp(2.4rem, 5.2vw, 4.2rem) 0; }
.section-soft { background: var(--paper-2); }
.section-white { background: var(--paper); }
.section-dark { background: var(--dark); }
.section-dark-2 { background: var(--dark-2); }
.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.section-head.center { margin-inline: auto; text-align: center; max-width: 62ch; }
.section-head.center .lede { margin-inline: auto; }
.section-head h2 { position: relative; }
.rule-blue, .rule-green, .rule-orange { height: 5px; width: 62px; border-radius: 3px; margin: 0 0 1.1rem; }
.rule-blue { background: var(--blue); } .rule-green { background: var(--green); } .rule-orange { background: var(--orange); }
.center .rule-blue, .center .rule-green, .center .rule-orange { margin-inline: auto; }

.grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(1.8rem, 4.4vw, 3.4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-wide { grid-template-columns: 1.05fr .95fr; } .split-narrow { grid-template-columns: .92fr 1.08fr; } }

/* =================================================================== cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem 1.6rem; }
.card h3 { margin-top: 0; }
.card-flat { box-shadow: none; }
.card-lift { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.card-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-blue { border-top: 5px solid var(--blue); }
.card-green { border-top: 5px solid var(--green); }
.card-orange { border-top: 5px solid var(--orange); }
.card-blue h3 { color: var(--blue-dk); }
.card-green h3 { color: var(--green-dk); }
.card-orange h3 { color: var(--orange-dk); }

/* media card */
.media-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.media-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-card .body { padding: 1.1rem 1.3rem 1.3rem; }
.media-card .body h3 { margin: 0 0 .3rem; font-size: 1rem; }
.media-card .body p { margin: 0; }

/* service group with the original coloured left stripe */
.group-box { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem 1.8rem 1.8rem 2.1rem; overflow: hidden; }
.group-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; }
.group-box.blue::before { background: url("../img/rect_blue.gif") repeat-y; }
.group-box.green::before { background: url("../img/rect_green.gif") repeat-y; }
.group-box.orange::before { background: url("../img/rect_orange.gif") repeat-y; }

/* sub headings with the original rectangles.png bullet */
.sub-item { position: relative; padding-left: 1.9rem; margin-bottom: 1.5rem; }
.sub-item::before { content: ""; position: absolute; left: 0; top: .32em; width: 9px; height: 34px; background: url("../img/rectangles.png") no-repeat; }
.sub-item.blue::before { background-position: 0 0; }
.sub-item.green::before { background-position: 0 -53px; }
.sub-item.orange::before { background-position: 0 -113px; }
.sub-item h3 { margin: 0 0 .3rem; }
.sub-item p { margin: 0; color: var(--text-soft); }

/* feature list */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: .3rem 0 .3rem 1.85rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .62rem; width: 15px; height: 9px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green);
  transform: rotate(-45deg) scale(.85); transform-origin: left center;
}
.on-dark .checklist li { color: #c9cdd3; }

/* pills / tags (the original capsules) */
.pills { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.pill { display: inline-block; padding: .38rem 1rem; border-radius: 100px; font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pill-blue { background: rgba(73, 136, 201, .14); color: var(--blue-dk); }
.pill-green { background: rgba(138, 212, 17, .18); color: var(--green-dk); }
.pill-orange { background: rgba(245, 81, 11, .14); color: var(--orange-dk); }
.pill-grey { background: var(--paper-3); color: var(--grey); }

/* stats */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.1rem; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; color: var(--blue-dk); }
.stat.green b { color: var(--green-dk); } .stat.orange b { color: var(--orange-dk); }
.stat span { font-size: .82rem; color: var(--text-soft); }
.section-dark .stat { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13); }
.section-dark .stat b { color: #fff; } .section-dark .stat span { color: var(--grey-3); }

/* specs table */
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; gap: 1rem; justify-content: space-between; padding: .72rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs .k { color: var(--text-soft); }
.specs .v { font-weight: 700; text-align: right; }
.section-dark .specs, .on-dark .specs { border-color: rgba(255, 255, 255, .15); }
.section-dark .specs li, .on-dark .specs li { border-color: rgba(255, 255, 255, .15); }
.section-dark .specs .k, .on-dark .specs .k { color: var(--grey-3); }
.section-dark .specs .v, .on-dark .specs .v { color: #fff; }

/* =================================================================== video */
.video-block { position: relative; background: var(--dark); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-block::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 74px; height: 74px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--orange); display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45); transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.video-play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--orange-lt); }
.video-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1rem 1.2rem; color: #fff; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }
.video-block.is-playing img, .video-block.is-playing .video-play, .video-block.is-playing .video-cap, .video-block.is-playing::after { display: none; }
.video-block[data-ratio="16/9"] { aspect-ratio: 16 / 9; }

/* video grid card */
.vcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.vcard .frame { position: relative; aspect-ratio: 16 / 9; background: var(--dark); }
.vcard .frame img { width: 100%; height: 100%; object-fit: cover; }
.vcard .frame .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(245, 81, 11, .92); display: grid; place-items: center;
  transition: transform .16s var(--ease), background-color .16s var(--ease);
}
.vcard .frame .play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.vcard .frame .play:hover { transform: translate(-50%, -50%) scale(1.1); background: var(--orange); }
.vcard .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard .meta { padding: .95rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.vcard .meta h3 { margin: 0; font-size: .98rem; text-transform: none; font-family: var(--font-head); }
.vcard .meta .who { font-size: .82rem; color: var(--text-soft); margin: 0; }
.vcard .meta .dur { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); }

/* ==================================================================== tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.8rem; }
@media (max-width: 699px) { .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; } }
.tab {
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; white-space: nowrap;
  padding: .62rem 1.15rem; font-family: var(--font-head); font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--grey); border-radius: 100px;
}
.tab:hover { border-color: var(--orange); color: var(--orange); }
.tab[aria-selected="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fade .3s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =============================================================== accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; padding: 1.15rem .2rem; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--text); text-transform: uppercase;
}
.acc-btn:hover { color: var(--orange); }
.acc-btn .chev { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.acc-btn .chev::before, .acc-btn .chev::after { content: ""; position: absolute; top: 10px; left: 3px; width: 16px; height: 2.5px; background: var(--orange); border-radius: 2px; transition: transform .22s var(--ease); }
.acc-btn .chev::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .chev::after { transform: rotate(0); }
.acc-panel > div { padding: 0 .2rem 1.3rem; color: var(--text-soft); }
.on-dark .acc, .on-dark .acc-item { border-color: rgba(255, 255, 255, .15); }
.on-dark .acc-btn { color: #fff; }
.on-dark .acc-panel > div { color: #c9cdd3; }

/* ================================================================ showcase */
.showcase { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
.showcase figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); }
.showcase img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.showcase figure:first-child { grid-column: 1 / -1; }
.showcase figure:first-child img { aspect-ratio: 16 / 9; }
.showcase figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .9rem; color: #fff; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent); }

/* ================================================================== quotes */
.quote { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--blue); border-radius: var(--radius-lg); padding: 1.5rem 1.7rem; margin: 0; }
.quote.green { border-left-color: var(--green); }
.quote.orange { border-left-color: var(--orange); }
.quote blockquote { margin: 0 0 .9rem; font-size: 1.02rem; }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-soft); }
.quote figcaption b { color: var(--text); display: block; }
.quote-logo { font-size: .8rem; color: var(--grey); margin: .6rem 0 0; }

/* ============================================================ figures/panels */
.fig-frame { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1rem, 2.2vw, 1.5rem); margin: 0; }
.fig-frame img { width: 100%; border-radius: var(--radius); }
figcaption { font-size: .84rem; color: var(--text-soft); margin-top: .7rem; }
.banner-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; }
.banner-strip img { width: 100%; height: auto; }

/* ================================================================= callout */
.callout { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; }
.callout-dark { background: var(--dark-2); color: #fff; border-color: var(--dark-3); }
.callout-dark h3 { color: #fff; }
.callout-dark p { color: #c9cdd3; }
.callout-blue { background: rgba(73, 136, 201, .07); border-color: rgba(73, 136, 201, .3); }
.callout-green { background: rgba(138, 212, 17, .09); border-color: rgba(138, 212, 17, .35); }
.callout-orange { background: rgba(245, 81, 11, .07); border-color: rgba(245, 81, 11, .28); }
.notice { background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.05rem 1.25rem; font-size: .92rem; color: var(--text-soft); }
.section-soft .notice, .section-soft .callout { background: var(--paper); }
.notice b, .callout b { color: var(--text); }

/* =================================================================== forms */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .36rem; }
.field label { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field .req { color: var(--orange); }
.field input, .field textarea, .field select {
  width: 100%; padding: .78rem 1rem; border: 1px solid var(--line); border-radius: 5px;
  font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245, 81, 11, .16); }
.field .err { font-size: .82rem; color: #c0392b; min-height: 1.05em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; }
.form-note { font-size: .86rem; color: var(--text-soft); }
.form-status { border-radius: 5px; padding: .9rem 1.1rem; font-size: .93rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: rgba(138, 212, 17, .16); color: #2c4703; border: 1px solid rgba(138, 212, 17, .5); }
.form-status.bad { background: #fdecea; color: #a5342a; border: 1px solid #e9a79f; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ================================================================== footer */
.site-footer { position: relative; background: var(--dark); color: var(--grey-3); padding: clamp(2.2rem, 4.5vw, 3.4rem) 0 1.6rem; overflow: hidden; }
.site-footer .bg { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 33.3%, var(--green) 33.3% 66.6%, var(--orange) 66.6% 100%); }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .85rem; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { width: 132px; margin-bottom: .9rem; }
.footer-brand p { font-size: .9rem; margin: 0 0 .9rem; max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 .38rem; }
.footer-links a { color: var(--grey-3); font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; color: var(--grey-2); }
.footer-bottom a { color: var(--grey-3); }
.social { display: flex; gap: .5rem; }

/* =============================================================== utilities */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 150; width: 46px; height: 46px;
  border-radius: 50%; cursor: pointer; border: 0; background: var(--orange); color: #fff;
  display: grid; place-items: center; opacity: 0; visibility: hidden; box-shadow: var(--shadow);
  transition: opacity .2s var(--ease), visibility .2s, transform .2s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }
.anchor-offset { scroll-margin-top: 96px; }
[id] { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .drawer, .to-top, .video-play, .tabs { display: none !important; }
  body { background: #fff; }
  .hero, .page-hero, .section-dark, .section-dark-2, .site-footer { background: #fff !important; color: #000 !important; }
  .on-dark h1, .on-dark h2, .on-dark h3, .page-hero h1, .hero-copy h1 { color: #000 !important; }
  a { color: #000 !important; }
}

@media (max-width: 1079px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
}
@media (min-width: 1080px) {
  .drawer { display: none; }
}
