/* SJARK site styles. Black, white and gold. One typeface: Montserrat (variable weight) for headings and body. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --gold: #FFDE59;
  --gold-deep: #FFDE59;  /* was a dark gold; now the same yellow everywhere */
  --gold-wash: #FFF7D1;
  --grey-1: #B3B3B3;  /* secondary text on black */
  --grey-2: #5C5C5C;  /* outlines on black */
  --grey-3: #2A2A2A;  /* rules on black */
  --grey-4: #3D3D3D;  /* body text on white */
  --grey-5: #4D4D4D;  /* secondary text on white */
  --rule-light: #D9D9D9;
  --max: 1200px;
  --gutter: clamp(12.9px, 2vw, 25.8px);
  --section: clamp(46.5px, 5.8vw, 77.5px);
  --radius-pill: 999px;
  --radius-card: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a, li a, .prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--gold); }
p a:hover, li a:hover, .prose a:hover { color: var(--gold); }
.on-light p a:hover, .on-light li a:hover, .on-light .prose a:hover { color: var(--black); background: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
::selection { background: var(--gold); color: var(--black); }

.skip-link { position: absolute; left: 10.4px; top: -100px; z-index: 100; background: var(--gold); color: var(--black); padding: 7.7px 11.6px; font-weight: 700; border-radius: var(--radius-pill); }
.skip-link:focus { top: 10.4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.on-light { background: var(--white); color: var(--black); }
.on-gold { background: var(--gold); color: var(--black); }
.on-deep { background: #0A0A0A; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; letter-spacing: -0.03em; }
.display { font-size: clamp(30.9px, 5.36vw, 83.6px); line-height: 0.95; letter-spacing: -0.035em; }
.display-2 { font-size: clamp(27px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.035em; }
.h-xl { font-size: clamp(24.5px, 2.94vw, 43.6px); line-height: 1.02; }
.h-lg { font-size: clamp(20.8px, 1.98vw, 30.9px); line-height: 1.08; }
.h-md { font-size: clamp(17.4px, 1.34vw, 22px); line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; }
.h-sm { font-size: 16.7px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(16.7px, 1.15vw, 20.1px); line-height: 1.45; }
.muted { color: var(--grey-1); }
.on-light .muted, .on-gold .muted { color: var(--grey-5); }
.tag { font-weight: 700; color: var(--gold); margin: 0; }
.on-light .tag { color: var(--black); }
.measure { max-width: 36rem; }
.measure-wide { max-width: 46rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6.5px; min-height: 44px; padding: 9.7px 18.7px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15.2px; line-height: 1.1; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #FFE77F; }
/* Yellow buttons always use black text, including in the menu and on hover */
a.btn-gold, a.btn-gold:hover, a.btn-gold:focus-visible, .nav > a.btn-gold, .nav > a.btn-gold:hover, .nav > a.btn-gold[aria-current="page"], button.btn-gold, .side-card .btn-gold { color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #222; }
.btn-ghost { border-color: var(--grey-2); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.on-light .btn-ghost { border-color: var(--black); color: var(--black); }
.on-light .btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 9px; }
.text-link { font-weight: 700; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--gold); }
.on-light .text-link { border-bottom-color: var(--gold-deep); }
.on-light .text-link:hover { color: var(--black); background: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 15.5px; padding-top: 15.5px; padding-bottom: 15.5px; }
.brand { display: inline-flex; align-items: center; gap: 7.7px; font-size: 19.5px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 19.4px; font-size: 14.2px; }
.nav > a, .nav-group > button { color: var(--white); padding: 5.2px 0; }
.nav > a:hover, .nav-group > button:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav-group { position: relative; }
.nav-group > button { background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-group > button svg { width: 12px; height: 7.7px; transition: transform .2s ease; }
.nav-group[data-open="true"] > button svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 6.5px); left: -11.6px; min-width: 260px; background: #0D0D0D; border: 1px solid var(--grey-3); border-radius: 13px; padding: 6.5px; display: none; }
.nav-group[data-open="true"] .nav-menu { display: block; }
.nav-menu a { display: block; padding: 7.1px 9px; border-radius: 7px; color: var(--white); }
.nav-menu a:hover { background: #1C1C1C; color: var(--gold); }
.nav .btn { min-height: 34px; padding: 7.6px 15.3px; font-size: 14.2px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; padding: 0; margin-right: -10px; cursor: pointer; align-items: center; justify-content: center; }
.burger { position: relative; display: block; width: 24px; height: 16px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 7px; }
.burger i:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger i { transition: none; } }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0; background: var(--black); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; padding: 116px var(--gutter) 31px; font-size: 18.8px; font-weight: 700; display: none; overflow-y: auto; }
  .nav[data-open="true"] { display: flex; }
  .nav > a, .nav-group > button { padding: 6.5px 0; }
  .nav-group { width: 100%; }
  .nav-menu { position: static; display: none; border: 0; background: none; padding: 0 0 5.2px 10.4px; min-width: 0; }
  .nav-group[data-open="true"] .nav-menu { display: block; }
  .nav-group > button { font-weight: 700; }
  .nav-group > button svg { width: 14px; height: 9px; }
  .nav-menu a { font-size: 15.9px; font-weight: 500; padding: 5.2px 0; }
  .nav .btn { margin-top: 12.9px; font-size: 15.2px; }
  .nav-toggle[aria-expanded="true"] { position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
}
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; min-height: min(100vh, 633.1px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 103.4px; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: grayscale(1) contrast(1.1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.92) 100%); }
.spot { position: absolute; z-index: -1; pointer-events: none; right: -6.5vw; top: 2%; width: 80vw; max-width: 1200px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,222,89,.42) 0%, rgba(255,222,89,.14) 38%, transparent 68%); mix-blend-mode: screen; }
.spot-beam { position: absolute; z-index: -1; pointer-events: none; right: 10.4vw; top: -40%; width: 22vw; height: 120%; background: linear-gradient(180deg, transparent 0%, rgba(255,222,89,.16) 100%); transform: rotate(-24deg); transform-origin: top center; filter: blur(30px); }
@keyframes sweep { 0% { transform: translate(-70vw,-10%) scale(.7); opacity: 0; } 35% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes rise { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: none; } }
.hero .spot { animation: sweep 1.8s cubic-bezier(.2,.7,.1,1) both; }
.hero .lit { animation: rise .9s ease-out 1.1s both; }
@media (prefers-reduced-motion: reduce) { .hero .spot, .hero .lit { animation: none; } }
.hero > .wrap { width: 100%; }
.hero h1 { max-width: 13ch; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 20.7px 41.3px; align-items: flex-end; justify-content: space-between; margin-top: 33.6px; padding-bottom: 41.3px; }
.hero-strip { position: relative; }
.hero-strip ul { list-style: none; margin: 0 auto; padding-top: 15.5px; padding-bottom: 15.5px; display: flex; flex-wrap: wrap; gap: 7.7px 28.4px; font-size: clamp(14.8px, 0.96vw, 17.4px); font-weight: 600; color: var(--grey-1); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(96.9px, 10.4vw, 135.7px); padding-bottom: clamp(41.3px, 5.2vw, 71.1px); }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.95) 100%); }
.page-hero .spot { right: -15.5vw; top: -30%; width: 70vw; opacity: .9; }
.page-hero h1 { max-width: 22ch; }
/* Every image hero is the same depth as the About page; content sits at the bottom */
.page-hero:has(.bg) { min-height: clamp(300px, 30vw, 430px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero:has(.bg) > .wrap { width: 100%; }
.page-hero .lede { margin-top: 18.1px; max-width: 40rem; color: #E6E6E6; }
.page-hero .btn-row { margin-top: 21.9px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 5.2px; font-size: 13.4px; color: var(--grey-1); margin: 0 0 14.2px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 5.2px; color: var(--grey-2); }
.crumbs a:hover { color: var(--gold); }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 31px 51.7px; align-items: center; }
.split-top { align-items: start; }
.split-stretch { align-items: stretch; }
.intro-video { display: grid; grid-template-columns: minmax(0, 36rem) clamp(280px, 28vw, 360px); justify-content: space-between; gap: 31px 51.7px; align-items: center; }
.intro-video > div:first-child .measure-wide { max-width: none; }
.video-portrait { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius-card); overflow: hidden; background: #111; }
.video-portrait video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .intro-video { grid-template-columns: 1fr; } .video-portrait { width: min(100%, 360px); } }
.hl { background: var(--gold); color: var(--black); padding: .06em .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 1020px) { .split-flip > .media { order: 2; } }
.head-row { display: flex; flex-wrap: wrap; gap: 15.5px 51.7px; justify-content: space-between; align-items: flex-end; margin-bottom: 41.3px; }
.head-row h2 { max-width: 14ch; }
.head-row-top { align-items: flex-start; }
.head-row-top h2 { max-width: none; }
.head-row-top .measure p:first-child { margin-top: 0; }
.h-xl em { font-style: italic; }
.text-gold { color: var(--gold); }
.stack > * + * { margin-top: 1em; }
.stack-lg > * + * { margin-top: 18.1px; }
.media { border-radius: var(--radius-card); overflow: hidden; background: #111; }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.media.tall img { aspect-ratio: 4 / 5; }

/* ---------- Service rows ---------- */
.rows { border-top: 0; }
.row-link { display: grid; grid-template-columns: 1fr minmax(0, 28rem); gap: 5.2px 25.8px; align-items: baseline; padding: 19.4px 10.4px; border-bottom: 1px solid var(--rule-light); transition: background-color .25s ease; }
.row-link:hover { background: var(--gold); }
.row-link:hover .row-title,
.row-link:hover .row-desc { color: #0a1d3d; }
.row-title { font-size: clamp(19.5px, 2.04vw, 31.9px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.row-desc { font-size: 14.8px; color: var(--grey-5); max-width: 28rem; }
@media (max-width: 760px) { .row-link { grid-template-columns: 1fr; } }
.rows-compact .row-link { display: block; padding: 15.5px 10.4px; }
.rows-compact .row-title { display: block; font-size: clamp(16.2px, 1.1vw, 19px); line-height: 1.25; letter-spacing: -0.01em; white-space: nowrap; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 46.5px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { position: relative; padding: 18.1px 18.1px 20.7px 0; border-top: 3px solid var(--grey-2); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.steps li:hover { transform: translateY(-6px); }
.steps li:hover::before { transform: scaleX(1); }
.steps li .num, .steps li h3 { transition: color .3s ease; }
.steps li:hover .num, .steps li:hover h3 { color: var(--gold); }
.steps .num { margin: 0 0 11.6px; font-size: 13.4px; font-weight: 600; color: var(--grey-1); }
.steps h3 { margin-bottom: 7.7px; }
.steps p { margin: 0; color: var(--grey-1); font-size: 14.8px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 25.8px; }
@media (max-width: 1020px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 18.1px 0 23.3px; border-top: 3px solid var(--gold); }
.pillar .tag { font-size: 15.5px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 9px; }
.pillar h3 { margin-bottom: 9px; }
.pillar p { margin: 0; color: var(--grey-1); }
.on-light .pillar p { color: var(--grey-4); }

/* ---------- Feature blocks (landing pages) ---------- */
.features { display: grid; gap: clamp(41.3px, 5.2vw, 71.1px); }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 25.8px 51.7px; align-items: center; }
.feature:nth-child(even) .media { order: 2; }
@media (max-width: 1000px) { .feature:nth-child(even) .media { order: 0; } }
.feature h3 { margin-bottom: 11.6px; }
.feature p { margin: 0 0 1em; }
.feature .lead { font-weight: 500; }
.on-light .feature p:not(.lead) { color: var(--grey-4); }

.chips { list-style: none; margin: 31px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7.7px; }
.chips li a, .chips li span { display: inline-block; padding: 7.7px 12.9px; border: 1.5px solid var(--grey-2); border-radius: var(--radius-pill); font-weight: 600; font-size: 14.2px; }
.chips li a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Logo strip ---------- */
.logos { --logo-scale: .82; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25.8px 36.2px; }
.logos li { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.logos img { width: calc(var(--w, 110px) * var(--logo-scale)); height: auto; max-width: none; filter: brightness(0) invert(1); opacity: .9; }
@media (max-width: 900px) {
  .logos { --logo-scale: .7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: 25.8px 15.5px; }
  .logos:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .logos { --logo-scale: .56; gap: 23.3px 10.4px; } }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-speed, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logos { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; padding: 0; }
.marquee .logos li { padding: 0 clamp(24px, 3.4vw, 48px); }
.marquee:focus-within .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 900px) { .marquee .logos { display: flex; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee .logos[aria-hidden="true"] { display: none; }
  .marquee .logos:not([aria-hidden]) { flex-wrap: wrap; justify-content: center; row-gap: 24px; }
}
.logos.mono img { filter: grayscale(1); opacity: .85; transition: filter .2s ease, opacity .2s ease; }
.logos.mono li:hover img { filter: none; opacity: 1; }
.on-light .muted { color: var(--grey-5); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 15.5px; }
.quote-card { margin: 0; border-radius: var(--radius-card); padding: clamp(20.7px, 2.5vw, 33.6px); display: flex; flex-direction: column; justify-content: space-between; gap: 25.8px; }
.quote-card blockquote { margin: 0; font-size: clamp(16.7px, 1.28vw, 21.5px); font-weight: 600; line-height: 1.24; letter-spacing: -0.01em; }
.quote-card figcaption { font-size: 14.8px; line-height: 1.4; }
.quote-card figcaption strong { font-weight: 800; display: block; }
.quote-gold { background: var(--gold); color: var(--black); }
.quote-white { background: var(--white); color: var(--black); }
.pull-quote { margin: 31px 0; padding: 23.3px 0 0; border-top: 3px solid var(--gold); }
.pull-quote blockquote { margin: 0; font-size: clamp(17.4px, 1.28vw, 21.5px); line-height: 1.4; font-weight: 500; }
.pull-quote figcaption { margin-top: 11.6px; color: var(--grey-1); }
.on-light .pull-quote figcaption { color: var(--grey-5); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 31px 18.1px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 11.6px; }
.card .media img { transition: transform .5s ease; }
.card:hover .media img { transform: scale(1.03); }
.card h3 { transition: color .2s ease; }
.card:hover h3 { color: var(--gold); }
.on-light .card:hover h3 { color: var(--black); }
.on-light .card h3 span { transition: background-size .25s ease; background: linear-gradient(var(--gold), var(--gold)) 0 88% / 0 38% no-repeat; }
.on-light .card:hover h3 span { background-size: 100% 38%; }
.card p { margin: 0; color: var(--grey-1); }
.on-light .card p { color: var(--grey-5); }
.card .more { font-weight: 700; margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .card .media img { transition: none; } .card:hover .media img { transform: none; } }

/* ---------- Feature case study band ---------- */
.case-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 25.8px 46.5px; align-items: center; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid currentColor; }
#faq-h { scroll-margin-top: 38px; } /* about 1cm of breathing room when jumping to the FAQs */
.faq details { border-bottom: 1px solid var(--rule-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 15.5px; padding: 16.8px 0; font-size: clamp(15.2px, 1.02vw, 17.4px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--black); }
.faq .answer { padding: 0 0 16.8px; max-width: 46rem; color: var(--grey-4); }
.faq .answer p { margin: 0 0 1em; }
@media (prefers-reduced-motion: reduce) { .faq summary .plus { transition: none; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 25.8px 51.7px; align-items: flex-start; justify-content: space-between; }
.cta h2 { max-width: 16ch; font-size: clamp(26.8px, 3.32vw, 50.4px); line-height: 1; letter-spacing: -0.035em; }
.cta .cta-copy { max-width: 28rem; }
.cta .cta-copy p { margin: 0; font-size: 17.4px; line-height: 1.4; }
.cta .cta-copy .btn { margin-top: 15.5px; }

/* ---------- Prose (case studies, posts, legal) ---------- */
.prose { max-width: 44rem; font-size: 15.5px; line-height: 1.75; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(20.8px, 1.79vw, 27.9px); line-height: 1.12; margin-top: 2.2em; }
.prose h3 { font-size: clamp(16.7px, 1.21vw, 19.5px); line-height: 1.15; margin-top: 1.8em; letter-spacing: -0.02em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--gold); }
.on-light .prose li::marker { color: var(--gold-deep); }
.on-light p a, .on-light li a, .on-light .prose a { text-decoration-color: var(--gold-deep); }
.prose strong { font-weight: 700; }
.prose .stage { display: block; color: var(--gold); font-size: .55em; letter-spacing: 0; margin-bottom: 6.5px; }
.on-light .prose .stage { color: var(--black); background: var(--gold); padding: 0 .2em; margin-right: .25em; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: 14px; }
.prose .intro { font-size: clamp(17.4px, 1.28vw, 20.1px); line-height: 1.45; font-weight: 500; }
.on-light .prose { color: var(--grey-4); }
.on-light .prose h2, .on-light .prose h3, .on-light .prose strong { color: var(--black); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.2px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 7.7px 6.5px; border-bottom: 1px solid var(--rule-light); }
.table-scroll { overflow-x: auto; }

.post-hero-img { margin-top: 31px; border-radius: var(--radius-card); overflow: hidden; }
.post-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.byline { margin-top: 18.1px; color: var(--grey-1); font-size: 14.2px; }
.toc { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6.5px; }
.toc a { display: inline-block; padding: 5.2px 9px; border: 1.5px solid var(--rule-light); border-radius: var(--radius-pill); font-size: 13.4px; text-decoration: none; }
.toc a:hover { border-color: var(--gold-deep); }
.signoff { margin-top: 2em; }

/* ---------- Video facade ---------- */
.video { position: relative; border-radius: var(--radius-card); overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.video button, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { cursor: pointer; padding: 0; background: #111; color: var(--white); font: inherit; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s ease; }
.video button:hover img { opacity: .9; }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; aspect-ratio: 1; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform .2s ease; }
.video button:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video .play svg { width: 24px; height: 27px; margin-left: 5px; }
.video .label { position: absolute; left: 15.5px; bottom: 12.9px; font-weight: 700; text-shadow: 0 1px 12px rgba(0,0,0,.6); }

/* ---------- Embeds (forms) ---------- */
.embed { border-radius: 14px; overflow: hidden; background: var(--white); }
.embed iframe { width: 100%; min-height: 581.4px; border: 0; display: block; }
.embed-note { font-size: 13.4px; color: var(--grey-1); margin-top: 9px; }

/* ---------- Blog list ---------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 36.2px 18.1px; }
.post-card .media img { aspect-ratio: 16 / 10; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--grey-1); font-size: 14.2px; line-height: 1.6; padding: 51.7px 0 25.8px; border-top: 1px solid var(--grey-3); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 25.8px; }
.footer-grid strong { color: var(--white); font-weight: 700; display: block; margin-bottom: 6px; }
.footer-grid nav, .footer-grid .col { display: flex; flex-direction: column; gap: 4px; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 7.7px; font-size: 19.5px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin: 0 0 7.7px; }
.footer-brand img { height: 64px; width: auto; }
.footer-base { margin-top: 41.3px; padding-top: 15.5px; border-top: 1px solid var(--grey-3); display: flex; flex-wrap: wrap; gap: 7.7px 20.7px; justify-content: space-between; font-size: 13px; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 15.5px; }
address { font-style: normal; }

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ---------- Article layout with sidebar ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: 31px 62px; align-items: start; }
.article-side { position: sticky; top: 20.7px; display: grid; gap: 12.9px; }
.side-card { border-radius: 14px; padding: 18.1px; background: var(--black); color: var(--white); }
.side-card p { margin: 0 0 11.6px; color: var(--grey-1); }
.side-card h2, .side-card h3 { margin-bottom: 6.5px; }
@media (max-width: 1000px) { .article-grid { grid-template-columns: 1fr; } .article-side { position: static; } }

/* ---------- Video pop-up ---------- */
.video-modal { width: min(1100px, 92vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.video-modal::backdrop { background: rgba(0,0,0,.88); }
.video-modal .frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.video-modal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal .close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--black); cursor: pointer; display: grid; place-items: center; }
.video-modal .close:hover { transform: scale(1.06); }
.video-modal .fallback { display: block; margin-top: 12px; color: var(--grey-1); font-size: 14px; text-align: right; }
.video-modal .fallback a { color: var(--white); }
.video-modal[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--black); color: var(--gold); box-shadow: 0 6px 24px rgba(0,0,0,.35); display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 3; }
.to-top .ring .track { stroke: var(--grey-3); }
.to-top .ring .bar { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.to-top .arrow { position: relative; width: 18px; height: 18px; transition: transform .3s ease; }
.to-top:hover .arrow { transform: translateY(-3px); }
.to-top.launch .arrow { animation: launch .7s cubic-bezier(.5,0,.2,1); }
@keyframes launch { 0% { transform: none; } 40% { transform: translateY(-34px); opacity: 0; } 41% { transform: translateY(26px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top .arrow { transition: none; } .to-top.launch .arrow { animation: none; } .steps li, .steps li::before { transition: none; } .steps li:hover { transform: none; } }

.card-date { margin: -6px 0 0; font-size: 13px; color: var(--grey-5); }
.byline { margin-top: 16px; color: var(--grey-1); font-size: 14px; }
