/* ==========================================================================
   Skipjack Digital — homepage prototype
   Dark from top to bottom. WP: becomes the theme's main stylesheet.
   ========================================================================== */

/* Font: Inter 4.1 by Rasmus Andersson, self-hosted (SIL OFL 1.1, assets/fonts/Inter-OFL.txt). One variable file
   per style (wght 100–900, opsz 14–32: large sizes switch to the Display cut by themselves). Italic loads only
   on pages that use it. Helvetica / Arial are the fallback while it loads. */
@font-face { font-family: "Inter"; src: url("../fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/InterVariable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
/* Inter Bold (opsz 32) with overlapping contours merged, letters and digits only: for outlined text.
   A text stroke on the variable font draws its inner joins (a box in the A, a seam at A and N). */
@font-face { font-family: "Inter Outline"; src: url("../fonts/InterDisplay-Bold-Outline.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Brand */
  --blue: #2e37fe;
  --blue-soft: #6f7bff;
  --yellow: #ffc72c;
  --orange: #f2552c;
  --green: #19b46a;

  /* Surfaces: hero starts at --navy and dives to --deep; the page continues in --deep */
  --navy: #08122e;
  --deep: #03060f;
  --surface: #0a1430;
  --line: rgba(160, 175, 255, 0.14);
  --line-strong: rgba(160, 175, 255, 0.28);

  /* Text */
  --text: #eef1fa;
  --muted: #8d97ba;
  --dim: #767fa4;

  --font: "Inter", Helvetica, Arial, sans-serif;
  --mono: "Inter", Helvetica, Arial, sans-serif; /* labels keep their own token, now the same family */

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.018em; line-height: 1.05; text-wrap: balance; }
[data-lines] .line__in { text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
/* Form controls don't inherit the page font by default (they fall back to Arial) */
button, input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 18px;
}
.accent-blue { color: var(--blue-soft); }
.accent-green { color: var(--green) !important; }
.accent-orange { color: var(--orange); }
.accent-pink { color: var(--pink); }

/* ---------- Icons: inline SVG masks that take the text colour (Helvetica/Arial lack these glyphs) ----------
   <span class="i i--ne" aria-hidden="true"></span>; 1em square, so they scale with the text. */
:root {
  --i-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M4 12h15M13 6l6 6-6 6%22/%3E%3C/svg%3E");
  --i-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 12H5M11 6l-6 6 6 6%22/%3E%3C/svg%3E");
  --i-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 20V5M6 11l6-6 6 6%22/%3E%3C/svg%3E");
  --i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M12 4v15M6 13l6 6 6-6%22/%3E%3C/svg%3E");
  --i-ne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M7 17 17 7M8.5 7H17v8.5%22/%3E%3C/svg%3E");
  --i-cw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M20 12a8 8 0 1 1-2.34-5.66L20 8.5M20 3.5v5h-5%22/%3E%3C/svg%3E");
  --i-ccw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22M4 12a8 8 0 1 0 2.34-5.66L4 8.5M4 3.5v5h5%22/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d=%22m5 12.5 4.5 4.5L19 7.5%22/%3E%3C/svg%3E");
}
.i { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.14em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i--right { --i: var(--i-right); }
.i--left { --i: var(--i-left); }
.i--up { --i: var(--i-up); }
.i--down { --i: var(--i-down); }
.i--ne { --i: var(--i-ne); }
.i--cw { --i: var(--i-cw); }
.i--ccw { --i: var(--i-ccw); }
.i--check { --i: var(--i-check); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; font-weight: 600; }
/* CTAs are text links: label + arrow over a yellow underline. Only the form submit buttons keep a filled label. */
a.btn { gap: 10px; color: var(--text); border-bottom: 1px solid var(--yellow); padding-bottom: 5px; transition: color .2s var(--ease); }
a.btn:hover { color: #fff; }
a.btn .i { color: var(--yellow); transition: transform .2s var(--ease); }
a.btn:hover .i { transform: translateX(3px); }
a.btn:hover .i--ne { transform: translate(2px, -2px); }
.btn--pill { font-size: 14px; }
a.btn--split { font-size: 17px; font-weight: 700; }
/* Solid form buttons (Submit, Subscribe): always 48px tall, the yellow label and blue arrow fill the height */
button.btn--split { height: 48px; align-items: stretch; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
button.btn--split .btn__label { display: flex; align-items: center; background: var(--yellow); color: #14130f; padding: 0 22px; }
button.btn--split .btn__arrow { display: flex; align-items: center; background: var(--blue); color: #fff; padding: 0 16px; transition: padding .2s var(--ease); }
button.btn--split:hover .btn__arrow { padding-left: 22px; }

.link-mono {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link-mono:hover { border-color: var(--yellow); color: #fff; }
/* A CTA and a mono link side by side (page heroes): different sizes, but the underlines sit on one line
   and so does the text: the rows are bottom-aligned (align-items: flex-end), and the mono link gets the
   CTA's 13px from the text baseline to the line. */
.hero__actions .link-mono, .page-hero__actions .link-mono { padding-bottom: 7px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 2 * var(--gutter)), 1180px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 16, 42, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
/* The Skipjack fish mark from the real logo (assets/img/brand/logo-skipjack.png, 400×400, black line art).
   Used as a mask so it takes any colour: the PNG's fish sits at x 38–362, y 59–204, so the box is
   cropped to that area and scales with --h (mask size/offset are multiples of the height). */
.brand__mark {
  --h: 22px; flex: none; width: calc(var(--h) * 2.219); height: var(--h);
  background: var(--text); transition: background-color .25s var(--ease);
  -webkit-mask: url("../img/brand/logo-skipjack.png") no-repeat calc(var(--h) * -0.2603) calc(var(--h) * -0.4041) / calc(var(--h) * 2.7397) auto;
          mask: url("../img/brand/logo-skipjack.png") no-repeat calc(var(--h) * -0.2603) calc(var(--h) * -0.4041) / calc(var(--h) * 2.7397) auto;
}
.brand:hover .brand__mark { background: var(--blue-soft); }
.brand__name, .site-header .btn--pill { white-space: nowrap; }
/* Header CTA: a small outlined pill that matches the header bar, instead of the underlined text link.
   Same height as the round menu toggle next to it: 40px, 38px on small phones. */
.site-header a.btn--pill {
  height: 40px; gap: 8px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header a.btn--pill:hover { border-color: var(--yellow); background: rgba(255, 199, 44, .06); }
@media (max-width: 420px) { .site-header a.btn--pill { height: 38px; } }
@media (max-width: 389px) { .site-header a.btn--pill { padding: 0 13px; } }
@media (max-width: 420px) { .site-header .brand { gap: 8px; } .site-header .brand__mark { --h: 17px; } }
.brand__name span { font-weight: 400; color: var(--muted); }
.site-nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.site-nav a { transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }

@media (max-width: 860px) {
  .site-nav { display: none; }
}

/* Phone menu (os/menu.js): a toggle in the header opens the nav as a panel under the header pill */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer;
    transition: border-color .2s, background-color .2s;
  }
  .nav-toggle:hover, .nav-toggle:focus-visible { border-color: var(--blue-soft); background: rgba(110, 125, 255, .1); }
  .nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-toggle__bars { position: relative; transform: translateY(-3px); }
  .nav-toggle__bars::before { content: ""; position: absolute; left: 0; top: 6px; }
  .is-menu-open .nav-toggle__bars { transform: translateY(0) rotate(45deg); }
  .is-menu-open .nav-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }
  .site-header.is-menu-open { border-radius: 26px; }
  .is-menu-open .site-nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    padding: 8px; border: 1px solid var(--line); border-radius: 20px;
    background: rgba(6, 12, 34, .985); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    font-size: 17px; animation: menu-in .25s var(--ease);
  }
  .is-menu-open .site-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; }
  .is-menu-open .site-nav a:hover, .is-menu-open .site-nav a:focus-visible { background: rgba(110, 125, 255, .1); }
  .is-menu-open .site-nav a[aria-current] { color: var(--text); background: rgba(110, 125, 255, .14); }
}
/* Small phones: brand + Let's Talk + menu toggle must fit in one pill */
@media (max-width: 420px) {
  .site-header { gap: 10px; padding: 8px 8px 8px 14px; }
  .site-header__actions { gap: 6px; }
  .nav-toggle { width: 38px; height: 38px; }
}
@media (max-width: 389px) {
  .brand__name { font-size: 15px; }
  .site-header .btn--pill > span { display: none; } /* the ↗ */
}
@media (max-width: 339px) { .site-header:not(.site-header--sales) .btn--pill { display: none; } } /* the CTA stays in each page hero */
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .is-menu-open .site-nav { animation: none; } .nav-toggle__bars, .nav-toggle__bars::before { transition: none; } }

/* Back link at the top of inner pages and articles (os/transition.js returns to the previous page) */
.back-link {
  display: flex; width: max-content; align-items: center; gap: 8px; margin: -8px 0 14px; padding: 8px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.back-link span { transition: transform .25s var(--ease); }
.back-link:hover, .back-link:focus-visible { color: var(--text); }
.back-link:hover span { transform: translateX(-3px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: rgba(8, 18, 46, .6); /* --navy, see-through to the page's ocean; JS fades it out during the dive */
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero__light { /* light from the surface; fades as the dive deepens (JS sets opacity) */
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 60% at 60% -10%, rgba(70, 95, 220, 0.26), transparent 60%),
    radial-gradient(60% 40% at 85% 0%, rgba(150, 170, 255, 0.12), transparent 70%);
}

.hero__copy {
  position: absolute; z-index: 3;
  left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(40vw, 520px);
  min-height: 340px;
}
@media (min-width: 761px) {
  /* Copy lives in the band between the header and the status bar, so tall stage messages can
     never run into either; type also scales with the viewport height. */
  .hero__copy { left: calc(var(--gutter) + 24px); top: 96px; bottom: 72px; transform: none; min-height: 0; width: min(46vw, 580px); }
  .hero__title { font-size: clamp(34px, min(4.4vw, 7.2vh), 62px); }
  .hero__step-title { font-size: clamp(28px, min(4vw, 6.4vh), 54px); }
  .hero__lede { font-size: clamp(15px, 2.3vh, 18px); margin-top: clamp(12px, 2.6vh, 22px); }
  .hero__actions { margin-top: clamp(18px, 3.6vh, 34px); }
}
/* Centred with flex, not translateY(-50%): GSAP animates `y` on the panels and would overwrite it */
.hero__panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; }
.hero__panel:not(.hero__panel--intro) { visibility: hidden; opacity: 0; } /* JS reveals per stage */
.hero__title { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: -0.021em; }
.hero__title span, .hero__step-title span, .section__title span { color: var(--muted); }
.hero__step-title { font-size: clamp(32px, 4vw, 54px); }
.hero__lede { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 440px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px; margin-top: 34px; }


/* ---------- Hero: mobile layout (fish top, copy bottom) ---------- */
@media (max-width: 760px) {
  .hero__copy { top: auto; bottom: 88px; transform: none; width: calc(100% - 2 * var(--gutter)); min-height: 0; height: 46vh; }
  .hero__panel { justify-content: flex-end; }
  .hero__title { font-size: clamp(34px, 9.6vw, 44px); }
  .hero__step-title { font-size: 30px; }
  .hero__lede { font-size: 15px; margin-top: 14px; }
  .hero__actions { margin-top: 22px; }
}

/* ---------- Hero: static mode (reduced motion / paused) ---------- */
.hero--static { height: auto; min-height: 0; padding: 140px 0 72px; background: transparent; } /* the page's ocean shows through */
.hero--static .hero__canvas { position: absolute; inset: 0 0 auto auto; width: 58%; height: 620px; }
.hero--static .hero__copy { position: relative; left: auto; top: auto; bottom: auto; transform: none; width: auto; height: auto; min-height: 0; padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.hero--static .hero__panel { position: relative; top: auto; bottom: auto; transform: none; visibility: visible !important; opacity: 1 !important; }
.hero--static .hero__panel--intro { min-height: 420px; max-width: 560px; }
.hero--static .hero__panel:not(.hero__panel--intro) { border-top: 1px solid var(--line); padding: 36px 0; }
.hero--static .hero__panel:not(.hero__panel--intro) .hero__step-title { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 760px) {
  .hero--static .hero__canvas { width: 100%; height: 340px; top: 60px; }
  .hero--static .hero__panel--intro { min-height: 0; padding-top: 240px; }
}

/* ==========================================================================
   Sections below the hero (subtle motion only)
   ========================================================================== */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section__head { margin-bottom: 48px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(30px, 4vw, 52px); }
.section__lede { margin: 22px 0 32px; color: var(--muted); font-size: 17px; max-width: 460px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--faq { align-items: start; grid-template-columns: 1fr 1.4fr; }
@media (max-width: 860px) { .split, .split--faq { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--muted);
  transition: border-color .25s, color .25s;
}
.chips li:hover { border-color: var(--blue-soft); color: var(--text); }

.cards { display: grid; gap: 16px; margin-bottom: 40px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .cards--4, .cards--3 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(20, 32, 80, 0.45), rgba(10, 20, 48, 0.25));
  border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.card p { color: var(--muted); font-size: 15px; }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--blue-soft); letter-spacing: .08em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags li { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; }

.quote blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.quote figcaption { margin-top: auto; font-size: 13px; color: var(--muted); }
.quote figcaption b { display: block; color: var(--text); font-size: 15px; }


.cta-band { text-align: center; }
.cta-band .container { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.cta-band__title { font-size: clamp(40px, 7vw, 96px); text-transform: uppercase; letter-spacing: -0.024em; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); color: var(--blue-soft); font-size: 20px; transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; }
.faq a { color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 84px; color: var(--muted); font-size: 15px; } /* bottom: room for the back-to-top button */
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 40px; }
.footer__tag { margin-top: 18px; max-width: 320px; }
.site-footer a:hover { color: var(--text); }
.site-footer address { margin-bottom: 14px; }
.footer__links li + li { margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.footer-bottom a { color: var(--muted); transition: color .2s; }
.footer-bottom a:hover, .footer-bottom a:focus-visible, .footer-bottom a[aria-current] { color: var(--text); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll (subtle) ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Reduced motion / paused: everything visible, no transitions */
.motion-off [data-reveal] { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Skipjack OS layer
   ========================================================================== */

/* Header actions */
.site-header__actions { display: flex; align-items: center; gap: 10px; }

main, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 60; }

@keyframes pulse { 50% { opacity: .35; } }
[data-tilt] { transition: transform .5s var(--ease), border-color .3s var(--ease); transform-style: preserve-3d; }

/* Glow border following the cursor */
[data-glow] { position: relative; isolation: isolate; }
[data-glow]::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%), rgba(140, 155, 255, .9), rgba(255, 199, 44, .35) 30%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .3s;
}
[data-glow]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(79, 91, 255, .12), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
[data-glow]:hover::before, [data-glow]:hover::after { opacity: 1; }

/* Titles reveal line by line */
[data-lines] .line { display: block; overflow: hidden; padding-bottom: .06em; }
[data-lines] .line__in { display: block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 110ms); }
[data-lines].is-in .line__in { transform: none; }
/* the line wrappers are spans too, so restore the title colours: white text, grey for the original inner <span> */
[data-lines] .line, [data-lines] .line__in { color: var(--text); }
[data-lines] .line__in > span:not(.accent-blue):not(.accent-orange):not(.accent-pink) { color: var(--muted); }

/* Reduced motion / paused: keep the shell, drop the movement */
.motion-off [data-lines] .line__in, .motion-off [data-tilt] { transform: none !important; transition: none; }
.motion-off a.btn .i { transition: none; }
@media (prefers-reduced-motion: reduce) {
  [data-lines] .line__in { transform: none; transition: none; }
}

/* ---------- OS systems: toasts, navigator, readiness ---------- */
[hidden] { display: none !important; }

/* Toasts */
.toasts { position: fixed; z-index: 90; right: max(var(--gutter), calc(50% - 590px)); bottom: 76px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; max-width: min(420px, calc(100vw - 32px));
  background: rgba(8, 14, 36, .94); border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.is-in { opacity: 1; transform: none; }
.toast i { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--blue-soft); box-shadow: 0 0 8px var(--blue-soft); }
.toast--ok i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.toast--error i { background: var(--orange); box-shadow: 0 0 8px var(--orange); }

/* Copy buttons */
.copy { margin-left: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); background: none; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; cursor: pointer; }
.copy:hover { color: var(--text); border-color: var(--blue-soft); }

/* Back to top (os/totop.js): bottom right, after two screens of scrolling */
.totop {
  position: fixed; z-index: 54; bottom: 20px; right: max(var(--gutter), calc((100vw - 1180px) / 2));
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(5, 10, 26, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono); font-size: 18px; color: var(--text); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, border-color .2s, background-color .2s;
}
.totop.is-on { opacity: 1; visibility: visible; }
.totop:hover, .totop:focus-visible { border-color: var(--blue-soft); background: rgba(46, 55, 254, .22); }
.totop:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .totop { transition: none; } }

/* Readiness self-check */
.ready { align-items: stretch; gap: 22px; }
.ready__gauge { position: relative; width: 120px; height: 120px; align-self: center; }
.ready__gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ready__track { fill: none; stroke: var(--line); stroke-width: 4; }
.ready__arc { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease), stroke .4s; filter: drop-shadow(0 0 6px currentColor); }
.ready[data-level="mid"] .ready__arc { stroke: var(--yellow); }
.ready[data-level="all"] .ready__arc { stroke: var(--green); }
.ready__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.ready__num b { font-family: var(--font); font-size: 36px; font-weight: 600; color: var(--text); }
.ready__num { display: flex; align-items: baseline; justify-content: center; padding-top: 34px; gap: 2px; }
.ready__fieldset { border: 0; margin: 0; padding: 0; }
.ready__legend { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 10px; }
.ready__list { display: grid; gap: 6px; }
.ready__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 15px; transition: border-color .2s, color .2s, background-color .2s; }
.ready__item:hover { border-color: var(--line-strong); color: var(--text); }
.ready__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ready__box { width: 18px; height: 18px; flex: none; border: 1px solid var(--line-strong); border-radius: 5px; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.ready__item input:checked + .ready__box { background: var(--blue); border-color: var(--blue); }
.ready__item input:checked + .ready__box::after { content: ""; width: 12px; height: 12px; background: #fff; -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.ready__item:has(input:checked) { color: var(--text); border-color: rgba(79, 91, 255, .45); background: rgba(79, 91, 255, .07); }
.ready__item input:focus-visible + .ready__box { outline: 2px solid var(--yellow); outline-offset: 2px; }
.ready__msg { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--muted); min-height: 2.6em; }
.ready .btn { align-self: flex-start; }
.motion-off .ready__arc, .motion-off .toast { transition: none; }

/* ==========================================================================
   Below the hero: living background, images, colour, kinetic type
   ========================================================================== */
:root { --pink: #FC3D92; --mint: #3fe8b8; --accent: var(--blue-soft); }

/* Background school canvas (behind all content) */
.bgfx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: 0; }

/* Tighter rhythm: no screen that is mostly empty */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section__head { margin-bottom: 36px; }

/* Glow uses each element's accent colour */
[data-glow]::before { background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%), var(--accent), color-mix(in srgb, var(--accent) 35%, transparent) 30%, transparent 60%); }
[data-glow]::after { background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); }

