/* ============================================================
   1 Source Solutions — design tokens + system
   ============================================================ */
:root {
  --ink:        #000000;
  --paper:      #ffffff;
  --lime:       rgb(186, 218, 85);
  --lime-strong:rgb(90, 120, 32);
  --surface-1:  rgb(246, 247, 244);
  --surface-2:  rgb(233, 235, 230);
  --border:    rgb(214, 215, 211);
  --text:       rgb(34, 34, 34);
  --text-2:     rgb(59, 58, 58);
  --text-3:     rgb(122, 121, 117);
  --lime-soft:  rgba(186, 218, 85, .16);
  --lime-line:  rgba(186, 218, 85, .22);
  --lime-glow:  rgba(186, 218, 85, .18);
  --ink-70:     rgba(0, 0, 0, .70);
  --ink-faint:  rgba(0, 0, 0, .10);
  --shadow-soft: 0 12px 32px -16px rgba(0, 0, 0, .18);
  --shadow-lift: 0 24px 48px -22px rgba(0, 0, 0, .20);
  --shadow-press: 0 8px 20px -14px rgba(90, 120, 32, .55);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --maxw: 1200px;
  --gutter: 24px;
  --ease-out: cubic-bezier(0.16, 0.84, 0.3, 1);
  --ease-tilt: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--text-2); background: var(--paper); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  color: var(--ink); line-height: 1.05; text-transform: uppercase;
  letter-spacing: -0.01em; margin: 0;
}
p { margin: 0; }
address { font-style: normal; }
:where(section, [id])[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--lime-strong); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
.skip-link {
  position: absolute; left: 0; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; font-weight: 600; font-size: 15px;
  transform: translateY(-120%); transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-strong);
  margin: 0 0 14px;
}
.section-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
.section-title { font-size: clamp(30px, 4vw, 56px); }
.section-lede { margin-top: 14px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border-radius: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-primary:hover { background: rgb(170, 202, 72); box-shadow: var(--shadow-press); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost:active { transform: scale(0.98); }
.header-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.link {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime);
  text-underline-offset: 3px; text-decoration-thickness: 2px; transition: color .3s ease;
}
.link:hover { color: var(--lime-strong); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 80px; transition: height .3s var(--ease-out); }
.site-header.is-condensed .header-inner { height: 64px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; transition: height .3s var(--ease-out); }
.site-header.is-condensed .brand-logo { height: 42px; }
.site-nav { flex: 1; display: flex; justify-content: flex-end; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu > li > a, .nav-menu > li > .nav-group-trigger {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 6px 0; font-weight: 500; font-size: 16px;
  color: var(--text-2); transition: color .3s ease;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%;
  background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-menu > li > a:hover, .nav-menu > li > a:focus-visible { color: var(--ink); }
.nav-menu > li > a:hover::after, .nav-menu > li > a:focus-visible::after, .nav-menu > li > a.is-active::after { transform: scaleX(1); }

/* Nav groups (dropdown) */
.nav-group { position: relative; }
.nav-group-trigger {
  background: none; border: 0; font-family: inherit; font-size: 16px; font-weight: 500;
  color: var(--text-2); cursor: pointer; position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 6px 0; transition: color .3s ease;
}
.nav-group-trigger::after {
  content: ""; width: 7px; height: 7px; display: inline-block;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .3s ease; margin-left: 4px;
}
.nav-group.is-open .nav-group-trigger::after { transform: rotate(225deg) translateY(0); }
.nav-group-trigger:hover, .nav-group-trigger:focus-visible { color: var(--ink); }
.nav-group.has-active .nav-group-trigger { color: var(--ink); font-weight: 600; }
.nav-group-menu {
  position: absolute; top: 100%; left: -16px; min-width: 220px;
  display: flex; flex-direction: column; gap: 0;
  background: var(--paper); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-soft); padding: 8px 0; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
}
@media (hover: hover) and (pointer: fine) {
  .nav-group:hover .nav-group-menu, .nav-group:focus-within .nav-group-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-group.is-open .nav-group-menu { opacity: 1; visibility: visible; transform: none; }
.nav-group-menu a {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px; min-height: 40px;
  font-size: 15px; color: var(--text-2); white-space: nowrap; min-width: 44px;
  transition: background .2s ease, color .2s ease;
}
.nav-group-menu a:hover, .nav-group-menu a:focus-visible { background: var(--surface-1); color: var(--ink); }
.nav-group-menu a::after { display: none; }
.nav-group-menu a.is-active { color: var(--ink); font-weight: 600; }
.nav-group-menu a.is-active::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex-shrink: 0;
}
.nav-login { position: relative; font-weight: 600 !important; color: var(--ink) !important; }
.nav-login::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%;
  background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-login:hover::after, .nav-login:focus-visible::after { transform: scaleX(1); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; width: 22px; margin-inline: auto; background: var(--ink); transition: transform .3s var(--ease-out), opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 80vh; padding: 128px 0 104px; background: var(--paper); }
.page-hero { min-height: 56vh; padding: 104px 0 64px; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 72% 22%, var(--lime-glow), transparent 70%); animation: glowPulse 20s ease-in-out infinite; pointer-events: none; }
@keyframes glowPulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.hero-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-shape-a { width: 180px; height: 180px; right: 9%; top: 20%; background: var(--lime-soft); animation: floatA 6s ease-in-out infinite -2s; }
.hero-shape-b { width: 260px; height: 260px; right: 20%; bottom: 6%; border: 2px solid var(--lime-line); animation: floatB 7.5s ease-in-out infinite -4s; }
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(14px,-22px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-16px,18px); } }
.hero-inner { position: relative; z-index: 1; max-width: 920px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
.hero-title { font-size: clamp(40px, 6vw, 88px); margin: 0 0 20px; }
.hero-lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.5; color: var(--text-2); max-width: 52ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .hero-inner > * { opacity: 0; animation: heroRise 1s var(--ease-out) both; }
.hero .hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero .hero-inner > *:nth-child(2) { animation-delay: .14s; }
.hero .hero-inner > *:nth-child(3) { animation-delay: .23s; }
.hero .hero-inner > *:nth-child(4) { animation-delay: .32s; }
.hero .hero-inner > *:nth-child(5) { animation-delay: .41s; }

/* Hero logo cycle */
.hero-logos { position: relative; height: 80px; margin: 28px 0 32px; display: flex; align-items: center; }
.hero-logo { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 16px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; }
.hero-logo.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-logo-icon { width: 52px; height: 52px; color: var(--lime-strong); flex-shrink: 0; }
.hero-logo-name { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); color: var(--ink); letter-spacing: -0.01em; }

