/* Kaizora Business Solutions website
   Layout concept: a rising line. Navy bands carry the big statements, a thin gold arc
   (taken from the K mark) climbs through the hero, and the content sits on a cool paper
   ground in steady, evenly spaced sections. */
:root {
  --navy: #0E2A55;
  --navy-deep: #081B3A;
  --navy-soft: #173A6E;
  --gold: #C99A45;
  --gold-text: #8A6424;
  --gold-pale: #F6EFE3;
  --paper: #F7F8FB;
  --white: #FFFFFF;
  --ink: #13213A;
  --muted: #4A5566;
  --muted-on-navy: #C5D3E3;
  --line: #DDE3EC;
  --line-navy: #2A4B7C;
  --ok: #1F7A4D;
  --err: #B3261E;

  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);

  --radius: 14px;
  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

.eyebrow { font-family: var(--font-body); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.on-navy .eyebrow { color: var(--gold); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.on-navy .lede { color: var(--muted-on-navy); }
.measure { max-width: 66ch; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-family: var(--font-body); font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #D8AB58; color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.on-navy .btn-ghost { color: var(--white); }
.on-navy .btn-ghost:hover { color: var(--white); background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-weight: 700; font-size: 0.975rem; color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: var(--paper); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 44px; color: var(--white); }
.nav .btn:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 16px var(--gutter-l); display: none; box-shadow: 0 12px 24px rgba(14,42,85,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 16px; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; border-radius: 10px; }
  .brand img { height: 38px; }
}

/* Sections */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 120px) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-arc path { fill: none; stroke: var(--gold); stroke-linecap: round; }
.hero-arc .arc-main { stroke-width: 3; opacity: .9; stroke-dasharray: 1600; stroke-dashoffset: 0; animation: draw 1.6s ease-out both; }
.hero-arc .arc-faint { stroke-width: 1.5; opacity: .25; }
@keyframes draw { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
.hero-card { background: var(--navy-soft); border: 1px solid var(--line-navy); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.hero-card h2 { font-size: var(--step-1); color: var(--white); }
.hero-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.hero-steps li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; }
.hero-steps .n { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.hero-steps b { display: block; color: var(--white); }
.hero-steps span { color: var(--muted-on-navy); font-size: .97rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0,1fr); } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { color: var(--white); max-width: 20ch; }

/* Proof ledger */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.ledger > div { padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.ledger > div + div { border-left: 1px solid var(--line); }
.ledger .fig { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.05; }
.ledger .was { font-size: var(--step--1); font-weight: 700; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.ledger p { color: var(--muted); font-size: .98rem; }
.note { font-size: var(--step--1); color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) { .ledger { grid-template-columns: repeat(2, minmax(0,1fr)); } .ledger > div:nth-child(3) { border-left: 0; } .ledger > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 460px) { .ledger { grid-template-columns: minmax(0,1fr); } .ledger > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.tile:hover { border-color: var(--gold); box-shadow: 0 10px 28px rgba(14,42,85,.08); transform: translateY(-2px); color: var(--ink); }
.tile .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-pale); display: grid; place-items: center; color: var(--gold-text); }
.tile .icon svg { width: 26px; height: 26px; }
.tile p { color: var(--muted); }
.tile .more { margin-top: auto; font-weight: 800; color: var(--navy); font-size: .97rem; }
@media (max-width: 760px) { .tiles { grid-template-columns: minmax(0,1fr); } }

/* Approach (Elevate Embed Endure) */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--gold); }
.trio > div { padding: 26px 26px 6px 0; display: flex; flex-direction: column; gap: 10px; }
.trio > div + div { padding-left: 26px; border-left: 1px solid var(--line-navy); }
.section-white .trio > div + div, .section .trio > div + div { border-left-color: var(--line); }
.section-navy .trio > div + div { border-left-color: var(--line-navy); }
.trio h3 { font-size: var(--step-2); }
.trio p { color: var(--muted); }
.section-navy .trio p { color: var(--muted-on-navy); }
@media (max-width: 760px) { .trio { grid-template-columns: minmax(0,1fr); } .trio > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .section-navy .trio > div + div { border-top-color: var(--line-navy); } }

/* Problem checklist */
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 28px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; color: var(--gold-text); margin-top: 3px; }
@media (max-width: 680px) { .checks { grid-template-columns: minmax(0,1fr); } }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sector { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.sector h3 { font-size: 1.125rem; }
.sector p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .sectors { grid-template-columns: minmax(0,1fr); } }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); }
.cta-band .wrap { padding-block: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--muted-on-navy); margin-top: 10px; max-width: 58ch; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: minmax(0,1fr); } }

