/* ============================================================
   AURELIAN CONSULTING LTD. — BRAND SYSTEM
   Strategic Statesman: authoritative, precise, inclusive.
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Backgrounds */
  --black-aurelian: #0A0A0A;
  --black-charcoal: #121212;
  --black-raised: #1a1a1a;
  --black-line: rgba(197, 160, 89, 0.14);

  /* Accents — muted antique gold sampled from the brand logo */
  --gold-deep: #C6A15A;   /* primary */
  --gold-bright: #D8B45E; /* highlight (no more bright yellow) */
  --gold-dark: #9C7A34;
  --gold-khaki: #E7D294;
  --aurelian-gradient: linear-gradient(135deg, #9C7A34 0%, #D8B45E 50%, #E7D294 100%);

  /* Semantic */
  --emerald: #005C4F;
  --midnight: #0A2540;
  --amber: #BF8B2E;
  --error: #CF6679;

  /* Text */
  --text-pure: #FFFFFF;
  --text-silver: #E0E0E0;
  --text-muted: #9a958c;
  --text-dim: #6b675f;

  /* Typography */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.6s;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--black-charcoal);
  color: var(--text-silver);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle carbon-fibre texture overlay for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  background-position: 0 0, 2px 2px;
  opacity: 0.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold-deep); color: var(--black-aurelian); }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 800; color: var(--text-pure); }

.display, h1 {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 800;
}

h3 {
  font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.65rem);
  letter-spacing: 0.02em;
  font-weight: 700;
}

h4 { font-size: 1.1rem; letter-spacing: 0.02em; font-weight: 600; }

/* Sans-serif secondary headings */
.sans-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

p { color: var(--text-silver); }
.lead { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); line-height: 1.55; color: var(--text-pure); font-weight: 500; }

/* Aurelian gradient text — reserved for wordmark/logo & display highlights only */
.gradient-text {
  background: var(--aurelian-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gold { color: var(--gold-deep); }
.muted { color: var(--text-muted); }

/* ---------- 4. LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.section { padding-block: var(--section-y); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.75rem;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}

.section-intro { max-width: 640px; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--black-line) 20%, var(--black-line) 80%, transparent);
  border: 0;
}

/* Geometric framework grid — thin gold lines behind hero/sections */
.geo-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(197,160,89,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,160,89,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  z-index: 0;
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2rem;
  border-radius: 4px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold-deep);
  color: var(--black-aurelian);
}
.btn--primary:hover {
  background: var(--aurelian-gradient);
  box-shadow: 0 0 32px -4px rgba(255,215,0,0.45), 0 0 0 1px rgba(255,215,0,0.3);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-deep);
  border: 1px solid var(--gold-deep);
}
.btn--ghost:hover {
  background: var(--gold-deep);
  color: var(--black-aurelian);
  box-shadow: 0 0 24px -6px rgba(197,160,89,0.5);
}

/* ---------- 6. NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 0.9rem;
  /* background: rgba(18, 18, 18, 0.7); */
  /* backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%); */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
  transition: padding var(--dur) var(--ease);
}
.nav.is-scrolled {
  padding-block: 0.65rem;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.nav__inner {
  padding: 22px;
  border: 2px solid #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  gap: 2rem;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 38px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-silver);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--gold-deep); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: inline-flex; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span {
  width: 24px; height: 2px; background: var(--text-pure);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-pure);
  transition: color 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--gold-deep); }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 7rem;
  padding-bottom: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 130% 90% at 50% 2%, #424037 0%, #2c2a25 34%, #1b1a17 62%, var(--black-aurelian) 100%);
}

/* Mesh gradient texture layered behind the smoke for added depth */
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    radial-gradient(at 18% 22%, rgba(216, 164, 83, 0.10) 0px, transparent 45%),
    radial-gradient(at 82% 18%, rgba(60, 58, 52, 0.55) 0px, transparent 50%),
    radial-gradient(at 72% 78%, rgba(90, 76, 52, 0.35) 0px, transparent 45%),
    radial-gradient(at 28% 82%, rgba(20, 60, 90, 0.22) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(40, 38, 34, 0.30) 0px, transparent 60%);
}
/* Fine mesh grid lines for a technical fabric feel */
.hero__mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(216, 164, 83, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 164, 83, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%);
}

