/* ============================================================
   GOVERNIA — Corporate Website
   Premium institutional system (Palantir / Oracle Gov / Accenture)
   Built on the Governia Design System tokens.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Montserrat:wght@500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  /* Canvas — deep institutional dark */
  --bg:        #080D11;
  --bg-2:      #0B1116;
  --surface:   #0F171D;
  --surface-2: #141E25;
  --light:     #1C262E;

  /* Accents */
  --gold:      #D4AF37;   /* institutional premium — GOVERNIA */
  --gold-deep: #A6862A;
  --green:     #1BDA5B;   /* live data / active signal */
  --green-dk:  #10523C;
  --teal:      #34D0A8;   /* SISMA supply intelligence */
  --danger:    #EF4444;
  --warning:   #F59E0B;
  --info:      #60A5FA;

  /* Text */
  --white:     #F4F7FA;
  --grey:      #9FB0BD;
  --grey-dim:  #62727E;

  /* Lines */
  --hair:      rgba(255,255,255,0.08);
  --hair-2:    rgba(255,255,255,0.045);
  --gold-hair: rgba(212,175,55,0.28);

  --font-d:   'Poppins', sans-serif;
  --font-h:   'Montserrat', sans-serif;
  --font-m:   ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-d);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; }

/* Structural grid background (Palantir/mission-control) */
.gridlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--hair-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair-2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 92%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 92%);
}

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-h);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: var(--gold);
  opacity: 0.8;
}
.kicker.green { color: var(--green); }
.kicker.green::before { background: var(--green); }
.kicker.teal { color: var(--teal); }
.kicker.teal::before { background: var(--teal); }
.kicker.plain { color: var(--grey); }
.kicker.plain::before { background: var(--grey-dim); }

.mono { font-family: var(--font-m); font-variant-numeric: tabular-nums; }

/* ---------- Headings ---------- */
h1, h2, h3 { font-family: var(--font-h); line-height: 1.05; letter-spacing: -0.02em; }
.h-display {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.035em;
}
.h-section {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800; letter-spacing: -0.03em;
}
.lede {
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  color: var(--grey); font-weight: 400; line-height: 1.7;
}
.text-grad-gold {
  background: linear-gradient(180deg, #F4E3A1 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 24px; border: 1px solid transparent;
  transition: all .22s ease; white-space: nowrap;
}
.btn .material-symbols-outlined { font-size: 18px; }
.btn-gold { background: var(--gold); color: #1A1404; border-color: var(--gold); }
.btn-gold:hover { filter: brightness(1.08); box-shadow: 0 0 0 1px var(--gold), 0 10px 30px rgba(212,175,55,0.22); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--hair); }
.btn-ghost:hover { border-color: var(--gold-hair); background: rgba(212,175,55,0.06); }
.btn-green { background: var(--green); color: #04140A; border-color: var(--green); }
.btn-green:hover { filter: brightness(1.08); box-shadow: 0 10px 30px rgba(27,218,91,0.2); }
.btn:active { transform: translateY(1px); }

/* ---------- Header / Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,13,17,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; image-rendering: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-h); font-weight: 800; font-size: 20px; letter-spacing: 0.15em; }
.brand-tag { font-size: 8.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 18px; margin-left: auto; min-width: 0; }
.nav-links a {
  font-size: 12px; font-weight: 500; color: var(--grey);
  letter-spacing: 0.005em; white-space: nowrap; transition: color .2s ease; position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-divider { width: 1px; height: 22px; background: var(--hair); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); }
.nav-toggle .material-symbols-outlined { font-size: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("assets/governia-hero-command-center.png");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,13,17,0.34) 0%, rgba(8,13,17,0.18) 30%, rgba(8,13,17,0.04) 62%, rgba(8,13,17,0.08) 100%);
  pointer-events: none;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,13,17,0.88) 0%, rgba(8,13,17,0.76) 28%, rgba(8,13,17,0.28) 52%, rgba(8,13,17,0.12) 100%),
    linear-gradient(180deg, rgba(8,13,17,0.34) 0%, rgba(8,13,17,0.10) 38%, rgba(8,13,17,0.68) 84%, var(--bg) 100%),
    radial-gradient(70% 65% at 73% 20%, rgba(212,175,55,0.11), transparent 58%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 108px; padding-bottom: 42px; }
.hero-content { max-width: 860px; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hero h1 { margin: 16px 0 18px; }
.hero .lede { max-width: 600px; font-size: clamp(1rem, 1.15vw, 1.18rem); line-height: 1.55; color: #D7E0E7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero stat strip */
.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair); margin-top: 34px;
}
.hero-stat { padding: 18px 22px 18px 0; border-right: 1px solid var(--hair); }
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-family: var(--font-h); font-weight: 800; font-size: clamp(1.05rem, 1.6vw, 1.45rem); letter-spacing: -0.02em; color: var(--white); }
.hero-stat .num .u { color: var(--gold); }
.hero-stat .lbl { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-dim); margin-top: 6px; font-weight: 600; }

