/* PixelPerFact — site styles
   Palette: navy from the logo, ink, white and a periwinkle accent. */

@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/switzer-latin-600-normal.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Stack Sans Headline";
  src: url("../fonts/stack-sans-headline-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Stack Sans Headline";
  src: url("../fonts/stack-sans-headline-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #011135;
  --navy-2: #0b1f52;
  --navy-line: rgba(255, 255, 255, .08);
  --ink: #0b0b0d;
  --ink-2: #17171a;
  --ink-3: #222226;
  --white: #fff;
  --mist: #f1f1f3;
  --mist-2: #e5e5e9;
  --text: #0b0b0d;
  --muted: #66666e;
  --muted-d: #a3a3ad;
  --accent: #bcc8ff;
  --accent-soft: #dfe5ff;
  --accent-bright: #9db0ff;
  --accent-deep: #3d5afe;
  --line: rgba(11, 11, 13, .1);
  --gut: clamp(10px, 2.1vw, 30px);
  --pad: clamp(20px, 5vw, 90px);
  --wrap: 1240px;
  --r-xl: clamp(22px, 2.4vw, 34px);
  --r-lg: clamp(18px, 1.8vw, 26px);
  --r-md: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hdr: 92px;
  --font-head: "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Stack Sans Headline", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.55 var(--font-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--navy); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gut) - 2 * clamp(0px, 3vw, 60px), 1290px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--pad), 790px); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 160px); }
