/* ==========================================================================
   Planmarks Marketing — main stylesheet
   Brand: navy #03045E (mark), lime #B8FB3C (accent), Raleway
   ========================================================================== */

:root {
  --navy: #03045e;
  --navy-700: #0a0c78;
  --navy-900: #020238;
  --ink: #0b0c24;
  --lime: #b8fb3c;
  --lime-600: #9fe01f;
  --cyan: #1bb0ce;
  --paper: #f5f6f0;
  --white: #ffffff;
  --muted: #5a5d78;
  --line: rgba(11, 12, 36, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --font: "Raleway", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.6rem);
  --step-5: clamp(2.9rem, 1.8rem + 5vw, 7rem);

  --radius: 22px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 60px -20px rgba(3, 4, 94, 0.35);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "lnum" 1, "pnum" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
address { font-style: normal; }
::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- layout helpers ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--dark { background: var(--navy); color: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.section--white { background: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .section--ink .eyebrow, .site-footer .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .case-hero .eyebrow, .module--dark .eyebrow { color: var(--lime); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.h-display { font-size: var(--step-4); }
.h-xl { font-size: var(--step-3); }
.h-l { font-size: var(--step-2); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); font-weight: 500; }
.section--dark .lead, .section--ink .lead { color: rgba(255,255,255,.75); }
.text-lime { color: var(--lime); }
.muted { color: var(--muted); font-weight: 500; }
.text-outline { -webkit-text-stroke: 1.5px var(--lime); color: transparent; }
.mark { background: linear-gradient(transparent 62%, var(--lime) 62%); padding-inline: .08em; }
.section--dark .mark, .section--ink .mark { background: none; color: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em; border-radius: 999px; font-weight: 700; line-height: 1;
  background: var(--bg); color: var(--fg); text-decoration: none; border: 2px solid var(--bg);
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn:hover { box-shadow: 0 12px 30px -10px rgba(3,4,94,.5); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lime { --bg: var(--lime); --fg: var(--navy); }
.btn--lime:hover { box-shadow: 0 12px 30px -10px rgba(184,251,60,.7); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover > * , .btn--ghost:hover { color: var(--navy); }
.section--dark .btn--ghost:hover, .section--ink .btn--ghost:hover, .case-hero .btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--sm { padding: .75em 1.2em; font-size: var(--step--1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow span { transition: transform .3s var(--ease); }

.chip {
  padding: .6em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: var(--step--1);
  background: var(--white); transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.chip:hover { border-color: var(--navy); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- reading progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 12px var(--gutter) 0;
  transition: transform .45s var(--ease);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner {
  max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 10px 0 18px;
  display: flex; align-items: center; gap: 20px;
  border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -18px rgba(3,4,94,.35);
  transition: background-color .3s;
}
.on-dark .site-header__inner { background: rgba(2,2,56,.55); border-color: var(--line-light); color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.on-dark .brand, .brand--light { color: var(--white); }
.brand__mark { width: 34px; height: 34px; fill: currentColor; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.on-dark .brand__mark, .brand--light .brand__mark { fill: var(--lime); }
.brand__word { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .55em .9em; border-radius: 999px; transition: background-color .2s; position: relative; }
.site-nav ul a:hover { background: rgba(3,4,94,.07); }
.on-dark .site-nav ul a:hover { background: rgba(255,255,255,.1); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--navy); }
.site-nav__phone { display: none; }
.site-header__cta { flex-shrink: 0; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); position: relative; margin-left: auto; }
.burger__line { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--lime); transition: transform .35s var(--ease); }
.burger__line:nth-of-type(1) { top: 18px; }
.burger__line:nth-of-type(2) { top: 25px; }
.burger[aria-expanded="true"] .burger__line:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .site-header__cta { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--navy); color: var(--white);
    display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
    clip-path: circle(0 at calc(100% - 46px) 42px); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .site-nav.is-open { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; padding: .1em 0; display: inline-block; }
  .site-nav ul a:hover { background: none; color: var(--lime); }
  .site-nav a[aria-current="page"] { color: var(--lime); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav__phone { display: inline-block; margin-top: 32px; color: var(--lime); font-size: 1.2rem !important; padding: 0 !important; }
  .site-nav li { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
  .site-nav.is-open li { opacity: 1; transform: none; }
  .site-nav.is-open li:nth-child(2) { transition-delay: .05s; } .site-nav.is-open li:nth-child(3) { transition-delay: .1s; }
  .site-nav.is-open li:nth-child(4) { transition-delay: .15s; } .site-nav.is-open li:nth-child(5) { transition-delay: .2s; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would make the pill the containing block of the fixed menu */
  body.nav-open .site-header__inner { background: transparent; border-color: transparent; box-shadow: none; color: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open .brand { color: var(--white); }
  body.nav-open .brand__mark { fill: var(--lime); }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  background: radial-gradient(1200px 600px at 85% 10%, #10128f 0%, transparent 60%), var(--navy);
  color: var(--white); overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.35fr 1fr; } }
.hero__title { font-size: var(--step-5); font-weight: 900; letter-spacing: -0.035em; line-height: .98; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.rotator { display: inline-grid; color: var(--lime); vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; transition: transform .7s var(--ease), opacity .5s; }
.rotator > span:not(.is-on) { opacity: 0; transform: translateY(60%); }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%); }
.hero__lead { margin-top: 28px; max-width: 46ch; font-size: var(--step-1); color: rgba(255,255,255,.78); font-weight: 500; }
.hero .btn-row { margin-top: 36px; }
.hero__badge { margin-top: 40px; display: flex; align-items: center; gap: 12px; font-size: var(--step--1); color: rgba(255,255,255,.7); }
.hero__badge strong { color: var(--white); }
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(184,251,60,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(184,251,60,0); } 100% { box-shadow: 0 0 0 0 rgba(184,251,60,0); } }

.hero-card {
  position: relative; border-radius: var(--radius); padding: 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid var(--line-light); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  transform-style: preserve-3d;
}
.hero-card__head { display: flex; justify-content: space-between; align-items: center; font-size: var(--step--1); color: rgba(255,255,255,.7); margin-bottom: 18px; }
.hero-card__live { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 700; }
.hero-card__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2.2s infinite; }
.hero-card__big { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.hero-card__big small { font-size: .35em; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: 0; margin-left: .3em; }
.hero-card__bars { margin-top: 24px; display: grid; gap: 14px; }
.bar { display: grid; gap: 6px; }
.bar__label { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; }
.bar__label b { color: var(--lime); }
.bar__track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar__fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lime-600), var(--lime)); width: 0; transition: width 1.6s var(--ease); }
.is-in .bar__fill { width: var(--w); }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 99px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--lime); animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--navy); color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(60px, 8vw, 110px);
}
.page-hero__title { font-size: var(--step-5); font-weight: 900; letter-spacing: -0.035em; line-height: 1; margin-top: 18px; }
.page-hero .lead { margin-top: 24px; max-width: 60ch; }
.page-hero__mark { position: absolute; right: -6vw; bottom: -12vw; width: min(52vw, 640px); fill: rgba(184,251,60,.07); pointer-events: none; }
.page-hero__mark use { transform-origin: center; }

/* ---------- marquee ---------- */
.clients { padding-block: clamp(36px, 5vw, 60px); background: var(--white); border-bottom: 1px solid var(--line); }
.clients__label { text-align: center; font-size: var(--step--1); color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.marquee { display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); padding-right: clamp(40px, 6vw, 88px); flex-shrink: 0; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item { flex-shrink: 0; }
.marquee__logo { height: 54px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .65; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.marquee__item:hover .marquee__logo { filter: none; opacity: 1; transform: scale(1.06); }
.marquee__word { font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; color: #555; opacity: .75; white-space: nowrap; }
.marquee__logo[src*="spekter"], .marquee__logo[src*="ppy"] { filter: grayscale(1) invert(1) contrast(1.4); }
.marquee__item:hover .marquee__logo[src*="spekter"], .marquee__item:hover .marquee__logo[src*="ppy"] { filter: invert(1); }

/* ---------- stats ---------- */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { position: relative; padding: 28px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.stat__ring { width: 110px; height: 110px; margin-bottom: 14px; }
.stat__ring circle { fill: none; stroke-width: 9; }
.stat__ring .bg { stroke: rgba(3,4,94,.08); }
.stat__ring .fg { stroke: var(--navy); stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 283; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1.8s var(--ease); }
.stat:nth-child(2n) .fg { stroke: var(--lime-600); }
.is-in .stat__ring .fg { stroke-dashoffset: calc(283 - 283 * var(--v) / 100); }
.stat__num { font-size: var(--step-3); font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: var(--navy); }
.stat__label { font-weight: 600; color: var(--muted); margin-top: 6px; }
.budget {
  margin-top: 18px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--navy); color: var(--white);
  display: grid; gap: 18px; align-items: center; position: relative; overflow: hidden;
}
@media (min-width: 900px) { .budget { grid-template-columns: auto 1fr auto; gap: 40px; } }
.budget__num { font-size: var(--step-5); font-weight: 900; line-height: .9; letter-spacing: -0.04em; color: var(--lime); }
.budget p { color: rgba(255,255,255,.8); max-width: 44ch; }
.budget__badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-light); font-weight: 700; font-size: var(--step--1); }

/* ---------- case results (interactive table/chart) ---------- */
.case { display: grid; gap: 32px; }
@media (min-width: 1000px) { .case { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; } }
.case__story h3 { font-size: var(--step-2); margin-bottom: 14px; }
.case__story p + p { margin-top: 14px; }
.case__panel { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.seg button { padding: .55em 1.1em; border-radius: 999px; font-weight: 700; font-size: var(--step--1); transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.metrics { display: grid; gap: 16px; }
.metric { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline; }
.metric__name { font-weight: 700; }
.metric__val { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.metric__delta { font-size: .8rem; font-weight: 800; padding: .2em .55em; border-radius: 99px; margin-left: 8px; vertical-align: middle; }
.metric__delta.up { background: rgba(159,224,31,.22); color: #3d6b00; }
.metric__delta.down { background: rgba(3,4,94,.08); color: var(--navy); }
.metric__delta.good { background: var(--lime); color: var(--navy); }
.metric__track { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: rgba(3,4,94,.07); overflow: hidden; }
.metric__fill { height: 100%; border-radius: inherit; background: var(--navy); width: 0; transition: width 1s var(--ease); }
.metric:nth-child(3) .metric__fill, .metric:nth-child(5) .metric__fill { background: var(--lime-600); }
.case__note { margin-top: 18px; font-size: var(--step--1); color: var(--muted); }
.table-wrap { overflow-x: auto; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; font-weight: 700; }
.data-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.data-table .pos { color: #3d6b00; font-weight: 700; } .data-table .neg { color: var(--navy); font-weight: 700; }
details.disclosure summary { cursor: pointer; font-weight: 700; margin-top: 20px; color: var(--navy); list-style: none; display: inline-flex; gap: .5em; align-items: center; }
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); font-weight: 900; transition: transform .3s var(--ease); }
details.disclosure[open] summary::before { transform: rotate(45deg); }

/* ---------- 360° service dial ---------- */
.dial-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .dial-wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }
.dial { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.dial__svg { width: 100%; height: 100%; overflow: visible; }
.dial__seg { cursor: pointer; outline: none; }
.dial__seg path { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.14); stroke-width: 1.5; transition: fill .35s, stroke .35s; }
.dial__seg text { fill: rgba(255,255,255,.75); font-size: 15px; font-weight: 700; letter-spacing: .02em; transition: fill .3s; pointer-events: none; text-anchor: middle; dominant-baseline: middle; }
.dial__seg:hover path, .dial__seg:focus-visible path { fill: rgba(255,255,255,.1); stroke: rgba(184,251,60,.6); }
.dial__seg.is-active path { fill: var(--lime); stroke: var(--lime); }
.dial__seg.is-active text { fill: var(--navy); }
.dial__seg:focus-visible path { stroke: var(--white); stroke-width: 3; }
.dial__core { position: absolute; inset: 27%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 30% 30%, #12149a, var(--navy-900)); border: 1px solid var(--line-light); box-shadow: inset 0 0 60px rgba(0,0,0,.35); }
.dial__core svg { width: 34%; fill: var(--lime); }
.dial__core span { display: block; font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2.2rem); letter-spacing: -0.02em; margin-top: 6px; }
.dial__tick { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); animation: spin 60s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.dial-panel { min-height: 360px; }
.dial-panel__item[hidden] { display: none; }
.dial-panel__item { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.dial-panel__num { font-weight: 800; color: var(--lime); font-size: var(--step--1); letter-spacing: .14em; }
.dial-panel h3 { font-size: var(--step-3); margin: 10px 0 16px; }
.dial-panel p { color: rgba(255,255,255,.8); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-list li { padding: .45em .9em; border-radius: 99px; border: 1px solid var(--line-light); font-size: var(--step--1); font-weight: 600; }
.dial-panel .link-arrow { margin-top: 26px; }
.dial-hint { margin-top: 18px; text-align: center; color: rgba(255,255,255,.5); font-size: var(--step--1); }

/* ---------- work cards ---------- */
.work-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.work-card { position: relative; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.work-card.is-hidden { display: none; }
.work-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); transform-style: preserve-3d; position: relative; }
.work-card__link:hover { box-shadow: var(--shadow); }
.work-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--accent, var(--navy)); position: relative; }
.work-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card__link:hover .work-card__img { transform: scale(1.06); }
.work-card__body { padding: 22px 24px 26px; display: grid; gap: 8px; flex: 1; align-content: start; }
.work-card__meta { display: flex; gap: 12px; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.work-card__meta span + span::before { content: "·"; margin-right: 12px; }
.work-card__title { font-size: var(--step-1); }
.work-card__teaser { color: var(--muted); font-size: .96rem; }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.work-card__tags li { font-size: .75rem; font-weight: 700; padding: .3em .7em; border-radius: 99px; background: var(--paper); }
.work-card__arrow { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--navy); font-weight: 900; font-size: 1.2rem; transform: scale(0) rotate(-45deg); transition: transform .45s var(--ease); }
.work-card__link:hover .work-card__arrow, .work-card__link:focus-visible .work-card__arrow { transform: none; }

/* horizontal rail for featured work on home */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 420px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 28px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: var(--navy) transparent; cursor: grab; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: 10px; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; transition: background-color .2s, color .2s; }
.rail-btn:hover { background: var(--navy); color: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

/* ---------- principles ---------- */
.principles { display: grid; gap: 18px; }
@media (min-width: 800px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { position: relative; padding: 34px 28px 30px; border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(255,255,255,.03); overflow: hidden; transition: transform .5s var(--ease), background-color .4s; }
.principle:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.principle::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(184,251,60,.35), transparent 70%); opacity: 0; transition: opacity .5s; }
.principle:hover::before { opacity: 1; }
.principle__num { font-size: var(--step-4); font-weight: 900; -webkit-text-stroke: 1.5px var(--lime); color: transparent; line-height: 1; }
.principle h3 { font-size: var(--step-2); margin: 18px 0 10px; }
.principle p { color: rgba(255,255,255,.75); }

/* ---------- split / story blocks ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split p + p { margin-top: 16px; }
.split .btn-row { margin-top: 30px; }

.timeline { position: relative; display: grid; gap: 28px; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; left: 11px; top: 6px; width: 2px; height: calc(var(--tp, 0) * (100% - 12px)); background: var(--lime-600); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); transition: background-color .3s, transform .3s var(--ease); }
.timeline__item.is-in::before { background: var(--lime); transform: scale(1.15); }
.timeline__year { font-weight: 800; color: var(--navy); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; }
.timeline__item h3 { font-size: var(--step-2); margin: 6px 0 10px; }
.timeline__item p { color: var(--muted); max-width: 60ch; }

/* ---------- services page ---------- */
.svc-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .svc-layout { grid-template-columns: 260px 1fr; gap: 64px; } }
.svc-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: none; }
@media (min-width: 1000px) { .svc-nav { display: block; } }
.svc-nav ol { display: grid; gap: 2px; counter-reset: s; list-style: none; padding: 0; }
.svc-nav a { display: flex; gap: 12px; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--muted); transition: background-color .2s, color .2s; counter-increment: s; }
.svc-nav a::before { content: "0" counter(s); font-size: .78rem; color: inherit; opacity: .6; padding-top: .2em; }
.svc-nav a:hover { color: var(--navy); }
.svc-nav a.is-active { background: var(--navy); color: var(--white); }
.svc-nav a.is-active::before { color: var(--lime); opacity: 1; }
.svc { padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc__head { display: flex; gap: 20px; align-items: flex-start; }
.svc__icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; background: var(--navy); display: grid; place-items: center; transition: transform .5s var(--ease), background-color .3s; }
.svc__icon svg { width: 30px; height: 30px; stroke: var(--lime); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.05); }
.svc h2 { font-size: var(--step-3); }
.svc__lead { margin-top: 14px; font-size: var(--step-1); color: var(--muted); font-weight: 500; max-width: 62ch; }
.acc { margin-top: 26px; display: grid; gap: 10px; }
.acc__item { border-radius: 16px; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, box-shadow .3s; }
.acc__item[open] { border-color: var(--navy); box-shadow: 0 10px 30px -18px rgba(3,4,94,.5); }
.acc__item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 1.05rem; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303045e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease), background-color .25s; }
.acc__item[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.acc__body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- case study pages ---------- */
.case-hero { position: relative; background: var(--ink); color: var(--white); padding: calc(var(--header-h) + clamp(48px, 7vw, 90px)) 0 0; overflow: hidden; }
.case-hero__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1000px) { .case-hero__grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.case-hero__title { font-size: var(--step-5); font-weight: 900; letter-spacing: -0.035em; line-height: .98; margin-top: 18px; }
.case-hero__intro { color: rgba(255,255,255,.78); font-size: var(--step-1); font-weight: 500; }
.case-hero__media { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--accent); }
.case-hero__img { width: 100%; max-height: 78vh; object-fit: cover; transform: scale(calc(1 + var(--hp, 0) * .08)); transform-origin: center top; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: rgba(255,255,255,.7); text-decoration: none; font-weight: 600; font-size: var(--step--1); }
.back-link:hover { color: var(--lime); }
.facts { display: grid; gap: 0; margin-top: 8px; }
.facts__row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .facts__row { grid-template-columns: 180px 1fr; gap: 24px; } }
.facts dt { font-size: var(--step--1); font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.facts dd { margin: 0; font-weight: 600; }
.facts dd ul { display: flex; flex-wrap: wrap; gap: 6px; }
.facts dd li { padding: .3em .75em; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.highlights li { padding: 24px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); }
.highlights strong { display: block; font-size: var(--step-4); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.highlights span { font-weight: 700; opacity: .85; }
.story { display: grid; gap: 22px; }
@media (min-width: 900px) { .story { grid-template-columns: repeat(3, 1fr); } }
.story__step { padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.story__num { font-size: var(--step-3); font-weight: 900; color: var(--accent); -webkit-text-stroke: 1px var(--navy); line-height: 1; }
.story__step h3 { font-size: var(--step-1); margin: 14px 0 10px; }
.story__step p { color: var(--muted); }
.story__step strong { color: var(--ink); }

.gallery { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.gallery__item { grid-column: span 6; }
@media (min-width: 800px) {
  .gallery__item--m { grid-column: span 3; }
  .gallery__item--s { grid-column: span 2; }
}
.gallery__btn { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); cursor: zoom-in; }
.gallery__img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery__btn:hover .gallery__img { transform: scale(1.03); }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--navy); font-size: 1.5rem; font-weight: 800; transform: scale(0); transition: transform .4s var(--ease); }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { transform: none; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: var(--step--1); }

.next { position: relative; display: block; text-decoration: none; color: var(--white); background: var(--ink); overflow: hidden; }
.next__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; transition: opacity .6s, transform 1.2s var(--ease); }
.next:hover .next__img { opacity: .55; transform: scale(1.05); }
.next__inner { position: relative; padding-block: clamp(80px, 12vw, 160px); }
.next__label { color: var(--lime); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: var(--step--1); }
.next__title { font-size: var(--step-4); font-weight: 900; margin-top: 10px; display: flex; gap: .3em; align-items: center; }
.next__title span { transition: transform .5s var(--ease); }
.next:hover .next__title span { transform: translateX(12px); }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(2,2,30,.92); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__fig { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 60px 16px; }
.lightbox__img { max-width: min(92vw, 1600px); max-height: 82vh; width: auto; height: auto; border-radius: 12px; }
.lightbox__cap { color: rgba(255,255,255,.8); text-align: center; max-width: 70ch; font-size: var(--step--1); }
.lightbox__close, .lightbox__nav { position: fixed; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--navy); font-size: 1.5rem; font-weight: 800; display: grid; place-items: center; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; } .lightbox__nav--next { right: 18px; top: 50%; }

