/* EKKRI — shared styles for every page (home, careers, blog). Source of truth: DESIGN_SYSTEM.md */
/* ---------- Tokens: EKKRI Brand Book v1.2 ---------- */
:root {
  /* brand palette */
  --night: #0D0A14; --signal: #8B45F5; --pulse: #C9A7FF; --deep: #4E1DB8; --mist: #F3F0F8; --white: #FFFFFF;
  /* web-only dark surfaces (Design Brief 3.2) */
  --night-2: #15111F; --night-3: #1C1729;
  /* roles */
  --bg: var(--night); --bg-2: var(--night-2); --surface: var(--night-2); --surface-2: var(--night-3);
  --line: rgba(243,240,248,.09); --line-2: rgba(243,240,248,.16);
  --text: var(--mist); --muted: #A9A2B8; --dim: #8E879E;          /* muted 8.0:1, dim 5.7:1 on Night */
  --accent: var(--signal);       /* graphics only: lines, bars, node, progress — never text */
  --accent-ink: var(--pulse);    /* violet text on dark */
  --accent-soft: rgba(139,69,245,.14);
  --btn: var(--signal); --btn-hover: var(--deep); --btn-text: var(--white);
  --glow: rgba(139,69,245,.16);
  --field-line: #776F8C;
  --map-core: var(--signal); --map-active: var(--deep); --map-off: var(--night-3);
}
:root { --f-display: "Archivo", system-ui, sans-serif; --f-body: "IBM Plex Sans", system-ui, sans-serif; --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1240px; --pad: clamp(20px, 4vw, 40px); --radius: 20px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html.js { scroll-behavior: auto; }   /* JS runs its own eased scroll */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.acc { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--pulse); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--btn); color: var(--btn-text); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow { font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: .98rem; padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s ease-out, border-color .15s ease-out; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--btn); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--accent-ink); }

section { position: relative; }
.sec { padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 18px; align-content: start; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 1.08rem; max-width: 620px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.logo { height: 40px; width: auto; }   /* official file, clear space built in; never restyled */
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: .94rem; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transition: transform .35s ease; }
.nav-links a[aria-current]::after { transform: scaleX(1); }
@media (max-width: 960px) { .nav-links a::after { display: none; } }
.nav-cta { padding: 10px 18px; font-size: .9rem; }
.burger { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; color: var(--text); }
  .burger { display: inline-block; }
  .nav-cta { display: none; }
}

/* ---------- Hero film (CUI-style: background film in chapters) ---------- */
.film { position: relative; min-height: min(94vh, 920px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.film-media { position: absolute; inset: 0; z-index: -1; background: #000; }
.film-media img, .film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-media video { opacity: 0; transition: opacity .8s ease; }
.film.playing .film-media video { opacity: 1; }
.film-shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 38%, color-mix(in srgb, var(--bg) 15%, transparent) 72%, transparent 100%),
    linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 60%, transparent) 22%, transparent 45%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 18%); }
.film-content { position: relative; padding-top: clamp(64px, 10vw, 140px); }
.film-copy { max-width: 860px; }
.film h1 .acc { display: block; }
.film h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; margin-top: 22px; }
.hero-rise { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-rise.d1 { animation-delay: .1s; } .hero-rise.d2 { animation-delay: .25s; } .hero-rise.d3 { animation-delay: .4s; } .hero-rise.d4 { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-rise { opacity: 1; transform: none; animation: none; } }
.lead { margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--text); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .88rem; color: var(--muted); list-style: none; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-ink); flex: none; }
/* desktop and short-screen hero sizing: after the base rules so it wins */
@media (min-width: 961px) {
  .film { min-height: max(560px, calc(100svh - 72px)); justify-content: stretch; }
  .film-content { flex: 1; display: flex; flex-direction: column; padding-top: clamp(28px, 5vh, 56px); }
  .film-row { flex: 1; align-items: center; min-height: 0; }
  .film-now { align-self: flex-end; }
  .film h1 { font-size: clamp(2.3rem, min(4.5vw, 7.4vh), 4.1rem); margin-top: clamp(12px, 2.2vh, 22px); }
  .film .lead { margin-top: clamp(14px, 2.6vh, 24px); font-size: clamp(1rem, min(1.35vw, 2.2vh), 1.2rem); }
  .hero-ctas { margin-top: clamp(18px, 3.6vh, 34px); }
  .hero-trust { margin-top: clamp(14px, 2.6vh, 26px); }
  .film-now .num { font-size: clamp(4rem, min(10vw, 15vh), 9rem); }
  .chapters { margin-top: clamp(12px, 2.5vh, 32px); }
  .ch { padding: clamp(12px, 2vh, 18px) 16px clamp(14px, 2.4vh, 24px) 0; }
}
@media (max-width: 1439px) { .ch .k { display: none; } }
@media (min-width: 961px) and (max-height: 780px) {
  .hero-trust, .film-now .line { display: none; }
  .film .eyebrow { font-size: .68rem; }
}

