/* ============================================================
   Mi-C3.com — design tokens (extracted from the live site)
   Fonts: Open Sans (body) + Poppins (headings) · WordPress/Elementor parity
   ============================================================ */
:root {
  --navy-900:   #001859;  /* headings + product band */
  --navy-deep:  #0f1121;  /* header + footer background */
  --navy-mid:   #1c1c1f;  /* dark content band */
  --orange:     #e58313;  /* hero accent + buttons */
  --orange-2:   #e9883e;  /* hero gradient bottom */
  --orange-dk:  #c96f08;  /* button hover */
  --link:       #001859;  /* links */
  --ink:        #4a4a4a;  /* body text */
  --ink-soft:   #6b7280;
  --bg:         #ffffff;
  --bg-soft:    #f9f9fb;  /* light section bands */
  --line:       #e6e6ec;

  --radius:    8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0,24,89,.06), 0 4px 14px rgba(0,24,89,.06);
  --shadow:    0 14px 40px rgba(0,24,89,.12);

  --container: 1180px;
  --serif:  'Poppins', ui-sans-serif, system-ui, sans-serif;
  --roboto: 'Roboto', ui-sans-serif, system-ui, sans-serif;
  --sans:   'Open Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

/* ---- Reset-ish ---- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1,h2,h3,h4,h5 { font-family: var(--serif); color: var(--navy-900); }

/* ---- Skip link ---- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip:focus { left: 12px; top: 12px; }

/* ---- Cookie bar ---- */
.cookie-bar {
  background: #1c1c1f; color: #e6e6e6; font-size: 13px;
  padding: 10px 0;
}
.cookie-bar .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.cookie-bar p { margin: 0; max-width: 70ch; }
.cookie-bar a { color: #f3b06a; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  border: 0; padding: 8px 16px; cursor: pointer; text-transform: uppercase;
}
.cookie-accept { background: var(--orange); color: #fff; }
.cookie-decline { background: transparent; color: #e6e6e6; border: 1px solid #6b6b6b !important; }

/* ============================================================
   Header
   ============================================================ */
/* Transparent header overlaid on the (orange) hero — Elementor "transparent header".
   Kept in normal flow (below the cookie bar, so the bar stays clickable); the hero is
   pulled up under it with a negative margin so its orange background shows through. */
.site-header {
  position: relative; z-index: 50;
  background: transparent;
}
/* Pages without an orange hero (e.g. 404) need a solid bar so the white logo shows. */
.site-header.solid { background: var(--navy-deep); }
/* Header spans full width: logo flush far-left, nav flush far-right. */
.site-header .nav-row { max-width: none; padding: 0 32px; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 92px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.brand:hover { text-decoration: none; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav > ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a {
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: 8px 0; display: inline-block;
}
.primary-nav a:hover { color: var(--orange); text-decoration: none; }

/* nav "Contact" is a plain white link on the live site, not a button */
.nav-cta { background: transparent; color: #fff; padding: 8px 0; border-radius: 0; }
.nav-cta:hover { background: transparent; color: var(--orange); }

.nav-toggle {
  display: none; width: 42px; height: 42px; background: transparent;
  border: 1px solid rgba(255,255,255,.3); border-radius: 8px; cursor: pointer; padding: 0;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500; font-size: 14px; line-height: 1;
  letter-spacing: normal; text-transform: uppercase;
  padding: 18px 40px; cursor: pointer; border: 0; border-radius: 0;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dk); color: #fff; }
.btn-white { background: #fff; color: #525252; }
.btn-white:hover { background: #f4f4f6; color: #525252; }
.btn-dark { background: #14151e; color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-ghost:hover { background: var(--navy-900); color: #fff; }

.learn-more {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--orange); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
}
.learn-more::after { content: "\2192"; font-size: 18px; transition: transform .15s; }
.learn-more:hover { text-decoration: none; }
.learn-more:hover::after { transform: translateX(4px); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--ink); max-width: 760px; margin: 0 auto 8px; }

h2.section-title { font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.25; margin: 0 0 18px; }
.kicker { color: var(--orange); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }

/* ============================================================
   Hero — orange gradient over background photo
   ============================================================ */
.hero {
  /* Header-BG-scaled.jpg already carries the orange gradient + network texture —
     use it as-is, only a faint dark wash for white-text contrast. */
  background:
    linear-gradient(rgba(0,0,0,.06), rgba(0,0,0,.16)),
    url("assets/hero-bg.jpg") center/cover no-repeat;
  color: #fff; padding: 150px 0 110px; text-align: center;
  margin-top: -92px; /* pull up under the transparent header (nav-row height) */
}
.hero h1 {
  font-family: var(--serif); font-weight: 600; color: #fff;
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; margin: 0 auto 20px; max-width: 18ch;
}
.hero h1 strong { font-weight: 700; }
.hero p { color: rgba(255,255,255,.95); max-width: 720px; margin: 0 auto 12px; font-size: 14px; line-height: 1.8; }
.hero-cta { margin-top: 22px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* mission/vision/values/culture — 2x2 grid in an elevated white card overlapping the hero */
.capabilities { padding: 0 0 72px; }
.cap-card {
  background: #fff; box-shadow: 0 4px 34px rgba(66,69,77,.10);
  margin-top: -120px; position: relative; z-index: 10; padding: 56px 56px;
}
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 56px; }
.cap { text-align: left; padding: 0; }
.cap .cap-ic {
  width: 56px; height: 56px; margin: 0 0 16px;
  display: flex; align-items: center; justify-content: flex-start; color: #14151e;
}
.cap .cap-ic svg { width: 44px; height: 44px; }
.cap h3 { font-family: var(--serif); font-size: 32px; font-weight: 700; color: #333439; line-height: 1.4; margin: 0 0 12px; }
.cap p { font-family: var(--serif); font-size: 15px; font-weight: 400; color: #333439; line-height: 1.8; margin: 0; }
@media (max-width: 1024px) { .cap h3 { font-size: 26px; } .cap-card { padding: 40px 32px; margin-top: -90px; } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   Content blocks
   ============================================================ */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { margin: 0 0 16px; }
.media-center { margin: 36px auto; max-width: 760px; }
.media-center img { width: 100%; border-radius: 10px; }

blockquote.pull {
  font-family: var(--serif); font-weight: 500; color: var(--navy-900);
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; text-align: center;
  max-width: 760px; margin: 8px auto 4px; border: 0; padding: 0;
}
blockquote.pull + cite { display: block; text-align: center; color: var(--orange); font-style: normal; font-weight: 600; font-size: 15px; }

/* two-column feature row (alternating) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-sm); }
.split h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; margin: 0 0 14px; }
.split ul { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.split ul li { padding-left: 26px; position: relative; }
.split ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(229,131,19,.14);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23e58313' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/></svg>");
  background-repeat: no-repeat; background-position: center;
}

/* ============================================================
   Card grids (3-up)
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 32px; display: flex; flex-direction: column;
}
.card h3 { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.card p { font-size: 15px; color: var(--ink-soft); margin: 0 0 20px; flex: 1; }
.card .learn-more { margin-top: auto; }

/* awards / certifications — 6 captioned cards */
.awards-title { font-family: var(--serif); text-align: center; color: #e9883e; font-weight: 600; font-size: clamp(24px, 3vw, 32px); margin: 0 0 40px; }
.awards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: stretch; }
.award-card { text-align: center; padding: 22px 12px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; }
.award-card img { height: 92px; width: auto; object-fit: contain; margin: 0 0 16px; }
.award-card h4 { font-family: var(--serif); font-size: 13px; font-weight: 700; color: #14151e; margin: 0 0 6px; line-height: 1.3; }
.award-card p { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin: 0; line-height: 1.4; }
@media (max-width: 900px) { .awards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .awards { grid-template-columns: repeat(2, 1fr); } }

/* overview / strategic — Roboto heading + body history */
.overview h2 { font-family: var(--roboto); font-size: clamp(26px, 3vw, 32px); font-weight: 700; color: #14151e; letter-spacing: 2px; margin: 0 0 20px; }
.overview p { font-family: var(--sans); font-size: 14px; color: var(--ink); margin: 0 0 16px; max-width: 70ch; }

/* lead-grid: big statement paragraph (left) + small supporting body (right) */
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; text-align: left; }
.lead-text { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #000; line-height: 1.8; margin: 0; }
.lead-text.orange { font-weight: 600; color: #e9883e; }
.body-text p { font-family: var(--serif); font-size: 15px; font-weight: 400; color: #333439; line-height: 2; margin: 0 0 16px; }
.body-text p:last-child { margin-bottom: 0; }
@media (max-width: 1024px) { .lead-text { font-size: 22px; } }
@media (max-width: 760px) { .lead-grid { grid-template-columns: 1fr; gap: 24px; } }

/* story band — full-bleed Valletta skyline banner + lead-grid history */
.story { padding-bottom: 72px; }
.story-banner { width: 100%; height: 380px; object-fit: cover; object-position: center 35%; display: block; margin-bottom: 56px; }
.story .story-cta { margin-top: 36px; }
@media (max-width: 600px) { .story-banner { height: 240px; margin-bottom: 36px; } }
@media (max-width: 600px) { .story-banner { height: 240px; margin-bottom: 36px; } }

/* team cards */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card { text-align: center; }
.team-card img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; box-shadow: var(--shadow-sm); }
.team-card h3 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.team-card .role { color: var(--orange); font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.team-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ============================================================
   Product band (navy — Affectli)
   ============================================================ */
.product-band { background: var(--navy-900); color: #fff; padding: 72px 0; overflow: hidden; }
.product-band .pb-head { font-family: var(--serif); color: #fff; font-weight: 700; font-size: clamp(26px, 3vw, 32px); letter-spacing: 2px; text-align: center; margin: 0 0 40px; }
.pb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pb-logo { max-width: 280px; margin: 0 0 8px; }
.pb-tagline { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: #fff; margin: 12px 0 16px; }
.pb-tagline .o { color: var(--orange); }
.pb-desc { font-family: var(--sans); font-size: 14px; color: rgba(255,255,255,.85); margin: 0 0 26px; max-width: 46ch; }
.pb-img img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .pb-grid { grid-template-columns: 1fr; gap: 32px; } .pb-img { order: -1; } }

/* Overview — orange lead + body */
.ov-lead { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 26px); font-weight: 700; color: var(--orange); line-height: 1.6; margin: 0 0 22px; }

/* Our Global Community — earth background */
.community {
  background: linear-gradient(rgba(8,12,30,.55), rgba(8,12,30,.6)), url("assets/community-earth.png") center/cover no-repeat;
  color: #fff; text-align: center; padding: 110px 0;
}
.community h2 { font-family: var(--roboto); font-size: clamp(28px, 3.4vw, 32px); font-weight: 700; color: #fff; letter-spacing: 1px; margin: 0 0 8px; }
.community p { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; color: #fff; max-width: 760px; margin: 12px auto 28px; line-height: 1.5; }

/* Growth Strategies (light) + governance (dark) */
.governance { display: grid; grid-template-columns: 1fr 1fr; }
.gov-light { background: #fff; padding: 72px 56px; }
.gov-dark { background: #1c1c1f; padding: 72px 56px; color: #fff; }
.gov-light > .gov-ic, .gov-block .gov-ic { color: var(--orange); margin: 0 0 14px; }
.gov-ic svg { width: 46px; height: 46px; }
.gov-light h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #000; margin: 0 0 22px; }
.gov-block { margin-bottom: 40px; }
.gov-block:last-child { margin-bottom: 0; }
.gov-block h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: #fff; margin: 0 0 16px; }
.gov-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gov-list li { position: relative; padding-left: 24px; font-family: var(--serif); font-size: 14px; line-height: 1.6; }
.gov-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.gov-light .gov-list li { color: #333439; }
.gov-dark .gov-list li { color: rgba(255,255,255,.82); }
@media (max-width: 860px) { .governance { grid-template-columns: 1fr; } .gov-light, .gov-dark { padding: 48px 28px; } }

/* footer social icons */
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.1); }
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.55); }

/* ============================================================
   CTA band — full-orange (interior pages)
   ============================================================ */
.cta-band {
  background: linear-gradient(100deg, var(--orange), var(--orange-2));
  color: #fff; text-align: center; padding: 60px 0;
}
.cta-band h2 { color: #fff; font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 24px; }
.cta-band .btn-outline { border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--orange-dk); }

/* CTA card — white card on a soft-grey band (home page) */
.cta-card-band { background: var(--bg-soft); padding: 90px 0; }
.cta-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  max-width: 620px; margin: 0 auto; padding: 48px 40px; text-align: center;
}
.cta-card h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 26px); color: #000; line-height: 1.8; margin: 0 0 24px; }

/* ============================================================
   Scroll-reveal entrance animations (Elementor parity)
   ============================================================ */
/* Hidden state applies only when JS is active (.js on <html>), so no-JS users
   and crawlers always see the content. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Forms (static placeholders)
   ============================================================ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 36px; max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--sans); font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.form-row textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.office { margin-bottom: 28px; }
.office h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.office p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-deep); color: #fff; padding: 72px 0 56px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.7fr 1fr; gap: 32px; align-items: start; }
.footer-logo img { height: 40px; }
.site-footer h4 { font-family: var(--serif); color: #fff; font-size: 20px; font-weight: 700; letter-spacing: normal; text-transform: none; margin: 0 0 18px; }
.site-footer nav { display: flex; flex-direction: column; gap: 12px; }
.site-footer nav a { font-family: var(--sans); font-size: 12px; font-weight: 700; }
.footer-contact p { font-family: var(--sans); font-size: 12px; font-weight: 700; line-height: 1.9; color: #fff; margin: 0 0 14px; }
.footer-contact a { font-weight: 700; }
.footer-contact strong { font-weight: 700; }

/* ============================================================
   Floating live-chat widget
   ============================================================ */
.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 56px; height: 56px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,24,89,.28);
  transition: background .2s, transform .15s;
}
.chat-launcher:hover { background: var(--orange-dk); transform: translateY(-1px); }
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher .chat-icon-close { display: none; }
.chat-launcher.open .chat-icon-open { display: none; }
.chat-launcher.open .chat-icon-close { display: block; }

.chat-panel {
  position: fixed; right: 22px; bottom: 90px; z-index: 200;
  width: 380px; max-width: calc(100vw - 44px);
  height: 560px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,24,89,.35);
  border: 1px solid var(--line);
}
.chat-panel iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 480px) {
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 84px; }
  .chat-launcher { right: 16px; bottom: 16px; }
}

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  background:
    linear-gradient(rgba(0,0,0,.06), rgba(0,0,0,.18)),
    url("assets/hero-bg.jpg") center/cover no-repeat;
  color: #fff; padding: 140px 0 70px; text-align: center;
  margin-top: -92px; /* pull up under the transparent header */
}
.page-hero h1 { color: #fff; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4vw, 44px); margin: 0 auto; max-width: 24ch; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 720px; margin: 14px auto 0; }

/* legal / long-form prose */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal .placeholder-note { background: #fff6ec; border: 1px solid #f3c98a; border-radius: 8px; padding: 14px 18px; color: #8a5a10; font-size: 14px; }

/* 404 */
.notfound { text-align: center; padding: 110px 0; }
.notfound h1 { font-size: clamp(60px, 12vw, 120px); color: var(--orange); margin: 0; line-height: 1; }
.notfound p { font-size: 18px; color: var(--ink-soft); margin: 12px 0 28px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: 92px; left: 0; right: 0; background: var(--navy-deep);
    flex-direction: column; align-items: stretch; padding: 8px 24px 20px; display: none;
    box-shadow: var(--shadow); border-top: 1px solid rgba(255,255,255,.1);
  }
  .primary-nav.open { display: flex; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .primary-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta { margin-top: 10px; text-align: center; }
}
@media (max-width: 900px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .grid-3, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .cap-grid, .grid-3, .grid-2, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-bar .container { flex-direction: column; align-items: flex-start; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