/* ---------- Generic section framing ---------- */
.band { padding: clamp(80px, 11vh, 140px) 0; position: relative; }
.band.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sec-head { max-width: 760px; }
.sec-head .h-section { margin: 18px 0 18px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }

/* ---------- Ecosystem grid ---------- */
.eco-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 64px; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair);
}
.eco-cell {
  position: relative; padding: 40px 36px 44px;
  border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  transition: background .3s ease;
  overflow: hidden;
}
.eco-cell::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .4s ease;
}
.eco-cell:hover { background: rgba(212,175,55,0.04); }
.eco-cell:hover::before { width: 100%; }
.eco-num { font-family: var(--font-m); font-size: 12px; color: var(--grey-dim); letter-spacing: 0.1em; }
.eco-ico {
  width: 52px; height: 52px; margin: 22px 0 22px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-hair); color: var(--gold);
  background: radial-gradient(120% 120% at 30% 20%, rgba(212,175,55,0.14), transparent 70%);
}
.eco-ico .material-symbols-outlined { font-size: 28px; }
.eco-cell h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; font-family: var(--font-h); }
.eco-cell p { font-size: 0.92rem; color: var(--grey); line-height: 1.65; }

/* ---------- Split product feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature.rev .feature-media { order: 2; }
.feature-body .h-section { margin: 18px 0 22px; }
.feat-list { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.feat-list li {
  display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); align-items: flex-start;
}
.feat-list li:last-child { border-bottom: 1px solid var(--hair); }
.feat-list .material-symbols-outlined { color: var(--green); font-size: 22px; margin-top: 1px; }
.feat-list b { font-weight: 600; color: var(--white); font-family: var(--font-h); font-size: 0.98rem; }
.feat-list span { display: block; color: var(--grey); font-size: 0.88rem; margin-top: 3px; }

/* Co-brand lockup */
.cobrand { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.cobrand .x { color: var(--grey-dim); font-size: 14px; }
.cobrand img { height: 46px; }
.powered { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-dim); }
.powered b { color: var(--teal); font-weight: 700; }

/* ---------- Browser frame (product screenshots / mock UI) ---------- */
.frame {
  border: 1px solid var(--hair); background: var(--surface);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55); position: relative; overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--hair); background: var(--bg-2); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--light); display: block; }
.frame-url { font-family: var(--font-m); font-size: 11px; color: var(--grey-dim); letter-spacing: 0.02em; }
.frame-body { padding: 0; }
.frame-tag {
  position: absolute; right: 14px; top: 64px; z-index: 5;
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.12em;
  color: var(--green); background: rgba(27,218,91,0.1); border: 1px solid rgba(27,218,91,0.3);
  padding: 5px 10px; display: inline-flex; align-items: center; gap: 7px;
}
.frame-tag .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- ADMIN mock dashboard (in-frame) ---------- */
.admin-ui { display: grid; grid-template-columns: 200px 1fr; min-height: 460px; background: var(--bg-2); }
.admin-side { border-right: 1px solid var(--hair); padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.admin-side .a-logo { font-family: var(--font-h); font-weight: 800; letter-spacing: 0.14em; font-size: 14px; color: var(--gold); margin-bottom: 18px; }
.admin-nav-i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 12.5px; color: var(--grey); border-radius: 4px; }
.admin-nav-i .material-symbols-outlined { font-size: 19px; }
.admin-nav-i.on { background: rgba(27,218,91,0.1); color: var(--green); }
.admin-main { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.akpi { border: 1px solid var(--hair); padding: 16px; background: var(--surface); }
.akpi .k-lbl { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-dim); }
.akpi .k-num { font-family: var(--font-h); font-weight: 800; font-size: 26px; margin-top: 8px; letter-spacing: -0.02em; }
.akpi .k-chip { font-family: var(--font-m); font-size: 10px; margin-top: 6px; }
.up { color: var(--green); } .down { color: var(--danger); } .neu { color: var(--gold); }
.admin-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; flex: 1; }
.admin-panel { border: 1px solid var(--hair); background: var(--surface); padding: 16px; }
.ap-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ap-head .t { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); font-weight: 600; }

