/* Kingdom of Leads site. Layout: light pages on ground, one deep navy band per page, arches standing on a baseline. */
:root {
  --ground: #f8f9fc; --surface: #ffffff; --ink: #111a33; --muted: #5a6480; --line: #dde2ee;
  --royal: #1f3fbf; --royal-deep: #18329a; --on-royal: #ffffff; --marigold: #f2a20c; --on-marigold: #111a33;
  --durbar: #0f1a45; --on-durbar: #eef1f8; --on-durbar-muted: #b9c2e0; --durbar-line: #2a3670;
  --mist: #dfe6fb; --growth: #0f7a4d;
  --font-display: "Rozha One", "Playfair Display", Georgia, serif;
  --font-sans: "Hind", "Noto Sans Devanagari", system-ui, sans-serif;
  --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 48px; --space-xl: 96px;
  --radius-sm: 4px; --radius-md: 12px; --radius-arch: 999px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 28px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7.2vw, 76px); line-height: .98; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.06; }
h3 { font-size: 26px; line-height: 32px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; }
.band-deep :focus-visible { outline-color: var(--marigold); }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--space-sm); }
@media (min-width: 720px) { .wrap { padding-inline: var(--space-md); } }

.eyebrow { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--royal); margin-bottom: var(--space-sm); }
.lead { font-size: 20px; line-height: 31px; color: var(--muted); max-width: 58ch; }
.caption { font-size: 13px; line-height: 20px; color: var(--muted); }
.stack { display: grid; gap: var(--space-md); }
.stack-sm { display: grid; gap: var(--space-sm); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 26px; border-radius: var(--radius-md); border: 1px solid transparent; font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.btn-primary { background: var(--royal); color: var(--on-royal); }
.btn-primary:hover { background: var(--royal-deep); transform: translateY(-1px); }
.btn-gold { background: var(--marigold); color: var(--on-marigold); }
.btn-gold:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fcfbfe; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-md); min-height: 72px; }
/* The logo file has wide empty margins; the box crops to the artwork. */
.brand { display: block; flex-shrink: 0; width: 208px; height: 56px; overflow: hidden; }
.brand img { height: 93px; width: 233px; max-width: none; margin: -16px 0 0 -17px; }
.nav { display: none; gap: var(--space-md); margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--royal); }
.site-header .btn { margin-left: auto; }
@media (min-width: 760px) { .nav { display: flex; } .site-header .btn { margin-left: 0; } }

/* Sections */
section { padding-block: 72px; }
@media (min-width: 760px) { section { padding-block: var(--space-xl); } }
.section-head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-lg); max-width: 760px; }
.band-mist { background: var(--mist); }
.band-deep { background: var(--durbar); color: var(--on-durbar); }
.band-deep .eyebrow { color: var(--marigold); }
.band-deep .lead, .band-deep .caption { color: var(--on-durbar-muted); }
.band-deep a { color: var(--on-durbar); }

/* Hero */
.hero { padding-block: 56px 0; overflow: hidden; }
.hero .wrap { display: grid; gap: var(--space-lg); align-items: end; }
.hero-copy { display: grid; gap: var(--space-md); padding-bottom: 56px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; line-height: 24px; }
.hero-points li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.hero-points li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; background: var(--marigold); transform: rotate(45deg); }
@media (min-width: 760px) { .hero .wrap { grid-template-columns: 1.08fr .92fr; } .hero-copy { padding-bottom: var(--space-xl); } }

.hero-art { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: var(--space-sm); min-height: 420px; }
.arch { border-radius: var(--radius-arch) var(--radius-arch) 0 0; }
.arch-main { position: relative; background: var(--durbar); color: var(--on-durbar); width: min(100%, 400px); padding: 96px 24px 32px; display: grid; gap: 12px; }
.arch-side { width: 72px; height: 250px; background: var(--royal); flex-shrink: 0; display: none; }
.arch-side.gold { height: 150px; background: var(--marigold); }
@media (min-width: 560px) { .arch-side { display: block; } }
.arch-title { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--marigold); text-align: center; }
.lead-row { background: #18255c; border: 1px solid var(--durbar-line); border-radius: var(--radius-md); padding: 12px 14px; display: grid; gap: 4px; }
.lead-row .top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; font-weight: 600; }
.lead-row .meta { font-size: 13px; line-height: 18px; color: var(--on-durbar-muted); }
.pill { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-sm); white-space: nowrap; align-self: start; }
.pill-gold { background: var(--marigold); color: var(--on-marigold); }
.pill-line { border: 1px solid var(--durbar-line); color: var(--on-durbar-muted); }
.pill-green { background: #1f8f5f; color: #ffffff; }
.sample-note { font-size: 12px; line-height: 16px; color: var(--on-durbar-muted); text-align: center; }

/* Question strip */
.question { padding-block: 64px; }
.question p { font-family: var(--font-display); font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; max-width: 22ch; text-wrap: balance; }
.question p em { font-style: normal; color: var(--marigold); }

/* Cards */
.cards { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); min-width: 0; }
.card p { color: var(--muted); font-size: 16px; line-height: 25px; }
.card .more { margin-top: auto; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.card .more::after { content: " \2192"; }

.niche { padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
.niche:hover { transform: translateY(-3px); border-color: var(--royal); }
.niche-top { background: var(--mist); padding: var(--space-md) var(--space-md) 0; display: flex; justify-content: center; }
.niche-top span { display: flex; align-items: flex-end; justify-content: center; width: 150px; height: 120px; padding-bottom: 14px; background: var(--royal); color: var(--on-royal); border-radius: var(--radius-arch) var(--radius-arch) 0 0; font-family: var(--font-display); font-size: 22px; line-height: 24px; text-align: center; }
.niche:nth-child(2) .niche-top span { background: var(--durbar); }
.niche:nth-child(3) .niche-top span { background: var(--marigold); color: var(--on-marigold); }
.niche-body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: var(--space-xs); padding-top: var(--space-sm); border-top: 2px solid var(--royal); align-content: start; }
.steps li::before { content: "Step " counter(step); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--royal); }
.steps p { color: var(--muted); font-size: 16px; line-height: 25px; }
.steps .when { font-size: 13px; line-height: 20px; color: var(--ink); font-weight: 600; }

