/* MCR53 — shared stylesheet */

:root{
  --navy:#111923;
  --red:#b7221e;
  --red-dark:#8f1a17;
  --cream:#fefefe;
  --ink:#111923;
  --heading:#111923;
  --surface:#ffffff;
  --muted:#5b6472;
  --line:rgba(17,25,35,0.1);
  --footer-bg:#0c131b;
  --footer-muted:#8891a0;
}

:root[data-theme="dark"]{
  --cream:#0b1119;
  --ink:#e9ebee;
  --heading:#f5f6f8;
  --surface:#141d29;
  --muted:#9aa4b1;
  --line:rgba(255,255,255,0.12);
}

body{ transition:background-color 0.2s ease, color 0.2s ease; }

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:'Space Grotesk','Manrope', system-ui, sans-serif;
  margin:0;
}

p{ margin:0; }

a{ color:var(--red); text-decoration:none; }
a:hover{ color:var(--red-dark); }

img{ display:block; max-width:100%; }

ul{ list-style:none; margin:0; padding:0; }

section{ padding:96px 64px; }

.container{ max-width:1280px; margin:0 auto; }

/* ---------- Buttons ---------- */

.btn{
  display:inline-block;
  font-weight:700;
  font-size:15px;
  padding:16px 32px;
  text-align:center;
  border:1.5px solid transparent;
}
.btn-primary{ background:var(--red); color:#fff; }
.btn-primary:hover{ background:var(--red-dark); color:#fff; }
.btn-outline{ border-color:rgba(255,255,255,0.35); color:#fff; padding:14.5px 32px; }
.btn-outline:hover{ border-color:#fff; color:#fff; }

/* ---------- Nav ---------- */

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 64px;
  height:92px;
  background:var(--cream);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
  transition:background-color 0.2s ease, border-color 0.2s ease;
}
.navbar-left{ display:flex; align-items:center; gap:20px; }
.navbar-right{ display:flex; align-items:center; gap:20px; }
.navbar .logo{ display:block; }
.navbar .logo img{ height:34px; width:auto; }
.navbar .logo .logo-dark{ display:none; }
:root[data-theme="dark"] .navbar .logo-light{ display:none; }
:root[data-theme="dark"] .navbar .logo-dark{ display:block; }
.nav-links{ display:flex; align-items:center; gap:40px; }
.nav-links a{ font-weight:600; font-size:15px; color:var(--heading); }
.nav-links a.active{ font-weight:700; color:var(--red); }
.nav-cta{ background:var(--red); color:#fff; font-weight:700; font-size:14px; padding:12px 24px; }
.nav-cta-mobile{ display:none; }
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--heading); display:block; }

.theme-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px; height:36px;
  border-radius:50%;
  border:1px solid var(--line);
  background:none;
  color:var(--heading);
  cursor:pointer;
  padding:0;
  flex:none;
  transition:background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover{ background:var(--line); }
.theme-toggle svg{ width:18px; height:18px; display:block; }
.theme-toggle .icon-moon{ display:none; }
:root[data-theme="dark"] .theme-toggle .icon-sun{ display:none; }
:root[data-theme="dark"] .theme-toggle .icon-moon{ display:block; }

/* ---------- Hero / page header ---------- */

.hero, .page-header{
  position:relative;
  overflow:hidden;
  background:var(--navy);
  padding:140px 64px 120px;
}
.page-header{ padding:96px 64px 80px; }

.crosshair{ position:absolute; pointer-events:none; }

.hero-eyebrow, .eyebrow{
  color:var(--red);
  font-weight:700;
  font-size:13px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  margin-bottom:20px;
}

.hero h1{
  color:#fff;
  font-size:62px;
  font-weight:800;
  line-height:1.08;
  letter-spacing:-0.01em;
  max-width:820px;
  position:relative;
  z-index:1;
}
.page-header h1{
  color:#fff;
  font-size:46px;
  font-weight:800;
  line-height:1.15;
  position:relative;
  z-index:1;
  max-width:700px;
}

.hero p, .page-header p{
  color:#c7ccd4;
  font-size:18px;
  line-height:1.6;
  max-width:600px;
  margin-top:24px;
  position:relative;
  z-index:1;
}

.hero-actions{ display:flex; gap:16px; margin-top:40px; flex-wrap:wrap; position:relative; z-index:1; }

/* ---------- Section headers ---------- */

.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:38px; font-weight:700; color:var(--heading); line-height:1.15; }

/* ---------- Card grids ---------- */

.cards-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:28px; }
.cards-grid.cols-3{ grid-template-columns:repeat(3, minmax(0,1fr)); }

.card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:32px 28px;
  display:flex;
  flex-direction:column;
  gap:16px;
  transition:background-color 0.2s ease, border-color 0.2s ease;
}
.card-icon{
  width:44px; height:44px;
  background:var(--navy);
  display:flex; align-items:center; justify-content:center;
}
.card h3{ font-size:17px; font-weight:700; color:var(--heading); }
.card p{ font-size:14.5px; line-height:1.6; color:var(--muted); }

/* ---------- Process strip ---------- */

.process{ position:relative; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:28px; }
.process::before{
  content:"";
  position:absolute; top:19px; left:0; right:0; height:1px;
  background:var(--line); z-index:0;
}
.process-step{ position:relative; z-index:1; display:flex; flex-direction:column; gap:14px; }
.process-num{
  width:38px; height:38px;
  background:var(--cream);
  border:1.5px solid var(--red);
  color:var(--red);
  font-weight:800; font-size:14px;
  display:flex; align-items:center; justify-content:center;
}
.process-step h3{ font-size:16px; font-weight:700; color:var(--heading); }
.process-step p{ font-size:14px; line-height:1.6; color:var(--muted); }

