/* ==========================================================================
   New World Digital Media — site styles
   Dark theme by default; light theme via [data-theme="light"] on <html>.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #06080c;
  --bg-alt: #0a0e15;
  --surface: #0f141d;
  --surface-2: #151c28;
  --surface-3: #1c2533;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --text-soft: #c3ccd9;
  --muted: #8693a6;

  --accent: #5aa9f5;
  --accent-strong: #2f86e6;
  --accent-ink: #04111f;
  --accent-soft: rgba(90, 169, 245, 0.12);
  --grad: linear-gradient(120deg, #9fd2ff 0%, #5aa9f5 45%, #7c7cf6 100%);
  --grad-btn: linear-gradient(120deg, #6cb6ff 0%, #3a8ef0 55%, #6b6cf0 100%);
  --glow-1: rgba(58, 142, 240, 0.35);
  --glow-2: rgba(124, 124, 246, 0.25);
  --grid-line: rgba(255, 255, 255, 0.04);

  --logo-a: #c9e0f7;
  --logo-b: #f2f2f2;

  --header-bg: rgba(6, 8, 12, 0.72);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  --img-filter: brightness(0.92);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f6f8fb;
  --bg-alt: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f3f6fa;
  --surface-3: #e8edf4;
  --border: rgba(10, 25, 50, 0.09);
  --border-strong: rgba(10, 25, 50, 0.18);
  --text: #0b1424;
  --text-soft: #2c3a50;
  --muted: #5b687c;

  --accent: #1f6fd0;
  --accent-strong: #1559b0;
  --accent-ink: #ffffff;
  --accent-soft: rgba(31, 111, 208, 0.09);
  --grad: linear-gradient(120deg, #1f6fd0 0%, #3a8ef0 45%, #5b4fe0 100%);
  --grad-btn: linear-gradient(120deg, #2a7de0 0%, #1f6fd0 55%, #5048d8 100%);
  --glow-1: rgba(58, 142, 240, 0.18);
  --glow-2: rgba(124, 124, 246, 0.14);
  --grid-line: rgba(10, 25, 50, 0.05);

  --logo-a: #2e76ae;
  --logo-b: #0f2a44;

  --header-bg: rgba(246, 248, 251, 0.78);
  --shadow: 0 1px 2px rgba(10, 25, 50, 0.04), 0 20px 40px -24px rgba(10, 25, 50, 0.18);
  --shadow-lg: 0 40px 80px -30px rgba(10, 25, 50, 0.28);
  --img-filter: none;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p > a:not(.btn), .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--text); font-weight: 700; }
h1 strong, h2 strong, .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: inherit;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding-block: var(--section-y); position: relative; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section.tight { padding-block: clamp(48px, 7vw, 80px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { max-width: 22ch; }
.section-head p { max-width: 52ch; color: var(--muted); margin: 0; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.small-print { font-size: .875rem; color: var(--muted); }
.center { text-align: center; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.wide-text { grid-template-columns: 1.15fr .85fr; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Icons ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.icon-box .icon { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 650; font-size: .95rem; line-height: 1.2; letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
  white-space: nowrap;
  text-decoration: none;
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -10px var(--glow-1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--glow-1); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text); }
.btn-sm { --pad-y: 10px; --pad-x: 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--text); }
.link-arrow .icon { transition: transform .3s var(--ease); color: var(--accent); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border);
}
.nav-bar { display: flex; align-items: center; gap: 24px; height: 80px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 46px; height: auto; }
.brand-mark .lg-a { fill: var(--logo-a); }
.brand-mark .lg-b { fill: var(--logo-b); }
.brand-mark .lg-s { fill: #0d2237; opacity: .26; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.brand-text span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .main-nav button.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-size: .92rem; font-weight: 550; color: var(--text-soft);
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.main-nav a:hover, .main-nav button.nav-link:hover, .main-nav a[aria-current="page"], .has-dropdown.active > .nav-link { color: var(--text); background: var(--surface-2); }
.has-dropdown { position: relative; }
.has-dropdown .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 560px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  list-style: none; margin: 0;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .nav-link .icon, .has-dropdown.open .nav-link .icon { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 12px; }
.dropdown a:hover { background: var(--surface-2); }
.dropdown .dd-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.dropdown .dd-icon .icon { width: 18px; height: 18px; transform: none; }
.dropdown .dd-text { display: flex; flex-direction: column; gap: 2px; }
.dropdown .dd-text b { color: var(--text); font-size: .92rem; font-weight: 650; }
.dropdown .dd-text small { color: var(--muted); font-size: .8rem; line-height: 1.4; font-weight: 450; }
.dropdown .dd-all { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--border); border-radius: 0 0 10px 10px; margin-top: 4px; color: var(--accent); font-weight: 650; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; transition: background-color .2s, border-color .2s, transform .3s var(--ease);
  position: relative;
}
.icon-btn:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.icon-btn .icon { width: 19px; height: 19px; }
.theme-toggle .i-sun, :root[data-theme="light"] .theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
.offers-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 650; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border);
}
.offers-pill .icon { color: var(--accent); width: 17px; height: 17px; }
.offers-pill .count { min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; font-size: .72rem; background: var(--grad-btn); color: #fff; }
.menu-toggle { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 100px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li > a, .mobile-nav .m-group-title {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text);
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.mobile-nav .m-sub { padding: 8px 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; border-bottom: 1px solid var(--border); }
.mobile-nav .m-sub a { display: block; padding: 8px 0; color: var(--muted); font-weight: 550; }
.mobile-nav .m-sub a:hover { color: var(--text); }
.mobile-nav .btn { margin-top: 28px; width: 100%; }
body.nav-open { overflow: hidden; }

/* ---------- Ambient backgrounds ---------- */
.glow-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow-bg::before, .glow-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px);
}
.glow-bg::before { width: 640px; height: 640px; background: var(--glow-1); top: -220px; right: -120px; }
.glow-bg::after { width: 520px; height: 520px; background: var(--glow-2); top: 120px; left: -260px; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(130px, 16vw, 180px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 0; }

.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.collage .ph { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.collage .ph-a { grid-row: span 2; aspect-ratio: 3 / 4.4; align-self: center; }
.collage .ph-b, .collage .ph-c { aspect-ratio: 4 / 3.4; }
.stat-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.stat-chip .num { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-chip .lbl { font-size: .8rem; line-height: 1.3; color: var(--muted); max-width: 13ch; font-weight: 550; }
.stat-chip.c1 { left: -28px; bottom: 18%; }
.stat-chip.c2 { right: -18px; top: 6%; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(140px, 16vw, 190px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); margin-bottom: 22px; }
.page-hero .hero-media { position: relative; }
.page-hero .hero-media .frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.page-hero .hero-media .frame img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.page-hero .hero-media .stat-chip { left: -24px; bottom: 28px; }
.page-hero.centered { text-align: center; }
.page-hero.centered .lead { margin-inline: auto; }
.page-hero.centered .btn-row { justify-content: center; }

/* Full-bleed image hero (project pages etc.) */
.image-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; padding: 160px 0 72px; overflow: hidden; isolation: isolate; }
.image-hero .bg { position: absolute; inset: 0; z-index: -2; }
.image-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.image-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 8, 12, .75) 0%, rgba(6, 8, 12, .5) 30%, rgba(6, 8, 12, .7) 60%, var(--bg) 100%); }
:root[data-theme="light"] .image-hero::after { background: linear-gradient(180deg, rgba(246, 248, 251, .8) 0%, rgba(246, 248, 251, .55) 30%, rgba(246, 248, 251, .85) 62%, var(--bg) 100%); }
.image-hero h1 { max-width: 18ch; }
.image-hero .lead { color: var(--text-soft); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
  overflow: hidden;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
a.card:hover, .card.hover:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
a.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
a.card:hover::after { opacity: 1; }
.card .card-arrow { position: absolute; top: clamp(24px, 3vw, 34px); right: clamp(24px, 3vw, 34px); color: var(--muted); transition: color .3s, transform .3s var(--ease); }
a.card:hover .card-arrow { color: var(--accent); transform: translate(3px, -3px); }

.media-card { padding: 0; display: flex; flex-direction: column; }
.media-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.media-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: var(--img-filter); }
.media-card:hover .media img { transform: scale(1.04); }
.media-card .body { padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; flex: 1; }
.media-card .body p { flex: 1; }
.media-card .meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

