/* Layout idea: left-aligned editorial grid; the hero pairs a plain statement with a decimal-aligned ledger, and every section after it is a ruled two-column row. */
/* Brand: Trust blue #057CFE, Security cyan #05B7E3, Growth orange #FC761A, wordmark black #080808, white. */
:root {
  --paper: #FFFFFF;
  --surface: #F4F7FB;
  --ink: #080808;
  --muted: #4F5866;
  --rule: #DDE3EC;
  --trust: #057CFE;
  --security: #05B7E3;
  --growth: #FC761A;
  --blue: #0062D6;          /* Trust blue, deepened for readable text and buttons */
  --blue-light: #057CFE;
  --blue-wash: #E6F1FF;
  --band: #080808;
  --good: #1F7A4D;
  --good-wash: #E3F2EA;
  --on-blue: #FFFFFF;
  --display: "Quicksand", "Century Gothic", "Avenir Next", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1118;
    --surface: #141B25;
    --ink: #F2F4F7;
    --muted: #A3ADBC;
    --rule: #26303E;
    --blue: #5AAAFF;
    --blue-light: #057CFE;
    --blue-wash: #10243F;
    --band: #141B25;
    --good: #6FD3A0;
  --on-blue: #0C1118;
    --good-wash: #173A2C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C1118;
  --surface: #141B25;
  --ink: #F2F4F7;
  --muted: #A3ADBC;
  --rule: #26303E;
  --blue: #5AAAFF;
  --blue-light: #057CFE;
  --blue-wash: #10243F;
  --band: #141B25;
  --good: #6FD3A0;
  --on-blue: #0C1118;
  --good-wash: #173A2C;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 16px/1 var(--body);
  padding: 15px 22px; border-radius: 4px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--blue);
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-wash); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand .logo { height: 30px; width: auto; display: block; }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .brand .logo-dark { display: block; }
}
.site-footer .brand .logo { height: 26px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--blue); }
.site-header .btn { padding: 11px 16px; font-size: 15px; }
@media (max-width: 1080px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #FFFFFF;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 104px);
  /* Ledger-ruled navy field lit by the three brand colours */
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(255,255,255,0.045) 39px 40px),
    radial-gradient(700px 480px at 88% 8%, rgba(5,183,227,0.42), transparent 65%),
    radial-gradient(820px 560px at 4% 104%, rgba(5,124,254,0.55), transparent 62%),
    radial-gradient(420px 320px at 62% 112%, rgba(252,118,26,0.22), transparent 70%),
    linear-gradient(135deg, #04163D 0%, #08296E 52%, #0A45B4 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--trust) 0 33.34%, var(--security) 33.34% 66.67%, var(--growth) 66.67% 100%);
}