/* Service cards: own accent on number, tags and glow */
.card--svc { position: relative; overflow: hidden; }
/* Rows shared across the grid (number, title, copy, list) so titles, copy and list rules line up */
@supports (grid-template-rows: subgrid) {
  .cards--4 { row-gap: 0; }
  .cards--4 > .card--svc { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 14px; margin-bottom: 16px; }
  .cards--4 > .card--svc .tags { margin-top: 0; align-self: start; }
}
.card--svc .card__num { color: var(--accent); }
.card--svc:hover .tags li { color: var(--text); }
/* Service lists are full phrases, so they read as a list under a rule, not chips */
.card--svc .tags { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.card--svc .tags li { position: relative; padding: 0 0 0 16px; border: 0; border-radius: 0; font: 400 13px/1.4 var(--font); letter-spacing: 0; text-transform: none; transition: color .3s; }
.card--svc .tags li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); opacity: .8; }

/* Results counters */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
.counters li { --accent: var(--blue-soft); position: relative; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.counters b { font-size: clamp(64px, 9vw, 132px); line-height: .9; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 45%, transparent); font-variant-numeric: tabular-nums; }
.counters__unit { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.counters__note { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 280px; }
.counters__bar { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--accent); box-shadow: 0 0 14px var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.counters li.is-in .counters__bar { transform: none; }
@media (max-width: 760px) { .counters { grid-template-columns: 1fr; } .counters b { font-size: 72px; } }

/* Kinetic clients headline */
.clients { overflow: hidden; }
.kinetic {
  font-size: clamp(48px, 8.1vw, 132px); line-height: .92; letter-spacing: -0.033em; font-weight: 700; text-transform: uppercase;
  margin: 8px 0 36px; display: flex; flex-direction: column; white-space: nowrap;
}
.kinetic__row { display: block; will-change: transform; }
.kinetic__row:nth-child(2) { padding-left: 8vw; }
.kinetic__row:nth-child(3) { padding-left: 3vw; }
.kw { display: inline-block; will-change: transform, opacity; }
.kinetic__row--accent { --fill: 0%; }
.kinetic__row--accent .kw {
  font-family: "Inter Outline", var(--font);
  color: transparent; -webkit-text-stroke: 1.5px var(--blue-soft);
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-soft) 45%, var(--mint) 100%) no-repeat;
  background-size: var(--fill) 100%; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 28px rgba(79, 91, 255, .35));
}
.clients__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 48px; } /* the CTA sits right under its sentence */
.clients__foot .section__lede { margin: 0; }
@media (max-width: 760px) { .kinetic { font-size: 13.5vw; white-space: normal; } .kinetic__row:nth-child(n) { padding-left: 0; } }

