/* ==========================================================================
   SUB-CORE LTD — Subsurface Solutions · Highways Engineering Consultancy
   Design system + site styles  ·  LIGHT theme, BLUE + GREEN brand
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces (light) */
  --ink:        #f0f4fb;   /* lightest tint — bands, footer bg tint */
  --bg:         #ffffff;   /* page background */
  --surface:    #f8fafc;   /* cards, raised panels */
  --surface-2:  #eef2f9;   /* hover / elevated */
  --paper:      #f4f7fd;   /* alternating sections */
  --mist:       #e8f5d0;   /* icon chips — light green */
  --navy:       #1b346d;   /* brand blue — dark sections, footer */
  --navy-700:   #2a4d99;   /* lighter blue */

  /* Brand green (primary action colour) */
  --red:        #61ac0a;
  --red-600:    #4d8c08;
  --red-400:    #7dd40f;
  --red-300:    #9ee632;
  --signal:     #f59e0b;

  /* Text */
  --heading:    #0f172a;
  --text:       #1e293b;
  --text-soft:  #475569;
  --steel:      #94a3b8;
  --white:      #ffffff;
  --text-onDark:#c5d5f0;
  --text-onDark-soft:#8aa3d4;

  /* Lines & surfaces */
  --line:       rgba(0,0,0,.08);
  --line-dark:  rgba(0,0,0,.12);

  /* Typography */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 9px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 6px 24px rgba(0,0,0,.08);
  --shadow-2: 0 14px 44px rgba(0,0,0,.12);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--heading); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content:""; width: 28px; height: 2px; background: var(--red); display:inline-block; }
.eyebrow.on-dark { color: var(--red-300); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); max-width: 60ch; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.center { text-align: center; margin-inline: auto; }
.maxch { max-width: 62ch; }

