/* ============================================================
   After Hours Lab — static rebuild of the Lovable site
   Palette, fonts and utilities translated 1:1 from the
   original project's src/styles.css ("Industrial Nocturne").
   ============================================================ */

:root {
  --font-display: "Inter", sans-serif;
  --font-sans: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 0.625rem;

  /* Industrial Nocturne palette */
  --background: oklch(0.13 0.008 270);
  --foreground: oklch(0.97 0.003 250);
  --card: oklch(0.17 0.01 270);
  --card-foreground: oklch(0.97 0.003 250);
  --popover: oklch(0.16 0.01 270);
  --popover-foreground: oklch(0.97 0.003 250);

  /* Cyan #00f2ff */
  --primary: oklch(0.86 0.16 200);
  --primary-foreground: oklch(0.13 0.008 270);
  /* Magenta #ff10c4 */
  --magenta-accent: oklch(0.66 0.31 340);
  --cyan-accent: oklch(0.86 0.16 200);

  --secondary: oklch(0.21 0.012 270);
  --secondary-foreground: oklch(0.97 0.003 250);
  --muted: oklch(0.22 0.012 270);
  --muted-foreground: oklch(0.7 0.015 250);
  --accent: oklch(0.24 0.018 230);
  --accent-foreground: oklch(0.97 0.003 250);
  --destructive: oklch(0.66 0.24 25);
  --destructive-foreground: oklch(0.98 0 0);
  --border: oklch(1 0 0 / 0.08);
  --input: oklch(1 0 0 / 0.1);
  --ring: oklch(0.86 0.16 200 / 0.6);

  --hero-glow: oklch(0.86 0.16 200 / 0.18);
  --shadow-magenta: 0 0 28px color-mix(in oklab, var(--magenta-accent) 35%, transparent);
  --shadow-magenta-strong: 0 0 38px color-mix(in oklab, var(--magenta-accent) 55%, transparent);
  --shadow-panel: 0 30px 80px -40px rgba(0, 0, 0, 0.85);
  --shadow-cyan-soft: 0 0 0 1px color-mix(in oklab, var(--cyan-accent) 22%, transparent);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  font-size: 16px;
}

body {
  background:
    radial-gradient(60% 50% at 15% 10%, var(--hero-glow), transparent 70%),
    radial-gradient(40% 35% at 90% 0%, color-mix(in oklab, var(--magenta-accent) 8%, transparent), transparent 70%),
    var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::selection {
  background: color-mix(in oklab, var(--magenta-accent) 35%, transparent);
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

img {
  display: block;
  max-width: 100%;
}

strong { color: var(--foreground); font-weight: 600; }

/* ---------- layout helpers ---------- */
.shell {
  width: 100%;
  max-width: 80rem;       /* max-w-7xl */
  margin-inline: auto;
  padding-inline: 1.5rem; /* px-6 */
}
@media (min-width: 1024px) {
  .shell { padding-inline: 2.5rem; } /* lg:px-10 */
}

.page { min-height: 100vh; background: var(--background); color: var(--foreground); }

/* ---------- mono / eyebrow utilities ---------- */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-accent);
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border: 1px solid color-mix(in oklab, var(--cyan-accent) 25%, transparent);
  background: color-mix(in oklab, var(--cyan-accent) 8%, transparent);
  color: var(--cyan-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

.cyan-glow {
  color: var(--cyan-accent);
  text-shadow: 0 0 18px color-mix(in oklab, var(--cyan-accent) 45%, transparent);
}
.cyan-glow.italic { font-style: italic; }

.muted { color: var(--muted-foreground); }
.text-white { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  height: 2.5rem;          /* size lg */
  padding-inline: 2rem;    /* px-8 */
  border: 1px solid transparent;
}
.btn-hero {
  background: var(--magenta-accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.025em;
  box-shadow: var(--shadow-magenta);
}
.btn-hero:hover { box-shadow: var(--shadow-magenta-strong); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--foreground);
}
.btn-outline:hover {
  border-color: color-mix(in oklab, var(--cyan-accent) 50%, transparent);
  color: var(--cyan-accent);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(20px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.logo-link { flex-shrink: 0; }
.logo-link img {
  height: 3.5rem;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.45));
}
@media (min-width: 768px) { .logo-link img { height: 4rem; } }

.primary-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .primary-nav { display: flex; } }
.nav-link {
  position: relative;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-link:hover { color: var(--cyan-accent); }
.nav-link.active { color: var(--foreground); }

.header-cta { display: inline-flex; }
@media (max-width: 520px) { .header-cta { display: none; } }

.mobile-nav-wrap { border-top: 1px solid rgba(255, 255, 255, 0.05); }
@media (min-width: 768px) { .mobile-nav-wrap { display: none; } }
.mobile-nav {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-block: 0.75rem;
}
.mobile-nav .nav-link { white-space: nowrap; }

/* logo flicker animation */
@keyframes logoFlicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.6; }
  94% { opacity: 1; }
  95% { opacity: 0.4; }
  96% { opacity: 1; }
}
.logo-flicker { animation: logoFlicker 8s infinite; }