/* Client logo marquee (logos inverted to light-on-dark) */
.marquee { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__row--rev { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee li { width: 168px; height: 84px; display: grid; place-items: center; border-radius: 14px; background: rgba(10, 20, 48, .35); transition: background-color .3s; }
.marquee li:hover { background: rgba(79, 91, 255, .08); }
.marquee img { display: block; width: auto; height: auto; max-width: 120px; max-height: 50px; object-fit: contain; filter: grayscale(1) invert(1) contrast(1.6) brightness(1.1); mix-blend-mode: screen; opacity: .72; transition: opacity .3s; }
.marquee li:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Image treatment: duotone (navy → blue → white) */
.media { position: relative; display: block; overflow: hidden; background: #0b1440; isolation: isolate; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.95); mix-blend-mode: luminosity; transition: filter .6s var(--ease), transform .8s var(--ease); }
.media--duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(46, 55, 254, .55), rgba(8, 18, 46, .2) 60%, rgba(63, 232, 184, .18)); mix-blend-mode: color; pointer-events: none; transition: opacity .6s var(--ease); }
a:hover .media img, .media-card:hover .media img { filter: grayscale(.2) contrast(1.05); transform: scale(1.04); }
a:hover .media--duo::after, .media-card:hover .media--duo::after { opacity: .35; }

/* Reduced motion / paused */
.motion-off .marquee__row { animation: none; flex-wrap: wrap; width: auto; }
.motion-off .marquee li[aria-hidden="true"] { display: none; }
.motion-off .kinetic__row, .motion-off .kw { transform: none !important; opacity: 1 !important; }
.motion-off .kinetic__row--accent { --fill: 100% !important; }
@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; }
  .counters__bar { transition: none; transform: none; }
}
.section { padding: clamp(44px, 5.5vw, 80px) 0; }
.section__head { margin-bottom: 28px; }