/* ---------- Legal / policy content ---------- */
.legal { max-width: 760px; }
.legal .updated { color: var(--steel); font-size: .9rem; margin-bottom: 2.4rem; }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-top: 2.6rem; margin-bottom: .9rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6rem; margin-bottom: .5rem; color: var(--heading); }
.legal p { color: var(--text-soft); line-height: 1.75; margin-bottom: 1rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 1rem; }
.legal li { margin-bottom: .45rem; }
.legal a { color: var(--navy); text-decoration: underline; }
.legal a:hover { color: var(--red-600); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(97,172,10,.35); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-dark); }
.btn--ghost:hover { box-shadow: none; border-color: var(--red); background: rgba(97,172,10,.08); }
.btn--ghost.on-dark { color: var(--white); border-color: rgba(255,255,255,.3); }
.btn--ghost.on-dark:hover { background: rgba(255,255,255,.12); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

.link-arrow { font-family: var(--font-head); font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding-block: 14px;
}
.site-header.scrolled, .header-solid {
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled { padding-block: 8px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Logo image in nav */
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  color: var(--text-soft); padding: .4rem 0; position: relative; transition: color .2s;
}
.nav-links a::after { content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background: var(--red); transition: width .25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--heading); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Nav text white on transparent (pre-scroll) header — homepage only */
.site-header:not(.scrolled):not(.header-solid) .nav-links a { color: rgba(255,255,255,.8); }
.site-header:not(.scrolled):not(.header-solid) .nav-links a:hover,
.site-header:not(.scrolled):not(.header-solid) .nav-links a[aria-current="page"] { color: #fff; }
.site-header:not(.scrolled):not(.header-solid) .nav-toggle { color: #fff; }

/* Logo swap: light version on dark hero, dark version once scrolled */
.brand-logo.logo-light { display: none; }
.site-header:not(.scrolled):not(.header-solid) .brand-logo.logo-light { display: block; }
.site-header:not(.scrolled):not(.header-solid) .brand-logo.logo-dark { display: none; }

/* Header variant used on interior pages */
.header-solid { position: sticky; }

/* Offset anchor-link scroll targets so the sticky header doesn't cover them */
[id] { scroll-margin-top: 96px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  background: radial-gradient(120% 120% at 80% 0%, #2a4d99 0%, #1b346d 45%, #0d1f42 100%);
  padding-top: clamp(140px, 18vh, 220px); padding-bottom: clamp(80px, 12vh, 150px);
  overflow: hidden;
}
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1; opacity:.7;
  background-image:
    linear-gradient(rgba(97,172,10,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97,172,10,.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 80%);
}
.hero::after {
  content:""; position:absolute; z-index:-1; width: 520px; height: 520px; border-radius: 50%;
  right: -120px; top: -120px; background: radial-gradient(circle, rgba(97,172,10,.3), transparent 60%);
  filter: blur(10px);
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--red-300); }
.hero .lead { color: var(--text-onDark); margin-top: 1.5rem; }
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-meta { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.8rem; }
.hero-meta div { min-width: 120px; }
.hero-meta .num { font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 600; color: var(--white); line-height: 1; }
.hero-meta .num b { color: var(--red-300); font-weight: 600; }
.hero-meta .lbl { font-size: .82rem; color: var(--text-onDark-soft); letter-spacing: .04em; margin-top: .5rem; text-transform: uppercase; }

/* page hero (interior) */
.page-hero { background: radial-gradient(120% 120% at 100% 0%, #2a4d99 0%, #1b346d 50%, #0d1f42 100%); color: var(--white); padding-top: clamp(120px,16vh,180px); padding-bottom: clamp(56px,8vw,90px); position: relative; overflow:hidden; isolation:isolate; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image: linear-gradient(rgba(97,172,10,.1) 1px,transparent 1px), linear-gradient(90deg,rgba(97,172,10,.1) 1px,transparent 1px);
  background-size: 52px 52px; mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 75%); }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: var(--text-onDark); margin-top: 1.2rem; }
.breadcrumb { font-size: .85rem; color: var(--text-onDark-soft); margin-bottom: 1.2rem; font-family: var(--font-head); letter-spacing: .03em; }
.breadcrumb a:hover { color: var(--red-300); }

/* ---------- Logos / trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust .container { display: flex; align-items: center; gap: clamp(1.5rem,4vw,3rem); flex-wrap: wrap; justify-content: center; padding-block: 28px; }
.trust span { font-family: var(--font-head); font-weight: 600; color: var(--steel); letter-spacing: .12em; font-size: .82rem; text-transform: uppercase; }
.trust .trust-statement { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }

/* ---------- Section header ---------- */
.section-head { display: grid; gap: 1rem; max-width: 56ch; margin-bottom: clamp(2.4rem,5vw,3.6rem); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--text-soft); font-size: 1.08rem; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; max-width: none; }

/* ---------- Cards: services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(18px,2.5vw,26px); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 2.4vw, 2.2rem); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.card::after { content:""; position:absolute; left:0; top:0; height:3px; width:0; background: linear-gradient(90deg,var(--navy),var(--red)); transition: width .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(97,172,10,.35); background: #ffffff; }
.card:hover::after { width: 100%; }
.card .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--navy); margin-bottom: 1.3rem; transition: background .3s, color .3s; }
.card:hover .ico { background: var(--red); color: #fff; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--text-soft); font-size: .98rem; }
.card ul.ticks { margin-top: 1rem; display: grid; gap: .5rem; }
.card ul.ticks li { font-size: .92rem; color: var(--text-soft); padding-left: 1.4rem; position: relative; }
.card ul.ticks li::before { content:""; position:absolute; left:0; top:.55em; width:8px; height:8px; border-radius:2px; background: var(--red); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4/3; }
.split-media img { width:100%; height:100%; object-fit: cover; }
.split-body h2 { margin-bottom: 1.1rem; }
.split-body .lead { margin-bottom: 1.6rem; }
.feature-list { display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.feature-list .fi { width: 40px; height: 40px; border-radius: 10px; background: var(--mist); color: var(--navy); display:grid; place-items:center; flex:none; }
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list b { display:block; font-family: var(--font-head); color: var(--heading); margin-bottom: .15rem; }
.feature-list span { color: var(--text-soft); font-size: .96rem; }

/* media placeholder gradient (no external images required) */
.media-fig { background: linear-gradient(150deg,var(--navy-700),var(--navy)); position: relative; }
.media-fig::before { content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(97,172,10,.15) 1px,transparent 1px), linear-gradient(90deg,rgba(97,172,10,.15) 1px,transparent 1px);
  background-size: 32px 32px; }
.media-fig .tag { position:absolute; left:18px; bottom:18px; z-index:2; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); border:1px solid rgba(255,255,255,.15); color:#fff; font-family:var(--font-head); font-size:.85rem; padding:.5rem .9rem; border-radius:999px; }
.media-fig .glyph { position:absolute; inset:0; display:grid; place-items:center; color: rgba(97,172,10,.6); }
.media-fig .glyph svg { width: 38%; height: auto; }

/* ---------- Sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sector {
  background: var(--surface); padding: clamp(1.6rem,2.5vw,2.2rem); min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.sector:hover { background: var(--navy); color: var(--white); }
.sector:hover h3, .sector:hover .num-badge { color: var(--white); }
.sector:hover p { color: rgba(255,255,255,.85); }
.sector:hover .sec-ico { color: var(--red-300); }
.sector .sec-ico { color: var(--navy); transition: color .3s; }
.sector .sec-ico svg { width: 30px; height: 30px; }
.sector h3 { font-size: 1.15rem; }
.sector p { color: var(--text-soft); font-size: .92rem; margin-top: .4rem; transition: color .3s; }
.num-badge { font-family: var(--font-head); font-size: .8rem; color: var(--steel); letter-spacing: .1em; }

/* ---------- Stats band ---------- */
.band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image: linear-gradient(rgba(97,172,10,.1) 1px,transparent 1px), linear-gradient(90deg,rgba(97,172,10,.1) 1px,transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent); }
.stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: clamp(1.5rem,3vw,2.5rem); text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.4rem,5vw,3.6rem); color: var(--red-300); line-height: 1; }
.stat .lbl { color: var(--text-onDark); margin-top: .7rem; font-size: .95rem; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: clamp(18px,2.5vw,28px); }
.project { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; display:flex; flex-direction:column; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(97,172,10,.35); }
.project .pimg { aspect-ratio: 16/10; overflow: hidden; }
.project .pimg img { width:100%; height:100%; object-fit: cover; transition: transform .4s var(--ease); }
.project:hover .pimg img { transform: scale(1.04); }
.project .pbody { padding: 1.4rem 1.5rem 1.6rem; flex:1; display:flex; flex-direction:column; }
.project .ptag { font-family: var(--font-head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.project h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.project p { color: var(--text-soft); font-size: .95rem; flex:1; }
.project .pmeta { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display:flex; justify-content: space-between; font-size: .85rem; color: var(--steel); font-family: var(--font-head); }

/* ---------- Approach / steps ---------- */
.steps { counter-reset: step; display: grid; gap: clamp(1.4rem,2.5vw,2rem); grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); }
.step { position: relative; padding-top: 2.6rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--red); }
.step::after { content:""; position:absolute; top: .35rem; left: 3rem; right: 0; height: 1px; background: var(--line); }
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--text-soft); font-size: .96rem; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, #152857, #1b346d 60%, #233f80); color: #fff; border-radius: clamp(16px,3vw,28px); padding: clamp(2.5rem,5vw,4.5rem); position: relative; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.08); }
.cta::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.4;
  background-image: linear-gradient(rgba(97,172,10,.12) 1px,transparent 1px), linear-gradient(90deg,rgba(97,172,10,.12) 1px,transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(80% 120% at 90% 10%,#000,transparent); }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { color: rgba(255,255,255,.85); margin-top: 1rem; max-width: 52ch; }
.cta .hero-actions { margin-top: 2rem; }
.cta .btn { --bg:#fff; --fg: var(--heading); }
.cta .btn:hover { box-shadow: 0 10px 26px rgba(0,0,0,.2); }

/* ---------- Testimonial ---------- */
.quote { max-width: 60ch; }
.quote blockquote { font-family: var(--font-head); font-size: clamp(1.4rem,2.6vw,2.1rem); line-height: 1.3; letter-spacing: -.01em; color: var(--heading); font-weight: 500; }
.quote blockquote::before { content:"\201C"; color: var(--red); font-size: 1.2em; line-height: 0; vertical-align: -.35em; margin-right: .05em; }
.quote .by { margin-top: 1.6rem; display: flex; align-items: center; gap: .9rem; }
.quote .av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,var(--navy-700),var(--navy)); flex:none; }
.quote .by b { font-family: var(--font-head); display:block; color: var(--heading); }
.quote .by span { color: var(--text-soft); font-size: .9rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-size: .85rem; font-weight: 500; color: var(--heading); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: .85rem 1rem; border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,52,109,.15); }
.form-note { font-size: .85rem; color: var(--steel); }
.form-success { display:none; background: rgba(97,172,10,.1); border:1px solid var(--red); color: var(--red-600); padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-family: var(--font-head); }
.form-success.show { display: block; }