/* Colombo skyline as a light shadow along the bottom of the hero */
.hero .wrap { position: relative; z-index: 1; }
.hero { padding-bottom: clamp(96px, 11vw, 150px); }
.hero .skyline {
  position: absolute; left: 0; right: 0; bottom: 6px; width: 100%;
  height: clamp(150px, 19vw, 270px); z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 50%, rgba(0,0,0,0.45) 100%);
          mask-image: linear-gradient(to top, #000 50%, rgba(0,0,0,0.45) 100%);
  animation: skyline-rise 1400ms 150ms cubic-bezier(.2,.7,.2,1) both;
}
.hero .skyline .far { fill: rgba(150, 200, 255, 0.05); }
.hero .skyline .near { fill: rgba(255, 255, 255, 0.085); }
.hero::before {
  /* warm horizon glow behind the skyline */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none;
  background: radial-gradient(60% 100% at 70% 100%, rgba(252,118,26,0.20), transparent 70%),
              radial-gradient(50% 90% at 20% 100%, rgba(5,183,227,0.16), transparent 70%);
}
@keyframes skyline-rise { from { transform: translateY(24px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero .skyline { animation: none; } }
.hero h1 { color: #FFFFFF; }
.hero .btn-primary { background: var(--growth); border-color: var(--growth); color: #0A0A0A; }
.hero .btn-primary:hover { filter: brightness(1.06); }
.hero .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #FFFFFF; }
.hero :focus-visible { outline-color: var(--security); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 70px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
.hero .lede { margin-top: 24px; font-size: 19px; color: rgba(255,255,255,0.84); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .creds { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; color: rgba(255,255,255,0.86); }
.hero .creds span { display: flex; align-items: center; gap: 8px; }
.hero .creds span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--trust); }
.hero .creds span:nth-child(2)::before { background: var(--security); }
.hero .creds span:nth-child(3)::before { background: var(--growth); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Ledger */
.ledger {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 6px;
  box-shadow: 0 1px 0 var(--rule), 0 24px 48px -28px rgba(20, 27, 52, 0.35);
  overflow: hidden;
}
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.ledger-head strong { font: 600 16px/1.2 var(--display); }
.ledger-head small { color: var(--muted); font-size: 13px; }
.ledger table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.ledger td { padding: 11px 22px; font-size: 15.5px; border-bottom: 1px solid var(--rule); }
.ledger td.amt { text-align: right; white-space: nowrap; font-weight: 500; }
.ledger td.amt .p { display: inline-block; width: 0.6ch; text-align: left; }
.ledger td.amt .p.hide { visibility: hidden; }
.ledger td.cur { color: var(--muted); font-size: 13px; width: 1%; padding-right: 0; }
.ledger tr.sub td { color: var(--muted); }
.ledger tr.total td { border-bottom: 0; font-weight: 700; font-size: 17px; padding-top: 14px; }
.ledger tr.total td.amt span.fig { position: relative; display: inline-block; }
.ledger tr.total td.amt span.fig::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 5px;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform-origin: right; animation: rule-in 900ms 500ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rule-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .ledger tr.total td.amt span.fig::after { animation: none; } }
.checks { list-style: none; margin: 0; padding: 16px 22px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; border-top: 1px solid var(--rule); background: var(--paper); }
.checks li { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.checks li svg { flex: none; width: 18px; height: 18px; }
.checks .done svg circle { fill: var(--good-wash); }
.checks .done svg path { stroke: var(--good); }
.checks .next { color: var(--muted); }
.checks .next svg circle { fill: none; stroke: var(--growth); stroke-width: 2; }
.ledger-note { padding: 0 22px 16px; background: var(--paper); font-size: 12.5px; color: var(--muted); }
@media (max-width: 460px) { .checks { grid-template-columns: 1fr; } .ledger td { padding: 10px 14px; font-size: 14.5px; } .ledger-head, .checks, .ledger-note { padding-left: 14px; padding-right: 14px; } }

/* Sections */
section.block { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--rule); }
.block-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.block-head h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; }
.block-head p { color: var(--muted); max-width: 36em; }
@media (max-width: 800px) { .block-head { grid-template-columns: 1fr; } }


/* Photo slots: a placeholder until a real photo is added, then the <img> covers it */
.photo {
  position: relative; margin: 0; aspect-ratio: var(--ar, 4 / 5); border-radius: 6px; overflow: hidden;
  background: linear-gradient(155deg, var(--blue-wash) 0%, var(--surface) 70%);
  border: 1.5px dashed var(--rule);
  display: grid; place-items: center; text-align: center; padding: 20px;
}
.photo:has(img) { border: 0; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .ph { display: grid; gap: 6px; justify-items: center; max-width: 26em; color: var(--muted); font-size: 14px; line-height: 1.45; }
.photo .ph svg { width: 30px; height: 30px; stroke: var(--blue); }
.photo .ph strong { color: var(--ink); font: 600 16px/1.3 var(--display); }
.photo .ph small { font-size: 12.5px; font-variant-numeric: tabular-nums; }

.hero .wrap:has(.hero-visual) { grid-template-columns: 1fr 1fr; }
.hero-visual { position: relative; padding: 0 0 48px 20%; }
.hero-visual .photo { --ar: 4 / 5; align-items: start; padding-top: 48px; border: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.hero-visual::before {
  /* the logo's three dots, enlarged, pinned to the photo's corner */
  content: ""; position: absolute; z-index: 2; top: -18px; right: 18px; width: 116px; height: 32px;
  background:
    radial-gradient(circle at 16px 16px, var(--trust) 15px, transparent 16px),
    radial-gradient(circle at 58px 16px, var(--security) 15px, transparent 16px),
    radial-gradient(circle at 100px 16px, var(--growth) 15px, transparent 16px);
}
.hero-visual .ledger { position: absolute; left: 0; bottom: 0; width: min(74%, 380px); color: var(--ink); box-shadow: 0 28px 56px -24px rgba(0,0,0,0.55); border-color: transparent; }
.hero-visual .ledger td { padding: 8px 16px; font-size: 14px; }
.hero-visual .ledger td.cur { padding-right: 0; font-size: 12px; }
.hero-visual .ledger tr.total td { font-size: 15px; }
.hero-visual .ledger-head { padding: 13px 16px; }
.hero-visual .ledger-head strong { font-size: 14.5px; }
.hero-visual .checks { display: none; }
.hero-visual .ledger-note { padding: 10px 16px; border-top: 1px solid var(--rule); font-size: 12px; }
@media (max-width: 900px) {
  .hero-visual { padding: 0; display: grid; gap: 20px; }
  .hero-visual .photo { --ar: 4 / 3; }
  .hero-visual .ledger { position: static; width: 100%; }
}
.service .photo { --ar: 3 / 2; margin-top: 22px; }
.about-card .photo { --ar: 1 / 1; margin: -28px -28px 0; border-radius: 6px 6px 0 0; border-width: 0 0 1px; border-style: solid; }
.about-card .photo + h3 { margin-top: 22px; }
.monogram + h3 { margin-top: 18px; }
.city .photo { --ar: 21 / 8; }
@media (max-width: 700px) { .city .photo { --ar: 4 / 3; } }

/* Standards strip */
.standards { background: var(--band); color: #fff; }
.standards .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.standards div.item { padding: 30px 28px 30px 0; }
.standards div.item + div.item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,0.18); }
.standards h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.standards p { font-size: 15px; opacity: 0.86; }
.standards h3 { display: flex; align-items: center; gap: 10px; }
.standards h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; }
.standards .trust { --dot: var(--trust); }
.standards .security { --dot: var(--security); }
.standards .growth { --dot: var(--growth); }
@media (max-width: 760px) {
  .standards .wrap { grid-template-columns: 1fr; }
  .standards div.item, .standards div.item + div.item { padding: 22px 0; border-left: 0; }
  .standards div.item + div.item { border-top: 1px solid rgba(255,255,255,0.18); }
}

/* Services */
.services { display: grid; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 64px; padding: 36px 0; border-top: 1px solid var(--rule); }
.service:last-child { border-bottom: 1px solid var(--rule); }
.service h3 { font-size: clamp(24px, 2.6vw, 31px); font-weight: 700; display: flex; gap: 14px; align-items: baseline; }
.service h3 i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--trust); flex: none; position: relative; top: -3px; }
.service .for { margin-top: 10px; color: var(--muted); font-size: 15px; padding-left: 26px; max-width: 28em; }
.service .detail p { max-width: 38em; }
.service ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.service li { font-size: 15.5px; padding-left: 18px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--trust); }
.service .quote-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 15.5px; background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; font-family: var(--body); }
@media (max-width: 800px) { .service { grid-template-columns: 1fr; } .service ul { grid-template-columns: 1fr; } }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.client { padding: 24px 24px 8px 0; }
.client + .client { padding-left: 24px; border-left: 1px solid var(--rule); }
.client h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.client p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .clients { grid-template-columns: 1fr 1fr; }
  .client, .client + .client { padding: 22px 20px 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .client:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }
}
@media (max-width: 520px) { .clients { grid-template-columns: 1fr; } .client:nth-child(even) { padding-left: 0; border-left: 0; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid var(--rule); position: relative; }
.steps li::before { content: counter(step); display: block; font: 700 44px/1 var(--display); color: var(--ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps li { border-top-width: 2px; }
.steps li:nth-child(1) { border-top-color: var(--trust); }
.steps li:nth-child(2) { border-top-color: var(--security); }
.steps li:nth-child(3), .steps li:nth-child(4) { border-top-color: var(--growth); }
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Calendar */
.calendar-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; }
.calendar { width: 100%; border-collapse: collapse; min-width: 620px; font-variant-numeric: tabular-nums; }
.calendar th, .calendar td { text-align: left; padding: 15px 22px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.calendar th { font: 600 13px/1.3 var(--body); color: var(--muted); background: var(--paper); }
.calendar tr:last-child td { border-bottom: 0; }
.calendar td.when { font-weight: 600; white-space: nowrap; width: 30%; }
.calendar td.what { font-weight: 500; }
.calendar td.who { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 3px; background: var(--blue-wash); color: var(--blue); }
.calendar-note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 60em; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.about-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 28px; }
.monogram { width: 76px; height: 76px; border-radius: 50%; background: var(--blue); color: var(--on-blue); display: grid; place-items: center; font: 700 28px/1 var(--display); letter-spacing: -0.02em; }
.about-card h3 { margin-top: 18px; font-size: 24px; font-weight: 700; }
.about-card .role { color: var(--muted); font-size: 15px; margin-top: 4px; }
.about-card dl { margin: 22px 0 0; display: grid; gap: 12px; }
.about-card dt { font-size: 13px; color: var(--muted); }
.about-card dd { margin: 2px 0 0; font-weight: 500; font-size: 15.5px; }
.about-copy h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; margin-bottom: 22px; }
.about-copy p + p { margin-top: 16px; }
.about-copy p { max-width: 36em; }
.about-copy blockquote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--growth); font: 600 21px/1.4 var(--display); max-width: 30em; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 600 19px/1.35 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform 180ms; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { padding: 0 0 24px; max-width: 46em; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px 72px; align-items: start; }
.contact-info h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; }
.contact-info > p { margin-top: 16px; color: var(--muted); max-width: 30em; }
.contact-info dl { margin: 32px 0 0; display: grid; gap: 0; }
.contact-info dl div { padding: 16px 0; border-top: 1px solid var(--rule); }
.contact-info dl div:last-child { border-bottom: 1px solid var(--rule); }
.contact-info dt { font-size: 13px; font-weight: 600; color: var(--blue); }
.contact-info dd { margin: 4px 0 0; font-size: 17px; }
form.enquiry { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 500; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 4px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: #B3261E; display: none; }
:root[data-theme="dark"] .field .err { color: #F2B8B5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .err { color: #F2B8B5; } }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B3261E; }
form.enquiry .btn { grid-column: 1 / -1; width: 100%; padding: 17px; font-size: 17px; }
.ready { grid-column: 1 / -1; display: none; border: 1px solid var(--growth); background: rgba(252,118,26,0.08); border-radius: 4px; padding: 18px; }
.ready.show { display: block; }
.ready strong { display: block; font-family: var(--display); font-size: 17px; margin-bottom: 4px; }
.ready p { font-size: 15px; }
.ready .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ready .btn { width: auto; padding: 11px 16px; font-size: 15px; grid-column: auto; }
.copy-status { font-size: 14px; color: var(--good); align-self: center; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form.enquiry { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .tagline { font-style: italic; color: var(--muted); }
.site-footer small { color: var(--muted); font-size: 14px; }

/* ---------- Footer links ---------- */
.footer-links { display: flex; gap: 20px; font-size: 15px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); }

/* ---------- Blog: shared page header ---------- */
.page-head {
  position: relative; overflow: hidden; color: #FFFFFF;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 92px);
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(255,255,255,0.045) 39px 40px),
    radial-gradient(640px 420px at 90% 0%, rgba(5,183,227,0.38), transparent 65%),
    radial-gradient(700px 480px at 0% 110%, rgba(5,124,254,0.5), transparent 62%),
    linear-gradient(135deg, #04163D 0%, #08296E 55%, #0A45B4 100%);
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--trust) 0 33.34%, var(--security) 33.34% 66.67%, var(--growth) 66.67% 100%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .crumbs { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-head .crumbs a { color: #FFFFFF; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; color: #FFFFFF; max-width: 20ch; }
.page-head .intro { margin-top: 18px; font-size: 19px; color: rgba(255,255,255,0.84); max-width: 38em; }
.page-head .meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: rgba(255,255,255,0.82); }
.page-head .skyline { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: clamp(110px, 14vw, 190px); pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to top, #000 50%, rgba(0,0,0,0.45) 100%); mask-image: linear-gradient(to top, #000 50%, rgba(0,0,0,0.45) 100%); }
.page-head .skyline .far { fill: rgba(150, 200, 255, 0.05); }
.page-head .skyline .near { fill: rgba(255, 255, 255, 0.075); }

.tag-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--blue-wash); color: var(--blue); }
.tag-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--trust)); }
.tag-pill.tax { --dot: var(--trust); }
.tag-pill.bookkeeping { --dot: var(--security); }
.tag-pill.land { --dot: var(--growth); }
.page-head .tag-pill { background: rgba(255,255,255,0.12); color: #FFFFFF; margin-bottom: 16px; }

/* ---------- Blog index ---------- */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.post-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 24px 48px; padding: 36px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.post-row .thumb { display: block; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--surface); }
.post-row .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms ease; }
.post-row:hover .thumb img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .post-row .thumb img { transition: none; } }
.post-row h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin: 14px 0 10px; }
.post-row h2 a { color: var(--ink); text-decoration: none; }
.post-row h2 a:hover { color: var(--blue); }
.post-row p.excerpt { color: var(--muted); max-width: 40em; }
.post-row .post-meta { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; gap: 6px 18px; flex-wrap: wrap; }
.read-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--blue); text-underline-offset: 4px; }
@media (max-width: 760px) { .post-row { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 960px) { .article-wrap { grid-template-columns: 1fr; } }
.article-cover { margin: 0 0 32px; aspect-ratio: 21 / 9; border-radius: 6px; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article { max-width: 68ch; font-size: 18px; line-height: 1.7; }
.article > * + * { margin-top: 18px; }
.article h2 { font-size: 27px; font-weight: 700; margin-top: 42px; }
.article h3 { font-size: 21px; font-weight: 700; margin-top: 30px; }
.article ul, .article ol { padding-left: 22px; }
.article li + li { margin-top: 8px; }
.article ol.steps-list { list-style: none; padding: 0; counter-reset: s; }
.article ol.steps-list > li { counter-increment: s; position: relative; padding-left: 48px; }
.article ol.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--display); color: #fff; background: var(--blue); }
.article ol.steps-list > li + li { margin-top: 22px; }
.article strong { font-weight: 600; }
.article .note { font-size: 15px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 40px; }
.callout { margin-top: 36px; padding: 24px 26px; border-radius: 6px; background: var(--blue-wash); border-left: 4px solid var(--growth); }
.callout strong { display: block; font: 700 20px/1.3 var(--display); margin-bottom: 6px; }
.callout .btn { margin-top: 16px; }
.aside-card { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 24px; }
.aside-card h2 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-card li a { color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.4; display: block; }
.aside-card li a:hover { color: var(--blue); }
.aside-card li small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.aside-card .btn { margin-top: 20px; width: 100%; }
@media (max-width: 960px) { .aside-card { position: static; } }

/* ---------- About page ---------- */
.block-head .story { display: grid; gap: 14px; }
.block-head .story p { color: var(--ink); font-size: 18px; }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-grid a { align-content: start; }
.block-head:has(.story) { align-items: start; }
.svc-grid a { display: grid; gap: 8px; height: 100%; padding: 22px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); color: var(--ink); text-decoration: none; }
.svc-grid a:hover { border-color: var(--blue); }
.svc-grid strong { font: 700 18px/1.3 var(--display); }
.svc-grid span:not(.dot) { font-size: 15px; color: var(--muted); }
.svc-grid .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.trust { background: var(--trust); } .dot.security { background: var(--security); } .dot.growth { background: var(--growth); }
.cta-band { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 7vw, 80px) 0;
  background: radial-gradient(600px 360px at 90% 120%, rgba(252,118,26,0.28), transparent 70%), linear-gradient(135deg, #04163D 0%, #08296E 55%, #0A45B4 100%); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; color: #fff; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,0.84); max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--growth); border-color: var(--growth); color: #0A0A0A; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.1); }
.about-copy .more-link { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--blue); text-underline-offset: 4px; }

