/* ============================================================================
   Studio Labs — studio.css  v1.0.0 (2026-10-22)
   Purpose: design system for the repositioned site (strategy · build · growth).
            Light, paper-toned editorial base; flask green is the only accent.
   Replaces: css/portfolio.css on the repositioned marketing pages only
             (login/register/dashboard/legal pages still use portfolio.css).
   Deactivate-safe: yes — pages that don't link this file are unaffected.
   ============================================================================ */

:root {
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --card: #fffdf8;
  --ink: #15140f;
  --ink-2: #3d3a31;
  --ink-3: #5c584c;
  --rule: #d9d2c2;
  --accent: #0f7a45;
  --accent-ink: #ffffff;
  --accent-soft: #e2efe6;
  --night: #12130f;
  --night-2: #1c1d18;
  --gold: #facc15;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* custom beaker cursor — default-on, html.cursor-off opts out (ecosystem pattern) */
  cursor: url('/cursors/beaker.png') 12 12, default;
}
a, button, [role="button"], label[for], select, summary { cursor: url('/cursors/beaker-pointer.png') 12 12, pointer; }
html.cursor-off body { cursor: auto !important; }
html.cursor-off a, html.cursor-off button, html.cursor-off [role="button"],
html.cursor-off label[for], html.cursor-off select, html.cursor-off summary { cursor: pointer !important; }

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* ── Type ─────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3rem, 8.4vw, 7.4rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink-2); max-width: 46ch; line-height: 1.5; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; gap: .7em; align-items: center; margin-bottom: 1.2rem;
}
.eyebrow b { color: var(--accent); font-weight: 700; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--sans); padding: 1rem 1.45rem; border-radius: 999px;
  text-decoration: none; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent); border-color: var(--accent); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-full { width: 100%; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.link { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--ink); }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,243,236,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 96px; width: 96px; object-fit: contain; }
.brand span { font-family: var(--serif); font-size: 2rem; line-height: 1; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav-links .nav-cta { background: var(--ink); color: var(--paper); padding: 10px 18px; margin-left: 8px; }
.nav-links .nav-cta:hover { background: var(--accent); color: #fff; }
.nav-links .nav-signin { border: 1px solid var(--rule); }
.cursor-toggle { font: 600 .7rem var(--sans); letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--rule); background: var(--card); color: var(--ink-2); border-radius: 999px; padding: 6px 10px; }
.cursor-toggle svg { width: 12px; height: 12px; }
.cursor-toggle-state { color: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); border-radius: 10px; width: 46px; height: 46px; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: transform .2s, opacity .2s; }
.mobile-menu { display: none; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-inner { min-height: 84px; }
  .brand img { height: 64px; width: 64px; }
  .brand span { font-size: 1.6rem; }
  .mobile-menu.open { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--rule); background: var(--paper);
    position: fixed; top: 85px; left: 0; right: 0; z-index: 49; max-height: calc(100vh - 85px); overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(21,20,15,.35); }
  .mobile-menu a { font-family: var(--serif); font-size: 1.9rem; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--rule); }
  .mobile-menu a.btn { font-family: var(--sans); font-size: 1rem; margin-top: 16px; border-bottom: 1.5px solid var(--ink); padding: 1rem; }
  .mobile-menu .cursor-toggle { align-self: flex-start; margin-top: 14px; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
section { padding: clamp(64px, 10vw, 128px) 0; }
.rule-top { border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-head p { color: var(--ink-2); max-width: 44ch; margin: 0; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 13ch; }
.hero-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.hero-meta li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: .98rem; }
.hero-meta li span:first-child { color: var(--ink-3); }
.hero-meta li span:last-child { font-weight: 600; text-align: right; }
@media (max-width: 860px) { .hero-row { grid-template-columns: 1fr; } }

.page-hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); max-width: 16ch; }
.page-hero .lede { margin-top: 24px; }

/* ── Showcase (real screenshots in browser + phone frames) ────────────── */
.showcase { position: relative; padding-bottom: clamp(40px, 6vw, 80px); }
.browser { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(21,20,15,.35); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); display: block; }
.browser-bar span { margin-left: 10px; font-size: .78rem; color: var(--ink-3); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.phone { width: clamp(120px, 15vw, 210px); border: 8px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 50px -25px rgba(21,20,15,.5); }
.phone img { width: 100%; aspect-ratio: 9/19; object-fit: cover; object-position: top; }
.showcase .phone { position: absolute; right: calc(var(--gutter) - 20px); bottom: 64px; width: 168px; border-width: 6px; border-radius: 26px; }
@media (max-width: 1100px) { .showcase .phone { display: none; } }
.stage { display: grid; }
.stage > figure { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .9s ease; }
.stage > figure.on { opacity: 1; }
.stage-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: .9rem; color: var(--ink-3); }
.stage-dots { display: flex; gap: 6px; }
.stage-dots button { width: 28px; height: 4px; border: 0; border-radius: 4px; background: var(--rule); padding: 0; }
.stage-dots button.on { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .stage > figure { transition: none; } }

