/* Emperor case study — Aitrez Solutions Group
   Palette from the Aitrez mark: deep navy, logo blue, logo red. Emperor's
   gold appears only next to the Emperor coin. Archivo (display, set wide),
   Manrope (text), JetBrains Mono (labels). */

:root {
  --ink: #070d1f;
  --navy: #0b1a46;
  --navy-2: #12286b;
  --blue: #1f4fe0;
  --blue-bright: #3b74ff;
  --red: #e1222f;
  --red-deep: #b5121d;
  --paper: #f3f5fa;
  --white: #ffffff;
  --text: #0e1630;
  --muted: #56607a;
  --line: #dde2ee;
  --line-dark: rgba(255, 255, 255, 0.12);
  --gold: #c9a24a;

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-text: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, "SFMono-Regular", monospace;

  --radius: 18px;
  --shadow: 0 30px 60px -20px rgba(7, 13, 31, 0.45), 0 12px 24px -12px rgba(7, 13, 31, 0.25);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--text); font: 16px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 18px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

/* ── Type ── */
.eyebrow { font: 600 12px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--light { color: #9fb6ff; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225, 34, 47, 0.25); }
.h2 { font: 800 clamp(30px, 4.6vw, 54px)/1.04 var(--f-display); font-stretch: 112%; letter-spacing: -0.02em; margin-top: 16px; }
.h2 em, .hero__title em, .cta__title em { font-style: normal; color: var(--blue); }
.h3 { font: 800 clamp(24px, 2.8vw, 34px)/1.1 var(--f-display); font-stretch: 108%; letter-spacing: -0.015em; margin-top: 12px; }
.lede { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 62ch; }
.kicker { font: 600 11.5px/1 var(--f-mono); letter-spacing: 0.18em; color: var(--blue); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 700 15px/1 var(--f-text); text-decoration: none; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 20px 30px; font-size: 18px; }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(225, 34, 47, 0.7); }
.btn--red:hover { background: var(--red-deep); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--ghost { color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { border-color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 13, 31, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); padding-top: env(safe-area-inset-top, 0px); }
.nav__row { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.nav__links a:hover { color: var(--white); }
.nav__end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; color: rgba(255, 255, 255, 0.6); font: 700 12px/1 var(--f-mono); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
@media (max-width: 940px) { .nav__links { display: none; } .nav__end { margin-left: auto; } }
@media (max-width: 480px) { .nav__end .btn { display: none; } .nav__brand img { height: 34px; } }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #1b3fae 0%, transparent 60%), linear-gradient(180deg, var(--ink) 0%, var(--navy) 100%); color: var(--white); padding-block: 72px 110px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero__glow { position: absolute; width: 520px; height: 520px; left: -180px; bottom: -260px; background: radial-gradient(circle, rgba(225, 34, 47, 0.35), transparent 65%); filter: blur(10px); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero__copy { min-width: 0; }
.hero__title { margin-top: 22px; font: 900 clamp(34px, 4.3vw, 60px)/1.02 var(--f-display); font-stretch: 104%; letter-spacing: -0.025em; }
.hero__title em { color: transparent; background: linear-gradient(90deg, #6f9bff, #ffffff); -webkit-background-clip: text; background-clip: text; }
.hero__lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.78); max-width: 54ch; }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__credit { margin-top: 36px; display: flex; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.hero__credit strong { color: var(--gold); letter-spacing: 0.12em; font-family: var(--f-display); font-stretch: 120%; }
.hero__stage { position: relative; min-width: 0; padding: 20px 0 40px; }
.hero__phone { position: absolute; right: -8px; bottom: -6px; width: 30%; min-width: 120px; }
@media (max-width: 980px) {
  .hero { padding-block: 48px 72px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ── Devices ── */
.device { margin: 0; position: relative; }
.shot { width: 100%; height: auto; background: linear-gradient(110deg, #1a2550 30%, #24336b 50%, #1a2550 70%) 0 0 / 200% 100%; animation: shimmer 2.4s linear infinite; cursor: zoom-in; }
.shot[data-loaded] { animation: none; background: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.device--laptop { border-radius: 14px; overflow: hidden; background: #0f1630; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.08); }
.device--laptop .shot { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.device__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding-inline: 12px; background: #141c3a; color: rgba(255, 255, 255, 0.5); font: 500 11px/1 var(--f-mono); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2b3561; }
.device__bar i:first-child { background: var(--red); }
.device__bar span { margin-left: 10px; }
.device--phone { border-radius: 30px; padding: 8px; background: #0b1024; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.12); }
.device--phone .shot { border-radius: 23px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* ── Floating chips ── */
.chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.96); color: var(--ink); font: 600 13px/1.2 var(--f-text); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); white-space: nowrap; }
.chip--a { left: -18px; top: 6%; }
.chip--b { left: 8%; bottom: 4%; }
.chip--c { right: 22%; top: -2%; }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; }
.chip__dot--ok { background: #17a34a; }
.chip__dot--warn { background: var(--red); }
.chip__dot--live { background: var(--blue-bright); box-shadow: 0 0 0 0 rgba(59, 116, 255, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(59, 116, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 116, 255, 0); } }
@media (max-width: 980px) { .chip--a { left: 0; } .chip--c { display: none; } }
@media (max-width: 520px) { .chip { font-size: 11.5px; padding: 8px 11px; } .chip--b { display: none; } }

/* ── Metrics ── */
.metrics { background: var(--white); border-bottom: 1px solid var(--line); }
.metrics__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: -56px; position: relative; background: var(--white); border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(11, 26, 70, 0.35); border: 1px solid var(--line); overflow: hidden; }
.metrics__grid li { padding: 28px 22px; border-right: 1px solid var(--line); }
.metrics__grid li:last-child { border-right: 0; }
.metrics__grid b { display: block; font: 900 clamp(32px, 3.6vw, 46px)/1 var(--f-display); font-stretch: 112%; color: var(--navy); font-variant-numeric: tabular-nums; }
.metrics__grid span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.metrics__note { padding-block: 18px 34px; font: 500 12px/1.4 var(--f-mono); color: #8a93a8; }
@media (max-width: 980px) { .metrics__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .metrics__grid li:nth-child(3) { border-right: 0; } .metrics__grid li:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metrics__grid li { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); } .metrics__grid li:nth-child(2n) { border-right: 0 !important; } .metrics__grid li:nth-last-child(-n+2) { border-bottom: 0; } }

/* ── Sections ── */
.section { padding-block: clamp(72px, 10vw, 120px); }
.section--tint { background: var(--paper); }
.section--ink { background: linear-gradient(180deg, var(--ink), var(--navy)); color: var(--white); }
.section__head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--light .h2 em { color: #7ea3ff; }

/* Challenge */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trio__card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.trio__tag { font: 600 11px/1 var(--f-mono); letter-spacing: 0.2em; color: var(--muted); }
.trio__card h3 { margin-top: 14px; font: 800 24px/1.15 var(--f-display); font-stretch: 110%; }
.trio__card p { margin-top: 10px; color: var(--muted); }
.answer { margin-top: 22px; display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: var(--radius); background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: rgba(255, 255, 255, 0.85); font-size: 17px; }
.answer strong { color: var(--white); }
.answer img { flex: none; width: 56px; height: 56px; }
@media (max-width: 860px) { .trio { grid-template-columns: minmax(0, 1fr); } .answer { flex-direction: column; align-items: flex-start; } }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.modules li { background: var(--white); padding: 30px 28px 32px; transition: background-color .25s ease; }
.modules li:hover { background: #f8faff; }
.modules__num { font: 600 12px/1 var(--f-mono); color: var(--red); }
.modules h3 { margin-top: 14px; font: 800 21px/1.2 var(--f-display); font-stretch: 108%; }
.modules p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .modules { grid-template-columns: minmax(0, 1fr); } }

/* Showcase panels */
.panel { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.panel:first-of-type { border-top: 0; }
.panel--flip .panel__copy { order: 2; }
.panel__copy { min-width: 0; }
.panel__copy > p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 52ch; }
.panel__media { min-width: 0; }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 600; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 10px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: center; }
.phones__mid { transform: translateY(-24px) scale(1.04); z-index: 1; }
.stack { position: relative; padding-bottom: 14%; }
.stack__back { position: absolute; width: 70%; right: -4%; bottom: 0; }
@media (max-width: 900px) {
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel--flip .panel__copy { order: 0; }
}
@media (max-width: 520px) { .phones { gap: 8px; } .device--phone { border-radius: 20px; padding: 5px; } .device--phone .shot { border-radius: 16px; } }

/* Fleet Track illustration */
.device--tablet { max-width: 440px; margin-inline: auto; width: 100%; border-radius: 30px; padding: 14px; background: #0b1024; box-shadow: var(--shadow); }
.track { border-radius: 20px; background: linear-gradient(180deg, #0f1733, #0b1229); color: var(--white); padding: 22px 22px 26px; }
.track__top { display: flex; align-items: center; gap: 10px; font: 700 15px/1 var(--f-text); }
.track__status { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(23, 163, 74, 0.15); color: #6ee7a0; font-weight: 700; font-size: 14px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 1.8s infinite; }
.track__unit { margin-top: 18px; font: 900 44px/1 var(--f-display); font-stretch: 118%; letter-spacing: 0.02em; }
.track__rows { margin-top: 22px; display: grid; gap: 1px; background: rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; }
.track__rows div { display: flex; justify-content: space-between; padding: 13px 16px; background: #111a38; font-size: 14px; color: rgba(255,255,255,.65); }
.track__rows b { color: var(--white); font-variant-numeric: tabular-nums; }
.track__btn { margin-top: 20px; text-align: center; padding: 14px; border-radius: 14px; border: 1.5px solid rgba(225, 34, 47, .6); color: #ff8f97; font-weight: 700; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.roles li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); }
.roles b { display: block; font: 800 22px/1.1 var(--f-display); font-stretch: 112%; }
.roles span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.65); font-size: 15px; }
@media (max-width: 860px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* Architecture */
.arch { margin: 0 0 56px; display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.1fr) 48px minmax(0, 1fr); align-items: center; gap: 8px; }
.arch__col { display: grid; gap: 10px; }
.arch__label { font: 600 11px/1 var(--f-mono); letter-spacing: 0.2em; color: var(--muted); margin-bottom: 4px; }
.arch__node { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 14.5px; }
.arch__col--core { padding: 18px; border-radius: 22px; background: linear-gradient(160deg, var(--navy), var(--blue)); box-shadow: var(--shadow); }
.arch__col--core .arch__label { color: #b9caff; }
.arch__node--core { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: var(--white); }
.arch__arrow span { display: block; height: 2px; background: linear-gradient(90deg, var(--line), var(--red)); position: relative; }
.arch__arrow span::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--red); }
@media (max-width: 900px) {
  .arch { grid-template-columns: minmax(0, 1fr); }
  .arch__arrow { height: 34px; display: flex; justify-content: center; }
  .arch__arrow span { width: 2px; height: 100%; background: linear-gradient(180deg, var(--line), var(--red)); }
  .arch__arrow span::after { right: auto; top: auto; bottom: -8px; left: -5px; border-left-color: transparent; border-top-color: var(--red); }
}

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.caps li { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.caps__k { font: 600 10.5px/1 var(--f-mono); letter-spacing: 0.16em; color: var(--blue); }
.caps h3 { margin-top: 12px; font: 800 19px/1.2 var(--f-display); font-stretch: 106%; }
.caps p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .caps { grid-template-columns: minmax(0, 1fr); } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--white); font: 800 18px/1 var(--f-display); }
.steps h3 { margin-top: 18px; font: 800 20px/1.2 var(--f-display); font-stretch: 108%; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ── CTA ── */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue) 0%, #1638a8 55%, var(--navy) 100%); color: var(--white); padding-block: clamp(84px, 12vw, 150px) clamp(120px, 16vw, 200px); }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: linear-gradient(90deg, var(--red) 0 34%, var(--white) 34% 36%, var(--red) 36% 100%); }
.cta__mark { position: absolute; left: 50%; bottom: -0.16em; transform: translateX(-50%); font: 900 clamp(120px, 26vw, 380px)/0.8 var(--f-display); font-stretch: 125%; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.07); white-space: nowrap; pointer-events: none; user-select: none; }
.cta__inner { position: relative; }
.cta__title { margin-top: 20px; font: 900 clamp(36px, 6vw, 76px)/1.0 var(--f-display); font-stretch: 112%; letter-spacing: -0.025em; max-width: 18ch; }
.cta__title em { color: #ffd2d5; font-style: italic; font-stretch: 100%; font-weight: 800; }
.cta__lede { margin-top: 24px; font-size: clamp(17px, 1.7vw, 20px); color: rgba(255, 255, 255, 0.82); max-width: 56ch; }
.cta__row { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }
.cta__mail { color: var(--white); font-weight: 700; font-size: 17px; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.45); padding-bottom: 4px; }
.cta__mail:hover { border-color: var(--white); }

/* ── Footer ── */
.foot { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 40px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.foot__label { font: 600 12px/1 var(--f-mono); letter-spacing: 0.18em; text-transform: uppercase; color: #9fb6ff; }
.foot__logo { margin-top: 16px; width: min(340px, 100%); height: auto; }
.foot__about { margin-top: 18px; max-width: 46ch; font-size: 15px; }
.foot__emperor { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-dark); align-self: center; }
.foot__emperor img { width: 56px; height: 56px; }
.foot__emp { font: 800 20px/1 var(--f-display); font-stretch: 125%; letter-spacing: 0.14em; color: var(--gold); }
.foot__emp-sub { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.foot__nav { display: grid; gap: 10px; font-size: 14.5px; }
.foot__nav a { text-decoration: none; color: rgba(255, 255, 255, 0.75); }
.foot__nav a:hover { color: var(--white); }
.foot__legal { padding-top: 26px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.5); max-width: 110ch; }
@media (max-width: 900px) { .foot__top { grid-template-columns: minmax(0, 1fr); } .foot__emperor { justify-self: start; } }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 8, 20, 0.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: var(--white); font-size: 18px; cursor: pointer; }
.lightbox__cap { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.6); font: 500 12px/1.4 var(--f-mono); padding-inline: 20px; }

/* ── Reveal on scroll (content is visible without JS) ── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .chip__dot--live, .pulse, .shot { animation: none; } }

/* capability section call to action */
.cv__cta { margin-top: 36px; display: flex; justify-content: center; }
