/* ==========================================================================
   Safe Cities Foundation — stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #0B1D35;
  --navy-deep:   #081628;
  --navy-mid:    #14305A;
  --ink:         #1A2438;
  --orange:      #E84E1B;
  --orange-dark: #C53A0F;
  --gold:        #F5A623;
  --gold-dark:   #C77D00;
  --green:       #2D6A4F;
  --blue:        #1D4ED8;
  --paper:       #FAF7F1;
  --paper-2:     #F2EEE6;
  --card:        #FFFFFF;
  --muted:       #525B6B;
  --muted-2:     #8A93A3;
  --line:        rgba(11, 29, 53, 0.07);
  --shadow-sm:   0 4px 20px rgba(11, 29, 53, 0.05);
  --shadow-md:   0 8px 36px rgba(11, 29, 53, 0.07);
  --shadow-lg:   0 18px 44px rgba(11, 29, 53, 0.12);
  --serif:       'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:        'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap:        1240px;
  --pad-x:       clamp(20px, 5vw, 64px);
  --pad-y:       clamp(72px, 9vw, 120px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, p { margin: 0; }
::selection { background: var(--orange); color: #fff; }

/* ---------- Utilities ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange);
}
.eyebrow .rule { width: 28px; height: 2px; background: var(--orange); display: inline-block; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold .rule { background: var(--gold); }
.eyebrow--center { justify-content: center; }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12;
  letter-spacing: -.01em; color: var(--navy);
}
.lead { font-size: 1.02rem; line-height: 1.75; color: var(--muted); }
.section-head { max-width: 720px; margin: 0 auto; text-align: center; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 600; border-radius: 7px;
  padding: 14px 26px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
  color: #fff; background: var(--orange);
  box-shadow: 0 8px 20px rgba(232, 78, 27, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 78, 27, .44); }
.btn-ghost { color: var(--orange); border: 1.5px solid rgba(232, 78, 27, .4); }
.btn-ghost:hover { background: rgba(232, 78, 27, .06); }
.btn-outline-dark { color: var(--navy); border: 1.5px solid rgba(11, 29, 53, .18); }
.btn-outline-dark:hover { background: rgba(11, 29, 53, .04); }
.btn-light { color: var(--orange); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity .85s cubic-bezier(.16,.84,.44,1), transform .85s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(30px); }
[data-reveal="left"]  { transform: translateX(34px); }
[data-reveal="right"] { transform: translateX(-34px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav__logo img { height: 46px; width: auto; }
.nav__links {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 34px);
  flex-wrap: wrap; justify-content: flex-end;
}
.nav__link {
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  color: #fff; transition: color .25s ease;
}
.nav__cta {
  font-size: .9rem; font-weight: 600; color: #fff; background: var(--orange);
  padding: 11px 22px; border-radius: 6px;
  box-shadow: 0 6px 18px rgba(232, 78, 27, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 78, 27, .42); }
/* scrolled state (toggled by JS) */
.nav.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(11, 29, 53, .08);
  padding: 12px var(--pad-x);
}
.nav.is-scrolled .nav__link { color: var(--ink); }
.nav.is-scrolled .nav__link:hover { color: var(--orange); }
.nav__toggle { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px var(--pad-x) 80px;
  background: radial-gradient(120% 120% at 80% 0%, #14305A 0%, #0B1D35 55%, #081628 100%);
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 80%);
}
.hero__stripe {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 8px; opacity: .9;
  background: repeating-linear-gradient(90deg, var(--gold) 0 48px, transparent 48px 84px);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow .rule { width: 38px; height: 1.5px; background: var(--gold); display: inline-block; }
.hero__title {
  font-family: var(--serif); font-weight: 400; color: #fff;
  font-size: clamp(2.8rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em;
  margin-top: 24px;
}
.hero__title em { color: var(--gold); font-style: italic; }
.hero__title .accent { color: var(--orange); }
.hero__sub {
  font-size: 1.08rem; line-height: 1.75; color: rgba(255,255,255,.74);
  max-width: 520px; margin-top: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero .btn-primary { padding: 15px 26px; box-shadow: 0 10px 28px rgba(232, 78, 27, .34); }
.btn-outline-light {
  color: #fff; padding: 15px 26px; border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 7px; font-size: .95rem; font-weight: 600;
  display: inline-flex; align-items: center; transition: background .2s ease, border-color .2s ease;
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 40px;
  color: rgba(255,255,255,.6); font-size: .82rem; font-weight: 500;
}
.hero__trust span.item { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.25); }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__visual svg { width: 100%; max-width: 480px; height: auto; }
.hero__card {
  position: absolute; background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 20px;
  animation: float 5s ease-in-out infinite;
}
.hero__card--tl { top: 8%; left: -2%; }
.hero__card--br { bottom: 10%; right: -2%; animation-delay: .8s; }
.hero__card .big { font-family: var(--serif); font-size: 2.2rem; color: #fff; line-height: 1; }
.hero__card .big sup { font-size: 1rem; font-family: var(--sans); color: var(--gold); }
.hero__card .cap { font-size: .74rem; color: rgba(255,255,255,.66); margin-top: 4px; letter-spacing: .02em; }
.hero__card .flag { font-size: 1.7rem; line-height: 1; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dash { to { stroke-dashoffset: -16; } }
.dash-anim { animation: dash 1.2s linear infinite; }

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats {
  padding: clamp(36px, 5vw, 52px) var(--pad-x);
  background: linear-gradient(100deg, var(--orange) 0%, var(--gold) 100%);
}
.stats__grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px;
}
.stat { text-align: center; color: #fff; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; }
.stat__num sup { font-size: 1rem; font-family: var(--sans); }
.stat__label { font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.9); margin-top: 8px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(40px, 5vw, 72px); align-items: start;
}
.about__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12; letter-spacing: -.01em; color: var(--navy); margin-top: 18px; }
.about__body { font-size: 1.02rem; line-height: 1.8; color: var(--muted); margin-top: 22px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.about__badge {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 36px;
  padding: 22px; background: var(--navy); border-radius: 12px;
}
.about__badge .ic {
  flex: none; width: 40px; height: 40px; border-radius: 9px; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.about__badge .txt { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.82); }
.about__badge .txt strong { color: #fff; }

.vmv { display: flex; flex-direction: column; gap: 20px; }
.vmv__card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; box-shadow: var(--shadow-sm);
}
.vmv__ic { width: 46px; height: 46px; border-radius: 11px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 16px; }
.vmv__ic--orange { background: rgba(232, 78, 27, .10); }
.vmv__ic--gold   { background: rgba(245, 166, 35, .14); }
.vmv__ic--green  { background: rgba(45, 106, 79, .12); }
.vmv__card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.vmv__card p { font-size: .94rem; line-height: 1.7; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { font-size: .84rem; font-weight: 600; color: var(--navy); background: #F4F1EB; padding: 8px 16px; border-radius: 30px; }

/* ==========================================================================
   PROGRAMS
   ========================================================================== */
.programs { background: var(--paper-2); }
.cards-grid {
  max-width: 1200px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.program-card {
  background: var(--card); border: 1px solid rgba(11,29,53,.06); border-radius: 16px;
  padding: 32px; box-shadow: 0 4px 20px rgba(11,29,53,.04);
  transition: transform .3s ease, box-shadow .3s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-card__ic { width: 52px; height: 52px; border-radius: 13px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px; }
.program-card h3 { font-size: 1.22rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -.01em; }
.program-card p { font-size: .94rem; line-height: 1.7; color: var(--muted); margin-bottom: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--orange); }

/* ==========================================================================
   APPROACH  (dark)
   ========================================================================== */
.approach { background: radial-gradient(120% 120% at 50% 0%, #14305A 0%, #0B1D35 70%); }
.approach .h2, .impact .h2 { color: #fff; }
.approach .lead, .impact .lead { color: rgba(255,255,255,.72); }
.pillars {
  max-width: 1100px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.pillar {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 36px 32px;
}
.pillar__num { font-family: var(--serif); font-size: 3rem; color: var(--orange); line-height: 1; margin-bottom: 14px; }
.pillar h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.pillar p { font-size: .94rem; line-height: 1.7; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.pill { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--gold);
  background: rgba(245,166,35,.12); padding: 6px 14px; border-radius: 30px; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.section-topbar {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end;
  justify-content: space-between; margin-bottom: 48px;
}
.section-topbar .h2 { margin-top: 16px; }
.section-topbar .lead { margin-top: 16px; max-width: 640px; }
.project-card {
  background: var(--card); border: 1px solid rgba(11,29,53,.06); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card__media { position: relative; height: 220px; overflow: hidden; background: #e8e2d6; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__body { padding: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: 5px 11px; border-radius: 5px; }
.tag--orange { color: var(--orange-dark); background: rgba(232,78,27,.10); }
.tag--blue   { color: var(--blue); background: rgba(29,78,216,.10); }
.tag--gold   { color: #9A6500; background: rgba(245,166,35,.16); }
.tag--purple { color: #6D28D9; background: rgba(109,40,217,.10); }
.project-card h3 { font-size: 1.18rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; letter-spacing: -.01em; }
.project-card p { font-size: .92rem; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.project-card__meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(11,29,53,.08);
}
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--green); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.project-card__meta .when { font-size: .78rem; color: var(--muted-2); }

/* ==========================================================================
   IMPACT (dark)
   ========================================================================== */
.impact { background: radial-gradient(120% 120% at 50% 0%, #14305A 0%, #0B1D35 70%); }
.impact__grid {
  max-width: 1100px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.impact-stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 30px; text-align: center;
}
.impact-stat__num { font-family: var(--serif); font-size: 2.8rem; color: var(--gold); line-height: 1; }
.impact-stat__num sup { font-size: 1rem; font-family: var(--sans); }
.impact-stat p { font-size: .86rem; line-height: 1.6; color: rgba(255,255,255,.72); margin-top: 12px; }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.news-feature { background: var(--navy); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.news-feature__media {
  position: relative; height: 240px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #14305A, #0B1D35); overflow: hidden;
}
.news-feature__badge {
  position: absolute; bottom: 20px; left: 20px; background: rgba(232,78,27,.92); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 5px 13px; border-radius: 5px;
  letter-spacing: .08em; text-transform: uppercase;
}
.news-feature__body { padding: 32px; flex: 1; }
.kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.news-feature__body h3 { font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 14px; letter-spacing: -.01em; }
.news-feature__body p { font-size: .96rem; line-height: 1.7; color: rgba(255,255,255,.72); margin-bottom: 20px; }
.news-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.6); }
.news-feature__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3); }
.news-feature__meta a { color: var(--gold); font-weight: 600; }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
  background: var(--card); border: 1px solid rgba(11,29,53,.06); border-radius: 14px;
  padding: 24px; box-shadow: 0 3px 16px rgba(11,29,53,.04); transition: transform .25s ease;
}
.news-item:hover { transform: translateX(4px); }
.news-item .kicker { color: var(--orange); }
.news-item .kicker--green { color: var(--green); }
.news-item .kicker--gold { color: var(--gold-dark); }
.news-item h4 { font-size: 1.04rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.news-item p { font-size: .88rem; line-height: 1.6; color: var(--muted); margin-bottom: 12px; }
.news-item .when { font-size: .76rem; color: var(--muted-2); font-weight: 500; }

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners { background: var(--paper-2); padding: clamp(48px,6vw,72px) var(--pad-x); }
.partners__head { text-align: center; margin-bottom: 32px; }
.partners__head h3 { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.partners__row {
  max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: clamp(20px, 4vw, 56px);
}
.partners__row span {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--navy); opacity: .7; text-align: center;
}

/* ==========================================================================
   DONATE CTA
   ========================================================================== */
.donate {
  position: relative; text-align: center; overflow: hidden;
  padding: clamp(80px, 10vw, 130px) var(--pad-x);
  background: linear-gradient(120deg, var(--orange) 0%, var(--gold) 100%);
}
.donate__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(100% 100% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(100% 100% at 50% 50%, #000 30%, transparent 75%);
}
.donate__inner { position: relative; z-index: 2; }
.donate__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.donate__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.3rem); color: #fff; margin: 16px auto 0; max-width: 700px; line-height: 1.1; }
.donate__sub { font-size: 1.04rem; line-height: 1.8; color: rgba(255,255,255,.85); max-width: 600px; margin: 22px auto 0; }
.donate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 38px; }
.donate .btn-outline-light { padding: 16px 30px; border-color: rgba(255,255,255,.55); }
.donate .btn-outline-light:hover { background: rgba(255,255,255,.12); }
.donate .btn-light { padding: 16px 30px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(40px, 5vw, 72px); align-items: start;
}
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--navy); margin-top: 16px; line-height: 1.12; }
.contact__lead { font-size: 1.02rem; line-height: 1.75; color: var(--muted); margin-top: 18px; }
.contact__details { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.detail { display: flex; align-items: center; gap: 16px; }
.detail__ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(245,166,35,.13); display: flex; align-items: center; justify-content: center; }
.detail__label { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.detail__value { font-size: .98rem; font-weight: 500; color: var(--navy); margin-top: 3px; display: block; }
.socials { display: flex; gap: 12px; margin-top: 32px; }
.social {
  width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid rgba(11,29,53,.12);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.social:hover { background: rgba(232,78,27,.07); border-color: rgba(232,78,27,.3); }

.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.contact-form h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 16px; }
.field label, .field-row label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select,
.field-row input, .field-row select {
  width: 100%; padding: 13px 15px; border: 1.5px solid rgba(11,29,53,.14);
  border-radius: 8px; font-family: inherit; font-size: .94rem; color: var(--navy);
  background: #FAF9F6; outline: none; transition: border-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus,
.field-row input:focus, .field-row select:focus { border-color: var(--orange); }
.form-submit {
  width: 100%; padding: 15px; font-size: .96rem; font-weight: 600; color: #fff;
  background: var(--orange); border: none; border-radius: 8px;
  box-shadow: 0 8px 22px rgba(232,78,27,.3); transition: transform .2s ease, box-shadow .2s ease;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232,78,27,.42); }
.form-success { text-align: center; padding: 32px 8px; }
.form-success h4 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 18px 0 8px; }
.form-success p { font-size: .94rem; line-height: 1.7; color: var(--muted); }
.is-hidden { display: none !important; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-deep); padding: clamp(56px, 7vw, 80px) var(--pad-x) 0; }
.footer__grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; padding-bottom: 48px;
}
.footer__brand { min-width: 240px; }
.footer__brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 18px; max-width: 300px; }
.footer__flagchip { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.7); background: rgba(255,255,255,.05); padding: 8px 14px; border-radius: 30px; }
.footer__flagchip svg { border-radius: 2px; }
.footer__col h5 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__col .links { display: flex; flex-direction: column; gap: 11px; }
.footer__col .links a { font-size: .9rem; color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer__col .links a:hover { color: #fff; }
.newsletter { margin-top: 22px; }
.newsletter p { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter__row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; background: rgba(255,255,255,.06); color: #fff; font-family: inherit; font-size: .84rem; outline: none; }
.newsletter__row button { padding: 10px 16px; font-size: .84rem; font-weight: 600; color: #fff; background: var(--orange); border: none; border-radius: 7px; white-space: nowrap; }
.footer__bottom {
  max-width: var(--wrap); margin: 0 auto; padding: 24px 0 30px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.footer__bottom p { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer__bottom .legal { display: flex; gap: 24px; }
.footer__bottom .legal a { font-size: .82rem; color: rgba(255,255,255,.5); transition: color .2s ease; }
.footer__bottom .legal a:hover { color: #fff; }

/* ==========================================================================
   RESPONSIVE  — mobile nav
   ========================================================================== */
@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: none; background: transparent; padding: 0; z-index: 120;
  }
  .nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
    content: ''; display: block; width: 24px; height: 2px; background: #fff;
    border-radius: 2px; transition: transform .3s ease, opacity .3s ease, background .3s ease;
  }
  .nav__toggle span { position: relative; }
  .nav__toggle span::before { position: absolute; top: -7px; left: 0; }
  .nav__toggle span::after  { position: absolute; top: 7px;  left: 0; }
  .nav.is-scrolled .nav__toggle span,
  .nav.is-scrolled .nav__toggle span::before,
  .nav.is-scrolled .nav__toggle span::after { background: var(--navy); }

  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 24px; padding: 40px; background: var(--navy);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.16,.84,.44,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link, .nav.is-scrolled .nav__link { color: #fff; font-size: 1.1rem; }
  .nav__cta { font-size: 1rem; padding: 13px 26px; }
  .nav.is-open-menu .nav__toggle span { background: transparent; }
  .nav.is-open-menu .nav__toggle span::before { transform: translateY(7px) rotate(45deg); background: #fff; }
  .nav.is-open-menu .nav__toggle span::after  { transform: translateY(-7px) rotate(-45deg); background: #fff; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   ACTIVE NAV STATE
   ========================================================================== */
.nav__link.is-active { color: var(--gold); }
.nav.is-scrolled .nav__link.is-active { color: var(--orange); }
@media (max-width: 860px) {
  .nav__link.is-active, .nav.is-scrolled .nav__link.is-active { color: var(--gold); }
}

/* ==========================================================================
   INTERIOR PAGE HERO
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(clamp(20px, 5vw, 64px) + 92px) var(--pad-x) clamp(56px, 7vw, 88px);
  background: radial-gradient(120% 120% at 80% 0%, #14305A 0%, #0B1D35 60%, #081628 100%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; }
.page-hero .crumbs { font-size: .8rem; color: rgba(255,255,255,.5); }
.page-hero .crumbs a { color: rgba(255,255,255,.72); transition: color .2s ease; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs .sep { margin: 0 8px; opacity: .5; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.page-hero__eyebrow .rule { width: 28px; height: 2px; background: var(--gold); display: inline-block; }
.page-hero__title {
  font-family: var(--serif); font-weight: 400; color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.01em; margin-top: 14px;
}
.page-hero__lead { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 640px; margin-top: 20px; }

/* First section after a page-hero shouldn't double up top padding visual weight */
.page-hero + .section { padding-top: clamp(56px, 7vw, 96px); }

/* ==========================================================================
   PROJECT IMAGE PLACEHOLDER (project with no photo yet)
   ========================================================================== */
.project-card__media--ph {
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(45deg, #e6e0d4 0 10px, #efeae0 10px 20px);
}
.project-card__media--ph .ph-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem;
  color: rgba(11, 29, 53, .55); background: rgba(255, 255, 255, .78);
  padding: 6px 12px; border-radius: 5px;
}

/* Full-width card grids on interior pages */
.cards-grid--wide { max-width: none; }
