@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #1a2535;
  --ink-mid: #374e63;
  --muted: #6b7c8d;
  --line: #ddd4c6;
  --paper: #faf8f5;
  --soft: #f0ece4;
  --white: #ffffff;
  --navy: #0c1a28;
  --navy-mid: #162232;
  --gold: #b07d2e;
  --gold-light: #d4a44a;
  --gold-pale: #f5ead8;
  --max: 1200px;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --r: 8px;
  --rl: 14px;
  --shadow: 0 2px 16px rgba(15,30,50,.07);
  --shadow-lg: 0 16px 56px rgba(12,26,40,.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.25; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,245,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav {
  min-height: 76px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.2rem; color: var(--navy);
  display: flex; flex-direction: column; line-height: 1.15;
}
.brand span {
  font-family: var(--sans);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px;
}
.nav nav {
  display: flex; align-items: center;
  gap: 28px; font-size: .875rem;
  font-weight: 500; color: var(--ink-mid);
}
.nav nav a { transition: color .18s; }
.nav nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1.5px solid var(--navy);
  padding: 9px 20px; border-radius: var(--r);
  color: var(--navy) !important; font-weight: 600 !important;
  transition: background .18s, color .18s;
}
.nav-cta:hover { background: var(--navy) !important; color: #fff !important; }
.menu {
  display: none; border: 0; background: none;
  font-size: 1.5rem; cursor: pointer; color: var(--ink); padding: 4px;
}

/* ── HERO ── */
.hero {
  padding: 72px 0 64px;
  background: var(--paper);
  position: relative; overflow: hidden;
}
.hero-navy {
  background: var(--navy);
  color: #fff;
  padding: 88px 0 72px;
}
.hero-navy h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.hero-navy .lead { color: rgba(255,255,255,.78); }
.hero-navy .hero-body { color: rgba(255,255,255,.58); }
.hero-navy .eyebrow { color: var(--gold-light); }
.role-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.role-pills span {
  border: 1px solid rgba(212,164,74,.45);
  color: var(--gold-pale);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 12px; border-radius: 99px;
}
.button.secondary.light {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.35);
}
.button.secondary.light:hover { background: rgba(255,255,255,.08); }

.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats-grid strong {
  display: block; font-family: var(--serif);
  font-size: 1.15rem; color: var(--gold-light);
  margin-bottom: 6px; font-weight: 400;
}
.stats-grid span {
  font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.45;
}
.hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse at 75% 45%, rgba(176,125,46,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 80px; align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: .7rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--ink-mid); line-height: 1.42;
  margin-bottom: 20px; max-width: 700px;
}
.hero-body {
  font-size: 1.03rem; color: var(--ink-mid);
  max-width: 660px; line-height: 1.78;
  margin-bottom: 0;
}
.actions {
  display: flex; gap: 14px;
  flex-wrap: wrap; margin-top: 40px;
}

/* ── BUTTONS ── */
.button {
  display: inline-block;
  background: var(--navy); color: #fff;
  padding: 14px 24px; border-radius: var(--r);
  font-weight: 600; font-size: .9rem;
  border: 1.5px solid var(--navy);
  cursor: pointer; transition: all .2s;
  letter-spacing: .01em;
}
.button:hover {
  background: #162d44; border-color: #162d44;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(12,26,40,.22);
}
.button.secondary {
  background: transparent; color: var(--navy);
}
.button.secondary:hover { background: var(--soft); }
.button.gold {
  background: var(--gold); border-color: var(--gold); color: #fff;
}
.button.gold:hover { background: #9a6d25; border-color: #9a6d25; }

/* ── HERO CARD ── */
.hero-card {
  background: var(--navy); color: #fff;
  padding: 36px 32px; border-radius: var(--rl);
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: var(--rl) var(--rl) 0 0;
}
.hero-card div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-card div:first-child { padding-top: 6px; }
.hero-card div:last-child { border-bottom: 0; padding-bottom: 6px; }
.hero-card strong {
  display: block; font-family: var(--serif);
  font-size: 2.8rem; font-weight: 400;
  color: var(--gold-light); line-height: 1; margin-bottom: 5px;
}
.hero-card span { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.45; }
.hero-navy .hero-card {
  background: var(--navy-mid);
  border: 1px solid rgba(212,164,74,.28);
  box-shadow: none;
}

/* ── CORE DOMAINS ── */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.domain-grid.two { grid-template-columns: 1fr 1fr; }
.domain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rl);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.domain-card > span {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.domain-card h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}
.domain-card > p {
  color: var(--ink-mid);
  font-size: .95rem;
  margin-bottom: 22px;
}
.domain-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.domain-list li {
  padding: 12px 14px 12px 16px;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .92rem;
  color: var(--ink-mid);
  line-height: 1.5;
}
.domain-list strong {
  display: block;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

/* ── SECTIONS ── */
.section { padding: 56px 0; }
.section.alt { background: var(--soft); padding: 40px 0 32px; }
.section.dark { background: var(--navy); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--gold); }
.section h2 { max-width: 900px; }
.section-intro { max-width: 680px; margin-bottom: 28px; }
.section-intro p,
p.section-intro { font-size: 1.03rem; color: var(--ink-mid); }