/* ---------- Client logos: brand files + text placeholders ---------- */
/* Logo tiles (scripts/prepare_logos.py): original colours on the brand's own background, filling the box */
.marquee li.is-file { overflow: hidden; border-color: transparent; background: none; }
.marquee li.is-file img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; mix-blend-mode: normal; opacity: .92; transition: opacity .3s, transform .4s var(--ease); }
.marquee li.is-file:hover img { opacity: 1; transform: scale(1.04); }
.marquee li.is-text { width: auto; min-width: 168px; padding: 0 22px; }
.marquee li.is-text span { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; transition: color .3s; }
.marquee li.is-text:hover span { color: var(--text); }
.motion-off .marquee__row { justify-content: center; }

/* ---------- Full-bleed image cards (Insights + Projects) ---------- */
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cards--2 { grid-template-columns: 1fr; } }
.media-card { position: relative; min-height: 380px; padding: 0; overflow: hidden; justify-content: flex-end; gap: 0; }
.media-card--project { min-height: 340px; }
.media-card__img { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; }
.media-card--project .media-card__img img { transform-origin: 78% 52%; transform: scale(1.7); } /* crops the labels baked into the left side of the old site's card images */
.media-card--project:hover .media-card__img img { transform: scale(1.76); }
.media-card__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 6, 15, 0) 25%, rgba(3, 6, 15, .62) 55%, rgba(3, 6, 15, .94) 100%);
}
.media-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.media-card__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.media-card h3 { font-size: 20px; line-height: 1.25; color: var(--text); }
.media-card__by { font-size: 13px; color: var(--muted); } /* article author on Insights cards */
.media-card--project h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; }
.media-card p { color: rgba(238, 241, 250, .78); font-size: 15px; }
.media-card .link-mono { align-self: flex-start; margin-top: 4px; }
.media-card[data-glow]::before { z-index: 3; }