.section-sm { padding-block: clamp(56px, 7vw, 100px); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4, .h-display, .h-xl, .h-lg, .h-md, .h-sm, .num, .btn, .cta-pill, .nav-list, .tag, .pill, .tab,
.pov-text, .cta-h, .band, .big-marquee, .numbers strong, .proc-years strong, .fstat strong, .monogram,
.step b, .vs-head, .vs-badge, .foot-h, .stat-card strong, .work-metric strong, .outcome strong, .nf-num, .svc-num,
.tech span, .checkset, .field label, .field legend, .crumbs, .foot-wa, .foot-social { font-family: var(--font-head); }
.h-display { font-size: clamp(42px, 7.1vw, 106px); font-weight: 600; letter-spacing: -.03em; line-height: .98; }
.h-xl { font-size: clamp(38px, 5.4vw, 80px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.h-lg { font-size: clamp(32px, 4.2vw, 60px); font-weight: 600; letter-spacing: -.028em; line-height: 1.04; }
.h-md { font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.h-sm { font-size: clamp(21px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }
.on-dark .muted, .on-dark .lead { color: var(--muted-d); }
.hl { color: var(--accent-bright); }
.num { font-variant-numeric: tabular-nums; letter-spacing: -.028em; font-weight: 600; }
.split-line { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }

/* tags: • label • */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--mist); color: var(--ink);
  font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.tag::before, .tag::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.tag-white { background: var(--white); }
.tag-dark { background: var(--ink-2); color: #fff; }
.tag-navy { background: var(--navy-2); color: #fff; }
.pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--mist); color: var(--ink); white-space: nowrap; }
.pill-dark { background: var(--ink-2); color: #fff; }
.pill-glass { background: rgba(255, 255, 255, .1); color: #fff; }
.pill-ink { background: var(--ink); color: #fff; }
.pill-line { background: transparent; border: 1px solid var(--line); }

/* chips inside running text */
.chip { display: inline-block; padding: 0 .28em; border-radius: .3em; line-height: 1.35; }
.chip-accent { background: var(--accent); color: var(--navy); }
.chip-white { background: var(--white); color: var(--ink); }
.chip-dark { background: var(--ink); color: #fff; }
.chip-navy { background: var(--navy); color: #fff; }

/* ---------------------------------------------------------------- buttons */
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 6px 0 24px; border-radius: 999px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
}
.btn-label { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
/* Letters roll up one after another on hover; each letter's copy (a text-shadow one line
   below) slides into its place, like the Overtake buttons. */
.btn-chars { display: inline-flex; }
.btn-chars .ch { display: inline-block; text-shadow: 0 1.3em currentColor; transition: transform .5s cubic-bezier(.65, 0, .25, 1); transition-delay: calc(var(--i) * 16ms); }
.btn:hover .btn-chars .ch, .btn:focus-visible .btn-chars .ch { transform: translateY(-1.3em); }
.btn-ico {
  display: grid; place-items: center; flex: none;
  width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%;
  font-size: 18px; overflow: hidden; transition: transform .55s var(--ease);
}
.btn:hover .btn-ico { transform: rotate(45deg); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 18px 40px -14px rgba(11, 11, 13, .55); }
.btn-dark .btn-ico { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .btn-ico { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 0 40px -6px rgba(157, 176, 255, .7); }
.btn-accent .btn-ico { background: var(--navy); color: #fff; }
.btn-outline { padding: 0 26px; border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { padding: 0 26px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { --h: 44px; padding-left: 20px; font-size: 15.5px; }
.btn-block { width: 100%; justify-content: space-between; }
.btn:active { transform: scale(.97); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 90;
  height: var(--hdr);
  transition: transform .6s var(--ease), box-shadow .4s;
}
/* The frosted background sits on a pseudo-element: a backdrop-filter on the header itself would
   trap the fixed mobile menu inside the header's 76px height. */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.menu-open .hdr { transform: none; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line); }
/* Slimmer bar once the page has scrolled; the margin keeps the content below from shifting. */
.hdr { --slim: 68px; transition: transform .6s var(--ease), box-shadow .4s, height .4s var(--ease), margin .4s var(--ease); }
.hdr.is-scrolled { height: var(--slim); margin-bottom: calc(var(--hdr) - var(--slim)); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; padding-inline: var(--gut); max-width: 1500px; margin-inline: auto; }
.hdr-logo { color: var(--navy); flex: none; }
.logo { width: 150px; height: auto; }
.nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .dd-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 16px; border-radius: 999px; color: var(--muted); font-size: 16.5px; font-weight: 500;
  transition: color .25s, background-color .25s;
}
.nav-list > li > a:hover, .dd-btn:hover { color: var(--ink); }
.nav-list > li > a[aria-current="page"], .dd-btn.is-current { background: var(--mist); color: var(--ink); }
.dd { position: relative; }
.dd-btn .ico { font-size: 15px; transition: transform .3s var(--ease); }
.dd-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 210px; padding: 8px;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(1, 17, 53, .28), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.dd-btn[aria-expanded="true"] + .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: block; padding: 10px 14px; border-radius: 12px; font-weight: 500; color: var(--muted); }
.dd-menu a:hover { background: var(--mist); color: var(--ink); }
.hdr-cta { flex: none; }
.nav-foot { display: none; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 27px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --hdr: 76px; }
  .logo { width: 132px; }
  .menu-btn { display: block; margin-left: auto; z-index: 2; }
  .hdr { --slim: 62px; }
  .menu-btn { width: 44px; height: 44px; }
  .menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
  .menu-btn[aria-expanded="true"] span:first-child, .menu-btn[aria-expanded="true"] span:last-child { top: 21px; }
  .menu-btn span { left: 13px; right: 13px; }
  .hdr-cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--hdr) + 20px) var(--pad) 32px;
    background: #fff; overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .7s var(--ease), visibility .7s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .dd-btn { width: 100%; justify-content: space-between; padding: 18px 0; border-radius: 0; font-size: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
  .nav-list > li > a[aria-current="page"], .dd-btn.is-current { background: none; color: var(--accent-deep); }
  .dd-menu { position: static; transform: none; box-shadow: none; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; min-width: 0; }
  .dd-btn[aria-expanded="true"] + .dd-menu { display: block; transform: none; }
  .dd-menu a { font-size: 19px; padding: 8px 0; }
  .nav-foot { display: block; padding-top: 28px; }
  .nav-foot .btn { width: 100%; justify-content: space-between; }
  .hdr-logo { position: relative; z-index: 2; }
}

/* ---------------------------------------------------------------- panels */
.panel { position: relative; margin-inline: var(--gut); border-radius: var(--r-xl); isolation: isolate; }
.panel-ink { background: var(--ink); color: #fff; }
.panel-navy { background: var(--navy); color: #fff; }
.panel-mist { background: var(--mist); }
.on-dark { color: #fff; }
.lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .07; }
.lines i:nth-child(1) { left: 14.1%; }
.lines i:nth-child(2) { left: 50%; }
.lines i:nth-child(3) { left: 85.9%; }
.panel-mist .lines i { opacity: .045; }

/* ---------------------------------------------------------------- hero */
.hero { overflow: hidden; padding: 0 0 10px; }
/* The headline, intro and buttons fill the first screen; the media row starts on the second screen. */
.hero-copy {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: max(460px, calc(100svh - var(--hdr))); /* exactly the first screen under the header */
  padding: 40px var(--pad); text-align: center;
}
.hero h1 { max-width: 1120px; margin: clamp(14px, 2.2vh, 22px) auto 0; font-size: clamp(36px, 4.7vw, 72px); line-height: 1.02; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .14em; vertical-align: .04em;
  height: .74em; padding: 0 .16em 0 .07em; margin: 0 .04em; border-radius: 999px;
  background: var(--navy); color: var(--accent);
}
.hero-pill-mark { display: grid; place-items: center; width: .6em; height: .6em; border-radius: 50%; background: #fff; color: var(--navy); }
.hero-pill-mark .mark { width: .32em; height: .32em; }
.hero-pill-chev { display: flex; }
.hero-pill-chev svg { width: .27em; height: .4em; margin-left: -.05em; fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; animation: chev 1.6s infinite; }
.hero-pill-chev svg:nth-child(2) { animation-delay: .18s; }
.hero-pill-chev svg:nth-child(3) { animation-delay: .36s; }
@keyframes chev { 0%, 100% { opacity: .25; } 35% { opacity: 1; } }
.hero-sub { max-width: 660px; margin: clamp(14px, 2.2vh, 24px) auto 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); line-height: 1.5; }
.hero-sub .chip { color: var(--ink); }
.hero-sub .chip-dark { color: #fff; }
.hero .btn-row { justify-content: center; margin-top: clamp(34px, 5.5vh, 56px); }
.hero-media { display: grid; grid-template-columns: 1.66fr 1fr; gap: clamp(10px, 1.6vw, 24px); padding: 10px 10px 0; }
.shots {
  position: relative; height: clamp(380px, 38vw, 540px); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, #dfe5ff, #f6f7ff 55%, #e9ecff);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 14px;
}
.shots::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#f1f1f3 0, transparent 14%, transparent 86%, rgba(241, 241, 243, .9) 100%); }
.shots-col { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.shots-col img { width: 100%; border-radius: 14px; box-shadow: 0 18px 40px -22px rgba(1, 17, 53, .45); }
.stat-card {
  position: relative; border-radius: var(--r-lg); background: var(--navy); color: #fff;
  padding: clamp(26px, 2.6vw, 40px); display: flex; flex-direction: column; overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--navy-line); border-radius: calc(var(--r-lg) - 8px); pointer-events: none; }
.pixels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; max-width: 380px; }
.pixels i { aspect-ratio: 1; border-radius: 7px; background: rgba(255, 255, 255, .08); transition: background-color .4s; }
.pixels i.on { background: var(--accent); box-shadow: 0 0 22px -4px rgba(188, 200, 255, .7); }
.stat-card .big { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: auto; padding-top: 30px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.stat-card .big strong { font-size: clamp(48px, 4.8vw, 74px); line-height: .9; }
.stat-card .big span { color: var(--muted-d); text-align: right; max-width: 150px; line-height: 1.3; }
.stat-card p.h-sm { margin-top: 22px; font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); }
.stat-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: var(--muted-d); }
.stat-row strong { color: var(--accent); font-size: clamp(26px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.03em; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 60px; margin-top: 20px; }
.bars i { flex: 1; border-radius: 6px; background: rgba(255, 255, 255, .1); transform-origin: bottom; }
.bars i.on { background: var(--accent); }

.trust { display: flex; align-items: center; gap: 36px; padding-block: clamp(46px, 5vw, 66px); }
.trust-copy { display: flex; align-items: center; gap: 16px; flex: none; padding-right: 36px; border-right: 1px solid var(--line); }
.avatars { display: flex; }
.avatars img { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; }
.avatars img + img { margin-left: -16px; }
.trust-copy p { color: var(--muted); line-height: 1.3; font-weight: 500; }
.trust-copy p b { color: var(--ink); font-weight: 600; }
.stars { display: flex; gap: 2px; color: #f6a609; font-size: 15px; margin-bottom: 3px; }

/* marquees */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.logos .marquee-group { gap: 64px; padding-right: 64px; }
.logos img { height: 34px; width: auto; opacity: .8; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.logos img:hover { opacity: 1; filter: none; }
.band { position: relative; z-index: -1; margin: -60px var(--gut) 0; padding: 82px 0 22px; border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--accent); color: var(--navy); }
.band .marquee { -webkit-mask-image: none; mask-image: none; }
.band .marquee-group { gap: 40px; padding-right: 40px; font-size: clamp(20px, 2vw, 27px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.band .mark { width: 24px; height: 24px; color: var(--navy); }
.band-word { display: inline-flex; align-items: center; gap: 40px; }
.big-marquee .marquee-group { gap: clamp(16px, 2vw, 28px); padding-right: clamp(16px, 2vw, 28px); font-size: clamp(40px, 6vw, 92px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.big-marquee .outline { color: var(--accent-deep); }
.big-marquee .mark { width: .42em; height: .42em; color: var(--navy); }

/* ---------------------------------------------------------------- point of view + tabs */
.pov { padding: clamp(70px, 8vw, 110px) 0 clamp(80px, 9vw, 130px); }
.pov-text { max-width: 1000px; margin-top: 28px; font-size: clamp(30px, 3.9vw, 58px); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
.pov-text .word { opacity: .18; }
.no-motion .pov-text .word, .motion-fallback .pov-text .word { opacity: 1; }
.pov-team { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 70px); }
.pov-thumbs { display: flex; gap: 10px; }
.pov-thumbs img { width: clamp(64px, 6.2vw, 88px); height: clamp(64px, 6.2vw, 88px); object-fit: cover; border-radius: 16px; }
.pov-team p { max-width: 300px; color: var(--muted-d); line-height: 1.35; }

.tabs-wrap { padding: clamp(40px, 5vw, 90px) 0 clamp(50px, 6vw, 100px); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 100px); align-items: center; padding-block: 24px; }
.tabs-head .h-lg { margin-top: 20px; font-size: clamp(30px, min(3.8vw, 6vh), 56px); }
.tab-list { margin-top: clamp(20px, 3.5vh, 44px); display: grid; gap: 2px; }
.tab {
  display: flex; align-items: baseline; gap: 14px; width: 100%; text-align: left;
  padding: clamp(8px, 1.4vh, 14px) 20px; border-radius: 16px; color: rgba(255, 255, 255, .45);
  font-size: clamp(22px, min(2.4vw, 3.9vh), 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1;
  transition: color .4s, background-color .4s;
}
.tab small { font-size: 16px; color: var(--accent-bright); opacity: .6; font-weight: 600; letter-spacing: 0; transition: opacity .4s; }
.tab:hover { color: rgba(255, 255, 255, .8); }
.tab[aria-selected="true"] { background: var(--ink-2); color: #fff; }
.tab[aria-selected="true"] small { opacity: 1; }
.tab-panels { position: relative; }
.tab-panel { display: grid; gap: 22px; }
.tab-panel[hidden] { display: none; }
.js .tab-panels { display: grid; }
.js .tab-panel { grid-area: 1 / 1; }
.js .tab-panel[hidden] { display: grid; visibility: hidden; opacity: 0; }
.tab-img { border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); aspect-ratio: 800 / 520; max-height: 46vh; }
.tab-img img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel p { color: var(--muted-d); font-size: 18px; max-width: 460px; line-height: 1.45; }
.tab-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- results bento */
.sec-head { display: grid; justify-items: center; gap: 22px; text-align: center; }
.sec-head .lead { max-width: 460px; }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-row > div { display: grid; gap: 22px; justify-items: start; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(40px, 5vw, 64px); }
.b-card { position: relative; border-radius: var(--r-lg); padding: 30px; min-height: 350px; display: flex; flex-direction: column; overflow: hidden; }
.b-accent { background: var(--accent-soft); }
.b-mist { background: var(--mist); }
.b-navy { background: var(--navy); color: #fff; grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; padding: 0; }
.b-card .num { font-size: clamp(48px, 5vw, 68px); line-height: 1; margin-top: auto; }
.b-card p { margin-top: 10px; font-size: 18px; line-height: 1.35; max-width: 270px; }
.b-mist p, .b-mist .b-label { color: var(--muted); }
.b-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.b-label { font-size: 18px; line-height: 1.25; max-width: 150px; }
.b-mist .num { text-align: center; margin: 34px 0 0; }
.b-mist .bars { height: 56px; margin-top: 30px; }
.b-mist .bars i { background: var(--mist-2); border-radius: 7px; }
.b-mist .bars i.on { background: var(--accent); }
.b-mist p { margin-top: 20px; }
.b-navy .b-label { color: var(--muted-d); max-width: none; }
.b-navy .num { color: var(--accent-bright); margin: 14px 0 0; }
.b-navy-copy { align-self: center; padding: 34px 34px 34px 6px; }
.b-navy-copy p { margin: 12px 0 28px; color: rgba(255, 255, 255, .72); font-size: 16px; max-width: 300px; }

/* Edupression phone mockup, drawn in HTML so it stays sharp at any size */
.phone-stage { position: relative; min-height: 380px; overflow: hidden; border-radius: var(--r-lg) 0 0 var(--r-lg); background: radial-gradient(70% 80% at 50% 95%, rgba(157, 176, 255, .45), transparent 70%), radial-gradient(40% 50% at 15% 20%, rgba(61, 90, 254, .35), transparent 70%); }
.phone { position: absolute; left: 50%; top: 42px; width: 214px; margin-left: -107px; padding: 7px; border-radius: 38px; background: #0d1326; box-shadow: 0 0 0 1.5px #3a4466, 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 50px 80px -30px rgba(0, 0, 0, .7); transform: rotate(-5deg); }
.ph-screen { position: relative; height: 430px; overflow: hidden; border-radius: 31px; padding: 12px 12px 0; background: linear-gradient(#f3f7ff, #e8f0ff); color: #13264b; font-family: var(--font-body); }
.ph-screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 66px; height: 19px; margin-left: -33px; border-radius: 12px; background: #0d1326; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 1px 10px 0; font-size: 10px; font-weight: 600; }
.ph-sig { display: flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; border-radius: 1px; background: #13264b; }
.ph-sig i:nth-child(1) { height: 4px; } .ph-sig i:nth-child(2) { height: 6px; } .ph-sig i:nth-child(3) { height: 8px; }
.ph-head { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.ph-head img { width: 88px; height: auto; }
.ph-menu { display: grid; gap: 3px; } .ph-menu i { display: block; width: 14px; height: 2px; border-radius: 2px; background: #3c8fff; }
.ph-card { margin-top: 10px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 8px 18px -12px rgba(19, 38, 75, .35); }
.ph-today { position: relative; display: grid; place-items: center; }
.ph-ring { width: 112px; height: 112px; transform: rotate(-90deg); }
.ph-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ph-ring-bg { stroke: #e3ecfb; }
.ph-ring-a { stroke: #3c8fff; }
.ph-ring-b { stroke: #6cc04a; }
.ph-ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ph-ring-txt small { font-size: 9px; color: #6a7c9c; }
.ph-ring-txt b { font-family: var(--font-head); font-size: 21px; color: #1d5fd1; letter-spacing: -.02em; }
.ph-ring-txt em { font-style: normal; color: #4fa52d; font-size: .8em; }
.ph-week { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 10px; text-align: center; font-size: 8.5px; color: #6a7c9c; }
/* week row: a ring per day with a water drop inside, like the Edupression app (blue = done, pale = still to come) */
.ph-week i { display: block; width: 20px; height: 20px; margin: 3px auto; border-radius: 50%; border: 2px solid #cfdcf4; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 1.2C8 1.2 1.8 8.4 1.8 12.6a6.2 6.2 0 0 0 12.4 0C14.2 8.4 8 1.2 8 1.2z' fill='%23dfe7f5'/%3E%3C/svg%3E") 50% 55% / 8px 10px no-repeat; }
.ph-week .on i { border-color: #3c8fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2366adff'/%3E%3Cstop offset='1' stop-color='%231f6fe0'/%3E%3C/linearGradient%3E%3Cpath d='M8 1.2C8 1.2 1.8 8.4 1.8 12.6a6.2 6.2 0 0 0 12.4 0C14.2 8.4 8 1.2 8 1.2z' fill='url(%23g)'/%3E%3Cellipse cx='5.6' cy='12.4' rx='1.3' ry='2.2' fill='%23fff' fill-opacity='.55' transform='rotate(18 5.6 12.4)'/%3E%3C/svg%3E"); }
.ph-week .now i { box-shadow: 0 0 0 3px rgba(60, 143, 255, .22); }
.ph-week b { font-weight: 600; color: #3c8fff; }
.ph-goal p { font-size: 12.5px; font-weight: 600; }
.ph-goal p b { color: #1d5fd1; }
.ph-bar { position: relative; display: flex; height: 8px; margin: 8px 0 6px; border-radius: 6px; background: #e3ecfb; }
.ph-bar i { height: 100%; background: #3c8fff; border-radius: 6px 0 0 6px; transform-origin: left; }
.ph-bar i.g { background: #6cc04a; border-radius: 0 6px 6px 0; }
.ph-bar u { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: #e0475b; }
.ph-goal small { font-size: 8.5px; color: #6a7c9c; }
.ph-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--navy); font-family: var(--font-head); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }
.ph-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3c8fff; }
.ph-chip .dot.g { background: #6cc04a; }
.ph-chip-1 { left: 5%; top: 34%; }
.ph-chip-2 { right: 5%; top: 64%; }

/* ---------------------------------------------------------------- work cards (stacking) */
.stack { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 60px); }
.work-card {
  position: sticky; top: calc(var(--hdr) + 20px);
  display: grid; grid-template-columns: 1.7fr 1fr;
  /* never taller than the space under the header, so a pinned card is always fully visible */
  height: max(380px, min(clamp(460px, 40vw, 560px), calc(100svh - var(--hdr) - 36px)));
  border-radius: var(--r-lg); overflow: hidden; background: var(--g, linear-gradient(140deg, #182c74, #9db0ff));
  transform-origin: 50% 0; will-change: transform; box-shadow: 0 -20px 60px -30px rgba(1, 17, 53, .35);
}
.stack-flat { gap: 24px; }
.stack-flat .work-card { position: relative; top: auto; height: auto; min-height: clamp(460px, 40vw, 560px); }
.work-art { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; overflow: hidden; }
.work-art img { width: min(62%, 400px); border-radius: 22px; box-shadow: 0 40px 70px -30px rgba(1, 17, 53, .55), 0 0 0 1px rgba(255, 255, 255, .5); }
.work-art img.cut, .case-thumb img.cut { align-self: end; border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 30px rgba(1, 17, 53, .22)); }
.work-art img.cut { width: auto; height: calc(100% - 32px); max-width: 80%; object-fit: contain; object-position: bottom; margin-top: 32px; }
.case-thumb img.cut { width: 56%; margin-top: 14px; }
.stack-flat .work-art img.cut { height: auto; width: min(52%, 330px); }
.stack-flat .work-art img.cut-wide { width: min(66%, 440px); }
.case-thumb img.cut-wide { width: 72%; }
.work-info { margin: 10px; padding: 30px; border-radius: calc(var(--r-lg) - 8px); background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.work-info .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.work-info h2, .work-info h3 { margin-top: 34px; }
.work-info > p { margin-top: 14px; color: var(--muted-d); line-height: 1.4; }
.work-metric { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.work-metric strong { font-size: clamp(42px, 4vw, 56px); line-height: 1; color: var(--accent-bright); }
.work-metric span { color: var(--muted-d); text-align: right; max-width: 170px; line-height: 1.3; }
.work-info .btn { margin-top: 24px; }
.work-art-full img { position: absolute; top: 10px; left: 10px; width: calc(100% - 10px); height: calc(100% - 20px); object-fit: cover; border-radius: calc(var(--r-lg) - 8px); box-shadow: none; }
.work-scope { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 6px; }
.work-scope span { font-size: 13px; color: var(--muted-d); }
.work-scope strong { font-weight: 500; font-size: 18px; line-height: 1.3; }

/* compact case cards (listing + "other case studies") */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-card { display: grid; grid-template-columns: 1fr 1.05fr; gap: 6px; padding: 6px; border-radius: var(--r-lg); background: var(--mist); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(1, 17, 53, .45); }
.case-thumb { border-radius: calc(var(--r-lg) - 6px); overflow: hidden; background: var(--g, linear-gradient(140deg, #182c74, #9db0ff)); display: grid; place-items: center; aspect-ratio: 1 / 1; }
.case-thumb img { width: 70%; border-radius: 14px; transition: transform .8s var(--ease); }
.case-card:hover .case-thumb img { transform: scale(1.05) translateY(-2%); }
.case-body { padding: 20px 18px 16px; display: flex; flex-direction: column; }
.case-body h3 { margin-top: 14px; }
.case-body p { margin-top: 8px; color: var(--muted); line-height: 1.4; font-size: 16px; }
.case-body .num { margin-top: auto; padding-top: 22px; font-size: 40px; line-height: 1; }
.case-body small { color: var(--muted); font-size: 14px; margin-top: 4px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); aspect-ratio: 550 / 458; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------------------------------------------------------------- numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: clamp(40px, 5vw, 60px); text-align: center; }
.numbers strong { display: block; font-size: clamp(50px, 6vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.numbers strong em { font-style: normal; color: var(--accent-deep); opacity: .55; }
.numbers p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* ---------------------------------------------------------------- process */
.process { display: grid; grid-template-columns: 1fr .93fr; gap: 30px; padding-inline: var(--gut); align-items: stretch; }
.proc-card { border-radius: var(--r-xl); background: var(--mist); padding: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 30px; min-height: 610px; }
.proc-card .lead { text-align: right; font-size: 18px; max-width: 250px; justify-self: end; }
.proc-card figure { align-self: end; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 285 / 330; }
.proc-card figure img { width: 100%; height: 115%; object-fit: cover; }
.proc-years { align-self: end; text-align: right; }
.proc-years strong { display: block; font-size: clamp(64px, 7vw, 104px); line-height: .9; letter-spacing: -.03em; font-weight: 600; }
.proc-years p { margin: 16px 0 0 auto; max-width: 250px; color: var(--muted); font-size: 15.5px; line-height: 1.35; }
/* Process steps: a navy panel as tall as the card beside it, with the steps as an accordion
   that auto-advances; the open step shows a progress line along its top. */
.steps-panel { display: flex; flex-direction: column; gap: 28px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); background: var(--navy); color: #fff; }
.steps-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.steps-top p { max-width: 240px; text-align: right; color: var(--muted-d); font-size: 16px; line-height: 1.4; }
.steps-list { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.step { position: relative; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); overflow: hidden; transition: background-color .5s var(--ease), color .5s; }
.step:hover { background: rgba(255, 255, 255, .1); }
.step.is-on { background: var(--accent); color: var(--navy); }
.step-head { --p: 0; display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; text-align: left; }
.step-head::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--navy); transform: scaleX(var(--p)); transform-origin: left; opacity: 0; }
.step.is-on .step-head::after { opacity: .5; }
.step-head b { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: 15px; font-weight: 600; transition: background-color .5s, color .5s; }
.step.is-on .step-head b { background: #fff; color: var(--navy); }
.step-head h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.step-body { overflow: hidden; }
.step:not(.is-on) .step-body { height: 0; }
.step-body p { padding: 0 24px 24px 82px; font-size: 17px; line-height: 1.45; color: rgba(1, 17, 53, .78); max-width: 520px; }

/* ---------------------------------------------------------------- comparison */
.compare-sec { padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px); }
.vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: clamp(40px, 5vw, 60px); }
.vs-head { display: grid; place-items: center; height: 72px; border-radius: 14px; font-size: 20px; font-weight: 500; }
.vs-them .vs-head { background: var(--ink-2); }
.vs-us .vs-head { background: var(--accent); color: var(--navy); }
.vs-us .vs-head .logo { width: 150px; }
.vs-badge { position: absolute; left: 50%; top: 36px; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(255, 255, 255, .15); font-weight: 600; z-index: 1; }
.vs ul { display: grid; gap: 22px; padding: 34px 0 0 clamp(16px, 4.5vw, 64px); }
.vs li { display: flex; gap: 14px; align-items: baseline; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.35; }
.vs li .ico { font-size: 17px; position: relative; top: 2px; }
.vs-them li { color: var(--muted-d); }
.vs-us li .ico { color: var(--accent-bright); }
.quote-card { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; max-width: 690px; margin: clamp(60px, 7vw, 100px) auto 0; padding: 10px 40px 10px 10px; border-radius: 30px; background: var(--ink-2); }
.monogram { display: grid; place-items: center; width: 160px; aspect-ratio: 160 / 176; border-radius: 22px; background: linear-gradient(150deg, var(--navy-2), #4560d8); color: #fff; font-size: 64px; font-weight: 600; letter-spacing: -.028em; }
.founder-photo { display: block; width: 160px; height: auto; aspect-ratio: 160 / 176; object-fit: cover; object-position: 50% 20%; border-radius: 22px; background: var(--mist); }
.quote-card blockquote p { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.32; letter-spacing: -.01em; color: rgba(255, 255, 255, .82); }
.quote-card footer { margin-top: 20px; display: flex; align-items: center; gap: 10px; color: var(--muted-d); font-size: 15px; }
.quote-card footer b { color: #fff; font-size: 20px; font-weight: 600; }

/* ---------------------------------------------------------------- testimonials */
.t-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.t-head > div:first-child { display: grid; gap: 22px; justify-items: start; }
.t-score { display: flex; align-items: center; gap: 22px; padding: 18px 26px 18px 24px; border-radius: var(--r-lg); background: var(--mist); }
.t-score strong { font-size: clamp(56px, 5vw, 76px); line-height: .9; }
.t-score strong small { font-size: .38em; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.t-score p { margin: 4px 0 10px; max-width: 210px; color: var(--muted); font-size: 15px; line-height: 1.3; }
.t-score .avatars img { width: 36px; height: 36px; border-width: 2px; }
.t-score .avatars img + img { margin-left: -10px; }
.t-rows { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.t-row .marquee-group { gap: 16px; padding-right: 16px; align-items: stretch; }
.t-card { flex: none; width: clamp(300px, 32vw, 460px); padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 20px; white-space: normal; }
.t-mist { background: var(--mist); }
.t-accent { background: var(--accent-soft); color: var(--navy); }
.t-navy { background: var(--navy); color: #fff; }
.t-ink { background: var(--ink); color: #fff; }
.t-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.t-top img { height: 24px; width: auto; opacity: .7; filter: grayscale(1); mix-blend-mode: multiply; }
.t-navy .t-top img, .t-ink .t-top img { filter: grayscale(1) invert(1); mix-blend-mode: screen; opacity: .8; }
.t-card blockquote p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; }
.t-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.t-mono { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 600; }
.t-card figcaption b { display: block; font-family: var(--font-head); font-weight: 600; }
.t-card figcaption small { color: var(--muted); font-size: 14px; }
.t-navy figcaption small, .t-ink figcaption small { color: var(--muted-d); }
.t-cta { background: var(--accent); color: var(--navy); justify-content: space-between; align-items: flex-start; }
.t-cta .h-md { font-size: clamp(24px, 2.2vw, 32px); }
.t-cta-go { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.t-cta-go .btn-ico { --h: 54px; background: var(--navy); color: #fff; }
.t-cta:hover .btn-ico { transform: rotate(45deg); }

/* ---------------------------------------------------------------- blog cards */
.blog-grid { display: grid; grid-template-columns: 1.9fr 1fr 1fr; gap: 30px; margin-top: clamp(40px, 5vw, 60px); align-items: start; }
.post-card { display: grid; gap: 16px; }
.post-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 265 / 200; background: var(--mist); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.post-meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.post-card h3 { font-size: clamp(20px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.post-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-featured { position: relative; grid-row: span 2; border-radius: var(--r-lg); overflow: hidden; min-height: 530px; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; color: #fff; isolation: isolate; }
.post-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.post-featured::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 17, 53, .15) 20%, rgba(1, 17, 53, .92)); }
.post-featured:hover img { transform: scale(1.05); }
.post-featured .post-meta { color: rgba(255, 255, 255, .75); }
.post-featured h3 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 12px; max-width: 420px; line-height: 1.12; }
.post-featured .pill { align-self: flex-start; background: rgba(255, 255, 255, .88); }
.posts-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ---------------------------------------------------------------- CTA + footer */
.foot-wrap { padding-top: clamp(80px, 9vw, 140px); padding-bottom: var(--gut); }
.foot-panel { position: relative; margin-inline: var(--gut); border-radius: var(--r-xl); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.cta { position: relative; padding: clamp(110px, 15vw, 230px) var(--pad) clamp(110px, 13vw, 200px); text-align: center; }
.cta-h { max-width: 1120px; margin-inline: auto; font-size: clamp(44px, 7vw, 100px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
.cta-pill {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 14px;
  margin-top: -.15em; height: 58px; padding: 0 7px 0 26px; border-radius: 999px;
  background: var(--accent); color: var(--navy); font-weight: 600; font-size: 18px;
  transform: rotate(-6deg); box-shadow: 0 0 60px -6px rgba(157, 176, 255, .85), 0 0 0 1px rgba(255, 255, 255, .3) inset;
}
.cta-pill .btn-ico { --h: 58px; background: var(--navy); color: #fff; }
.cta-pill:hover .btn-ico { transform: rotate(45deg); }
.foot { position: relative; padding: 0 var(--pad) 40px; }
.foot-panel > .lines, .cta .lines { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.2fr 1.3fr; gap: 40px; padding-top: 40px; }
.foot-panel:not(:has(.cta)) .foot-grid { padding-top: clamp(60px, 7vw, 90px); }
.foot-h { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.foot-intro p { margin-top: 12px; color: rgba(255, 255, 255, .7); max-width: 360px; line-height: 1.45; }
.foot-wa { margin-top: 26px; display: flex; align-items: center; gap: 12px; max-width: 360px; padding: 8px 8px 8px 20px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .08); transition: background-color .3s; }
.foot-wa:hover { background: rgba(255, 255, 255, .14); }
.foot-wa > .ico:first-child { font-size: 22px; color: var(--accent); }
.foot-wa span { flex: 1; font-weight: 500; }
.foot-wa > .ico:last-child { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: #fff; color: var(--navy); }
.foot-social { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 19px; font-weight: 500; }
.foot-social span { margin-right: 8px; }
.foot-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-size: 16px; transition: background-color .3s, color .3s; }
.foot-social a:hover { background: #fff; color: var(--navy); }
.foot-col h3 { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .55); text-transform: none; }
.foot-col ul { margin-top: 22px; display: grid; gap: 12px; }
.foot-col a { color: rgba(255, 255, 255, .75); font-size: 18px; transition: color .25s; }
.foot-col a:hover, .foot-col a[aria-current="page"] { color: var(--accent); }
.foot-contact a { color: rgba(255, 255, 255, .85); }
.foot-note { color: rgba(255, 255, 255, .5); font-size: 15px; line-height: 1.4; }
.foot-brand { display: inline-block; color: #fff; margin-bottom: 26px; }
.foot-brand .logo { width: 170px; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(50px, 7vw, 90px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 16px; }
.foot-base p:last-child { color: rgba(255, 255, 255, .6); }
.foot-legal { margin-top: 30px; max-width: 1000px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 26px; box-shadow: 0 16px 30px -10px rgba(1, 17, 53, .6), 0 0 0 3px rgba(255, 255, 255, .9); transition: transform .5s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float .ico { stroke-width: 1.7; }

/* ---------------------------------------------------------------- inner pages */
.page-hero { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.page-hero .lead { max-width: 560px; margin: 22px auto 0; }
.page-hero.center .tag { margin-bottom: 22px; }
.crumbs { display: flex; gap: 8px; justify-content: center; color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }

.about-hero { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 60px); }
.about-hero h1 { max-width: 1100px; margin-top: 26px; font-size: clamp(40px, 5.7vw, 82px); line-height: 1.12; }
.about-hero .fade-word { color: var(--accent-deep); opacity: .45; }
/* Edge-to-edge photo strip: one height, three repeating widths (square, 0.81, 0.67), like Overtake */
.photo-strip { --h: clamp(240px, 30vw, 430px); -webkit-mask-image: none; mask-image: none; padding-bottom: clamp(20px, 3vw, 40px); }
.photo-strip .marquee-group { gap: 20px; padding-right: 20px; }
.photo-strip figure { flex: none; height: var(--h); border-radius: 20px; overflow: hidden; background: var(--mist); }
.photo-strip .w1 { width: var(--h); }
.photo-strip .w2 { width: calc(var(--h) * .814); }
.photo-strip .w3 { width: calc(var(--h) * .674); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.story .h-md { font-weight: 500; }
.story-copy p + p { margin-top: 16px; }
.story-copy .muted { margin-top: 22px; max-width: 470px; }
/* Three tilted stat cards clustered like the Overtake about page. Positions are percentages of a
   fixed-ratio box, so the cluster keeps its shape at every width. */
.float-stats { position: relative; width: 100%; max-width: 660px; margin-inline: auto; aspect-ratio: 1080 / 886; container-type: inline-size; }
.fstat { position: absolute; width: 34%; aspect-ratio: 1; padding: 5.2% 4.6% 4.2%; border-radius: 15%; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 50px -30px rgba(1, 17, 53, .45); }
.fstat small { font-size: max(11px, 2.8cqw); line-height: 1.2; opacity: .7; font-weight: 500; max-width: 6.5em; }
.fstat strong { align-self: flex-end; margin-right: 4%; font-size: max(28px, 10.25cqw); line-height: 1; letter-spacing: -.03em; font-weight: 500; }
.fstat strong em { font-style: normal; color: var(--accent-deep); }
.fstat:nth-child(1) { left: 10.3%; top: 6.8%; background: var(--mist); transform: rotate(-20deg); }
.fstat:nth-child(2) { left: 56.6%; top: 15.8%; background: var(--accent); color: var(--navy); transform: rotate(22deg); }
.fstat:nth-child(2) strong em { color: var(--navy); }
.fstat:nth-child(3) { left: 28.4%; top: 54.7%; background: var(--navy); color: #fff; transform: rotate(10deg); }
.fstat:nth-child(3) strong em { color: var(--accent); }
.values { padding: clamp(80px, 9vw, 130px) 0; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 60px); }
.v-card { padding: 36px 30px; border-radius: var(--r-lg); background: var(--ink-2); text-align: center; display: grid; justify-items: center; gap: 14px; align-content: start; }
.v-card b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 600; }
.v-card h3 { font-size: 22px; font-weight: 600; margin-top: 8px; letter-spacing: -.02em; }
.v-card p { color: var(--muted-d); line-height: 1.45; max-width: 290px; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 60px); }
.role { padding: 28px; border-radius: var(--r-lg); background: var(--mist); display: grid; gap: 12px; align-content: start; min-height: 260px; }
.role .ico { font-size: 28px; padding: 14px; width: 58px; height: 58px; border-radius: 16px; background: #fff; }
.role h3 { margin-top: auto; padding-top: 30px; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.role p { color: var(--muted); line-height: 1.4; font-size: 16px; }

/* about: client logo strip */
.logo-strip { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); padding: clamp(26px, 3vw, 36px) clamp(24px, 4vw, 56px); overflow: hidden; }
.logo-strip-label { flex: none; max-width: 240px; color: rgba(255, 255, 255, .65); font-size: 15px; line-height: 1.4; }
.logo-strip-label strong { display: block; color: #fff; font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.logos-white { flex: 1; min-width: 0; }
.logos-white .marquee-group { gap: clamp(48px, 5vw, 80px); padding-right: clamp(48px, 5vw, 80px); }
.logos-white img { height: 36px; width: auto; opacity: .95; transition: opacity .3s; }
.logos-white img:hover { opacity: 1; }
.team-head { display: grid; justify-items: start; gap: 22px; }
.team-head .lead { max-width: 560px; }

/* services page */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-block: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 20px); }
.svc:nth-of-type(even) .svc-img { order: -1; }
.svc-num { font-size: 15px; font-weight: 600; color: var(--accent-deep); }
.svc h2 { margin-top: 12px; }
.svc p { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 480px; }
.svc .tab-tags { margin-top: 24px; }
.svc .pill { background: transparent; border: 1px solid var(--line); padding: 8px 14px; font-size: 15px; }
.svc-img { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); aspect-ratio: 800 / 520; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-list .btn { margin-top: 30px; }
.tech { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: clamp(30px, 4vw, 50px) auto 0; }
.tech span { padding: 12px 20px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 17px; }

/* case study detail */
.case-hero { padding: clamp(60px, 7vw, 100px) clamp(20px, 5vw, 60px) 10px; overflow: hidden; }
.case-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.case-top .h-display { font-size: clamp(48px, 7vw, 100px); }
.case-top p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 380px; line-height: 1.45; }
.case-top .btn { margin-top: 24px; }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.case-meta dt { font-size: 13px; color: var(--muted-d); }
.case-meta dd { margin: 6px 0 0; font-weight: 500; }
.case-cover { margin: clamp(40px, 5vw, 60px) calc(-1 * clamp(10px, 4.3vw, 50px)) 0; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: var(--g); display: grid; place-items: end center; padding: clamp(40px, 5vw, 70px) 6% 0; }
.case-cover img { width: min(100%, 420px); border-radius: 24px 24px 0 0; box-shadow: 0 30px 60px -30px rgba(1, 17, 53, .6); }
.case-cover-photo { padding: 0; background: var(--mist); }
.case-cover-photo img { width: 100%; height: auto; border-radius: 0; box-shadow: none; }
.case-cover-cut { padding: clamp(30px, 4vw, 56px) 4% 0; }
.case-cover-cut img { width: min(100%, var(--w, 440px)); border-radius: 0; box-shadow: none; filter: drop-shadow(0 30px 40px rgba(1, 17, 53, .22)); }
.prose { font-size: 18px; line-height: 1.65; color: #3a3a40; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 56px; font-size: clamp(28px, 2.6vw, 36px); color: var(--ink); letter-spacing: -.03em; line-height: 1.15; font-weight: 600; }
.prose h3 { margin-top: 36px; font-size: 23px; color: var(--ink); letter-spacing: -.02em; font-weight: 600; }
.prose h2:first-child { margin-top: 0; }
.prose ul { display: grid; gap: 10px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-deep); }
.prose ol { display: grid; gap: 10px; counter-reset: n; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--navy); font-size: 13px; font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin-block: 40px; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.prose figure img { width: 100%; }
.prose blockquote { padding: 26px 30px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--navy); font-size: 21px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.prose .answer { font-size: 19px; color: var(--ink); line-height: 1.6; }
.prose .callout { padding: 26px 30px; border-radius: var(--r-lg); background: var(--mist); }
.outcome { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.outcome strong { display: block; font-size: 32px; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.outcome span { font-size: 14.5px; color: var(--muted); line-height: 1.35; display: block; margin-top: 6px; }
.voice { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 30px; margin-top: 40px; border-top: 1px solid var(--line); }
.voice .mono-sm { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; }
.voice b { display: block; color: var(--ink); }
.voice small { color: var(--muted); }
.voice p { margin-left: auto; max-width: 360px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* blog post */
.post-hero { padding: clamp(60px, 7vw, 100px) var(--pad) 0; text-align: center; overflow: hidden; }
.post-hero h1 { max-width: 840px; margin: 18px auto 0; font-size: clamp(36px, 4.6vw, 64px); }
.post-hero .lead { max-width: 560px; margin: 18px auto 0; }
.post-hero .post-meta { justify-content: center; }
.post-cover { max-width: 1000px; margin: clamp(36px, 4vw, 54px) auto 0; transform: translateY(clamp(30px, 4vw, 50px)); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--navy); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.toc { padding: 20px 24px; border-radius: var(--r-md); background: var(--mist); font-size: 16px; }
.toc b { display: block; color: var(--ink); margin-bottom: 8px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--ink); }
.toc ol { display: grid; gap: 4px; }
.toc ol li { padding-left: 30px; }

/* faq */
.faq-list { display: grid; gap: 10px; max-width: 790px; margin-inline: auto; }
.faq { border-radius: 18px; background: var(--mist); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px 20px 26px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink) no-repeat center / 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .45s var(--ease);
}
.faq[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 70px 22px 26px; color: var(--muted); line-height: 1.55; }
.faq-a p + p { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 50px; }
.faq-group h2 { max-width: 790px; margin: 0 auto 18px; font-size: 22px; letter-spacing: -.02em; }

/* contact */
.contact { display: grid; grid-template-columns: .95fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: stretch; padding-top: clamp(50px, 6vw, 90px); }
.contact h1 { margin-top: 22px; }
.contact .lead { margin-top: 20px; max-width: 440px; }
.checks { display: grid; gap: 12px; margin-top: 30px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks .ico { color: var(--accent-deep); position: relative; top: 2px; }
/* Left column fills the form's height; the email and WhatsApp cards sit on its bottom edge. */
.contact > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.c-cards { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: auto; padding-top: 40px; width: 100%; max-width: 540px; }
.c-card { display: grid; gap: 40px; padding: 24px; border-radius: 22px; background: var(--accent); color: var(--navy); transition: transform .5s var(--ease); }
.c-card:hover { transform: translateY(-4px); }
.c-card.dark { background: var(--ink); color: #fff; }
.c-card .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--ink); color: #fff; }
.c-card.dark .ico { background: #fff; color: var(--ink); }
.c-card small { display: block; font-size: 14px; opacity: .7; }
.c-card span { font-weight: 600; overflow-wrap: anywhere; }
.form { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--mist); display: grid; gap: 16px; align-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 15.5px; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid transparent; background: #fff; border-radius: 999px; padding: 14px 20px; font-size: 16px; outline: none; transition: border-color .25s, box-shadow .25s;
}
.field textarea { border-radius: 22px; min-height: 112px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 4px rgba(61, 90, 254, .12); }
.field [aria-invalid="true"] { border-color: #d93636; }
.err { color: #c62828; font-size: 14px; min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checkset { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checkset label { position: relative; font-weight: 500; font-size: 15px; }
.checkset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkset span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; cursor: pointer; transition: background-color .25s, color .25s; }
.checkset input:checked + span { background: var(--navy); color: #fff; }
.checkset input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { margin-left: auto; color: var(--muted); line-height: 1.4; text-align: right; white-space: nowrap; }
/* Success state: the fields give way to a tick that draws itself */
.form-done { display: none; justify-items: center; gap: 14px; padding: clamp(36px, 6vw, 70px) clamp(10px, 3vw, 30px); text-align: center; outline: none; }
.form.is-sent > :not(.form-done) { display: none; }
.form.is-sent .form-done { display: grid; animation: done-in .7s var(--ease) both; }
.form-done p { max-width: 420px; color: #3a3a40; }
.form-done p.muted { color: var(--muted); font-size: 15px; }
.form-done a:not(.btn) { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.form-done .btn { margin-top: 10px; }
.form-error { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #8a1f1f; font-size: 15px; }
.form-error[hidden] { display: none; }
.form-error a { color: inherit; text-decoration: underline; }
.form[aria-busy="true"] [type=submit] { opacity: .6; cursor: progress; }
.form-done .link-btn { margin-top: 4px; background: none; border: 0; padding: 4px; font: inherit; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form-done .link-btn:hover { color: var(--ink); }
.tick { width: 96px; height: 96px; margin-bottom: 6px; overflow: visible; }
.tick-disc { fill: var(--navy); transform-origin: 48px 48px; animation: tick-pop .55s var(--ease) both; }
.tick-ring { fill: none; stroke: var(--accent); stroke-width: 4; transform-origin: 48px 48px; animation: tick-ring 1.1s .25s ease-out both; }
.tick-mark { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 56; stroke-dashoffset: 56; animation: tick-draw .45s .38s ease-out forwards; }
@keyframes done-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes tick-pop { 0% { transform: scale(0); } 70% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes tick-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
.hp { position: absolute; left: -9999px; }

/* 404 */
.nf { min-height: calc(100vh - var(--hdr) - 20px); display: grid; place-items: center; text-align: center; padding: 60px var(--pad); overflow: hidden; }
.nf-num { font-size: clamp(120px, 22vw, 300px); font-weight: 600; letter-spacing: -.03em; line-height: .85; color: var(--navy); }
.nf-num span { color: transparent; -webkit-text-stroke: 2px var(--navy); }
.nf .lead { margin: 20px auto 0; max-width: 420px; }
.nf .btn-row { justify-content: center; margin-top: 34px; }

/* ---------------------------------------------------------------- motion helpers */
html.pt-in body::after { content: ""; position: fixed; inset: 0; z-index: 1000; background: var(--navy); }
/* Hidden only while the scripts are expected to reveal them; .motion-fallback shows everything if they never run. */
.js:not(.no-motion):not(.motion-fallback) [data-reveal]:not(:is(.hero-copy [data-reveal], .page-hero [data-reveal], .about-hero [data-reveal], .post-hero [data-reveal], .case-top [data-reveal])),
.js:not(.no-motion):not(.motion-fallback) [data-stagger] > * { opacity: 0; }
.js:not(.no-motion):not(.motion-fallback) [data-split]:not(.is-split) { opacity: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-media { grid-template-columns: 1fr; }
  .shots { height: clamp(300px, 60vw, 460px); }
  .stat-card { min-height: 0; }
  .tabs { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-intro { grid-column: 1 / -1; }
  .work-card { grid-template-columns: 1.2fr 1fr; }
  .roles { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; row-gap: 50px; }
}
/* short laptop screens: tighter card copy so it fits the capped card height */
@media (min-width: 761px) and (max-height: 820px) {
  .work-info { padding: 22px 24px; }
  .work-info h2, .work-info h3 { margin-top: 16px; }
  .work-info > p { margin-top: 10px; font-size: 15px; }
  .work-metric, .work-scope { padding-top: 14px; }
  .work-metric strong { font-size: clamp(34px, 3.2vw, 46px); }
  .work-scope strong { font-size: 16px; }
  .work-info .btn { margin-top: 14px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .work-card { height: auto; }
  .trust { flex-direction: column; align-items: stretch; gap: 26px; }
  .trust-copy { border-right: 0; padding-right: 0; justify-content: center; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shots-col:nth-child(3) { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b-navy { grid-template-columns: 1fr; grid-column: auto; }
  .phone-stage { border-radius: var(--r-lg) var(--r-lg) 0 0; min-height: 340px; }
  .b-navy-copy { padding: 6px 26px 30px; }
  .b-card { min-height: 300px; }
  .work-card { grid-template-columns: 1fr; position: relative; top: auto; }
  .work-art { min-height: 300px; padding-top: 24px; }
  .work-art img { width: min(70%, 320px); }
  .work-art img.cut, .stack-flat .work-art img.cut { width: min(56%, 230px); height: auto; }
  .work-art img.cut-wide, .stack-flat .work-art img.cut-wide { width: min(72%, 300px); }
  .work-art-full { min-height: 0; padding-top: 0; aspect-ratio: 4 / 3; }
  .work-art-full img { width: calc(100% - 20px); height: calc(100% - 10px); }
  .proc-card { grid-template-columns: 1fr; min-height: 0; }
  .proc-card .lead { text-align: left; justify-self: start; }
  .proc-years { text-align: left; }
  .proc-years p { margin-left: 0; }
  .step-body p { padding-left: 22px; font-size: 15.5px; }
  .steps-top { flex-direction: column; }
  .steps-top p { text-align: left; }
  .vs { grid-template-columns: 1fr; gap: 40px; }
  .vs-badge { display: none; }
  .vs ul { padding-left: 8px; }
  .quote-card { grid-template-columns: 1fr; padding: 10px 10px 26px; text-align: left; }
  .quote-card blockquote { padding-inline: 16px; }
  .monogram { width: 100%; aspect-ratio: 16 / 7; }
  .founder-photo { width: 120px; }
  .t-card { width: 82vw; }
  .t-score { width: 100%; }
  .blog-grid, .posts-3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .foot-col a { font-size: 16px; }
  .work-metric span { max-width: 140px; }
  .story { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .logo-strip { flex-direction: column; align-items: stretch; text-align: center; }
  .logo-strip-label { max-width: none; }
  .roles { grid-template-columns: 1fr; }
  .role { min-height: 0; }
  .svc { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc-img { order: 0; }
  .case-top { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .outcome { grid-template-columns: 1fr; }
  .voice p { margin-left: 0; }
  .contact { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .c-cards { grid-template-columns: 1fr; }
  .faq-a { padding-right: 26px; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .hero-pill { height: .78em; }
  .cta-pill { height: 52px; font-size: 16px; }
  .cta-pill .btn-ico { --h: 52px; }
}
@media (max-width: 420px) {
  .btn { font-size: 15.5px; }
  .hero .btn-row .btn { width: 100%; justify-content: space-between; }
  .hero .btn-row .btn-outline { justify-content: center; }
}

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

/* ---------------------------------------------------------------- service pages: links, breadcrumbs, related */
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: color .3s; }
.text-link::after { content: "\2192"; transition: transform .4s var(--ease); }
.text-link:hover { color: var(--accent-deep); }
.text-link:hover::after { transform: translateX(4px); }
.svc .text-link { margin-top: 22px; }
.tab-panel .text-link { justify-self: start; color: #fff; }
.tab-panel .text-link:hover { color: var(--accent-bright); }
.crumbs { width: min(100% - 2 * var(--pad), 1280px); margin: 18px auto 0; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.crumbs + .page-hero, .crumbs + .case-hero, .crumbs + section { margin-top: 14px; }
.case-grid-one { grid-template-columns: 1fr; max-width: 860px; }
.faq-more { max-width: 790px; margin: 22px auto 0; text-align: center; color: var(--muted); }
.faq-more a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel-card { position: relative; display: grid; gap: 10px; padding: 26px 70px 26px 26px; border-radius: var(--r-lg); background: var(--mist); transition: transform .5s var(--ease), background .3s; }
.rel-card:hover { transform: translateY(-3px); background: var(--accent-soft); }
.rel-k { font-size: 13px; color: var(--muted); }
.rel-card b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.rel-go { position: absolute; right: 22px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; }
.rel-go .ico { width: 16px; height: 16px; }
.outcome-wide { max-width: 1000px; margin: 40px auto 0; }
@media (max-width: 760px) {
  .rel-grid { grid-template-columns: 1fr; }
  .case-grid-one { max-width: none; }
}
.case-meta dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 28px; list-style: none; padding: 0; font-size: 15px; }
.nf-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.nf-links a:hover { color: var(--ink); }
.founder { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.founder-pic { width: 100%; height: auto; aspect-ratio: 160 / 176; object-fit: cover; border-radius: var(--r-xl); background: var(--mist); }
.founder-copy { display: grid; gap: 22px; justify-items: start; }
.founder-copy blockquote { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.35; letter-spacing: -.01em; color: var(--ink); padding-left: 0; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder-pic { max-width: 280px; }
}
.ext-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 4px; transition: opacity .3s; }
.ext-link::after { content: "\2197"; }
.ext-link:hover { opacity: 1; }
.work-info .ext-link { margin-top: 12px; align-self: flex-start; color: #fff; }
.b-navy-copy .btn-row { align-items: center; gap: 18px; }
.b-navy-copy .ext-link { color: #fff; }
.voice-wide { max-width: 1000px; margin: 40px auto 0; }
.work-info > p a, .in-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.work-info > p a:hover { color: #fff; }
.page-hero .lead a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
