/* ─── Routine — v3 stylesheet (white, bold, colour-tiled) ───────────────────
   Candidate redesign in the monday.com register. Lives alongside styles.css.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --white:   #ffffff;
  --off:     #f7f7fb;
  --ink:     #1b1a25;
  --ink-2:   #4a4960;
  --ink-3:   #7b7a90;
  --rule:    #e6e6ef;
  --gold:    #d4a93c;
  --gold-2:  #b88d24;
  --gold-soft: #fff6dd;
  /* module hues (pastel tile / strong accent) */
  --c-prod:  #ffe9e3; --a-prod:  #ff6a3d;
  --c-post:  #e5f6f0; --a-post:  #12a76f;
  --c-dist:  #e8ecff; --a-dist:  #5b5fef;
  --c-thea:  #fff1e0; --a-thea:  #f5a623;
  --c-rights:#f3e8ff; --a-rights:#8b4ff0;
  --c-mkt:   #ffe5f1; --a-mkt:   #ec3f8b;
  --c-arch:  #e3f3fb; --a-arch:  #1a9bd7;
  --c-live:  #eefbe6; --a-live:  #5cb81f;
  --c-fin:   #eaf4ff; --a-fin:   #2d7ff9;
  --c-port:  #fff7d6; --a-port:  #d4a93c;
  --sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 16px; --r-lg: 28px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: #fff; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); line-height: 1.5; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.center { text-align: center; }
