/* ProWard website. Direction: engineered, not decorated (G45 to G49, November 11, 2026).
   Tokens mirror the app's static/style.css. Stone backgrounds keep screenshots from blending in. */
:root {
  --charcoal: #2D2D2D;
  --ink: #1A1A1A;
  --ink-2: #333333;
  --dim: #4F4F4F;
  --cream: #F5F3EC;
  --paper: #FAF8F2;
  --white: #FFFFFF;
  --stone: #E4E0D5;
  --stone-deep: #D9D4C7;
  --line: #E4E0D5;
  --line-strong: #CFC9BB;
  --orange: #E8630A;
  --orange-dark: #B54D08;
  --orange-wash: #FDEBDD;
  --orange-hi: #FFB27A;
  --forest: #2F5D46;
  --forest-dark: #234634;
  --forest-wash: #E8EFE7;
  --navy: #1A2A4A;
  --oxblood: #9A4650;
  --oxblood-dark: #7A3740;
  --oxblood-wash: #F6EAEC;
  --accent: var(--orange-dark);
  --accent-rail: var(--orange);
  --accent-wash: var(--orange-wash);
  --serif: "Fraunces", Baskerville, "Libre Baskerville", Cambria, Georgia, serif;
  --sans: "Inter", -apple-system, "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 10px;
  --wrap: 1216px;
}
.theme-projects { --accent: var(--forest); --accent-rail: var(--forest); --accent-wash: var(--forest-wash); }
.theme-awards { --accent: var(--orange-dark); --accent-rail: var(--orange); --accent-wash: var(--orange-wash); }
.theme-tools { --accent: var(--oxblood); --accent-rail: var(--oxblood); --accent-wash: var(--oxblood-wash); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
h1 .line { display: block; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 14px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #D6DEEC; outline-offset: 2px; }

/* Header: matches the app top bar (G47) */
.site-header { background: var(--charcoal); border-bottom: 3px solid var(--orange); position: sticky; top: 0; z-index: 20; }
.site-header .bar { max-width: 1280px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { width: 132px; height: 33px; }
.brand-words { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: .01em; color: var(--cream); line-height: 1; }
.brand-sub { font-size: 9.5px; letter-spacing: .18em; color: #D9D4C7; font-weight: 600; }
.nav { display: flex; gap: 6px 26px; flex: 1 1 auto; align-items: center; }
.nav a { color: var(--cream); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--orange-hi); }
.nav a[aria-current="page"] { color: var(--orange-hi); border-bottom-color: var(--orange); }
.header-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 1px solid #5A5A5A; color: var(--cream); border-radius: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; font: 600 14px var(--sans); }
@media (max-width: 1200px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .site-header .nav, .site-header .header-cta { display: none; }
  .site-header.open .bar { flex-wrap: wrap; }
  .site-header.open .nav { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 0; padding: 8px 0 4px; border-top: 1px solid #444; }
  .site-header.open .nav a { width: 100%; padding: 12px 0; }
  .site-header.open .header-cta { display: inline-flex; margin-bottom: 12px; }
  .site-header.open .nav { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 8px; font: 600 16px var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--orange-dark); color: var(--white); }
.btn-primary:hover { background: #963F06; color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-rail { background: var(--orange); color: var(--ink); font-weight: 700; min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-rail:hover { background: var(--orange-hi); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Labels (G46) */
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #3F3F3F; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent-rail); flex: none; }
.on-dark .eyebrow { color: var(--orange-hi); }
.on-dark .eyebrow::before { background: var(--orange); }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); border: 1px solid var(--line-strong); color: #3F3F3F; padding: 3px 8px; border-radius: 4px; }
.mono { font-family: var(--mono); }
.lead { font-size: 19px; line-height: 1.6; color: var(--dim); }
.small-note { font-family: var(--mono); font-size: 13px; color: var(--dim); }

/* Section backgrounds: Stone grid keeps screenshots distinct (G49) */
.grid-stone { background-color: var(--stone); background-image: linear-gradient(rgba(45,45,45,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(45,45,45,.07) 1px, transparent 1px); background-size: 32px 32px; }
.grid-wash { background-color: var(--accent-wash); background-image: linear-gradient(rgba(45,45,45,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(45,45,45,.06) 1px, transparent 1px); background-size: 32px 32px; }
.grid-dark { background-color: var(--ink); background-image: linear-gradient(rgba(245,243,236,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,236,.05) 1px, transparent 1px); background-size: 32px 32px; color: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-wash { background: var(--accent-wash); }
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-tight { padding: 72px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.on-dark h2, .on-dark h3 { color: var(--cream); }
.on-dark .lead, .on-dark p { color: #C9C4B8; }

/* Hero with a screen that runs off the right edge */
.hero { overflow: hidden; border-bottom: 1px solid var(--line-strong); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 84px 0 92px max(24px, calc((100% - 1216px) / 2)); }
.hero-copy { flex: 1 1 440px; max-width: 560px; padding-right: 24px; display: flex; flex-direction: column; gap: 22px; }
.hero-shot { flex: 1 1 560px; min-width: 0; position: relative; padding: 20px 0; }
.shot-frame { border: 1px solid var(--white); border-right: 0; border-radius: 12px 0 0 12px; overflow: hidden; background: var(--white); box-shadow: 0 28px 56px -28px rgba(26,26,26,.45), 0 2px 8px rgba(26,26,26,.10), 0 0 0 1px rgba(26,26,26,.08); }
.shot-frame img { width: 100%; min-width: 600px; height: auto; }
.hero-shot .tag { position: absolute; right: 24px; top: 34px; }
.callout { position: absolute; left: -12px; bottom: 64px; background: var(--ink); color: var(--cream); border-radius: 10px; padding: 14px 16px; max-width: 250px; box-shadow: 0 12px 28px -12px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 6px; }
.callout .mono { font-size: 11px; letter-spacing: .08em; color: var(--orange-hi); text-transform: uppercase; }
.callout span:last-child { font-size: 14px; line-height: 1.45; }
@media (max-width: 760px) {
  .hero-inner { padding: 56px 0 56px 24px; gap: 32px; }
  .callout { position: static; max-width: none; margin: 16px 24px 0 0; }
  .shot-frame img { min-width: 520px; }
}

/* Credentials strip */
.creds { background: var(--white); border-bottom: 1px solid var(--line); }
.creds .wrap { padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.cred { border-left: 2px solid var(--line-strong); padding-left: 16px; display: flex; flex-direction: column; gap: 8px; }
.cred .mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.cred p { font-size: 15px; color: var(--ink-2); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card.rail { border-top: 4px solid var(--accent-rail); }
.card .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card p { font-size: 15.5px; color: var(--dim); }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
ul.ticks { margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }

/* Module pair on Home */
.pair { display: flex; flex-wrap: wrap; align-items: stretch; }
.pair > .module { flex: 1 1 380px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.module .body { padding: 28px 28px 22px; display: flex; flex-direction: column; gap: 12px; }
.module .label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.module .thumb { margin-top: auto; padding: 20px 0 0 28px; }
.module .thumb img { width: 100%; height: 200px; object-fit: cover; object-position: left top; border-radius: 8px 0 0 0; box-shadow: 0 0 0 1px rgba(26,26,26,.10); }
.module.projects { border-top: 4px solid var(--forest); }
.module.projects .thumb { background: var(--forest-wash); }
.module.projects .label, .module.projects a { color: var(--forest); }
.module.awards { border-top: 4px solid var(--orange); }
.module.awards .thumb { background: var(--orange-wash); }
.module.awards .label, .module.awards a { color: var(--orange-dark); }
.link-rail { flex: 0 1 120px; min-width: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 0; }
.link-rail i { display: block; width: 100%; height: 3px; background: var(--orange); }
.link-rail span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #3F3F3F; }
@media (max-width: 860px) { .link-rail { flex-basis: 100%; flex-direction: row; } .link-rail i { width: 40px; } }

/* Figures */
figure.fig { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
figure.fig .pic { background: var(--stone); padding: 20px 20px 0; position: relative; border-bottom: 1px solid var(--line); }
figure.fig .pic img { width: 100%; height: 260px; object-fit: cover; object-position: left top; border-radius: 6px 6px 0 0; background: var(--white); box-shadow: 0 0 0 1px rgba(26,26,26,.10); }
figure.fig.tall .pic img { height: 340px; }
figure.fig.full .pic img { height: auto; }
figure.fig .pic .tag { position: absolute; right: 28px; top: 28px; }
figure.fig figcaption { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
figure.fig figcaption .mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
figure.fig figcaption strong { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--ink); }
figure.fig figcaption span:last-child { font-size: 15.5px; color: var(--dim); }

/* Wide screen panel */
.panel { background: var(--white); border-radius: 12px; padding: 18px; box-shadow: 0 24px 48px -28px rgba(26,26,26,.45), 0 0 0 1px rgba(26,26,26,.08); position: relative; }
.panel img { width: 100%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(26,26,26,.06); }
.panel .tag { position: absolute; right: 28px; top: 28px; }

/* Feature rows (alternating, used on Projects and Tools) */
.rows { display: flex; flex-direction: column; gap: 88px; }
.row { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.row:nth-child(even) { flex-direction: row-reverse; }
.row .text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; }
.row .media { flex: 1.4 1 480px; min-width: 0; }
.row .stage { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }

/* Lifecycle rail */
.lifecycle { position: relative; }
.lifecycle::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 3px; background: var(--orange); }
.lifecycle ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px 24px; }
.lifecycle li { display: flex; flex-direction: column; gap: 12px; }
.lifecycle li > div { display: flex; flex-direction: column; gap: 6px; }
.lifecycle .node { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; background: var(--ink); color: var(--orange-hi); }
.lifecycle strong { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.lifecycle span { font-size: 15px; line-height: 1.55; color: #C9C4B8; }
.lifecycle.light::before { background: var(--accent-rail); }
.lifecycle.light .node { background: var(--accent-wash); border-color: var(--accent-rail); color: var(--accent); }
.lifecycle.light span { color: var(--dim); }
@media (max-width: 760px) {
  .lifecycle::before { left: 23px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .lifecycle ol { grid-template-columns: 1fr; gap: 24px; }
  .lifecycle li { flex-direction: row; align-items: flex-start; gap: 16px; }
  .lifecycle li > div { display: flex; flex-direction: column; gap: 4px; }
}

/* Video slots */
.video-slot { margin: 0; border-radius: 12px; overflow: hidden; background: var(--ink); position: relative; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(26,26,26,.15); }
.video-slot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: .38; }
.video-slot .over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; color: var(--cream); background: linear-gradient(to top, rgba(26,26,26,.85), rgba(26,26,26,0) 70%); }
.video-slot .play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; }
.video-slot .over .mono { font-size: 11px; letter-spacing: .08em; color: var(--orange-hi); text-transform: uppercase; }
.video-slot .over strong { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.videos { display: grid; grid-template-columns: 1fr; gap: 40px; }

/* Bands */
.band { padding: 88px 0; text-align: center; }
.band .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 900px; }
.band .mark { width: min(420px, 90%); height: auto; }

/* Scale ladder (Projects) */
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: end; }
.ladder > div { border: 1px solid var(--line-strong); background: var(--white); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ladder > div:nth-child(1) { min-height: 150px; border-radius: 12px 0 0 12px; }
.ladder > div:nth-child(2) { min-height: 200px; border-left: 0; }
.ladder > div:nth-child(3) { min-height: 250px; border-left: 0; border-radius: 0 12px 12px 0; background: var(--forest-wash); }
.ladder .mono { font-size: 12px; letter-spacing: .08em; color: var(--forest); text-transform: uppercase; }
.ladder p { font-size: 15px; color: var(--dim); }
@media (max-width: 760px) { .ladder { grid-template-columns: 1fr; } .ladder > div { min-height: 0 !important; border-left: 1px solid var(--line-strong) !important; border-radius: 12px !important; margin-bottom: 12px; } }

/* Compliance grid (Awards) */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.checks figure.fig .pic img { height: 210px; }
.disclaimer { margin-top: 28px; font-size: 14px; color: var(--dim); max-width: 860px; }

/* Experience grid (dark) */
.exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #3A3A3A; border: 1px solid #3A3A3A; border-radius: 12px; overflow: hidden; }
.exp-grid div { background: #1F1F1F; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.exp-grid .mono { font-size: 11px; letter-spacing: .08em; color: var(--orange-hi); text-transform: uppercase; }
.exp-grid span:last-child { font-size: 15px; color: #E6E1D6; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tier.featured { border-top: 4px solid var(--orange); }
.tier .price { font-family: var(--mono); font-size: 14px; color: var(--dim); }
.tier dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 14.5px; }
.tier dt { color: var(--dim); }
.tier dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: 16px var(--sans); color: var(--ink); background: var(--white); border: 1px solid #A9A397; border-radius: 8px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.form-status { font-size: 15px; min-height: 22px; color: #8A2A22; }
.field-error { margin: 0; font-size: 14px; color: #8A2A22; }
.field-error:empty { display: none; }
.btn[disabled] { opacity: .6; cursor: default; }

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 18px; }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 16px; color: var(--ink-2); margin: 0 0 12px; }
.draft-banner { background: var(--orange-wash); border: 1px solid #F2CDB0; border-radius: 10px; padding: 14px 18px; font-size: 15px; margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #D9D4C7; border-top: 3px solid var(--orange); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.foot-brand .brand-line { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 116px; height: 29px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-col .mono { font-size: 12px; letter-spacing: .08em; color: var(--orange-hi); }
.site-footer a { color: #D9D4C7; text-decoration: none; padding: 2px 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-legal { border-top: 1px solid #4A4A4A; padding-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: #B9B4A8; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Feature videos (November 11, 2026) */
.video-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--stone, #E4E0D5); box-shadow: 0 0 0 1px rgba(26,26,26,.15), 0 10px 28px rgba(26,26,26,.10); object-fit: contain; }
.video-card video:fullscreen { border-radius: 0; box-shadow: none; background: #000; object-fit: contain; }
.video-card figcaption { display: flex; flex-direction: column; gap: 4px; order: -1; }
.video-card figcaption .mono { font-size: 11px; letter-spacing: .08em; color: var(--orange-dark, #B54D08); text-transform: uppercase; }
.video-card figcaption strong { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); }

/* Published prices (November 11, 2026; source: server/tiers.py price book) */
.tier .amount { display: flex; flex-direction: column; gap: 4px; }
.tier .amount .big { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.tier .amount .per { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--dim); }
.tier .amount .alt { font-family: var(--mono); font-size: 13px; color: var(--dim); }

/* Feedback round (November 11, 2026): lifecycle hover, schedule odds */
.lifecycle .node, .lifecycle li > div { transition: background .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease; }
@media (hover: hover) and (min-width: 761px) {
  .lifecycle li > div { padding: 10px 12px; margin: -10px -12px; border-radius: 12px; }
  .lifecycle li:hover > div { background: rgba(245,243,236,.08); box-shadow: inset 0 0 0 1px rgba(232,99,10,.6), 0 10px 26px rgba(0,0,0,.25); transform: translateY(-4px); }
  .lifecycle li:hover .node { background: var(--orange); color: var(--ink); transform: scale(1.08); }
  .lifecycle li:hover strong { color: var(--orange-hi); }
  .lifecycle.light li:hover > div { background: var(--white); box-shadow: inset 0 0 0 1px var(--accent-rail), 0 10px 26px rgba(26,26,26,.10); }
  .lifecycle.light li:hover .node { background: var(--accent-rail); color: var(--white); }
  .lifecycle.light li:hover strong { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { .lifecycle .node, .lifecycle li > div { transition: none; transform: none !important; } }
.odds { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: 15.5px; }
.odds dt { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--accent); background: var(--accent-wash); border-radius: 6px; padding: 3px 8px; align-self: start; }
.odds dd { margin: 0; color: var(--ink-2); line-height: 1.5; }

/* Features gallery and full-width video tiles (November 12, 2026) */
.theme-strategic { --accent: var(--navy); --accent-rail: var(--navy); --accent-wash: #E6EAF2; }
.video-card { background: var(--white); border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px 18px 20px; box-shadow: 0 14px 34px rgba(26,26,26,.08); }
.video-card figcaption strong { font-size: 24px; }
.video-card video { border-radius: 12px; }
.features-hero .section-head { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px; transition: background .2s, color .2s, border-color .2s; }
.chip:hover, .chip:focus-visible { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 32px; }
.g-tile { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 18px; padding: 14px 14px 18px; box-shadow: 0 10px 26px rgba(26,26,26,.07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.g-tile:hover, .g-tile:focus-visible { transform: translateY(-6px); border-color: var(--accent-rail); box-shadow: 0 0 0 2px var(--accent-rail), 0 22px 44px rgba(26,26,26,.16); }
.g-tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.g-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--stone); }
.g-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, filter .25s ease; }
.g-tile:hover .g-media img { transform: scale(1.03); }
.g-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(26,26,26,.78); box-shadow: 0 0 0 3px var(--orange); transition: transform .25s ease, background .25s ease; }
.g-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--cream); }
.g-tile:hover .g-play { transform: scale(1.12); background: var(--orange); }
.g-len { position: absolute; right: 12px; bottom: 12px; font-family: var(--mono); font-size: 12px; color: var(--cream); background: rgba(26,26,26,.8); border-radius: 6px; padding: 3px 8px; }
.g-label { display: flex; flex-direction: column; gap: 6px; padding: 0 6px; }
.g-label strong { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); }
.g-label span { font-size: 15.5px; line-height: 1.5; color: var(--dim); }
.g-tile.lb-origin { opacity: .35; }
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lb-back { position: fixed; inset: 0; z-index: 900; background: rgba(26,26,26,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.lb-back.on { opacity: 1; pointer-events: auto; }
.lb { position: fixed; z-index: 901; display: none; flex-direction: column; background: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform-origin: 0 0; }
.lb.on { display: flex; }
.lb-head { height: 58px; flex: 0 0 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 0 22px; color: var(--cream); }
.lb-title { font-family: var(--serif); font-size: 22px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(245,243,236,.35); background: transparent; color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.lb-x:hover, .lb-x:focus-visible { background: var(--orange); border-color: var(--orange); outline: none; }
.lb-frame { flex: 1 1 auto; min-height: 0; background: #000; }
.lb-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
@media (prefers-reduced-motion: reduce) { .g-tile, .g-media img, .g-play { transition: none; } .g-tile:hover { transform: none; } }

/* Phone header fit (November 13, 2026): keep the Menu button inside the bar */
@media (max-width: 1200px) {
  .site-header .bar { gap: 12px 16px; }
  .site-header .brand { min-width: 0; flex: 0 1 auto; }
  .menu-btn { flex: none; }
}
@media (max-width: 480px) {
  .site-header .bar { padding: 10px 16px; }
  .site-header .brand img { width: 100px; height: 25px; }
  .site-header .brand-name { font-size: 20px; }
  .site-header .brand-sub { font-size: 8.5px; letter-spacing: .14em; }
}
@media (max-width: 359px) {
  .site-header .brand img { width: 84px; height: 21px; }
  .site-header .brand-sub { display: none; }
}

/* Sign in link (November 14, 2026): desktop bar and phone menu, points at the app */
.header-signin { flex: none; color: var(--cream); text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 0; white-space: nowrap; }
.header-signin:hover { color: var(--orange-hi); }
@media (max-width: 1200px) {
  .site-header .header-signin { display: none; }
  .site-header.open .header-signin { display: block; width: 100%; padding: 12px 0; border-top: 1px solid #444; }
}