/* Procedural smoke, painted to fill the hero */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

/* Darkening vignette so the wordmark and lede stay legible over smoke */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.45) 0%, rgba(18,18,18,0.12) 18%, transparent 35%, transparent 60%, rgba(18,18,18,0.75) 100%);
}
/* Apple-style frosted glass layer over the hero content area */
.hero__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(3px) saturate(140%);
  -webkit-backdrop-filter: blur(3px) saturate(140%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 40%, transparent 65%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 40%, transparent 65%);
}

/* Fine film grain over everything */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 0.5px, transparent 0.6px),
    radial-gradient(rgba(0,0,0,0.10) 0.5px, transparent 0.6px);
  background-size: 3px 3px, 4px 4px;
  background-position: 0 0, 1px 2px;
}

/* Hero inner: centre block grows, wordmark anchors the bottom */
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

/* CENTRE: globe + statement, vertically centred in the upper region */
.hero__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  padding-inline: var(--gutter);
  max-width: 640px;
}

.hero__globe {
  width: clamp(46px, 5vw, 64px);
  height: auto;
  color: var(--gold-deep);
  opacity: 0.9;
}
.hero__meridian {
  transform-box: fill-box;
  transform-origin: center;
  animation: globeSpin 14s linear infinite;
}
.hero__meridian--b { animation-delay: -4.6s; }
.hero__meridian--c { animation-delay: -9.3s; }
@keyframes globeSpin {
  0%   { transform: scaleX(1); }
  50%  { transform: scaleX(-1); }
  100% { transform: scaleX(1); }
}

.hero__lede {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.1rem, 0.9rem + 1.1vw, 1.6rem);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-silver);
  text-transform: none;
  text-wrap: balance;
}
.hero__lede + .hero__lede {
  font-weight: 400;
  color: var(--text-muted);
}

/* BOTTOM: giant brand wordmark, bled edge-to-edge like Monolog */
.hero__wordmark {
  display: block;
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  line-height: 0;
}
.hero__wordmark-svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero__wordmark-svg text {
  font-size: 178px;
  font-family: UI-MONOSPACE;
  font-weight: 100;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero__wordmark-svg .wm-rest,
.hero__wordmark-svg .wm-au {
  font-family:  UI-MONOSPACE;
  font-weight: 100;
}

/* ---------- 8. POSITIONING STATEMENT ---------- */
.statement {
  border-top: 1px solid var(--black-line);
  border-bottom: 1px solid var(--black-line);
}
.statement__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.statement__label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  position: sticky;
  top: 6rem;
}

/* ---------- 9. PILLARS ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--black-line);
  border: 1px solid var(--black-line);
}
.pillar {
  background: var(--black-charcoal);
  padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.2vw, 2.25rem);
  transition: background 0.5s var(--ease);
  position: relative;
}
.pillar:hover { background: var(--black-raised); }
.pillar__num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
}
.pillar__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.pillar__tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- 10. SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
/* Glassmorphism card */
.service-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197,160,89,0.28);
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 1px;
  background: var(--aurelian-gradient);
  transition: left 0.7s var(--ease);
}
.service-card:hover {
  border-color: rgba(197,160,89,0.6);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.055);
}
.service-card:hover::before { left: 0; }

.service-card__icon { width: 40px; height: 40px; margin-bottom: 1.5rem; color: var(--text-pure); transition: color 0.5s var(--ease); }
.service-card:hover .service-card__icon { color: var(--gold-deep); }
.service-card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.service-card__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--text-pure);
  margin-bottom: 0.85rem;
}
.service-card__desc { font-size: 0.96rem; color: var(--text-silver); margin-bottom: 1.5rem; }