/* ---------- grid overlay ---------- */
.grid-overlay {
  background-image:
    linear-gradient(to right, color-mix(in oklab, white 3%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, white 3%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- panel surface ---------- */
.panel-surface {
  border: 1px solid color-mix(in oklab, white 8%, transparent);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in oklab, white 3%, transparent), transparent 60%),
    color-mix(in oklab, var(--card) 92%, black);
  box-shadow: var(--shadow-panel);
}
.rounded-none { border-radius: 0 !important; }

/* ============================================================
   HERO BAR (home carousel)
   ============================================================ */
.hero-bar {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 78vh;
  min-height: 520px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}
@media (min-width: 768px) { .hero-bar { height: 80vh; } }
.hero-bar-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* outgoing: fade OUT to black (the hero-bar background is #000) */
  transition: opacity 650ms ease-in;
}
.hero-frame.is-active {
  opacity: 1;
  /* incoming: hold on black, then fade IN from black after the old one has gone */
  transition: opacity 750ms ease-out 600ms;
}
.hero-frame .frame-img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-frame .frame-tiled {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 480px auto;
  filter: grayscale(0.2) contrast(1.05);
  opacity: 0.55;
}
.hero-frame .scrim-x {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3) 50%, transparent);
}
.hero-frame .scrim-y {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #000, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2));
}

.hero-glow-cyan {
  pointer-events: none; position: absolute;
  top: -8rem; left: -8rem; height: 420px; width: 420px;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--cyan-accent) 15%, transparent);
  filter: blur(120px);
}
.hero-glow-magenta {
  pointer-events: none; position: absolute;
  bottom: -10rem; right: 0; height: 360px; width: 360px;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--magenta-accent) 10%, transparent);
  filter: blur(140px);
}

.corner {
  pointer-events: none; position: absolute;
  height: 1.25rem; width: 1.25rem;
}
.corner.tl { left: 1rem; top: 1rem; border-left: 1px solid color-mix(in oklab, var(--cyan-accent) 70%, transparent); border-top: 1px solid color-mix(in oklab, var(--cyan-accent) 70%, transparent); }
.corner.tr { right: 1rem; top: 1rem; border-right: 1px solid color-mix(in oklab, var(--cyan-accent) 70%, transparent); border-top: 1px solid color-mix(in oklab, var(--cyan-accent) 70%, transparent); }
.corner.bl { left: 1rem; bottom: 1rem; border-left: 1px solid color-mix(in oklab, var(--cyan-accent) 70%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--cyan-accent) 70%, transparent); }
.corner.br { right: 1rem; bottom: 1rem; border-right: 1px solid color-mix(in oklab, var(--cyan-accent) 70%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--cyan-accent) 70%, transparent); }

.hero-bar-content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding-block: 4rem;
  /* settle state: slide in from the right + fade in */
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 560ms ease;
  will-change: transform, opacity;
}
/* outgoing text: lift up + fade out */
.hero-bar-content.is-out {
  transform: translateY(-28px);
  opacity: 0;
  transition: transform 360ms ease-in, opacity 360ms ease-in;
}
/* incoming text start: parked to the right + invisible, no transition (instant) */
.hero-bar-content.is-in-start {
  transform: translateX(52px);
  opacity: 0;
  transition: none;
}
.hero-bar-title {
  max-width: 56rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.hero-bar-body {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}
@media (min-width: 768px) { .hero-bar-body { font-size: 1.125rem; line-height: 2; } }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  height: 3rem; width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all 180ms ease;
  color: #fff;
}
.hero-arrow svg { height: 1.25rem; width: 1.25rem; }
.hero-arrow:hover {
  border-color: color-mix(in oklab, var(--cyan-accent) 70%, transparent);
  background: rgba(0,0,0,0.7);
  box-shadow: 0 0 18px var(--cyan-accent);
  color: var(--cyan-accent);
}
.hero-arrow.prev { left: 0.75rem; }
.hero-arrow.next { right: 0.75rem; }
@media (min-width: 768px) {
  .hero-arrow { height: 3.5rem; width: 3.5rem; }
  .hero-arrow.prev { left: 1.5rem; }
  .hero-arrow.next { right: 1.5rem; }
}