.feature-card .feature-img { border-radius: 12px; overflow: hidden; margin-bottom: 24px; aspect-ratio: 16 / 10; background: var(--surface-2); }
.feature-card .feature-img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }

/* Project cards */
.project-card { padding: 0; }
.project-card .media { aspect-ratio: 3 / 2; }
.project-card .tag { display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.project-card h3 { font-size: 1.25rem; }
.project-card .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }

/* ---------- Stats ---------- */
.stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); margin-top: 36px; }
.stat .num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-weight: 550; margin-top: 8px; font-size: .95rem; }

/* ---------- Media frames ---------- */
.frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.frame img { width: 100%; filter: var(--img-filter); }
.frame.plain { border: 0; background: none; }
.frame.plain img { filter: none; }
.frame.shadow { box-shadow: var(--shadow-lg); }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235aa9f5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
:root[data-theme="light"] .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fd0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; }

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card .check-list { margin-top: 8px; }
.price-card .price { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: baseline; gap: 6px; }
.price-card .price b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.price-card .price span { color: var(--muted); font-size: .9rem; }
.price-card .btn { margin-top: 20px; width: 100%; }
.price-card .note { font-size: .82rem; color: var(--muted); margin-top: -4px; margin-bottom: 16px; }
.price-card.featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 30px 80px -30px var(--glow-1); }
.badge { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--grad-btn); color: #fff; }
.pricing-foot { text-align: center; margin-top: 32px; color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  background: var(--surface);
}
.cta-band .bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.3); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at 85% 20%, var(--glow-1), transparent 60%), radial-gradient(500px circle at 10% 100%, var(--glow-2), transparent 60%); }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 58ch; color: var(--text-soft); }
.cta-band .inner { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; }

