/* ============================================
   East Reach Inc — Dark theme
   ============================================ */

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

:root {
  /* Surfaces */
  --bg:           #050810;
  --bg-2:         #0a0e1a;
  --bg-card:      #11151f;
  --bg-card-2:    #1a1f2e;

  /* Text */
  --ink:          #ffffff;
  --ink-2:        #b8c0d0;
  --ink-3:        #6b7b8f;

  /* Brand */
  --cyan:         #00CFFF;
  --cyan-2:       #00B8E6;
  --purple:       #8B5CF6;
  --purple-deep:  #5B3FBF;
  --magenta:      #FF4D8F;

  /* Lines */
  --line:         rgba(255, 255, 255, .06);
  --line-2:       rgba(255, 255, 255, .10);

  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --t:            220ms cubic-bezier(.2,.7,.3,1);
}

/* ===== Base ===== */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--cyan); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--cyan-2); }

h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .55em;
  font-weight: 500;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--cyan); font-weight: 500; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 500; }
h3 { font-size: 1.1rem; font-weight: 600; }
h4 { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }

p { margin: 0 0 1em; color: var(--ink-2); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 920px; }

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.eyebrow.on-dark { color: var(--ink-3); }
.eyebrow.cyan { color: var(--cyan); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-lg { padding: 13px 26px; font-size: .95rem; }

.btn-primary {
  background: var(--cyan);
  color: #001620;
  box-shadow: 0 4px 18px rgba(0, 207, 255, .25);
}
.btn-primary:hover { background: var(--cyan-2); color: #001620; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0, 207, 255, .4); }

.btn-ghost, .btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
  font-weight: 500;
}
.btn-ghost:hover, .btn-outline:hover { background: rgba(0, 207, 255, .08); color: var(--cyan-2); border-color: var(--cyan-2); }

.btn-purple {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
  box-shadow: 0 6px 22px rgba(91, 63, 191, .35);
}
.btn-purple:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(91, 63, 191, .5); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--bg);
}
.btn-light:hover { background: rgba(255,255,255,.92); transform: translateY(-1px); color: var(--bg); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 16, .9);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--cyan), var(--purple) 35%, var(--purple-deep) 60%, var(--cyan) 100%);
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
}
.brand-mark svg { position: relative; z-index: 1; color: var(--cyan); }
.brand-name { display: flex; align-items: baseline; gap: 6px; color: #fff; }
.brand-name .inc {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--cyan);
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 8px;
}
.primary-nav a {
  position: relative;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color var(--t);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a.active { color: var(--cyan); }

/* Nav dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  vertical-align: middle;
  transition: transform var(--t);
}
.has-dropdown:hover > a::after { transform: translateY(0) rotate(225deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--t);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .5);
  z-index: 110;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .85rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-2);
}
.dropdown a:hover { background: rgba(0, 207, 255, .08); color: var(--cyan); }

.nav-cta {
  background: var(--cyan);
  color: #001620;
  padding: 9px 18px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  border-radius: 999px;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--cyan-2); color: #001620; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t); }

/* ===== Sections ===== */
.section { padding: 88px 0; background: var(--bg); }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--bg); }
.section-light { background: #f6f7fb; color: #1a1f2e; }
.section-light h2,
.section-light h3,
.section-light h4 { color: #1a1f2e; }
.section-light p { color: #5a6170; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-head h2 {
  color: var(--magenta);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  margin-bottom: 18px;
  letter-spacing: 0;
}
.section-head .lede {
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}
.section-light .section-head h2 { color: var(--magenta); }
.section-light .section-head .lede { color: #5a6170; }

/* ===== Home hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 120px;
  background: var(--bg);
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 240px;
  background: linear-gradient(180deg, transparent, rgba(91, 63, 191, .22));
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 70% 50% at 85% 35%, rgba(139, 92, 246, .15), transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 100%, rgba(0, 207, 255, .08), transparent 70%);
}
.hero-bg .grid-glow {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(rgba(0, 207, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 207, 255, .35) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.hero h1 {
  color: var(--cyan);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: .95rem;
  color: var(--ink-2);
  max-width: 460px;
  margin: 0 0 32px;
  line-height: 1.65;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Page hero (sub-pages) ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 90px;
  background: var(--bg);
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(91, 63, 191, .25));
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--cyan);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.page-hero .lede {
  font-size: .96rem;
  color: var(--ink-2);
  max-width: 520px;
  line-height: 1.6;
}
.page-hero.with-illust {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.page-hero .illust {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 480px;
  margin-left: auto;
  display: grid;
  place-items: center;
}
.page-hero .illust svg { width: 80%; height: 80%; filter: drop-shadow(0 0 40px rgba(139, 92, 246, .4)); }

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: var(--ink-3);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--cyan); }
.crumb .sep { opacity: .5; }

/* ===== Cards grid ===== */
.cards-grid { display: grid; gap: 24px; }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }

/* Service card (with illustration block at top) */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
}
.service-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 207, 255, .12);
}
.service-card .card-illust {
  height: 170px;
  background: linear-gradient(135deg, #2a1a5e, #3b2380 50%, #1f4a82);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.service-card .card-illust::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 60%, rgba(0, 207, 255, .3), transparent 55%),
    radial-gradient(circle at 30% 40%, rgba(255, 77, 143, .15), transparent 55%);
}
.service-card .card-illust svg {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  color: rgba(255, 255, 255, .92);
  filter: drop-shadow(0 4px 14px rgba(0, 207, 255, .35));
}
.service-card .card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card h3 {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.service-card .card-cta {
  align-self: flex-start;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 500;
  transition: all var(--t);
}
.service-card .card-cta:hover { background: var(--cyan); color: #001620; }

/* Tech carousel section */
.tech-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 12px 32px;
}
.tech-carousel .copy h3 {
  color: var(--cyan);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 14px;
}
.tech-carousel .copy p {
  color: var(--ink-2);
  font-size: .94rem;
  margin-bottom: 24px;
  max-width: 460px;
}
.tech-carousel .visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 380px;
  margin-left: auto;
  display: grid;
  place-items: center;
}
.tech-carousel .visual::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(91, 63, 191, .25), transparent 70%);
}
.tech-carousel .visual svg {
  position: relative;
  width: 78%;
  height: 78%;
  filter: drop-shadow(0 0 40px rgba(0, 207, 255, .25));
}
.tech-slide { display: none; }
.tech-slide.active { display: grid; }

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  cursor: pointer;
  z-index: 5;
  transition: all var(--t);
}
.carousel-nav:hover { color: var(--cyan); border-color: var(--cyan); }
.carousel-nav.prev { left: -8px; }
.carousel-nav.next { right: -8px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.carousel-dots .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line-2);
  cursor: pointer;
  transition: all var(--t);
}
.carousel-dots .dot.active { background: var(--cyan); width: 22px; border-radius: 4px; }