/* Proof */
.proof-grid { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.proof { margin: 0; display: grid; gap: var(--space-xs); }
.proof-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.proof-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.proof-frame.empty { border-style: dashed; border-color: #b4bedb; background: transparent; padding: var(--space-md); text-align: center; font-size: 14px; line-height: 22px; color: var(--muted); }

/* Plans */
.plans { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px var(--space-md) var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); min-width: 0; }
.plan.featured { border: 2px solid var(--royal); }
.plan.crown { background: var(--durbar); color: var(--on-durbar); border-color: var(--durbar); }
.plan .for { font-size: 15px; line-height: 22px; color: var(--muted); }
.plan.crown .for { color: var(--on-durbar-muted); }
.plan .badge { position: absolute; top: -13px; left: var(--space-md); background: var(--marigold); color: var(--on-marigold); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-sm); }
.price { font-family: var(--font-display); font-size: 48px; line-height: 52px; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-sans); font-size: 14px; opacity: .75; }
.plan ul { list-style: none; margin: 0; padding: var(--space-sm) 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 16px; line-height: 23px; }
.plan.crown ul { border-top-color: var(--durbar-line); }
.plan li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--royal); transform: rotate(45deg); }
.plan.crown li::before { background: var(--marigold); }
.plan li strong { font-weight: 600; }
.plan .btn { margin-top: auto; }
.plan-foot { margin-top: var(--space-md); display: grid; gap: 6px; }

/* Split feature */
.split { display: grid; gap: var(--space-lg); align-items: center; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 9px; height: 9px; margin-top: 9px; background: var(--marigold); transform: rotate(45deg); }

.board { background: #18255c; border: 1px solid var(--durbar-line); border-radius: var(--radius-md); padding: var(--space-sm); display: grid; gap: 12px; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-durbar-muted); }
.board-table { overflow-x: auto; }
.board table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; min-width: 420px; }
.board th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-durbar-muted); padding: 8px 10px; border-bottom: 1px solid var(--durbar-line); }
.board td { padding: 10px; border-bottom: 1px solid var(--durbar-line); font-variant-numeric: tabular-nums; }
.board tr:last-child td { border-bottom: 0; }

/* Stages */
.stages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: stage; }
.stages li { counter-increment: stage; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; font-weight: 600; font-size: 15px; line-height: 22px; display: flex; gap: 10px; align-items: center; }
.stages li::before { content: counter(stage); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--royal); color: var(--on-royal); font-size: 13px; }
.stages li:last-child { background: var(--marigold); border-color: var(--marigold); color: var(--on-marigold); }
.stages li:last-child::before { background: var(--durbar); color: var(--on-durbar); }

/* Calculator */
.calc { display: grid; gap: var(--space-md); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-md); }
@media (min-width: 760px) { .calc { grid-template-columns: 1fr 1fr; padding: var(--space-lg); gap: var(--space-lg); } }
.calc-out { background: var(--durbar); color: var(--on-durbar); border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); padding: 72px var(--space-md) var(--space-md); display: grid; gap: var(--space-sm); align-content: end; text-align: center; }
.calc-out .big { font-family: var(--font-display); font-size: clamp(44px, 7vw, 64px); line-height: 1; color: var(--marigold); font-variant-numeric: tabular-nums; }
.calc-out dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--durbar-line); }
.calc-out dt { font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-durbar-muted); }
.calc-out dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 26px; line-height: 30px; font-variant-numeric: tabular-nums; }

/* Forms */
.form { display: grid; gap: var(--space-sm); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #b4bedb; border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.field input:focus, .field select:focus { outline: 2px solid var(--royal); outline-offset: 1px; border-color: var(--royal); }
.field-row { display: grid; gap: var(--space-sm); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-md); padding: var(--space-md); display: grid; gap: var(--space-sm); }
@media (min-width: 760px) { .form-card { padding: 36px; } }
.form-card .caption { color: var(--muted); }
.form-note { font-size: 14px; line-height: 22px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--mist); color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 18px; line-height: 27px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 400; color: var(--royal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 68ch; }

/* Footer */
.site-footer { background: var(--durbar); color: var(--on-durbar-muted); padding-block: var(--space-lg); font-size: 15px; line-height: 24px; border-top: 1px solid var(--durbar-line); }
.site-footer .wrap { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer .name { font-family: var(--font-display); font-size: 28px; line-height: 32px; color: var(--on-durbar); }
.site-footer h4 { margin: 0 0 var(--space-xs); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-durbar); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--on-durbar-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-durbar); }
.site-footer a:focus-visible { outline-color: var(--marigold); }

