/* ============================================
   DOCKSIDE ENVIRONMENTAL SERVICES
   Professional industrial marine
   ============================================ */

:root {
  /* Color system */
  --ink:        #0B1F3A;   /* deep navy — primary dark */
  --ink-700:    #16365e;   /* secondary navy */
  --ink-500:    #2c4a72;   /* tertiary navy */
  --steel:     #4a5568;   /* secondary text */
  --slate:     #6b7a8f;   /* tertiary text */
  --rule:      #d8dfe7;   /* dividers / borders */
  --rule-dark: #1f3a5c;   /* dividers on dark bg */
  --mist:      #f3f6fa;   /* tinted section background */
  --paper:     #ffffff;   /* primary background */
  --cream:     #fafbfc;   /* warm off-white */
  --green:     #2c8a4f;   /* accent green from logo */
  --green-soft:#5fa977;
  --signal:    #1d6fb8;   /* signal/highlight blue */

  /* Typography */
  --display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand-logo {
  height: 100px;
  width: auto;
}

.primary-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.primary-nav a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--steel);
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.primary-nav a:hover::after { transform: scaleX(1); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--ink-700);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(11, 31, 58, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-xl {
  padding: 19px 38px;
  font-size: 17px;
  letter-spacing: 0.005em;
}

.btn .arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}

.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   SHARED — section structure
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
  scroll-margin-top: 100px;
}

.section-light { background: var(--paper); }
.section-mist  { background: var(--mist); }
.section-dark  {
  background: var(--ink);
  color: white;
}

.section-dark a { color: white; }

.section-header {
  margin-bottom: 64px;
  max-width: 760px;
}

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  padding-right: 24px;
}

.section-tag.dark {
  color: rgba(255,255,255,0.65);
  border-bottom-color: var(--rule-dark);
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: inherit;
}

.section-lede {
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--steel);
  margin: 0;
  max-width: 680px;
}

.section-dark .section-lede { color: rgba(255,255,255,0.75); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background:
    radial-gradient(ellipse at top right, rgba(29, 111, 184, 0.06), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(44, 138, 79, 0.04), transparent 50%),
    linear-gradient(180deg, #fafbfd 0%, #f5f8fc 100%);
  overflow: hidden;
  color: var(--ink);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
}

.hero-emph {
  /* Gradient sized 2x line-box height so italic descenders that extend
     below their line still get gradient coverage (background-clip: text
     otherwise clips them). box-decoration-break: clone gives each
     wrapped line its own gradient. */
  background: linear-gradient(135deg, var(--ink-500) 0%, var(--green) 100%);
  background-size: 100% 200%;
  background-position: 0 25%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-style: italic;
  font-weight: 700;
  padding-right: 0.08em;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--steel);
  max-width: 640px;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 80px;
  color: var(--ink);
  z-index: 1;
}

/* ============================================
   CAPABILITIES — cards
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.card {
  padding: 40px 36px 44px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: white;
  transition: background .3s var(--ease);
  position: relative;
}

.card:hover {
  background: var(--mist);
}

.card-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 24px;
}

.card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--steel);
}

/* ============================================
   SYSTEM OVERVIEW
   ============================================ */
.system-display {
  margin-bottom: 56px;
}

.system-figure {
  margin: 0 0 48px;
  background: white;
  padding: 16px;
  border: 1px solid var(--rule);
  position: relative;
}

.system-figure::before,
.system-figure::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--ink);
}

.system-figure::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.system-figure::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.system-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.system-figure figcaption {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 16px;
  text-align: center;
}

.specs-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.spec-row dt {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.spec-row dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Process flow — redesigned visual treatment */
.process-flow {
  background: white;
  border: 1px solid var(--rule);
  padding: 48px 40px 40px;
  position: relative;
  overflow: hidden;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--ink) 0%, var(--green) 100%);
}

.flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.flow-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--steel);
  text-transform: uppercase;
}

.flow-direction {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--slate);
}

.dir-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dir-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dir-dot-influent {
  background: #3a5878;
  box-shadow: 0 0 0 3px rgba(58, 88, 120, 0.15);
}

.dir-dot-effluent {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(44, 138, 79, 0.18);
}

.dir-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, #3a5878, var(--green));
}

/* Stage cards */
.flow-stages {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-bottom: 28px;
  position: relative;
}

.stage {
  padding: 8px 14px 28px;
  text-align: center;
  position: relative;
  /* Color interpolation: navy → signal blue → green based on --stage-pos (0..5) */
  --stage-color: hsl(
    calc(212 - (var(--stage-pos) * 22)),
    calc(38% + (var(--stage-pos) * 6%)),
    calc(38% - (var(--stage-pos) * 2%))
  );
}