.hero-meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 10;
}
.hero-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  padding-top: 2.5rem;
}
.hero-meta .ref { display: flex; align-items: center; gap: 0.5rem; }
.dot-cyan {
  display: inline-block; height: 0.375rem; width: 0.375rem;
  border-radius: 9999px; background: var(--cyan-accent);
  box-shadow: 0 0 8px var(--cyan-accent);
}
.hero-count { margin-left: 0.75rem; color: rgba(255,255,255,0.4); }
.hero-dots { display: none; align-items: center; gap: 0.375rem; }
@media (min-width: 768px) { .hero-dots { display: flex; } }
.hero-dot {
  height: 3px; width: 2rem; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.2);
  transition: all 180ms ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.4); }
.hero-dot.active { background: var(--cyan-accent); box-shadow: 0 0 6px var(--cyan-accent); }

/* ============================================================
   STANDARD HERO (about / sectors / contact)
   ============================================================ */
.hero-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in oklab, var(--background) 70%, black) 0%, var(--background) 100%);
  border-bottom: 1px solid color-mix(in oklab, white 6%, transparent);
}
.hero-shell .grid-overlay {
  position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
}
.hero-shell-glow-cyan {
  position: absolute; top: -8rem; left: -8rem; height: 420px; width: 420px;
  border-radius: 9999px; background: color-mix(in oklab, var(--cyan-accent) 15%, transparent);
  filter: blur(120px); pointer-events: none;
}
.hero-shell-glow-magenta {
  position: absolute; bottom: -10rem; right: 0; height: 360px; width: 360px;
  border-radius: 9999px; background: color-mix(in oklab, var(--magenta-accent) 10%, transparent);
  filter: blur(140px); pointer-events: none;
}
.hero-shell-inner {
  position: relative;
  display: grid;
  gap: 4rem;
  padding-block: 5rem;
}
@media (min-width: 1024px) {
  .hero-shell-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: center;
    padding-block: 7rem;
  }
}
.hero-copy { max-width: 48rem; display: flex; flex-direction: column; gap: 2rem; }
.hero-title {
  max-width: 56rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.hero-intro {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 2;
  color: var(--muted-foreground);
}
@media (min-width: 768px) { .hero-intro { font-size: 1.25rem; } }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
}
.hero-stats dt { display: block; margin-bottom: 0.375rem; }
.hero-stats dd { font-size: 0.875rem; font-weight: 500; color: #fff; }

.hero-figure-wrap { position: relative; display: none; }
@media (min-width: 1024px) { .hero-figure-wrap { display: block; } }
.hero-figure-glow {
  position: absolute; inset: -2.5rem;
  background: color-mix(in oklab, var(--cyan-accent) 10%, transparent);
  filter: blur(100px); border-radius: 9999px; pointer-events: none;
}
.hero-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7);
  transition: transform 500ms ease;
}
.hero-figure:hover { transform: scale(1.015); }
.hero-figure img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  opacity: 0.95;
  filter: grayscale(0.1) contrast(1.02) brightness(0.95);
}
.hero-figure .fig-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 50%, rgba(0,0,0,0.15));
}
.hero-figcaption {
  position: absolute; inset-inline: 1.5rem; bottom: 1.5rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.hero-figcaption .cap-title { font-size: 0.875rem; font-weight: 500; color: #fff; margin-top: 0.25rem; }
.hero-figcaption .pulse-ring {
  display: flex; height: 2.5rem; width: 2.5rem;
  align-items: center; justify-content: center;
  border-radius: 9999px; border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
}
.pulse-dot {
  height: 0.5rem; width: 0.5rem; border-radius: 9999px;
  background: var(--cyan-accent); box-shadow: 0 0 10px var(--cyan-accent);
  animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============================================================
   SECTOR STRIP (home)
   ============================================================ */
.sector-strip {
  position: relative;
  border-block: 1px solid rgba(255,255,255,0.05);
  background: color-mix(in oklab, var(--background) 70%, black);
  padding-block: 3.5rem;
}
.sector-strip > .grid-overlay { position: absolute; inset: 0; opacity: 0.3; pointer-events: none; }
.sector-strip-head {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem;
}
.sector-strip-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
@media (min-width: 768px) { .sector-strip-head h2 { font-size: 1.875rem; } }
.sector-strip-head .head-left { display: flex; flex-direction: column; gap: 0.5rem; }
.sector-strip-head .head-right { display: flex; max-width: 28rem; flex-direction: column; align-items: flex-end; gap: 0.5rem; text-align: right; }
.sector-strip-head .head-right p { font-size: 0.875rem; line-height: 1.75; color: var(--muted-foreground); }
.small-mono { font-size: 0.6rem !important; color: rgba(255,255,255,0.5); }

.sector-track-wrap { position: relative; }
.sector-track {
  display: flex; gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: 1.5rem;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--cyan-accent) 40%, transparent) transparent;
}
@media (min-width: 1024px) { .sector-track { padding-inline: 2.5rem; } }
.sector-card {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 55%;
  flex: none;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
}
@media (min-width: 640px) { .sector-card { width: 36%; } }
@media (min-width: 768px) { .sector-card { width: 26%; } }
@media (min-width: 1024px) { .sector-card { width: 17%; } }
.sector-card img {
  height: 100%; width: 100%; object-fit: cover; opacity: 0.8;
  transition: transform 700ms ease, opacity 700ms ease;
}
.sector-card:hover img { transform: scale(1.05); opacity: 1; }
.sector-card .scrim {
  pointer-events: none; position: absolute; inset: 0;
  background: linear-gradient(to top, #000, rgba(0,0,0,0.4) 50%, transparent);
}
.sector-card figcaption { position: absolute; inset-inline: 0.75rem; bottom: 0.75rem; }
.sector-card figcaption .name {
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.025em; color: #fff; margin-top: 0.25rem;
}
.sector-card .corner-dot {
  position: absolute; right: 0.75rem; top: 0.75rem;
  height: 0.375rem; width: 0.375rem; border-radius: 9999px;
  background: var(--cyan-accent); box-shadow: 0 0 8px var(--cyan-accent);
}
.fade-left, .fade-right {
  pointer-events: none; position: absolute; inset-block: 0; width: 3rem;
}
.fade-left { left: 0; background: linear-gradient(to right, color-mix(in oklab, var(--background) 70%, black), transparent); }
.fade-right { right: 0; background: linear-gradient(to left, color-mix(in oklab, var(--background) 70%, black), transparent); }

/* ============================================================
   SECTION BLOCK + content
   ============================================================ */
.section-band { background: transparent; }
.section-block-inner {
  display: flex; flex-direction: column; gap: 2.5rem;
  padding-block: 4rem;
}
@media (min-width: 1024px) { .section-block-inner { padding-block: 6rem; } }
.section-head { max-width: 48rem; display: flex; flex-direction: column; gap: 1rem; }
.section-title {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-intro {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* home intro two-column */
.intro-grid {
  display: grid; gap: 1.25rem; align-items: stretch;
}
@media (min-width: 1024px) {
  .intro-grid { grid-template-columns: minmax(0,0.95fr) minmax(0,1.05fr); }
}
.intro-copy { position: relative; height: 100%; display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem; }
.intro-copy p { font-size: 1.125rem; line-height: 2; color: var(--muted-foreground); }

.cap-grid { display: grid; gap: 0.75rem; padding-top: 0.5rem; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
.list-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  border-bottom: 1px solid color-mix(in oklab, white 6%, transparent);
  padding-bottom: 0.8rem;
  color: color-mix(in oklab, var(--foreground) 88%, transparent);
  font-size: 0.92rem; font-weight: 400; line-height: 1.5;
}
.list-row-dot {
  height: 0.45rem; width: 0.45rem; margin-top: 0.5rem; flex-shrink: 0;
  border-radius: 999px; background: var(--cyan-accent);
  box-shadow: 0 0 10px color-mix(in oklab, var(--cyan-accent) 60%, transparent);
}

/* image plate */
.plate {
  position: relative; height: 100%; min-height: 360px; overflow: hidden; background: #000;
}
.plate img {
  position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; opacity: 0.85;
  filter: grayscale(0.1) contrast(1.02) brightness(0.92);
}
.plate .plate-scrim {
  pointer-events: none; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.55), rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3));
}
.plate .grid-overlay { position: absolute; inset: 0; opacity: 0.2; }
.plate .corner { height: 1rem; width: 1rem; }
.plate .corner.tl { left: 0.75rem; top: 0.75rem; }
.plate .corner.tr { right: 0.75rem; top: 0.75rem; }
.plate .corner.bl { left: 0.75rem; bottom: 0.75rem; }
.plate .corner.br { right: 0.75rem; bottom: 0.75rem; }
.plate .meta { position: absolute; font-size: 0.6rem !important; }
.plate .meta.tl { left: 1.25rem; top: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.plate .meta.tr { right: 1.25rem; top: 1rem; color: rgba(255,255,255,0.5); }
.plate .meta.bl { left: 1.25rem; bottom: 1rem; color: rgba(255,255,255,0.6); }
.plate .meta .mini-dot {
  display: inline-block; height: 0.375rem; width: 0.375rem; border-radius: 9999px;
  background: var(--cyan-accent); box-shadow: 0 0 8px var(--cyan-accent);
}

/* principle / card grids */
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem;
}
.card h2, .card h3 { font-size: 1.25rem; font-weight: 600; color: var(--foreground); }
.card p { line-height: 1.75; color: var(--muted-foreground); }

/* prose panel (about) */
.prose-panel { max-width: 56rem; display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem; }
.prose-panel p { font-size: 1.125rem; line-height: 2; color: var(--muted-foreground); }

/* quote */
.quote-figure { margin-top: 2rem; max-width: 56rem; display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem; }
.quote-figure blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem; line-height: 1.375; color: var(--foreground);
}
@media (min-width: 768px) { .quote-figure blockquote { font-size: 1.875rem; } }
.quote-figure figcaption {
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-foreground);
}