/* Thank-you */
.thanks { min-height: 60vh; display: grid; align-items: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .niche { transition: none; } }

/* ---- Photo layout ---- */
.hero-art { min-height: 0; padding-inline: 0; }
.arch-photo { position: relative; width: min(100%, 430px); aspect-ratio: 4 / 5; border-radius: var(--radius-arch) var(--radius-arch) 0 0; overflow: hidden; background: var(--durbar); }
.arch-photo img, .photo img, .niche-photo img { width: 100%; height: 100%; object-fit: cover; }
.arch-side { height: 300px; }
.arch-side.gold { height: 180px; }
.float-card { position: absolute; width: min(300px, 82%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px; display: grid; gap: 4px; }
.float-card .float-label { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--royal); }
.float-card .top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; line-height: 20px; font-weight: 600; }
.float-card .meta { font-size: 13px; line-height: 18px; color: var(--muted); }
.float-card .pill-line { border-color: var(--line); color: var(--muted); }
.float-a { left: 0; top: 46%; }
.float-b { right: 0; bottom: 36px; }

.strip { background: var(--surface); border-block: 1px solid var(--line); padding-block: 22px; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--space-md); }
.strip-label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px var(--space-md); font-weight: 600; font-size: 16px; line-height: 24px; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip li::before { content: ""; width: 8px; height: 8px; background: var(--marigold); transform: rotate(45deg); }

.photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--durbar); }
.compare { display: grid; gap: var(--space-sm); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.compare-col { border: 1px solid var(--durbar-line); border-radius: var(--radius-md); padding: 20px; display: grid; gap: 12px; align-content: start; }
.compare-col h3 { font-size: 22px; line-height: 28px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; line-height: 24px; color: var(--on-durbar-muted); }
.compare-col li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.compare-col li::before { content: "\2013"; }
.compare-col.ours { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.compare-col.ours ul { color: var(--ink); }
.compare-col.ours li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--marigold); transform: rotate(45deg); }

.niche-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--durbar); }
.niche-photo img { object-position: center 25%; transition: transform .4s ease; }
.niche:hover .niche-photo img { transform: scale(1.04); }
.niche-photo span { position: absolute; left: var(--space-sm); bottom: var(--space-sm); background: var(--durbar); color: var(--on-durbar); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-sm); }

.board-stack { display: grid; gap: var(--space-sm); min-width: 0; }
@media (min-width: 760px) { .board-stack .board { margin: -72px var(--space-md) 0; position: relative; } }
@media (prefers-reduced-motion: reduce) { .niche-photo img { transition: none; } }
@media (min-width: 760px) {
  .hero-art { gap: 12px; }
  .arch-photo { flex: 0 0 auto; width: min(100% - 136px, 430px); }
  .arch-side { width: 56px; }
  .float-a { left: -8px; }
  .float-b { right: -8px; }
}