/* Success story rows */
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0;
}
.story-row.flip > .story-img { order: 2; }
.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .45);
}
.story-img.img-energy      { background-image: linear-gradient(135deg, rgba(0,207,255,.18), rgba(91,63,191,.18)), url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=1200&q=80'); }
.story-img.img-recycling   { background-image: linear-gradient(135deg, rgba(0,207,255,.18), rgba(91,63,191,.18)), url('https://images.unsplash.com/photo-1532601224476-15c79f2f7a51?w=1200&q=80'); }
.story-img.img-liquidation { background-image: linear-gradient(135deg, rgba(0,207,255,.18), rgba(91,63,191,.18)), url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1200&q=80'); }
.story-copy h3 {
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.story-copy p {
  color: var(--ink-2);
  font-size: .94rem;
  margin-bottom: 22px;
  line-height: 1.65;
}

/* Featured projects grid (thumbnails) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  color: var(--ink-2);
  transition: all var(--t);
}
.project-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  color: var(--ink-2);
}
.project-card .thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card-2);
}
.project-card .label {
  padding: 14px 12px;
  color: var(--ink);
  font-weight: 500;
  font-size: .92rem;
}

/* Inline contact form section */
.contact-section {
  position: relative;
  padding: 32px 0 88px;
}
.contact-section .contact-inner {
  background: linear-gradient(135deg, rgba(91, 63, 191, .22), rgba(20, 20, 50, .35));
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.contact-section .contact-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, .18), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(0, 207, 255, .12), transparent 40%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-grid .copy .eyebrow {
  display: inline-block;
  color: var(--ink-3);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.contact-grid h2 {
  color: var(--cyan);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.2;
}
.contact-grid .copy p { color: var(--ink-2); font-size: .94rem; max-width: 420px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(5, 8, 16, .55);
  color: var(--ink);
  font-size: .92rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-3); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, .12);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: .88rem;
  cursor: pointer;
}
.contact-form button[type="submit"] {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff;
  border: 0;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--t);
}
.contact-form button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(91, 63, 191, .5); }
.form-status { margin: 0; font-size: .88rem; min-height: 1.2em; color: var(--ink-2); }
.form-status.ok  { color: #56e3a0; }
.form-status.err { color: #ff6b8b; }

/* Service detail: How we help row (alternating) */
.help-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}
.help-row.flip > .help-illust { order: -1; }
.help-row h3 { color: var(--cyan); font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
.help-row p { color: var(--ink-2); font-size: .94rem; line-height: 1.65; }
.help-illust {
  aspect-ratio: 1 / 1;
  max-height: 320px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}
.help-illust::before {
  content: '';
  position: absolute; inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, .25), transparent 70%);
}
.help-illust svg { position: relative; width: 85%; height: 85%; filter: drop-shadow(0 0 30px rgba(0, 207, 255, .2)); }

