:root,
[data-theme="dark"] {
  --bg: #000000;
  --line: #18181c;
  --line-bright: #2c2c34;
  --white: #ffffff;
  --silver: #d6d6dc;
  --grey-1: #a4a4ac;
  --grey-2: #6e6e78;
  --grey-3: #45454d;
  --grey-4: #2a2a30;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e0e0e6 30%, #6e6e78 58%, #c0c0c8 80%, #f0f0f4 100%);
  --hover-tint: rgba(255,255,255,0.015);
  --nav-scrim: rgba(0,0,0,0.85);
  --chrome-1: #ffffff;
  --chrome-2: #dcdce4;
  --chrome-3: #6e6e78;
  --chrome-4: #c0c0c8;
}

[data-theme="light"] {
  --bg: #fafafa;
  --line: #e5e5e9;
  --line-bright: #d0d0d6;
  --white: #0a0a0c;
  --silver: #1a1a20;
  --grey-1: #52525a;
  --grey-2: #6e6e78;
  --grey-3: #c0c0c8;
  --grey-4: #d6d6dc;
  --chrome: linear-gradient(180deg, #18181c 0%, #3a3a42 50%, #0a0a0c 100%);
  --hover-tint: rgba(0,0,0,0.03);
  --nav-scrim: rgba(250,250,250,0.82);
  --chrome-1: #18181c;
  --chrome-2: #3a3a42;
  --chrome-3: #6e6e78;
  --chrome-4: #2a2a30;
}

#chromeV stop:nth-of-type(1) { stop-color: var(--chrome-1); }
#chromeV stop:nth-of-type(2) { stop-color: var(--chrome-2); }
#chromeV stop:nth-of-type(3) { stop-color: var(--chrome-3); }
#chromeV stop:nth-of-type(4) { stop-color: var(--chrome-4); }

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--white); color: var(--bg); }

html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  transition: background-color 0.3s ease, color 0.3s ease;
}

main, header, footer, section { background: var(--bg); position: relative; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
.display {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-1);
}

/* ===== LAYOUT ===== */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
section { padding: 160px 0; }
.section-mark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--grey-1);
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-mark::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--grey-2);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: var(--nav-scrim);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.brand-mark { width: 30px; height: 30px; display: block; }
.nav-links {
  display: flex;
  gap: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--grey-1);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--white);
  color: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--silver); }
.nav-cta::after { content: "\2192"; font-size: 13px; }

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-bright);
  background: transparent;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 1px;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover { border-color: var(--white); }
.theme-toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .theme-toggle svg { transform: rotate(180deg); }

@media (max-width: 880px) { .nav-links { display: none; } }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 200px 0 140px;
  overflow: hidden;
}
.hero-inner { width: 100%; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-1);
  animation: fade 1s ease-out 0.1s both;
}
.hero-meta .sep {
  width: 24px;
  height: 1px;
  background: var(--grey-3);
}

.hero h1 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 56px;
  color: var(--white);
  max-width: 16ch;
  animation: fade 1.2s ease-out 0.2s both;
}
.hero h1 .chrome-word {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1;
  padding-bottom: 0.14em;
}

.hero-sub {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--grey-1);
  max-width: 580px;
  margin-bottom: 64px;
  font-weight: 300;
  animation: fade 1.2s ease-out 0.4s both;
}
.hero-sub strong { color: var(--white); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fade 1.2s ease-out 0.55s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--white); color: var(--bg); }
.btn-primary:hover { background: var(--silver); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line-bright);
  color: var(--white);
  background: var(--bg);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ===== DIVIDER ===== */
.divider { border-top: 1px solid var(--line); }

/* ===== STATS ===== */
.stats { padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 64px 40px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num .unit {
  font-size: 0.4em;
  color: var(--grey-1);
  font-weight: 500;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-1);
  line-height: 1.6;
}
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { padding: 48px 32px; }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; }
}