.service-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(197,160,89,0.3);
  border-radius: 2px;
}

/* ---------- 11. METHODOLOGY (ENGAGEMENT ARC) ---------- */
.method { position: relative; }
.method-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--black-line);
  border: 1px solid var(--black-line);
}
.phase {
  background: var(--black-charcoal);
  padding: clamp(1.75rem, 2.4vw, 2.5rem) clamp(1.25rem, 1.8vw, 1.9rem);
  position: relative;
  transition: background 0.5s var(--ease);
}
.phase:hover { background: var(--black-raised); }
.phase__num {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}
.phase__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}
.phase__desc { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- 12. ENGAGEMENT MODEL + CLIENTELE (split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.panel {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197,160,89,0.22);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.panel + .panel { margin-top: 1.25rem; }
.panel h3 { margin-bottom: 1rem; }
.panel p { color: var(--text-silver); }
.panel .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }

.clientele-list { display: flex; flex-direction: column; gap: 1px; background: var(--black-line); border-top: 1px solid var(--black-line); border-bottom: 1px solid var(--black-line); }
.clientele-item {
  background: var(--black-charcoal);
  padding: clamp(1.5rem, 2.4vw, 2rem) 0.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: background 0.4s var(--ease);
}
.clientele-item:hover { background: var(--black-raised); }
.clientele-item__num {
  font-family: var(--font-serif);
  color: var(--gold-deep);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  min-width: 2ch;
}
.clientele-item__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
}

/* ---------- 13. CONTACT / CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta__panel {
  position: relative;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197,160,89,0.3);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: left;
}
.path {
  border: 1px solid var(--black-line);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  background: rgba(10,10,10,0.4);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.path:hover { border-color: rgba(197,160,89,0.55); transform: translateY(-3px); }
.path__label {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.path h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.75rem; }
.path p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- 14. FORM ---------- */
.form { display: grid; gap: 1.75rem; max-width: 640px; margin-top: 0; }
.field { position: relative; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(197,160,89,0.35);
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.6rem 0;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--gold-bright);
  box-shadow: 0 2px 12px -4px rgba(255,215,0,0.5);
}
.field select option { background: var(--black-charcoal); color: var(--text-pure); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--error); }
.field__error { color: var(--error); font-size: 0.78rem; margin-top: 0.4rem; display: none; }
.field.has-error .field__error { display: block; }
.form__note { font-size: 0.82rem; color: var(--text-dim); }
.form-success {
  display: none;
  padding: 1.25rem;
  border: 1px solid var(--gold-deep);
  color: var(--text-pure);
  background: rgba(197,160,89,0.08);
}
.form-success.is-visible { display: block; }

/* ---------- 15. FOOTER ---------- */
.footer {
  border-top: 1px solid var(--black-line);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}
.footer__brand img { height: 42px; margin-bottom: 1.25rem; }
.footer__brand p { font-size: 0.88rem; color: var(--text-muted); max-width: 280px; }
.footer h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { font-size: 0.9rem; color: var(--text-silver); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--gold-deep); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--black-line);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- 16. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .statement__inner { grid-template-columns: 1fr; gap: 1rem; }
  .statement__label { position: static; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .method-track { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  /* Tablet hero adjustments */
  .hero { min-height: 100svh; }
  .hero__inner { gap: clamp(1.5rem, 4vw, 3rem); }
  .hero__blob--blue { width: 60vw; height: 60vw; }
  .hero__blob--grey { width: 56vw; height: 56vw; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .method-track { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  /* Mobile hero — keep it full-height, tighten the centre block */
  .hero {
    padding-top: 5.5rem;
  }
  .hero__inner { gap: clamp(1.5rem, 6vw, 2.5rem); }
  .hero__center { gap: clamp(1.25rem, 5vw, 2rem); }
}

/* Respect reduced-motion: stop the globe spin */
@media (prefers-reduced-motion: reduce) {
  .hero__meridian { animation: none; }
}