/* ── PROBLEM GRID ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px; margin: 40px 0 32px;
}
.problem-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 22px 20px; border-radius: var(--r);
  font-size: .96rem; color: var(--ink-mid); line-height: 1.62;
}

.callout {
  font-family: var(--serif);
  font-size: 1.45rem; color: var(--ink);
  margin-top: 36px; padding-left: 22px;
  border-left: 3px solid var(--gold);
}

/* ── 6-STEP GRID ── */
.six-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-top: 40px;
}
.six-grid article {
  background: #fff; padding: 28px 24px;
  border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.six-grid span {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .18em; color: var(--gold);
  text-transform: uppercase; display: block; margin-bottom: 12px;
}
.six-grid h3 { font-size: 1.1rem; margin-bottom: 8px; }
.six-grid p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 14px; margin: 40px 0;
}
.cards article {
  background: #fff; padding: 26px 22px;
  border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  min-width: 0;
  overflow: hidden;
}
.cards article:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(15,30,50,.12);
}
.cards article h2 {
  font-size: 1.28rem;
  line-height: 1.22;
  margin-bottom: 10px;
  color: var(--navy);
  overflow-wrap: break-word;
}
.cards article h3 {
  font-family: var(--sans); font-size: .97rem;
  font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.cards article p { font-size: .86rem; color: var(--muted); line-height: 1.6; margin: 0; }

.text-link {
  display: inline-block; margin-top: 16px;
  font-weight: 700; font-size: .88rem; color: var(--gold);
  transition: color .18s;
}
.text-link:hover { color: var(--navy); }

/* ── DARK SECTION ── */
.large {
  font-size: 1.28rem; color: var(--ink-mid);
  max-width: 840px; line-height: 1.72;
}
.section.dark .large { color: rgba(255,255,255,.78); }
.flow {
  margin-top: 36px; font-family: var(--serif);
  font-size: 1.12rem; color: var(--ink);
  line-height: 2.5;
}
.flow span { color: var(--gold); padding: 0 10px; }
.section.dark .flow { color: rgba(255,255,255,.68); }

/* ── FEATURE LIST ── */
.feature-list { margin-top: 24px; }
.feature-list article {
  display: grid; grid-template-columns: 70px 1fr;
  gap: 28px; padding: 32px 0;
  border-top: 1px solid var(--line); align-items: start;
}
.feature-number {
  font-family: var(--serif); font-size: 2rem;
  color: var(--gold); opacity: .55; line-height: 1; padding-top: 6px;
}
.feature-list h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--navy); }
.feature-list p { color: var(--ink-mid); font-size: .96rem; margin: 0; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 100px 0 80px;
  background: var(--navy); color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem,5vw,4rem); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead {
  color: rgba(255,255,255,.7);
  font-family: var(--serif); font-size: clamp(1.1rem,2vw,1.35rem);
  line-height: 1.5; max-width: 700px;
}

/* ── TIMELINE ── */
.timeline { max-width: 860px; }
.timeline article { padding: 36px 0; border-bottom: 1px solid var(--line); }
.timeline > article:first-child { padding-top: 0; }
.timeline span {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .16em; color: var(--gold); font-weight: 800;
}
.timeline h2 { font-size: clamp(1.5rem,3vw,2rem); margin: 10px 0 14px; }
.dark-flow { font-size: 1.2rem; }

/* ── CASE STUDIES ── */
.case-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
}
.case {
  border: 1px solid var(--line); padding: 32px 28px;
  border-radius: var(--rl); background: #fff; box-shadow: var(--shadow);
}
.case > span {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .16em; color: var(--gold); font-weight: 800;
}
.case h2 { font-size: 1.65rem; margin: 10px 0 12px; }
.case p { color: var(--ink-mid); font-size: .95rem; }