/* ---------- CTA band ---------- */
.section-band-contrast {
  position: relative;
  background: linear-gradient(180deg, color-mix(in oklab, var(--background) 60%, black), color-mix(in oklab, var(--background) 80%, black));
  border-top: 1px solid color-mix(in oklab, white 6%, transparent);
  border-bottom: 1px solid color-mix(in oklab, white 6%, transparent);
}
.cta-inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding-block: 3.5rem;
}
@media (min-width: 1024px) {
  .cta-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-block: 5rem; }
}
.cta-copy { max-width: 48rem; display: flex; flex-direction: column; gap: 1rem; }
.cta-copy h2 {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 600; color: #fff;
}
@media (min-width: 768px) { .cta-copy h2 { font-size: 2.25rem; } }
.cta-copy p { font-size: 1.125rem; line-height: 2; color: var(--muted-foreground); }

/* ============================================================
   SECTORS GRID PAGE
   ============================================================ */
.sectors-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sectors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .sectors-grid { grid-template-columns: repeat(4, 1fr); } }
.sector-tile { position: relative; overflow: hidden; }
.sector-tile .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.sector-tile img {
  height: 100%; width: 100%; object-fit: cover; opacity: 0.8;
  transition: transform 700ms ease, opacity 700ms ease;
}
.sector-tile:hover img { transform: scale(1.05); opacity: 1; }
.sector-tile .grid-overlay { position: absolute; inset: 0; opacity: 0.25; }
.sector-tile .scrim {
  pointer-events: none; position: absolute; inset: 0;
  background: linear-gradient(to top, #000, rgba(0,0,0,0.5) 50%, transparent);
}
.sector-tile .corner-dot {
  position: absolute; right: 0.75rem; top: 0.75rem;
  height: 0.375rem; width: 0.375rem; border-radius: 9999px;
  background: var(--cyan-accent); box-shadow: 0 0 8px var(--cyan-accent);
}
.sector-tile .ref { position: absolute; left: 1rem; top: 0.75rem; font-size: 0.6rem !important; }
.sector-tile .label { position: absolute; inset-inline: 1rem; bottom: 1rem; }
.sector-tile .tagline {
  margin-bottom: 0.25rem; max-width: 90%; font-size: 0.75rem; line-height: 1.375;
  color: rgba(255,255,255,0.7); opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 300ms ease, transform 300ms ease;
}
.sector-tile:hover .tagline { opacity: 1; transform: translateY(0); }
.sector-tile .label h2 { font-size: 1.125rem; font-weight: 600; color: #fff; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; height: 100%; flex-direction: column; justify-content: space-between; gap: 0.75rem; padding: 1.5rem; }
.contact-card .label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-foreground); }
.contact-card .value { font-size: 1.125rem; line-height: 2; color: var(--foreground); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: color-mix(in oklab, var(--background) 60%, black);
}
.footer-inner {
  display: grid; gap: 2.5rem;
  padding-block: 3rem;
}
@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr; }
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand img { height: 3rem; width: auto; align-self: flex-start; filter: drop-shadow(0 0 10px rgba(0,242,255,0.35)); }
.footer-brand .promise { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: #fff; }
.footer-brand .desc { max-width: 36rem; font-size: 0.875rem; line-height: 1.75; color: var(--muted-foreground); }
.footer-contact {
  display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground);
}
@media (min-width: 1024px) { .footer-contact { justify-items: end; text-align: right; } }
.footer-link { color: var(--foreground); }
.footer-link:hover { color: var(--cyan-accent); }
.footer-copy { margin-top: 1rem; font-size: 0.75rem; }

/* small helper for spacing inside flex stacks */
.stack-2 > * + * { margin-top: 0.5rem; }