/* ---------- Light / dark switch ---------- */
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
@media (max-width: 1080px) { .header-actions { margin-left: auto; } .site-header .header-actions .btn { margin-left: 0; } }

/* ---------- Tax calendar page ---------- */
.upcoming { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(20px, 3vw, 32px); border-top: 4px solid var(--growth); }
.upcoming-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 16px; }
.upcoming-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.upcoming-head p { color: var(--muted); font-size: 15px; }
.upcoming-list { list-style: none; margin: 0; padding: 0; display: grid; }
.upcoming-list li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.u-date { font: 700 17px/1.2 var(--display); color: var(--blue); }
.u-what { font-size: 15.5px; }
.u-cat { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.u-left { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--blue-wash); color: var(--blue); white-space: nowrap; }
@media (max-width: 560px) { .upcoming-list li { grid-template-columns: 64px minmax(0, 1fr); } .u-left { grid-column: 2; justify-self: start; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 14.5px/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; }

.cal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .cal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cal-grid { grid-template-columns: 1fr; } }
.cal-month { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 20px 20px 10px; }
.cal-month h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: baseline; gap: 8px; }
.cal-month h3 span { color: var(--muted); font-size: 16px; font-weight: 600; }
.cal-month.current { border: 2px solid var(--blue); box-shadow: 0 16px 36px -24px rgba(5,124,254,0.6); }
.cal-month.current h3::after { content: "This month"; margin-left: auto; font: 600 12px/1 var(--body); padding: 5px 9px; border-radius: 999px; background: var(--growth); color: #0A0A0A; }
.cal-month.past { opacity: 0.55; }
.cal-month ul { list-style: none; margin: 0; padding: 0; }
.cal-month li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.cal-month li.done .cal-what { text-decoration: line-through; text-decoration-color: var(--muted); color: var(--muted); }
.cal-day { display: grid; justify-items: center; align-content: start; padding-top: 2px; font-variant-numeric: tabular-nums; }
.cal-day b { font: 700 20px/1 var(--display); }
.cal-day small { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.cal-what { font-size: 14.5px; line-height: 1.45; }
.cal-what small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.cal-cat { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.cal-cat .dot, .tax-card h3 .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

.tax-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .tax-grid { grid-template-columns: 1fr; } }
.tax-card { border: 1px solid var(--rule); border-radius: 8px; padding: 22px 24px; background: var(--paper); }
.tax-card h3 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tax-card h3 .dot { width: 11px; height: 11px; }
.tax-card dl { margin: 0; display: grid; gap: 10px; }
.tax-card dt { font-size: 12.5px; font-weight: 600; color: var(--blue); }
.tax-card dd { margin: 2px 0 0; font-size: 15px; }
.sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--muted); }
.sources h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.sources ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.tc-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--blue); text-underline-offset: 4px; }
.cal-month li[hidden] { display: none; }