.mx { margin-left: auto; margin-right: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

/* icons */
.ic { width: 26px; height: 26px; display: block; color: var(--ink); }
.ic .dot { fill: currentColor; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; padding: 16px 28px; border-radius: 999px;
  background: var(--gold); color: var(--ink); text-decoration: none; border: 2px solid var(--gold);
  transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(212,169,60,.7); }
.btn:disabled { opacity: .6; transform: none; box-shadow: none; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { box-shadow: 0 12px 28px -10px rgba(27,26,37,.6); }
.btn.ghost { background: transparent; border-color: var(--rule); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn svg { width: 16px; height: 16px; }
.textlink { font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--gold); }
.textlink:hover { color: var(--gold-2); }

/* ─── Nav ──────────────────────────────────────────────────────────────── */
nav.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: var(--max); margin: 0 auto; padding: 0 28px; gap: 24px; }
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); }
.wordmark .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-left: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a, .nav-dd-btn { font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-links a:hover, .nav-dd-btn:hover { color: var(--ink); }
.nav-dd { position: relative; }
.nav-dd-btn .caret { font-size: 10px; margin-left: 4px; opacity: .6; }
.nav-mega { position: absolute; top: 100%; left: -24px; padding-top: 18px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .15s; }
.nav-dd:hover .nav-mega, .nav-dd:focus-within .nav-mega { opacity: 1; visibility: visible; transform: none; }
.nav-mega-panel { display: grid; grid-template-columns: repeat(3, 180px); gap: 28px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 24px 28px; box-shadow: 0 24px 60px -20px rgba(27,26,37,.25); }
.nav-mega-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.nav-mega-col a { display: block; padding: 5px 0; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-mega-col a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 12px 20px; font-size: 15px; }
.nav-hamburger { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile { display: none; border-top: 1px solid var(--rule); padding: 12px 28px 28px; background: #fff; }
.nav-mobile a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink-2); font-size: 16px; font-weight: 500; }
.nav-mobile .nav-group-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 4px; }
nav.mobile-open .nav-mobile { display: block; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 88px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero h1 { max-width: 15ch; margin: 0 auto 22px; }
.hero h1 .hl { background: linear-gradient(120deg, var(--gold) 0%, #f3c96b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 56ch; margin: 0 auto 30px; }
.dept-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0 auto 34px; max-width: 900px; }
.dept { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.dept i { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 14px; }
.hero-fine { font-size: 14px; color: var(--ink-3); }
.hero-stage { position: relative; margin-top: 56px; }
.hero-stage::before {
  content: ''; position: absolute; inset: 40px -10% -40px; z-index: 0; border-radius: 40px;
  background: linear-gradient(135deg, #ffe9e3 0%, #e8ecff 35%, #e5f6f0 70%, #fff1e0 100%);
}
.shot { position: relative; z-index: 1; background: #0f1117; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(27,26,37,.45), 0 0 0 1px rgba(27,26,37,.08); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #171a23; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.shot-bar span { font-size: 12px; color: rgba(255,255,255,.35); margin-left: 8px; font-weight: 500; }
.shot img { width: 100%; height: auto; object-fit: cover; object-position: top left; }
.hero .shot img { max-height: 560px; }
.hero-float { position: absolute; z-index: 2; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 18px 40px -14px rgba(27,26,37,.35); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.hero-float i { width: 10px; height: 10px; border-radius: 50%; }
.hf-1 { left: -36px; top: 28px; }
.hf-2 { right: -36px; top: 150px; }
.hf-3 { left: -24px; bottom: -14px; }

/* ─── Houses strip ─────────────────────────────────────────────────────── */
.houses { padding: 56px 0 24px; text-align: center; }
.houses p { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.houses-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; }
.house { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #b6b5c6; }

/* ─── Module tabs ──────────────────────────────────────────────────────── */
.tabs-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.tabs-head h2 { margin-bottom: 14px; }
.tabbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab { font-family: inherit; font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--rule); background: #fff; color: var(--ink-2); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel { display: none; border-radius: var(--r-lg); padding: 44px; }
.panel.active { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: center; }
.panel h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.panel p { color: var(--ink-2); margin-bottom: 20px; }
.panel ul { list-style: none; margin-bottom: 26px; }
.panel li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15.5px; color: var(--ink-2); }
.panel li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--acc); }
.panel li::after { content: ''; position: absolute; left: 5px; top: 10px; width: 6px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.panel .shot img { max-height: 440px; }
.panel.prod   { background: var(--c-prod);   --acc: var(--a-prod); }
.panel.dist   { background: var(--c-dist);   --acc: var(--a-dist); }
.panel.thea   { background: var(--c-thea);   --acc: var(--a-thea); }
.panel.rights { background: var(--c-rights); --acc: var(--a-rights); }
.panel.port   { background: var(--c-port);   --acc: var(--a-port); }

/* ─── Tiles ────────────────────────────────────────────────────────────── */
.tiles-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: block; text-decoration: none; color: var(--ink); border-radius: 22px; padding: 28px; min-height: 210px; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(27,26,37,.3); }
.tile .ic { width: 34px; height: 34px; margin-bottom: 18px; }
.tile h3 { font-size: 21px; margin-bottom: 8px; }
.tile p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.tile .who { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--acc); }
.tile.prod   { background: var(--c-prod);   --acc: var(--a-prod); }
.tile.post   { background: var(--c-post);   --acc: var(--a-post); }
.tile.dist   { background: var(--c-dist);   --acc: var(--a-dist); }
.tile.thea   { background: var(--c-thea);   --acc: var(--a-thea); }
.tile.rights { background: var(--c-rights); --acc: var(--a-rights); }
.tile.mkt    { background: var(--c-mkt);    --acc: var(--a-mkt); }
.tile.arch   { background: var(--c-arch);   --acc: var(--a-arch); }
.tile.live   { background: var(--c-live);   --acc: var(--a-live); }
.tile.fin    { background: var(--c-fin);    --acc: var(--a-fin); }
.tile.port   { background: var(--c-port);   --acc: var(--a-port); }
.tile.dev    { background: var(--off);      --acc: var(--ink-2); }
.tile .ic .dot { fill: var(--acc); }

/* ─── One record ───────────────────────────────────────────────────────── */
.record { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 72px 56px; }
.record h2 { max-width: 18ch; margin-bottom: 18px; }
.record .lede { color: rgba(255,255,255,.72); max-width: 56ch; }
.record-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.record-col { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 26px; }
.record-col .n { font-size: 13px; font-weight: 800; color: var(--gold); margin-bottom: 10px; }
.record-col h3 { font-size: 20px; margin-bottom: 8px; }
.record-col p { font-size: 15px; color: rgba(255,255,255,.68); }

/* ─── Team ─────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.team-grid h2 { margin-bottom: 26px; }
.team-copy p { font-size: 17.5px; color: var(--ink-2); line-height: 1.7; }
.team-copy p + p { margin-top: 18px; }
.team-copy p:first-child { font-size: 19px; color: var(--ink); }
.team-houses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-house { background: var(--off); border-radius: 18px; padding: 22px; }
.team-house .name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.team-house .role { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.team-note { margin-top: 14px; font-size: 12px; color: var(--ink-3); }

/* ─── Pricing / answers ────────────────────────────────────────────────── */
.facts { background: var(--off); }
.facts .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.price-card { background: #fff; border-radius: var(--r-lg); padding: 40px; box-shadow: 0 30px 60px -30px rgba(27,26,37,.25); }
.price-big { font-size: clamp(56px, 6vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 10px 0 4px; }
.price-big sup { font-size: .42em; vertical-align: top; margin-top: .4em; display: inline-block; color: var(--gold-2); }
.price-big small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-left: 8px; }
.price-lines { list-style: none; margin: 22px 0 26px; }
.price-lines li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.price-lines li b { color: var(--ink); font-weight: 800; white-space: nowrap; }
.price-fine { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; }
.answers dt { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; margin-top: 24px; margin-bottom: 6px; }
.answers dd { color: var(--ink-2); font-size: 15.5px; max-width: 52ch; }

/* ─── Trust row ────────────────────────────────────────────────────────── */
.trust { padding: 40px 0 0; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { border: 1px solid var(--rule); border-radius: 16px; padding: 18px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); display: flex; gap: 12px; align-items: center; }
.trust-item .ic { width: 22px; height: 22px; }
.trust-item .ic .dot { fill: var(--gold); }

/* ─── Contact ──────────────────────────────────────────────────────────── */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact .lede { margin-bottom: 24px; }
.contact-alt { font-size: 15px; color: var(--ink-2); }
form.lead { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 36px; box-shadow: 0 30px 60px -30px rgba(27,26,37,.2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.form-group input, .form-group textarea { font-family: inherit; font-size: 16px; color: var(--ink); padding: 13px 15px; border: 2px solid var(--rule); border-radius: 12px; background: #fff; outline: none; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
form.lead .btn { width: 100%; justify-content: center; margin-top: 22px; }
.form-fine { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 12px; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols p { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer-cols a { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: var(--ink); }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); line-height: 1.6; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .2s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #c62828; }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .panel.active, .team-grid, .facts .wrap, .contact .wrap, .footer-grid { grid-template-columns: 1fr; }
  .tiles, .record-cols { grid-template-columns: 1fr 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 32px; }
  .hero-float { display: none; }
  .panel { padding: 28px; }
  .record { padding: 48px 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tiles, .record-cols, .trust-row, .team-houses, .form-grid, .footer-cols { grid-template-columns: 1fr; }
  form.lead { padding: 22px; }
  .hero .shot img, .panel .shot img { max-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .tile { transition: none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   Module-page layer — maps the legacy page classes (styles.css + the per-page
   <style> blocks) onto the v3 look. Loaded AFTER each page's own <style>, so
   same-specificity rules here win.
   ═══════════════════════════════════════════════════════════════════════════ */

/* legacy tokens → light values (inline styles reference these by name) */
:root {
  --bg: #ffffff; --bg-card: #ffffff; --bg-card2: #f7f7fb;
  --border: #e6e6ef; --border-2: #d6d6e2;
  --gold-dim: #fff6dd; --gold-glow: rgba(212,169,60,.10);
  --pink: #ec3f8b; --pink-dim: #ffe5f1; --pink-glow: rgba(236,63,139,.08);
  --text: #1b1a25; --text-muted: #4a4960; --text-dim: #7b7a90;
  --radius: 16px; --radius-lg: 24px;
  --acc: var(--gold); --tint: var(--gold-soft);
}
/* per-module accent + tint (set on <body class="page-…">) */
body.page-production      { --acc: var(--a-prod);   --tint: var(--c-prod); }
body.page-post-production { --acc: var(--a-post);   --tint: var(--c-post); }
body.page-distribution    { --acc: var(--a-dist);   --tint: var(--c-dist); }
body.page-theatrical      { --acc: var(--a-thea);   --tint: var(--c-thea); }
body.page-rights          { --acc: var(--a-rights); --tint: var(--c-rights); }
body.page-marketing,
body.page-social-media    { --acc: var(--a-mkt);    --tint: var(--c-mkt); }
body.page-archive         { --acc: var(--a-arch);   --tint: var(--c-arch); }
body.page-theatre, body.page-events,
body.page-music, body.page-construction { --acc: var(--a-live); --tint: var(--c-live); }
body.page-finance         { --acc: var(--a-fin);    --tint: var(--c-fin); }
body.page-client-portal,
body.page-pricing, body.page-marketplace,
body.page-development, body.page-platform { --acc: var(--gold); --tint: var(--gold-soft); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }
section.bt { border-top: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--ink-2); }
.text-dim { color: var(--ink-3); }
.text-gold { color: var(--gold-2); }
.text-pink { color: var(--a-mkt); }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.gradient-text, .gradient-text-pink { background: linear-gradient(120deg, var(--acc), color-mix(in srgb, var(--acc) 60%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h4 { font-weight: 800; letter-spacing: -0.01em; }

.btn-primary, .btn-nav {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px;
  padding: 16px 28px; border-radius: 999px; background: var(--gold); color: var(--ink);
  text-decoration: none; border: 2px solid var(--gold); cursor: pointer; font-family: inherit;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(212,169,60,.7); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px;
  padding: 16px 28px; border-radius: 999px; background: transparent; color: var(--ink);
  text-decoration: none; border: 2px solid var(--rule); font-family: inherit;
}
.btn-ghost:hover { border-color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.card {
  background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 24px;
  box-shadow: 0 1px 2px rgba(27,26,37,.04);
}
.divider { height: 1px; background: var(--rule); }

/* hero */
.module-hero {
  min-height: 0; padding: 72px 0 64px; display: block; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
}
.module-hero::before { display: none; }
.module-hero h1 { font-size: clamp(42px, 5.6vw, 72px) !important; font-weight: 800 !important; letter-spacing: -0.03em !important; line-height: 1.02 !important; max-width: 16ch !important; }
.module-hero .hero-sub, .module-hero p { color: var(--ink-2); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--rule);
  border-radius: 999px; padding: 8px 16px 8px 10px; font-size: 12px; font-weight: 700; color: var(--ink-2);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-badge .ic { width: 18px; height: 18px; } .hero-badge .ic .dot { fill: var(--acc); }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 26px;
  transition: transform .15s, box-shadow .15s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(27,26,37,.3); border-color: var(--rule); }
.feature-card .icon { font-size: 0; margin-bottom: 16px; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.feature-card .icon .ic { width: 24px; height: 24px; } .feature-card .icon .ic .dot { fill: var(--acc); }
.feature-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.feature-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* screenshots */
.app-frame {
  border-radius: 24px; border: 0; overflow: hidden; background: #0f1117; position: relative;
  box-shadow: 0 40px 80px -30px rgba(27,26,37,.45), 0 0 0 1px rgba(27,26,37,.08);
}
.app-frame-bar { background: #171a23; border-bottom: 1px solid rgba(255,255,255,.06); padding: 12px 16px; display: flex; align-items: center; gap: 7px; }
.app-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16) !important; }
.app-frame-title { font-size: 12px; color: rgba(255,255,255,.35); margin-left: 8px; font-weight: 500; }
.full-screenshot-wrap { max-width: 1100px; margin: 0 auto; }
.frame-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.frame-caption { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; text-align: center; }

/* splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-top: 12px; color: var(--ink); }
.split-copy p { font-size: 16px; color: var(--ink-2); line-height: 1.65; margin-top: 16px; }
.bullet-list { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.bullet-item { display: flex; align-items: flex-start; gap: 12px; }
.bullet-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--acc); flex-shrink: 0; margin-top: 3px; position: relative; }
.bullet-dot::after { content: ''; position: absolute; left: 5px; top: 3px; width: 6px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.bullet-item p { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.bullet-item strong { color: var(--ink); font-weight: 700; }

/* callouts, scene features, stats */
.callout-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.callout-card { background: var(--off); border: 0; border-radius: 18px; padding: 22px; }
.callout-card .ci { font-size: 0; margin-bottom: 12px; }
.callout-card .ci .ic { width: 24px; height: 24px; } .callout-card .ci .ic .dot { fill: var(--acc); }
.callout-card h4 { font-size: 15.5px; margin-bottom: 6px; color: var(--ink); }
.callout-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.scene-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.scene-feature-item { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--acc); border-radius: 14px; padding: 20px; }
.scene-feature-item h4 { font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.scene-feature-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.stat-card { background: var(--off); border-radius: 18px; padding: 24px; }
.stat-number { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-item { background: var(--off); border-radius: 16px; padding: 18px; }

/* request-access form (legacy ids) */
#request-access form, form#lead-form { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 36px; box-shadow: 0 30px 60px -30px rgba(27,26,37,.2); }
#lead-submit { width: 100%; justify-content: center; margin-top: 22px; }

/* legacy wrappers that set dark bg inline */
[style*="background: linear-gradient(180deg, var(--bg)"] { background: var(--off) !important; }

@media (max-width: 900px) {
  .feature-grid, .callout-row, .scene-feature-grid, .grid-3, .grid-4, .frame-pair, .stat-bar { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
  .split.reverse > * { direction: ltr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature-grid, .callout-row, .scene-feature-grid, .grid-3, .grid-4, .frame-pair, .stat-bar { grid-template-columns: 1fr; }
}

/* inline grids on the legacy pages (style="grid-template-columns:…") never collapsed on phones */
@media (max-width: 900px) {
  [style*="grid-template-columns:repeat(3"], [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"], [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:1fr 1fr 1fr"], [style*="grid-template-columns: 1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }
  .scene-feature-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .scene-feature-grid, .feature-grid, .callout-row, .frame-pair { grid-template-columns: 1fr !important; }
  [style*="padding:"][style*="48px"] { padding-left: 20px !important; padding-right: 20px !important; }
  img, svg, video { max-width: 100%; }
}

/* ── Feature cards as colour tiles (home-page style), cycling the module palette ── */
.feature-card { border: 0; border-radius: 22px; padding: 28px; min-height: 230px; box-shadow: none; }
.feature-card:hover { box-shadow: 0 20px 40px -20px rgba(27,26,37,.3); }
.feature-card .icon { background: rgba(255,255,255,.75); width: 46px; height: 46px; border-radius: 13px; }
.feature-card .icon .ic { width: 26px; height: 26px; }
.feature-card .icon .ic .dot { fill: var(--tile-acc); }
.feature-card h4 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--ink-2); }
.feature-card:nth-child(10n+1)  { background: var(--c-prod);   --tile-acc: var(--a-prod); }
.feature-card:nth-child(10n+2)  { background: var(--c-dist);   --tile-acc: var(--a-dist); }
.feature-card:nth-child(10n+3)  { background: var(--c-post);   --tile-acc: var(--a-post); }
.feature-card:nth-child(10n+4)  { background: var(--c-thea);   --tile-acc: var(--a-thea); }
.feature-card:nth-child(10n+5)  { background: var(--c-rights); --tile-acc: var(--a-rights); }
.feature-card:nth-child(10n+6)  { background: var(--c-mkt);    --tile-acc: var(--a-mkt); }
.feature-card:nth-child(10n+7)  { background: var(--c-arch);   --tile-acc: var(--a-arch); }
.feature-card:nth-child(10n+8)  { background: var(--c-live);   --tile-acc: var(--a-live); }
.feature-card:nth-child(10n+9)  { background: var(--c-fin);    --tile-acc: var(--a-fin); }
.feature-card:nth-child(10n+10) { background: var(--c-port);   --tile-acc: var(--a-port); }

/* callouts and scene features: the module's own tint, no hairlines */
.callout-card { background: var(--tint); border-radius: 20px; padding: 24px; }
.callout-card .ci { background: rgba(255,255,255,.75); width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.callout-card .ci .ic .dot { fill: var(--acc); }
.scene-feature-item { background: var(--tint); border: 0; border-left: 0; border-radius: 16px; }
.scene-feature-item h4 { color: var(--ink); }
.card { border: 0; background: var(--off); border-radius: 20px; box-shadow: none; }
