/* ==========================================================================
   LZRG — site styles
   Brand: navy #061B35 · gold #C3853E · copper #93562F · sandstone #E7E2D9 · slate #4A4F57
   Type: Inter (open-source alternative to Avenir Next), self-hosted in /assets/fonts
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: local("Inter Variable"), local("InterVariable"), local("Inter"), url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* dark grounds */
  --navy-950: #050d17;
  --navy-900: #0a1a2c;
  --navy-850: #0b1c2f;
  --navy-800: #10253a;
  --brand-navy: #061b35;

  /* brand accents */
  --gold: #c3853e;
  --gold-hi: #d69a52;
  --copper: #93562f;
  --gold-text: #9e6425;   /* the brand gold, deepened just enough to read as text on white */

  /* light grounds and text */
  --white: #ffffff;
  --sand: #e7e2d9;
  --sand-tint: #f3f0ea;
  --sand-line: #d9d2c5;
  --slate: #4a4f57;
  --slate-soft: #6b717a;

  /* text on dark */
  --on-dark: #e9eef4;
  --on-dark-muted: #a9bbcb;
  --rule-dark: rgba(255, 255, 255, .12);
  --rule-dark-soft: rgba(255, 255, 255, .07);

  --error: #b42318;
  --ok: #1f6f43;

  --font: "Inter", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 4.4vw, 56px);
  --wrap: 1180px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--copper); text-underline-offset: 3px; }
a:hover { color: var(--brand-navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--brand-navy); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 13px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn-primary { background: var(--gold); color: var(--brand-navy); }
.btn-primary:hover { background: var(--gold-hi); color: var(--brand-navy); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(231, 237, 243, .8); color: var(--on-dark); }
.btn-ghost:hover { background: var(--on-dark); color: var(--brand-navy); transform: translateY(-1px); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--copper); text-decoration: none;
}
.text-link::after { content: "→"; transition: transform .18s; }
.text-link:hover { color: var(--brand-navy); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  background: rgba(5, 13, 23, .96); border-bottom: 1px solid var(--rule-dark);
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header-inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; text-decoration: none; }
.brand-logo { display: block; height: 30px; width: auto; }
.brand-tag {
  font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.2vw, 32px); }
.site-nav a {
  display: block; padding: 6px 0; border-bottom: 2px solid transparent;
  font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #dfe7ef; text-decoration: none; transition: color .18s, border-color .18s;
}
.site-nav a:hover { color: var(--gold-hi); }
.site-nav a[aria-current="page"] { color: var(--gold-hi); border-bottom-color: var(--gold); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule-dark); border-radius: var(--radius);
  width: 44px; height: 40px; cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 12px; width: 18px; height: 2px; background: #dfe7ef; content: ""; transition: transform .2s, top .2s;
}
.nav-toggle-bars { top: 19px; }
.nav-toggle-bars::before { left: 0; top: -6px; }
.nav-toggle-bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .site-nav { flex-basis: 100%; display: none; }
  .site-nav.is-open { display: block; max-height: calc(100vh - 90px); overflow-y: auto; }
  .site-nav ul { flex-direction: column; gap: 0; padding-top: 8px; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--rule-dark-soft); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule-dark-soft); }
}
@media (max-width: 420px) {
  .brand-logo { height: 28px; }
  .brand-tag { font-size: 9px; letter-spacing: .06em; }
}