/* Services page */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--white); border: 1px solid var(--line-navy); border-radius: 999px; padding: 8px 16px; }
.svc-nav a:hover { border-color: var(--gold); color: var(--white); }
.svc { scroll-margin-top: 96px; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 48px; }
.svc-grid h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); font-weight: 800; color: var(--gold-text); margin-bottom: 14px; }
.list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.list li { padding-left: 20px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--gold); }
.list li span { color: var(--muted); }
.offer { grid-column: 1 / -1; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; }
.offer .eyebrow { color: var(--gold); }
.offer h4 { color: var(--white); font-size: var(--step-2); }
.offer p { color: var(--muted-on-navy); grid-column: 1 / 2; max-width: 64ch; }
.offer .len { grid-column: 2; grid-row: 1 / span 3; background: var(--gold); color: var(--navy-deep); font-weight: 800; border-radius: 999px; padding: 8px 18px; white-space: nowrap; }
.offer-note { grid-column: 1 / -1; font-size: .95rem; color: var(--muted); background: var(--gold-pale); border-radius: 10px; padding: 14px 18px; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: minmax(0,1fr); } .offer { grid-template-columns: minmax(0,1fr); } .offer .len { grid-column: 1; grid-row: auto; justify-self: start; } }

/* Process steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { counter-increment: step; content: "Step " counter(step); font-weight: 800; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.steps li:first-child { border-top-color: var(--gold); }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0,1fr); } }

/* Engagement table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 800; color: var(--navy); }

/* Commitments */
.commit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.commit div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.commit svg { width: 22px; height: 22px; color: var(--ok); margin-top: 3px; }
@media (max-width: 680px) { .commit { grid-template-columns: minmax(0,1fr); } }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0,1fr); } }
.word { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.word .k { font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.word .parts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.word .parts div { border-top: 2px solid var(--gold); padding-top: 12px; }
.word .parts b { font-family: var(--font-display); color: var(--navy); font-size: 1.15rem; display: block; }
.word .parts span { color: var(--muted); font-size: .97rem; }
.why { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.why div { padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.why p { color: var(--muted); }
@media (max-width: 680px) { .why { grid-template-columns: minmax(0,1fr); } }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.person .role { font-size: var(--step--1); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.person h3 { font-size: var(--step-2); }
.person p { color: var(--muted); }
.person .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.person .tags span { font-size: .88rem; font-weight: 700; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 760px) { .team { grid-template-columns: minmax(0,1fr); } }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.results h3 { font-size: 1.1rem; color: var(--white); padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.results ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.results li { color: var(--muted-on-navy); }
.results li b { color: var(--white); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .results { grid-template-columns: minmax(0,1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0,1fr); } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid #C9D2DF; border-radius: 10px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; background: var(--white); }
.field .err { color: var(--err); font-size: .9rem; min-height: 0; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--err); }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { grid-column: 1 / -1; border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.form-status.ok { background: #E6F3EC; color: var(--ok); }
.form-status.info { background: var(--gold-pale); color: var(--gold-text); }
.hp { position: absolute; left: -5000px; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0,1fr); } }
.side { display: flex; flex-direction: column; gap: 18px; }
.side .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-line code { font-family: var(--font-body); font-weight: 800; color: var(--navy); font-size: 1.05rem; word-break: break-all; }
.copy-btn { font: inherit; font-size: .88rem; font-weight: 700; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.copy-btn:hover { border-color: var(--gold); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--muted-on-navy); }
.site-footer .wrap { padding-block: 56px 28px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer img { height: 44px; width: auto; }
.site-footer h3 { font-family: var(--font-body); color: var(--white); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--muted-on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .tag { color: var(--gold); font-weight: 800; letter-spacing: .14em; font-size: var(--step--1); text-transform: uppercase; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line-navy); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--step--1); }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0,1fr)); } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .site-footer .wrap { grid-template-columns: minmax(0,1fr); } }

/* Partner photos (initials until photos are added) */
.person-head { display: flex; align-items: center; gap: 16px; }
.avatar { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-note { margin-top: 20px; color: var(--muted); }

/* Google Form */
.gform { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gform-head { display: flex; flex-direction: column; gap: 10px; }
.gform-frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gform-frame iframe { display: block; width: 100%; height: 2350px; border: 0; }
@media (max-width: 600px) { .gform-frame iframe { height: 2800px; } }
.gform-pending { background: var(--gold-pale); border-radius: var(--radius); padding: 22px 24px; color: var(--ink); }
.gform .btn { align-self: flex-start; }

/* Long-form text (privacy policy) */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: var(--step-2); margin-top: 18px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose p, .prose li { color: var(--ink); }
.profile-link { margin-top: 6px; font-weight: 800; color: var(--navy); text-decoration: none; align-self: flex-start; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.profile-link:hover { color: var(--navy-soft); }
.why-line { margin: 4px 0 0; padding: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.55; color: var(--navy); }
.why-line::before { content: "\201C"; color: var(--gold); font-size: 2.2rem; line-height: 0; vertical-align: -0.45em; margin-right: 4px; }
.person .tags::before { content: "Areas of expertise"; flex-basis: 100%; font-size: var(--step--1); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.hero-line { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.35; color: var(--white); max-width: 34ch; text-wrap: balance; }
.ledger p { color: var(--ink); font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
/* Results grid: six boxes, three across, hairline dividers that work at every width */
.ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); overflow: hidden; }
.ledger > div { background: var(--white); }
.ledger > div + div, .ledger > div:nth-child(n) { border: 0; }
@media (max-width: 860px) { .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .ledger { grid-template-columns: minmax(0, 1fr); } }
.nav a { white-space: nowrap; }
.site-footer a, .site-footer li { overflow-wrap: anywhere; }
.page-hero h1 { max-width: none; font-size: clamp(2rem, 1rem + 3.2vw, 3.25rem); }
.section-head { max-width: none; }
/* Footer: link columns sized to their content with equal spacing between them */
@media (min-width: 1001px) {
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr) repeat(3, max-content); column-gap: clamp(40px, 5vw, 80px); }
}
/* Logos keep their proportions at every width */
.brand img, .site-footer img { width: auto; height: auto; max-width: 100%; object-fit: contain; }
.brand img { max-height: 46px; }
.site-footer img { max-height: 44px; }
@media (max-width: 1100px) { .brand img { max-height: 38px; } }
.site-footer img { align-self: flex-start; }
/* About: name card matches the height of the text beside it */
.split { align-items: stretch; }
.split .word { justify-content: center; }
@media (max-width: 860px) { .split { align-items: start; } }
/* Footer: logo and the three link columns spread with equal gaps */
@media (min-width: 1001px) {
  .site-footer .wrap { grid-template-columns: repeat(4, max-content); justify-content: space-between; column-gap: 40px; }
  .site-footer .legal { grid-column: 1 / -1; }
}

/* About: the company name as the page hero */
.name-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.name-hero .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 120px) clamp(56px, 8vw, 104px); display: flex; flex-direction: column; gap: 18px; }
.name-word { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: clamp(3.5rem, 2rem + 7vw, 7.5rem); line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.name-formula { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--gold); letter-spacing: 0.04em; }
.name-formula span { color: var(--white); }
.name-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 860px; margin-top: 18px; }
.name-parts > div { border-top: 2px solid var(--gold); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.name-parts h2 { color: var(--white); font-size: var(--step-2); }
.name-parts p { color: var(--muted-on-navy); font-size: var(--step-1); }
.name-line { margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: var(--step-3); line-height: 1.25; color: var(--white); max-width: 26ch; text-wrap: balance; }
@media (max-width: 600px) { .name-parts { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.who-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.who-text p { color: var(--ink); }
@media (max-width: 760px) { .who-text { grid-template-columns: minmax(0, 1fr); } }
.name-hero .hero-arc { preserveAspectRatio: none; }
@media (max-width: 760px) { .name-hero .hero-arc { opacity: .35; } }
/* Name hero, one step smaller */
.name-hero .wrap { padding-block: clamp(48px, 7vw, 88px) clamp(44px, 6vw, 80px); gap: 14px; }
.name-word { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem); }
.name-formula { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem); }
.name-parts { margin-top: 12px; gap: 28px; max-width: 760px; }
.name-parts h2 { font-size: var(--step-1); }
.name-parts p { font-size: var(--step-0); }
.name-line { margin-top: 14px; font-size: var(--step-2); max-width: 32ch; }
/* Five sector cards: three on the first row, two wider ones below */
.sectors-five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sectors-five .sector { grid-column: span 2; }
.sectors-five .sector:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) { .sectors-five { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sectors-five .sector, .sectors-five .sector:nth-child(n+4) { grid-column: span 1; } .sectors-five .sector:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sectors-five { grid-template-columns: minmax(0, 1fr); } }

/* Values: four columns, two on tablets, one on phones */
.trio.trio-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) and (min-width: 761px) {
  .trio.trio-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio.trio-four > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .trio.trio-four > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Keep the navy button text white on the Contact page */
.nav .btn[aria-current="page"] { color: var(--white); border-radius: 10px; }

/* Enquiry form: choices, consent and "Other" boxes */
.form fieldset.choices { border: 0; margin: 0; padding: 0; }
.form fieldset.choices legend { font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.form .choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 1rem; color: var(--ink); padding: 6px 0; cursor: pointer; }
.form .choice input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--navy); padding: 0; }
.form .other-input { margin-top: 8px; }
.form .field.invalid fieldset, .form fieldset.choices.invalid legend { color: var(--err); }
.form .consent .choice span { font-size: .95rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form legend .opt { font-weight: 500; color: var(--muted); }

/* Fixes (Nov 2026) */
/* Values block: stack to one column on phones (the 4-column rule above was overriding the phone rule) */
@media (max-width: 760px) {
  .trio.trio-four { grid-template-columns: minmax(0, 1fr); }
  .trio.trio-four > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
/* Hero eyebrow list: wrap between items, never leave a stray separator at a line start */
.eyebrow-list span { white-space: nowrap; }
/* Never let decorative hero curves widen the page */
html, body { overflow-x: clip; }
.hero-arc { max-width: 100%; }
/* Reserve room for each error message so the form never jumps when one appears or clears (prevents missed clicks) */
.field .err { display: block; min-height: 1.35em; line-height: 1.35; }
/* Side-by-side form fields share rows (label / box / message), so the boxes stay level
   even when one label or one error message wraps onto more lines than its partner */
@supports (grid-template-rows: subgrid) {
  .form > .field:not(.full) { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 6px; align-content: start; }
  .form > .field:not(.full) > label { align-self: end; }
  .form > .field:not(.full) > .other-input { grid-row: 3; }
}

/* Single-line text where it fits (wraps naturally on smaller screens) */
.name-line { max-width: none; }
.lede.lede-wide { max-width: none; }
.cta-band p { max-width: none; }
.name-parts { max-width: 900px; }
/* About page: keep the "Who we are" heading on one line on laptop and desktop screens */
#who-title { font-size: min(var(--step-3), 2.25rem); }
/* Leadership photos: larger on the About page cards */
.person .avatar { width: 110px; height: 110px; }
@media (max-width: 560px) { .person .avatar { width: 88px; height: 88px; } }

/* Single-line text where it fits (site-wide) */
.lede { max-width: none; }
.offer p { max-width: none; }
.commit { gap: 12px; }
.commit div { padding: 20px 16px; gap: 10px; }

/* LinkedIn links (footer and contact page) */
.li-link { display: inline-flex; align-items: center; gap: 8px; }
.li-link svg { width: 18px; height: 18px; flex: none; }
.li-link-dark svg rect { fill: #0A66C2; }
.li-link-dark svg path { stroke: #fff; }

/* Header "Book a discovery call" button: keep navy on hover */
.nav .btn-navy:hover { background: var(--navy-soft); color: var(--white); }

/* ===== Proposed update (Nov 2026) ===== */
/* Hero: longer headline */
.hero h1.hero-h1-long { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); max-width: 19ch; line-height: 1.12; }
.hero h1.hero-h1-long em { display: block; }
.hero-h1-long + .hero-line { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 600; max-width: 46ch; color: var(--muted-on-navy); }

/* Proof: metric cards with trajectory bars */
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.metric .m-label { font-weight: 800; color: var(--ink); }
.metric .fig { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem); line-height: 1.05; color: var(--navy); font-variant-numeric: tabular-nums; }
.metric .traj { align-self: flex-start; font-size: .86rem; font-weight: 800; color: var(--gold-text); background: var(--gold-pale); border-radius: 999px; padding: 4px 12px; font-variant-numeric: tabular-nums; }
.metric .traj i { font-style: normal; }
.metric .bar { position: relative; display: block; height: 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; margin-top: 4px; }
.metric .bar span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; }
.metric .bar .base { background: #C9D3E2; }
.metric .bar .gain { background: var(--gold); }
.metric .bar-down .gain { background: var(--navy); }
.metric .m-how { color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 4px; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .metrics { grid-template-columns: minmax(0, 1fr); } }

/* Home approach steps on navy */
.steps-navy li { border-top-color: var(--line-navy); }
.steps-navy li:first-child { border-top-color: var(--gold); }
.steps-navy li::before { color: var(--gold); }
.steps-navy h3 { color: var(--white); }
.steps-navy p { color: var(--muted-on-navy); }
.note-link a { font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--gold); }

/* Services: deliverables list */
.list.deliv li b { display: block; color: var(--navy); }
.list.deliv li span { display: block; }

/* Services: WBR scorecard mockup */
.wbr { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(14,42,85,.08); overflow: hidden; }
.wbr-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 22px 26px; background: var(--navy); }
.wbr-kicker { font-size: var(--step--1); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.wbr-top h3 { color: var(--white); font-size: var(--step-2); margin-top: 4px; }
.wbr-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.wbr-pill { font-size: .82rem; font-weight: 800; color: var(--white); border: 1px solid var(--line-navy); border-radius: 999px; padding: 5px 12px; }
.wbr-pill.wbr-sample { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.wbr-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.kpi { background: var(--white); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.kpi p { font-size: .9rem; font-weight: 800; color: var(--muted); }
.kpi b { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi-t { font-size: .82rem; font-weight: 700; color: var(--muted); }
.kpi-t.up { color: var(--ok); }
.kpi svg { width: 100%; height: 32px; margin-top: 6px; }
.kpi polyline { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wbr-actions { padding: 20px 26px 24px; }
.wbr-sub { font-size: var(--step--1); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.wbr-actions ul { list-style: none; display: flex; flex-direction: column; }
.wbr-actions li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.wbr-actions li em { font-style: normal; font-size: .88rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.rag { width: 12px; height: 12px; border-radius: 50%; }
.rag.g { background: var(--ok); } .rag.a { background: #D9A21B; } .rag.r { background: var(--err); }
@media (max-width: 860px) { .wbr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .wbr-actions li { grid-template-columns: 12px minmax(0, 1fr); } .wbr-actions li em { grid-column: 2; white-space: normal; } }

/* Services: engagement options */
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eng { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.eng-len { align-self: flex-start; font-size: .86rem; font-weight: 800; color: var(--navy-deep); background: var(--gold-pale); border-radius: 999px; padding: 4px 12px; }
.eng p { color: var(--muted); }
@media (max-width: 860px) { .engage { grid-template-columns: minmax(0, 1fr); } }

/* How we work: horizontal roadmap */
.roadmap { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; counter-reset: rm; }
.roadmap > li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.roadmap > li::before { counter-increment: rm; content: counter(rm); position: absolute; top: -18px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.roadmap > li:not(:last-child)::after { content: ""; position: absolute; top: 0; left: calc(22px + 36px); right: -16px; height: 2px; background: var(--gold); transform: translateY(-1px); }
.roadmap { margin-top: 18px; }
.rm-when { position: absolute; top: 12px; right: 16px; font-size: .8rem; font-weight: 800; color: var(--gold-text); background: var(--gold-pale); border-radius: 999px; padding: 3px 10px; }
.roadmap p { color: var(--muted); }
.roadmap ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.roadmap ul li { position: relative; padding-left: 22px; font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.45; }
.roadmap ul li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 3px; background: var(--gold-pale); border: 2px solid var(--gold); }
@media (max-width: 900px) { .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } .roadmap > li::after { display: none; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: minmax(0, 1fr); } }
.kpi polyline { vector-effect: non-scaling-stroke; }
.hero h1.hero-h1-long em { display: inline; }
.hero h1.hero-h1-long { max-width: 22ch; }
.sectors-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .sectors-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors-four { grid-template-columns: minmax(0, 1fr); } }
.hero h1.hero-h1-long { font-size: clamp(1.9rem, 1rem + 2.1vw, 2.7rem); max-width: none; }
.hero h1.hero-h1-long em { display: block; }
/* Why Kaizora strip */
.whyk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.whyk > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.whyk .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.whyk .icon svg { width: 24px; height: 24px; }
.whyk p { color: var(--muted); }
@media (max-width: 1000px) { .whyk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .whyk { grid-template-columns: minmax(0, 1fr); } }
.section-white .whyk > div { background: var(--paper); }
/* FAQ accordion */
.faq { display: flex; flex-direction: column; max-width: 900px; }
.faq-group { font-family: var(--font-body); font-size: var(--step--1); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 26px 0 6px; }
.faq-group:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--gold-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 40px 18px 0; }
/* Photos */
.hero-photo { background: linear-gradient(90deg, rgba(14,42,85,.97) 0%, rgba(14,42,85,.9) 48%, rgba(14,42,85,.72) 100%), url("../img/photos/hero-meeting.jpg") center / cover no-repeat, var(--navy); }
.page-hero-photo { background: linear-gradient(90deg, rgba(14,42,85,.97) 0%, rgba(14,42,85,.9) 55%, rgba(14,42,85,.78) 100%), url("../img/photos/approach-whiteboard.jpg") center / cover no-repeat, var(--navy); }
.tile-photo { padding-top: 0; overflow: hidden; }
.tile-img { width: calc(100% + 56px); max-width: none; margin: 0 -28px 4px; aspect-ratio: 16 / 9; object-fit: cover; }
.tile-photo .icon { margin-top: -38px; position: relative; z-index: 1; background: var(--white); box-shadow: 0 4px 14px rgba(14,42,85,.15); }
.sector-photo { padding-top: 0; overflow: hidden; }
.sector-photo img { width: calc(100% + 48px); max-width: none; margin: 0 -24px 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.who-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.who-grid .who-text { grid-template-columns: minmax(0, 1fr); }
.who-photo { margin: 0; }
.who-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .who-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-photo { background: linear-gradient(90deg, rgba(14,42,85,.9) 0%, rgba(14,42,85,.76) 42%, rgba(14,42,85,.4) 100%), url("../img/photos/hero-meeting.jpg") center / cover no-repeat, var(--navy); }
.hero-photo .hero-line { color: #E3EAF4; }
#team { scroll-margin-top: 104px; }
