/* Apexnova studio site, Midnight Volt brand
   Layout concept: a deep abyss stage, teal surfaces, one volt highlight; type is the
   motion system (Plus Jakarta Sans weight axis morphs from 300 to 800). */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* Color: ApexNova brand */
  --obsidian: #001820;      /* Abyss */
  --ignition: #E7FD2E;      /* Volt */
  --flare: #F3FF8A;
  --bone: #EEF3F6;          /* Frost */
  --bone-2: #B9C4D6;
  --smoke: #7185A9;         /* Periwinkle */
  --graphite: #00222D;
  --graphite-2: #003C4E;    /* Deep Teal */
  --line: rgba(113, 133, 169, .2);
  --line-strong: rgba(113, 133, 169, .38);

  /* Type */
  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(16px, .35vw + 14.6px, 18px);
  --fs-small: 14px;
  --fs-lead: clamp(18px, .7vw + 14px, 23px);
  --fs-h3: clamp(22px, 1.4vw + 14px, 32px);
  --fs-h2: clamp(40px, 5.4vw, 92px);
  --fs-display: clamp(50px, min(8.6vw, 16vh), 138px);

  /* Space */
  --gx: clamp(16px, 4vw, 56px);
  --sec: clamp(96px, 12vw, 184px);
  --radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { color-scheme: dark; } }
:root[data-theme="light"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--obsidian); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--obsidian); color: var(--bone);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--ignition); color: var(--obsidian); }
:focus-visible { outline: 2px solid var(--ignition); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ignition); color: var(--obsidian); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .3s; }
.skip:focus { top: calc(16px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding-left: max(var(--gx), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gx), env(safe-area-inset-right, 0px));
}
.sec { padding-block: var(--sec); }

/* Kinetic type: every character can carry its own width */
.kin, .kin .ch { font-weight: clamp(300, calc(300 + (var(--w, 125) - 62) * 7.937), 800); }
.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-i { display: block; }

.h2 { font-size: var(--fs-h2); line-height: .96; letter-spacing: -.04em; font-weight: 800; }
.h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--bone-2); max-width: 54ch; }
.muted { color: var(--smoke); }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bf: var(--bone); --bt: var(--obsidian);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 58px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 16px; font-weight: 600; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--bf); transform: translateY(102%); transition: transform .7s var(--ease-out); }
.btn-fire { background: var(--ignition); color: var(--obsidian); }
.btn-light { background: var(--bone); color: var(--obsidian); --bf: var(--ignition); }
.btn-teal { background: var(--graphite-2); color: var(--ignition); --bf: var(--ignition); }
.btn-outline { background: transparent; color: var(--smoke); box-shadow: inset 0 0 0 2px var(--smoke); --bf: var(--bone); }
.btn-dark { background: var(--obsidian); color: var(--bone); --bf: var(--bone); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; }
.roll { display: block; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.roll > span { display: block; text-shadow: 0 1.25em 0 currentColor; transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .btn:hover::before { transform: none; }
  .btn-dark:hover, .btn-teal:hover, .btn-outline:hover { color: var(--obsidian); }
  .btn:hover .roll > span, .roll-link:hover .roll > span { transform: translateY(-1.25em); }
}
.link-line {
  display: inline-block; padding-block: 6px; text-decoration: none; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
@media (hover: hover) { .link-line:hover { background-position: 100% 100%; background-size: 0 1px; } }

/* ------------------------------------------------------------------ chrome */
.preloader { display: none; }
.js.motion:not(.seen) .preloader {
  position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--obsidian); color: var(--bone);
  padding: max(var(--gx), env(safe-area-inset-left, 0px));
  padding-bottom: calc(max(var(--gx), 24px) + env(safe-area-inset-bottom, 0px));
}
.pl-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; overflow: hidden; }
.pl-logo { width: clamp(240px, 56vw, 860px); }
.pl-logo .an-logo { width: 100%; height: auto; }
.pl-count { font-size: clamp(18px, 1.8vw, 26px); font-variant-numeric: tabular-nums; color: var(--smoke); display: block; padding-bottom: .4em; }
.pl-bar { display: block; height: 2px; margin-top: 22px; background: var(--ignition); transform: scaleX(0); transform-origin: 0 50%; }
.fail .preloader { display: none !important; }
.js.motion:not(.seen):not(.ready) body { overflow: hidden; }

.curtain { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; background: var(--ignition); transform: translateY(101%); pointer-events: none; }
.curtain .an-mark { width: 64px; height: auto; }
.curtain .an-mark polygon { fill: var(--obsidian); stroke: var(--obsidian); }
.pt-in .curtain { transform: none; }
.fail .curtain { display: none; }