/* mini bars */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars .b { flex: 1; background: linear-gradient(180deg, var(--green), rgba(27,218,91,0.25)); position: relative; }
.bars .b.gold { background: linear-gradient(180deg, var(--gold), rgba(212,175,55,0.25)); }
/* obras list rows */
.obrow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hair-2); font-size: 12px; }
.obrow:last-child { border-bottom: none; }
.obrow .nm { flex: 1; color: var(--white); }
.obrow .st { font-family: var(--font-m); font-size: 9.5px; padding: 3px 8px; letter-spacing: 0.06em; }
.st.crit { color: var(--danger); background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); }
.st.prog { color: var(--gold); background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.25); }
.st.ok   { color: var(--green); background: rgba(27,218,91,0.1); border: 1px solid rgba(27,218,91,0.25); }

/* ---------- Infrastructure split cards ---------- */
.infra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.infra-card { position: relative; overflow: hidden; border: 1px solid var(--hair); min-height: 340px; display: flex; align-items: flex-end; }
.infra-card.tall { grid-row: span 2; min-height: 0; }
.infra-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) brightness(0.62); transition: transform .6s ease, filter .6s ease; }
.infra-card:hover img { transform: scale(1.05); filter: grayscale(0.15) brightness(0.7); }
.infra-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,13,17,0.92) 100%); }
.infra-cap { position: relative; z-index: 2; padding: 32px; }
.infra-cap .ic-k { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.infra-cap h3 { font-family: var(--font-h); font-weight: 800; font-size: 1.5rem; margin: 10px 0 8px; }
.infra-cap p { font-size: 0.9rem; color: var(--grey); max-width: 42ch; }

/* lighting full-band feature */
.lighting { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border: 1px solid var(--hair); margin-top: 24px; overflow: hidden; }
.lighting-body { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.lighting-media { position: relative; min-height: 360px; background: #06090C; overflow: hidden; }
.lamp-row { position: absolute; inset: 0; display: grid; place-items: center; }

/* ---------- Executive Dashboard (showpiece) ---------- */
.exec { position: relative; }
.exec-shell { border: 1px solid var(--hair); background: linear-gradient(180deg, var(--surface), var(--bg-2)); margin-top: 56px; box-shadow: 0 50px 120px rgba(0,0,0,0.6); }
.exec-top { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-bottom: 1px solid var(--hair); }
.exec-top .et-title { font-family: var(--font-h); font-weight: 700; letter-spacing: 0.04em; font-size: 14px; }
.exec-top .et-sub { font-family: var(--font-m); font-size: 11px; color: var(--grey-dim); }
.exec-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-m); font-size: 11px; color: var(--green); }
.exec-live .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }
.exec-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--hair); }
.exec-cell { background: var(--bg-2); padding: 22px; }
.c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; } .c-6 { grid-column: span 6; } .c-8 { grid-column: span 8; } .c-12 { grid-column: span 12; }
.exec-cell .e-lbl { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-dim); font-weight: 600; }
.exec-cell .e-num { font-family: var(--font-h); font-weight: 800; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -0.03em; margin-top: 10px; line-height: 1; }
.exec-cell .e-num small { font-size: 0.45em; color: var(--grey); font-weight: 600; }
.e-delta { font-family: var(--font-m); font-size: 11px; margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 56px; margin-top: 16px; }
.spark i { flex: 1; background: rgba(212,175,55,0.5); display: block; }
.spark.green i { background: rgba(27,218,91,0.5); }

/* donut / gauge */
.gauge { display: flex; align-items: center; gap: 22px; }
.gauge svg { flex-shrink: 0; }
.gauge-legend { display: flex; flex-direction: column; gap: 10px; }
.gl-i { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--grey); }
.gl-i .sw { width: 10px; height: 10px; display: block; }

/* map alerts panel */
.exec-map { position: relative; min-height: 100%; overflow: hidden; }
.exec-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.exec-map::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 70% 30%, transparent, rgba(11,17,22,0.6)); }
.map-badges { position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; }
.mbadge { font-family: var(--font-m); font-size: 10px; padding: 5px 10px; border: 1px solid var(--hair); background: rgba(8,13,17,0.7); backdrop-filter: blur(4px); }
.mbadge.r { color: var(--danger); border-color: rgba(239,68,68,0.4); }
.mbadge.y { color: var(--warning); border-color: rgba(245,158,11,0.4); }
.mbadge.g { color: var(--green); border-color: rgba(27,218,91,0.4); }