/* ---------- case modules (interactive) ---------- */
.module { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(22px, 4vw, 48px); }
.module--dark { background: var(--ink); color: var(--white); border-color: transparent; }
.module__head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 64ch; }
.module__head h2 { font-size: var(--step-3); }
.module__head p { color: var(--muted); }
.module--dark .module__head p { color: rgba(255,255,255,.7); }

/* before/after (compare) */
.compare { position: relative; max-width: 620px; margin-inline: auto; aspect-ratio: 1151 / 1412; border-radius: var(--radius); overflow: hidden; background: #d9d9d9; touch-action: pan-y; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; margin-left: -1.5px; background: var(--lime); pointer-events: none; }
.compare__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__labels { display: flex; justify-content: space-between; max-width: 620px; margin: 12px auto 0; font-weight: 700; font-size: var(--step--1); color: var(--muted); }
.spec-card { display: grid; gap: 4px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.spec-card b { color: var(--lime); }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 28px; }
.partner-logos img { height: 52px; width: auto; opacity: .85; }

/* sticker playground */
.playground { position: relative; height: clamp(380px, 52vw, 520px); border-radius: var(--radius); background: #1b1b1b repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,.025) 22px 44px); overflow: hidden; touch-action: none; }
.sticker { position: absolute; width: clamp(110px, 18vw, 190px); cursor: grab; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); transition: filter .2s, scale .2s var(--ease); user-select: none; -webkit-user-drag: none; touch-action: none; }
.sticker:active, .sticker.is-grabbed { cursor: grabbing; scale: 1.08; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); }
.sticker:focus-visible { outline: 3px solid var(--lime); outline-offset: 6px; border-radius: 50%; }
.playground__hint { position: absolute; left: 20px; bottom: 16px; color: rgba(255,255,255,.55); font-size: var(--step--1); pointer-events: none; }

