/* ==========================================================================
   SHANAY INDUSTRIES — Core Stylesheet
   --------------------------------------------------------------------------
   Author: Shanay Industries web
   Structure of this file:
     1.  CSS Variables (design tokens)  ........  edit brand colours here
     2.  Reset & base elements
     3.  Typography helpers
     4.  Layout utilities (container, grid, sections)
     5.  Buttons & links
     6.  Header / navigation
     7.  Hero (video) sections
     8.  Reusable components (cards, stats, marquee, accordions...)
     9.  Footer
     10. Scroll-reveal animation states
     11. Page-specific blocks (capabilities, explore, careers, contact)
     12. Responsive breakpoints
   Search the SECTION headers (e.g. "6. HEADER") to jump around.
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES  — change brand colours / spacing in one place
   ========================================================================== */
:root {
  /* Brand palette (derived from the Shanay logo) */
  --indigo:        #2230a0;   /* primary brand blue/indigo */
  --indigo-deep:   #141a5e;   /* darker indigo for gradients */
  --indigo-bright: #3a48d8;   /* hover / glow */
  --spark:         #ff6a13;   /* spark orange accent */
  --spark-soft:    #ff8a3d;
  --steel:         #8a9099;   /* logo grey */

  /* Dark theme surfaces */
  --ink:        #0a0c12;      /* page-dark background */
  --ink-2:      #0f1320;      /* raised dark panel */
  --ink-3:      #161b2b;      /* card on dark */
  --hairline:   rgba(255,255,255,0.10);

  /* Light theme surfaces */
  --paper:      #f4f5f8;      /* page-light background */
  --paper-2:    #ffffff;      /* card on light */
  --line:       #e3e6ec;      /* light borders */

  /* Text */
  --on-dark:        #eef1f6;
  --on-dark-dim:    #aab2c4;
  --on-light:       #14161c;
  --on-light-dim:   #565d6b;

  /* Type scale */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h1: clamp(2.4rem, 6vw, 5rem);
  --h2: clamp(1.9rem, 4vw, 3.2rem);
  --h3: clamp(1.3rem, 2.4vw, 1.9rem);

  /* Spacing & shape */
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius:   14px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--on-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 { line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--spark);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--spark); }
.display { font-size: var(--h1); text-transform: uppercase; }
.section-title { font-size: var(--h2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--on-dark-dim); max-width: 60ch; }
.text-spark { color: var(--spark); }
.text-indigo { color: var(--indigo-bright); }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--dark  { background: var(--ink);   color: var(--on-dark); }
.section--ink2  { background: var(--ink-2);  color: var(--on-dark); }
.section--light { background: var(--paper);  color: var(--on-light); }
.section--light .lead { color: var(--on-light-dim); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head .section-title { margin: .6rem 0 1rem; }
.center { text-align: center; margin-inline: auto; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  --bg: var(--indigo); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem; border-radius: 100px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  background: var(--bg); color: var(--fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(34,48,160,.35); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--spark { --bg: var(--spark); }
.btn--spark:hover { box-shadow: 0 12px 28px rgba(255,106,19,.4); background: var(--spark-soft); }
.btn--ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; box-shadow: 0 12px 28px rgba(34,48,160,.35); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--sm { padding: .65rem 1.1rem; font-size: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--indigo-bright); }
.section--dark .link-arrow { color: var(--spark); }
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ==========================================================================
   6. HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(8,10,16,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--hairline);
  padding-block: .65rem;
}
.brand { display: flex; align-items: center; gap: .6rem; z-index: 2; }
.brand img { height: 40px; width: auto; }
.brand-chip { background: #fff; border-radius: 10px; padding: 6px 10px; display: inline-flex; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-weight: 600; font-size: .95rem; position: relative; padding: .25rem 0; color: var(--on-dark); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--spark); transition: width .25s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px; justify-content: center; z-index: 2; }
.nav-toggle span { height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,15,.55) 0%, rgba(7,9,15,.25) 40%, rgba(7,9,15,.92) 100%);
}
.hero__inner { padding-block: clamp(3rem, 10vh, 8rem); }
.hero h1 { max-width: 16ch; margin: 1rem 0 1.2rem; }
.hero .lead { color: #d7dce6; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--on-dark-dim);
}
.scroll-cue .mouse { width: 22px; height: 36px; border: 2px solid var(--on-dark-dim); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after {
  content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; border-radius: 2px;
  background: var(--spark); transform: translateX(-50%); animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* compact page hero (interior pages) */
.page-hero { position: relative; min-height: 62vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img, .page-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,15,.6), rgba(7,9,15,.85)); }
.page-hero__inner { padding-top: 6rem; }
.page-hero h1 { font-size: var(--h1); text-transform: uppercase; margin: .8rem 0 1rem; }

