/* Demunt – site styles (redesign). Plain CSS, no build step. */

/* Plus Jakarta Sans, self-hosted (SIL Open Font License, see fonts/jakarta/OFL.txt) */
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/jakarta/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/jakarta/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-950: #0a1322;
  --navy-900: #0f1b2d;
  --navy-800: #16263d;
  --navy-700: #22385a;
  --green: #6eb679;          /* logo green */
  --green-600: #4f9a5b;
  --green-50: #eef7ef;
  --ink: #142033;
  --body: #46536a;
  --muted: #6b778c;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f8f5f0;          /* warm sand */
  --amber: #e8a25a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
  --shadow-lg: 0 20px 50px rgba(10, 19, 34, .25);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: .75rem;
}
/* Numbered section labels: "01 —— INDUSTRIES" */
main { counter-reset: section; }
.section .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .85rem; }
.section .eyebrow::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  order: -2; font-size: 1.6rem; font-weight: 800; letter-spacing: 0; color: var(--navy-900);
}
.section .eyebrow::after { content: ""; order: -1; width: 36px; height: 3px; border-radius: 2px; background: var(--green); }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2vw, 2.85rem); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.2rem; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--green); color: var(--navy-950); }
.btn-primary:hover { background: #82c48c; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  transition: box-shadow .2s, background-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 64px; width: auto; }
@media (max-width: 600px) { .brand img { height: 54px; } }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) {
  color: #cfd8e6; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5rem .75rem; border-radius: 8px;
}
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { margin-left: 8px; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; overflow: hidden; }
.lang-switch button {
  background: none; border: 0; color: #cfd8e6; font: inherit; font-size: .8rem; font-weight: 700;
  padding: .35rem .6rem; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: rgba(255,255,255,.14); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-tools { margin-left: auto; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 8px 16px 20px; margin: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: .85rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .nav-cta { margin: 16px 0 0; justify-content: center; }
}

/* ===== Hero =====
   Full-width photo behind a warm, transparent overlay; the header is
   see-through over the photo until the page scrolls. */
.site-header:not(.scrolled):not(.menu-open) { background: transparent; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900);
  color: #cfd8e6;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 96px) 0 112px;
}
/* Slideshow: photos fill the hero and cross-fade; a semi-transparent navy
   overlay on the left keeps the text readable while the photo shows through. */
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center);
  opacity: 0; transition: opacity 1.6s ease;
}
.hero-bg.is-active { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19, 35, 60, .86) 0%, rgba(19, 35, 60, .72) 30%, rgba(19, 35, 60, .38) 52%, rgba(19, 35, 60, 0) 72%),
    linear-gradient(180deg, rgba(16, 28, 48, .45) 0%, transparent 18%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 35rem) 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.1rem + 2.4vw, 3.1rem); font-weight: 800; margin-bottom: 20px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--green); }
.hero .eyebrow { color: var(--green); }
.hero .eyebrow .brand-word { color: #fff; font-weight: 800; letter-spacing: .18em; margin-right: .35em; }
.hero .lead { font-size: 1.15rem; max-width: 36em; color: #c3cedd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points i { color: var(--green); font-size: 1.1rem; }
.hero-visual { align-self: end; display: flex; justify-content: flex-end; }
.float-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-lg);
}
.float-card i { font-size: 1.6rem; color: var(--green-600); background: var(--green-50); padding: 10px; border-radius: 10px; }
.float-card strong { display: block; font-size: 1.1rem; }
.float-card span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding: calc(var(--header-h) + 48px) 0 56px; }
  .hero::before { background: linear-gradient(180deg, rgba(16, 28, 48, .72) 0%, rgba(16, 28, 48, .62) 45%, rgba(16, 28, 48, .90) 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: flex-start; }
}

/* ===== Client logos ===== */
.clients { padding: 36px 0; border-bottom: 1px solid var(--line); }
.clients-heading { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 30px; }
.logo-row img { height: auto; width: auto; max-height: 38px; max-width: 96px; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }

/* ===== Sections & cards ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
@media (max-width: 700px) { .section { padding: 56px 0; } }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p:last-child { font-size: 1.05rem; margin-bottom: 0; }

.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card p:last-child { margin-bottom: 0; }

.industry:hover, .service:hover, .case:hover { transform: translateY(-3px); border-color: #cfe5d2; }
/* Industry colours: each industry has its own pair, used on icon, stripe and case labels */
.ind-medtech  { --c1: #2dd4bf; --c2: #0f9488; --tint: #e6f7f5; }
.ind-aero    { --c1: #60a5fa; --c2: #1d5fd8; --tint: #e8f0fd; }
.ind-finance { --c1: #fbbf24; --c2: #d97706; --tint: #fdf3e2; }
.ind-telecom { --c1: #a78bfa; --c2: #6d3fe0; --tint: #f0ebfd; }
.ind-media   { --c1: #fb923c; --c2: #e0434f; --tint: #fdeee9; }
.industry { position: relative; overflow: hidden; border-top: 0; padding-top: 0; }
.industry::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 1; background: linear-gradient(90deg, var(--c1), var(--c2)); }
/* Edge-to-edge photo at the top of a card */
.card-media { display: block; width: calc(100% + 52px); max-width: none; margin: 0 -26px 0; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.industry:hover .card-media { transform: scale(1.04); }
.industry .icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 1.75rem; margin: -30px 0 16px;
  position: relative; z-index: 1; border: 4px solid #fff; box-sizing: content-box;
  box-shadow: 0 8px 18px -6px var(--c2);
}
.industry:hover { border-color: var(--line); box-shadow: 0 14px 34px -12px var(--c2); }
.card-cta { background: var(--navy-900); border-color: var(--navy-900); color: #c3cedd; display: flex; flex-direction: column; align-items: flex-start; }
.card-cta h3 { color: #fff; }
.card-cta .btn { margin-top: auto; }

/* Why: header across the top (heading left, intro right), then the photo
   beside the benefit cards at the same height */
.why-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 40px; }
.why-head h2 { margin-bottom: 0; }
.why-intro p { font-size: 1.05rem; }
.why-intro .locations { margin-bottom: 0; }
.locations { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .95rem !important; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.locations i { color: var(--green-600); }
.why-body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.why-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.benefit { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.benefit i { font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, #f3b878, var(--amber)); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 14px; }
.benefit p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) {
  .why-head { grid-template-columns: 1fr; }
  .why-body { grid-template-columns: 1fr; }
  .why-photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* Services */
.services-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.services-intro .section-head { margin-bottom: 0; }
.services-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) { .services-intro { grid-template-columns: 1fr; gap: 28px; } }
.service { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; align-content: start; padding: 22px; }
.service i { grid-row: span 2; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, #86c98f, var(--green-600)); padding: 13px; border-radius: 14px; box-shadow: 0 8px 18px -8px var(--green-600); }
.service h3 { margin-bottom: 4px; }
.service p { font-size: .95rem; }
.service-ask { background: var(--green-50); border-color: #cfe5d2; }
/* "Missing a role?" spans the full width as a closing strip under the cards */
.services .service-ask { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; column-gap: 16px; }
.services .service-ask i { grid-row: auto; }
.services .service-ask h3, .services .service-ask p { margin: 0; }
@media (max-width: 620px) {
  .services .service-ask { grid-template-columns: auto 1fr; }
  .services .service-ask i { grid-row: span 2; }
  .services .service-ask p { grid-column: 2; margin-top: 4px; }
}
.service-ask a { color: var(--green-600); font-weight: 700; text-decoration: none; }

/* Models */
.model { position: relative; padding-top: 30px; }
.model-tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--green-600); background: var(--green-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.model .best { font-size: .9rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; }
.model-featured { border: 2px solid var(--green); }

/* Steps */
.steps-heading { margin: 56px 0 24px; font-size: 1.35rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: #cfe5d2; }
.steps li { position: relative; }
.step-no {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font-weight: 800; margin-bottom: 14px; box-shadow: 0 0 0 6px var(--bg-alt);
}
.steps h4 { font-size: 1rem; margin-bottom: 6px; }
.steps p { font-size: .9rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 20px; bottom: 20px; left: 20px; right: auto; width: 2px; height: auto; }
  .steps li { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; padding-bottom: 20px; }
  .step-no { grid-row: span 2; margin: 0; }
}

/* Cases */
.case { display: flex; flex-direction: column; overflow: hidden; padding-top: 0; }
.case .card-media { margin-bottom: 18px; }
.case:hover .card-media { transform: scale(1.04); }
.case-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .78rem; font-weight: 700; color: var(--navy-700); background: var(--bg-alt); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.case-tag i { color: var(--c2, var(--green-600)); }
.case-tag[class*="ind-"] { background: var(--tint); color: var(--c2); }
/* Cases: two cards per row under the featured case */
.card-grid.cases { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .card-grid.cases { grid-template-columns: 1fr; } }
/* Featured case: full-width, photo left and text right */
.case-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.25fr; padding: 0; }
.case-featured .card-media { width: 100%; height: 100%; margin: 0; aspect-ratio: auto; min-height: 320px; }
.case-body { display: flex; flex-direction: column; padding: 30px 34px; }
.case-featured h3 { font-size: 1.4rem; }
.case-points { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: .92rem; color: var(--ink); }
.case-points li { position: relative; padding-left: 22px; }
.case-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .case-featured { grid-template-columns: 1fr; }
  .case-featured .card-media { min-height: 0; aspect-ratio: 16 / 9; }
  .case-body { padding: 22px 24px 26px; }
  .case-points { grid-template-columns: 1fr; }
}
.case-result { margin-top: auto !important; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 800; color: var(--green-600); font-size: 1.1rem; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #c3cedd; padding: 72px 0; }
/* Photo on the right that fades into the navy behind the text (like the hero) */
.cta-photo {
  position: absolute; top: 0; right: 0; z-index: -1; width: 55%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  opacity: .85;
}
.cta-band .btn { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
@media (max-width: 900px) {
  .cta-photo { width: 100%; opacity: .25; -webkit-mask-image: none; mask-image: none; }
}
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta-inner > div { max-width: 34rem; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.05rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy > p { font-size: 1.05rem; }
.person { display: flex; align-items: center; gap: 16px; margin: 28px 0 20px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green); display: grid; place-items: center; background: linear-gradient(135deg, #86c98f, var(--green-600)); color: #fff; font-size: 1.1rem; font-weight: 800; letter-spacing: .04em; flex: none; }
.person-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.person strong { display: block; color: var(--ink); font-size: 1.1rem; }
.person span { color: var(--muted); font-size: .95rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contact-list i { color: var(--green-600); font-size: 1.15rem; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { display: grid; gap: 14px; padding: 30px; }
.contact-form h3 { font-size: 1.3rem; }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  border: 1px solid #cdd5e0; border-radius: 10px; padding: .75rem .9rem; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(110,182,121,.25); }
.contact-form .btn { justify-content: center; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 0; }
.form-note a { color: var(--green-600); font-weight: 600; }
.form-error { margin: 0; font-size: .9rem; font-weight: 600; color: #b91c1c; text-align: center; }
.hidden { display: none !important; }
#contact-submit:disabled { opacity: .6; cursor: wait; }
/* Honeypot field: off-screen for people, still present for bots */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal.hidden { display: none; }
.modal .overlay { position: absolute; inset: 0; background: rgba(10,19,34,.6); }
.modal-content { position: relative; background: #fff; border-radius: var(--radius); padding: 32px; max-width: 420px; text-align: center; box-shadow: var(--shadow-lg); }
.modal-content i { font-size: 2.6rem; color: var(--green-600); }
.modal-content p { color: var(--ink); font-size: 1.05rem; margin: 12px 0 20px; }
body.modal-open { overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9aa7bb; padding: 56px 0 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 12px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #c3cedd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 1.2rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: #7f8ca1; }
.footer-bottom p { margin: 0; }
.ai-note { max-width: 46rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal pages (privacy policy) */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); font-weight: 800; margin-bottom: 4px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal p { color: var(--body); }
.legal a { color: var(--green-600); font-weight: 600; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.back-link { display: inline-block; margin-bottom: 24px; text-decoration: none; }
.legal-page .site-footer { padding: 24px 0; }
.legal-page .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* Reveal on scroll (only when JS has added .reveal-ready) */
.reveal-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready .reveal { opacity: 1; transform: none; transition: none; } }