/* ---------- Mobile menu ---------- */
.menu-toggle, .nav-cta { display: none; }
@media (min-width: 901px) { .hero .wrap:has(.hero-visual) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .hero .wrap:has(.hero-visual) { grid-template-columns: 1fr; } }
@media (max-width: 1080px) {
  .site-header .wrap { height: 64px; gap: 12px; }
  .brand .logo { height: 26px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: grid; place-items: center; width: 42px; height: 42px; flex: none; cursor: pointer;
    border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .menu-toggle path { transition: transform 200ms ease, opacity 200ms ease; transform-origin: 12px 12px; }
  .menu-open .menu-toggle .l1 { transform: translateY(5px) rotate(45deg); }
  .menu-open .menu-toggle .l2 { opacity: 0; }
  .menu-open .menu-toggle .l3 { transform: translateY(-5px) rotate(-45deg); }
  .site-header .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -24px rgba(0,0,0,0.35);
    max-height: calc(100dvh - 64px); overflow-y: auto;
  }
  .site-header.menu-open .nav { display: flex; }
  .site-header .nav a:not(.btn) { padding: 15px 2px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--rule); }
  .site-header .nav .nav-cta { display: flex; margin-top: 18px; width: 100%; padding: 16px; font-size: 17px; color: var(--on-blue); }
}
@media (prefers-reduced-motion: reduce) { .menu-toggle path { transition: none; } }