/* Benefits cards (detail pages) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.benefit-card {
  background: var(--bg-card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all var(--t);
}
.benefit-card:hover { border-color: var(--cyan); }
.benefit-card .ico {
  width: 56px; height: 56px;
  margin-bottom: 22px;
  display: grid; place-items: center;
  color: var(--cyan);
  background: radial-gradient(circle at center, rgba(0, 207, 255, .15), transparent 70%);
  border-radius: 14px;
}
.benefit-card h4 {
  color: var(--cyan);
  font-size: 1.02rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.benefit-card ul { list-style: none; padding: 0; margin: 0; }
.benefit-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: .88rem;
  line-height: 1.55;
  margin-bottom: 8px;
}
.benefit-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Filter bar (case studies) */
.filter-block {
  margin: 0 0 36px;
}
.filter-block h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: .82rem;
  cursor: pointer;
  transition: all var(--t);
}
.filter-pill::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}
.filter-pill:hover, .filter-pill.active { border-color: var(--cyan); color: var(--cyan); }
.filter-clear {
  background: none;
  border: 0;
  color: var(--ink-3);
  cursor: pointer;
  font-size: .82rem;
  padding: 9px 8px;
  text-decoration: underline;
}

/* Case studies grid (light cards) */
.case-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  display: block;
  background: #f4f5fa;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  color: #1a1f2e;
  transition: all var(--t);
}
.case-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); color: #1a1f2e; }
.case-card .thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card-2);
}
.case-card .body { padding: 18px 22px 22px; }
.case-card h3 { color: #1a1f2e; font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.case-card p { color: #5a6170; font-size: .85rem; line-height: 1.5; margin-bottom: 0; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, rgba(0, 207, 255, .08), rgba(91, 63, 191, .14));
  border: 1px solid rgba(0, 207, 255, .18);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.cta-strip h2 { color: var(--cyan); font-size: 1.55rem; font-weight: 500; margin-bottom: 8px; }
.cta-strip p { color: var(--ink-2); margin: 0; font-size: .94rem; }

/* Companies row */
.companies-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 22px 0;
}
.companies-row .co {
  color: var(--ink-3);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  opacity: .65;
  transition: opacity var(--t);
  font-family: 'Inter', sans-serif;
}
.companies-row .co:hover { opacity: 1; color: var(--ink-2); }