/* feed list */
.feed { display: flex; flex-direction: column; }
.feed-i { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair-2); font-size: 12px; align-items: flex-start; }
.feed-i:last-child { border-bottom: none; }
.feed-i .dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.feed-i .ft { color: var(--grey); } .feed-i .ft b { color: var(--white); font-weight: 600; }
.feed-i .tm { margin-left: auto; font-family: var(--font-m); font-size: 10px; color: var(--grey-dim); white-space: nowrap; }

/* ---------- Solutions (audience) ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.sol-card { border: 1px solid var(--hair); background: var(--surface); padding: 30px 26px 32px; transition: border-color .3s ease, transform .3s ease, background .3s ease; }
.sol-card:hover { border-color: var(--gold-hair); background: var(--surface-2); transform: translateY(-4px); }
.sol-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair); color: var(--gold); margin-bottom: 22px; }
.sol-ico .material-symbols-outlined { font-size: 24px; }
.sol-card .role { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-dim); font-weight: 700; }
.sol-card h3 { font-family: var(--font-h); font-weight: 700; font-size: 1.18rem; margin: 8px 0 12px; }
.sol-card p { font-size: 0.88rem; color: var(--grey); }
.sol-card .arr { margin-top: 22px; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }

/* ---------- Implementation Process ---------- */
.steps { margin-top: 60px; border-top: 1px solid var(--hair); }
.step { display: grid; grid-template-columns: 120px 1fr auto; gap: clamp(20px, 4vw, 60px); padding: 38px 0; border-bottom: 1px solid var(--hair); align-items: start; transition: background .3s ease; }
.step:hover { background: rgba(212,175,55,0.03); }
.step .s-no { font-family: var(--font-h); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.6rem); color: transparent; -webkit-text-stroke: 1px var(--gold-hair); letter-spacing: -0.04em; }
.step .s-body h3 { font-family: var(--font-h); font-weight: 700; font-size: 1.45rem; margin-bottom: 10px; }
.step .s-body p { color: var(--grey); max-width: 60ch; font-size: 0.95rem; }
.step .s-meta { text-align: right; }
.step .s-meta .m-k { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-dim); }
.step .s-meta .m-v { font-family: var(--font-h); font-weight: 700; color: var(--gold); font-size: 1.1rem; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info .h-section { margin: 18px 0 24px; }
.contact-channels { display: flex; flex-direction: column; gap: 2px; margin-top: 36px; }
.cc-i { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--hair); }
.cc-i:last-child { border-bottom: 1px solid var(--hair); }
.cc-i .material-symbols-outlined { color: var(--gold); font-size: 24px; }
.cc-i .cc-k { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-dim); }
.cc-i .cc-v { font-family: var(--font-h); font-weight: 600; font-size: 1.05rem; margin-top: 2px; }

.form { border: 1px solid var(--hair); background: var(--surface); padding: clamp(28px, 4vw, 44px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--hair); color: var(--white);
  font-family: var(--font-d); font-size: 14px; padding: 13px 14px; outline: none; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-hair); box-shadow: 0 0 0 3px rgba(212,175,55,0.1); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239FB0BD' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 11px; color: var(--grey-dim); margin-top: 16px; text-align: center; }