/* ==========================================================================
   8. COMPONENTS
   ========================================================================== */
/* --- Card (generic) --- */
.card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-3); border: 1px solid var(--hairline);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.section--light .card { background: var(--paper-2); border-color: var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.card:hover { border-color: rgba(255,106,19,.4); }
.card__media { aspect-ratio: 16/11; overflow: hidden; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; }
.card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--spark); }
.card__title { font-size: 1.2rem; margin: .5rem 0 .5rem; }
.card__text { font-size: .95rem; color: var(--on-dark-dim); }
.section--light .card__text { color: var(--on-light-dim); }

/* --- Capability tile (links to capabilities page) --- */
.cap-tile {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  isolation: isolate; border: 1px solid var(--hairline);
}
.cap-tile img, .cap-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.cap-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,9,15,.1), rgba(7,9,15,.9)); }
.cap-tile:hover img, .cap-tile:hover video { transform: scale(1.08); }
.cap-tile__body { position: absolute; inset: auto 0 0 0; padding: 1.6rem; }
.cap-tile__body h3 { font-size: 1.35rem; text-transform: uppercase; }
.cap-tile__body p { color: var(--on-dark-dim); font-size: .92rem; margin-top: .4rem; max-width: 38ch;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .45s var(--ease); }
.cap-tile:hover .cap-tile__body p { max-height: 120px; opacity: 1; margin-top: .6rem; }
.cap-tile__cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 700; color: var(--spark); font-size: .9rem; }