/* contact info cards */
.info-list { display: grid; gap: 1.6rem; }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.info-list .fi { width: 44px; height: 44px; border-radius: 11px; background: var(--mist); color: var(--navy); display:grid; place-items:center; flex:none; }
.info-list .fi svg { width: 20px; height: 20px; }
.info-list b { font-family: var(--font-head); display:block; margin-bottom:.15rem; color: var(--heading); }
.info-list span, .info-list a { color: var(--text-soft); font-size: .96rem; }
.info-list a:hover { color: var(--red); }

/* ---------- Team ---------- */
.team-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: clamp(18px,2.5vw,26px); }
.member { text-align:center; }
.member .av { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(150deg,var(--navy-700),var(--navy)); margin-bottom: 1rem; position:relative; overflow:hidden; display:grid; place-items:center; color: var(--red-300); font-family: var(--font-head); font-size: 2rem; border: 1px solid var(--line); }
.member h3 { font-size: 1.15rem; }
.member span { color: var(--red); font-family: var(--font-head); font-size: .9rem; }
.member p { color: var(--text-soft); font-size: .9rem; margin-top: .6rem; }

/* ---------- Values ---------- */
.values { display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: clamp(18px,2.5vw,26px); }
.value { padding: 1.6rem; border-left: 3px solid var(--red); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.value h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.value p { color: var(--text-soft); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .9rem; max-width: 68ch; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 1.1rem 1.4rem; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(97,172,10,.35); box-shadow: var(--shadow-2); }
.faq-item summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; color: var(--heading); font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.3rem; line-height: 1; color: var(--red); transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--text-soft); margin-top: .8rem; }