/* ---------- Trust / logos strip ---------- */
.trust { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 30px 0; }
.trust-inner { display: flex; align-items: center; gap: clamp(20px, 5vw, 60px); flex-wrap: wrap; justify-content: center; }
.trust-inner .t-lbl { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-dim); font-weight: 700; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--grey); font-family: var(--font-h); font-weight: 700; letter-spacing: 0.04em; font-size: 14px; opacity: 0.7; transition: opacity .3s ease; }
.trust-item:hover { opacity: 1; }
.trust-item .material-symbols-outlined { font-size: 22px; color: var(--grey-dim); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hair); background: var(--bg-2); padding: 72px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .f-brand img { height: 54px; margin-bottom: 18px; }
.footer .f-brand p { color: var(--grey); max-width: 36ch; font-size: 0.9rem; }
.f-col h4 { font-family: var(--font-h); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 18px; }
.f-col a { display: block; color: var(--grey); font-size: 0.9rem; padding: 7px 0; transition: color .2s ease; }
.f-col a:hover { color: var(--gold); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.footer-bot p { font-size: 12px; color: var(--grey-dim); }
.footer-bot .f-soc { display: flex; gap: 8px; }
.footer-bot .f-soc a { width: 38px; height: 38px; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--grey); transition: all .2s ease; }
.footer-bot .f-soc a:hover { color: var(--gold); border-color: var(--gold-hair); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .admin-ui { grid-template-columns: 1fr; }
  .admin-side { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .feature, .feature.rev { grid-template-columns: 1fr; }
  .feature.rev .feature-media { order: 0; }
  .lighting { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .exec-grid { grid-template-columns: repeat(6, 1fr); }
  .c-8, .c-6 { grid-column: span 6; } .c-4, .c-3 { grid-column: span 3; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step .s-meta { text-align: left; }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
  .admin-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .eco-grid, .sol-grid, .infra-grid, .footer-top { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .exec-grid { grid-template-columns: repeat(2, 1fr); }
  .c-8, .c-6, .c-4, .c-3 { grid-column: span 2; }
}


/* ---------- Accessibility / focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn, .nav-toggle, #mobileClose { min-height: 44px; }
.nav-cta .btn { padding: 10px 16px !important; font-size: 11.5px; }
.nav-cta .btn-gold { padding-inline: 18px !important; }

/* ---------- Events section ---------- */
.events { overflow: hidden; background: linear-gradient(180deg, #080D11, #0B1116); }
.events-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 6vw, 82px); align-items: center; }
.events-media { position: relative; min-height: 520px; border: 1px solid var(--hair); overflow: hidden; background: radial-gradient(80% 60% at 50% 20%, rgba(212,175,55,0.20), transparent 60%), linear-gradient(180deg, #141E25, #06090C); }
.events-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(212,175,55,0.18), transparent 45%), linear-gradient(180deg, transparent 10%, rgba(8,13,17,0.92) 100%); }
.event-stage-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); }
.event-stage-placeholder .material-symbols-outlined { font-size: 96px; opacity: 0.78; filter: drop-shadow(0 0 28px rgba(212,175,55,0.28)); }
.stage-lines { position: absolute; left: 12%; right: 12%; bottom: 20%; display: grid; gap: 12px; }
.stage-lines i { height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.72), transparent); }
.events-body .h-section { margin: 18px 0 18px; max-width: 760px; }
.event-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0 24px; }
.event-cap-grid div { min-height: 96px; border: 1px solid var(--hair); background: rgba(255,255,255,0.035); padding: 18px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.event-cap-grid .material-symbols-outlined { color: var(--gold); font-size: 26px; }
.event-cap-grid b { font-family: var(--font-h); font-size: 0.98rem; }
.event-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.event-tags span { border: 1px solid var(--gold-hair); color: var(--grey); background: rgba(212,175,55,0.06); padding: 7px 10px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.lighting-points { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; border-top:1px solid var(--hair); padding-top:24px; }
.point-title { font-family:var(--font-h); font-weight:800; font-size:1.15rem; color:var(--gold); line-height:1.1; }

@media (min-width: 1181px) and (max-width: 1380px) {
  .wrap { --gutter: clamp(20px, 3vw, 42px); }
  .nav-inner { gap: 16px; }
  .brand img { height: 46px; }
  .brand-name { font-size: 18px; letter-spacing: 0.13em; }
  .brand-tag { font-size: 7.8px; letter-spacing: 0.22em; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 11px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding-inline: 12px !important; font-size: 10.5px; }
  .h-display { font-size: clamp(3.35rem, 5vw, 4.35rem); line-height: 0.99; }
  .hero-inner { padding-top: 92px; padding-bottom: 28px; }
  .hero-content { max-width: 760px; }
  .hero h1 { margin: 12px 0 14px; }
  .hero .lede { max-width: 560px; font-size: 1.02rem; line-height: 1.48; }
  .hero-actions { margin-top: 18px; }
  .hero-stats { margin-top: 26px; }
  .hero-stat { padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 1180px) {
  .nav-cta .btn-ghost { display: none; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 11px; }
  .brand img { height: 46px; }
}
@media (max-width: 1024px) {
  .nav-inner { gap: 14px; }
  .brand-name { font-size: 17px; }
  .brand-tag { font-size: 7px; letter-spacing: 0.18em; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 10.5px; }
  .nav-cta .btn-gold { padding-inline: 13px !important; }
}
@media (max-width: 860px) {
  .nav-inner { height: 72px; }
  .nav-cta .btn-gold { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 120px; padding-bottom: 52px; }
  .hero-content { max-width: 100%; }
  .hero .lede { max-width: 100%; }
  .events-inner { grid-template-columns: 1fr; }
  .events-media { min-height: 320px; }
  .lighting-points { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand img { height: 42px; }
  .brand-name { font-size: 16px; letter-spacing: 0.12em; }
  .brand-tag { font-size: 6.5px; }
  .h-display { font-size: clamp(2.55rem, 13vw, 3.5rem); line-height: 1.02; }
  .kicker { font-size: 9px; letter-spacing: 0.18em; }
  .hero-actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--hair); padding-right: 0; }
  .event-cap-grid { grid-template-columns: 1fr; }
  .mm-l { font-size: 1.2rem; }
}


/* ---------- Overflow hardening ---------- */
.feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.feature > *, .feature-media, .feature-body, .frame, .frame-body, .admin-ui, .admin-main, .admin-panel { min-width: 0; }
.frame { width: 100%; max-width: 100%; }
.frame-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.akpi .k-num { overflow-wrap: anywhere; font-size: clamp(1.05rem, 1.8vw, 1.55rem); }
.obrow { min-width: 0; }
.obrow .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1081px) and (max-width: 1380px) {
  .feature { gap: clamp(28px, 4vw, 54px); }
  .admin-ui { grid-template-columns: 170px minmax(0, 1fr); }
  .admin-main { padding: 18px !important; }
  .admin-kpis { gap: 10px; }
  .akpi { padding: 12px; }
}


/* ---------- Mobile CTA preservation ---------- */
@media (max-width: 860px) {
  .nav-cta .btn-gold { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 38px; }
  .brand-name { font-size: 14px; letter-spacing: 0.1em; }
  .brand-tag { font-size: 6px; letter-spacing: 0.12em; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-gold { padding: 9px 10px !important; font-size: 0; gap: 0; min-width: 58px; }
  .nav-cta .btn-gold::after { content: "Demo"; font-size: 10.5px; letter-spacing: 0.04em; }
  .nav-cta .btn-gold .material-symbols-outlined { display: none; }
}


/* ---------- GOVERNIA custom hero image ---------- */
.hero-content {
  position: relative;
}
.hero-content::before {
  content: "";
  position: absolute;
  inset: -28px -36px -30px -34px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,13,17,0.64), rgba(8,13,17,0.38) 70%, rgba(8,13,17,0));
  border-left: 1px solid rgba(212,175,55,0.18);
  filter: blur(0);
  pointer-events: none;
}
@media (min-width: 1181px) and (max-width: 1380px) {
  .hero-bg { background-position: 51% 50%; }
}
@media (min-width: 1381px) {
  .hero-bg { background-position: 50% 50%; }
}
@media (max-width: 1180px) {
  .hero-bg { background-position: 54% 50%; }
}
@media (max-width: 860px) {
  .hero-bg { background-position: 58% 50%; }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(8,13,17,0.90) 0%, rgba(8,13,17,0.72) 42%, rgba(8,13,17,0.30) 100%),
      linear-gradient(180deg, rgba(8,13,17,0.42) 0%, rgba(8,13,17,0.16) 36%, rgba(8,13,17,0.82) 86%, var(--bg) 100%);
  }
}
@media (max-width: 560px) {
  .hero-bg { background-position: 60% 50%; }
  .hero-content::before { inset: -20px -20px -22px -20px; background: rgba(8,13,17,0.62); }
}