/* ---- Enquiry form: two steps with chip choices ---- */
.form-card { gap: var(--space-md); border-radius: 20px; }
.form-head { display: grid; gap: 6px; }
.form-step { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.progress { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.progress span { height: 4px; border-radius: 2px; background: var(--line); transition: background .2s ease; }
.progress span.on { background: var(--royal); }
.form-pane { display: grid; gap: var(--space-md); }
.chip-set { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.chip-set legend { padding: 0; margin-bottom: 10px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #b4bedb; border-radius: 22px; background: var(--surface); font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); transition: background .15s ease, border-color .15s ease, color .15s ease; }
.chip:hover span { border-color: var(--royal); }
.chip input:checked + span { background: var(--royal); border-color: var(--royal); color: var(--on-royal); }
.chip input:focus-visible + span { outline: 2px solid var(--royal); outline-offset: 2px; }
.field label { text-transform: none; letter-spacing: 0; font-size: 15px; line-height: 22px; }
.field input { min-height: 54px; border-radius: 10px; font-size: 17px; }
.phone { display: flex; align-items: stretch; border: 1px solid #b4bedb; border-radius: 10px; background: var(--surface); overflow: hidden; }
.phone:focus-within { outline: 2px solid var(--royal); outline-offset: 1px; border-color: var(--royal); }
.phone span { display: flex; align-items: center; padding: 0 14px; background: var(--mist); font-weight: 600; font-size: 17px; }
.phone input { border: 0; border-radius: 0; flex: 1; min-width: 0; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.phone input:focus { outline: none; }
.form-actions { display: flex; gap: var(--space-sm); }
.form-actions .btn-primary { flex: 1; }
.form-card .btn { min-height: 56px; }
.form-note { background: #fdeccb; }
@media (prefers-reduced-motion: reduce) { .chip span, .progress span { transition: none; } }

[hidden] { display: none !important; }

/* ---- Deep hero ---- */
.hero-deep { position: relative; background: var(--durbar); color: var(--on-durbar); padding-top: 72px; isolation: isolate; }
.hero-deep::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 700' fill='none' stroke='%232a3670' stroke-width='2'%3E%3Cpath d='M40 700V360a320 320 0 0 1 640 0V700'/%3E%3Cpath d='M120 700V360a240 240 0 0 1 480 0V700'/%3E%3Cpath d='M200 700V360a160 160 0 0 1 320 0V700'/%3E%3Cpath d='M620 700V470a130 130 0 0 1 260 0V700'/%3E%3C/svg%3E") right -80px bottom / auto 96% no-repeat; }
.hero-deep h1 { font-size: clamp(46px, 7.6vw, 92px); }
.hero-deep h1 em { font-style: normal; color: var(--marigold); }
.hero-deep .eyebrow { color: var(--marigold); }
.hero-deep .lead { color: var(--on-durbar-muted); }
.hero-deep .btn-primary { background: var(--marigold); color: var(--on-marigold); }
.hero-deep .btn-primary:hover { background: #ffb21f; }
.hero-deep .btn-ghost { color: var(--on-durbar); border-color: #46538f; }
.hero-deep .btn-ghost:hover { border-color: var(--marigold); color: var(--marigold); }
.hero-deep :focus-visible { outline-color: var(--marigold); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; line-height: 20px; color: var(--on-durbar-muted); }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); }

.arch-frame { position: relative; flex: 0 0 auto; width: min(100% - 28px, 430px); margin-top: 16px; }
.arch-frame::before { content: ""; position: absolute; inset: -14px -14px 0 -14px; border: 2px solid var(--marigold); border-bottom: 0; border-radius: var(--radius-arch) var(--radius-arch) 0 0; pointer-events: none; }
.arch-frame .arch-photo { width: 100%; }
.hero-deep .arch-side { background: var(--royal); }
.hero-deep .arch-side.gold { background: var(--marigold); }
.float-label { display: flex; align-items: center; gap: 8px; }
.float-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f8f5f; }
@media (min-width: 560px) { .arch-frame { width: min(100% - 190px, 430px); } }
@media (min-width: 760px) { .arch-frame { width: min(100% - 170px, 440px); } .hero-deep { padding-top: 88px; } }

/* ---- Motion ---- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes draw { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 143, 95, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(31, 143, 95, 0); } }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(1) { animation-delay: .05s; }
  .hero-copy > :nth-child(2) { animation-delay: .15s; }
  .hero-copy > :nth-child(3) { animation-delay: .28s; }
  .hero-copy > :nth-child(4) { animation-delay: .4s; }
  .hero-copy > :nth-child(5) { animation-delay: .52s; }
  .hero-copy > :nth-child(6) { animation-delay: .64s; }
  .arch-side { transform-origin: bottom; animation: grow .8s .35s cubic-bezier(.2, .7, .2, 1) both; }
  .arch-side.gold { animation-delay: .55s; }
  .arch-frame .arch-photo { animation: unveil 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
  .arch-frame .arch-photo img { animation: zoom 1.6s .2s cubic-bezier(.2, .7, .2, 1) both; }
  .arch-frame::before { transform-origin: bottom; animation: draw .9s .7s ease both; }
  .float-a { animation: pop .6s 1s both, bob 6s 1.7s ease-in-out infinite; }
  .float-b { animation: pop .6s 1.35s both, bob 7s 2.1s ease-in-out infinite; }
  .float-label::before { animation: pulse 2s 1.6s infinite; }

  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].in { opacity: 1; transform: none; }

  .plan { transition: transform .25s ease, border-color .25s ease; }
  .js .plan.in:hover { transform: translateY(-6px); }
  .card { transition: transform .25s ease, border-color .25s ease; }
  .btn-primary, .btn-gold { position: relative; overflow: hidden; }
  .form-pane { animation: rise .35s ease both; }
}

/* ---- Fixes after review ---- */
.float-card { color: var(--ink); }
.btn { white-space: nowrap; }
.band-mist.question p em { color: var(--royal); }
@media (max-width: 559px) {
  .float-a { top: auto; bottom: 116px; }
  .float-b { bottom: 12px; }
  .arch-photo img { object-position: center top; }
}
@media (max-width: 479px) {
  .site-header .wrap { gap: var(--space-sm); min-height: 64px; }
  .brand { width: 170px; height: 46px; }
  .brand img { height: 76px; width: 190px; margin: -13px 0 0 -14px; }
  .site-header .btn-small { padding: 0 12px; font-size: 12px; }
}

/* ---- Industry landing pages ---- */
.split-top { align-items: start; }
.familiar { padding-block: 64px; }
.quotes { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quote { margin: 0; position: relative; background: var(--surface); border-radius: 20px 20px 20px 4px; padding: 28px var(--space-md) var(--space-md); border: 1px solid var(--line); }
.quote::before { content: "\201C"; position: absolute; top: -6px; left: 18px; font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--marigold); }
.quote p { font-family: var(--font-display); font-size: 24px; line-height: 31px; padding-top: 18px; text-wrap: balance; }

.pain-photo { position: relative; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); overflow: hidden; aspect-ratio: 4 / 5; max-width: 480px; width: 100%; justify-self: center; background: #18255c; }
.pain-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.pain-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 26, 69, .85), rgba(15, 26, 69, 0) 55%); }
.pain-tag { position: absolute; left: var(--space-md); bottom: var(--space-md); z-index: 1; background: var(--marigold); color: var(--on-marigold); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-sm); }
.pain-list { display: grid; gap: 0; border-top: 1px solid var(--durbar-line); }
.pain-row { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-sm); padding-block: 22px; border-bottom: 1px solid var(--durbar-line); }
.pain-row h3 { font-size: 24px; line-height: 30px; margin-bottom: 6px; }
.pain-row p { color: var(--on-durbar-muted); font-size: 16px; line-height: 25px; }
.pain-row .pain-cost { color: var(--marigold); font-weight: 600; margin-top: 8px; }
.pain-x { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--marigold); margin-top: 2px; }
.pain-x::before, .pain-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--marigold); }
.pain-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.pain-x::after { transform: translate(-50%, -50%) rotate(-45deg); }