/* ---------- Careers / jobs ---------- */
.jobs { display: grid; gap: 1rem; }
.job { display:flex; justify-content: space-between; align-items:center; gap:1.5rem; flex-wrap:wrap;
  border:1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.6rem; transition: border-color .25s, box-shadow .25s, transform .25s, background .25s; background: var(--surface); }
.job:hover { border-color: var(--navy); box-shadow: var(--shadow-1); transform: translateX(4px); background: #ffffff; }
.job h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.job .jm { display:flex; gap:1.2rem; flex-wrap:wrap; color: var(--steel); font-size: .88rem; font-family: var(--font-head); }
.job .jm span { display:inline-flex; align-items:center; gap:.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-onDark); padding-block: clamp(48px,7vw,80px) 32px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display:grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: clamp(2rem,4vw,3rem); }
.footer-brand .brand-wrap { display: inline-flex; margin-bottom: 1.2rem; }
.footer-brand .brand-wrap .brand-logo { height: 44px; }
.footer-brand p { color: var(--text-onDark-soft); font-size: .95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-head); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-col a { display:block; color: var(--text-onDark-soft); font-size: .95rem; padding: .35rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--red-300); }
.social { display:flex; gap:.7rem; margin-top: 1.4rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); display:grid; place-items:center; color: var(--text-onDark); transition: all .2s; }
.social a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: clamp(2.5rem,5vw,3.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display:flex; justify-content: space-between; gap:1rem; flex-wrap:wrap; font-size: .85rem; color: var(--text-onDark-soft); }
.footer-bottom a:hover { color: var(--red-300); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile nav drawer ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: #ffffff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: .4rem; padding: 92px 28px 28px; transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-2); z-index: 99; border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--text) !important; font-size: 1.15rem; width: 100%; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover { color: var(--navy) !important; }
  .nav-links a::after { display:none; }
  .nav-cta .btn { display: none; }
  .nav-backdrop { position: fixed; inset:0; background: rgba(0,0,0,.4); opacity:0; visibility:hidden; transition: opacity .3s; z-index: 98; }
  .nav-backdrop.open { opacity:1; visibility:visible; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form .row { grid-template-columns: 1fr; }
  .section-head--split { align-items: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta div { min-width: 100px; }
}