/* Quote hero (about page) */
.quote-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0 88px;
  position: relative;
}
.quote-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(91, 63, 191, .22));
  pointer-events: none;
}
.quote-hero h1 {
  color: var(--cyan);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.2;
}
.quote-hero .who { color: var(--ink-3); font-size: .88rem; margin-bottom: 28px; }
.quote-hero .who strong { display: block; color: var(--ink-2); font-weight: 500; }
.quote-hero .visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .5);
}

/* Process steps (about - light section) */
.process-section { background: #fafafa; padding: 80px 0; color: #2a2f3a; }
.process-section .section-head h2 { color: #1a1f2e; font-weight: 500; }
.process-section .section-head .lede { color: #5a6170; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.process-step {
  background: #fff;
  border: 1px solid #e5e8ee;
  border-radius: var(--radius);
  padding: 18px 22px;
}
.process-step .head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.process-step .num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #1a1f2e;
  color: var(--cyan);
  display: grid; place-items: center;
  font-size: .82rem;
  font-weight: 700;
}
.process-step h4 {
  font-size: 1rem;
  color: #1a1f2e;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}
.process-step p { color: #5a6170; font-size: .84rem; margin: 0; line-height: 1.55; }

/* Team row */
.team-section { background: #fff; padding: 64px 0 80px; color: #1a1f2e; }
.team-section h2 { color: #1a1f2e; font-weight: 500; }
.team-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.team-row .team-intro h2 { color: #1a1f2e; font-weight: 500; font-size: 1.5rem; margin-bottom: 0; }
.team-row .team-card { display: flex; align-items: center; gap: 12px; }
.team-row .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #1a1f2e;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  flex-shrink: 0;
}
.team-row .team-card strong { display: block; color: #1a1f2e; font-size: .9rem; font-weight: 600; line-height: 1.2; }
.team-row .team-card span { color: #6b7280; font-size: .8rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg);
  color: var(--ink-2);
  padding: 64px 0 26px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: var(--ink);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col p,
.footer-col address {
  font-style: normal;
  color: var(--ink-2);
  font-size: .85rem;
  line-height: 1.7;
  margin: 0 0 6px;
}
.footer-col .get-touch strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.footer-col a { color: var(--cyan); font-size: .88rem; }
.footer-col a:hover { color: var(--cyan-2); }
.footer-col .brand { margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--ink-2); font-size: .85rem; }
.footer-col ul li a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: .8rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-card-2);
  color: var(--ink-2);
  transition: var(--t);
}
.socials a:hover { background: var(--cyan); color: #001620; transform: translateY(-2px); }

/* ===== Backward-compat (existing detail-page classes) ===== */

/* check-list (used in services.html, detail pages) */
.check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  font-size: .92rem;
  color: var(--ink-2);
}
.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* icon-tile (services.html) */
.icon-tile {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(0, 207, 255, .1);
  color: var(--cyan);
  display: grid; place-items: center;
  margin-bottom: 22px;
}

/* card-link (still used in some places) */
.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--cyan);
}
.card-link:hover { gap: 10px; color: var(--cyan-2); }

/* solution-card numeric heading */
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t);
}
.solution-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.solution-card .num {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* detail-overview (service/solution detail pages) */
.detail-overview {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.detail-overview .visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--bg-card-2);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(0,0,0,.45);
}
.detail-overview .visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,207,255,.18), rgba(139,92,246,.18));
}
.detail-overview .visual .vbg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .85;
}