.leak { display: grid; gap: var(--space-md); min-width: 0; }
.leak-chart { display: grid; gap: 18px; }
.leak-label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); font-weight: 600; font-size: 16px; line-height: 24px; margin-bottom: 8px; }
.leak-label strong { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 30px; font-variant-numeric: tabular-nums; }
.leak-track { height: 18px; background: var(--mist); border-radius: 9px; overflow: hidden; }
.leak-track span { display: block; height: 100%; background: var(--royal); border-radius: 9px; transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.leak-row:last-child .leak-track span { background: var(--marigold); min-width: 14px; }
.leak-row:last-child .leak-label strong { color: var(--royal); }
.fix-card { background: var(--durbar); color: var(--on-durbar); border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); padding: 88px 32px 32px; display: grid; gap: var(--space-md); align-content: start; }
.fix-card .eyebrow { color: var(--marigold); margin: 0; text-align: center; }
.fix-card h3 { text-align: center; font-size: 30px; line-height: 36px; }
.fix-card .btn-primary { background: var(--marigold); color: var(--on-marigold); }

.feature-head { display: grid; gap: var(--space-lg); align-items: end; margin-bottom: var(--space-lg); }
@media (min-width: 760px) { .feature-head { grid-template-columns: 1.1fr .9fr; } }
.features { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-md); display: grid; gap: 10px; align-content: start; transition: transform .25s ease, border-color .25s ease; }
.feature:hover { border-color: var(--royal); transform: translateY(-4px); }
.feature p { color: var(--muted); font-size: 16px; line-height: 25px; }
.feature h3 { font-size: 23px; line-height: 29px; }
.ico { width: 52px; height: 52px; padding: 12px; border-radius: var(--radius-md); background: var(--mist); color: var(--royal); }
.feature:hover .ico { background: var(--royal); color: var(--on-royal); }

.phone-wrap { display: flex; justify-content: center; }
.phone-mock { width: min(100%, 340px); background: var(--surface); color: var(--ink); border-radius: 36px; border: 8px solid #2a3670; padding: 28px 18px 20px; display: grid; gap: 16px; }
.phone-title { font-family: var(--font-display); font-size: 24px; line-height: 28px; text-align: center; }
.demo-q { display: grid; gap: 8px; }
.demo-q p { font-size: 14px; line-height: 20px; font-weight: 600; }
.demo-q div { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-q span { font-size: 13px; line-height: 18px; font-weight: 600; padding: 7px 12px; border-radius: 18px; border: 1px solid #b4bedb; }
.demo-q span.on { background: var(--royal); border-color: var(--royal); color: var(--on-royal); }
.wa { background: #e3f6ea; border-radius: 4px 16px 16px 16px; padding: 12px 14px; font-size: 14px; line-height: 21px; margin-top: 4px; }
.wa-name { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0f7a4d; margin-bottom: 4px; }

.journey { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding: 0 0 26px 60px; }
.journey li::before { content: counter(j); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--marigold); color: var(--on-marigold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; }
.journey li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--durbar-line); }
.journey li:last-child { padding-bottom: 0; }
.journey li:last-child::after { display: none; }
.journey h3 { font-size: 23px; line-height: 29px; margin-bottom: 4px; padding-top: 5px; }
.journey p { color: var(--on-durbar-muted); font-size: 16px; line-height: 25px; }

.arch-result { border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); overflow: hidden; aspect-ratio: 4 / 5; max-width: 460px; width: 100%; justify-self: center; background: var(--mist); }
.arch-result img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .feature, .leak-track span { transition: none; } }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.quote p { padding-top: 26px; }

/* ================= Premium layer ================= */
:root {
  --shadow-sm: 0 1px 2px rgba(15, 26, 69, .05), 0 10px 28px rgba(15, 26, 69, .08);
  --shadow-lg: 0 2px 4px rgba(15, 26, 69, .06), 0 28px 64px rgba(15, 26, 69, .2);
  --gold-sheen: linear-gradient(180deg, #ffc247 0%, #f2a20c 55%, #e09400 100%);
  --jali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none' stroke='%233a4a94' stroke-width='1'%3E%3Ccircle cx='28' cy='28' r='28'/%3E%3Ccircle cx='0' cy='0' r='28'/%3E%3Ccircle cx='56' cy='0' r='28'/%3E%3Ccircle cx='0' cy='56' r='28'/%3E%3Ccircle cx='56' cy='56' r='28'/%3E%3C/svg%3E");
}

/* Depth */
.card, .feature, .quote, .plan, .calc, .stages li { box-shadow: var(--shadow-sm); }
.plan.featured, .plan.crown, .form-card, .float-card, .fix-card, .phone-mock { box-shadow: var(--shadow-lg); }
.btn-gold, .hero-deep .btn-primary, .fix-card .btn-primary { background: var(--gold-sheen); box-shadow: 0 8px 22px rgba(242, 162, 12, .32); }
.hero-deep .btn-primary:hover, .btn-gold:hover { background: var(--gold-sheen); filter: brightness(1.06); }
.btn-primary { box-shadow: 0 8px 22px rgba(31, 63, 191, .25); }

/* Gold eyebrow ornament */
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--marigold); transform: rotate(45deg); }
.eyebrow::after { content: ""; flex: none; width: 36px; height: 1px; background: var(--marigold); }
.fix-card .eyebrow { justify-content: center; }
.fix-card .eyebrow::after { display: none; }