.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 2px; background: var(--ignition); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 130; pointer-events: none; transition: opacity .3s; }
.cursor:not(.is-visible) { opacity: 0; }
.cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transition: opacity .2s; }
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55); display: grid; place-items: center; mix-blend-mode: difference;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor-label { font-size: 13px; font-weight: 700; color: var(--obsidian); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor-ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: #fff; border-color: transparent; }
.cursor.is-hover .cursor-dot { opacity: 0; }
.cursor.is-label .cursor-ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--ignition); border-color: transparent; mix-blend-mode: normal; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot, .cursor.is-text .cursor-ring { opacity: 0; }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor [data-cursor] { cursor: none; }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: transform .7s var(--ease-out), background-color .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(0, 24, 32, .74); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-101%); }
.menu-open .nav { transform: none; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--bone); }
.an-logo { display: block; height: 28px; width: auto; overflow: visible; }
.an-logo .lm polygon, .an-mark polygon { fill: var(--ignition); stroke: var(--ignition); stroke-width: 6; stroke-linejoin: round; }
.an-logo .lw { fill: currentColor; }
.logo .lm-l, .logo .lm-r { transition: transform .8s var(--ease-out); }
@media (hover: hover) { .logo:hover .lm-l { transform: translateX(-12px); } .logo:hover .lm-r { transform: translateX(12px); } }
.an-mark { display: block; overflow: visible; }
.nav-links { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--bone-2); transition: color .3s; }
.nav-links a:hover { color: var(--bone); }
.menu-btn { display: none; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; }
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--obsidian);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding-top: calc(110px + env(safe-area-inset-top, 0px)); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gx), env(safe-area-inset-left, 0px)); padding-right: max(var(--gx), env(safe-area-inset-right, 0px));
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: block; overflow: hidden; text-decoration: none; }
.menu nav a span { display: block; font-size: clamp(42px, 11.5vw, 76px); line-height: 1.08; font-weight: 800; letter-spacing: -.04em; }
.menu nav a:last-child span { color: var(--ignition); }
.menu-foot { display: flex; justify-content: space-between; color: var(--smoke); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav-inner { height: 68px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; background: var(--obsidian); }
.nova { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-glow { /* static fallback glow when motion is off */
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38vmax 38vmax at 74% 40%, rgba(0, 92, 112, .55), rgba(0, 60, 78, .25) 45%, transparent 70%);
}
.motion .hero-glow { display: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-rows: 1fr auto auto; gap: clamp(24px, 3vw, 44px); padding-top: calc(clamp(104px, 14vh, 150px) + env(safe-area-inset-top, 0px)); padding-bottom: clamp(20px, 3vh, 34px); }
.hero-title { align-self: center; font-size: var(--fs-display); line-height: .84; letter-spacing: -.03em; font-weight: 800; }
.hl { display: block; white-space: nowrap; }
.hl:nth-child(2) { text-align: right; color: var(--ignition); }
.js.motion .hl { overflow: hidden; padding: .05em 0 .1em; margin: -.05em 0 -.1em; }
.js.motion .hero-title.is-live .hl { overflow: visible; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 54ch) auto; justify-content: space-between; align-items: end; gap: 28px 48px; }
.hero-sub { font-size: var(--fs-lead); line-height: 1.5; color: var(--bone-2); }
.hero-sub strong { color: var(--bone); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--smoke); }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--bone-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ignition); box-shadow: 0 0 0 0 rgba(231, 253, 46, .6); animation: beacon 2.2s infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(231, 253, 46, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(231, 253, 46, 0); } }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 22px; background: linear-gradient(var(--bone), transparent); animation: drip 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.js.motion:not(.hero-ready) .hero-title, .js.motion:not(.hero-ready) .hero-bottom, .js.motion:not(.hero-ready) .hero-meta { visibility: hidden; }
.fail .hero-title, .fail .hero-bottom, .fail .hero-meta { visibility: visible !important; }
@media (max-width: 599px) {
  :root { --fs-display: clamp(46px, 14vw, 88px); }
  .hl:nth-child(2) { --w: 110 !important; }
}
@media (max-width: 760px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-meta .scroll-cue { display: none; }
}

/* ------------------------------------------------------------------ marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: clamp(18px, 2vw, 26px); background: var(--obsidian); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-list { display: flex; list-style: none; flex: none; }
.marquee-list li { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px); font-size: clamp(22px, 2.8vw, 40px); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; color: var(--bone); }
.marquee-list li::after { content: ""; width: .52em; height: .46em; background: var(--ignition); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -1 237 210'%3E%3Cpolygon points='107,3 2,156 107,206'/%3E%3Cpolygon points='124,3 229,156 124,206'/%3E%3C/svg%3E"); }
.marquee-list li:nth-child(even) { color: var(--smoke); font-weight: 300; }

/* ------------------------------------------------------------------ about */
.statement { font-size: clamp(28px, 3.7vw, 62px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; max-width: 24ch; }
.statement .w { margin-right: .22em; }
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); margin-top: clamp(64px, 8vw, 120px); }
.about-col { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.about-col h3 { font-size: 15px; font-weight: 600; color: var(--ignition); }
.about-col p { color: var(--bone-2); max-width: 44ch; }
.stats { grid-column: span 4; display: grid; gap: 0; border-top: 1px solid var(--line); }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stat b { font-size: clamp(32px, 3vw, 46px); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--bone); }
.stat > span { font-size: 14px; color: var(--smoke); text-align: right; max-width: 20ch; }
@media (max-width: 980px) { .about-col, .stats { grid-column: span 12; } }