/* ---------- Testimonials / embeds ---------- */
.embed-shell { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); padding: clamp(16px, 3vw, 32px); min-height: 160px; }
:root:not([data-theme="light"]) .embed-shell.invert-embed { background: #f6f8fb; }

/* ---------- Team ---------- */
.team-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.search-field { position: relative; width: min(100%, 380px); }
.search-field input {
  width: 100%; padding: 14px 18px 14px 48px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.search-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-field .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.team-card { padding: 0; text-align: left; }
.team-card .photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: var(--img-filter); }
.team-card:hover .photo img { transform: scale(1.05); }
.team-card .body { padding: 22px; }
.team-card .role { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.team-card .contact-row { display: flex; gap: 8px; }
.team-card .contact-row a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; border: 1px solid var(--border-strong); color: var(--text); transition: background-color .2s, border-color .2s; }
.team-card .contact-row a:hover { background: var(--surface-2); border-color: var(--accent); }
.team-card .contact-row .icon { width: 16px; height: 16px; color: var(--accent); }
.empty-state { display: none; text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Filters ---------- */
.filters { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap; }
.filters button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background-color .25s, color .25s; }
.filters button:hover { color: var(--text); }
.filters button.active { background: var(--grad-btn); color: #fff; }
[data-filter-item].is-hidden { display: none; }

/* ---------- Project detail ---------- */
.meta-bar { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.meta-bar > div { padding: 24px 28px; display: flex; gap: 16px; align-items: center; }
.meta-bar > div + div { border-left: 1px solid var(--border); }
.meta-bar .icon-box { margin: 0; width: 44px; height: 44px; }
.meta-bar small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta-bar b { font-size: 1.05rem; }
.sticky-col { position: sticky; top: 110px; }
.shots { display: grid; gap: 24px; }
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.concepts .frame { aspect-ratio: 1 / 1; }
.concepts .frame img { height: 100%; object-fit: cover; filter: none; }
.logo-hero-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); background: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s; }
a.contact-item:hover { border-color: var(--accent); }
.contact-item .icon-box { margin: 0; flex: none; }
.contact-item small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-item b { font-size: 1.08rem; display: block; }
.contact-item p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 7; background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
:root:not([data-theme="light"]) .map-frame iframe { filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95); }