/* ---------- Certification: credential cards (click / tap to flip to the scope side) ---------- */
.creds { display: grid; gap: 14px; perspective: 1400px; }
.creds > li { perspective: 1400px; }
.cred {
  --mx: 50%; --my: 50%;
  display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left;
  border-radius: 16px; cursor: pointer; transition: transform .35s var(--ease);
}
.cred:hover { transform: translateY(-2px); }
.cred__inner { position: relative; display: block; height: 164px; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.45, .05, .25, 1); }
.cred[aria-expanded="true"] .cred__inner { transform: rotateY(180deg); }
.cred__face {
  position: absolute; inset: 0; display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr auto; column-gap: 20px;
  padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 32, 80, .7), rgba(6, 12, 32, .9));
  backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: border-color .3s var(--ease);
}
.cred:hover .cred__face { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); }
/* Iridescent sheen following the cursor (blue / pink / mint), on the front face */
.cred[data-glow]::before, .cred[data-glow]::after { display: none; } /* the 3D faces paint over these */
.cred__holo {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s; mix-blend-mode: color-dodge;
  background:
    radial-gradient(240px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 40%, transparent), transparent 65%),
    linear-gradient(115deg, transparent 20%, rgba(252, 61, 146, .18) 40%, rgba(63, 232, 184, .18) 55%, rgba(111, 123, 255, .2) 70%, transparent 85%);
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, var(--mx) var(--my);
}
.cred:hover .cred__holo, .cred:focus-visible .cred__holo { opacity: 1; }
.cred__back { transform: rotateY(180deg); grid-template-columns: 1fr; border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.cred__top { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.cred__status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.cred__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.cred[data-state="verifying"] .cred__status { color: var(--yellow); }
.cred[data-state="verifying"] .cred__status::before { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); animation: pulse .5s steps(2) infinite; }
/* green VERIFIED pill */
.cred[data-state="verified"] .cred__front .cred__status {
  color: var(--mint); padding: 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--mint) 12%, transparent); border: 1px solid color-mix(in srgb, var(--mint) 40%, transparent);
}
.cred[data-state="verified"] .cred__front .cred__status::before { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.cred { --logo-w: 126px; }
.cred__face { grid-template-columns: var(--logo-w) 1fr; }
.cred__back { grid-template-columns: 1fr; }
/* partner badge tile (scripts/prepare_logos.py → assets/img/partners/) fills its box */
.cred__logo { grid-row: 2 / 4; align-self: center; width: var(--logo-w); aspect-ratio: 3 / 2; display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cred__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cred__name { align-self: end; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; }
/* "Click to see scope" chip */
.cred__hint {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 5px 11px 5px 9px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  transition: background-color .3s, border-color .3s;
}
.cred:hover .cred__hint { background: color-mix(in srgb, var(--accent) 24%, transparent); border-color: var(--accent); }
.cred__hint-icon { display: inline-block; color: var(--accent); font-size: 13px; line-height: 1; animation: cred-spin 3.2s linear infinite; }
@keyframes cred-spin { to { transform: rotate(360deg); } }
.cred__hint-tap { display: none; }
@media (hover: none) { .cred__hint-click { display: none; } .cred__hint-tap { display: inline; } }
.cred__list { display: flex; flex-wrap: wrap; gap: 6px; align-content: center; margin-top: 10px; }
.cred__list span { font-size: 13px; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 999px; color: var(--text); }
.cred__case { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-top: 8px; }
.cred:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
@media (max-width: 760px) {
  .cred { --logo-w: 92px; }
  .cred__inner { height: 196px; } .cred__name { font-size: 18px; }
}
.motion-off .cred, .motion-off .cred__inner { transition: none; }
.motion-off .cred:hover { transform: none; }
.motion-off .cred__hint-icon { animation: none; }

/* ---------- Partner band: a soft glow from the bottom centre, with rings pulsing out of it ---------- */
/* No own background: the glow and the rings (os/rings.js) sit on layers that fade out at the top (--fade)
   and bleeds past the bottom into the FAQ (--bleed), so there is no visible edge between sections. */
.cta-band {
  --fade: 200px; --bleed: 170px;
  position: relative; isolation: isolate;
  min-height: min(86vh, 800px); display: flex; flex-direction: column; justify-content: center;
}
.cta-band::after, .rings {
  content: ""; position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none;
  top: calc(var(--fade) * -1); height: calc(100% + var(--fade) + var(--bleed));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade), #000 calc(100% - var(--bleed) - 40px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade), #000 calc(100% - var(--bleed) - 40px), transparent 100%);
}
.cta-band::after { /* soft blue glow rising from the bottom centre */
  background: radial-gradient(60% 52% at 50% calc(100% - var(--bleed)), rgba(46, 55, 254, .5), rgba(46, 55, 254, .14) 45%, transparent 72%);
}
.rings { width: 100%; }
/* Homepage: the rings spread down through the FAQ (os/rings.js sets the height) and fade out by its end.
   The FAQ sits above the rings, so its text is never crossed by a line. */
.rings.rings--faq {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade), #000 50%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade), #000 50%, transparent 100%);
}
.after-rings { position: relative; z-index: 1; }
.cta-band > .container { position: relative; z-index: 2; }
.cred__hint { white-space: nowrap; }
@media (max-width: 760px) { .cred__hint { font-size: 11px; letter-spacing: .07em; padding: 5px 9px 5px 8px; gap: 6px; } }


