/* ============================================================
   MIO BRIDGE - Structure blueprint redesign
   Plain CSS. Tokens → base → components → motion → responsive
   ============================================================ */

:root {
  /* color */
  --paper:      #EBEFF3;   /* cool blueprint ground */
  --paper-2:    #F5F8FB;   /* raised card */
  --ink:        #15243A;   /* primary text (near-navy black) */
  --navy:       #1E3A5F;   /* brand structural */
  --navy-700:   #16304F;
  --steel:      #5E7A93;   /* secondary / lines */
  --muted:      #46617B;   /* secondary text, readable */
  --hairline:   #CAD6E0;   /* blueprint rule */
  --hairline-2: #DCE5EC;
  --signal:     #DD8A3C;   /* single accent — sodium lamp amber */
  --signal-700: #C5742A;

  /* type */
  --display: "Space Grotesk", "Pretendard", system-ui, sans-serif;
  --body:    "Pretendard", "Space Grotesk", system-ui, sans-serif;
  --mono:    "Space Mono", "Pretendard", ui-monospace, "SFMono-Regular", monospace;

  /* metrics */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --deck-y: 1px; /* hairline weight */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-break: keep-all;
}

::selection { background: var(--navy); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}

/* SPAN label — section marker that doubles as a "bridge span" tag */
.span-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}
.span-label::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--signal);
  /* pier marker — small square rotated like a node */
  transform: rotate(45deg);
}
.span-label .num { color: var(--steel); }

.lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; margin: 0; }

.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--ink); }
.h2 .accent { color: var(--navy); }

/* section frame — every section opens with the continuing "deck line" */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section::before {
  content: "";
  position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--hairline);
}
.section__head { max-width: 760px; }
.section__head .h2 { margin-top: 1.4rem; }
.section__head .lead { margin-top: 1.6rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 500; font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { border-color: var(--steel); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(30,58,95,0.04); }
.btn--lamp { background: var(--signal); color: #2a1a06; }
.btn--lamp:hover { background: var(--signal-700); color: #fff; transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(235,239,243,0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { width: 44px; height: auto; display: block; }
.brand__name { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: 1.05rem; color: var(--ink); }
.brand__name .lo { color: var(--steel); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav__link {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); position: relative; padding: 0.2rem 0;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px;
  background: var(--navy); transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav__cta { font-family: var(--display); font-weight: 500; font-size: 0.86rem; background: var(--navy); color: #fff; padding: 0.55rem 1.1rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: background .3s var(--ease); }
.nav__cta:hover { background: var(--navy-700); }

.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--hairline); background: transparent; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease), opacity .2s; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.header.is-open .hamburger span { background: transparent; }
.header.is-open .hamburger span::before { transform: translateY(6px) rotate(45deg); }
.header.is-open .hamburger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 0.2rem; padding: 1rem 0 1.6rem; border-top: 1px solid var(--hairline); }
.header.is-open .mobile-nav { display: flex; }
.mobile-nav a { font-family: var(--display); font-size: 1.1rem; padding: 0.7rem 0; color: var(--ink); border-bottom: 1px solid var(--hairline-2); }
.mobile-nav a:last-child { border: 0; color: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px;
  background-image:
    linear-gradient(to right, rgba(30,58,95,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30,58,95,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
}
.hero::after { /* fade the grid out toward the bottom */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, var(--paper) 96%);
}
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 60px); width: 100%; align-items: center; }

/* left coordinate rail */
.coord-rail { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--steel); display: flex; gap: 1.4rem; align-items: center; padding-block: 4px; }
.coord-rail .tick { color: var(--navy); }

.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; }
.hero__eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--signal); }

.hero h1 {
  font-size: clamp(2.9rem, 8.2vw, 6.2rem);
  margin-top: 1.5rem;
  letter-spacing: -0.03em;
}
.hero h1 .line2 { color: var(--navy); }

.hero__sub { margin-top: 1.8rem; max-width: 48ch; color: var(--muted); font-size: 1.08rem; }

.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* proof chips — engineering spec readout */
.specbar { margin-top: 2.8rem; display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--hairline); width: fit-content; max-width: 100%; background: rgba(245,248,251,0.6); }
.specbar__item { padding: 0.7rem 1.3rem; border-right: 1px solid var(--hairline); }
.specbar__item:last-child { border-right: 0; }
.specbar__v { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.specbar__k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-top: 1px; }

/* ---- the bridge ---- */
.bridge { position: relative; z-index: 2; width: 100%; margin-top: clamp(36px, 6vw, 70px); }
.bridge svg { width: 100%; height: auto; display: block; overflow: visible; }
.bridge__deck   { stroke: var(--ink);    stroke-width: 3; fill: none; }
.bridge__arch   { stroke: var(--navy);   stroke-width: 2.5; fill: none; }
.bridge__cable  { stroke: var(--steel);  stroke-width: 1.4; fill: none; }
.bridge__pier   { stroke: var(--navy);   stroke-width: 2.5; fill: none; }
.bridge__lamp   { fill: var(--signal); }
.bridge__base   { stroke: var(--hairline); stroke-width: 1; fill: none; }

