/* Always Cool Brands: the old Avada theme's palette and type, rebuilt as plain CSS. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0f2385;
  --ink: #040922;
  --signal: #3269ff;
  --slate: #425a9e;
  --lavender: #b8a9d8;
  --peach: #ffe9b3;
  --mist: #f3f1fa;
  --rule: rgba(4, 9, 34, .14);
  /* Page colors, which flip in dark mode; the brand colors above never do */
  --bg: #fff;
  --text: var(--ink);
  --muted: var(--slate);
  --surface: var(--mist);
  color-scheme: light dark;
}
@media screen and (prefers-color-scheme: dark) {
  :root { --bg: #0a1035; --text: #eef0fb; --muted: #aab4dd; --surface: #0e1645; --rule: rgba(255, 255, 255, .14); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
::selection { background: var(--signal); color: #fff; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 5vw, 56px); }

/* Header: clear over the hero, a frosted navy bar once the page scrolls.
   Without scroll timelines (Firefox), or with reduced motion, it is always the bar, which matches the hero anyway. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 5;
  background: rgba(15, 35, 133, .92);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header { animation: header-clear linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
    .header-bar { animation: header-tall linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  }
}
@keyframes header-clear { from { background: rgba(15, 35, 133, 0); -webkit-backdrop-filter: blur(0) saturate(100%); backdrop-filter: blur(0) saturate(100%); } }
@keyframes header-tall { from { padding-block: 32px; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0; color: #fff; text-decoration: none; font-weight: 800; font-size: 23px; letter-spacing: -.025em; line-height: 1; white-space: nowrap; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-footer { font-size: 19px; }
.brand-footer svg { width: 32px; height: 32px; }
.site-header nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
  transition: background-size .25s ease;
}
.nav-link:hover { background-size: 100% 2px; }
.nav-link[aria-current] { background-image: linear-gradient(var(--peach), var(--peach)); background-size: 100% 2px; }
.pill-outline {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  border: 2px solid rgba(255, 255, 255, .85); border-radius: 999px; padding: 11px 26px;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.pill-outline:hover { background: #fff; color: var(--navy); }
.pill-outline:active { transform: scale(.97); }

/* Hero: the one bold move is the sweep */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.sweep { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(150px, 20vh, 210px); padding-bottom: clamp(150px, 20vh, 220px); }
.hero h1 { font-size: clamp(40px, 6.4vw, 80px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 15ch; }
.lede { margin-top: 28px; max-width: 32em; font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .84); }
.actions { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.hero a:focus-visible, .engine a:focus-visible, .site-header a:focus-visible, .site-footer a:focus-visible { outline-color: var(--peach); }
.hero-edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); }

.btn {
  display: inline-block; background: var(--signal); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 17px; padding: 18px 34px; border-radius: 999px;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:hover { background: #1f52f0; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(50, 105, 255, .6); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: 0 4px 10px -6px rgba(50, 105, 255, .6); }
.text-link { color: #fff; font-weight: 700; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 255, 255, .45); transition: text-decoration-color .2s ease; }
.text-link:hover { text-decoration-color: #fff; }

/* One orchestrated entrance, hero only, then the arcs keep drifting.
   The drift moves the whole SVG so the browser can composite it instead of repainting. */
@media (prefers-reduced-motion: no-preference) {
  .sweep g { animation: sweep-in 1.4s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 100% 0; }
  .sweep .s2 { animation-delay: .12s; }
  .sweep .s3 { animation-delay: .24s; }
  .sweep { animation: drift 26s 1.4s ease-in-out infinite alternate; transform-origin: 0 0; }
  .hero-copy { animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes sweep-in { from { opacity: 0; transform: translateX(8%) scale(.96); } }
@keyframes drift { to { transform: translate3d(-1.5%, -1%, 0) scale(1.03); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Why now: the argument on the left, the proof on the right */
.why { padding-block: clamp(72px, 10vw, 128px) clamp(24px, 4vw, 48px); }
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px 80px; align-items: center; }
.why h2 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.03em; max-width: 11ch; }
.why-copy p { margin-top: 24px; font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 30em; }
.steer-title { margin-top: 36px; font-size: 17px; }
.steer { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.steer li {
  font-weight: 700; font-size: 15px; padding: 8px 16px; border: 2px solid var(--text); border-radius: 999px;
  text-decoration: line-through; text-decoration-color: #c2364a; text-decoration-thickness: 2px;
}

/* The label borrows the vernacular of an FDA panel: Helvetica, heavy rules, black on white */
.label-card { margin: 0; justify-self: center; width: min(100%, 420px); }
.label {
  background: #fff; border: 3px solid var(--ink); padding: 18px 22px 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink);
  box-shadow: 12px 12px 0 var(--lavender); transform: rotate(-1.5deg);
}
.label-title { font-weight: 900; font-size: 30px; letter-spacing: -.02em; line-height: 1; padding-bottom: 10px; border-bottom: 10px solid var(--ink); }
.label ul { list-style: none; margin: 0; padding: 0; }
.label li { padding: 10px 0; border-bottom: 1px solid var(--ink); font-size: 16px; }
.label summary { display: grid; grid-template-columns: 1fr auto 1.2fr; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; position: relative; }
.label summary::-webkit-details-marker { display: none; }
.label summary:hover .new { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.label summary:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.swap-why { margin: 6px 0 2px; font-size: 14px; line-height: 1.45; color: var(--slate); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.label li:last-child { border-bottom: 0; }
.label summary::after { content: ""; order: 1; width: 22px; height: 2px; background: var(--signal); align-self: center; }
.label { view-timeline-name: --label; }
.label s { order: 0; color: #6b7090; text-decoration: none; position: relative; justify-self: start; }
.label s::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; background: #c2364a; transform-origin: left center; }
.label .new { order: 2; font-weight: 700; }

/* The page's one scroll moment: each old ingredient gets crossed out as the label comes into view.
   Browsers without scroll-driven animations show the finished label. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .label s::after { animation: strike linear both; animation-timeline: --label; animation-range: entry 0% entry 40%; }
    .label .new { animation: swap-in linear both; animation-timeline: --label; animation-range: entry 0% entry 40%; }
    .label li:nth-child(2) s::after, .label li:nth-child(2) .new { animation-range: entry 15% entry 55%; }
    .label li:nth-child(3) s::after, .label li:nth-child(3) .new { animation-range: entry 30% entry 70%; }
    .label li:nth-child(4) s::after, .label li:nth-child(4) .new { animation-range: entry 45% entry 85%; }
    .label li:nth-child(5) s::after, .label li:nth-child(5) .new { animation-range: entry 60% entry 100%; }
  }
}
@keyframes strike { from { transform: scaleX(0); } }
@keyframes swap-in { 0%, 45% { opacity: .15; } }
.label-card figcaption { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

/* What we do: a ruled grid, not a card kit */
.what { padding-block: clamp(80px, 11vw, 140px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 19px; max-width: 30em; }
.disciplines { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.disciplines article { border-top: 2px solid var(--text); padding: 28px 0 48px; }
.disciplines article:nth-child(n+3) { border-top-color: var(--rule); }
.disciplines article:nth-child(-n+2) { border-top-color: var(--signal); }
.disciplines h3 { margin-bottom: 12px; font-size: 24px; }
.disciplines p { color: var(--muted); max-width: 34em; }

/* The engine: navy band answering the hero */
.engine { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(88px, 11vw, 150px); }
.engine-sweep { position: absolute; left: 0; bottom: 0; width: min(46vw, 600px); height: 100%; }
.engine-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 72px; align-items: start; }
.engine h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.03em; max-width: 11ch; }
.engine p { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .86); padding-top: 10px; }
.engine-points { margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.engine-points div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.engine-points dt { font-weight: 700; font-size: 17px; }
.engine-points dd { margin: 4px 0 0; color: rgba(255, 255, 255, .74); font-size: 16px; }

/* Concept to shelf: a real sequence, so it gets numbers */
.how { background: var(--surface); padding-block: clamp(80px, 10vw, 130px); }
.steps { list-style: none; counter-reset: step; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--lavender); }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 24px;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 17px; position: relative;
}
.steps li:last-child::before { background: var(--signal); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Who we work with */
.who { padding-block: clamp(80px, 10vw, 130px); }
.who-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px 64px; align-items: start; }
.who ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.who li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.who li strong { font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; letter-spacing: -.01em; }
.who li span { color: var(--muted); }
.who-line { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 18em; }

/* Closing band: the old site's lavender-to-peach gradient */
.cta { background: linear-gradient(115deg, var(--lavender) 0%, #dcc9e0 45%, var(--peach) 100%); color: var(--ink); padding-block: clamp(80px, 10vw, 130px); }
.cta h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.03em; max-width: 14ch; }
.cta p { margin: 20px 0 36px; font-size: 19px; color: #2a2f52; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 64px; align-items: center; }
.shelf { width: 100%; max-width: 440px; justify-self: end; }
.cta-address { font-weight: 700; font-size: 18px; color: var(--ink); text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: rgba(4, 9, 34, .35); transition: text-decoration-color .2s ease; }
.cta-address:hover { text-decoration-color: var(--ink); }

/* Curve motif: every color band meets the next on a wave, like the hero.
   The fills follow the page colors so the seams hold in dark mode. */
.engine, .cta { position: relative; overflow: hidden; }
.edge { position: absolute; left: 0; width: 100%; height: clamp(28px, 5vw, 72px); pointer-events: none; }
.edge-top { top: -1px; }
.edge-bottom { bottom: -1px; }
.hero-edge path, .engine .edge-top path, .cta .edge-top path { fill: var(--bg); }
.engine .edge-bottom path { fill: var(--surface); }
.cta .wrap { position: relative; }

/* Content settles into place as it scrolls in: tied to scroll, so no bounce.
   Browsers without scroll-driven animations show everything in place. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .why-copy, .section-head, .disciplines article, .engine-grid > *, .how h2, .steps li, .who-grid > div, .who li, .cta-grid > * {
      animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 35%;
    }
    .disciplines article:nth-child(even), .steps li:nth-child(2) { animation-range: entry 10% entry 45%; }
    .steps li:nth-child(3) { animation-range: entry 20% entry 55%; }
    .steps li:nth-child(4) { animation-range: entry 30% entry 65%; }
  }
}
@keyframes settle { from { opacity: 0; transform: translateY(16px); } }

.skip { position: absolute; left: 16px; top: -100px; z-index: 10; background: #fff; color: var(--ink); font-weight: 700; padding: 12px 20px; border-radius: 999px; }
.skip:focus { top: 16px; }
main:focus { outline: none; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; color: rgba(255, 255, 255, .86); transition: text-decoration-color .2s ease; }
.footer-nav a:hover { text-decoration-color: currentColor; }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: 48px; font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.site-footer a { color: #fff; font-weight: 600; text-underline-offset: 5px; }

@media (max-width: 1000px) {
  .site-header .nav-link { display: none; }
}
@media (max-width: 860px) {
  .brand { font-size: 19px; gap: 10px; }
  .brand svg { width: 34px; height: 34px; }
  .section-head, .disciplines, .engine-grid, .who-grid, .why-grid { grid-template-columns: 1fr; }
  .label { transform: none; box-shadow: 8px 8px 0 var(--lavender); }
  .cta-grid { grid-template-columns: 1fr; }
  .shelf { justify-self: start; max-width: 320px; }
  .label summary { grid-template-columns: 1fr; gap: 2px; }
  .label summary::after { display: none; }
  .label .new::before { content: "→ "; color: var(--signal); }
  .disciplines article:nth-child(2) { border-top-color: var(--rule); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; }
  .steps li { padding: 0 0 32px 72px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .engine-sweep { width: 90vw; opacity: .7; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

/* Print or Save as PDF: a clean capabilities sheet on white */
@media print {
  @page { margin: 14mm; }
  * { animation: none !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body { font-size: 10.5pt; background: #fff; color: var(--ink); }
  .skip, .site-header nav, .sweep, .hero-edge, .edge, .engine-sweep, .actions, .cta-actions .btn, .footer-nav, .shelf { display: none !important; }
  .site-header { position: static; background: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .header-bar { padding: 0 0 6mm; }
  .brand, .site-footer a, .hero, .engine, .cta, .site-footer { color: var(--ink); }
  .hero, .engine, .cta, .how, .site-footer { background: none; }
  .wrap { padding-inline: 0; max-width: none; }
  section, .hero-copy { padding: 5mm 0 !important; }
  .label-card, .disciplines article, .steps li, .who li, .engine-points div { break-inside: avoid; }
  .label s::after, .label .new { animation: none !important; transform: none; opacity: 1; }
  .hero h1 { font-size: 26pt; max-width: none; }
  h2, .engine h2, .cta h2, .why h2 { font-size: 17pt; max-width: none; }
  .lede, .engine p, .engine-points dd, .cta p, .site-footer { color: #2a2f52; }
  .engine-points, .engine-points div { border-color: var(--rule); }
  .label { transform: none; box-shadow: none; }
  .section-head, .why-grid, .engine-grid, .who-grid, .cta-grid { gap: 4mm 10mm; margin-bottom: 4mm; }
  .disciplines article { padding: 3mm 0 4mm; }
  .steps { margin-top: 5mm; }
  /* print width falls under the mobile breakpoint; restore the two-column layout */
  .why-grid { grid-template-columns: 1.1fr .9fr; }
  .disciplines { grid-template-columns: 1fr 1fr; column-gap: 8mm; }
  .engine-grid, .who-grid { grid-template-columns: 1fr 1.3fr; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 5mm; }
  .steps::before { top: 22px; bottom: auto; left: 22px; right: 22px; width: auto; height: 2px; }
  .steps li { padding: 0; }
  .steps li::before { position: relative; margin-bottom: 3mm; }
  .label-card { width: 100%; }
  .label summary { grid-template-columns: 1fr auto 1.2fr; gap: 8px; }
  .label summary::after { display: block; }
  .label .new::before { content: none; }
  .why-copy p, .section-head p, .engine p, .who-line, .cta p { font-size: 10.5pt; }
  .disciplines h3, .steps h3 { font-size: 12pt; }
  .who li { padding: 2mm 0; }
  .who li strong { font-size: 11pt; }
  .engine-points { margin-top: 4mm; }
  .engine-points div { padding: 2mm 0; }
  .engine-points dt { font-size: 11pt; }
  .engine-points dd { font-size: 10pt; }
  .site-footer { padding: 2mm 0 0; font-size: 9pt; }
  .site-footer .brand, .site-footer a { display: none; }
}