/* Testimonial photos (from the current site, real colour); figure has a 40px UA side margin */
.quote { margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote__photo { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 4px rgba(79, 91, 255, .12); }

/* Real-colour photos (everything except the Insights cards, which keep the duotone) */
.media--photo img, a:hover .media--photo img, .media-card:hover .media--photo img { filter: none; mix-blend-mode: normal; }

/* ---------- Page transition (os/transition.js) ---------- */
/* Set in <head> before anything paints; the module swaps it for its own block grid */
html.pt-loading::after { content: ""; position: fixed; inset: 0; z-index: 199; background: var(--deep); }
.pt { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.pt.is-covered { pointer-events: auto; } /* no clicks reach the page while it's covered */
.pt.is-done { visibility: hidden; }
.pt__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--rows), 1fr); }
.pt__grid i {
  background: var(--deep); box-shadow: inset 0 0 0 1px rgba(160, 175, 255, .05);
  transform: scale(0); opacity: 0;
  transition: transform .32s var(--ease) var(--d), opacity .22s linear var(--d), background-color .5s var(--ease) var(--d);
}
.pt.is-covered .pt__grid i { transform: none; opacity: 1; }
.pt.is-covered .pt__grid i.is-hot { background: #0e1a5c; box-shadow: inset 0 0 0 1px rgba(111, 123, 255, .35), 0 0 18px rgba(46, 55, 254, .35); }
.pt.is-instant .pt__grid i, .pt.is-instant .pt__hud { transition: none !important; }

.pt__hud {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(280px, 80vw);
  display: grid; justify-items: center; gap: 10px; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
  opacity: 0; transition: opacity .2s linear;
}
.pt.is-covered .pt__hud { opacity: 1; transition-delay: .12s; }
.pt__mark { --h: 30px; width: calc(var(--h) * 2.219); height: var(--h); margin-bottom: 6px; background: var(--text);
  -webkit-mask: url("../img/brand/logo-skipjack.png") no-repeat calc(var(--h) * -0.2603) calc(var(--h) * -0.4041) / calc(var(--h) * 2.7397) auto;
          mask: url("../img/brand/logo-skipjack.png") no-repeat calc(var(--h) * -0.2603) calc(var(--h) * -0.4041) / calc(var(--h) * 2.7397) auto;
  animation: pt-pulse 1.2s ease-in-out infinite; }
.pt__sys { color: var(--muted); }
.pt__line b { font-weight: 400; color: var(--text); }
.pt__line b::after { content: ""; display: inline-block; width: .5em; height: 1em; vertical-align: -0.15em; margin-left: 3px; background: var(--blue-soft); animation: pulse 1s steps(1) infinite; } /* block cursor, drawn (Helvetica has no ▌) */
.pt__bar { width: 100%; height: 1px; background: var(--line); overflow: hidden; }
.pt__bar i { display: block; height: 100%; background: var(--blue-soft); box-shadow: 0 0 8px var(--blue-soft); transform-origin: left; transform: scaleX(0); }
.pt__pct { color: var(--blue-soft); font-variant-numeric: tabular-nums; }
@keyframes pt-pulse { 50% { opacity: .55; } }

/* Reduced motion: no block sweep, just a short fade */
.pt.is-fade .pt__grid i { transition: none; transform: none; opacity: 1; }
.pt.is-fade { transition: opacity .15s linear; opacity: 0; }
.pt.is-fade.is-covered { opacity: 1; }
.pt.is-fade .pt__mark { animation: none; }
.motion-off .pt__line b::after { animation: none; }
/* hidden loader: stop its loops (they otherwise run for the life of the page) */
.pt.is-done .pt__mark, .pt.is-done .pt__line b::after { animation: none; }

/* ---------- Skip link (keyboard): hidden until focused ---------- */
.skip-link { position: fixed; z-index: 300; left: 16px; top: 12px; padding: 10px 16px; border-radius: 2px; background: var(--yellow); color: #03060f; font: 600 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transform: translateY(-160%); }
.skip-link:focus-visible { transform: none; outline: 2px solid var(--text); outline-offset: 2px; }
main:focus { outline: none; }
