/* ==========================================================================
   ELEMARI Inc. — site stylesheet
   Values taken from the Claude Design handoff prototypes.
   ========================================================================== */

:root {
  --red: #A60002;
  --red-hover: #8c0002;
  --red-soft: #C8474E;
  --red-light: #ec4b4b;
  --pink: #F0D9D9;
  --pink-chip: #E8B4B6;
  --pink-note: #F9E6E7;
  --on-red: #f4d9d9;
  --ink: #1c1c1e;
  --ink-heading: #101820;
  --ink-body: #3a3a3c;
  --ink-body-2: #2c2c2e;
  --black-btn: #000;
  --black-btn-hover: #2a2f38;
  --navy: #0B1F42;
  --navy-nav: #0B1526;
  --blue: #0C3C7E;
  --blue-hover: #0a3269;
  --muted: #6b6b70;
  --placeholder: #8a8a8e;
  --on-dark: #c9d4e6;
  --on-dark-muted: #aab4c4;
  --on-dark-faint: #8fa0b8;
  --hero-copy: #d7dbe2;
  --border: #d0d0d4;
  --cream: #F8F6F1;
  --sand: #EEEBE2;
  --page-bg: #f2f3f5;
  --font: 'Archivo', Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; font-family: var(--font); color: var(--ink); overflow-x: hidden; padding-top: 58px; }
body.overlay-hero { padding-top: 0; }
[id] { scroll-margin-top: 72px; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .88; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 700; }

input, select, textarea, button { font-family: var(--font); font-size: 13px; color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--placeholder); font-family: var(--font); }
input:focus-visible, textarea:focus-visible, select:focus-visible,
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container { max-width: 1160px; margin: 0 auto; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .35em; color: var(--ink-body); }
.eyebrow-red { font-size: 11px; font-weight: 700; letter-spacing: .3em; color: var(--red-light); }

/* --------------------------------------------------------------------------
   Buttons (square — Elemari has no rounded corners)
   -------------------------------------------------------------------------- */