/* ===== WHY ===== */
.why-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  margin-bottom: 120px;
  align-items: end;
}
.why h2 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
}
.why-intro {
  font-size: 19px;
  color: var(--grey-1);
  font-weight: 300;
  line-height: 1.55;
  max-width: 480px;
}
@media (max-width: 880px) {
  .why-header { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.usp {
  padding: 56px 40px 48px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
}
.usp:nth-child(3n) { border-right: none; }
.usp:hover { background: var(--hover-tint); }
.usp-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-1);
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
}
.usp-num .tag { color: var(--white); }
.usp h3 {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--white);
}
.usp p {
  color: var(--grey-1);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}
@media (max-width: 980px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp:nth-child(3n) { border-right: 1px solid var(--line); }
  .usp:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp { border-right: none !important; padding: 44px 32px 36px; }
  .usp-num { margin-bottom: 40px; }
}

/* ===== SERVICES ===== */
.services-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  margin-bottom: 100px;
  align-items: end;
}
.services h2 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
}
@media (max-width: 880px) {
  .services-header { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.svc {
  background: var(--bg);
  position: relative;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.svc-image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.svc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: contrast(1.05) saturate(0.9);
}
.svc:hover .svc-image img {
  transform: scale(1.04);
  filter: contrast(1.08) saturate(1);
}
.svc-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.svc-body {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 1px;
}
.svc h3 {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
  color: var(--white);
}
.svc p {
  color: var(--grey-1);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
  flex: 1;
}
.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-1);
}
.svc-foot .arrow { color: var(--white); transition: transform 0.25s ease; }
.svc:hover .svc-foot .arrow { transform: translateX(3px); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-body { padding: 28px 28px 24px; }
}

/* ===== COST ===== */
.cost-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 120px;
  align-items: start;
}
.cost h2 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 144px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 48px;
}
.cost h2 .dim { color: var(--grey-2); }
.cost-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--grey-1);
  font-weight: 300;
  max-width: 540px;
}
.cost-lead strong { color: var(--white); font-weight: 500; }

.cost-list { list-style: none; }
.cost-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.cost-item:first-child { border-top: 1px solid var(--line); }
.cost-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--grey-1);
  letter-spacing: 0.18em;
  font-weight: 500;
  min-width: 28px;
}
.cost-item-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--white);
}
.cost-item-desc {
  color: var(--grey-1);
  font-size: 14.5px;
  line-height: 1.55;
}
.cost-cost {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
}
@media (max-width: 980px) { .cost-grid { grid-template-columns: 1fr; gap: 56px; } }
@media (max-width: 600px) {
  .cost-item { grid-template-columns: auto 1fr; gap: 16px; padding: 28px 0; }
  .cost-cost { grid-column: 1 / -1; padding-top: 8px; font-size: 24px; }
}

/* ===== SECTORS ===== */
.sectors h2 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 32px;
}
.sectors-intro {
  font-size: 19px;
  color: var(--grey-1);
  margin-bottom: 100px;
  max-width: 600px;
  font-weight: 300;
  line-height: 1.55;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sector {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sector:hover { background: var(--hover-tint); }
.sector-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--grey-1);
}
.sector-name {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--white);
}
@media (max-width: 980px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sectors-grid { grid-template-columns: 1fr; } .sector { min-height: 0; padding: 28px 24px; gap: 32px; } }

/* ===== PROCESS ===== */
.process h2 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 100px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 65px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-bright);
}
.step { padding: 0 32px 0 0; position: relative; }
.step-marker {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  margin-top: 60px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.step:nth-child(1) .step-marker { background: var(--grey-3); }
.step:nth-child(2) .step-marker { background: var(--grey-2); }
.step:nth-child(3) .step-marker { background: var(--silver); }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--grey-1);
  position: absolute;
  top: 0;
}
.step h3 {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
}
.step p {
  color: var(--grey-1);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 24px; }
  .process-grid::before { display: none; }
  .step-marker { margin-top: 32px; }
}
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== CTA ===== */
.cta {
  padding: 200px 0;
  text-align: center;
}
.cta h2 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 10vw, 180px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}
.cta h2 .chrome-word {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1;
  padding-bottom: 0.14em;
}
.cta-sub {
  font-size: 19px;
  color: var(--grey-1);
  font-weight: 300;
  margin-bottom: 64px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 96px;
}
.cta-actions .btn { padding: 22px 36px; font-size: 14px; }