/* --- Stats counters --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius); }
.stat__num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--indigo-bright), var(--spark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: .6rem; font-size: .9rem; color: var(--on-dark-dim); letter-spacing: .04em; }
.section--light .stat__label { color: var(--on-light-dim); }

/* --- Marquee (logos / materials) --- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: scrollx 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--steel); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee__item::after { content: "•"; color: var(--spark); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* --- Feature row (alternating image/text) --- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3rem, 7vw, 6rem); }
.feature__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.feature__media img, .feature__media video { width: 100%; height: 100%; object-fit: cover; }
.feature.reverse .feature__media { order: 2; }
.feature ul.ticks { margin-top: 1.2rem; display: grid; gap: .6rem; }
.feature ul.ticks li { padding-left: 1.8rem; position: relative; color: var(--on-light-dim); }
.section--dark .feature ul.ticks li, .section--ink2 .feature ul.ticks li { color: var(--on-dark-dim); }
.feature ul.ticks li::before { content: "›"; position: absolute; left: 0; color: var(--spark); font-weight: 800; }

/* --- Accordion (drill-down) --- */
.accordion { border-top: 1px solid var(--hairline); }
.section--light .accordion { border-color: var(--line); }
.acc-item { border-bottom: 1px solid var(--hairline); }
.section--light .acc-item { border-color: var(--line); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; text-align: left; font-size: clamp(1.05rem,2vw,1.4rem); font-weight: 700; }
.acc-head .plus { flex: none; width: 26px; height: 26px; position: relative; }
.acc-head .plus::before, .acc-head .plus::after { content: ""; position: absolute; inset: 50% 0 auto 0; height: 2px; background: var(--spark); transition: transform .3s var(--ease); }
.acc-head .plus::after { transform: rotate(90deg); }
.acc-item.open .plus::after { transform: rotate(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body__inner { padding-bottom: 1.4rem; color: var(--on-dark-dim); max-width: 70ch; }
.section--light .acc-body__inner { color: var(--on-light-dim); }

/* --- Pill / chip filter buttons --- */
.filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .6rem 1.2rem; border-radius: 100px; font-weight: 600; font-size: .9rem;
  border: 1.5px solid var(--line); color: var(--on-light); background: var(--paper-2);
  transition: all .25s var(--ease);
}
.section--dark .filter-btn { border-color: var(--hairline); color: var(--on-dark); background: transparent; }
.filter-btn:hover { border-color: var(--spark); }
.filter-btn.active { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* --- Badge --- */
.badge { display: inline-block; padding: .3rem .7rem; border-radius: 100px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(34,48,160,.12); color: var(--indigo-bright); }
.section--dark .badge { background: rgba(255,106,19,.14); color: var(--spark); }

/* --- CTA band --- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 5rem); text-align: center;
  background: radial-gradient(1200px 400px at 50% -20%, rgba(58,72,216,.5), transparent), linear-gradient(120deg, var(--indigo-deep), #0c1030); }
.cta-band h2 { font-size: var(--h2); text-transform: uppercase; margin-bottom: 1rem; }
.cta-band p { color: #c8cfe2; max-width: 50ch; margin: 0 auto 2rem; }
.cta-band .hero__actions { justify-content: center; }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer { background: #07090f; color: var(--on-dark-dim); padding-top: clamp(3rem,6vw,5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer a { display: inline-block; padding: .25rem 0; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--spark); }
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-tag { max-width: 30ch; font-size: .92rem; }
.footer-contact li { display: flex; gap: .6rem; padding: .3rem 0; font-size: .92rem; }
.footer-bottom { border-top: 1px solid var(--hairline); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; }
.socials { display: flex; gap: .8rem; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--hairline); border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { border-color: var(--spark); background: rgba(255,106,19,.1); }

/* ==========================================================================
   10. SCROLL-REVEAL (toggled by JS adding .is-visible)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ==========================================================================
   11. PAGE-SPECIFIC
   ========================================================================== */
/* Explore grid */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.explore-card { cursor: pointer; }
.explore-card[hidden] { display: none; }
.empty-state { text-align: center; padding: 3rem; color: var(--on-light-dim); grid-column: 1 / -1; }

/* Detail page article */
.article { max-width: 820px; margin-inline: auto; }
.article h2 { font-size: var(--h3); margin: 2.2rem 0 1rem; }
.article p { margin-bottom: 1.1rem; color: var(--on-light-dim); }
.article ul.bullets { margin: 0 0 1.4rem 1.2rem; list-style: disc; color: var(--on-light-dim); }
.article ul.bullets li { margin-bottom: .5rem; }
.article figure { margin: 2rem 0; border-radius: var(--radius-lg); overflow: hidden; }
.article figcaption { font-size: .85rem; color: var(--on-light-dim); padding: .7rem 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.2rem 0; border-block: 1px solid var(--line); margin: 1.5rem 0 2.5rem; font-size: .9rem; }
.meta-row strong { display: block; color: var(--on-light); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem; }
.meta-row span { color: var(--on-light-dim); }

/* Careers / openings */
.job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.job:hover { border-color: var(--spark); transform: translateX(4px); }
.job__meta { display: flex; gap: 1.2rem; flex-wrap: wrap; color: var(--on-light-dim); font-size: .85rem; margin-top: .3rem; }
.value-card { padding: 1.8rem; border-radius: var(--radius-lg); background: var(--ink-3); border: 1px solid var(--hairline); }
.value-card .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,106,19,.14); color: var(--spark); margin-bottom: 1rem; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .4rem; color: var(--on-light); }
.section--dark .field label { color: var(--on-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 10px; font: inherit;
  background: var(--paper-2); border: 1.5px solid var(--line); color: var(--on-light); transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-bright); }
.form-note { font-size: .85rem; color: var(--on-light-dim); }
.form-status { font-weight: 600; padding: .8rem 1rem; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(34,160,80,.12); color: #1c8a4a; }

/* Info cards row (contact) */
.info-card { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--ink-3); border: 1px solid var(--hairline); }
.info-card .ic { color: var(--spark); margin-bottom: .8rem; }
.info-card a, .info-card p { color: var(--on-dark-dim); }
.info-card a:hover { color: var(--spark); }

/* Map embed */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); min-height: 360px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .grid-3, .grid-4, .explore-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature.reverse .feature__media { grid-template-columns: 1fr; order: 0; }
  .feature__media { order: -1 !important; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80%, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: rgba(10,12,18,.97); backdrop-filter: blur(20px);
    padding: 2rem; transform: translateX(100%); transition: transform .4s var(--ease); z-index: 1;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.2rem; color: var(--on-dark); }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4, .explore-grid, .stats, .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