/* Phone polish */
@media (max-width: 560px) {
  .hero h1 { font-size: 44px; }
  .hero .lede { font-size: 17px; }
  .hero-visual .ledger td { padding: 8px 12px; font-size: 13.5px; }
  .hero-visual .ledger td.cur { display: none; }
  .hero-visual::before { top: -14px; right: 12px; transform: scale(0.8); transform-origin: right top; }
  .page-head h1 { font-size: 36px; }
  .page-head .intro { font-size: 17px; }
  .block-head h2 { font-size: 30px; }
}

/* ---------- Hero slideshow ---------- */
.slideshow img.slide { opacity: 0; transform: scale(1.04); transition: opacity 1100ms ease, transform 6000ms ease-out; }
.slideshow img.slide.is-active { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .slideshow img.slide { transition: none; transform: none; } }
.slide-caption {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  font: 600 13px/1 var(--body); color: #fff; padding: 8px 12px; border-radius: 999px;
  background: rgba(4, 22, 61, 0.62); backdrop-filter: blur(6px);
}
.slide-dots { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: flex; gap: 8px; }
.slide-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,0.55); transition: width 300ms ease, background 300ms ease; }
.slide-dot.is-active { width: 26px; background: #fff; }
.slide-dot:focus-visible { outline: 2px solid var(--growth); outline-offset: 2px; }
@media (max-width: 900px) { .slide-dots { right: 12px; bottom: 12px; } }

/* ---------- Tax calculator ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } }
.calc-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; }
.calc-card .field input { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 14px 16px; }
.calc-card #epfbase { font-size: 17px; font-weight: 500; }
.calc-card .hint { font-size: 13px; color: var(--muted); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button { font: 500 14px/1 var(--body); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.presets button:hover { border-color: var(--blue); color: var(--blue); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.calc-results { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.res-main { padding: 24px 26px; color: #fff; background: radial-gradient(420px 220px at 100% 0%, rgba(5,183,227,0.35), transparent 70%), linear-gradient(135deg, #04163D, #0A45B4); }
.res-label { display: block; font-size: 14px; opacity: 0.85; }
.res-big { display: block; margin-top: 6px; font: 700 clamp(34px, 4.4vw, 46px)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.res-grid { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.res-grid > div { padding: 16px 20px; border-top: 1px solid var(--rule); }
.res-grid > div:not(:nth-child(3n+1)) { border-left: 1px solid var(--rule); }
.res-grid dt { font-size: 12.5px; color: var(--muted); }
.res-grid dd { margin: 4px 0 0; font: 700 18px/1.2 var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .res-grid { grid-template-columns: 1fr 1fr; } .res-grid > div:not(:nth-child(3n+1)) { border-left: 0; } .res-grid > div:nth-child(even) { border-left: 1px solid var(--rule); } }
.table-wrap { overflow-x: auto; }
.calc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.calc-table caption { text-align: left; padding: 16px 20px 6px; font: 600 15px/1.3 var(--display); }
.calc-table th, .calc-table td { padding: 10px 20px; border-bottom: 1px solid var(--rule); text-align: left; }
.calc-table thead th { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.calc-table td:last-child, .calc-table th:last-child { text-align: right; }
.calc-table tfoot th, .calc-table tfoot td { font-weight: 700; border-bottom: 0; }
.calc-note { padding: 14px 20px 18px; font-size: 13px; color: var(--muted); }
.rates-table { min-width: 560px; }
.explain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; margin-top: 32px; }
@media (max-width: 760px) { .explain-grid { grid-template-columns: 1fr; } }
.explain-grid h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.explain-grid p { color: var(--muted); font-size: 15.5px; }

/* ---------- Scroll reveal ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready .reveal { opacity: 1; transform: none; transition: none; } }
@media print { .reveal-ready .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Netlify forms: enquiry status, honeypot ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.enquiry { position: relative; }
.form-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); margin-top: -6px; }
.sent { grid-column: 1 / -1; display: none; border: 1px solid var(--good); background: var(--good-wash); border-radius: 4px; padding: 22px; outline: none; }
.sent.show { display: block; }
.sent strong { display: block; font-family: var(--display); font-size: 21px; margin-bottom: 6px; }
.sent p { font-size: 15px; color: var(--muted); }
form.enquiry.is-sent > .field, form.enquiry.is-sent > .btn, form.enquiry.is-sent > .form-note { display: none; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Booking card in contact section ---------- */
.book-card { margin-top: 28px; padding: 20px 22px; border-radius: 6px; background: var(--blue-wash); border-left: 4px solid var(--security); }
.book-card strong { display: block; font-family: var(--display); font-size: 19px; }
.book-card p { margin: 6px 0 14px; font-size: 15.5px; color: var(--muted); }

/* ---------- Lead magnet: year-end checklist ---------- */
.lead-magnet-wrap { padding-top: 0; }
.lead-magnet { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: 10px; background: var(--surface); border: 1px solid var(--rule); position: relative; overflow: hidden; }
.lead-magnet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--trust) 0 33.34%, var(--security) 33.34% 66.67%, var(--growth) 66.67% 100%); }
.lm-cover { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(4,22,61,0.22), 0 2px 6px rgba(4,22,61,0.12); transform: rotate(-2.5deg); background: #fff; }
.lm-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--growth); }
.lm-copy h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; margin-top: 6px; }
.lm-copy > p { margin-top: 10px; color: var(--muted); max-width: 36em; }
.lead-form { margin-top: 22px; position: relative; }
.lm-fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; align-items: start; }
.lm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.lm-actions .btn { padding: 15px 24px; white-space: nowrap; }
.lm-consent { margin-top: 12px; font-size: 13px; color: var(--muted); max-width: 46em; }
.lm-done { display: none; margin-top: 4px; padding: 18px; border-radius: 6px; border: 1px solid var(--good); background: var(--good-wash); outline: none; }
.lm-done strong { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 10px; }
.lead-form.is-done .lm-fields, .lead-form.is-done .lm-consent { display: none; }
.lead-form.is-done .lm-done { display: block; }
@media (max-width: 860px) {
  .lead-magnet { grid-template-columns: 1fr; }
  .lm-cover { max-width: 180px; justify-self: center; }
  .lm-fields { grid-template-columns: 1fr; }
  .lm-actions .btn { width: 100%; }
}
.thanks .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* reCAPTCHA checkbox */
.captcha-field { display: grid; gap: 6px; }
.captcha { min-height: 78px; }
.captcha-field.invalid .err { display: block; }
.lead-form.is-done .lm-actions { display: none; }
@media (max-width: 360px) { .captcha { transform: scale(.88); transform-origin: 0 0; } }
.captcha-field .err { display: none; font-size: 13px; color: #B3261E; }
:root[data-theme="dark"] .captcha-field .err { color: #F2B8B5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .captcha-field .err { color: #F2B8B5; } }

/* ---------- Tax hub ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 8px; background: var(--surface); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.tool-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent, var(--trust)); }
.tool-card.trust { --accent: var(--trust); } .tool-card.security { --accent: var(--security); } .tool-card.growth { --accent: var(--growth); }
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(4,22,61,0.12); border-color: var(--accent); }
.tool-icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); background: var(--paper); border: 1px solid var(--rule); }
.tool-icon svg { width: 26px; height: 26px; }
.tool-card h3 { font-size: 22px; font-weight: 700; margin-top: 6px; }
.tool-card p { color: var(--muted); font-size: 16px; flex: 1; }
.tool-link { font-weight: 600; color: var(--blue); }
.tool-link::after { content: " →"; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } }
.upcoming .tc-link + .tc-link { margin-left: 20px; }
.tc-link + .tc-link { margin-left: 24px; }
.tax-help { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: start; }
.tax-help h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; }
.tax-help > div > p { margin: 14px 0 24px; color: var(--muted); max-width: 34em; }
.help-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.help-list li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); position: relative; }
.help-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--security); }
@media (max-width: 860px) { .tax-help { grid-template-columns: 1fr; } }
.post-row .post-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin: 12px 0 8px; }
.post-row .post-title a { color: var(--ink); text-decoration: none; }
.post-row .post-title a:hover { color: var(--blue); }