/* ---------- Flex team ---------- */

.role-pills{ display:flex; flex-wrap:wrap; gap:16px; }
.role-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 22px;
  border:1px solid var(--line);
  border-left:3px solid var(--red);
  background:var(--surface);
  color:var(--heading);
  font-weight:700;
  font-size:14px;
  transition:background-color 0.2s ease, border-color 0.2s ease;
}
.role-pill::before{ content:""; width:6px; height:6px; background:var(--red); flex:none; }
.role-pill-more{
  border-left-color:var(--line);
  color:var(--muted);
  font-weight:600;
  background:none;
}
.role-pill-more::before{ display:none; }

/* ---------- Values ---------- */

.values-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:28px; }
.value{ border-top:2px solid var(--red); padding-top:24px; }
.value h3{ font-size:18px; font-weight:700; color:var(--heading); margin-bottom:12px; }
.value p{ font-size:14.5px; line-height:1.65; color:var(--muted); }

/* ---------- About story ---------- */

.about-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; align-items:start; }
.about-grid h2{ font-size:28px; font-weight:700; color:var(--heading); line-height:1.25; margin-bottom:24px; }
.about-grid p{ font-size:16px; line-height:1.75; color:var(--muted); }
.about-grid p + p{ margin-top:20px; }

.photo-placeholder{
  border:1.5px dashed var(--line);
  background:var(--surface);
  aspect-ratio:4/5;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:16px;
}
.photo-placeholder span{ color:var(--muted); font-size:13px; font-weight:600; }

/* ---------- CTA band ---------- */

.cta-band{
  background:var(--navy);
  padding:80px 64px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-band h2{ color:#fff; font-size:32px; font-weight:700; max-width:560px; margin:0 auto 28px; position:relative; z-index:1; }
.cta-band .btn{ position:relative; z-index:1; }

/* ---------- Contact ---------- */

.contact-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:64px; }
.contact-details{ display:flex; flex-direction:column; gap:32px; }
.contact-details .label{
  color:var(--red); font-weight:700; font-size:12px;
  letter-spacing:0.1em; text-transform:uppercase; margin-bottom:8px;
}
.contact-details .value{ color:var(--heading); font-size:16px; font-weight:600; }

.contact-form{
  background:var(--surface); border:1px solid var(--line);
  padding:40px; display:flex; flex-direction:column; gap:22px;
  transition:background-color 0.2s ease, border-color 0.2s ease;
}
.form-fields{ display:flex; flex-direction:column; gap:22px; }
.form-row{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:22px; }
.contact-form label{ font-size:13px; font-weight:700; color:var(--heading); margin-bottom:8px; display:block; }
.contact-form input, .contact-form textarea{
  font-family:'Manrope', sans-serif; font-size:14.5px;
  padding:14px 16px; border:1px solid var(--line);
  background:var(--surface); color:var(--ink); width:100%;
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color:#9aa1ab; }
.form-status{ font-size:14.5px; color:var(--muted); }
.form-status:empty{ display:none; }
.form-status.form-status-success{ color:var(--heading); font-weight:700; font-size:17px; }
.form-status.form-status-error{ color:var(--red); font-weight:700; }
.contact-form.is-done{ align-items:center; justify-content:center; min-height:420px; text-align:center; }

/* ---------- Footer ---------- */

.site-footer{ background:var(--footer-bg); padding:56px 64px 32px; }
.footer-top{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px;
  padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand{ max-width:280px; }
.footer-wordmark{ font-family:'Space Grotesk'; font-weight:800; font-size:22px; color:#fff; }
.footer-wordmark span{ color:var(--red); }
.footer-brand p{ color:var(--footer-muted); font-size:14px; line-height:1.6; margin-top:16px; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col-title{
  color:#fff; font-weight:700; font-size:13px;
  text-transform:uppercase; letter-spacing:0.08em; margin-bottom:16px;
}
.footer-col a{ color:var(--footer-muted); font-size:14px; display:block; margin-bottom:10px; }
.footer-bottom{
  display:flex; justify-content:space-between; padding-top:24px;
  color:#5b6472; font-size:13px; flex-wrap:wrap; gap:12px;
}

/* ---------- Responsive ---------- */

@media (max-width:960px){
  .navbar{ padding:0 24px; }
  .nav-links{
    position:absolute; top:92px; left:0; right:0;
    background:var(--cream); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:8px 24px 20px; display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:12px 0; width:100%; }
  .nav-cta{ display:none; }
  .nav-links .nav-cta-mobile{ display:inline-block; margin-top:12px; }
  .nav-toggle{ display:flex; }

  section, .hero, .page-header, .cta-band{ padding-left:24px; padding-right:24px; }
  .hero{ padding-top:80px; padding-bottom:80px; }
  .hero h1{ font-size:42px; }
  .page-header h1{ font-size:34px; }

  .cards-grid, .cards-grid.cols-3{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .process{ grid-template-columns:repeat(2, minmax(0,1fr)); row-gap:40px; }
  .process::before{ display:none; }
  .values-grid{ grid-template-columns:1fr; }
  .about-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}

@media (max-width:640px){
  .hero h1{ font-size:34px; }
  .cards-grid, .cards-grid.cols-3{ grid-template-columns:1fr; }
  .footer-top, .footer-bottom{ flex-direction:column; }
}