/* ── TWO-COL / QUOTE ── */
.two-col {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 72px; align-items: start;
}
.quote {
  background: var(--navy); color: #fff;
  border-radius: var(--rl); padding: 40px 36px;
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.5;
  position: relative;
}
.quote::before {
  content: '\201C';
  font-size: 6rem; color: var(--gold); opacity: .35;
  position: absolute; top: -10px; left: 24px;
  font-family: Georgia, serif; line-height: 1;
}

/* ── CTA STRIP ── */
.cta {
  text-align: center;
  background: var(--gold-pale);
  border-top: 1px solid rgba(176,125,46,.18);
  border-bottom: 1px solid rgba(176,125,46,.18);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 72px; align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--ink-mid); }

.contact-box {
  background: var(--soft); border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 20px 24px; border-radius: var(--r); margin: 28px 0;
}
.contact-box span {
  display: block; font-size: .68rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.contact-box a { font-size: 1.1rem; font-weight: 700; color: var(--navy); transition: color .18s; }
.contact-box a:hover { color: var(--gold); }
.muted { color: var(--muted); font-size: .86rem; }

/* ── ENQUIRY FORM ── */
.enquiry-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--rl); padding: 42px 38px;
  box-shadow: var(--shadow-lg);
}
.enquiry-form h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-subtitle { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }

.form-divider {
  font-size: .68rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px; margin: 28px 0 20px;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.phone-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 12px;
}
.form-hint {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.45;
}
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #b42318;
  background: #fff7f6;
}
.form-error {
  display: none;
  font-size: .75rem;
  color: #b42318;
  font-weight: 600;
}
.form-group.invalid .form-error { display: block; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 20px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.form-consent label {
  text-transform: none;
  letter-spacing: 0;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.5;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sop-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  color: var(--ink-mid);
}
.sop-list li {
  padding: 8px 0 8px 16px;
  border-left: 2px solid var(--gold);
  margin-bottom: 8px;
  line-height: 1.5;
}
.sop-list strong { color: var(--navy); }

.form-group {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px;
}
.form-group label {
  font-size: .78rem; font-weight: 700; color: var(--ink);
  letter-spacing: .03em; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 11px 14px; font: inherit; font-size: .94rem;
  background: var(--paper); color: var(--ink); width: 100%;
  transition: border-color .18s, background .18s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: .78rem; color: var(--muted); margin-top: 12px; line-height: 1.5;
}

.form-submit {
  width: 100%; padding: 15px;
  font-size: .95rem; font-weight: 700;
  margin-top: 8px;
}

.form-success {
  display: none;
  background: #f0faf4; border: 1px solid #b8dfc8;
  border-radius: var(--r); padding: 32px 28px;
  text-align: center; color: #1d6040;
}
.form-success h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.form-success p { font-size: .9rem; margin: 0; color: #2d6a4a; }
.form-success .ref-label {
  margin: 18px 0 6px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-success .ref-number {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 14px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand strong {
  font-family: var(--serif); font-size: 1.35rem;
  color: #fff; display: block; margin-bottom: 8px;
}
.footer-brand p { font-size: .86rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-links {
  display: flex; flex-direction: column;
  gap: 12px; align-items: flex-end;
}
.footer-links a { font-size: .88rem; transition: color .18s; }
.footer-links a:hover { color: var(--gold); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; font-size: .76rem;
  color: rgba(255,255,255,.28); text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .domain-grid,
  .domain-grid.two { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav nav.open {
    display: flex; position: fixed;
    left: 0; right: 0; top: 76px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 24px; flex-direction: column;
    align-items: flex-start; gap: 20px; z-index: 99;
  }
  .menu { display: flex; align-items: center; }
  .hero, .hero-navy { padding: 56px 0 48px; }
  .hero-grid, .two-col, .contact-grid, .domain-grid, .stats-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .problem-grid, .six-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .section, .page-hero { padding: 44px 0; }
  .section.alt { padding: 32px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .enquiry-form { padding: 28px 22px; }
  .form-row, .phone-row { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .problem-grid, .six-grid { grid-template-columns: 1fr; }
  .feature-list article { grid-template-columns: 52px 1fr; gap: 16px; }
  .actions { flex-direction: column; }
  .actions .button { text-align: center; }
}