/* About */
.about { background: var(--paper); }
.about-media { margin-bottom: 48px; border-radius: 16px; overflow: hidden; aspect-ratio: 21/9; background: var(--surface-2); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value { padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--paper); transition: box-shadow .3s ease, transform .3s var(--ease-out); }
.value:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.value-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--lime-soft); color: var(--lime-strong); display: grid; place-items: center; margin-bottom: 20px; }
.value-title { font-size: 28px; margin-bottom: 12px; }
.value-copy { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.value-shout { margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.02em; font-size: 18px; color: var(--lime-strong); }

/* Ripple band */
.ripple-band { position: relative; overflow: hidden; background: var(--lime); color: var(--ink); padding: 72px 0; }
.ripple-inner { position: relative; z-index: 1; max-width: 920px; }
.ripple-eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-70); margin-bottom: 10px; }
.ripple-line { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 5vw, 64px); line-height: 1; color: var(--ink); }

/* Transportation */
.transportation { background: var(--surface-1); }
.logo-carousel { margin: 8px 0 48px; }
.carousel-stage { perspective: 1400px; }
.carousel-track { position: relative; height: 380px; padding: 0; margin: 0; list-style: none; transform-style: preserve-3d; }
.carousel-tile {
  position: absolute; top: 0; left: 50%; width: 300px; height: 360px; margin-left: -150px;
  padding: 0; border: 0; background: none;
  transition: transform .65s var(--ease-tilt), opacity .65s ease; will-change: transform; cursor: pointer;
}
.logo-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 100%; height: 100%; background: var(--paper); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-soft); }
.logo-tile .icon { width: 72px; height: 72px; color: var(--lime-strong); }
.logo-tile-name { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(20px, 2.2vw, 28px); color: var(--ink); text-align: center; padding: 0 16px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.carousel-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.carousel-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.carousel-arrow:active { transform: scale(0.96); }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .3s ease, transform .3s ease; }
.carousel-dot.is-active { background: var(--lime-strong); transform: scale(1.2); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { perspective: 900px; background: var(--paper); border: 1px solid var(--border); border-radius: 14px; transition: transform .35s var(--ease-tilt), box-shadow .35s ease; }
.card-inner { transform-style: preserve-3d; display: flex; flex-direction: column; height: 100%; padding: 28px; transition: transform .35s var(--ease-tilt); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card-media { margin: -28px -28px 22px; border-radius: 13px 13px 0 0; overflow: hidden; aspect-ratio: 16/9; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--lime-soft); color: var(--lime-strong); display: grid; place-items: center; margin-bottom: 22px; transition: transform .35s var(--ease-tilt); }
.card-title { font-size: clamp(20px, 2vw, 26px); margin-bottom: 8px; }
.card-desc { font-size: 16px; color: var(--text-2); }
.card-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); transition: color .3s ease; }
.card-link .card-arrow { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.card-link:hover { color: var(--lime-strong); }
.card-link:hover .card-arrow { transform: translateX(4px); }
.card:hover .card-icon { transform: translateZ(14px); }
.card:hover .card-title { transform: translateZ(26px); }
.card:hover .card-desc { transform: translateZ(20px); }
.card:hover .card-link { transform: translateZ(38px); }

/* Specialty */
.specialty { background: var(--paper); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.spec-card { position: relative; padding: 28px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-1); text-align: center; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease; }
.spec-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.spec-card:hover { border-color: var(--lime-line); box-shadow: var(--shadow-soft); }
.spec-card:hover::before { transform: scaleX(1); }
.spec-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--paper); border: 1px solid var(--border); color: var(--lime-strong); display: grid; place-items: center; margin: 0 auto 18px; }
.spec-name { font-size: 22px; margin-bottom: 6px; }
.spec-tag { font-size: 13px; color: var(--text-3); letter-spacing: 0.04em; }

