/* ===========================================================
   McCracken Land Services, styles.css
   Palette: deep slate-navy + warm gold, off-white ground
   =========================================================== */
:root {
  --navy-900: #0b2233;
  --navy-800: #0f2a3f;
  --navy-700: #163b56;
  --navy-600: #1f4e70;
  --gold-500: #c79a3b;
  --gold-400: #d8b256;
  --gold-glow: rgba(199, 154, 59, 0.16);
  --sand-50:  #f7f4ee;
  --sand-100: #efe9df;
  --ink-900:  #14202b;
  --ink-700:  #33454f;
  --ink-500:  #5d6b73;
  --white:    #ffffff;
  --line:     rgba(15, 42, 63, 0.12);

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 51, 0.06), 0 4px 14px rgba(11, 34, 51, 0.06);
  --shadow-md: 0 10px 40px rgba(11, 34, 51, 0.12);
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--sand-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-500); }

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

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-800); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 8px 22px var(--gold-glow); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 34, 51, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-full { height: 82px; width: auto; display: block; }
.brand-mark { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.18rem; letter-spacing: .2px; }
.brand-sub { color: var(--gold-400); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }

.main-nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-menu a { color: rgba(255,255,255,.86); font-weight: 500; font-size: .93rem; padding: 10px 12px; border-radius: 8px; }
.nav-menu a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-menu .nav-cta { background: var(--gold-500); color: var(--navy-900); margin-left: 8px; font-weight: 600; }
.nav-menu .nav-cta:hover { background: var(--gold-400); color: var(--navy-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }

/* ---------- Hero (fixed parallax background) ----------
   .hero-bg is pinned to the viewport and sits behind the whole page
   (z-index: -1). Every content section has an opaque background, so as the
   page scrolls the sections slide up over the stationary hero media. That
   gives the slow-background parallax effect with no zoom or drift. */
.hero-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  z-index: -1; overflow: hidden; background: #0b1526;
}
.hero-parallax {
  position: absolute; inset: 0;
  background: #0b1526 url("assets/hero.jpg") center center / cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; background: transparent; color: #fff; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(9,12,20,.78) 0%, rgba(9,12,20,.30) 52%, rgba(9,12,20,0) 100%),
    linear-gradient(180deg, rgba(9,12,20,.45) 0%, rgba(9,12,20,.2) 38%, rgba(6,8,12,.82) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 24px; max-width: 860px; }
.eyebrow { color: var(--gold-400); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; margin: 0 0 18px; }
.hero h1 {
  font-family: var(--font-head); font-weight: 600; color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.07; letter-spacing: -.5px; margin: 0 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 640px; margin: 0 0 34px; text-shadow: 0 1px 16px rgba(0,0,0,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats band ---------- */
.stats { background: var(--navy-900); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 34px 24px; }
.stat { text-align: center; padding: 12px 16px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 600; color: var(--gold-400); font-size: 1.5rem; line-height: 1.15; margin-bottom: 6px; }
.stat-label { color: rgba(255,255,255,.7); font-size: .84rem; }

/* ---------- Section basics ---------- */
section { position: relative; }
.intro, .services, .maps, .process, .expertise, .about, .why, .tools, .contact { padding: 88px 0; }
.section-eyebrow { color: var(--gold-500); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .76rem; margin: 0 0 14px; }
.section-title { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.14; letter-spacing: -.3px; margin: 0 0 16px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-lead { font-size: 1.1rem; color: var(--ink-500); margin: 0; }

/* ---------- Intro ---------- */
.intro { background: var(--white); }
.intro-inner { max-width: 820px; }
.intro-text { font-size: 1.18rem; color: var(--ink-700); margin: 0; }

/* ---------- Maps & data ---------- */
.maps { background: var(--white); }
.maps .cards { margin-bottom: 0; }
.maps-cta {
  margin-top: 34px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(160deg, rgba(199,154,59,.12), rgba(255,255,255,0));
  border: 1px solid rgba(199,154,59,.45); border-left: 4px solid var(--gold-500);
  border-radius: var(--radius); padding: 28px 32px;
}
.maps-cta h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; margin: 0 0 8px; color: var(--navy-800); letter-spacing: -.2px; }
.maps-cta p { margin: 0; max-width: 640px; color: var(--ink-700); font-size: 1rem; }

/* ---------- Tools hub CTA (homepage) ---------- */
.tools-hub { margin-top: 14px; background: linear-gradient(150deg, var(--navy-700), var(--navy-800)); border-radius: var(--radius); padding: 36px 40px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 14px 34px rgba(11,34,51,.18); }
.tools-hub-text { flex: 1 1 460px; }
.tools-hub-kicker { color: var(--gold-400); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; margin: 0 0 10px; }
.tools-hub h3 { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 10px; letter-spacing: -.2px; }
.tools-hub-text > p { color: rgba(255,255,255,.85); margin: 0 0 16px; font-size: 1rem; }
.tools-hub-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tools-hub-tags span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.tools-hub .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 760px) { .tools-hub { padding: 28px 24px; } }
.maps-cta .btn { white-space: nowrap; flex-shrink: 0; }

/* ---------- Services ---------- */
.services { background: var(--sand-50); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(199,154,59,.5); }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-800)); color: var(--gold-400);
  margin-bottom: 18px;
}
.card h3 { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: 1.28rem; margin: 0 0 6px; }
.card > p { margin: 0 0 16px; color: var(--ink-500); font-size: .96rem; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.card li { position: relative; padding-left: 22px; font-size: .95rem; color: var(--ink-700); }
.card li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px;
  border-right: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500);
  transform: translateY(-60%) rotate(45deg);
}

