/* RDM Projects - site styles
   Brand v5 "spec sheet": same identity system (paper base, signal-red + ink,
   Archivo display + Bodoni logo accents + Inter body + JetBrains Mono labels,
   red-duotone photography, numbered sections) on an ORIGINAL layout:
   topbar + masthead + sticky navbar, typographic hero, wide coverage-plan band,
   spec-sheet service rows, dark system-diagram band, ghost-number timeline,
   horizontal sector strip, dark standard band, pull quote, FAQ, dark contact,
   light watermark footer. */

:root {
  --paper: #F4F4F2;
  --card: #FFFFFF;
  --coal: #131313;
  --coal-2: #1A1A1A;
  --hairline: #E3E3DE;
  --hairline-2: #D2D2CC;
  --hairline-dark: #2C2C2C;
  --red: #D71F26;
  --red-press: #B3181E;
  --red-bright: #FF5252;
  --ink: #151515;
  --mute: #43464E;
  --faint: #63666E;
  --rec: #C6242A;

  --r-surface: 14px;
  --r-btn: 12px;
  --r-input: 10px;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-logo: 'Bodoni Moda', 'Didot', 'Bodoni MT', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--font-mono); }
.red { color: var(--red); }

.eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); display: inline-block; }
.eyebrow.light { color: var(--red-bright); }

.section { padding: clamp(70px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 58px); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-top: 14px; }
.section-head p { color: var(--mute); margin-top: 18px; font-size: 1.06rem; max-width: 56ch; }

/* ---------- logo (original artwork, do not restyle) ---------- */
.brand-sm { display: inline-flex; align-items: center; flex: none; }
.brand-sm img { display: block; height: 28px; width: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 12px 20px; border-radius: var(--r-btn);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn i { font-size: 18px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); background: #E52B32; }
.btn-primary:active { transform: translateY(0); background: var(--red-press); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red); }

/* ---------- topbar + masthead + nav ---------- */
.topbar { background: var(--coal); color: #D5D6D4; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar i { color: var(--red-bright); font-size: 14px; vertical-align: -2px; margin-right: 6px; }
.topbar a:hover { color: var(--red-bright); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 244, 242, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 62px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--mute); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em; transition: color 0.18s var(--ease); }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--hairline-2); color: var(--ink); width: 42px; height: 42px; border-radius: var(--r-btn); cursor: pointer; font-size: 20px; }