.film-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.film-now { flex: none; text-align: right; max-width: 340px; padding-bottom: 6px; }
.film-now .num { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 11vw, 9.5rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent-ink) 70%, transparent); }
.film-now .cap { display: block; margin-top: 14px; font-size: .92rem; color: var(--text); transition: opacity .4s; }
.film-now .cap b { display: block; font-family: var(--f-display); font-size: 1.15rem; color: #fff; }

.chapters { position: relative; margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(6, 1fr) auto; border-top: 1px solid var(--line-2); list-style: none; padding: 0 0 8px; }
.chapters li { display: contents; }
.ch { position: relative; text-align: left; font: inherit; color: var(--muted); background: none; border: 0; padding: 18px 16px 24px 0; cursor: pointer; display: grid; gap: 6px; align-content: start; }
.ch::before { content: ""; position: absolute; left: 0; right: 16px; top: -1px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ch .n { font-family: var(--f-mono); font-size: .72rem; color: var(--dim); letter-spacing: .1em; transition: color .3s; }
.ch .t { font-family: var(--f-display); font-weight: 650; font-size: .95rem; line-height: 1.3; transition: color .3s; }
.ch .k, .film-now .k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.film-now .k { display: block; color: var(--accent-ink); margin-bottom: 6px; }
.ch[aria-current="true"] .k { color: var(--muted); }
.ch[aria-current="true"] .n { color: var(--accent-ink); }
.ch[aria-current="true"] .t, .ch:hover .t { color: var(--text); }
.film-ctl { align-self: start; margin-top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.film-ctl svg { width: 16px; height: 16px; }
.film-ctl .i-play { display: none; } .film-ctl[aria-pressed="true"] .i-play { display: block; } .film-ctl[aria-pressed="true"] .i-pause { display: none; }

@media (max-width: 960px) {
  .film { min-height: 0; }
  .film-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .film-now { text-align: left; }
  .film-now .num { font-size: 4.5rem; }
  .chapters { grid-template-columns: repeat(3, 1fr); }
  .film-ctl { position: absolute; right: 0; top: -60px; }
  .film-shade { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 45%, color-mix(in srgb, var(--bg) 55%, transparent) 100%); }
}
@media (max-width: 560px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  /* phones: the film becomes a picture band on top, centred on the key object; text sits below it */
  .film { justify-content: flex-start; }
  .film-media { position: relative; inset: auto; height: min(58vh, 480px); z-index: 0; }
  .film-media img, .film-media video { object-position: 74% 50%; }
  .film-shade { background: linear-gradient(0deg, var(--bg) 0%, transparent 42%), linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, transparent 22%); }
    .film-content { margin-top: -96px; padding-top: 0; }
}

/* ---------- Media backdrop, cards, icons (inner pages) ---------- */
.sec-media { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.sec-media img, .sec-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.sec-media video { opacity: 0; transition: opacity 1s ease; }
.sec-media.playing video { opacity: 1; }
.sec-shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 62%, transparent) 45%, color-mix(in srgb, var(--bg) 20%, transparent) 100%),
    linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 30%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, transparent 16%); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.ico svg { width: 22px; height: 22px; }