/* Gold underline on one phrase per heading */
h2 em { font-style: normal; background: linear-gradient(var(--marigold), var(--marigold)) 0 92% / 100% 7px no-repeat; padding-bottom: 2px; }

/* Arch-edged breaks and jali texture on navy bands */
.band-deep:not(.hero) { position: relative; }
.band-deep:not(.hero)::before { content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; background: radial-gradient(circle at 50% 100%, var(--durbar) 27px, transparent 28px) center bottom / 56px 28px repeat-x; pointer-events: none; }
.band-deep:not(.hero)::after { content: ""; position: absolute; inset: 0; background: var(--jali); opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(to left, #000, transparent 62%); mask-image: linear-gradient(to left, #000, transparent 62%); }
.band-deep:not(.hero) > .wrap { position: relative; z-index: 1; }
.band-deep.pain::after, .band-deep#enquire::after { -webkit-mask-image: linear-gradient(to right, #000, transparent 55%); mask-image: linear-gradient(to right, #000, transparent 55%); }

/* Gold arch frames on photos */
.pain-photo, .arch-result { outline: 2px solid var(--marigold); outline-offset: 12px; margin: 14px; width: calc(100% - 28px); }
.photo { box-shadow: var(--shadow-lg); }
.arch-result { box-shadow: var(--shadow-lg); }

/* Features: two lead cards, four supporting, numbered */
.features { counter-reset: feat; }
.feature { position: relative; counter-increment: feat; overflow: hidden; }
.feature::after { content: "0" counter(feat); position: absolute; right: 14px; top: 2px; font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--mist); pointer-events: none; }
.feature > * { position: relative; z-index: 1; }
.feature:nth-child(-n+2) { background: var(--durbar); border-color: var(--durbar); color: var(--on-durbar); padding: 32px; }
.feature:nth-child(-n+2)::after { color: #1c2b68; font-size: 96px; }
.feature:nth-child(-n+2) p { color: var(--on-durbar-muted); font-size: 17px; line-height: 27px; }
.feature:nth-child(-n+2) h3 { font-size: 28px; line-height: 34px; }
.feature:nth-child(-n+2) .ico { background: var(--marigold); color: var(--on-marigold); width: 60px; height: 60px; }
.feature:nth-child(-n+2):hover { border-color: var(--marigold); }
@media (min-width: 760px) {
  .features { grid-template-columns: repeat(12, 1fr); }
  .feature { grid-column: span 3; }
  .feature:nth-child(-n+2) { grid-column: span 6; }
}

/* Proof in browser frames */
.browser { border-radius: var(--radius-md); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--durbar); color: var(--on-durbar-muted); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #46538f; }
.browser-bar i:first-child { background: var(--marigold); }
.browser-bar span { margin-left: 8px; }
.browser .proof-frame { border: 0; border-radius: 0; }
.browser .proof-frame.empty { border: 0; background: repeating-linear-gradient(135deg, #f1f4fb 0 14px, #f8f9fc 14px 28px); }

/* Calculator sliders */
.slider { width: 100%; margin: 6px 0 0; accent-color: var(--royal); height: 22px; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.calc { box-shadow: var(--shadow-lg); border: 0; }

/* Questions with side card */
.faq-layout { display: grid; gap: var(--space-lg); align-items: start; }
@media (min-width: 760px) { .faq-layout { grid-template-columns: 1.5fr 1fr; } }
.faq-aside { background: var(--durbar); color: var(--on-durbar); border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); padding: 20px 20px 32px; display: grid; gap: var(--space-sm); text-align: center; justify-items: center; box-shadow: var(--shadow-lg); max-width: 420px; width: 100%; justify-self: center; }
.faq-aside-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); overflow: hidden; }
.faq-aside-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-aside p { color: var(--on-durbar-muted); font-size: 16px; line-height: 25px; max-width: 30ch; }
.faq summary { transition: color .15s ease; }
.faq summary:hover { color: var(--royal); }

/* Footer */
.site-footer { padding-block: 0; position: relative; }
.site-footer::after { content: ""; position: absolute; inset: 0; background: var(--jali); opacity: .4; pointer-events: none; -webkit-mask-image: linear-gradient(to top, #000, transparent 80%); mask-image: linear-gradient(to top, #000, transparent 80%); }
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer .footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: 56px; border-bottom: 1px solid var(--durbar-line); }
.footer-cta h2 { color: var(--on-durbar); max-width: 16ch; }
.footer-cta h2 em { background: none; color: var(--marigold); }
.site-footer .footer-grid { padding-block: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand { display: grid; gap: var(--space-sm); align-content: start; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo span { width: 52px; height: 52px; border-radius: var(--radius-md); background: #fcfbfe; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; }
.footer-logo img { width: 64px; height: 64px; max-width: none; }
.site-footer .footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px var(--space-md); padding-block: 20px; border-top: 1px solid var(--durbar-line); font-size: 13px; line-height: 20px; }

/* Sticky call to action */
.sticky-cta { position: fixed; z-index: 30; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 27px; background: var(--gold-sheen); color: var(--on-marigold); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 719px) { .sticky-cta { left: 16px; right: 16px; border-radius: var(--radius-md); } }

/* Phone hero: one lead card, clear of the faces */
@media (max-width: 559px) { .float-a { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: var(--on-marigold); }
.pain-photo img { object-position: var(--focus, center); }

/* Navy bands: clean straight edges and a soft light instead of the lattice and scallops */
.band-deep:not(.hero)::before { display: none; }
.band-deep:not(.hero)::after,
.band-deep.pain::after,
.band-deep#enquire::after { background: radial-gradient(60% 80% at 85% 0%, rgba(31, 63, 191, .38), rgba(31, 63, 191, 0) 70%); opacity: 1; -webkit-mask-image: none; mask-image: none; }
.band-deep.pain::after { background: radial-gradient(60% 80% at 10% 100%, rgba(31, 63, 191, .34), rgba(31, 63, 191, 0) 70%); }
.site-footer::after { display: none; }

/* Footer logo: white version, cropped to the artwork */
.footer-logo { display: block; width: 242px; height: 50px; overflow: hidden; }
.footer-logo img { width: 259px; height: 103px; max-width: none; margin: -24px 0 0 -11px; }

/* ---- Compact calculator ---- */
.calc-section { padding-block: 64px; }
.calc-section .section-head { margin-bottom: var(--space-md); }
.calc2 { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; display: grid; }
.calc2-inputs { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding: var(--space-md); }
@media (min-width: 760px) { .calc2-inputs { padding: 28px 32px; gap: 28px; } }
.calc2-field { display: grid; gap: 8px; min-width: 0; }
.calc2-field label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.calc2-box { display: flex; align-items: center; gap: 6px; border: 1px solid #b4bedb; border-radius: 10px; padding: 0 12px; background: var(--surface); }
.calc2-box:focus-within { outline: 2px solid var(--royal); outline-offset: 1px; border-color: var(--royal); }
.calc2-box span { font-weight: 600; color: var(--muted); font-size: 18px; }
.calc2-box input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 20px; font-weight: 600; min-height: 46px; padding: 0; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.calc2-box input:focus { outline: none; }
.calc2-box input::-webkit-outer-spin-button, .calc2-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc2 .slider { margin: 0; }
.calc2-out { margin: 0; background: var(--durbar); color: var(--on-durbar); display: grid; grid-template-columns: repeat(2, 1fr); }
.calc2-out > div { padding: 18px var(--space-md); border-top: 1px solid var(--durbar-line); border-left: 1px solid var(--durbar-line); min-width: 0; }
.calc2-out .main { grid-column: 1 / -1; border-top: 0; }
.calc2-out dt { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-durbar-muted); }
.calc2-out dd { margin: 6px 0 0; font-family: var(--font-display); font-size: 28px; line-height: 32px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc2-out .main dd { font-size: 44px; line-height: 46px; color: var(--marigold); }
@media (min-width: 760px) {
  .calc2-out { grid-template-columns: 1.3fr repeat(4, 1fr); }
  .calc2-out > div { border-top: 0; padding: 22px 24px; }
  .calc2-out > div:first-child { border-left: 0; }
  .calc2-out .main { grid-column: auto; }
  .calc2-out .main dd { font-size: 40px; line-height: 40px; }
}
.calc2-note { padding: 12px var(--space-md); background: var(--surface); }
@media (min-width: 760px) { .calc2-note { padding: 12px 32px; } }
@media (max-width: 759px) {
  .calc2-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; padding: 18px; }
  .calc2-field label { font-size: 13px; line-height: 18px; min-height: 36px; display: flex; align-items: flex-end; }
  .calc2-box { padding: 0 10px; }
  .calc2-box input { font-size: 17px; min-height: 42px; }
}

/* ---- Tablet widths (760 to 999px): two columns, but roomier grids ---- */
@media (min-width: 760px) and (max-width: 999px) {
  .wrap.split, .hero .wrap { gap: 32px; }
  .feature { grid-column: span 6; }
  .calc2-out { grid-template-columns: repeat(4, 1fr); }
  .calc2-out .main { grid-column: 1 / -1; border-bottom: 1px solid var(--durbar-line); }
  .calc2-out > div:nth-child(2) { border-left: 0; }
  .calc2-out dd { font-size: 24px; line-height: 28px; }
  .hero-deep h1 { font-size: 52px; }
  .arch-side { display: none; }
  .arch-frame { width: min(100% - 28px, 400px); }
  .nav { gap: var(--space-sm); }
  .nav a { font-size: 14px; }
}
/* Single-column widths: keep photos from filling the whole screen */
@media (max-width: 759px) {
  .feature-head .photo, .photo { max-height: 380px; }
  .pain-photo, .arch-result { max-width: 380px; }
}
.arch-result img { object-position: var(--focus, center); }
@media (min-width: 1000px) { .calc2-inputs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 760px) and (max-width: 999px) {
  .calc2-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float-a { display: none; }
  .float-b { right: 0; left: 0; margin-inline: auto; bottom: 20px; width: min(300px, 92%); }
}

/* ---- Larger hero photo on desktop ---- */
@media (min-width: 1000px) {
  .hero .wrap { max-width: 1280px; grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-art { gap: 14px; }
  .arch-side { width: 44px; height: 380px; }
  .arch-side.gold { height: 230px; }
  .arch-frame { width: min(100% - 132px, 560px); }
  .float-card { width: min(320px, 70%); padding: 14px 16px; }
  .float-a { left: -4px; top: 50%; }
  .float-b { right: -4px; bottom: 44px; }
  .hero-deep h1 { font-size: clamp(52px, 5.6vw, 84px); }
}

/* ================= Site navigation ================= */
.nav { display: none; }
.nav a[aria-current="page"] { color: var(--royal); box-shadow: 0 2px 0 var(--marigold); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); cursor: pointer; flex: none; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header .wrap { position: relative; }
.nav-open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--space-sm) var(--space-sm); background: #fcfbfe; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); gap: 0; }
.nav-open .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
.nav-open .nav a:last-child { border-bottom: 0; }
@media (min-width: 1060px) {
  .nav { display: flex; gap: 22px; margin-left: auto; }
  .nav-toggle { display: none; }
  .site-header .btn { margin-left: 0; }
}
@media (max-width: 1059px) { .site-header .btn { margin-left: auto; } }
@media (min-width: 760px) and (max-width: 1059px) { .nav { display: none; } .nav-open .nav { display: grid; } }

/* ================= Inner pages ================= */
.page-hero { padding-top: 56px; }
.page-hero .hero-copy { padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); }
.page-hero-plain { padding-bottom: 0; }
.page-hero-plain .wrap { grid-template-columns: 1fr; }
.page-hero-plain .hero-copy { max-width: 860px; padding-bottom: 72px; }
@media (min-width: 1000px) {
  .page-hero .arch-frame { width: min(100% - 132px, 420px); }
  .page-hero .arch-side { height: 280px; }
  .page-hero .arch-side.gold { height: 170px; }
  .page-hero h1 { font-size: clamp(44px, 4.6vw, 68px); }
}
.strip a { color: var(--ink); text-decoration: none; }
.strip a:hover { color: var(--royal); }

.services { display: grid; gap: 0; }
.service { display: grid; gap: var(--space-md); padding-block: var(--space-lg); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service-head { display: grid; gap: var(--space-sm); align-content: start; }
.service-head .lead { font-size: 19px; line-height: 29px; }
.service-body { display: grid; gap: var(--space-md); align-content: start; }
.service-body > p { max-width: 62ch; }
.service-plans { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; }
.service-plans span { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.service-plans b { font-weight: 600; padding: 5px 12px; border-radius: 16px; background: var(--mist); color: var(--royal-deep); }
@media (min-width: 760px) { .service { grid-template-columns: 1fr 1.2fr; gap: var(--space-lg); } }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); background: var(--surface); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.band-mist .cta-band { background: var(--surface); }
.cta-band .lead { max-width: 52ch; }
@media (min-width: 760px) { .cta-band { padding: 44px 48px; } }

.table-wrap { overflow-x: auto; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 30px; border-bottom: 2px solid var(--ink); }
.compare-table tbody th { font-weight: 600; color: var(--muted); font-size: 14px; line-height: 22px; width: 22%; }
.compare-table .hl { background: var(--mist); }
.compare-table thead .hl { color: var(--royal-deep); }
.compare-table tbody tr:first-child td { font-family: var(--font-display); font-size: 24px; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }

.principles .feature:nth-child(-n+2) { grid-column: span 3; background: var(--surface); color: var(--ink); border-color: var(--line); padding: var(--space-md); }
.principles .feature:nth-child(-n+2) p { color: var(--muted); font-size: 16px; line-height: 25px; }
.principles .feature:nth-child(-n+2) h3 { font-size: 23px; line-height: 29px; }
.principles .feature:nth-child(-n+2) .ico { background: var(--mist); color: var(--royal); width: 52px; height: 52px; }
.principles .feature:nth-child(-n+2)::after { color: var(--mist); font-size: 64px; }
@media (min-width: 760px) and (max-width: 999px) { .principles .feature:nth-child(n) { grid-column: span 6; } }

.industries { display: grid; gap: var(--space-xl); }
.industry { display: grid; gap: var(--space-lg); align-items: center; }
.industry-photo { display: block; border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md); overflow: hidden; aspect-ratio: 4 / 5; max-width: 440px; width: calc(100% - 28px); margin: 14px; justify-self: center; outline: 2px solid var(--marigold); outline-offset: 12px; box-shadow: var(--shadow-lg); }
.industry-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.industry-photo:hover img { transform: scale(1.04); }
.industry-label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.industry .checks li::before { background: var(--royal); }
@media (min-width: 760px) {
  .industry { grid-template-columns: .85fr 1.15fr; }
  .industry:nth-child(even) .industry-photo { order: 2; }
}

.board-light { box-shadow: var(--shadow-lg); color: var(--on-durbar); }
.contact-details { margin: var(--space-lg) 0 0; display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.contact-details dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-details dd { margin: 4px 0 0; font-size: 19px; font-weight: 600; }

.legal { padding-block: 72px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin-bottom: var(--space-sm); }
.legal-body { margin-top: var(--space-lg); display: grid; gap: 14px; }
.legal-body h2 { font-size: 28px; line-height: 34px; margin-top: var(--space-md); }
.legal-body p { color: var(--ink); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .nav-toggle span, .industry-photo img { transition: none; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