/* vbg-* image classes */
.vbg-1, .vbg-kb           { background-image: url('https://images.unsplash.com/photo-1455390582262-044cdead277a?w=1200&q=80'); }
.vbg-2, .vbg-consult      { background-image: url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=1200&q=80'); }
.vbg-3, .vbg-reporting    { background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1200&q=80'); }
.vbg-datascience          { background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1200&q=80'); }
.vbg-dataeng              { background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1200&q=80'); }
.vbg-rpa                  { background-image: url('https://images.unsplash.com/photo-1581090700227-1e37b190418e?w=1200&q=80'); }
.vbg-vision               { background-image: url('https://images.unsplash.com/photo-1535378917042-10a22c95931a?w=1200&q=80'); }
.vbg-energy               { background-image: url('https://images.unsplash.com/photo-1610465299996-30f240ac2b1c?w=1200&q=80'); }
.vbg-recycle              { background-image: url('https://images.unsplash.com/photo-1532601224476-15c79f2f7a51?w=1200&q=80'); }
.vbg-liquidation          { background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1200&q=80'); }

/* feature-grid + feature (detail pages) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.feature {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--t);
}
.feature:hover { border-color: var(--cyan); box-shadow: 0 6px 18px rgba(0,207,255,.1); transform: translateY(-2px); }
.feature .f-ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(0, 207, 255, .1);
  color: var(--cyan);
  display: grid; place-items: center;
}
.feature h4 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}
.feature p { margin: 0; font-size: .9rem; color: var(--ink-2); }

/* pull-quote */
.pull-quote {
  border-left: 2px solid var(--cyan);
  padding: 12px 0 12px 22px;
  margin: 22px 0;
  font-size: 1.02rem;
  color: var(--ink);
  font-style: italic;
}

/* metric-row, metric */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0;
}
.metric-row.four { grid-template-columns: repeat(4, 1fr); }
.metric {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}
.metric strong {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--cyan);
  line-height: 1.05;
  margin-bottom: 8px;
}
.metric span {
  font-size: .88rem;
  color: var(--ink-2);
  line-height: 1.5;
}

/* case-hero (case-study detail pages) */
.case-hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  color: #fff;
  background: var(--bg);
}
.case-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .25;
}
.case-hero.energy::before       { background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=1600&q=80'); }
.case-hero.recycling::before    { background-image: url('https://images.unsplash.com/photo-1532601224476-15c79f2f7a51?w=1600&q=80'); }
.case-hero.liquidation::before  { background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1600&q=80'); }
.case-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,16,.65), rgba(5,8,16,.92)),
              linear-gradient(180deg, transparent 70%, rgba(91, 63, 191, .25));
}
.case-hero .container { position: relative; z-index: 1; }
.case-hero h1 { color: var(--cyan); max-width: 780px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.case-hero .crumb,
.case-hero .crumb a { color: rgba(255,255,255,.6); }
.case-hero .lede { color: rgba(255,255,255,.85); max-width: 720px; }

/* service-detail (services.html overview rows) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-of-type { border-bottom: 0; }
.service-detail.flip > .service-visual { order: -1; }
.service-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--bg-card-2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  border: 1px solid var(--line);
}
.service-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,207,255,.18), rgba(91,63,191,.18));
}
.service-visual .vbg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .85;
}

/* chips (industries) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--ink-2);
  transition: all var(--t);
  cursor: pointer;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* two-col (about + cases) */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.two-col.flip { grid-template-columns: .9fr 1.1fr; }

/* quote-card (in section-dark/two-col) */
.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.quote-mark { color: var(--cyan); opacity: .7; margin-bottom: 14px; }
.quote-card p { font-size: 1.1rem; color: var(--ink); margin-bottom: 22px; line-height: 1.55; }
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cyan);
  display: grid; place-items: center;
  color: #001620;
  font-weight: 700;
  font-size: .85rem;
}
.quote-author strong { color: var(--ink); display: block; font-weight: 500; }
.quote-author span { color: var(--ink-3); font-size: .85rem; }

