/* Hodges Maven Consulting: Direction A (calm, authoritative) */

@font-face {
  font-family: "Inter";
  src: url("vendor/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --slate: #3A505D;
  --slate-950: #0F181D;
  --slate-900: #16222A;
  --slate-800: #1F2E37;
  --slate-700: #2B3D48;
  --ink: #1A252C;
  --text: #33434C;
  --muted: #56676F;
  --line: #DCE2E5;
  --grey: #F2F4F5;
  --white: #FFFFFF;
  --sky: #8FC3E0;
  --sky-ink: #0F1D25;
  --on-dark-2: #C9D6DD;

  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 12px 40px rgba(5, 12, 16, 0.35);
  --glass-dark: rgba(22, 34, 42, 0.86);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 16px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Small letter-spaced labels echo the wordmark */
.eyebrow, .label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow--light { color: var(--white); }
.bar { display: inline-block; width: 36px; height: 4px; background: var(--slate); }
.eyebrow--light .bar { background: var(--sky); }
.label { display: block; margin-bottom: 6px; font-size: .6875rem; }
.label--light { color: var(--on-dark-2); }

.h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 500; max-width: 22ch; }
.h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 .9375rem/1.2 var(--font); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--sky { background: var(--sky); color: var(--sky-ink); }
.btn--sky:hover { background: #A9D2EA; color: var(--sky-ink); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--slate { background: var(--slate); color: var(--white); }
.btn--slate:hover { background: var(--slate-800); color: var(--white); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.glass--dark { background: var(--glass-dark); border-color: rgba(255,255,255,.16); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(31, 46, 55, .96); }
  .glass--dark { background: var(--slate-900); }
}

/* ---------- Animated background shapes ---------- */
.shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shapes span {
  position: absolute; border-radius: 50%;
  will-change: transform;
  animation: drift 38s ease-in-out infinite alternate;
}
.shapes span:nth-child(1) { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: radial-gradient(closest-side, rgba(74,110,132,.55), rgba(74,110,132,0)); }
.shapes span:nth-child(2) { width: 46vmax; height: 46vmax; right: -14vmax; top: 18%; background: radial-gradient(closest-side, rgba(143,195,224,.12), rgba(143,195,224,0)); animation-duration: 46s; animation-delay: -12s; }
.shapes span:nth-child(3) { width: 52vmax; height: 52vmax; left: 30%; bottom: -30vmax; background: radial-gradient(closest-side, rgba(58,80,93,.7), rgba(58,80,93,0)); animation-duration: 52s; animation-delay: -24s; }
.shapes.is-paused span { animation-play-state: paused; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 7vmax, 0) scale(.95); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-solid, .menu-open .nav { background: var(--glass-dark); box-shadow: 0 6px 24px rgba(5,12,16,.18); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(22,34,42,.94); }
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand img { width: 112px; height: auto; }
@media (min-width: 720px) { .nav__brand img { width: 136px; } }
.nav__toggle {
  width: 48px; height: 48px; margin-right: -8px; display: grid; place-items: center;
  background: none; border: 0; color: var(--white); cursor: pointer;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -7px; }
.nav__toggle-bars::after { top: 7px; }
.menu-open .nav__toggle-bars { background: transparent; }
.menu-open .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav__menu { display: none; }
.nav__menu a:not(.btn) { color: var(--white); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav__menu a:not(.btn):hover { color: var(--sky); }
.menu-open .nav__menu {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: 68px; left: 0; right: 0;
  padding: 8px var(--gutter) 20px;
  background: var(--glass-dark);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.menu-open .nav__menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu-open .nav__menu .btn { margin-top: 12px; }
@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu, .menu-open .nav__menu {
    display: flex; flex-direction: row; align-items: center; gap: 30px;
    position: static; padding: 0; background: none; border: 0;
  }
  .menu-open .nav__menu a:not(.btn) { padding: 0; border: 0; }
  .menu-open .nav__menu .btn { margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 108px 0 64px;
  background: linear-gradient(160deg, var(--slate-950) 0%, var(--slate-900) 40%, #26363F 75%, #34495A 100%);
  color: var(--white);
}
.hero::after { /* letterhead bar */
  content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: min(62%, 720px); background: var(--slate);
}
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.35fr .9fr; gap: 64px; } }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 500; letter-spacing: -0.025em; max-width: 18ch; margin-bottom: 24px; }
.hero__lead { color: var(--white); font-size: clamp(1rem, 1.6vw, 1.125rem); max-width: 60ch; line-height: 1.7; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.draft-pill {
  display: inline-block; margin-bottom: 22px; padding: 6px 12px;
  border: 1px dashed rgba(255,255,255,.45); border-radius: 999px;
  font-size: .75rem; color: var(--white);
}
.anim [data-hero-in] { opacity: 0; }

.pillars { border-radius: 20px; padding: 28px; color: var(--white); }
.pillars__title { color: var(--white); font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.pillars__list { list-style: none; margin: 0; padding: 0; }
.pillars__list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); }
.pillars__list li:first-child { border-top: 0; padding-top: 0; }
.pillars__n { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; padding-top: 2px; }
.pillars__list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.pillars__list span:not(.pillars__n) { font-size: .9375rem; }

/* ---------- Units ---------- */
.units-intro { padding: 88px 0 48px; }
.units-index {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; gap: 0; border-top: 1px solid var(--line);
}
@media (min-width: 720px) { .units-index { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1040px) { .units-index { grid-template-columns: repeat(3, 1fr); } }
.units-index a {
  display: flex; gap: 14px; align-items: baseline; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 500; text-decoration: none;
  transition: color .2s, padding-left .3s var(--ease);
}
.units-index a span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.units-index a:hover { color: var(--slate); padding-left: 6px; }

.unit { padding: 72px 0; border-top: 1px solid var(--line); }
.unit--grey { background: var(--grey); }
.unit__inner { display: grid; gap: 24px; }
@media (min-width: 860px) {
  .unit { padding: 104px 0; }
  .unit__inner { grid-template-columns: 220px 1fr; gap: 56px; }
}
.unit__side { display: flex; align-items: center; gap: 18px; }
@media (min-width: 860px) { .unit__side { flex-direction: column; align-items: flex-start; } }
.unit__num { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 300; line-height: 1; color: var(--slate); letter-spacing: -0.03em; }
.unit__icon { width: 34px; height: 34px; fill: none; stroke: var(--slate); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.unit__body { max-width: 680px; }
.unit__body .h3 { margin-bottom: 16px; }
.unit__lead { font-size: clamp(1.0625rem, 1.8vw, 1.25rem); color: var(--ink); line-height: 1.55; }
.unit__tech { color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); margin-top: 24px; margin-bottom: 28px; }
.unit__note { font-size: .875rem; color: var(--muted); margin-top: -12px; margin-bottom: 24px; }

/* ---------- Generic sections ---------- */
.section { padding: 88px 0; }
@media (min-width: 860px) { .section { padding: 120px 0; } }
.section--grey { background: var(--grey); }
.placeholder-note { color: var(--muted); font-size: .875rem; margin-top: 12px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 28px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 2px solid var(--slate); padding-top: 18px; }
.steps__n { font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.steps h3 { font-size: 1.25rem; font-weight: 600; margin: 8px 0 8px; }
.steps p { margin: 0; }

.about { display: grid; gap: 40px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
.about .h2 { margin-bottom: 20px; }
.mission { margin: 0 0 28px; padding: 0 0 0 24px; border-left: 4px solid var(--slate); }
.mission p { font-size: clamp(1.125rem, 2.2vw, 1.375rem); line-height: 1.5; color: var(--ink); font-weight: 400; }
.mission footer { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.placeholder-box { border: 1px dashed #9AA9B1; border-radius: var(--radius); padding: 20px 22px; background: var(--white); }
.placeholder-box strong { color: var(--ink); }
.placeholder-box p { margin: 6px 0 0; color: var(--muted); }

/* ---------- Form ---------- */
.enquiry { display: grid; gap: 40px; }
@media (min-width: 960px) { .enquiry { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.enquiry__intro .h2 { margin-bottom: 18px; }
.form {
  display: grid; gap: 18px;
  padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white);
  box-shadow: 0 20px 50px rgba(22,34,42,.06);
}
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; padding: 36px; } }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 1px solid #A9B6BD; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(58,80,93,.2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--text); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--slate); flex: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin: 0; font-size: .9375rem; color: var(--ink); background: var(--grey); padding: 10px 14px; border-radius: 10px; }

/* ---------- Footer ---------- */
.footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(170deg, var(--slate-900), var(--slate-950));
  color: var(--white); padding: 80px 0 120px;
}
.footer::before { content: ""; position: absolute; left: 0; top: 0; height: 6px; width: min(62%, 720px); background: var(--slate); }
.shapes--footer span:nth-child(1) { opacity: .6; }
.footer__inner { position: relative; }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.footer__top img { width: 136px; height: auto; }
.footer__title { color: var(--white); font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.contact-cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { border-radius: var(--radius); padding: 22px; }
.contact-card p { margin: 0; color: var(--white); font-size: 1.0625rem; }
.contact-card a { color: var(--white); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: .8125rem; color: var(--on-dark-2); }
.legal p { margin: 0 0 8px; }
.legal strong { color: var(--white); }

/* ---------- Floating buttons + chat ---------- */
.fab, .chat__bubble {
  position: fixed; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); cursor: pointer;
}
.fab svg, .chat__bubble svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fab--wa { right: 16px; bottom: 84px; background: var(--slate); box-shadow: 0 8px 24px rgba(5,12,16,.3); }
.fab--wa:hover { color: var(--white); background: var(--slate-800); }
.chat__bubble { right: 16px; bottom: 16px; border-radius: 50%; padding: 0; }
.chat__bubble[aria-expanded="true"] { background: var(--slate); }
@media (min-width: 720px) {
  .fab--wa { right: 24px; bottom: 96px; }
  .chat__bubble { right: 24px; bottom: 24px; }
}
.chat__panel {
  position: fixed; z-index: 61; right: 16px; left: 16px; bottom: 84px;
  max-height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column;
  border-radius: 20px; color: var(--white); overflow: hidden;
}
.chat__panel[hidden] { display: none; }
@media (min-width: 520px) { .chat__panel { left: auto; width: 360px; right: 24px; bottom: 96px; } }
.chat__head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.chat__title { margin: 0; font-weight: 600; color: var(--white); }
.chat__sub { margin: 2px 0 0; font-size: .8125rem; color: var(--on-dark-2); }
.chat__close { width: 40px; height: 40px; margin: -6px -6px 0 0; border: 0; background: none; color: var(--white); cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.chat__close:hover { background: rgba(255,255,255,.1); }
.chat__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 90px; }
.chat__msg { margin: 0; padding: 10px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.45; max-width: 88%; }
.chat__msg--bot { background: rgba(255,255,255,.1); color: var(--white); border-bottom-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; background: var(--sky); color: var(--sky-ink); border-bottom-right-radius: 4px; }
.chat__opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid rgba(255,255,255,.14); }
.chat__opts button, .chat__enquire {
  min-height: 40px; padding: 8px 14px; border-radius: 999px;
  font: 500 .875rem/1.2 var(--font); cursor: pointer; text-decoration: none;
}
.chat__opts button { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.chat__opts button:hover { background: rgba(255,255,255,.1); }
.chat__enquire { display: inline-flex; align-items: center; background: var(--sky); color: var(--sky-ink); border: 1px solid var(--sky); }
.chat__enquire:hover { color: var(--sky-ink); background: #A9D2EA; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim [data-hero-in] { opacity: 1; }
}