/* ---------- Shared dark-band pieces ---------- */
.kicker, .eyebrow {
  margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.rule-gold { display: block; width: 66px; height: 3px; background: var(--gold); margin: 24px 0; }
.hero-svg { width: 100%; height: 100%; display: block; object-fit: cover; object-position: left center; }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(440px, 64vh, 640px);
  background: radial-gradient(120% 130% at 0% 30%, #10283f 0%, var(--navy-900) 46%, #09192f 100%);
  color: var(--on-dark);
}
.home-hero-art {
  position: absolute; inset: 0 0 0 32%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
.home-hero-art picture { display: block; width: 100%; height: 100%; }
.hero-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 60% center; }
.home-hero-inner {
  position: relative; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto; padding: clamp(48px, 7vw, 88px) var(--gutter);
}
.home-hero h1 {
  margin: 0; max-width: 19ch; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08;
  font-weight: 700; letter-spacing: -.022em; color: var(--white); text-shadow: 0 2px 24px rgba(3, 10, 18, .7);
}
.home-hero-sub { max-width: 34em; margin: 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: #c3d1de; text-shadow: 0 1px 12px rgba(3, 10, 18, .7); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Home strip: services + why, built as one aligned grid ---------- */
.home-strip { background: var(--navy-850); border-top: 1px solid var(--rule-dark); color: var(--on-dark); padding-block: clamp(40px, 5vw, 64px); }
.home-strip-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 24px; align-items: stretch; }
.strip-col { display: flex; flex-direction: column; min-width: 0; }
.strip-cards {
  list-style: none; margin: 0; padding: 0; flex: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.strip-cards li { display: flex; }
.strip-card, .strip-panel {
  flex: 1; display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px 30px; background: #0e2135; border: 1px solid var(--rule-dark-soft);
  border-top: 2px solid var(--gold); border-radius: var(--radius);
}
.strip-card { color: inherit; text-decoration: none; transition: background-color .2s, transform .2s; }
.strip-card:hover { background: #122a42; color: inherit; transform: translateY(-2px); }
.card-icon { width: 40px; height: 40px; flex: 0 0 auto; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.strip-card h2 {
  margin: 0; min-height: calc(2 * 1.35em); font-size: 15px; font-weight: 600; letter-spacing: .05em; line-height: 1.35;
  text-transform: uppercase; color: #f0f5fa;
}
.strip-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--on-dark-muted); }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.why-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.35; color: #e4ebf2; }
.why-list svg { flex: 0 0 auto; width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.text-link-dark { color: var(--gold); font-size: 13px; }
.text-link-dark:hover { color: var(--gold-hi); }

.region-bar { background: var(--navy-900); border-top: 1px solid var(--rule-dark-soft); color: #c4d2de; }
.region-bar .wrap { display: flex; align-items: center; gap: 12px; padding-block: 16px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.region-bar svg { width: 14px; height: 17px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.region-bar .dot { color: var(--gold); }

@media (max-width: 1100px) {
  .home-strip-grid { grid-template-columns: 1fr; }
  .why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
}
@media (max-width: 1024px) {
  .home-hero-art { inset: 0 0 0 20%; opacity: .6; }
}
@media (max-width: 760px) {
  .home-hero-art { inset: 0; opacity: .35; }
  .strip-cards { grid-template-columns: 1fr; gap: 16px; }
  .strip-card h2 { min-height: 0; }
  .why-list { grid-template-columns: 1fr; }
}

/* ---------- Inside-page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(100% 140% at 0% 0%, #10283f 0%, var(--navy-900) 52%, var(--navy-850) 100%);
  border-bottom: 1px solid var(--rule-dark);
}
.page-hero-art {
  position: absolute; top: 0; right: 0; bottom: 0; width: 62%; pointer-events: none; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.page-hero-inner {
  position: relative; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(52px, 7vw, 88px);
}
.page-hero h1 { margin: 0; max-width: 16ch; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--white); }
.page-hero-sub { max-width: 40em; margin: 0; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; color: #c3d1de; }
/* the LZRG wordmark set inside a heading, matching the cap height of the text */
.h1-mark { display: inline-block; height: .74em; width: auto; vertical-align: baseline; margin-left: .12em; }

@media (max-width: 760px) {
  .page-hero-art { width: 100%; opacity: .3; }
}

/* ---------- Content sections ---------- */
.section { padding-block: clamp(52px, 7vw, 92px); }
.section-light { background: var(--white); }
.section-sand { background: var(--sand-tint); border-block: 1px solid #ebe6dd; }
.section-title { margin: 0 0 24px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--brand-navy); }
.section-title-sm { font-size: 20px; margin-top: 40px; }
.label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.lead { font-size: 18px; line-height: 1.65; color: var(--slate); }
.lead-lg { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--brand-navy); font-weight: 500; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); }
.prose { max-width: 68ch; }
.prose p { line-height: 1.75; }
.prose h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 600; color: var(--brand-navy); }
.intro-block { max-width: 72ch; display: grid; gap: 18px; }

.tick-list, .plain-list, .link-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid #ece8e1; line-height: 1.5; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 2px; background: var(--gold); }
.plain-list li { padding: 9px 0; border-bottom: 1px solid #ece8e1; color: var(--brand-navy); }
.link-list { display: grid; gap: 12px; margin-top: 16px; }

.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li {
  padding: 9px 14px; border: 1px solid var(--sand-line); border-radius: var(--radius); background: var(--white);
  font-size: 15px; color: var(--brand-navy);
}
.section-sand .chip-list li { background: var(--white); }

/* section icons (line icons in a small tile beside headings) */
.section-title.has-icon { display: flex; align-items: center; gap: 14px; }
.title-icon, .service-icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--sand-tint); border: 1px solid var(--sand-line); border-radius: var(--radius);
}
.section-sand .title-icon, .section-sand .service-icon { background: var(--white); }
.title-icon .icon, .service-icon .icon {
  width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.section-title-sm .title-icon { width: 38px; height: 38px; }
.section-title-sm .title-icon .icon { width: 22px; height: 22px; }
.service-icon { width: 58px; height: 58px; margin-bottom: 20px; border-bottom: 2px solid var(--gold); }
.service-icon .icon { width: 34px; height: 34px; }

/* faint geological line art behind some light sections */
.has-art { position: relative; overflow: hidden; isolation: isolate; }
.has-art::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(52%, 640px); z-index: -1; pointer-events: none;
  background: no-repeat right center / cover; opacity: .12;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.art-strata::after { background-image: url("../img/light-strata.svg"); }
.art-contours::after { background-image: url("../img/light-contours.svg"); }
.art-horizons::after { background-image: url("../img/light-horizons.svg"); }
.art-network::after { background-image: url("../img/light-network.svg"); }

/* About page: the well logs run from the dark header down into the intro section.
   Both drawings are shown at their natural pixel size and anchored to the right edge,
   so the four tracks meet exactly at the border at any screen width. */
.page-about .page-hero-art { width: 560px; opacity: 1; -webkit-mask-image: none; mask-image: none; }
.page-about .page-hero-art .hero-svg { object-fit: none; object-position: right bottom; }
.art-welllog::after {
  background-image: url("../img/light-welllog.svg"); background-size: 560px 440px; background-position: right top;
  width: 560px; opacity: .45;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
@media (max-width: 760px) {
  .page-about .page-hero-art { opacity: .3; }
  .art-welllog::after { opacity: .14; }
}
@media (max-width: 760px) { .has-art::after { width: 100%; opacity: .07; } }

/* services */
.svc-art { position: relative; isolation: isolate; align-self: stretch; }
.svc-art::before {
  content: ""; position: absolute; inset: -28px -8px -28px -24px; z-index: -1; pointer-events: none;
  background: no-repeat right center / cover; opacity: .17;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 62% 50%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 80% at 62% 50%, #000 45%, transparent 100%);
}
.svc-advisory::before   { background-image: url("../img/svc-advisory.svg"); }
.svc-strategy::before   { background-image: url("../img/svc-strategy.svg"); }
.svc-capability::before { background-image: url("../img/svc-capability.svg"); }
.service-head .lead { color: var(--gold-text); font-weight: 500; text-shadow: 0 0 6px #fff, 0 0 12px #fff; }
.service-head h2::before { content: ""; display: block; width: 46px; height: 3px; background: var(--gold); margin-bottom: 18px; }
.service-list { display: grid; }
.service-row {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--sand-line); scroll-margin-top: 24px;
}
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row:last-child { padding-bottom: 0; }
.service-head h2 { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 600; color: var(--brand-navy); }

/* expertise */
.basin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.basin-group h3 { margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.basin-note { margin: 28px 0 0; max-width: 60ch; color: var(--slate); }
.credentials-row { margin-top: 36px; }
@media (max-width: 760px) { .basin-grid { grid-template-columns: 1fr; } }
.role-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.role-grid li { background: var(--white); border: 1px solid #e6e1d8; border-top: 3px solid var(--gold); padding: 24px 26px; }
.role-grid h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--brand-navy); line-height: 1.35; }
.role-grid p { margin: 0; font-size: 15.5px; }
.outcome-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.outcome-list li { padding: 14px 0; border-bottom: 1px solid #ece8e1; line-height: 1.5; }
.outcome-list strong {
  display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper);
}

/* about */
.profile { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.profile-side picture { display: block; }
.profile-side img.profile-photo { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
@media (max-width: 900px) { .profile-side picture { max-width: 300px; } }
.profile-photo { background: var(--sand); box-shadow: 0 18px 40px -22px rgba(6,27,53,.45); border-bottom: 3px solid var(--gold); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: var(--radius); }
.profile-photo-placeholder {
  display: grid; place-items: center; background: linear-gradient(160deg, var(--navy-800), var(--brand-navy));
  border-bottom: 3px solid var(--gold);
}
.profile-photo-placeholder span { font-size: 64px; font-weight: 300; letter-spacing: .08em; color: var(--gold); }
.profile-name { margin: 20px 0 2px; font-size: 22px; font-weight: 700; color: var(--brand-navy); }
.profile-role { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.profile-creds { font-size: 14px; line-height: 1.6; color: var(--slate-soft); margin-bottom: 16px; }

/* steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid var(--gold); color: var(--copper); font-weight: 600; font-size: 16px;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -16px; height: 1px; background: var(--sand-line); }
.steps h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--brand-navy); }
.steps p { margin: 0; font-size: 15.5px; }
.steps-compact { grid-template-columns: 1fr; gap: 20px; }
.steps-compact li { padding: 0 0 0 58px; min-height: 40px; }
.steps-compact li:not(:last-child)::after { top: 48px; bottom: -16px; left: 20px; right: auto; width: 1px; height: auto; }

/* contact + forms */
.form-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact-details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 8px; }
.contact-details dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); padding-top: 3px; }
.contact-details dd { margin: 0; color: var(--brand-navy); }
.contact-details a { color: var(--brand-navy); }
.aside-link { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--sand-line); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.form-aside p + .contact-details { margin-top: 24px; }

.enquiry-form { background: var(--sand-tint); border: 1px solid #e6e1d8; border-top: 3px solid var(--gold); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 20px; scroll-margin-top: 24px; }
.form-title { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-navy); }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--brand-navy); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9ccd1; border-radius: var(--radius); background: var(--white);
  font: 16px/1.5 var(--font); color: var(--brand-navy);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field-check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.field-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--copper); }
.field-check label { font-weight: 400; font-size: 14.5px; color: var(--slate); line-height: 1.5; }
.field-check .field-error { grid-column: 2; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.field-error { margin: 0; font-size: 13.5px; color: var(--error); }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-size: 15px; line-height: 1.5; }
.form-status strong { display: block; }
.form-status-ok { background: #e7f3ec; color: var(--ok); border: 1px solid #b9dcc8; }
.form-status-error { background: #fbeceb; color: var(--error); border: 1px solid #f0c5c1; }
.form-note { margin: 0; font-size: 13px; color: var(--slate-soft); }
.enquiry-form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* call to action */
.cta-band { background: var(--navy-900); color: var(--on-dark); border-top: 1px solid var(--rule-dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(40px, 5vw, 60px); }
.cta-text { margin: 0; max-width: 48ch; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; color: var(--white); }

@media (max-width: 900px) {
  .split, .service-row, .form-layout, .profile { grid-template-columns: 1fr; }
  .profile-side { max-width: 360px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2)::after { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .role-grid, .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .steps-compact li:not(:last-child)::after { display: block; }
}

/* ---------- Footer (compact) ---------- */
.site-footer { background: var(--navy-950); color: #9fb0c0; font-size: 14px; border-top: 1px solid var(--rule-dark); }
.footer-inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 20px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap;
}
.footer-logo { display: block; height: 24px; width: auto; }
.footer-text { display: grid; gap: 2px; margin-right: auto; }
.footer-contact { margin: 0; line-height: 1.5; }
.footer-legal { margin: 0; font-size: 12px; line-height: 1.5; letter-spacing: .02em; color: #7d90a2; }
.footer-sep { margin: 0 8px; color: #3a4b5d; }
.site-footer a { color: #dfe7ef; text-decoration: none; }
.site-footer a:hover { color: var(--gold-hi); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-sep { display: block; height: 0; overflow: hidden; margin: 0; }
}

/* ---------- v2: motion ---------- */
/* Content is fully visible by default; the fade-up only applies once the script
   has confirmed it can run, and only to sections below the first screen. */
.js-motion .reveal.is-pending { opacity: 0; transform: translateY(22px); }
.js-motion .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
@keyframes strata-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.03) translate3d(-1%, -.6%, 0); }
}
.hero-photo { animation: strata-drift 28s ease-in-out infinite alternate; transform-origin: 60% 50%; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
  .js-motion .reveal.is-pending { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- touch comfort on phones and tablets ---------- */
.text-link { padding-block: 6px; }
@media (pointer: coarse) {
  .field-check input { width: 24px; height: 24px; margin-top: 0; }
  .field-check { grid-template-columns: 28px 1fr; }
  .site-footer a { display: inline-block; padding-block: 6px; }
  .footer-links { gap: 24px; }
}
/* stop iOS zooming into form fields */
@media (max-width: 760px) { .field input, .field select, .field textarea { font-size: 16px; } }