.bridge__labels { display: flex; justify-content: space-between; margin-top: 0.6rem; }
.bridge__labels span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }

/* ============================================================
   ABOUT  (SPAN 01)
   ============================================================ */
.about__cols { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 90px); align-items: start; }
.about__cols h3 { font-size: 1.7rem; color: var(--ink); }
.about__cols p.about__copy { margin-top: 1.2rem; color: var(--muted); }

.promises { list-style: none; margin: 2.2rem 0 0; padding: 0; display: flex; flex-direction: column; }
.promises li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--hairline-2); }
.promises li:first-child { border-top: 0; }
.promises .pno { font-family: var(--mono); font-size: 0.72rem; color: var(--signal-700); padding-top: 3px; }
.promises .pt { font-weight: 600; color: var(--ink); font-family: var(--display); }
.promises .pd { margin-top: 0.25rem; font-size: 0.92rem; color: var(--muted); }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.value { background: var(--paper-2); padding: 1.7rem; transition: transform .35s var(--ease), background .35s; }
.value:hover { transform: translateY(-3px); background: #fff; }
.value__icon { width: 26px; height: 26px; color: var(--navy); }
.value__t { margin-top: 1.6rem; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.value__d { margin-top: 0.2rem; font-size: 0.88rem; color: var(--muted); }

/* why band */
.why { margin-top: clamp(48px, 6vw, 88px); border: 1px solid var(--navy); background: var(--navy); color: #fff; padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.why::before { /* faint blueprint grid inside the navy band */
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.why > * { position: relative; z-index: 1; }
.why__h { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.why__h .dim { color: #9fb6cf; }
.why__sub { margin-top: 1rem; color: #b9c8da; max-width: 50ch; }
.why__grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
.reason__n { font-family: var(--body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.01em; color: var(--signal); }
.reason__icon { width: 30px; height: 30px; color: #fff; margin-top: 1.2rem; }
.reason__t { margin-top: 1.1rem; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.reason__d { margin-top: 0.5rem; font-size: 0.92rem; color: #b9c8da; }

/* ============================================================
   SERVICES (SPAN 02)
   ============================================================ */
.svc-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.svc { background: var(--paper-2); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; transition: background .35s var(--ease); position: relative; }
.svc:hover { background: #fff; }
.svc__top { display: flex; align-items: center; justify-content: space-between; }
.svc__n { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--steel); }
.svc__arrow { width: 18px; height: 18px; color: var(--steel); transition: transform .3s var(--ease), color .3s; }
.svc:hover .svc__arrow { color: var(--navy); transform: translate(2px,-2px); }
.svc__icon { width: 30px; height: 30px; color: var(--navy); margin-top: 2.4rem; }
.svc__t { margin-top: 1.5rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.svc__d { margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.svc__feats { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.svc__feats li { display: flex; align-items: center; gap: 0.6rem; font-family: var(--body); font-size: 0.86rem; color: var(--muted); }
.svc__feats li::before { content: ""; width: 10px; height: 1px; background: var(--signal); flex: none; }

/* services CTA */
.svc-cta { margin-top: clamp(36px, 4vw, 64px); border: 1px solid var(--hairline); padding: clamp(40px, 6vw, 72px); text-align: center; background:
  radial-gradient(ellipse 60% 80% at 50% 0%, rgba(30,58,95,0.06), transparent 70%), var(--paper-2); }
.svc-cta h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--ink); }
.svc-cta p { margin: 1.2rem auto 0; max-width: 44ch; color: var(--muted); }
.svc-cta .actions { margin-top: 2.2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; }

/* ============================================================
   WORK (SPAN 03)
   ============================================================ */
.filters { margin-top: clamp(36px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 0.6rem; }
.filter { font-family: var(--body); font-weight: 500; font-size: 0.86rem; letter-spacing: 0; padding: 0.55rem 1.1rem; border: 1px solid var(--hairline); background: transparent; color: var(--muted); transition: all .25s var(--ease); }
.filter:hover { border-color: var(--steel); color: var(--ink); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.work-grid { margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.project { border: 1px solid var(--hairline); background: var(--paper-2); display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s var(--ease), transform .4s var(--ease); }
.project:hover { border-color: var(--navy); transform: translateY(-4px); }
.project__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy-700); }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(0.9); transition: transform .7s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.project__tags span { font-family: var(--body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0; background: rgba(21,36,58,0.82); color: #dfe8f0; padding: 0.32rem 0.6rem; backdrop-filter: blur(4px); }
.project__go { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: rgba(245,248,251,0.9); color: var(--navy); transition: background .3s, color .3s; }
.project:hover .project__go { background: var(--signal); color: #2a1a06; }
.project__body { padding: 1.6rem; }
.project__t { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.project__d { margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.project__detail { margin-top: 0.4rem; font-size: 0.82rem; color: var(--steel); }
.kv { margin-top: 1.4rem; }
.kv__k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.stacks { margin-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.stacks span { font-family: var(--mono); font-size: 0.7rem; color: var(--ink); border: 1px solid var(--hairline); padding: 0.25rem 0.5rem; }
.impacts { list-style: none; margin: 0.7rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.impacts li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; color: var(--ink); }
.impacts li::before { content: ""; width: 10px; height: 1px; background: var(--signal); flex: none; }

/* stats */
.stats { margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.stat { background: var(--paper-2); padding: clamp(24px, 3vw, 40px); }
.stat__v { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); color: var(--navy); letter-spacing: -0.02em; }
.stat__k { margin-top: 0.6rem; font-family: var(--body); font-weight: 500; font-size: 0.82rem; letter-spacing: 0; color: var(--muted); }

/* ============================================================
   CONTACT (SPAN 04)
   ============================================================ */
.contact-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.cinfo { background: var(--paper-2); padding: 1.8rem; display: block; transition: background .3s; }
.cinfo:hover { background: #fff; }
.cinfo__icon { width: 22px; height: 22px; color: var(--navy); }
.cinfo__k { margin-top: 1.6rem; font-family: var(--body); font-weight: 500; font-size: 0.8rem; letter-spacing: 0; color: var(--muted); }
.cinfo__v { margin-top: 0.5rem; color: var(--ink); font-size: 0.96rem; word-break: keep-all; }

.contact-cta { margin-top: 1.6rem; border: 1px solid var(--navy); background: var(--navy); color: #fff; padding: clamp(36px, 5vw, 64px); }
.contact-cta__head { text-align: center; max-width: 50ch; margin: 0 auto; }
.contact-cta__head h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.contact-cta__head p { margin-top: 1rem; color: #b9c8da; }
.cpromise { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.14); }
.cpromise > div { background: var(--navy); padding: 1.6rem; text-align: center; }
.cpromise__n { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--signal); }
.cpromise__t { margin-top: 0.9rem; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.cpromise__d { margin-top: 0.4rem; font-size: 0.86rem; color: #b9c8da; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hairline); padding: clamp(48px, 6vw, 80px) 0 2.4rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.4rem; }
.footer__tag { margin-top: 1.4rem; max-width: 38ch; color: var(--muted); font-size: 0.95rem; }
.footer__legal { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.3rem; font-family: var(--body); font-size: 0.84rem; color: var(--steel); }
.footer__col h5 { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); margin: 0 0 1.1rem; font-weight: 700; }
.footer__col a { display: block; padding: 0.4rem 0; color: var(--muted); font-size: 0.95rem; transition: color .25s; }
.footer__col a:hover { color: var(--navy); }
.footer__bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 1.6rem; border-top: 1px solid var(--hairline-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--steel); }

/* ============================================================
   MOTION
   ============================================================ */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lamp-in { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }

/* hero load sequence */
.hero .anim { opacity: 0; animation: rise 0.9s var(--ease) forwards; }
.hero .d1 { animation-delay: 0.05s; }
.hero .d2 { animation-delay: 0.18s; }
.hero .d3 { animation-delay: 0.32s; }
.hero .d4 { animation-delay: 0.46s; }
.hero .d5 { animation-delay: 0.60s; }

/* bridge drawing */
.bridge svg path[data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
.bridge__deck[data-draw]  { animation-delay: 0.5s; }
.bridge__arch[data-draw]  { animation-delay: 0.9s; }
.bridge__pier[data-draw]  { animation-delay: 0.9s; }
.bridge__cable[data-draw] { animation-delay: 1.5s; animation-duration: 0.7s; }
.bridge__lamp { opacity: 0; transform-box: fill-box; transform-origin: center; animation: lamp-in 0.5s var(--ease) forwards; animation-delay: 2.1s; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .coord-rail { display: none; }
  .about__cols { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .cpromise { grid-template-columns: 1fr; }
  .specbar { width: 100%; }
  .specbar__item { flex: 1 1 33%; }
  .footer__bottom { flex-direction: column; }
}

/* ============================================================
   A11Y
   ============================================================ */
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero .anim, .reveal { opacity: 1 !important; transform: none !important; }
  .bridge svg path[data-draw] { stroke-dashoffset: 0 !important; }
  .bridge__lamp { opacity: 1 !important; }
}