/* hero-stats (about page) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 760px;
  margin: 24px auto 0;
  padding: 26px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats strong {
  font-size: 2rem;
  font-weight: 600;
  color: var(--cyan);
}
.hero-stats span { font-size: .85rem; color: var(--ink-3); text-align: center; }

/* why-list (about) */
.why-list { list-style: none; padding: 0; margin: 22px 0 0; }
.why-list li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.why-list strong { color: var(--ink); }

/* timeline (about) */
.timeline {
  position: relative;
  padding-left: 32px;
  max-width: 760px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line-2);
}
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 207, 255, .15);
}
.tl-year {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-align: left;
}
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-card-2);
  color: var(--cyan);
  display: grid; place-items: center;
  transition: var(--t);
}
.faq-item.open .faq-q .plus { background: var(--cyan); color: #001620; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a-inner { padding: 0 0 22px; color: var(--ink-2); }
.faq-item.open .faq-a { max-height: 360px; }

/* Schedule layout + booking embed (schedule.html) */
.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.booking-embed {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.booking-embed iframe {
  width: 100%;
  flex: 1;
  border: 0;
  min-height: 720px;
  background: #fff;
}
.booking-fallback {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-card-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .86rem;
  color: var(--ink-2);
}
.booking-fallback a { font-weight: 600; }
.expect-list { list-style: none; padding: 0; margin: 22px 0 0; }
.expect-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.expect-list li:first-child { border-top: 0; }
.expect-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0, 207, 255, .1);
  color: var(--cyan);
  font-weight: 700;
  font-size: .85rem;
  display: grid; place-items: center;
}
.expect-list strong { display: block; color: var(--ink); margin-bottom: 2px; }
.expect-list p { margin: 0; font-size: .9rem; color: var(--ink-2); }

/* form-card (legacy) */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--ink); }
.form-card label.checkbox { flex-direction: row; align-items: center; gap: 10px; color: var(--ink-2); }
.form-card input,
.form-card textarea,
.form-card select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(5,8,16,.5);
  color: var(--ink);
  font-size: .92rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--ink-3); }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 207, 255, .12);
}
.form-card textarea { resize: vertical; min-height: 110px; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--ink-2); font-size: .9rem; }
.contact-list svg { color: var(--cyan); flex-shrink: 0; }

/* legacy hero-cta and gradient-text references */
.hero-cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.gradient-text {
  background: linear-gradient(120deg, var(--cyan), var(--purple) 50%, var(--magenta));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-grid,
  .help-row,
  .help-row.flip,
  .story-row,
  .story-row.flip,
  .tech-carousel,
  .page-hero.with-illust,
  .quote-hero,
  .team-row,
  .detail-overview,
  .service-detail,
  .two-col,
  .two-col.flip,
  .schedule-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .story-row.flip > .story-img,
  .help-row.flip > .help-illust,
  .service-detail.flip > .service-visual { order: 0; }
  .benefits-grid,
  .project-grid,
  .case-card-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .metric-row, .metric-row.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .primary-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .primary-nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    padding: 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }
  .primary-nav.open a { padding: 12px 14px; }
  .primary-nav.open .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 4px 0 4px 12px; background: transparent; border: 0; }

  .cards-grid.three,
  .cards-grid.four,
  .benefits-grid,
  .project-grid,
  .case-card-grid,
  .process-grid { grid-template-columns: 1fr; }
  .metric-row, .metric-row.four { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .cta-strip { grid-template-columns: 1fr; padding: 30px 28px; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 80px; }
  .page-hero { padding: 36px 0 72px; }
  .companies-row { gap: 28px; }
  .contact-section .contact-inner { padding: 36px 24px; }
  .form-card .row { grid-template-columns: 1fr; }
}