/* Contact */
.contact { background: var(--surface-1); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-inquiries { margin-top: 18px; font-size: 18px; max-width: 48ch; }
.office { margin-top: 32px; }
.office-label { font-size: 18px; margin-bottom: 10px; }
.office-addr { font-size: 16px; line-height: 1.6; color: var(--text-2); margin-bottom: 18px; }
.office-row { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--border); font-size: 16px; }
.office-row span { color: var(--text-3); min-width: 64px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-form { background: var(--paper); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; color: var(--text); letter-spacing: 0.02em; }
.field input, .field textarea { width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--text); background: var(--paper); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; transition: border-color .3s ease, box-shadow .3s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.form-submit { margin-top: 24px; width: 100%; max-width: 280px; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 48px; width: auto; filter: brightness(0) invert(1); }
.footer-tag { font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 16px; color: var(--lime); margin-top: 14px; letter-spacing: 0.04em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-nav a { color: rgba(255, 255, 255, 0.72); font-size: 15px; transition: color .3s ease; }
.footer-nav a:hover { color: var(--lime); }
.footer-copy { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; color: rgba(255, 255, 255, 0.5); }

/* Subpages */
.prose-center { max-width: 660px; margin-inline: auto; text-align: center; }
.prose-center .section-title { margin-bottom: 14px; }
.prose-center .section-kicker { justify-content: center; }
.prose-note { margin: 18px 0 28px; font-size: 17px; color: var(--text-3); }
.prog-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* EAG page */
.eag-body { padding-top: 0; }
.video-frame { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16/9; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-soft); margin-inline: auto; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; }
.video-play { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--lime); border: 2px solid var(--lime); background: var(--ink-faint); }
.video-play .icon { width: 34px; height: 34px; }
.video-label { font-size: 16px; font-weight: 600; color: var(--paper); }
.video-desc { margin: 28px auto 32px; max-width: 60ch; font-size: 18px; color: var(--text-2); }
.eag-body .hero-actions { flex-wrap: wrap; }

/* Reveal on scroll (fails open; .js scoped so no-JS shows all) */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .9s var(--ease-out), translate .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .card.reveal { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), transform .35s var(--ease-tilt), box-shadow .35s ease; }
.js .value.reveal { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), box-shadow .3s ease, transform .3s var(--ease-out); }
.js .spec-card.reveal { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), border-color .3s ease, box-shadow .3s ease; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .site-nav { flex: 1; display: flex; justify-content: flex-end; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-soft); padding: 8px var(--gutter) 16px; }
  .nav-menu.is-open { display: flex; }
  .nav-menu > li > a, .nav-menu > li > .nav-group-trigger { min-height: 48px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 17px; width: 100%; justify-content: space-between; }
  .nav-menu > li > a::after { display: none; }
  .nav-group { width: 100%; }
  .nav-group-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 16px; display: none; }
  .nav-group.is-open .nav-group-menu { display: flex; }
  .nav-group-menu a { padding: 14px 0; min-height: 48px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-login { width: 100%; padding: 14px 0; min-height: 48px; border-bottom: 1px solid var(--border); font-size: 17px; }
  .nav-login::after { display: none; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 104px 0 72px; min-height: 72vh; }
  .hero-shape-a { width: 120px; height: 120px; right: 6%; top: 14%; }
  .hero-shape-b { width: 170px; height: 170px; right: 12%; bottom: 8%; }
  .ripple-band { padding: 56px 0; }
  .contact-form { padding: 24px; }
  .form-submit { width: 100%; max-width: none; }
  .footer-top { flex-direction: column; }
  .carousel-track { height: 320px; }
  .carousel-tile { width: 250px; height: 310px; margin-left: -125px; }
  .logo-carousel { margin-bottom: 36px; }
  .hero-logos { height: 72px; }
  .hero-logo-icon { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .carousel-track { height: 290px; }
  .carousel-tile { width: 220px; height: 280px; margin-left: -110px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; translate: 0 0 !important; }
  .hero .hero-inner > * { opacity: 1 !important; }
  .hero-logos { height: auto !important; display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-logo { position: static !important; opacity: 1 !important; transform: none !important; pointer-events: auto; }
  .hero-logo-icon { width: 40px; height: 40px; }
  .hero-logo-name { font-size: 18px; }
}