/* Override with discrete brand-aligned colors for cleaner design */
.stage[style*="--stage-pos: 0"] { --stage-color: #3a5878; }
.stage[style*="--stage-pos: 1"] { --stage-color: #2a6c9c; }
.stage[style*="--stage-pos: 2"] { --stage-color: #1d6fb8; }
.stage[style*="--stage-pos: 3"] { --stage-color: #2d8aa1; }
.stage[style*="--stage-pos: 4"] { --stage-color: #3da08a; }
.stage[style*="--stage-pos: 5"] { --stage-color: #2c8a4f; }

.stage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--stage-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stage-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--stage-color);
  opacity: 0.06;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.stage:hover .stage-icon::before {
  opacity: 0.12;
  transform: scale(1.1);
}

.stage-icon svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.stage-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--stage-color);
  margin-bottom: 8px;
}

.stage-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
  min-height: 42px;
}

.stage-desc {
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--steel);
  margin: 0;
  padding: 0 4px;
}

/* Horizontal flow rail */
.flow-rail {
  width: 100%;
  height: 24px;
  display: block;
  margin-top: 8px;
}

/* Animated flow arrows on the rail */
.flow-arrow {
  animation: flow-arrow-travel 7s linear infinite;
  filter: drop-shadow(0 0 3px rgba(29, 111, 184, 0.4));
}

.flow-arrow-1 { animation-delay: 0s; }
.flow-arrow-2 { animation-delay: 2.33s; }
.flow-arrow-3 { animation-delay: 4.66s; }

@keyframes flow-arrow-travel {
  0%   { transform: translateX(0);      opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { transform: translateX(1230px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-arrow { animation: none; opacity: 0; }
}

/* ============================================
   APPLICATIONS
   ============================================ */
.applications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.applications-list li {
  padding: 36px 32px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 28px;
  align-items: start;
  position: relative;
  transition: background .25s var(--ease);
}

.applications-list li:hover { background: var(--mist); }

.applications-list li:nth-child(odd) { border-right: 1px solid var(--rule); }

.applications-list li::before {
  content: counter(app, decimal-leading-zero);
  counter-increment: app;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.12em;
  padding-top: 4px;
  grid-column: 1;
  grid-row: 1 / span 2;
  min-width: 28px;
}

.applications-list { counter-reset: app; }

.applications-list h3 {
  grid-column: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--ink);
}

.applications-list p {
  grid-column: 2;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--steel);
}

/* ============================================
   WHY DOCKSIDE — pillars (dark section)
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-dark);
  border-left: 1px solid var(--rule-dark);
}

.pillar {
  padding: 40px 32px;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: white;
}

.pillar p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

/* ============================================
   ABOUT / LEADERSHIP
   ============================================ */
.about-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 920px;
}

.about-lede {
  font-family: var(--body);
  font-size: 20px;
  line-height: 1.6;
  color: var(--steel);
  margin: 0 0 56px;
  max-width: 780px;
}

.about-lede strong { color: var(--ink); font-weight: 600; }

.leader-card {
  border: 1px solid var(--rule);
  padding: 40px 44px;
  background: var(--cream);
  position: relative;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--ink);
}

.leader-meta {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.leader-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.leader-role {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.leader-bio {
  font-size: 18px;
  line-height: 1.65;
  color: var(--steel);
  margin: 0 0 28px;
}

.leader-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-style: normal;
}

.leader-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
}

.leader-link:hover .link-val { color: var(--ink); }

.link-label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.link-val {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17.5px;
  color: var(--ink-700);
  letter-spacing: -0.005em;
  transition: color .2s var(--ease);
  word-break: break-word;
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(44, 138, 79, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(29, 111, 184, 0.18), transparent 55%),
    linear-gradient(135deg, var(--ink) 0%, #051428 100%);
  color: white;
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.cta-inner .section-tag {
  margin-bottom: 32px;
  border-bottom-color: rgba(255,255,255,0.18);
}

.cta-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: white;
}

.cta-sub {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 48px;
}

.section-cta .btn-primary {
  background: white;
  color: var(--ink);
  border-color: white;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0;
}

.section-cta .btn-primary:hover {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.5);
}

.cta-foot {
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-foot .dot { color: rgba(255,255,255,0.3); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.foot-logo {
  height: 70px;
  margin-bottom: 16px;
}

.foot-tag {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-heading {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

.foot-col a {
  font-size: 16.5px;
  color: var(--ink);
  transition: color .2s var(--ease);
}

.foot-col a:hover { color: var(--ink-700); text-decoration: underline; }

.foot-line {
  font-size: 16.5px;
  color: var(--steel);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--slate);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  .header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .primary-nav { display: none; }
  .header-cta { padding: 10px 18px; font-size: 14px; flex-shrink: 0; }
  .brand-logo { height: 64px; }

  .hero { padding: 80px 0 70px; }

  .cards-grid {
    grid-template-columns: 1fr;
    border-left: none;
    border-top: 1px solid var(--rule);
  }
  .card { border-right: none; padding: 32px 24px 36px; }

  .system-display {
    margin-bottom: 40px;
  }
  .system-figure { margin-bottom: 32px; padding: 12px; }
  .spec-list { grid-template-columns: repeat(2, 1fr); }

  .applications-list { grid-template-columns: 1fr; }
  .applications-list li:nth-child(odd) { border-right: none; }
  .applications-list li { padding: 28px 20px; gap: 20px; }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .leader-card { padding: 28px 24px; }
  .leader-name { font-size: 22px; }
  .leader-contacts { grid-template-columns: 1fr; gap: 16px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .flow-stages { grid-template-columns: repeat(3, 1fr); }
  .stage { padding: 12px 8px 24px; }
  .stage-name { font-size: 14.5px; min-height: 36px; }
  .stage-desc { font-size: 12.5px; }
  .flow-rail { display: none; }
  .process-flow { padding: 32px 20px 28px; }
  .flow-header { gap: 12px; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-row { padding: 18px 20px; }

  .flow-stages {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stage {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    text-align: left;
    padding: 18px 4px;
    border-bottom: 1px dashed var(--rule);
  }
  .stage:last-child { border-bottom: none; }
  .stage-icon {
    grid-row: 1 / span 2;
    margin: 0;
    align-self: start;
  }
  .stage-num {
    grid-column: 2;
    margin-bottom: 2px;
    text-align: left;
  }
  .stage-name {
    grid-column: 2;
    text-align: left;
    min-height: 0;
    margin-bottom: 4px;
  }
  .stage-desc {
    grid-column: 2;
    text-align: left;
    padding: 0;
  }

  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