.cta-meta {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-1);
}
.cta-meta span { position: relative; }
.cta-meta span:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--grey-3);
  border-radius: 50%;
  transform: translateY(-50%);
}
@media (max-width: 600px) {
  .cta-meta { gap: 20px; }
  .cta-meta span:not(:first-child)::before { display: none; }
}

/* ===== CTA SOCIALS ===== */
.cta-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -64px;
  margin-bottom: 64px;
}
.cta-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-bright);
  color: var(--grey-1);
  border-radius: 1px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cta-socials a:hover {
  color: var(--white);
  border-color: var(--white);
  background: var(--hover-tint);
}
.cta-socials a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.cta-socials svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ===== FOOTER ===== */
footer {
  padding: 100px 0 48px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}
.foot-brand {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.foot-tagline {
  color: var(--grey-1);
  font-size: 14.5px;
  max-width: 360px;
  line-height: 1.6;
  font-weight: 300;
}
.foot-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-1);
  margin-bottom: 24px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 14px; }
.foot-col a {
  color: var(--white);
  font-size: 14.5px;
  font-weight: 400;
  transition: color 0.2s ease;
}
.foot-col a:hover { color: var(--grey-1); }

.foot-bar {
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-2);
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .foot-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Mobile fixes */
@media (max-width: 600px) {
  section { padding: 100px 0; }
  .wrap, .wrap-narrow { padding: 0 24px; }
  .nav { padding: 16px 24px; }
  .hero { padding: 160px 0 100px; }
  .section-mark { margin-bottom: 56px; }
  .cta { padding: 120px 0; }
  .nav-actions { gap: 8px; }
  .theme-toggle { width: 36px; height: 36px; }
}

/* ===== SUBPAGE LAYOUT ===== */
.page-hero {
  padding: 180px 0 80px;
}
.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-1);
  flex-wrap: wrap;
}
.page-hero-meta .sep {
  width: 24px;
  height: 1px;
  background: var(--grey-3);
}
.page-hero h1 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 36px;
}
.page-hero-sub {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--grey-1);
  max-width: 640px;
  margin-bottom: 72px;
  font-weight: 300;
}
.page-hero-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}
.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.95);
}
.page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.40) 100%);
  pointer-events: none;
}

.page-block {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.page-block .section-mark {
  margin-bottom: 56px;
}
.page-prose {
  color: var(--grey-1);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  max-width: 720px;
}
.page-prose p + p {
  margin-top: 22px;
}
.page-prose strong {
  color: var(--white);
  font-weight: 500;
}
.page-prose a {
  color: var(--white);
  border-bottom: 1px solid var(--grey-3);
  transition: border-color 0.2s ease;
}
.page-prose a:hover {
  border-color: var(--white);
}
.page-prose-lead {
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  font-weight: 400;
  max-width: 720px;
  margin-bottom: 28px;
}

.page-list {
  list-style: none;
  max-width: 720px;
  counter-reset: item;
}
.page-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 24px;
  align-items: baseline;
  color: var(--grey-1);
  font-size: 16px;
  line-height: 1.55;
}
.page-list li:first-child {
  border-top: 1px solid var(--line);
}
.page-list li::before {
  content: counter(item, decimal-leading-zero);
  counter-increment: item;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-1);
}
.page-list li .li-title {
  display: block;
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.15;
}

@media (max-width: 600px) {
  .page-hero { padding: 140px 0 60px; }
  .page-hero-sub { margin-bottom: 48px; }
  .page-block { padding: 72px 0; }
  .page-list li { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .page-list li::before { display: block; }
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 36px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--white);
  transition: background 0.3s ease;
  min-height: 240px;
}
.contact-card:hover { background: var(--hover-tint); }
.contact-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-1);
  display: block;
}
.contact-card-value {
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--white);
  display: block;
  word-break: break-word;
  margin-top: 56px;
}
.contact-card-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: var(--white);
  align-self: flex-end;
  margin-top: 32px;
  transition: transform 0.25s ease;
}
.contact-card:hover .contact-card-arrow { transform: translateX(4px); }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; padding: 36px 28px 32px; }
  .contact-card-value { margin-top: 28px; }
}