/* ── Marquee of shipped work ──────────────────────────────────────────── */
.marquee { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; padding: 18px 0; background: var(--paper); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); white-space: nowrap; }
.marquee-track span::after { content: "✳"; font-family: var(--sans); font-size: .9rem; color: var(--accent); margin-left: 56px; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } }

/* ── Three phases ─────────────────────────────────────────────────────── */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.phase { padding: 32px 28px 36px 0; border-right: 1px solid var(--rule); }
.phase + .phase { padding-left: 28px; }
.phase:last-child { border-right: 0; }
.phase-num { font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--accent); }
.phase h3 { margin: 12px 0 10px; }
.phase p { color: var(--ink-2); }
.phase ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.phase li { padding: 9px 0; border-top: 1px solid var(--rule); font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.phase li small { color: var(--ink-3); font-weight: 400; }
@media (max-width: 900px) {
  .phases { grid-template-columns: 1fr; }
  .phase, .phase + .phase { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ── Ownership comparison ─────────────────────────────────────────────── */
.own { background: var(--night); color: #fff; }
.own h2, .own h3 { color: #fff; }
.own h2 em, .own h3 em { color: var(--gold); }
.own .eyebrow { color: #fff; }
.own .eyebrow b { color: var(--gold); }
.own .sec-head p { color: #fff; }
.own-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.own-card { border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; background: var(--night-2); }
.own-card .tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.own-card h3 { margin: 14px 0 6px; }
.own-card .tagline { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: #fff; margin-bottom: 18px; }
.own-card p, .own-card li { color: #fff; }
.own-card dl { margin: auto 0 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .92rem; }
.own-card dt { color: var(--gold); }
.own-card dd { margin: 0; text-align: right; font-weight: 600; color: #fff; }
.own-card.feature { border-color: var(--gold); }
@media (max-width: 900px) { .own-grid { grid-template-columns: 1fr; } }

/* light-background comparison table (ownership page) */
.compare { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; border-bottom: 1px solid var(--ink); }
.compare tbody th { font-weight: 600; color: var(--ink-2); width: 24%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) { .compare { min-width: 640px; } }

/* ── Work / case studies ──────────────────────────────────────────────── */
.feature-case { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.feature-case .facts { list-style: none; padding: 0; margin: 22px 0 28px; border-top: 1px solid var(--rule); }
.feature-case .facts li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.feature-case .facts li span:first-child { color: var(--ink-3); font-size: .9rem; }
@media (max-width: 900px) { .feature-case { grid-template-columns: 1fr; } }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.work-tile { grid-column: span 4; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.work-tile.wide { grid-column: span 8; }
.work-tile.half { grid-column: span 6; }
.work-tile .frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--card); }
.work-tile .frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; transition: transform .6s ease; }
.work-tile:hover .frame img { transform: scale(1.03); }
.work-tile .meta { display: flex; justify-content: space-between; gap: 14px; padding-top: 14px; align-items: baseline; }
.work-tile h3 { font-size: 1.7rem; }
.work-tile .kind { font-size: .82rem; color: var(--ink-3); text-align: right; }
.work-tile p { margin: 6px 0 0; color: var(--ink-2); font-size: .97rem; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-3); margin-top: 10px; align-self: flex-start; }
.badge.live { border-color: var(--accent); color: var(--accent); }
@media (max-width: 900px) { .work-tile, .work-tile.wide, .work-tile.half { grid-column: span 12; } }

.case-body { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 72px); }
.case-side { position: sticky; top: 130px; align-self: start; border-top: 1px solid var(--ink); }
.case-side dl { margin: 0; }
.case-side dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 18px; }
.case-side dd { margin: 4px 0 0; font-weight: 600; }
.case-main h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 48px 0 16px; }
.case-main h2:first-child { margin-top: 0; }
.case-main p, .case-main li { color: var(--ink-2); font-size: 1.07rem; max-width: 64ch; }
.case-main figure { margin: 36px 0; }
.case-main figcaption { font-size: .88rem; color: var(--ink-3); margin-top: 10px; }
.case-pair { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
@media (max-width: 860px) { .case-body { grid-template-columns: 1fr; } .case-side { position: static; } .case-pair { grid-template-columns: 1fr; } .case-pair .phone { margin: 0 auto; } }

/* ── Process ──────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; padding: 22px 18px 0 0; }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 2.4rem; color: var(--accent); display: block; line-height: 1; margin-bottom: 12px; }
.steps h4 { font-size: 1.05rem; }
.steps p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 18px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ── Service detail rows ──────────────────────────────────────────────── */
.svc { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(20px, 5vw, 72px); padding: 44px 0; border-top: 1px solid var(--rule); }
.svc:first-of-type { border-top: 1px solid var(--ink); }
.svc h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.svc .from { margin-top: 14px; font-weight: 600; }
.svc .from small { display: block; font-weight: 400; color: var(--ink-3); }
.svc dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 12px 20px; }
.svc dt { color: var(--ink-3); font-size: .9rem; padding-top: 2px; }
.svc dd { margin: 0; color: var(--ink-2); }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; } .svc dl { grid-template-columns: 1fr; gap: 2px; } .svc dd { margin-bottom: 12px; } }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.notice { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 18px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.notice code { font: 700 1rem ui-monospace, Menlo, monospace; background: var(--card); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--rule); }
.price-group { padding: 56px 0; border-top: 1px solid var(--ink); }
.price-group > header { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; align-items: end; }
.price-group > header p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .price-group > header { grid-template-columns: 1fr; } }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tier { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.tier.pick { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.tier .name { font-weight: 700; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.tier .name small { font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tier .amt { font-family: var(--serif); font-size: 3.2rem; line-height: 1; margin: 16px 0 4px; }
.tier .amt s { font-family: var(--sans); font-size: 1rem; color: var(--ink-3); margin-right: 8px; vertical-align: middle; }
.tier .amt small { font-family: var(--sans); font-size: .95rem; color: var(--ink-3); }
.tier .sub { font-size: .88rem; color: var(--ink-3); min-height: 1.4em; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.tier li { padding: 7px 0 7px 22px; border-top: 1px solid var(--rule); font-size: .94rem; position: relative; color: var(--ink-2); }
.tier li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 2px; background: var(--accent); }
.tier .btn { width: 100%; padding: .9rem 1rem; }
.tier .btn + .btn { margin-top: 8px; }
.quote-table { width: 100%; border-collapse: collapse; }
.quote-table td, .quote-table th { padding: 14px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.quote-table th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; border-bottom: 1px solid var(--ink); }
.quote-table td:last-child, .quote-table th:last-child { text-align: right; white-space: nowrap; font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq details { border-top: 1px solid var(--rule); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-family: var(--serif); font-size: 1.55rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--accent); font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-2); max-width: 70ch; }

/* ── Intake (start) ───────────────────────────────────────────────────── */
.intake { max-width: 860px; }
.intake fieldset { border: 0; border-top: 1px solid var(--ink); padding: 28px 0 8px; margin: 0 0 28px; min-width: 0; }
.intake legend { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); padding: 0; float: left; width: 100%; margin-bottom: 18px; }
.intake legend small { display: block; font-family: var(--sans); font-size: .9rem; color: var(--ink-3); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; clear: both; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 11px 16px; border: 1.5px solid var(--rule); border-radius: 999px; background: var(--card); font-weight: 500; transition: border-color .15s, background .15s, color .15s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; clear: both; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--rule); border-radius: 10px; padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.form-error { border: 1px solid #b42318; background: #fdecea; color: #7a1a12; padding: 12px 14px; border-radius: 10px; margin-top: 16px; }
.form-done { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 32px; }
.form-done h3 { margin-bottom: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* shared contact module on light background */
.cc-host { --cc-accent: var(--ink); --cc-accent-text: var(--paper); color: var(--ink); }

/* ── CTA band + footer ────────────────────────────────────────────────── */
.cta-band { background: var(--accent); color: #fff; }
.cta-band h2 { color: #fff; max-width: 14ch; }
.cta-band h2 em { color: #fff; }
.cta-band .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.cta-band .btn { border-color: #fff; color: #fff; }
.cta-band .btn-ink { background: #fff; color: var(--ink); }
.cta-band .btn-ink:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band p { color: #fff; max-width: 40ch; }

.footer { background: var(--night); color: #fff; padding: 72px 0 32px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h5 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; font-size: .95rem; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer .f-brand img { width: 64px; height: 64px; }
.footer .f-brand span { font-family: var(--serif); font-size: 1.8rem; }
.footer p { color: #fff; max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.18); margin-top: 48px; padding-top: 22px; font-size: .88rem; color: rgba(250,204,21,.85); }
.footer-bottom a { color: rgba(250,204,21,.85); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Reveal (progressive: content is visible without JS) ──────────────── */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ── Utilities ────────────────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.paper-2 { background: var(--paper-2); }
.list-rule { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.list-rule li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
@media (max-width: 560px) {
  .quote-table { font-size: .92rem; }
  .quote-table td, .quote-table th { padding: 12px 6px; }
  .quote-table td:last-child, .quote-table th:last-child { white-space: normal; }
  .quote-table td:first-child { width: 42%; }
}

/* ── Free site audit (scanner hand-off to Crucible Security) ──────────── */
.scan { background: var(--paper-2); border-top: 1px solid var(--ink); }
.scan-stats { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--rule); }
.scan-stats li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.scan-stats strong { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--accent); }
.scan-stats span { color: var(--ink-2); }
.scan-form { background: var(--card); border: 1px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 6px 6px 0 var(--ink); }
.scan-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.scan-row { display: flex; gap: 10px; }
.scan-row input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule); border-radius: 999px; padding: 12px 18px; }
.scan-row input:focus { outline: none; border-color: var(--accent); }
.scan-form .small { margin: 12px 0 0; color: var(--ink-3); }
.scan-checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scan-checks li { font-size: .82rem; font-weight: 500; padding: 6px 11px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink-2); }
.scan-legal { margin-top: 18px; font-size: .88rem; }
.scan-legal summary { font-weight: 600; color: var(--ink-2); }
.scan-legal p { margin: 8px 0 0; color: var(--ink-2); }
@media (max-width: 520px) { .scan-row { flex-direction: column; } .scan-row .btn { width: 100%; } }
