/* ABC Consultancy — everything is served from this origin (strict CSP, no CDN,
   no web fonts, no trackers), so the type is a system stack. */

:root {
  --navy: #0b1f3a;
  --navy-800: #12304f;
  --navy-700: #1b4066;
  --gold: #c0952c;
  --gold-soft: #e6c765;
  --ink: #111927;
  --body: #3d4756;
  --muted: #5a6472;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,31,58,.06), 0 12px 32px -12px rgba(11,31,58,.18);
  --shadow-lg: 0 30px 70px -30px rgba(11,31,58,.45);
  --wrap: 1160px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 640; letter-spacing: -.018em; line-height: 1.18; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.85rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.72rem, 3.2vw, 2.5rem); letter-spacing: -.026em; }
h3 { font-size: 1.09rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; }

.eyebrow {
  font: 700 12px/1 var(--sans); letter-spacing: .19em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px;
}

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn-primary { background: var(--gold); color: #17202e; box-shadow: 0 10px 24px -12px rgba(192,149,44,.9); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.34); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.section .btn-ghost, .form-done .btn-ghost { border-color: var(--line); color: var(--ink); }
.section .btn-ghost:hover, .form-done .btn-ghost:hover { background: var(--bg-alt); border-color: #c9d2df; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 16px 26px; font-size: 16px; }
.btn:disabled { opacity: .62; cursor: progress; transform: none; }

/* -------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,31,58,.92); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-head.scrolled { background: rgba(11,31,58,.98); box-shadow: 0 10px 30px -22px rgba(0,0,0,.9); }
.head-inner { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
/* The wordmark IS the brand here, so give it real size. Scales with the
   viewport and stays sharp because it is vector, not the 300x36 raster. */
.wordmark { display: block; width: clamp(186px, 20vw, 244px); height: auto; color: #fff; }
.brand:hover .wordmark { color: var(--gold-soft); transition: color .18s ease; }
.foot-brand .wordmark { width: 232px; }

.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav a {
  color: rgba(255,255,255,.88); text-decoration: none; font: 500 15px/1 var(--sans);
  padding: 10px 14px; border-radius: 999px; transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav a.active { color: #fff; background: rgba(255,255,255,.13); }

.head-actions { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.langs button {
  border: 0; background: none; color: rgba(255,255,255,.82); cursor: pointer;
  font: 600 12.5px/1 var(--sans); letter-spacing: .06em; padding: 8px 11px; border-radius: 999px;
  transition: color .16s ease, background .16s ease;
}
.langs button:hover { color: #fff; }
.langs button[aria-current="true"] { background: #fff; color: var(--navy); }

.burger { display: none; width: 42px; height: 42px; border: 0; background: rgba(255,255,255,.1); border-radius: 12px; cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--navy); color: rgba(255,255,255,.86); overflow: hidden; padding: clamp(72px, 11vw, 130px) 0 clamp(58px, 7vw, 86px); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(192,149,44,.30), transparent 62%),
    radial-gradient(760px 520px at 8% 8%, rgba(45,105,168,.34), transparent 60%),
    linear-gradient(180deg, #0b1f3a 0%, #0a1c34 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
}
/* Pitch on the left, enquiry form on the right - the form is above the fold on
   a laptop, which is the whole reason this page exists. */
.hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 468px);
  gap: clamp(32px, 4.5vw, 64px); align-items: start;
}
.hero-copy { max-width: 620px; padding-top: 6px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.03rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.88); max-width: 66ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 34px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.hero-points li {
  position: relative; padding-inline-start: 30px; color: rgba(255,255,255,.86); font-size: 15.5px;
}
.hero-points li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .44em;
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(192,149,44,.2); border: 1px solid rgba(230,199,101,.55);
}
.hero-points li::after {
  content: ""; position: absolute; inset-inline-start: 5px; top: .72em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft);
}

/* Sits fully inside the hero. It used to be pulled down with a transform into
   the hero's `overflow: hidden`, which sheared the labels clean off. */
.stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  overflow: hidden; margin-top: clamp(52px, 7vw, 78px);
}
.stats > div { background: #0d2440; padding: 24px 26px; }
.stats .v { font: 700 clamp(1.6rem, 2.5vw, 2.1rem)/1 var(--sans); color: #fff; letter-spacing: -.02em; }
.stats .l { margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,.74); }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(78px, 9vw, 124px) 0; }
#about { padding-top: clamp(78px, 9vw, 124px); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head .lead { color: var(--muted); font-size: 1.05rem; margin: 16px 0 0; }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 76px); align-items: start; }
.prose p { color: var(--body); }
.prose p:last-child { margin-bottom: 0; }

.pillars { display: grid; gap: 14px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.pillar h3 { margin-bottom: 7px; }
.pillar p { margin: 0; font-size: 15.3px; color: var(--muted); }
.pillar .dot { width: 30px; height: 30px; border-radius: 9px; background: rgba(192,149,44,.13); display: grid; place-items: center; margin-bottom: 14px; color: var(--gold); }

/* ---------------------------------------------------------- service groups */
/* Every group is on the page at once. Tabs used to hide two thirds of the
   services behind a click - bad for a visitor scanning the page and bad for
   search engines, which is not a trade a marketing site should make. */
.svc-group { margin-bottom: clamp(38px, 5vw, 58px); scroll-margin-top: 96px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.svc-head h3 { font-size: clamp(1.18rem, 2vw, 1.42rem); letter-spacing: -.02em; }
.svc-head .rule { flex: 1; height: 1px; background: var(--line); }
.svc-head .count { font: 600 12.5px/1 var(--sans); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(322px, 1fr)); gap: 16px; align-items: start; }
.noscript { max-width: 720px; margin: 28px auto; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: #cfd8e4; }
.card.open { box-shadow: var(--shadow); border-color: #c6d1e0; }
.card > button {
  width: 100%; text-align: start; background: none; border: 0; cursor: pointer;
  padding: 24px 24px 22px; display: block; font: inherit; color: inherit;
}
.card h3 { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card h3 .chev {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-alt);
  display: grid; place-items: center; color: var(--navy); transition: transform .22s ease, background .2s ease;
}
.card.open h3 .chev { transform: rotate(180deg); background: rgba(192,149,44,.18); }
.card .sum { margin: 10px 0 0; font-size: 15.2px; color: var(--muted); }
/* Open by default, and toggled with display - not an animated max-height that
   can be left stuck at 0 and silently swallow the detail. */
.card .body { display: none; }
.card.open .body { display: block; }
.card .body ul { margin: 0; padding: 0 24px 24px 44px; }
.card .body li { margin: 8px 0; font-size: 15.2px; color: var(--body); }
.card .body li::marker { color: var(--gold); }

/* ------------------------------------------------------------- why abc */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.why-item { border-top: 3px solid var(--navy); padding-top: 20px; }
.why-item:nth-child(2n) { border-top-color: var(--gold); }
.why-item h3 { margin-bottom: 9px; }
.why-item p { margin: 0; font-size: 15.4px; color: var(--muted); }

/* --------------------------------------------------------- quote band */
.quote-band { background: var(--navy-800); color: #fff; padding: clamp(56px, 7vw, 86px) 0; }
.quote-inner { display: flex; gap: 30px; align-items: center; max-width: 900px; }
.portrait { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid rgba(230,199,101,.55); }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
  font: 400 clamp(1.08rem, 1.9vw, 1.42rem)/1.55 var(--serif); color: #fff; margin: 0 0 18px;
}
.quote-band footer { display: flex; flex-direction: column; gap: 3px; }
.quote-band footer strong { color: var(--gold-soft); font-size: 15px; }
.quote-band footer span { color: rgba(255,255,255,.74); font-size: 14px; }

/* ------------------------------------------------------------- contact */
/* Office details + a second run at the form, for anyone who read the whole page */
.office-band { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.office-cta h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin-bottom: 12px; }
.office-cta p { color: var(--muted); margin-bottom: 24px; max-width: 46ch; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.info-card h2 { font-size: clamp(1.3rem, 2.2vw, 1.62rem); margin-bottom: 14px; }
.info-card h3 { margin-bottom: 12px; }
.info-card address { font-style: normal; color: var(--body); line-height: 1.7; }
.info-card dl { margin: 20px 0 0; display: grid; gap: 14px; }
.info-card dl > div { display: grid; gap: 3px; }
.info-card dt { font: 600 12px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.info-card dd { margin: 0; color: var(--ink); font-size: 16px; }
.info-card dd a { color: var(--ink); text-decoration: none; }
.info-card dd a:hover { color: var(--gold); }
.maplink { display: inline-block; margin-top: 22px; color: var(--navy); font: 600 14.5px/1 var(--sans); text-decoration: none; border-bottom: 2px solid rgba(192,149,44,.5); padding-bottom: 3px; }
.maplink:hover { border-color: var(--gold); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg);
}
/* The form card in the hero: lifted off the navy so it reads as the primary
   action on the page rather than a panel of the background. */
.hero-form {
  position: relative; border-color: rgba(255,255,255,.16);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.05);
  scroll-margin-top: 96px;
}
.hero-form .eyebrow { margin-bottom: 10px; }
.hero-form .form-title { font-size: clamp(1.34rem, 2.1vw, 1.72rem); margin-bottom: 10px; }
.hero-form .form-lead { color: var(--muted); font-size: 14.9px; line-height: 1.6; margin: 0 0 22px; }
/* a gold edge so the card reads as "the thing to do here" */
.hero-form::before {
  content: ""; position: absolute; inset-inline: 22px; top: -3px; height: 3px;
  border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, .label { display: block; font: 600 13.5px/1.4 var(--sans); color: var(--ink); margin-bottom: 7px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: 400 15.6px/1.5 var(--sans); color: var(--ink); background: #fdfefe;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
textarea { resize: vertical; min-height: 128px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%236b7686' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-inline-end: 40px; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(192,149,44,.14);
}
input.bad, textarea.bad { border-color: #d0463c; box-shadow: 0 0 0 4px rgba(208,70,60,.1); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer;
  padding: 9px 16px; font: 500 14px/1 var(--sans); color: var(--body);
  transition: all .16s ease;
}
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 4px 0 20px; font-weight: 400; font-size: 14.4px; color: var(--muted); line-height: 1.55; }
.consent input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdf1f0; border: 1px solid #f3c9c5; color: #97231b; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14.6px; margin: 0 0 16px; }

.form-done { text-align: center; padding: 26px 6px 10px; }
.form-done .tick { width: 66px; height: 66px; border-radius: 50%; background: rgba(192,149,44,.15); color: var(--gold); display: grid; place-items: center; margin: 0 auto 18px; }
.form-done h3 { font-size: 1.28rem; margin-bottom: 10px; }
.form-done p { color: var(--muted); margin-bottom: 22px; }

/* -------------------------------------------------------------- footer */
.site-foot { background: var(--navy); color: rgba(255,255,255,.78); padding: clamp(52px, 6vw, 76px) 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand { margin-bottom: 18px; }
.foot-blurb { max-width: 46ch; font-size: 15px; color: rgba(255,255,255,.74); margin: 0; }
.site-foot h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-links a { color: rgba(255,255,255,.78); text-decoration: none; }
.foot-links a:hover { color: var(--gold-soft); }
.foot-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13.4px; color: rgba(255,255,255,.62);
}
.foot-bottom p { margin: 0; }
.foot-note { max-width: 62ch; }

/* ------------------------------------------------------------- motion */
/* Text is NEVER faded in. An opacity animation that fails to finish - missed
   observer, throttled timer, JS error, an odd browser - leaves the copy ghosted
   and unreadable, which is exactly what happened on the first build of this
   page. The entrance is a small slide only: if it never runs, the worst case is
   content sitting 14px lower, still perfectly legible. */
.js .reveal { transform: translateY(14px); transition: transform .5s ease; }
.js .reveal.in, .reveal { transform: none; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  /* form drops under the pitch - still the first thing after the headline */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-form { max-width: 620px; }
}
@media (max-width: 1000px) {
  .grid-2, .office-band { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .head-cta { display: none; }
  .nav {
    position: fixed; inset: 74px 0 auto; flex-direction: column; gap: 0;
    background: #0b1f3a; border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 10px 20px 20px; transform: translateY(-130%); transition: transform .28s ease;
    max-height: calc(100vh - 74px); overflow: auto;
  }
  .nav.open { transform: none; }
  .nav a { padding: 15px 6px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .row { grid-template-columns: 1fr; }
  .quote-inner { flex-direction: column; text-align: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; transform: translateY(30px); }
  .btn { width: 100%; }
  .hero-cta { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal, .reveal { transform: none !important; }
}