/* ---------- hero (typographic) ---------- */
.hero { padding: clamp(36px, 5vw, 70px) 0 clamp(22px, 3vw, 40px); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); margin-top: 18px; letter-spacing: -0.03em; }
.hero h1 em { font-family: var(--font-logo); font-style: italic; font-weight: 700; color: var(--red); letter-spacing: 0; }
.hero-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: 18px; }
.hero p.sub { color: var(--ink); font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.55; max-width: 44ch; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--hairline-2); }
.hero-stats .k { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.hero-stats .v { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

/* ---------- coverage plan band ---------- */
.hero-plan { margin-top: clamp(24px, 3.5vw, 40px); }
.services .specstrip { margin-bottom: clamp(30px, 4.5vw, 52px); }
.plan { position: relative; background: var(--card); border: 1px solid var(--hairline-2); border-radius: var(--r-surface); overflow: hidden; box-shadow: 0 24px 60px -30px rgba(19,19,19,0.3); }
.plan svg { display: block; width: 100%; height: auto; }
.plan .wall { fill: none; stroke: #23252B; stroke-width: 3; stroke-linecap: square; }
.plan .cable { fill: none; stroke: #C4C6C9; stroke-width: 1.5; stroke-dasharray: 5 6; }
.plan .cone { fill: rgba(215,31,38,0.09); stroke: rgba(215,31,38,0.4); stroke-width: 1; }
.plan .node { fill: var(--red); }
.plan .rack { fill: #23252B; }
.plan .ring { fill: none; stroke: var(--red); stroke-width: 1.5; animation: ringPulse 2.8s ease-out infinite; }
.plan .ring.r2 { animation-delay: -0.7s; }
.plan .ring.r3 { animation-delay: -1.4s; }
.plan .ring.r4 { animation-delay: -2.1s; }
.plan text { font-family: var(--font-mono); font-size: 12px; fill: var(--faint); letter-spacing: 0.08em; }
.plan text.outside { fill: #A6A9AE; }
.plan .sweep { animation: sweep 7s ease-in-out infinite; }
.plan .sweep.s2 { animation-delay: -1.8s; }
.plan .sweep.s3 { animation-delay: -3.6s; }
.plan .sweep.s4 { animation-delay: -5.4s; }
@keyframes sweep { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
@keyframes ringPulse { 0% { transform: scale(1); opacity: 0.9; } 70% { transform: scale(3.2); opacity: 0; } 100% { transform: scale(3.2); opacity: 0; } }
.plan .tick { position: absolute; width: 18px; height: 18px; border: 2px solid var(--ink); }
.plan .tick.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.plan .tick.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.plan .tick.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.plan .tick.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.plan .chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; background: var(--card); border: 1px solid var(--hairline-2); color: var(--ink); padding: 6px 12px; border-radius: 999px; }
.plan .chip.tl { top: 18px; left: 38px; }
.plan .chip.br { bottom: 18px; right: 38px; background: var(--red); border-color: var(--red); color: #fff; }
.plan .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.specstrip { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--hairline-2); border-radius: 12px; overflow: hidden; background: var(--card); }
.specstrip span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); border-left: 1px solid var(--hairline); white-space: nowrap; }
.specstrip span:first-child { border-left: 0; }
.specstrip i { color: var(--red); font-size: 14px; }

/* ---------- services: spec-sheet rows ---------- */
.svc-list { border-top: 1px solid var(--hairline-2); }
.svc { display: grid; grid-template-columns: 76px 1fr auto 120px; gap: clamp(16px, 3vw, 34px); align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--hairline-2); transition: background 0.22s var(--ease); }
.svc:hover { background: var(--card); }
.svc-n { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; color: var(--red); }
.svc-body h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.svc-body p { color: var(--mute); margin-top: 8px; font-size: 0.97rem; max-width: 54ch; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; max-width: 220px; }
.svc-tags span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--faint); border: 1px solid var(--hairline-2); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.svc-thumb { position: relative; width: 120px; height: 120px; border-radius: 12px; overflow: hidden; background: var(--coal); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.94); transition: transform 0.5s var(--ease); }
.svc-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(215,31,38,0.9), rgba(133,15,20,0.74) 55%, rgba(19,19,19,0.86)); mix-blend-mode: multiply; transition: opacity 0.5s var(--ease); }
.svc:hover .svc-thumb img { transform: scale(1.07); }
.svc:hover .svc-thumb::after { opacity: 0.72; }