/* ---------- Services ---------- */
.group-label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.group-label h3 { font-size: 1.15rem; font-weight: 700; }
.group-label span { font-family: var(--f-mono); font-size: .74rem; color: var(--dim); letter-spacing: .1em; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.svc:hover { border-color: var(--line-2); transform: translateY(-3px); }
.svc .ph { aspect-ratio: 16 / 10; overflow: hidden; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc:hover .ph img { transform: scale(1.04); }
.svc .body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.svc .n { font-family: var(--f-mono); font-size: .72rem; color: var(--accent-ink); letter-spacing: .1em; }
.svc h4 { font-family: var(--f-display); font-size: 1.22rem; font-weight: 700; margin: 0; letter-spacing: -.015em; }
.svc p { color: var(--muted); font-size: .95rem; }
.construction { margin-top: 56px; display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.construction .ph { min-height: 220px; }
.construction .ph img { width: 100%; height: 100%; object-fit: cover; }
.construction .body { padding: 28px 28px 28px 0; display: grid; gap: 14px; align-content: center; }
.construction h3 { font-size: 1.4rem; font-weight: 700; }
.construction p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .84rem; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .construction { grid-template-columns: 1fr; } .construction .body { padding: 0 24px 26px; } }

/* ---------- Case studies ---------- */
.case-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ba { position: relative; aspect-ratio: 3 / 4; max-height: 580px; justify-self: center; width: 100%; max-width: 435px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); --pos: 50%; user-select: none; background: #000; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba .knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.ba .knob svg { width: 22px; height: 22px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .lbl { position: absolute; top: 14px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; padding: 6px 10px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; pointer-events: none; }
.ba .lbl.l { left: 14px; } .ba .lbl.r { right: 14px; }
.ba input:focus-visible ~ .knob { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.case-meta { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.case-feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-top: 12px; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--muted); }
.checks svg { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 1px; }
.case-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.case .pair figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.case .pair img { width: 100%; height: 100%; object-fit: cover; }
.case .pair .lbl { position: absolute; left: 10px; top: 10px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; padding: 5px 9px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; }
.case .body { padding: 22px 24px 26px; }
.case h4 { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; margin: 8px 0 8px; letter-spacing: -.015em; }
.case p { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .case-feature { grid-template-columns: 1fr; } .ba { max-width: 520px; width: 100%; justify-self: center; } }
@media (max-width: 700px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Coverage (road loop behind the map) ---------- */
.cov-bg { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 11vw, 160px); }
.cov-bg .sec-media img, .cov-bg .sec-media video { object-position: 60% 50%; }
.cov-bg .sec-shade { background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 42%, color-mix(in srgb, var(--bg) 40%, transparent) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%); }
.cov-bg .sec-head p, .cov-bg .cov-list p { color: var(--text); }
.cov-bg .tilemap i:not(.k) { background: color-mix(in srgb, var(--night-3) 62%, transparent); color: var(--muted); box-shadow: 0 0 0 1px rgba(243,240,248,.08) inset; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cov-bg .legend { color: var(--text); }
@media (max-width: 960px) { .cov-bg .sec-shade { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 40%, color-mix(in srgb, var(--bg) 62%, transparent) 100%); } }
/* ---------- Coverage ---------- */
.cov-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cov-list .sec-head { margin-bottom: 32px; }
.cov-map { width: 100%; max-width: 620px; justify-self: end; }
.tilemap { display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(8, auto); gap: clamp(3px, .45vw, 6px); }
.tilemap i { transition: transform .25s ease, background .25s ease; }
.tilemap i.k:hover, .tilemap i.a:hover { transform: scale(1.08); }
.js .cov-map .tilemap i { opacity: 0; transform: scale(.8); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--c) * 35ms + var(--r) * 25ms); }
.js .cov-map.in .tilemap i { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .cov-map .tilemap i { opacity: 1; transform: none; } }
.tilemap i { grid-row: var(--r); grid-column: var(--c); aspect-ratio: 1; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: clamp(.55rem, 1.05vw, .78rem); font-weight: 600; background: var(--map-off); color: var(--dim); }
.tilemap i.a { background: var(--map-active); color: var(--text); }
.tilemap i.k { background: var(--map-core); color: var(--btn-text); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; box-shadow: 0 0 0 1px rgba(243,240,248,.14) inset; }
.cov-list h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.cov-list p { color: var(--muted); font-size: .95rem; }
.cov-list .blk + .blk { margin-top: 26px; }
.cov-ask { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.cov-ask a { color: var(--accent-ink); font-weight: 600; }
.cov-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cov-list ul li { font-size: .86rem; padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
@media (max-width: 960px) { .cov-grid { grid-template-columns: 1fr; } .cov-map { justify-self: stretch; max-width: 560px; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 26px 24px 28px; border-top: 2px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.steps .n { font-family: var(--f-mono); font-size: .74rem; color: var(--accent-ink); letter-spacing: .12em; }
.steps h3 { font-size: 1.2rem; font-weight: 700; margin-top: 14px; }
.steps p { color: var(--muted); font-size: .94rem; margin-top: 10px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-grid.why-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .why-grid.why-4 { grid-template-columns: 1fr 1fr; } }
.why-grid > div { background: var(--bg); padding: 30px 28px; display: grid; gap: 10px; align-content: start; }
.why-grid h3 { font-size: 1.12rem; font-weight: 700; }
.why-grid p { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid, .why-grid.why-4 { grid-template-columns: 1fr; } }

/* ---------- Standards: heading left, three big statements right, outlined numerals like the hero ---------- */
.standards { position: relative; overflow: hidden; background: var(--bg-2); }
.standards::before { content: ""; position: absolute; left: -15%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.std-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.std-head { margin: 0; position: sticky; top: 120px; }
.statements { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.statements li { display: grid; grid-template-columns: clamp(84px, 10vw, 150px) 1fr; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(24px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line-2); }
.statements .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 6.2rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent-ink) 60%, transparent); transition: color .4s ease, -webkit-text-stroke-color .4s ease; }
.statements li:hover .num { color: color-mix(in srgb, var(--accent) 22%, transparent); -webkit-text-stroke-color: var(--accent-ink); }
.statements h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.statements p { color: var(--muted); margin-top: 8px; font-size: 1.02rem; }
@media (max-width: 900px) { .std-grid { grid-template-columns: 1fr; } .std-head { position: static; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; font-family: var(--f-display); font-weight: 650; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent-ink); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 640px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-side { display: grid; gap: 24px; }
.direct { display: grid; gap: 6px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); }
.direct small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.direct a { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.direct a:hover { color: var(--accent-ink); }
.direct span { color: var(--muted); font-size: .9rem; }
form.bid { background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 7px; }
.fld label, fieldset legend { font-size: .84rem; font-weight: 600; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--field-line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.fld textarea { min-height: 96px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--field-line); font-size: .88rem; cursor: pointer; transition: all .2s; }
.chips input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
form.bid .btn { justify-self: start; }
.form-note { font-size: .84rem; color: var(--dim); }
.form-status { font-size: .92rem; color: var(--accent-ink); }
.form-status:empty { display: none; }
.vendor-line { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.vendor-line a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-family: var(--f-display); font-weight: 650; text-decoration: none; }
.vendor-line a svg { width: 18px; height: 18px; transition: transform .25s; }
.vendor-line a:hover svg { transform: translateX(4px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- Careers band + footer ---------- */
.careers-band { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); background: var(--bg-2); }
.careers-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 40px; }
.careers-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; max-width: 760px; }
.careers-band .acc { display: block; }
.careers-band p { color: var(--muted); margin-top: 16px; max-width: 620px; }
footer { position: relative; border-top: 1px solid var(--line); padding: 56px 0 36px; color: var(--muted); font-size: .9rem; }
.ribbon { position: absolute; left: 0; right: 0; top: 0; height: 6px; display: grid; grid-template-columns: repeat(12, 1fr); }
.ribbon i:nth-child(1){background:#2F6FE4} .ribbon i:nth-child(2){background:#F08A24} .ribbon i:nth-child(3){background:#2EA44F} .ribbon i:nth-child(4){background:#8B5A2B}
.ribbon i:nth-child(5){background:#8C96A3} .ribbon i:nth-child(6){background:#F2F2F2} .ribbon i:nth-child(7){background:#E0352B} .ribbon i:nth-child(8){background:#1A1A1A}
.ribbon i:nth-child(9){background:#F5D21F} .ribbon i:nth-child(10){background:#A855F7} .ribbon i:nth-child(11){background:#F48FB1} .ribbon i:nth-child(12){background:#3FD0D4}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; } .foot-grid a:hover { color: var(--text); }
.foot-brand .logo { height: 40px; }
.foot-tag { margin-top: 14px; font-family: var(--f-mono); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pulse); }
.foot-line { margin-top: 8px; max-width: 320px; }
.foot-grid address { font-style: normal; line-height: 1.5; }
.mono { font-family: var(--f-mono); }
.foot-grid h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 12px; font-weight: 600; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--dim); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }



/* ---------- Inner pages: careers, job, blog, article, 404 ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto 35%; height: 120%; background: radial-gradient(closest-side, var(--glow), transparent 70%); z-index: -1; pointer-events: none; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; margin-top: 18px; max-width: 900px; }
.page-hero .lead { margin-top: 20px; max-width: 680px; color: var(--muted); }
.page-hero .hero-ctas { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 6px; padding: 0; font-size: .84rem; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--dim); }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--text); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; list-style: none; padding: 0; font-size: .92rem; color: var(--muted); }
.facts b { color: var(--text); font-weight: 600; margin-right: 6px; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perks .card h3 { font-size: 1.1rem; font-weight: 700; margin-top: 16px; }
.perks .card p { color: var(--muted); margin-top: 8px; font-size: .94rem; }
@media (max-width: 960px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

.jobs-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.jobs-tools .chips { margin: 0; }
.jobs-tools .chips button { font: inherit; font-size: .86rem; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: none; color: var(--muted); cursor: pointer; transition: all .2s; }
.jobs-tools .chips button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.job-count { color: var(--dim); font-size: .88rem; font-family: var(--f-mono); }
.job-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.job-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.job-row h3 { font-size: 1.2rem; font-weight: 700; }
.job-row h3 a { text-decoration: none; } .job-row h3 a:hover { color: var(--accent-ink); }
.job-row .meta { color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.job-row .tags { margin-top: 10px; }
.job-row .tags li { font-size: .78rem; padding: 4px 10px; }
.job-row[hidden] { display: none; }
@media (max-width: 760px) { .job-row { grid-template-columns: 1fr; gap: 10px; } }

.apply { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } }

.job-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.job-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.job-side .card { padding: 24px; }
.job-side dl { margin: 0; display: grid; gap: 12px; }
.job-side dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.job-side dd { margin: 2px 0 0; }
@media (max-width: 900px) { .job-body { grid-template-columns: 1fr; } .job-side { position: static; } }

.prose { max-width: 720px; font-size: 1.04rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; font-weight: 800; margin-top: 1.8em; color: var(--text); }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.5em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--accent-ink); }
.prose figure { margin: 1.8em 0; }
.prose figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.prose figcaption { margin-top: 10px; font-size: .86rem; color: var(--dim); }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .25s, transform .25s; }
.post-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.post-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .ph img { transform: scale(1.04); }
.post-card .body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.post-card h2, .post-card h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.015em; }
.post-card p { color: var(--muted); font-size: .94rem; }
.post-meta { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.post-grid .post-card:first-child:nth-last-child(n+3) { grid-column: span 2; }
.post-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.post-grid.cols-1 { grid-template-columns: minmax(0, 720px); }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } .post-grid .post-card:first-child:nth-last-child(n+3) { grid-column: auto; } }
@media (max-width: 640px) { .post-grid, .post-grid.cols-2 { grid-template-columns: 1fr; } }
.article-cover { margin-top: clamp(28px, 4vw, 48px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }

.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .code { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 16vw, 11rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent-ink) 70%, transparent); }

/* ---------- Telecom construction gallery + lightbox ---------- */
.cons-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: end; }
.cons-head .tags { justify-content: flex-end; }
@media (max-width: 900px) { .cons-head { grid-template-columns: 1fr; } .cons-head .tags { justify-content: flex-start; } }
.g-filter { margin: 36px 0 18px; }
.g-filter button { font: inherit; font-size: .86rem; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: none; color: var(--muted); cursor: pointer; transition: all .2s; }
.g-filter button span { display: inline; margin-left: 6px; padding: 0; border: 0; border-radius: 0; background: none; font-family: var(--f-mono); font-size: .72rem; color: var(--dim); }
.g-filter button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.g-filter button[aria-pressed="true"] span { color: var(--accent-ink); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 14vw, 210px); grid-auto-flow: dense; gap: 10px; }
.g-item { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--surface); }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.9) brightness(.92); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.045); filter: none; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), transparent 45%); pointer-events: none; }
.g-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.g-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); transition: transform .3s; }
.g-play svg { width: 22px; height: 22px; margin-left: 3px; }
.g-item:hover .g-play { transform: scale(1.08); }
.g-item[hidden] { display: none; }
.js .gallery:not(.all) .g-item.more { display: none; }
.g-foot { display: flex; justify-content: center; margin-top: 28px; }
.gallery.all + .g-foot, .gallery.filtered + .g-foot { display: none; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } .g-item.wide { grid-column: span 2; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font-family: var(--f-display); font-weight: 650; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,4,10,.94); color: #fff; }
.lightbox::backdrop { background: rgba(5,4,10,.7); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 80px 0; min-height: 0; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-cap { margin: 18px 0 26px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.14); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
@media (max-width: 760px) { .lb-stage { padding: 64px 12px 0; } .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; } .lb-cap { margin-bottom: 76px; } }