.btn { display: inline-block; font-size: 13px; font-weight: 600; border: 0; cursor: pointer; transition: background .15s ease, opacity .15s ease; }
.btn-red { background: var(--red); color: #fff; padding: 13px 24px; }
.btn-red:hover { background: var(--red-hover); opacity: 1; }
.btn-black { background: var(--black-btn); color: #fff; padding: 13px 24px; }
.btn-black:hover { background: var(--black-btn-hover); opacity: 1; }
.btn-dark { background: var(--ink-heading); color: #fff; padding: 13px 40px; }
.btn-dark:hover { background: var(--black-btn-hover); opacity: 1; }
.btn-navy { background: var(--navy); color: #fff; padding: 13px 30px; }
.btn-navy:hover { background: #13305f; opacity: 1; }
.btn-blue { background: var(--blue); color: #fff; padding: 14px 48px; }
.btn-blue:hover { background: var(--blue-hover); opacity: 1; }
.btn-white { background: #fff; color: var(--ink-heading); padding: 10px 20px; font-weight: 600; white-space: nowrap; }
.btn-white:hover { background: #e8e8e8; opacity: 1; }
.btn-outline-white { border: 1.5px solid #fff; color: #fff; background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 13px 28px; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); opacity: 1; }
.btn-cta { background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 14px 30px; display: inline-block; }
.btn-cta:hover { background: var(--red-hover); opacity: 1; }

/* --------------------------------------------------------------------------
   Nav — fixed / floating
   -------------------------------------------------------------------------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px; background: var(--navy-nav);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .2s ease, box-shadow .2s ease;
}
.nav--overlay { background: rgba(6,10,18,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nav.is-scrolled { background: var(--navy-nav); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 20px; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #fff; font-size: 13px; font-weight: 500; }
.nav-links a.is-active, .nav-links span.is-active { border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.nav-links .btn-white.is-active, .nav-links span.btn-white { border-bottom: 0; padding: 10px 20px; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.35); padding: 0; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: #fff; }
.nav-toggle svg { display: block; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: linear-gradient(rgba(2,18,42,.55), rgba(2,18,42,.55)), url('../assets/footer.png') center/cover no-repeat;
  color: #fff; border-top: 4px solid var(--red);
}
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 34px 40px; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.footer-brand img { height: 20px; display: block; }
.footer-tagline { margin-top: 10px; font-size: 11.5px; color: var(--on-dark-muted); }
.footer-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 12.5px; font-weight: 500; flex-wrap: wrap; }
.footer-links .sep { width: 1px; height: 14px; background: rgba(255,255,255,.3); }
.footer-links .with-icon { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-links .with-icon .ico { color: var(--red-light); display: inline-flex; }
.footer-links .btn-white { padding: 11px 22px; font-size: 12.5px; }
.footer-copy { background: rgba(0,0,0,.5); text-align: center; padding: 12px 20px; font-size: 10.5px; letter-spacing: .05em; color: var(--on-dark-faint); }

/* --------------------------------------------------------------------------
   Heroes
   -------------------------------------------------------------------------- */
.hero { position: relative; background: url('../assets/hero.png') center/cover no-repeat; }
.hero--about { background-image: url('../assets/about/hero.png'); }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 178px 60px 190px; }
.hero-center h1 { color: #fff; font-size: 46px; line-height: 1.25; font-weight: 700; max-width: 900px; text-wrap: balance; }
.hero-center p { margin-top: 22px; color: var(--hero-copy); font-size: 15px; line-height: 1.6; max-width: 640px; }
.hero-center .btn-cta { margin-top: 38px; }
.hero-page { max-width: 1160px; margin: 0 auto; padding: 188px 60px 100px; }
.hero-page h1 { color: #fff; font-size: 42px; font-weight: 700; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-page p { margin-top: 12px; color: #e6e9ee; font-size: 14px; max-width: 520px; line-height: 1.6; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-careers { max-width: 1160px; margin: 0 auto; padding: 178px 60px 120px; }
.hero-careers h1 { margin-top: 12px; color: #fff; font-size: 44px; line-height: 1.2; font-weight: 700; max-width: 640px; }
.hero-careers p { margin-top: 18px; color: var(--hero-copy); font-size: 14.5px; line-height: 1.6; max-width: 540px; }
.hero-careers .btn-row { display: flex; gap: 16px; margin-top: 32px; }
.hero-careers .btn-cta { padding: 14px 30px; }

.page-hero { background: var(--navy); border-bottom: 4px solid var(--red); color: #fff; padding: 56px 60px; }
.page-hero--legal { padding: 64px 60px; }
.page-hero h1 { font-size: 34px; font-weight: 800; }
.page-hero--legal h1 { font-size: 36px; }
.page-hero p { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--on-dark); max-width: 560px; }
.page-hero--legal p { font-size: 13px; }
.container--narrow { max-width: 900px; }

/* --------------------------------------------------------------------------
   Home — red band
   -------------------------------------------------------------------------- */
.red-band { background: url('../assets/red-band.png') center/cover no-repeat; color: #fff; padding: 60px 60px 110px; }
.red-band h2 { font-size: 28px; font-weight: 700; }
.red-band .lead { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--on-red); max-width: 540px; }
.glass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; }
.glass-card { background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 32px 30px 36px; border: 1px solid rgba(255,255,255,.18); }
.glass-card img { height: 56px; display: block; }
.glass-card .t { margin-top: 22px; font-size: 17px; font-weight: 700; }
.glass-card p { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: var(--on-red); }

/* Home — about */
.h-about { padding: 70px 60px; background: #fff; }
.h-about-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 60px; align-items: stretch; }
.h-about-copy { flex: 0 0 46%; display: flex; flex-direction: column; }
.h-about-copy h2 { margin-top: 8px; font-size: 30px; font-weight: 800; color: var(--ink-heading); letter-spacing: .02em; }
.h-about-copy p { margin-top: 18px; font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }
.chip-wrap { margin-top: auto; padding-top: 26px; }
.chip { display: inline-block; background: var(--pink-chip); color: var(--ink-heading); font-size: 13px; font-weight: 600; padding: 14px 22px; }
.h-about-img { flex: 1 1 0; width: 0; min-width: 0; height: 330px; object-fit: cover; display: block; }

/* Home — best solutions */
.best { padding: 10px 60px 80px; background: #fff; }
.best-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 60px; align-items: center; }
.best-media { position: relative; flex: 0 0 46%; }
.best-media > img { display: block; width: 100%; height: 340px; object-fit: cover; }
.stat-stack { position: absolute; top: 34px; right: -60px; display: flex; flex-direction: column; gap: 14px; width: 360px; }
.stat { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.92); border: 1px solid #e2e2e6; padding: 16px 22px; box-shadow: 0 10px 30px rgba(16,24,32,.15); }
.stat img { height: 36px; display: block; }
.stat .n { font-size: 22px; font-weight: 700; color: var(--ink-heading); }
.stat .l { font-size: 12px; color: var(--ink-body); margin-top: 2px; }
.best-copy { flex: 1; padding-left: 40px; }
.best-copy h2 { font-size: 27px; line-height: 1.25; font-weight: 700; color: var(--ink-heading); }
.best-copy p { margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }
.best-copy h2 + p { margin-top: 16px; }
.btn-row { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.btn-row .btn { font-size: 12.5px; padding: 13px 22px; }

/* Service areas band */
.areas { position: relative; background: var(--red); padding: 44px 60px 40px; overflow: hidden; }
.areas > img { display: block; width: 760px; max-width: 88%; height: auto; margin: 0 auto; opacity: .95; }
.areas--small > img { width: 560px; max-width: 70%; }
.areas-head { position: absolute; top: 44px; left: 0; right: 0; text-align: center; color: #fff; }
.areas-head h2 { font-size: 28px; font-weight: 700; }
.areas--small .areas-head h2 { font-size: 26px; }
.areas-head p { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--on-red); }
.areas-ctas { position: absolute; bottom: 44px; left: 0; right: 0; display: flex; justify-content: center; gap: 40px; }
.areas-ctas .btn { font-size: 13px; padding: 18px 40px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.areas-ctas .btn-white:hover { background: #f0f0f0; }

/* Planning grid */
.planning { padding: 70px 60px; background: #fff; }
.planning-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.plan-text { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.plan-text--sand { background: var(--sand); }
.plan-text--white { background: #fff; }
.plan-text h3 { font-size: 22px; font-weight: 800; color: var(--ink-heading); }
.plan-text p { margin-top: 14px; font-size: 11.5px; line-height: 1.65; color: var(--ink-body-2); }
.plan-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plan-img--a { min-height: 270px; }
.plan-img--b { min-height: 340px; }
.plan-label { color: #fff; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px; }
.plan-label--red { background: var(--red); }
.plan-label--soft { background: var(--red-soft); }
.plan-label img { height: 26px; }
.plan-label span { font-size: 17px; font-weight: 700; }

/* Challenges / statement banners */
.statement { background: url('../assets/challenges.png') center/cover no-repeat; padding: 110px 60px; }
.statement--service { padding: 100px 60px; }
.statement h2 { color: #fff; font-size: 34px; line-height: 1.25; font-weight: 700; max-width: 560px; }
.statement--uppercase h2 { text-transform: uppercase; }

/* Home — careers section */
.h-careers { position: relative; background: #fff; padding: 70px 60px 80px; }
.h-careers-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.h-careers-media { position: relative; flex: 0 0 46%; min-height: 560px; }
.h-careers-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.quals-card { position: relative; margin: 80px 0 0 90px; background: rgba(255,255,255,.94); padding: 38px 36px; box-shadow: 0 20px 50px rgba(16,24,32,.25); }
.quals-card h2 { font-size: 24px; font-weight: 800; letter-spacing: .04em; color: var(--ink-heading); }
.quals-card p { margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }
.quals-card h2 + p { margin-top: 16px; }
.quals-card .btn-dark { margin-top: 24px; }
.h-careers-list { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.info-box { border: 1px solid var(--border); padding: 26px 28px; }
.info-box h3 { font-size: 17px; font-weight: 700; color: var(--ink-heading); }
.info-box p { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--ink-body); }
.info-box h3 + p { margin-top: 14px; }
.info-item { border: 1px solid var(--border); border-left: 4px solid var(--red); padding: 20px 26px; }
.info-item .head { display: flex; align-items: center; gap: 12px; }
.info-item .head .ico { color: var(--red); display: inline-flex; }
.info-item h3 { font-size: 15px; font-weight: 700; color: var(--ink-heading); }
.info-item p { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--ink-body); }

/* Contact block (home / about) */
.contact { background: var(--pink); padding: 80px 60px; }
.contact-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 40px; align-items: stretch; }
.contact-card { flex: 0 0 42%; background: #fff; padding: 40px 40px 38px; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(16,24,32,.12); }
.contact-card h2 { font-size: 24px; font-weight: 800; color: var(--ink-heading); }
.contact-card .lead { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }
.contact-chips { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.contact-chip { display: flex; align-items: center; gap: 14px; background: #efefef; padding: 14px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: background .15s ease; }
.contact-chip:hover { background: #e4e4e4; opacity: 1; }
.contact-chip .ico { color: var(--red); display: inline-flex; }
.contact-card .foot { margin-top: auto; padding-top: 26px; }
.contact-form { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.contact-form .input, .contact-form .textarea { padding: 16px; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .fine { font-size: 11px; color: var(--muted); }
.form-foot .actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-thanks { font-size: 13px; font-weight: 600; color: var(--red); }

/* --------------------------------------------------------------------------
   Form controls (shared)
   -------------------------------------------------------------------------- */
.input, .select, .textarea { width: 100%; border: 1px solid var(--border); background: #fff; padding: 14px 16px; font-size: 13px; color: var(--ink); }
.select { padding: 14px 12px; appearance: auto; }
.textarea { resize: vertical; }
.span-2 { grid-column: 1 / -1; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-stack { display: flex; flex-direction: column; gap: 6px; }
.input-stack label { font-size: 11px; font-weight: 600; color: var(--muted); }
.input-stack .input { padding: 12px 16px; }
.check-inline { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-body); border: 1px solid var(--border); padding: 0 16px; min-height: 45px; }
.check-inline input, .consent input, .checks input, .radios input { width: 15px; height: 15px; accent-color: var(--red); flex: none; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 11.5px; line-height: 1.6; color: var(--ink-body); }
.consent input { margin-top: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 12.5px; color: var(--ink-body); padding: 4px 0; }
.checks .lbl { font-weight: 600; color: var(--ink-heading); }
.checks label, .radios label { display: flex; align-items: center; gap: 6px; }
.radios { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-body); }
.link-red { color: var(--red); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { display: none; grid-column: 1 / -1; background: var(--pink-note); color: var(--red); padding: 12px 16px; font-size: 12.5px; line-height: 1.6; }
.form-error.is-visible { display: block; }
.btn[disabled] { opacity: .6; cursor: default; }
[hidden] { display: none !important; }

/* Form pages (careers apply / quote / contact) */
.form-page { padding: 80px 60px; }
.form-page--pink { background: var(--pink); }
.form-page--grey { background: var(--page-bg); padding: 64px 60px 80px; }
.form-layout { max-width: 1160px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.form-layout--quote { max-width: 1140px; }
.form-aside { flex: 0 0 320px; }
.form-aside--plain { display: flex; flex-direction: column; gap: 22px; }
.form-aside--plain h2 { font-size: 21px; font-weight: 800; color: var(--ink-heading); }
.form-aside--plain p { font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }
.aside-list { display: flex; flex-direction: column; gap: 12px; }
.aside-item { display: flex; gap: 12px; align-items: flex-start; }
.aside-item::before { content: ""; width: 8px; height: 8px; background: var(--red); margin-top: 5px; flex: none; }
.aside-item span { font-size: 12.5px; line-height: 1.6; color: var(--ink-body); }
.aside-box { background: var(--red); color: #fff; padding: 22px 24px; }
.aside-box .lbl { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--on-dark); }
.aside-box .tel { display: block; margin-top: 12px; font-size: 15px; font-weight: 700; }
.aside-box .mail { display: block; margin-top: 6px; font-size: 13px; color: var(--on-dark); }

.navy-panel { background: var(--navy); color: #fff; padding: 36px 34px; border-top: 4px solid var(--red); display: flex; flex-direction: column; }
.navy-panel--wide { flex: 0 0 38%; padding: 40px 40px 38px; }
.navy-panel h2 { margin-top: 12px; font-size: 24px; font-weight: 800; }
.navy-panel .lead { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--on-dark-muted); }
.steps { display: flex; flex-direction: column; gap: 22px; margin-top: 22px; }
.step-row { display: flex; gap: 16px; }
.step-row .num { width: 30px; height: 30px; flex: none; background: var(--red); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.step-row .t { font-size: 13.5px; font-weight: 700; }
.step-row .d { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--on-dark-muted); }
.navy-foot { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.navy-foot .lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--on-dark-muted); }
.navy-foot .tel { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; }
.navy-foot .mail { display: block; margin-top: 4px; font-size: 13px; color: var(--on-dark-muted); }
.navy-panel--wide .navy-foot { margin-top: auto; padding-top: 30px; }
.navy-panel--wide .navy-foot .tel { font-size: 16px; margin-top: 0; }
.helps { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.help-row { display: flex; gap: 14px; align-items: flex-start; }
.help-row::before { content: ""; width: 8px; height: 8px; background: var(--red); margin-top: 6px; flex: none; }
.help-row .t { font-size: 13px; font-weight: 700; }
.help-row .lnk { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--red-light); font-weight: 600; }
.help-row .d { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--on-dark-muted); }

.form-card { flex: 1; min-width: 0; background: #fff; box-shadow: 0 18px 40px rgba(16,24,32,.12); padding: 38px 40px 42px; display: flex; flex-direction: column; gap: 14px; }
.form-card--bordered { box-shadow: none; border: 1px solid var(--border); padding: 36px 36px 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.form-card h2 { font-size: 22px; font-weight: 800; color: var(--ink-heading); }
.form-section-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.form-grid + .form-section-label, .form-section-label + .form-section-label { margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-submit .btn { padding: 14px 48px; }

.form-success { flex: 1; background: #fff; box-shadow: 0 18px 40px rgba(16,24,32,.12); padding: 70px 60px; text-align: center; }
.form-success--bordered { box-shadow: none; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.form-success .check { width: 56px; height: 56px; margin: 0 auto; color: #fff; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.form-success .check--blue { background: var(--blue); }
.form-success h2 { margin-top: 26px; font-size: 23px; font-weight: 800; color: var(--ink-heading); }
.form-success p { margin: 14px auto 0; font-size: 13px; line-height: 1.7; color: var(--ink-body); max-width: 440px; }
.form-success .btn { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.service { padding: 80px 60px; background: #fff; }
.service-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 56px; align-items: flex-start; }
.service-inner--reverse { flex-direction: row-reverse; }
.service-copy { flex: 1; min-width: 0; }
.service-copy h2 { font-size: 25px; font-weight: 800; color: var(--ink-heading); }
.service-copy > p { margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }
.service-img { flex: 0 0 400px; width: 400px; height: 520px; background: var(--sand); border-radius: 6px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.accordion { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.acc-item { border: 1px solid var(--border); background: #fff; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; padding: 16px 20px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-heading); text-align: left;
}
.acc-btn:hover { background: #f7f7f8; }
.acc-btn .sign { font-size: 20px; line-height: 1; font-weight: 500; }
.acc-body { margin: 0; padding: 0 20px 18px; font-size: 12px; line-height: 1.7; color: var(--ink-body); }
.acc-item:not(.is-open) .acc-body { display: none; }
.service .btn-row { gap: 16px; margin-top: 30px; }
.service .btn-row .btn { padding: 13px 24px; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.a-intro { padding: 80px 60px; background: #fff; }
.a-intro-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 70px; align-items: center; }
.a-intro-copy { flex: 0 0 46%; }
.a-intro-copy h2 { margin-top: 8px; font-size: 30px; font-weight: 800; color: var(--ink-heading); letter-spacing: .02em; }
.note { margin-top: 16px; background: var(--pink-note); border-left: 4px solid var(--red); padding: 14px 20px; font-size: 12.5px; line-height: 1.6; color: var(--ink); }
.note--cream { background: var(--cream); margin-top: 14px; }
.a-intro-copy > p { margin-top: 20px; font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }
.a-intro-img { flex: 1 1 0; width: 0; min-width: 0; height: 340px; object-fit: cover; display: block; }

.partners { background: var(--cream); padding: 34px 60px; }
.partners-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 70px; flex-wrap: wrap; color: var(--placeholder); font-weight: 800; letter-spacing: .02em; }
.partners .p1 { font-size: 30px; }
.partners .p2 { font-size: 15px; letter-spacing: .14em; font-weight: 600; }
.partners .p3 { font-size: 15px; border: 2px solid var(--placeholder); padding: 6px 14px; letter-spacing: .06em; }
.partners .p4 { font-size: 22px; }
.partners .p5 { font-size: 28px; font-style: italic; }

.team-players { padding: 90px 60px 70px; background: #fff; }
.tp-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.tp-media { position: relative; flex: 0 0 50%; height: 480px; }
.tp-media .img-a { position: absolute; left: 0; top: 0; width: 78%; height: 300px; object-fit: cover; display: block; }
.tp-media .img-b { position: absolute; left: 20%; top: 210px; width: 72%; height: 270px; object-fit: cover; display: block; box-shadow: 0 20px 50px rgba(16,24,32,.25); }
.tp-copy { flex: 1; display: flex; flex-direction: column; gap: 38px; }
.tp-copy h2 { font-size: 25px; font-weight: 800; color: var(--ink-heading); }
.tp-copy p { margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }

.team { background: var(--cream); padding: 60px 60px 70px; }
.team-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.member { background: #fff; border: 1px solid var(--border); }
.member img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.member .body { padding: 24px 26px 26px; }
.member .name { font-size: 19px; font-weight: 600; color: var(--ink-heading); }
.member .role { margin-top: 2px; font-size: 12px; color: var(--ink-body); }
.member .mail { display: inline-block; margin-top: 14px; font-size: 11.5px; font-weight: 600; color: var(--red); }

/* --------------------------------------------------------------------------
   Careers page
   -------------------------------------------------------------------------- */
.why { padding: 80px 60px 70px; background: #fff; }
.why h2 { margin-top: 8px; font-size: 28px; font-weight: 800; color: var(--ink-heading); }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.perk { border: 1px solid var(--border); border-top: 4px solid var(--red); padding: 26px 24px; }
.perk .ico { width: 40px; height: 40px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.perk .t { margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--ink-heading); }
.perk p { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--ink-body); }

.positions { background: var(--cream); padding: 70px 60px; }
.positions-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 56px; align-items: center; }
.positions-img { flex: 0 0 46%; width: 46%; min-width: 0; height: 400px; object-fit: cover; display: block; }
.positions-copy { flex: 1; }
.positions-copy h2 { margin-top: 8px; font-size: 26px; font-weight: 800; color: var(--ink-heading); }
.position-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.position { background: #fff; border: 1px solid var(--border); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: border-color .15s ease; }
.position:hover { border-color: var(--red); opacity: 1; }
.position .t { font-size: 14px; font-weight: 700; color: var(--ink-heading); }
.position .d { margin-top: 4px; font-size: 12px; color: var(--ink-body); }
.position .go { color: var(--red); font-weight: 700; font-size: 12px; white-space: nowrap; }

.requirements { padding: 70px 60px; background: #fff; }
.req-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 40px; align-items: stretch; }
.req-box { flex: 1; border: 1px solid var(--border); padding: 32px 34px; }
.req-box--red { border-top: 4px solid var(--red); }
.req-box h2 { font-size: 20px; font-weight: 800; color: var(--ink-heading); }
.req-box .sub { margin-top: 10px; font-size: 12px; color: var(--muted); }
.req-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.req-item { display: flex; gap: 12px; align-items: flex-start; }
.req-item::before { content: ""; width: 8px; height: 8px; background: var(--red); margin-top: 6px; flex: none; }
.req-item span, .x-item span { font-size: 12.5px; line-height: 1.6; color: var(--ink-body); }
.x-item { display: flex; gap: 12px; align-items: flex-start; }
.x-item .x { color: var(--red); flex: none; margin-top: 1px; display: inline-flex; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.channels { padding: 70px 60px 30px; background: #fff; }
.channel { border: 1px solid var(--border); border-top: 4px solid var(--red); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; transition: background .15s ease; }
a.channel:hover { background: #f7f7f8; opacity: 1; }
.channel .ico { width: 40px; height: 40px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.channel .lbl { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.channel .val { font-size: 15px; font-weight: 700; color: var(--ink-heading); }
.channel .d { font-size: 12px; line-height: 1.6; color: var(--ink-body); }
.channels .card-grid-4 { margin-top: 0; }

.contact-page-form { padding: 50px 60px 80px; background: #fff; }
.faq { background: var(--cream); padding: 70px 60px; }
.faq h2 { font-size: 25px; font-weight: 800; color: var(--ink-heading); }
.faq .sub { margin-top: 10px; font-size: 12.5px; color: var(--ink-body); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.faq-card { background: #fff; border: 1px solid var(--border); padding: 24px 26px; }
.faq-card .q { font-size: 14px; font-weight: 700; color: var(--ink-heading); }
.faq-card p { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--ink-body); }

/* Legal */
.legal { padding: 70px 60px 90px; }
.legal-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.legal h2 { font-size: 20px; font-weight: 800; color: var(--ink-heading); }
.legal p { margin-top: 12px; font-size: 13.5px; line-height: 1.75; color: var(--ink-body); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .stat-stack { right: -20px; width: 300px; }
  .service-img { flex-basis: 340px; width: 340px; height: 460px; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { padding-top: 52px; }
  .nav { padding: 14px 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-nav); padding: 8px 20px 20px; border-top: 1px solid rgba(255,255,255,.1);
    max-height: calc(100vh - 52px); overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,.35);
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a { padding: 14px 0; width: 100%; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links > a.is-active, .nav-links > span.is-active { border-bottom: 1px solid rgba(255,255,255,.08); color: var(--red-light); }
  .nav-links > .btn-white, .nav-links > span.btn-white { width: auto; margin-top: 12px; padding: 13px 22px; }

  .hero-center { padding: 120px 24px 90px; }
  .hero-center h1 { font-size: 30px; }
  .hero-page { padding: 130px 24px 70px; }
  .hero-page h1 { font-size: 30px; }
  .hero-careers { padding: 124px 24px 80px; }
  .hero-careers h1 { font-size: 30px; }
  .hero-careers .btn-row { flex-direction: column; align-items: stretch; text-align: center; }

  .red-band { padding: 56px 24px 64px; }
  .red-band h2, .best-copy h2, .h-about-copy h2, .a-intro-copy h2, .statement h2,
  .areas-head h2, .why h2, .positions-copy h2, .tp-copy h2, .service-copy h2,
  .contact-card h2, .navy-panel h2, .faq h2 { font-size: 23px; }
  .glass-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }

  .h-about, .best, .planning, .h-careers, .contact, .a-intro, .team-players,
  .service, .why, .requirements, .channels, .contact-page-form, .faq, .legal { padding-left: 24px; padding-right: 24px; }
  .h-about, .best, .team-players, .why { padding-top: 56px; padding-bottom: 56px; }
  .h-about-inner, .best-inner, .h-careers-inner, .contact-inner, .a-intro-inner,
  .tp-inner, .service-inner, .service-inner--reverse, .positions-inner, .req-inner,
  .form-layout { flex-direction: column; gap: 28px; align-items: stretch; }
  .h-about-copy, .best-media, .best-copy, .h-careers-media, .contact-card,
  .a-intro-copy, .tp-media, .service-img, .positions-img, .form-aside, .navy-panel--wide { flex: none; width: 100%; }
  .h-about-img, .a-intro-img { flex: none; width: 100%; height: auto; aspect-ratio: 3/2; }
  .best-copy { padding-left: 0; }
  .stat-stack { position: static; width: 100%; margin-top: 16px; }
  .service-img { height: auto; aspect-ratio: 3/2; }

  .areas { display: flex; flex-direction: column; gap: 22px; padding: 44px 24px 40px; }
  .areas-head, .areas-ctas { position: static; }
  .areas-head { order: -1; }
  .areas-ctas { flex-wrap: wrap; gap: 14px; }
  .areas-ctas .btn { padding: 16px 28px; }

  .planning { padding-top: 56px; padding-bottom: 56px; }
  .planning-grid { grid-template-columns: 1fr; }
  .plan-img { min-height: 0; height: 260px; }
  .plan-text { padding: 32px 26px; }

  .statement, .statement--service { padding: 72px 24px; }

  .h-careers-media { min-height: 0; }
  .h-careers-media > img { position: static; width: 100%; height: auto; aspect-ratio: 3/2; }
  .quals-card { margin: -50px 14px 0; padding: 26px 22px; }

  .tp-media { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .tp-media .img-a, .tp-media .img-b { position: static; width: 100%; height: auto; aspect-ratio: 3/2; }

  .team { padding: 48px 24px 56px; }
  .team-grid, .card-grid-4, .faq-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .positions { padding: 56px 24px; }
  .positions-img { height: auto; aspect-ratio: 3/2; }

  .form-page, .form-page--grey { padding: 56px 24px 64px; }
  .form-card { padding: 30px 24px 34px; }
  .form-card--bordered { padding: 26px 22px 30px; }
  .form-success { padding: 56px 24px; }
  .partners { padding: 30px 24px; }
  .partners-inner { gap: 28px 40px; }
  .footer-inner { padding: 30px 24px; }
  .footer-links { margin-left: 0; gap: 14px 20px; }
}

@media (max-width: 600px) {
  /* 16px inputs stop iOS auto-zoom on focus */
  .input, .select, .textarea, .check-inline { font-size: 16px; }
  .btn, .btn-cta { font-size: 14px; }
  .btn-red, .btn-black, .btn-dark, .btn-navy, .btn-blue, .btn-cta, .btn-outline-white { padding-top: 15px; padding-bottom: 15px; }
  .footer-links a { padding: 6px 0; }
  .footer-links .sep { display: none; }

  .glass-card p, .h-about-copy p, .best-copy p, .plan-text p, .quals-card p,
  .info-box p, .info-item p, .contact-card .lead, .a-intro-copy > p, .tp-copy p,
  .note, .member .role, .perk p, .position .d, .req-item span, .x-item span,
  .service-copy > p, .acc-body, .channel .d, .faq-card p, .aside-item span,
  .consent, .legal p, .form-success p, .step-row .d, .help-row .d, .hero-center p,
  .hero-careers p, .hero-page p, .red-band .lead, .areas-head p, .navy-panel .lead { font-size: 14px; }

  .form-grid, .contact-form, .split-2, .form-card--bordered, .team-grid,
  .card-grid-4, .faq-grid { grid-template-columns: 1fr; }
  .form-submit { justify-content: stretch; }
  .form-submit .btn { width: 100%; }
  .form-foot .actions, .form-foot .actions .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; text-align: center; }
  .areas-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .position { flex-direction: column; align-items: flex-start; gap: 8px; }
}