/* ---------- Hero composition tune for generated command-center image ---------- */
@media (min-width: 1181px) and (max-width: 1380px) {
  .hero-content { max-width: 680px; }
  .hero .lede { max-width: 540px; }
  .hero-actions { max-width: 640px; }
}
@media (min-width: 1381px) {
  .hero-content { max-width: 760px; }
  .hero .lede { max-width: 590px; }
}


/* ---------- Events and artists internal pages ---------- */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; overflow: hidden; padding: 132px 0 76px; background: linear-gradient(135deg, rgba(8,13,17,0.92), rgba(8,13,17,0.72)), url("assets/governia-hero-command-center.png") center/cover no-repeat; }
.page-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 20%, var(--bg) 100%); pointer-events:none; }
.page-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.page-hero .h-display { margin: 18px 0 20px; max-width: 820px; }
.events-summary-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,0.95fr) minmax(0,1.05fr); gap:clamp(34px,6vw,80px); align-items:center; }
.events-video-card { min-width:0; }
.video-thumb { position:relative; display:block; width:100%; border:1px solid var(--hair); background:var(--surface); padding:0; overflow:hidden; color:var(--white); text-align:left; }
.video-thumb img { width:100%; aspect-ratio:16/9; object-fit:cover; filter:brightness(.78) contrast(1.05); transition:transform .35s ease, filter .35s ease; }
.video-thumb:hover img { transform:scale(1.03); filter:brightness(.9) contrast(1.08); }
.play-pill { position:absolute; left:18px; bottom:18px; display:inline-flex; align-items:center; gap:8px; background:rgba(8,13,17,.78); border:1px solid var(--gold-hair); color:var(--gold); padding:10px 12px; font-family:var(--font-h); font-weight:800; font-size:12px; letter-spacing:.06em; text-transform:uppercase; backdrop-filter:blur(8px); }
.dual-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.event-cap-grid.compact { margin-bottom:26px; }
.video-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:48px; }
.video-card { border:1px solid var(--hair); background:var(--surface); }
.video-meta { padding:18px; }
.video-meta span, .artist-cat { color:var(--gold); font-size:10px; letter-spacing:.16em; text-transform:uppercase; font-weight:800; }
.video-meta h3 { margin-top:8px; font-size:1.05rem; }
.capability-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; margin-top:48px; }
.capability-card { border:1px solid var(--hair); background:var(--surface); padding:22px; min-height:150px; }
.capability-card .material-symbols-outlined { color:var(--gold); }
.capability-card h3 { margin:12px 0 8px; font-size:1rem; }
.capability-card p { color:var(--grey); font-size:.86rem; }
.event-tags.large { margin-top:34px; }
.event-tags.large span { font-size:12px; padding:10px 13px; }
.compact-steps .step { grid-template-columns:90px 1fr auto; }
.cta-panel, .catalog-alert { border:1px solid var(--hair); background:linear-gradient(180deg,var(--surface),var(--bg-2)); padding:clamp(28px,5vw,54px); }
.contact-cta .cta-panel .h-section { margin:18px 0; }
.catalog-alert { margin-bottom:22px; }
.catalog-alert b { color:var(--gold); font-family:var(--font-h); text-transform:uppercase; letter-spacing:.12em; font-size:12px; }
.catalog-alert p { color:var(--grey); margin-top:10px; }
.catalog-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:28px; }
.btn.disabled { opacity:.55; cursor:not-allowed; }
.artist-filters { display:flex; gap:8px; flex-wrap:wrap; margin:34px 0 28px; }
.filter-btn { min-height:44px; border:1px solid var(--hair); background:var(--surface); color:var(--grey); padding:9px 12px; font-family:var(--font-h); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.filter-btn.on, .filter-btn:hover { color:#1A1404; background:var(--gold); border-color:var(--gold); }
.artists-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.artist-card { border:1px solid var(--hair); background:var(--surface); overflow:hidden; display:flex; flex-direction:column; }
.artist-card img { width:100%; aspect-ratio:4/5; object-fit:cover; background:var(--bg-2); }
.artist-body { padding:20px; display:flex; flex-direction:column; gap:12px; flex:1; }
.artist-body h3 { font-size:1.1rem; }
.artist-body p, .artist-body dd { color:var(--grey); font-size:.88rem; }
.artist-body dl { display:grid; gap:10px; }
.artist-body dt { color:var(--grey-dim); font-size:9px; letter-spacing:.14em; text-transform:uppercase; font-weight:800; }
.artist-body .btn { margin-top:auto; justify-content:center; }
.video-lightbox[aria-hidden="true"] { display:none; }
.video-lightbox { position:fixed; inset:0; z-index:500; background:rgba(2,5,8,.86); display:grid; place-items:center; padding:24px; }
.video-lightbox-panel { position:relative; width:min(980px, 94vw); background:var(--bg-2); border:1px solid var(--hair); box-shadow:0 40px 120px rgba(0,0,0,.65); }
.video-close { position:absolute; right:12px; top:12px; z-index:2; width:44px; height:44px; border:1px solid var(--hair); background:rgba(8,13,17,.82); color:var(--white); }
.video-frame-slot { aspect-ratio:16/9; display:grid; place-items:center; color:var(--grey); }
.video-frame-slot iframe { width:100%; height:100%; border:0; }
.video-placeholder-message { padding:32px; text-align:center; color:var(--gold); font-family:var(--font-h); font-weight:800; }
.feature-img { width:100%; border:1px solid var(--hair); object-fit:cover; }
@media (max-width:1080px) {
  .events-summary-grid, .video-grid { grid-template-columns:1fr; }
  .capability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .artists-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .page-hero { min-height:auto; padding:116px 0 56px; }
  .capability-grid, .artists-grid { grid-template-columns:1fr; }
  .compact-steps .step { grid-template-columns:1fr; }
}


/* ---------- Real catalog upgrade ---------- */
.catalog-toolbar { display:grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap:12px; margin:30px 0 18px; align-items:center; }
.catalog-search { min-height:44px; display:flex; align-items:center; gap:10px; border:1px solid var(--hair); background:rgba(255,255,255,.04); padding:0 14px; color:var(--grey); }
.catalog-search input, .catalog-toolbar select { min-height:44px; background:rgba(255,255,255,.04); border:1px solid var(--hair); color:var(--white); font-family:var(--font-d); padding:0 12px; outline:none; }
.catalog-search input { border:0; background:transparent; flex:1; min-width:0; }
.catalog-count { color:var(--grey-dim); font-size:12px; margin:0 0 20px; letter-spacing:.04em; text-transform:uppercase; }
.review-chip { display:inline-flex; width:max-content; color:var(--warning); border:1px solid rgba(245,158,11,.35); background:rgba(245,158,11,.08); padding:5px 8px; font-size:10px; letter-spacing:.08em; text-transform:uppercase; font-weight:800; }
.production-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:42px; }
.production-shot { position:relative; min-height:220px; border:1px solid var(--hair); overflow:hidden; background:var(--surface); }
.production-shot img { width:100%; height:100%; min-height:220px; object-fit:cover; filter:brightness(.78) contrast(1.04); }
.production-shot div { position:absolute; inset:auto 0 0 0; padding:16px; background:linear-gradient(180deg, transparent, rgba(8,13,17,.92)); }
.production-shot span { color:var(--gold); font-size:10px; letter-spacing:.12em; text-transform:uppercase; font-weight:800; }
.production-shot b { display:block; margin-top:5px; font-family:var(--font-h); }
.video-frame-slot video { width:100%; height:100%; background:#000; }
@media (max-width:1080px) {
  .catalog-toolbar { grid-template-columns:1fr; }
  .production-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  .production-gallery { grid-template-columns:1fr; }
}


/* Dynamic catalog cards are inserted after the reveal observer runs. */
.artist-card,
.video-card,
.production-shot {
  opacity: 1;
  transform: none;
}


/* ---------- SISMA videos ---------- */
.sisma-video-section { margin-top:56px; border:1px solid var(--hair); background:linear-gradient(180deg, rgba(52,208,168,.08), rgba(255,255,255,.025)); padding:clamp(24px,4vw,38px); }
.sec-head.compact { max-width:760px; margin-bottom:28px; }
.sec-head.compact h3 { font-size:clamp(1.35rem,2.2vw,2rem); margin:10px 0; }
.sec-head.compact p { color:var(--grey); max-width:68ch; }
.sisma-video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.sisma-video-card { border:1px solid var(--hair); background:var(--surface); }
.sisma-video-thumb { min-height:240px; background:
  radial-gradient(circle at 72% 22%, rgba(52,208,168,.22), transparent 34%),
  linear-gradient(135deg, rgba(8,13,17,.96), rgba(11,30,32,.88)),
  repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 32px);
}
.sisma-video-thumb::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(8,13,17,.82), transparent 60%); pointer-events:none; }
.sisma-video-mark { position:absolute; left:22px; top:22px; width:58px; height:58px; display:grid; place-items:center; color:var(--teal); border:1px solid rgba(52,208,168,.32); background:rgba(52,208,168,.08); z-index:1; }
.sisma-video-mark .material-symbols-outlined { font-size:32px; }
.sisma-video-card .video-meta span { color:var(--teal); }
@media (max-width:760px) {
  .sisma-video-grid { grid-template-columns:1fr; }
  .sisma-video-thumb { min-height:190px; }
}