/* ------------------------------------------------------------------ work */
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 88px); }
.work-head .lead { max-width: 40ch; }
.stack { position: relative; }
.panel { position: sticky; top: var(--top, 0px); display: flex; min-height: 100svh; }
.panel-inner {
  --pbg: #111; --pfg: #fff; --pacc: var(--ignition); --pmuted: color-mix(in srgb, var(--pfg) 66%, transparent); --pline: color-mix(in srgb, var(--pfg) 16%, transparent);
  flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 5vw, 88px);
  padding-top: clamp(96px, 13vh, 150px); padding-bottom: clamp(48px, 8vh, 96px);
  padding-left: max(var(--gx), env(safe-area-inset-left, 0px)); padding-right: max(var(--gx), env(safe-area-inset-right, 0px));
  color: var(--pfg); border-radius: 30px 30px 0 0; transform-origin: 50% 0; will-change: transform;
  background: radial-gradient(70% 60% at 88% 18%, color-mix(in srgb, var(--pacc) 26%, transparent), transparent 70%), var(--pbg);
}
.panel--drk .panel-inner { --pbg: #0F0F1A; --pfg: #F4F1EA; --pacc: #C0392B; }
.panel--srg .panel-inner { --pbg: #0B1524; --pfg: #F5F1E8; --pacc: #D4A24C; }
.panel-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.panel-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--pacc); }
.panel-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.panel-title { font-size: clamp(36px, 4.3vw, 74px); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.panel-where { color: var(--pmuted); font-size: 16px; }
.panel-summary { font-size: clamp(17px, 1.2vw, 20px); line-height: 1.55; max-width: 46ch; }
.facts { display: grid; margin: 4px 0 0; border-top: 1px solid var(--pline); }
.facts > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pline); font-size: 15px; }
.facts dt { color: var(--pmuted); }
.facts dd { margin: 0; }
.panel-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.panel--drk .btn-light { --bf: #C0392B; }
.panel--drk .btn-light:hover { color: #F4F1EA; }
.panel--srg .btn-light { --bf: #D4A24C; }
.panel-visual { margin: 0; min-width: 0; perspective: 1400px; }
@media (max-width: 980px) {
  .panel-inner { grid-template-columns: 1fr; align-content: start; padding-top: 72px; }
  .panel-visual { order: -1; }
  .facts > div { grid-template-columns: 7.5em minmax(0, 1fr); }
}

/* browser frame + live miniatures of client sites */
.browser { display: block; border-radius: 14px; overflow: hidden; background: #1c1c1c; text-decoration: none; color: inherit; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .09); transform-origin: 50% 60%; will-change: transform; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: clamp(26px, 2.3vw, 36px); padding: 0 12px; background: #222; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #444; }
.browser-bar i:first-child { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { margin-inline: auto; transform: translateX(-20px); font-size: clamp(10px, .8vw, 12.5px); color: #a3a3a3; background: #171717; padding: 3px 16px; border-radius: 6px; letter-spacing: .01em; }
.mini { display: block; position: relative; container-type: inline-size; aspect-ratio: 16 / 10.4; overflow: hidden; font-variation-settings: normal; line-height: 1.2; }
:where(.mini) span { display: block; }
.mini .row { display: flex; align-items: center; }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { position: relative; overflow: hidden; }
.ph-mark { position: absolute; inset: 0; display: grid !important; place-items: center; }

.mini-drk { background: #0F0F1A; color: #F4F1EA; font-family: "Plus Jakarta Sans", sans-serif; }
.mdk-ticker { background: #C0392B; color: #fff; font-size: 1.25cqw; padding: .7cqw 0; text-align: center; letter-spacing: .02em; }
.mdk-nav { justify-content: space-between; padding: 1.7cqw 3.6cqw; font-size: 1.3cqw; }
.mdk-logo { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.5cqw; font-weight: 600; letter-spacing: .01em; }
.mdk-links { gap: 2.3cqw; opacity: .78; }
.mdk-cta { background: #C0392B; padding: .85cqw 1.7cqw; border-radius: .35cqw; font-weight: 700; font-size: 1.15cqw; letter-spacing: .06em; }
.mdk-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3cqw; padding: 2.6cqw 3.6cqw 0; height: 66%; }
.mdk-text { display: flex; flex-direction: column; justify-content: center; gap: 1.5cqw; padding-bottom: 6cqw; }
.mdk-eyebrow { color: #E0705F; font-size: 1.25cqw; letter-spacing: .24em; text-transform: uppercase; }
.mdk-h { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 5.9cqw; line-height: .98; letter-spacing: -.01em; }
.mdk-tags { display: flex !important; gap: .8cqw; }
.mdk-tags span { border: 1px solid rgba(244, 241, 234, .28); border-radius: 99px; padding: .45cqw 1.3cqw; font-size: 1.15cqw; }
.mdk-btns { display: flex !important; gap: 1cqw; margin-top: .6cqw; }
.mdk-btns span { padding: 1cqw 1.6cqw; border-radius: .35cqw; font-size: 1.15cqw; font-weight: 600; border: 1px solid rgba(244, 241, 234, .35); }
.mdk-btns span:first-child { background: #C0392B; border-color: #C0392B; }
.mdk-photo { border-radius: 1.2cqw 1.2cqw 0 0; background: linear-gradient(165deg, #2b1a1f, #6d1f1a 70%, #C0392B); }
.mdk-photo .ph-mark { font-family: "Cormorant Garamond", Georgia, serif; font-size: 12cqw; color: rgba(244, 241, 234, .2); }
.mdk-creds { position: absolute; left: 0; right: 0; bottom: 0; display: flex !important; justify-content: space-around; background: #070709; border-top: 1px solid rgba(192, 57, 43, .45); padding: 1.5cqw 2cqw; font-size: 1.15cqw; color: #d9d2c5; }
.mdk-creds b { color: #F4F1EA; font-weight: 700; }

.mini-srg { background: radial-gradient(90% 90% at 80% 10%, #1b2b45, #0B1524 60%); color: #fff; font-family: "Montserrat", "Plus Jakarta Sans", sans-serif; }
.msg-ticker { background: #D4A24C; color: #0B1524; font-size: 1.2cqw; font-weight: 800; padding: .7cqw 0; text-align: center; letter-spacing: .02em; }
.msg-nav { justify-content: space-between; padding: 1.6cqw 3.6cqw; font-size: 1.2cqw; font-weight: 500; }
.msg-logo { position: relative; width: 13cqw; height: 4.2cqw; }
.msg-logo img { object-fit: contain; object-position: left center; }
.msg-logo .ph-mark { place-items: center start; font-weight: 800; color: #D4A24C; font-size: 1.9cqw; }
.msg-logo img + .ph-mark { display: none !important; }
.msg-links { gap: 2.2cqw; opacity: .82; }
.msg-cta { background: #D4A24C; color: #0B1524; padding: .9cqw 1.7cqw; border-radius: 99px; font-weight: 800; font-size: 1.1cqw; }
.msg-hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3cqw; padding: 3.2cqw 3.6cqw 0; height: 64%; }
.msg-text { display: flex; flex-direction: column; justify-content: center; gap: 1.5cqw; padding-bottom: 7cqw; }
.msg-eyebrow { color: #D4A24C; font-size: 1.25cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.msg-h { font-weight: 800; font-size: 5.3cqw; line-height: 1.02; letter-spacing: -.01em; }
.msg-sub { color: #E9D3A6; font-size: 1.7cqw; font-weight: 500; }
.msg-btns { display: flex !important; gap: 1cqw; margin-top: .6cqw; }
.msg-btns span { padding: 1cqw 2cqw; border-radius: 99px; font-size: 1.15cqw; font-weight: 800; border: 1.5px solid #D4A24C; color: #D4A24C; }
.msg-btns span:first-child { background: #D4A24C; color: #0B1524; }
.msg-photo { border-radius: 1.2cqw 1.2cqw 0 0; background: linear-gradient(165deg, #23324d, #0d1a2e 60%, #6b5320); border: 1px solid rgba(212, 162, 76, .35); border-bottom: 0; }
.msg-photo img { object-position: 50% 20%; }
.msg-photo .ph-mark { font-weight: 800; font-size: 9cqw; color: rgba(212, 162, 76, .22); }
.msg-programs { position: absolute; left: 0; right: 0; bottom: 0; display: grid !important; grid-template-columns: repeat(5, 1fr); background: #08101c; border-top: 1px solid rgba(212, 162, 76, .4); }
.msg-programs span { padding: 1.4cqw 1.2cqw; font-size: 1.1cqw; font-weight: 800; color: #fff; border-right: 1px solid rgba(255, 255, 255, .08); }
.msg-programs small { display: block; font-weight: 500; color: #D4A24C; font-size: .95cqw; margin-top: .3cqw; }

/* ------------------------------------------------------------------ more work (horizontal) */
.more { padding-block: var(--sec) calc(var(--sec) * .6); overflow: hidden; }
.more-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); }
.more-head .h3 { font-size: clamp(30px, 3.2vw, 52px); font-weight: 800; letter-spacing: -.04em; }
.more-hint { font-size: 14px; color: var(--smoke); display: flex; align-items: center; gap: 12px; }
.more-hint i { display: block; width: 72px; height: 2px; background: var(--line-strong); position: relative; overflow: hidden; }
.more-hint i b { position: absolute; inset: 0; background: var(--ignition); transform: scaleX(var(--p, .08)); transform-origin: 0 50%; }
.hscroll { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-left: max(var(--gx), env(safe-area-inset-left, 0px)); padding-right: max(var(--gx), env(safe-area-inset-right, 0px)); scroll-padding-left: max(var(--gx), env(safe-area-inset-left, 0px)); }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; list-style: none; will-change: transform; }
.card { flex: none; width: min(84vw, 520px); scroll-snap-align: start; }
.card > a { display: flex; flex-direction: column; gap: 20px; text-decoration: none; }
.card-frame { display: block; border-radius: 16px; overflow: hidden; background: #1c1c1c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -40px rgba(0, 0, 0, .85); transition: transform .9s var(--ease-out); }
.card-frame .browser-bar { height: 30px; }
.card-screen { position: relative; display: block; aspect-ratio: 1200 / 780; max-width: 100%; overflow: hidden; isolation: isolate; background: var(--c1); color: var(--c2); }
.card-screen::before { content: attr(data-mono); position: absolute; z-index: -1; right: -.04em; top: -.2em; font-size: clamp(150px, 15vw, 250px); line-height: 1; font-weight: 800; letter-spacing: -.06em; color: color-mix(in srgb, var(--c2) 9%, transparent); }
.card-poster { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(18px, 2.2vw, 30px); }
.card-quote { font-size: clamp(22px, 2vw, 32px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; max-width: 15ch; }
.shot { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .9s var(--ease-out), transform 1.4s var(--ease-out); }
.js .shot:not(.is-loaded) { opacity: 0; }
@media (hover: hover) {
  .card > a:hover .card-frame { transform: translateY(-6px); }
  .card > a:hover .shot { transform: scale(1.04); }
}
.card--cta .card-screen { background: var(--ignition); color: var(--obsidian); }
.card--cta .card-quote { font-size: clamp(32px, 3.2vw, 54px); }
@media (min-width: 900px) and (hover: hover) {
  .hscroll { overflow: visible; }
  .card { width: clamp(380px, 33vw, 560px); }
}

/* ------------------------------------------------------------------ section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 28px clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.sec-answer { font-size: var(--fs-lead); line-height: 1.5; color: var(--bone-2); }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ services */
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .55fr); gap: 14px clamp(24px, 4vw, 64px); align-items: baseline; padding-block: clamp(26px, 3vw, 42px); border-bottom: 1px solid var(--line); transition: color .45s var(--ease-out); }
.svc::before { content: ""; position: absolute; inset: 0 calc(-1 * max(var(--gx), env(safe-area-inset-left, 0px))); z-index: -1; background: var(--ignition); clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease-out); }
.svc-title { font-size: clamp(26px, 2.9vw, 48px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; transition: font-weight .8s var(--ease-out); }
.svc-desc { color: var(--bone-2); max-width: 46ch; transition: color .45s; }
.svc-stack { font-size: 14px; color: var(--smoke); text-align: right; transition: color .45s; }
@media (hover: hover) {
  .svc:hover { color: var(--obsidian); }
  .svc:hover::before { clip-path: inset(0 0 0 0); }
  .svc:hover .svc-title { font-weight: 800; }
  .svc:hover .svc-desc, .svc:hover .svc-stack { color: var(--obsidian); }
}
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc-stack { text-align: left; } }

/* ------------------------------------------------------------------ carrd vs wordpress */
.compare { background: var(--graphite); border-block: 1px solid var(--line); }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.cmp { padding: clamp(28px, 3.4vw, 52px) clamp(0px, 3.4vw, 52px) 0 0; display: flex; flex-direction: column; gap: 22px; }
.cmp + .cmp { border-left: 1px solid var(--line-strong); padding-left: clamp(24px, 3.4vw, 52px); padding-right: 0; }
.cmp-name { font-size: clamp(42px, 5vw, 86px); line-height: .96; font-weight: 800; letter-spacing: -.045em; font-variation-settings: "wdth" 125; }
.cmp-when { font-size: 15px; font-weight: 600; color: var(--ignition); }
.cmp ul { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cmp li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--bone-2); }
.cmp li::before { content: ""; width: 12px; height: 12px; margin-top: .45em; background: var(--ignition); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.cmp-eg { font-size: 14.5px; color: var(--smoke); }
.cmp-eg a { color: var(--bone-2); }
@media (max-width: 760px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp, .cmp + .cmp { padding: 32px 0 0; border-left: 0; }
  .cmp + .cmp { margin-top: 40px; border-top: 1px solid var(--line-strong); }
}

/* ------------------------------------------------------------------ process */
.rail { position: relative; height: 2px; background: var(--line); margin-bottom: clamp(28px, 3vw, 44px); }
.rail b { position: absolute; inset: 0; background: var(--ignition); transform: scaleX(var(--p, 1)); transform-origin: 0 50%; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-n { font-size: clamp(60px, 6.4vw, 108px); line-height: .8; font-weight: 800; letter-spacing: -.05em; color: var(--ignition); transition: color .6s, font-weight .9s var(--ease-out); }
.step h3 { font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.step p { color: var(--bone-2); font-size: 16px; max-width: 34ch; }
.motion .step:not(.is-on) .step-n { color: var(--graphite-2); -webkit-text-stroke: 1px var(--line-strong); font-weight: 300; }
.motion .step.is-on .step-n { font-weight: 800; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 112px); align-items: start; }
.faq-side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-size: clamp(18px, 1.4vw, 22px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--flare); }
.faq-icon { position: relative; flex: none; width: 20px; height: 20px; margin-top: .3em; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .6s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after, .faq-item[open]:not(.is-closing) .faq-icon::after { transform: rotate(0deg); }
.faq-item.is-open .faq-icon { color: var(--ignition); }
.faq-a { overflow: hidden; }
.faq-a p { padding-bottom: 28px; max-width: 64ch; color: var(--bone-2); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ------------------------------------------------------------------ contact */
.contact { background: var(--ignition); color: var(--obsidian); }
.contact ::selection { background: var(--obsidian); color: var(--ignition); }
.contact :focus-visible { outline-color: var(--obsidian); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px clamp(40px, 6vw, 112px); padding-block: var(--sec); }
.contact-head { grid-column: 1 / -1; }
.contact-copy { display: flex; flex-direction: column; gap: 28px; }
.contact-title { font-size: clamp(40px, 10.4vw, 156px); line-height: .9; letter-spacing: -.05em; font-weight: 800; }
.contact-title .tl { display: block; white-space: nowrap; }
.contact-copy > p { font-size: var(--fs-lead); line-height: 1.45; max-width: 36ch; }
.contact-alt { list-style: none; display: grid; border-top: 1.5px solid rgba(0, 24, 32, .25); margin-top: 8px; max-width: 460px; }
.contact-alt li { border-bottom: 1.5px solid rgba(0, 24, 32, .25); }
.contact-alt a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; font-weight: 600; }
.contact-alt a span:last-child { opacity: .7; font-weight: 500; }
@media (hover: hover) { .contact-alt a:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 500; opacity: .7; font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 2px solid rgba(0, 24, 32, .32); border-radius: 0; background: transparent;
  color: var(--obsidian); font: inherit; font-size: 18px; padding: 10px 0 12px; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23001820' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px; cursor: pointer; }
.field select option { color: #001820; background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(0, 24, 32, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--obsidian); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--obsidian); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 14px; max-width: 34ch; }
.form-status { grid-column: 1 / -1; font-weight: 600; font-size: 16px; min-height: 1.5em; }
.form-status[data-state="ok"]::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; background: var(--obsidian); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--obsidian); overflow: hidden; padding-top: clamp(72px, 9vw, 128px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); }
.footer-lead { font-size: 18px; color: var(--bone-2); max-width: 34ch; line-height: 1.5; }
.footer h2 { font-size: 13.5px; font-weight: 600; color: var(--smoke); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer ul a { text-decoration: none; color: var(--bone); font-size: 15.5px; }
.footer ul a:hover { color: var(--ignition); }
.footer-logo { margin-top: clamp(56px, 8vw, 120px); color: var(--bone); }
.footer-logo .an-logo { width: 100%; height: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); font-size: 14px; color: var(--smoke); }
.footer-bottom a { color: var(--bone-2); text-decoration: none; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ case study pages */
.ct-hero { padding-top: calc(clamp(130px, 18vh, 190px) + env(safe-area-inset-top, 0px)); padding-bottom: clamp(40px, 5vw, 72px); position: relative; }
.ct-hero::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: min(70vw, 900px); height: min(70vw, 760px); pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc, var(--ignition)) 30%, transparent), transparent); filter: blur(10px); opacity: .7; }
.ct-hero > * { position: relative; }
.ct-back { display: inline-flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--smoke); text-decoration: none; margin-bottom: clamp(28px, 4vw, 48px); }
.ct-back:hover { color: var(--bone); }
.ct-title { display: block; font-size: clamp(44px, 9vw, 168px); line-height: .92; letter-spacing: -.05em; font-weight: 800; }
.ct-title .tl { display: block; white-space: nowrap; }
.ct-sub { display: block; margin-top: clamp(22px, 2.6vw, 36px); font-size: var(--fs-lead); font-weight: 500; line-height: 1.4; color: var(--bone-2); max-width: 40ch; letter-spacing: 0; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-strong); }
.meta > div { padding: 18px 0; display: grid; gap: 6px; }
.meta dt { font-size: 13.5px; color: var(--smoke); }
.meta dd { margin: 0; font-size: 16px; font-weight: 500; }
.meta a { color: var(--acc, var(--ignition)); font-weight: 600; }
@media (max-width: 860px) { .meta { grid-template-columns: 1fr 1fr; } }
.ct-shot { padding-bottom: var(--sec); }
.ct-shot .browser { max-width: 1240px; margin-inline: auto; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 120px); }
.ct-label { font-size: 15px; font-weight: 600; color: var(--acc, var(--ignition)); }
.ct-body { display: grid; gap: 22px; max-width: 64ch; }
.ct-body p { color: var(--bone-2); font-size: clamp(17px, 1.15vw, 19.5px); line-height: 1.65; }
.ct-body p:first-child { color: var(--bone); font-size: clamp(21px, 1.7vw, 27px); line-height: 1.4; letter-spacing: -.015em; }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } }
.built { list-style: none; border-top: 1px solid var(--line-strong); }
.built li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px clamp(24px, 4vw, 64px); padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); }
.built h3 { font-size: clamp(21px, 1.9vw, 30px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.built p { color: var(--bone-2); }
@media (max-width: 760px) { .built li { grid-template-columns: 1fr; } }

.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.show { position: relative; border-radius: var(--radius); background: var(--graphite); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; overflow: hidden; min-width: 0; }
.show-cap { font-size: 15px; color: var(--bone-2); max-width: 46ch; }
.show-cap b { color: var(--bone); font-weight: 650; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

/* mock assessment */
.assess { border-radius: 16px; background: #F4F1EA; color: #0F0F1A; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 16px; font-size: 15px; }
.assess-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #6b6660; }
.assess-bar { height: 5px; border-radius: 9px; background: #e2ddd3; overflow: hidden; }
.assess-bar b { display: block; height: 100%; width: 35%; background: #C0392B; transform-origin: 0 50%; }
.assess-q { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; font-weight: 600; }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.likert span { display: grid; place-items: center; gap: 4px; padding: 10px 2px; border-radius: 10px; border: 1.5px solid #ddd6ca; font-size: 11.5px; text-align: center; line-height: 1.2; color: #4d4842; transition: background-color .3s, border-color .3s, color .3s; }
.likert span b { font-size: 17px; color: #0F0F1A; font-weight: 700; }
.likert span.is-picked { background: #C0392B; border-color: #C0392B; color: #fff; }
.likert span.is-picked b { color: #fff; }
.motion .likert span:nth-child(4) { animation: pick 4.5s infinite; }
@keyframes pick { 0%, 35% { background: transparent; border-color: #ddd6ca; color: #4d4842; } 42%, 92% { background: #C0392B; border-color: #C0392B; color: #fff; } 100% { background: transparent; } }

/* automation flow */
.flow { display: grid; gap: 0; position: relative; }
.flow-node { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 0; }
.flow-node i { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--graphite-2); border: 1px solid var(--line-strong); font-style: normal; font-weight: 800; font-size: 14px; color: var(--bone-2); }
.flow-node b { display: block; font-weight: 650; font-size: 16px; }
.flow-node span { display: block; font-size: 14px; color: var(--smoke); }
.flow::before { content: ""; position: absolute; left: 21px; top: 34px; bottom: 34px; width: 2px; background: repeating-linear-gradient(to bottom, var(--acc, var(--ignition)) 0 6px, transparent 6px 14px); background-size: 2px 14px; opacity: .8; }
.motion .flow::before { animation: flowdash .7s linear infinite; }
@keyframes flowdash { to { background-position: 0 14px; } }
.motion .flow-node i { animation: nodeglow 4s infinite; }
.motion .flow-node:nth-child(2) i { animation-delay: .8s; } .motion .flow-node:nth-child(3) i { animation-delay: 1.6s; } .motion .flow-node:nth-child(4) i { animation-delay: 2.4s; } .motion .flow-node:nth-child(5) i { animation-delay: 3.2s; }
@keyframes nodeglow { 0%, 18% { background: var(--acc, var(--ignition)); color: var(--obsidian); border-color: transparent; } 30%, 100% { background: var(--graphite-2); color: var(--bone-2); border-color: var(--line-strong); } }

/* chips: pages built */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { font-size: 14px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--bone-2); font-variant-numeric: tabular-nums; }

/* brand system */
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sw { border-radius: 16px; aspect-ratio: 1 / 1.1; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; font-size: 13px; border: 1px solid var(--line); }
.sw b { font-size: 15px; font-weight: 650; }
.specimen { display: grid; gap: 10px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.specimen p:first-child { font-size: clamp(40px, 5vw, 84px); line-height: .95; }
.specimen p:last-child { color: var(--smoke); font-size: 14px; }
@media (max-width: 600px) { .swatches { grid-template-columns: 1fr 1fr; } }

/* program pathway (SR-Global) */
.pathway { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-top: 36px; }
.pathway::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.pathway::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--acc); transform: scaleX(var(--p, 1)); transform-origin: 0 50%; }
.pw { position: relative; display: grid; gap: 8px; align-content: start; }
.pw::before { content: ""; position: absolute; top: -36px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--obsidian); border: 2px solid var(--acc); }
.pw small { font-size: 13px; color: var(--acc); font-weight: 600; }
.pw b { font-size: clamp(19px, 1.6vw, 25px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
.pw span { font-size: 14.5px; color: var(--bone-2); }
@media (max-width: 860px) {
  .pathway { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 28px; }
  .pathway::before, .pathway::after { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pathway::after { transform: scaleY(var(--p, 1)); transform-origin: 50% 0; }
  .pw::before { top: 2px; left: -40px; }
}

/* modules (SR-Global) */
.modules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line-strong); }
.mod { display: grid; grid-template-columns: 40px minmax(0, 1fr) 22px; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mod-n { font-size: 14px; color: var(--smoke); font-variant-numeric: tabular-nums; }
.mod b { display: block; font-weight: 650; font-size: 16.5px; }
.mod span { display: block; font-size: 14px; color: var(--bone-2); }
.mod-lock { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--acc); position: relative; transition: background-color .5s; }
.mod-lock::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--obsidian); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .5s var(--ease-out); }
.mod.is-open .mod-lock, .mod.is-done .mod-lock { background: var(--acc); }
.mod.is-open .mod-lock::after, .mod.is-done .mod-lock::after { transform: rotate(45deg) scale(1); }
.motion .modules:not(.is-live) .mod .mod-lock { background: transparent; }
.motion .modules .mod:not(.is-open) .mod-lock { background: transparent; }
.motion .modules .mod:not(.is-open) .mod-lock::after { transform: rotate(45deg) scale(0); }
.motion .modules .mod:not(.is-open) b { color: var(--smoke); }
.motion .modules .mod b { transition: color .5s; }
@media (max-width: 760px) { .modules { grid-template-columns: 1fr; } }

/* steps row (assessment funnel) */
.funnel { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
.funnel li { counter-increment: f; position: relative; border-radius: 18px; padding: 22px; background: var(--graphite); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.funnel li::before { content: counter(f); font-size: 42px; line-height: .8; font-weight: 800; letter-spacing: -.05em; color: var(--acc); }
.funnel b { font-size: 18px; font-weight: 700; line-height: 1.2; }
.funnel span { font-size: 14.5px; color: var(--bone-2); }
@media (max-width: 860px) { .funnel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .funnel { grid-template-columns: 1fr; } }

.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 16 / 7.5; max-width: 100%; }
.bento .ph { border-radius: 16px; background: linear-gradient(150deg, #142238, #0B1524 60%, #3b2d12); border: 1px solid rgba(212, 162, 76, .2); }
.bento .ph:first-child { grid-row: span 2; }
.bento .ph:last-child { grid-column: span 2; }
.bento .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento .ph-mark { color: rgba(212, 162, 76, .3); font-weight: 800; font-size: 13px; }
@media (max-width: 700px) { .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; } .bento .ph { aspect-ratio: 1; } .bento .ph:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; } .bento .ph:last-child { grid-column: span 2; aspect-ratio: 16 / 8; } }

.next { display: block; text-decoration: none; border-top: 1px solid var(--line-strong); padding-block: clamp(48px, 7vw, 110px); }
.next small { display: block; font-size: 15px; color: var(--smoke); margin-bottom: 18px; }
.next-title { display: block; font-size: clamp(40px, 6.6vw, 124px); line-height: .94; letter-spacing: -.05em; font-weight: 300; transition: font-weight 1s var(--ease-out), color .5s; }
@media (hover: hover) { .next:hover .next-title { font-weight: 800; color: var(--ignition); } }

.stack-list { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-list span { padding: 10px 16px; border-radius: 99px; background: var(--graphite-2); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }

/* simple pages */
.simple { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: 80px; }
.simple-title { font-size: clamp(50px, 10vw, 176px); line-height: .92; letter-spacing: -.05em; font-weight: 800; }
.simple-title .tl { display: block; }

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ hero portrait */
.hero-title { position: relative; z-index: 1; }
.hero-bottom, .hero-meta { position: relative; z-index: 3; }
.hero-bottom { grid-template-columns: minmax(0, 46ch); justify-content: start; gap: 26px; }
.hero-meta { flex-wrap: wrap; gap: 10px 28px; justify-content: flex-start; }
.hero-portrait { position: relative; z-index: 2; margin: 0; }
.hero-portrait::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -10%; width: 96%; height: 106%; border-radius: 999px; background: linear-gradient(180deg, #004A60, var(--graphite-2) 60%); transform: translateX(-50%); box-shadow: inset 0 0 0 1px rgba(113, 133, 169, .25); }
.hero-portrait::after { content: ""; position: absolute; z-index: -1; width: 18px; height: 18px; border-radius: 50%; background: var(--ignition); left: 8%; top: 14%; box-shadow: 0 0 30px rgba(231, 253, 46, .45); }
.hero-felix { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 30px 60px rgba(0, 10, 14, .55)); -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); }
.hero-name { position: absolute; right: 0; bottom: 16%; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(0, 24, 32, .66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); font-size: 13px; color: var(--bone-2); }
.hero-name b { font-size: 15.5px; font-weight: 700; color: var(--bone); }
.hero-name::before { content: ""; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--ignition); box-shadow: 0 0 0 5px rgba(231, 253, 46, .22); }
.badge { position: absolute; left: -66px; top: 34%; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: var(--bone); background: rgba(0, 24, 32, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-strong); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge-ring text { fill: currentColor; font-family: var(--font); font-size: 9.6px; font-weight: 650; letter-spacing: .21em; text-transform: uppercase; }
.badge .an-mark { width: 38px; height: auto; transition: transform .8s var(--ease-out); }
@media (hover: hover) { .badge:hover .an-mark { transform: scale(1.15); } }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-bottom, .hero-meta { max-width: min(58%, 760px); }
  .hero-portrait { position: absolute; right: max(var(--gx), env(safe-area-inset-right, 0px)); bottom: 0; height: min(86svh, 880px); aspect-ratio: 821 / 1500; }
}
@media (max-width: 899px) {
  .hero-inner { display: flex; flex-direction: column; gap: 22px; }
  .hero-title { order: 1; }
  .hero-portrait { order: 2; align-self: center; width: min(78vw, 400px); aspect-ratio: 821 / 1500; max-height: 64svh; margin: -8px 0 -40px; }
  .hero-felix { -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); }
  .hero-bottom { order: 3; }
  .hero-meta { order: 4; }
  .badge { left: auto; right: -12%; top: 14%; width: 100px; height: 100px; }
  .badge .an-mark { width: 30px; }
  .hero-name { right: auto; left: -8%; bottom: 22%; padding: 10px 14px; }
}


.card-body { display: grid; gap: 8px; }
.card-body h4 { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.card-body p { color: var(--bone-2); font-size: 15.5px; line-height: 1.5; max-width: 48ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags span { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--bone-2); }
@media (min-width: 900px) { .hl:nth-child(2) { text-align: left; padding-left: .3em; } }

/* ------------------------------------------------------------------ live screenshots in the featured miniatures */
.mini .shot { z-index: 6; }

/* ------------------------------------------------------------------ meet felix */
.meet-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px clamp(40px, 7vw, 128px); align-items: start; }
.meet-side { position: sticky; top: 110px; display: grid; gap: 22px; justify-items: center; }
.deck { position: relative; width: min(100%, 470px); aspect-ratio: 3 / 4; max-width: 100%; }
.deck-card { position: absolute; inset: 0; margin: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--graphite); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -36px rgba(0, 0, 0, .9); transform-origin: 50% 100%; will-change: transform; }
.deck-card img { width: 100%; height: 100%; object-fit: cover; }
.deck-card:nth-child(1) { z-index: 5; }
.deck-card:nth-child(2) { z-index: 4; transform: translate(-16px, 10px) rotate(-5deg) scale(.97); }
.deck-card:nth-child(3) { z-index: 3; transform: translate(18px, 16px) rotate(6deg) scale(.94); }
.deck-card:nth-child(4) { z-index: 2; transform: translate(-24px, 22px) rotate(-8deg) scale(.91); }
.deck-card:nth-child(5) { z-index: 1; transform: translate(12px, 28px) rotate(4deg) scale(.88); }
.deck-ui { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.deck-next { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .3s, color .3s; }
.deck-next:hover { background: var(--bone); color: var(--obsidian); }
.deck-count { font-size: 14px; color: var(--smoke); font-variant-numeric: tabular-nums; }
.meet-copy { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.meet-body { display: grid; gap: 18px; max-width: 58ch; }
.meet-body p { color: var(--bone-2); }
.meet-lead { font-size: clamp(20px, 1.6vw, 25px); line-height: 1.42; color: var(--bone) !important; letter-spacing: -.015em; }
.meet .stats { grid-column: auto; max-width: 560px; }
.meet-facts { display: grid; margin: 0; border-top: 1px solid var(--line); max-width: 560px; }
.meet-facts > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.meet-facts dt { color: var(--smoke); }
.meet-facts dd { margin: 0; }
.meet-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .meet-grid { grid-template-columns: 1fr; }
  .meet-side { position: static; }
  .deck { width: min(84vw, 420px); }
}

/* ------------------------------------------------------------------ floating WhatsApp */
.wa-float { position: fixed; z-index: 65; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--ignition); color: var(--obsidian); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 18px 40px -14px rgba(231, 253, 46, .35); transform: translateY(160%); transition: transform .7s var(--ease-out); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float.is-on { transform: none; }
html:not(.js) .wa-float { transform: none; }
.menu-open .wa-float { transform: translateY(160%); }