/* ---------- system diagram (dark band) ---------- */
.system { background: var(--coal); color: #F4F4F2; padding: clamp(70px, 10vw, 130px) 0; }
.system h2 { color: #F4F4F2; font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-top: 14px; }
.sysdiagram { max-width: 940px; margin: clamp(20px, 3vw, 40px) auto 0; }
.sysdiagram svg { display: block; width: 100%; height: auto; }
.sysdiagram .link { fill: none; stroke: #454545; stroke-width: 1.6; }
.sysdiagram .snode rect { fill: var(--coal-2); stroke: #3A3A3A; stroke-width: 1.4; }
.sysdiagram .snode text { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; fill: #E2E3E1; text-anchor: middle; }
.sysdiagram .hub rect { fill: var(--red); }
.sysdiagram .hub text { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; fill: #fff; text-anchor: middle; font-weight: 500; }
.sysdiagram .hub .hub2 { font-size: 9px; fill: rgba(255,255,255,0.85); }
.sysdiagram .pulse { fill: var(--red-bright); animation: pulse 1.8s infinite; }
.sysdiagram .pulse.p2 { animation-delay: -0.6s; }
.sysdiagram .pulse.p3 { animation-delay: -1.2s; }
.sysnote { color: #B4B7BC; max-width: 62ch; margin: clamp(18px, 3vw, 30px) auto 0; text-align: center; font-size: 1.02rem; }
.syslist { display: none; }

/* ---------- process: ghost-number timeline ---------- */
.timeline { list-style: none; border-top: 1px solid var(--hairline-2); }
.tl-step { display: grid; grid-template-columns: 150px 1fr; gap: clamp(18px, 4vw, 44px); padding: clamp(28px, 4vw, 44px) 8px; border-bottom: 1px solid var(--hairline-2); align-items: start; }
.tl-step .ghost { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.8rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--hairline-2); transition: -webkit-text-stroke-color 0.3s var(--ease); }
.tl-step:hover .ghost { -webkit-text-stroke-color: var(--red); }
.tl-step h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.tl-step p { color: var(--mute); margin-top: 10px; max-width: 62ch; font-size: 0.98rem; }

/* ---------- sectors: horizontal duotone strip ---------- */
.sectors { padding-bottom: clamp(50px, 7vw, 90px); }
.sector-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 14px; scrollbar-width: thin; scrollbar-color: var(--hairline-2) transparent; }
@media (min-width: 1281px) { .sector-strip { padding-left: calc((100vw - var(--maxw)) / 2 + var(--gutter)); padding-right: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.sector { flex: 0 0 300px; scroll-snap-align: start; }
.sector figure { position: relative; border-radius: var(--r-surface); overflow: hidden; aspect-ratio: 3 / 4; background: var(--coal); margin: 0; }
.sector img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(0.94); transition: transform 0.5s var(--ease); }
.sector:hover img { transform: scale(1.05); }
.sector figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(215,31,38,0.9), rgba(133,15,20,0.74) 55%, rgba(19,19,19,0.86)); mix-blend-mode: multiply; transition: opacity 0.5s var(--ease); }
.sector:hover figure::before { opacity: 0.74; }
.sector .num { position: absolute; z-index: 2; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: #fff; background: rgba(19,19,19,0.72); padding: 4px 10px; border-radius: 8px; }
.sector .cap { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; background: rgba(19,19,19,0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 10px; padding: 10px 14px; }
.sector .cap h3 { font-size: 1.05rem; color: #fff; }
.sector .cap span { font-family: var(--font-mono); font-size: 11.5px; color: var(--red-bright); letter-spacing: 0.06em; }
.strip-hint { display: inline-block; margin-top: 6px; font-size: 12px; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; }

/* ---------- standard (dark band) ---------- */
.standard { background: var(--coal); color: #F4F4F2; padding: clamp(70px, 10vw, 130px) 0; }
.std-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.standard h2 { color: #F4F4F2; font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-top: 14px; }
.standard h2 em { font-family: var(--font-logo); font-style: italic; font-weight: 700; color: var(--red-bright); }
.standard .lead { color: #B4B7BC; margin-top: 20px; font-size: 1.06rem; max-width: 46ch; }
.std-list { list-style: none; border-top: 1px solid var(--hairline-dark); }
.std-list li { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--hairline-dark); }
.std-list i { color: var(--red-bright); font-size: 22px; margin-top: 2px; }
.std-list h3 { font-size: 1.08rem; color: #F4F4F2; }
.std-list p { color: #B4B7BC; font-size: 0.93rem; margin-top: 5px; }

/* ---------- testimonial inside standard band ---------- */
.std-quote { margin-top: clamp(26px, 4vw, 40px); padding-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--hairline-dark); max-width: 52ch; }
.std-quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.5; color: #E8E9EA; }
.std-quote blockquote::before { content: "\201C"; font-family: var(--font-logo); font-weight: 800; font-size: 2.6rem; line-height: 0; color: var(--red-bright); display: block; margin-bottom: 14px; }
.std-quote figcaption { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: #A6A9AE; }
.std-quote figcaption b { color: #F4F4F2; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--hairline-2); max-width: 880px; }
.faq-list details { border-bottom: 1px solid var(--hairline-2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--faint); font-size: 19px; flex: none; transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.faq-list details[open] summary i { transform: rotate(45deg); color: var(--red); }
.faq-list details p { color: var(--mute); padding: 0 4px 22px; max-width: 68ch; font-size: 0.98rem; }

/* ---------- contact (dark) ---------- */
.contact { background: var(--coal); color: #F4F4F2; padding: clamp(70px, 10vw, 130px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact h2 { color: #F4F4F2; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 14px; }
.contact p { color: #B4B7BC; margin-top: 18px; max-width: 42ch; }
.contact-mail { display: inline-flex; align-items: center; gap: 11px; color: #F4F4F2; margin-top: 26px; font-size: 1rem; }
.contact-mail i { color: var(--red-bright); font-size: 20px; }
.contact-mail:hover { color: var(--red-bright); }

form .row { display: grid; gap: 6px; margin-bottom: 20px; }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #A6A9AE; }
form input, form select, form textarea {
  background: transparent; border: 0; border-bottom: 1px solid #3A3A3A; border-radius: 0;
  color: #F4F4F2; font-family: var(--font-body); font-size: 0.98rem; padding: 10px 2px; width: 100%;
  transition: border-color 0.16s var(--ease);
}
form select { background: var(--coal); }
form select option { background: var(--coal-2); color: #F4F4F2; }
form input::placeholder, form textarea::placeholder { color: #7D828D; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-bottom-color: var(--red-bright); }
form textarea { resize: vertical; min-height: 84px; }
form .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
form .ok { display: none; align-items: center; gap: 10px; color: var(--red-bright); font-family: var(--font-mono); font-size: 13px; margin-top: 14px; }
form .ok.show { display: flex; }
form .err { color: var(--red-bright); font-family: var(--font-mono); font-size: 11.5px; display: none; }
form .row.invalid .err { display: block; }
form .row.invalid input, form .row.invalid textarea { border-bottom-color: var(--red-bright); }

/* ---------- footer (light, watermark) ---------- */
.footer { background: var(--paper); padding: clamp(46px, 6vw, 80px) 0 28px; }
.flogo { display: block; width: min(220px, 46vw); height: auto; margin: 0 auto; }
.frow { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--hairline-2); margin-top: 18px; padding-top: 24px; }
.flinks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.flinks a { color: var(--mute); font-size: 0.95rem; }
.flinks a:hover { color: var(--red); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--hairline-2); border-radius: 10px; display: grid; place-items: center; color: var(--mute); font-size: 18px; }
.socials a:hover { color: var(--red); border-color: var(--red); }
.fbottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--hairline); margin-top: 24px; padding-top: 20px; }
.fbottom span { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
.fbottom .red { color: var(--red); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .plan .sweep, .plan .ring, .plan .chip .dot, .sysdiagram .pulse { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .brand-sm img { height: 26px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open .wrap { flex-direction: column; align-items: stretch; padding-top: 12px; padding-bottom: 16px; }
  .nav.open .brand-sm { align-self: flex-start; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 2px; }
  .nav.open .nav-links a { padding: 11px 0; border-top: 1px solid var(--hairline); }
  .nav.open .nav-actions { flex-direction: column; align-items: stretch; }
  .nav.open .nav-actions .btn { margin-top: 10px; justify-content: center; }
  .nav.open .nav-toggle { position: absolute; top: 10px; right: var(--gutter); }
}
@media (max-width: 960px) {
  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .hero-cta { justify-content: flex-start; }
  .specstrip { grid-template-columns: repeat(4, 1fr); }
  .specstrip span:nth-child(n + 5) { border-top: 1px solid var(--hairline); }
  .specstrip span:nth-child(5) { border-left: 0; }
  .svc { grid-template-columns: 56px 1fr 104px; }
  .svc-tags { grid-column: 2; grid-row: 2; justify-content: flex-start; max-width: none; }
  .svc-thumb { grid-column: 3; grid-row: 1 / 3; width: 104px; height: 104px; }
  .std-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tl-step { grid-template-columns: 110px 1fr; }
  .sysdiagram .snode text, .sysdiagram .hub text { font-size: 15px; }
  .sysdiagram .hub .hub2 { font-size: 10px; }
}
@media (max-width: 720px) {
  .topbar .tb-mid { display: none; }
  .plan svg { height: 320px; width: 100%; }
  .plan text { font-size: 15px; }
  .plan .chip .chip-x { display: none; }
  .sysdiagram { display: none; }
  .syslist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; list-style: none; }
  .syslist li { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: #E2E3E1; border: 1px solid #3A3A3A; background: var(--coal-2); border-radius: 10px; padding: 12px 8px; text-align: center; }
  .syslist .hubli { grid-column: 1 / -1; background: var(--red); border-color: var(--red); color: #fff; }
  .syslist .hubli i { font-size: 14px; vertical-align: -2px; margin-right: 6px; }
  .brand-sm img { height: 24px; }
  .nav .wrap { min-height: 52px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .plan .chip.tl { left: 14px; }
  .plan .chip.br { right: 14px; }
  .form .two { grid-template-columns: 1fr; }
  .tl-step { grid-template-columns: 1fr; gap: 10px; }
  .tl-step .ghost { font-size: 3rem; }
}
@media (max-width: 540px) {
  .section { padding: 54px 0; }
  .topbar .wrap { justify-content: center; }
  .topbar span:first-child { display: none; }
  .plan svg { height: 300px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .logo-img { height: 56px; }
  .specstrip { grid-template-columns: 1fr 1fr; }
  .specstrip span { justify-content: flex-start; }
  .specstrip span:nth-child(odd) { border-left: 0; }
  .specstrip span:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
  .svc { grid-template-columns: 44px 1fr 84px; padding: 20px 4px; }
  .svc-thumb { width: 84px; height: 84px; }
  .sector { flex-basis: 250px; }
}