/* ---------- Process ---------- */
.process { background: var(--white); }
.process-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.process-lead p { font-size: 1.08rem; color: var(--ink-700); margin: 0; }
.process-cards { display: grid; gap: 20px; }
.process-card {
  background: linear-gradient(160deg, rgba(199,154,59,.10), rgba(255,255,255,0)); border: 1px solid rgba(199,154,59,.45);
  border-left: 3px solid var(--gold-500); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.process-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process-card h3 { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: 1.2rem; margin: 0 0 8px; }
.process-card p { margin: 0; color: var(--ink-500); font-size: .98rem; }
.process-card.highlight strong { color: var(--navy-700); }

/* ---------- Expertise ---------- */
.expertise { background: var(--navy-800); color: #fff; }
.expertise .section-title { color: #fff; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.industry:hover { transform: translateY(-4px); border-color: var(--gold-500); background: linear-gradient(160deg, rgba(199,154,59,.1), rgba(255,255,255,0)); }
.industry h3 { font-family: var(--font-head); font-weight: 600; color: var(--gold-400); font-size: 1.35rem; margin: 0 0 10px; }
.industry p { color: rgba(255,255,255,.8); margin: 0; font-size: .98rem; }

/* ---------- Parallax quote band ---------- */
.band { position: relative; overflow: hidden; color: #fff; }
.band-parallax {
  position: absolute; left: 0; right: 0; top: -16%; height: 132%; z-index: 0;
  background: url("assets/hero.jpg") center 35% / cover no-repeat;
  will-change: transform;
}
.band-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,12,20,.82), rgba(8,12,20,.9)); }
.band-inner { position: relative; z-index: 2; padding: 112px 24px; max-width: 820px; margin: 0 auto; text-align: center; }
.band-quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; color: #fff; margin: 0 0 18px; }
.band-sub { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 660px; margin: 0 auto; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: center; }
.about-photo {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.aapl-badge { display: block; margin: 18px auto 0; max-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 15px; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.aapl-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.aapl-badge img { width: 100%; height: auto; display: block; }
.aapl-cap { margin: 9px auto 0; max-width: 230px; text-align: center; font-size: .74rem; color: var(--ink-500); line-height: 1.35; }
.about-body p { font-size: 1.05rem; margin: 0 0 18px; }
.about-body .btn { margin-top: 8px; }

/* ---------- Tools ---------- */
.tools { background: var(--white); }
.tool-card { display: flex; flex-direction: column; text-align: left; }
.tool-card .card-icon { margin-bottom: 16px; }
.tool-badge { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.tool-badge.live { background: rgba(46,125,50,.12); color: #2e7d32; border: 1px solid rgba(46,125,50,.3); }
.tool-badge.soon { background: var(--sand-100); color: var(--ink-500); border: 1px solid var(--line); }
.tool-badge.pdf { background: rgba(199,154,59,.14); color: var(--gold-500); border: 1px solid rgba(199,154,59,.4); }
.tool-badge.ext { background: rgba(31,78,112,.1); color: var(--navy-600); border: 1px solid rgba(31,78,112,.28); }
.tool-card h3 { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: 1.28rem; margin: 0 0 8px; }
.tool-card p { margin: 0; color: var(--ink-500); font-size: .96rem; }
.tool-card .tool-cta { margin-top: 16px; color: var(--gold-500); font-weight: 600; font-size: .95rem; }
a.tool-card { color: inherit; }
a.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(199,154,59,.5); }
a.tool-card:hover .tool-cta { color: var(--gold-400); }
.tool-card.muted { background: var(--sand-50); }

/* ---------- Why ---------- */
.why { background: var(--sand-100); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold-500); }
.value h3 { font-family: var(--font-head); font-weight: 600; color: var(--ink-900); font-size: 1.15rem; margin: 0 0 8px; }
.value p { margin: 0; font-size: .96rem; color: var(--ink-500); }

/* ---------- Contact ---------- */
.careers { background: var(--sand-100); padding: 88px 0; }
.careers-inner { max-width: 640px; margin: 0 auto; }
.careers-intro { text-align: center; margin-bottom: 32px; }
.careers-intro p { color: var(--ink-700); font-size: 1.05rem; max-width: 560px; margin: 14px auto 0; }
.careers-intro a { color: var(--gold-500); font-weight: 600; }
.careers-intro a:hover { color: var(--navy-700); }

.contact { background: var(--navy-900); color: #fff; }
.contact .section-title { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-body p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 3px; border-left: 3px solid var(--gold-500); padding-left: 16px; }
.contact-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-400); font-weight: 600; }
.contact-list a, .contact-list span:not(.contact-label) { color: #fff; font-size: 1.08rem; }
.contact-list a:hover { color: var(--gold-400); }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-900); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .98rem; color: var(--ink-900); background: var(--sand-50);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px var(--gold-glow);
}
.field textarea { resize: vertical; }
.field-hint { font-weight: 400; color: var(--ink-500); font-size: .8rem; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-status { border-radius: var(--radius-sm); padding: 12px 14px; margin: 4px 0 14px; font-size: .92rem; font-weight: 500; }
.form-status.ok { background: rgba(46,125,50,.1); color: #2e7d32; border: 1px solid rgba(46,125,50,.3); }
.form-status.err { background: rgba(176,0,32,.08); color: #b00020; border: 1px solid rgba(176,0,32,.25); }
.form-note { font-size: .86rem; color: var(--ink-500); margin: 14px 0 0; text-align: center; }

/* ---------- Energy market ticker ---------- */
.ticker-band { background: var(--navy-800); border-top: 1px solid rgba(199,154,59,.35); border-bottom: 1px solid rgba(255,255,255,.06); padding: 6px 0; }
.ticker-band .tradingview-widget-container { width: 100%; }
.ticker-band .tradingview-widget-copyright { font-size: .68rem; text-align: center; padding: 2px 0 0; }
.ticker-band .tradingview-widget-copyright, .ticker-band .tradingview-widget-copyright a { color: rgba(255,255,255,.4); text-decoration: none; }
.ticker-band .tradingview-widget-copyright a:hover { color: var(--gold-400); }

/* WTI price square (hero) */
.wti-tile {
  position: absolute; right: 26px; bottom: 26px; z-index: 3; width: 214px;
  background: rgba(9,18,28,.82); backdrop-filter: blur(5px);
  border: 1px solid rgba(199,154,59,.55); border-radius: 14px;
  padding: 11px 13px 9px; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.wti-tile[hidden] { display: none; }
.wti-tile .wti-head { margin: 0 0 3px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
.wti-tile .wti-price { font-size: 1.9rem; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; margin: 2px 0; font-variant-numeric: tabular-nums; }
.wti-tile .wti-change { font-size: .82rem; font-weight: 600; min-height: 1em; }
.wti-tile .wti-change.up { color: #4ade80; }
.wti-tile .wti-change.down { color: #f87171; }
.wti-tile .wti-cap { margin: 5px 0 0; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
@media (max-width: 900px) { .wti-tile { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.08); padding: 42px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-full { height: 48px; width: auto; display: block; }
.footer-tag { margin: 0; font-size: .8rem; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.78); font-size: .95rem; }
.footer-nav a:hover { color: var(--gold-400); }
.footer-legal { grid-column: 1 / -1; margin: 8px 0 0; font-size: .82rem; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }
.footer-credit { display: inline-block; margin-top: 6px; font-size: .8rem; color: rgba(255,255,255,.4); letter-spacing: .02em; }
.footer-credit a { color: var(--gold-400); font-weight: 600; }
.footer-credit a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cards, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .stat:nth-child(2), .stat:nth-child(4) { border-right: 0; }
  .process-inner { grid-template-columns: 1fr; gap: 34px; }
  .about-inner { grid-template-columns: 1fr; gap: 34px; }
  .about-media { max-width: 220px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; z-index: 120; }
  .header-inner { height: 88px; }
  .brand-full { height: 64px; }
  .nav-menu {
    position: fixed; inset: 88px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-900); padding: 16px 20px 24px; border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-140%); transition: transform .32s var(--ease); box-shadow: var(--shadow-md);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-menu .nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
  .cards, .industry-grid, .value-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 80vh; }
  .hero-inner { padding: 92px 24px; }
  .intro, .services, .process, .expertise, .about, .why, .contact { padding: 64px 0; }
  .band-inner { padding: 84px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===========================================================
   THEME TOGGLE + LIGHT THEME
   Default (no attribute) = the navy/brand look. html[data-theme="light"]
   flips the big dark bands (stats, expertise, contact) to a light scheme.
   The navy header and footer stay as the brand frame (they hold the
   white-and-gold logo), and the hero and quote band keep their photos.
   =========================================================== */
.theme-toggle-li { display: flex; align-items: center; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; margin-left: 4px;
  background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  color: rgba(255,255,255,.9); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.theme-toggle:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; transform: translateY(-1px); }
.theme-toggle svg { display: block; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: inline; }

/* Smooth cross-fade between themes (only fires on toggle, not first paint) */
body, .stats, .stat, .stat-num, .stat-label,
.expertise, .industry, .industry h3, .industry p,
.contact, .contact-body p, .contact-list a, .contact-list span {
  transition: background-color .32s var(--ease), color .32s var(--ease), border-color .32s var(--ease);
}

/* ---- Stats band ---- */
html[data-theme="light"] .stats { background: var(--sand-100); color: var(--ink-900); border-top-color: var(--line); }
html[data-theme="light"] .stat { border-right-color: var(--line); }
html[data-theme="light"] .stat-num { color: var(--gold-500); }
html[data-theme="light"] .stat-label { color: var(--ink-500); }

/* ---- Expertise / Industries ---- */
html[data-theme="light"] .expertise { background: var(--sand-50); color: var(--ink-700); }
html[data-theme="light"] .expertise .section-title { color: var(--ink-900); }
html[data-theme="light"] .industry {
  border-color: var(--line);
  background: var(--white); box-shadow: var(--shadow-sm);
}
html[data-theme="light"] .industry:hover {
  border-color: var(--gold-500);
  background: linear-gradient(160deg, rgba(199,154,59,.12), #fff);
}
html[data-theme="light"] .industry h3 { color: var(--navy-700); }
html[data-theme="light"] .industry p { color: var(--ink-500); }

/* ---- Contact ---- */
html[data-theme="light"] .contact { background: var(--sand-100); color: var(--ink-700); }
html[data-theme="light"] .contact .section-title { color: var(--ink-900); }
html[data-theme="light"] .contact-body p { color: var(--ink-700); }
html[data-theme="light"] .contact-list a,
html[data-theme="light"] .contact-list span:not(.contact-label) { color: var(--ink-900); }
html[data-theme="light"] .contact-label { color: var(--gold-500); }

/* Logo swap: white logo on dark theme, navy/gold logo on light theme */
.brand-on-light, .footer-on-light { display: none; }
html[data-theme="light"] .brand-on-dark, html[data-theme="light"] .footer-on-dark { display: none; }
html[data-theme="light"] .brand-on-light, html[data-theme="light"] .footer-on-light { display: block; }

/* ---- Header (light) ---- */
html[data-theme="light"] .site-header { background: rgba(247,244,238,.94); border-bottom: 1px solid var(--line); }
html[data-theme="light"] .nav-menu a { color: var(--ink-700); }
html[data-theme="light"] .nav-menu a:hover { color: var(--navy-800); background: rgba(11,34,51,.06); }
html[data-theme="light"] .nav-menu .nav-cta { color: var(--navy-900); }
html[data-theme="light"] .nav-toggle span { background: var(--ink-900); }
html[data-theme="light"] .theme-toggle { color: var(--ink-900); border-color: rgba(15,42,63,.25); }
html[data-theme="light"] .theme-toggle:hover { background: rgba(11,34,51,.06); border-color: rgba(15,42,63,.5); color: var(--navy-900); }

/* ---- Footer (light) ---- */
html[data-theme="light"] .site-footer { background: var(--sand-100); color: var(--ink-700); border-top: 1px solid var(--line); }
html[data-theme="light"] .footer-tag { color: var(--ink-500); }
html[data-theme="light"] .footer-nav a { color: var(--ink-700); }
html[data-theme="light"] .footer-nav a:hover { color: var(--gold-500); }
html[data-theme="light"] .footer-legal { color: var(--ink-500); border-top-color: var(--line); }
html[data-theme="light"] .footer-credit { color: var(--ink-500); }
html[data-theme="light"] .footer-credit a { color: var(--gold-500); }
html[data-theme="light"] .footer-credit a:hover { color: var(--navy-800); }

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-footer { transition: background-color .32s var(--ease), border-color .32s var(--ease); }

/* Toggle sits inline on mobile menu too */
@media (max-width: 760px) {
  .theme-toggle-li { justify-content: flex-start; padding: 8px 12px; }
  html[data-theme="light"] .nav-menu { background: var(--sand-50); border-bottom-color: var(--line); }
  html[data-theme="light"] .nav-menu a { color: var(--ink-900); }
}