/* ---------- What we do: three tabs ---------- */
.tab-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); margin-bottom: 32px; }
.tab { position: relative; display: grid; gap: 4px; text-align: left; font: inherit; color: var(--muted); background: none; border: 0; padding: 18px 20px 22px 0; cursor: pointer; transition: color .25s; }
.tab::after { content: ""; position: absolute; left: 0; right: 20px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.tab .n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--dim); }
.tab .t { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.45rem); letter-spacing: -.02em; }
.tab .s { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tab:hover .t { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab[aria-selected="true"] .n { color: var(--accent-ink); }
.tab-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.tab-panel[hidden] { display: none; }
.js .tab-panel:not([hidden]) { animation: panelIn .45s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .tab-panel:not([hidden]) { animation: none; } }
.panel-lead { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin-bottom: 26px; }
.panel-more { margin-top: 28px; }
.tab-panel + .tab-panel { margin-top: 56px; }          /* no-JS: panels stack */
.js .tab-panel + .tab-panel { margin-top: 0; }
.dc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.dc-cards .card { padding: 24px; }
.dc-cards .n { font-family: var(--f-mono); font-size: .72rem; color: var(--accent-ink); letter-spacing: .1em; }
.dc-cards h4 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; margin: 10px 0 8px; letter-spacing: -.015em; }
.dc-cards p { color: var(--muted); font-size: .94rem; }
.dc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 18px; align-items: stretch; }
.dc-media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.dc-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.dc-list { display: grid; gap: 18px; }
.dc-list .card { padding: 22px 24px; }
.dc-list .n { font-family: var(--f-mono); font-size: .72rem; color: var(--accent-ink); letter-spacing: .1em; }
.dc-list h4 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; margin: 8px 0 6px; }
.dc-list p { color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) {
  .tab-list { grid-template-columns: 1fr; border-bottom: 0; gap: 6px; }
  .tab { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; }
  .tab::after { display: none; }
  .tab[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); }
  .dc-grid { grid-template-columns: 1fr; }
  .dc-media { min-height: 220px; }
}