/* palettes */
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.swatch { position: relative; text-align: left; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: transform .35s var(--ease), box-shadow .35s; }
.swatch:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.swatch__color { display: block; height: 96px; background: var(--c); }
.swatch__meta { display: grid; padding: 10px 12px 12px; font-size: .85rem; }
.swatch__meta b { font-family: ui-monospace, Consolas, monospace; font-size: .95rem; }
.swatch__meta span { color: var(--muted); }
.swatch__copied { position: absolute; top: 10px; right: 10px; padding: .25em .6em; border-radius: 99px; background: var(--ink); color: var(--lime); font-size: .75rem; font-weight: 800; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
.swatch.is-copied .swatch__copied { opacity: 1; transform: none; }
.palette--hex .swatch__color { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); height: 110px; margin: 12px 12px 0; }
.palette--hex .swatch { background: #fbe3c7; }

/* ad formats */
.formats { display: grid; gap: 24px; }
.formats__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.formats__stage { display: grid; place-items: center; min-height: 640px; padding: 24px; border-radius: var(--radius); background: #eef0f6 radial-gradient(circle at 1px 1px, rgba(3,4,94,.15) 1px, transparent 0) 0 0 / 18px 18px; overflow: auto; }
.formats__frame { position: relative; box-shadow: 0 30px 60px -20px rgba(3,4,94,.45); background: var(--white); animation: fadeUp .5s var(--ease); max-width: 100%; }
.formats__frame img { width: 100%; height: auto; }
.formats__dims { position: absolute; top: -28px; left: 0; font: 700 .8rem ui-monospace, Consolas, monospace; color: var(--navy); }
.formats__note { color: var(--muted); font-size: var(--step--1); }

/* periodic table */
.ptable { display: grid; gap: 28px; align-items: center; }
.ptable > *, .split > *, .contact-grid > *, .dial-wrap > *, .case > * { min-width: 0; }
@media (min-width: 960px) { .ptable { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ptable__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 560px) { .ptable__grid { grid-template-columns: repeat(6, 1fr); } }
.el { position: relative; aspect-ratio: 1; border-radius: 10px; border: 1.5px solid var(--c); background: #191919; color: var(--c); display: grid; place-items: center; text-align: center; padding: 6px; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.el:hover { transform: translateY(-4px); }
.el[aria-pressed="true"] { background: var(--c); color: #111; }
.el__n { position: absolute; top: 5px; left: 7px; font-size: .62rem; font-weight: 700; opacity: .8; }
.el__sym { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 300; line-height: 1; }
.el__name { font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; line-height: 1.1; }
.ptable__stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #d7d3cc; aspect-ratio: 4 / 3; }
.ptable__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease); }
.ptable__stage img.is-leaving { opacity: 0; }
.ptable__label { position: absolute; left: 18px; bottom: 16px; padding: .5em 1em; border-radius: 99px; background: rgba(17,17,17,.82); color: var(--white); font-weight: 700; font-size: var(--step--1); backdrop-filter: blur(6px); }

/* ---------- articles ---------- */
.articles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.article-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card__cat { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); display: flex; justify-content: space-between; gap: 8px; }
.article-card__cat span:last-child { color: var(--muted); }
.article-card h2 { font-size: var(--step-1); }
.article-card p { color: var(--muted); font-size: .96rem; }
.article-card__soon { margin-top: auto; align-self: flex-start; font-size: .78rem; font-weight: 800; padding: .35em .8em; border-radius: 99px; background: var(--paper); color: var(--muted); }
.article-card__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; }
.article-card__icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- contact & form ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .35s var(--ease); }
a.contact-card:hover { border-color: var(--navy); transform: translateX(4px); }
.contact-card__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.contact-card__icon svg { width: 22px; height: 22px; stroke: var(--lime); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { font-size: 1.05rem; }

.mail-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); display: grid; gap: 18px; align-content: start; }
.mail-card__address { font-size: clamp(1.7rem, 1rem + 3.4vw, 3.2rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 .22em no-repeat; transition: background-size .5s var(--ease); justify-self: start; }
.mail-card__address:hover { background-size: 100% .22em; }
.mail-card__intro { font-weight: 700; margin-top: 8px; }
.mail-card__list { display: grid; gap: 8px; padding-left: 0; list-style: none; color: var(--muted); }
.mail-card__list li { display: flex; gap: 10px; }
.mail-card__list li::before { content: "✦"; color: var(--lime-600); flex-shrink: 0; }
.mail-card [data-copy].is-copied { background: var(--navy); color: var(--lime); border-color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.4); background: var(--lime); color: var(--navy); padding: clamp(40px, 6vw, 80px); display: grid; gap: 28px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.5fr auto; align-items: center; } }
.cta-band h2 { font-size: var(--step-4); font-weight: 900; }
.cta-band p { font-weight: 600; margin-top: 12px; max-width: 50ch; }
.cta-band__mark { position: absolute; right: -60px; top: -60px; width: 300px; fill: rgba(3,4,94,.07); pointer-events: none; animation: spin 80s linear infinite; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: clamp(64px, 8vw, 110px) 0 30px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer__cta { padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-light); }
.site-footer__big { display: inline-flex; gap: .3em; align-items: center; margin-top: 14px; font-size: var(--step-5); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.site-footer__big span { color: var(--lime); transition: transform .5s var(--ease); }
.site-footer__big:hover { color: var(--white) !important; }
.site-footer__big:hover span { transform: translateX(16px); }
.site-footer__grid { display: grid; gap: 36px; padding-block: 48px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.site-footer__tag { margin-top: 18px; max-width: 34ch; }
.site-footer__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: 16px; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer__social { display: flex !important; flex-wrap: wrap; gap: 8px 16px !important; margin-top: 16px !important; }
.site-footer__social a { color: var(--white); font-weight: 700; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy); color: var(--white); padding: 120px var(--gutter) 60px; }
.nf__code { font-size: clamp(6rem, 24vw, 16rem); font-weight: 900; line-height: .9; letter-spacing: -0.06em; -webkit-text-stroke: 2px var(--lime); color: transparent; }
.nf p { margin: 18px auto 32px; max-width: 44ch; color: rgba(255,255,255,.75); }
.nf .btn-row { justify-content: center; }

/* ---------- reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask: none; mask: none; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; padding: 0; row-gap: 28px; }
}

@media print {
  .site-header, .progress, .hero__canvas, .site-footer__cta, .burger { display: none !important; }
  body { background: #fff; color: #000; }
}