/* ---------- Blog ---------- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-strong); font-weight: 600; font-size: .9rem; color: var(--text); transition: background-color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Legal / prose ---------- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: 110px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); max-height: calc(100vh - 140px); overflow: auto; }
.toc h4 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .86rem; line-height: 1.35; color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--text); background: var(--surface-2); }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 .9em; }
.prose h3 { font-size: 1.3rem; margin: 2.2em 0 .7em; padding-top: 1.6em; border-top: 1px solid var(--border); }
.prose h3:first-of-type { border-top: 0; padding-top: 0; margin-top: 1em; }
.prose h4 { margin: 1.8em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--text); }
.prose p:empty { display: none; }
.updated { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.updated .icon { color: var(--accent); }

/* ---------- Promo ---------- */
.promo-card { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.promo-card .media { min-height: 360px; }
.promo-card .media img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.promo-card .body { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.promo-card .now { font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 18px; }
.promo-card .big-price { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 6px 0 4px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: clamp(64px, 9vw, 104px); border-top: 1px solid var(--border); background: var(--bg-alt); overflow: hidden; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: clamp(48px, 7vw, 72px); border-bottom: 1px solid var(--border); }
.footer-cta h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 16ch; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 7vw, 72px); }
.footer-grid h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-soft); font-size: .95rem; transition: color .2s; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-about p { color: var(--muted); font-size: .95rem; max-width: 34ch; margin-top: 20px; }
.hours { display: grid; gap: 6px; font-size: .92rem; margin-top: 20px; }
.hours div { display: flex; justify-content: space-between; max-width: 260px; color: var(--muted); }
.hours div b { color: var(--text-soft); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--border); font-size: .88rem; color: var(--muted); }
.footer-bottom address { font-style: normal; display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom address .icon { color: var(--accent); }
.footer-wordmark { font-size: clamp(3rem, 13vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: .8; text-align: center; margin: 0 0 -0.12em; background: linear-gradient(180deg, var(--surface-3), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Embed page (terms iframe) ---------- */
body.embed { padding: 32px var(--gutter); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .nav-actions .offers-pill, .nav-actions .nav-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .split.wide-text, .contact-grid, .legal-layout, .promo-card { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .inner { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .toc { position: static; max-height: none; }
  .sticky-col { position: static; }
  .stat-chip.c1 { left: 8px; }
  .stat-chip.c2 { right: 8px; }
  .page-hero .hero-media .stat-chip { left: 12px; bottom: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .concepts, .check-list.cols-2 { grid-template-columns: 1fr; }
  .meta-bar { grid-template-columns: 1fr; }
  .meta-bar > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-text span { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .collage { gap: 10px; }
  .stat-chip { padding: 10px 14px 10px 10px; }
  .stat-chip .num { font-size: 1.5rem; }
  .map-frame { aspect-ratio: 4 / 3; }
  .mobile-nav .m-sub { grid-template-columns: 1fr; }
}
.feature-img.contain { display: grid; place-items: center; }
.feature-img.contain img { object-fit: contain; padding: 12px; filter: none; }