/* ---------- Mobile hero: image first, content below ---------- */
@media (max-width: 700px) {
  .hero {
    min-height: auto;
    display: block;
    padding-top: 72px;
    background: var(--bg);
    overflow: visible;
  }

  .hero-bg {
    position: relative;
    inset: auto;
    display: block;
    height: min(68svh, 520px);
    min-height: 360px;
    z-index: 0;
    background-size: cover;
    background-position: 58% 50%;
    border-bottom: 1px solid var(--hair);
  }

  .hero-bg::before {
    background: linear-gradient(180deg, rgba(8,13,17,0.04) 0%, rgba(8,13,17,0.08) 54%, rgba(8,13,17,0.84) 100%);
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, transparent 0%, rgba(8,13,17,0.10) 56%, var(--bg) 100%),
      linear-gradient(90deg, rgba(8,13,17,0.18) 0%, transparent 44%, rgba(8,13,17,0.08) 100%);
  }

  .hero-grid {
    display: none;
  }

  .hero-inner {
    padding-top: 30px;
    padding-bottom: 48px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  }

  .hero-content {
    max-width: 100%;
    text-shadow: none;
  }

  .hero-content::before {
    inset: -18px -18px -20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid var(--hair);
  }

  .hero .lede {
    color: var(--grey);
  }
}

@media (max-width: 430px) {
  .hero-bg {
    height: 430px;
    min-height: 430px;
    background-position: 60% 50%;
  }

  .hero-inner {
    padding-top: 28px;
  }
}
