/* ==========================================================================
   Northvale Technologies — styles
   ========================================================================== */

:root {
  /* Brand guide: Ink #0E0E10, Teal #16756E, Teal light #2C9189, Teal tint #3BA89E, Off-white #F4F4F5 */
  --bg: #0E0E10;
  --bg-2: #141416;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.24);
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --brand: #16756E;          /* buttons, links, accents */
  --brand-hover: #2C9189;    /* hover */
  --on-brand: #FFFFFF;
  --accent: #3BA89E;         /* accent text on Ink (Teal tint keeps contrast above 6:1) */
  --teal: var(--brand);
  --indigo: var(--brand);
  --violet: var(--brand);
  --grad: var(--brand);
  --glass: rgba(14, 14, 16, .78);
  --glass-solid: rgba(14, 14, 16, .98);
  --glass-card: rgba(20, 20, 22, .92);
  --input: rgba(255, 255, 255, .04);
  --footer-bg: #09090B;
  --blob-opacity: 0;
  color-scheme: dark;
  --radius: 14px;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.65);
  --font-head: "Quicksand", system-ui, sans-serif;
  --font-body: "Quicksand", system-ui, sans-serif;
  --header-h: 76px;
}

[data-theme="light"] {
  --bg: #F4F4F5;
  --bg-2: #ECECEE;
  --surface: #FFFFFF;
  --surface-2: #F0F0F2;
  --border: rgba(14, 14, 16, 0.11);
  --border-strong: rgba(14, 14, 16, 0.30);
  --text: #0E0E10;
  --muted: #55555C;
  --accent: #16756E;
  --brand: #16756E;
  --brand-hover: #2C9189;
  --on-brand: #FFFFFF;
  --shadow: 0 18px 44px -26px rgba(14, 14, 16, 0.30);
  --glass: rgba(244, 244, 245, .86);
  --glass-solid: rgba(244, 244, 245, .98);
  --glass-card: rgba(255, 255, 255, .96);
  --input: #FFFFFF;
  --footer-bg: #E6E6E9;
  --blob-opacity: 0;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.grad { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px rgba(59, 168, 158, .18);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(59, 168, 158, 0); } }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: var(--on-brand); box-shadow: 0 10px 30px -10px rgba(22, 117, 110, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(22, 117, 110, .85); }
.btn--ghost { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }
.btn--sm { padding: .6em 1.15em; font-size: .9rem; }
.btn--block { width: 100%; }

/* Header ----------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: .65rem; }
.logo__mark { width: 38px; height: 38px; }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1; display: flex; flex-direction: column; }
.logo__text span { font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .3em; }

.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav a:not(.btn) { font-size: .95rem; font-weight: 500; color: var(--muted); position: relative; transition: color .2s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: calc(var(--header-h) + 80px) 0 60px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  mask-image: linear-gradient(#000 70%, transparent);
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--blob-opacity); animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: #16756E; top: -160px; right: -100px; }
.blob--2 { width: 420px; height: 420px; background: #0d9488; bottom: -120px; left: -140px; animation-delay: -6s; }
.blob--3 { width: 300px; height: 300px; background: #7c3aed; top: 40%; left: 45%; opacity: calc(var(--blob-opacity) * .55); animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  opacity: .5;
}

.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.lead { font-size: 1.15rem; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.75rem; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--muted); }
.hero__trust li { display: flex; align-items: center; gap: .45em; }
.hero__trust svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Browser mockup */
.hero__visual { position: relative; }
.mock {
  border-radius: 16px; overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-10deg) rotateX(4deg);
  transition: transform .6s;
}
.hero__visual:hover .mock { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.mock__bar i:nth-child(2) { background: #f59e0b; }
.mock__bar i:nth-child(3) { background: #22c55e; }
.mock__bar span { margin-left: 12px; font-size: .75rem; color: var(--muted); background: var(--surface); padding: 3px 12px; border-radius: 6px; }
.mock__body { padding: 18px; display: grid; gap: 14px; }
.mock__hero { height: 150px; border-radius: 12px; background: var(--grad); position: relative; overflow: hidden; }
.mock__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); animation: shine 3.5s infinite; }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock__row b { height: 70px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.mock__lines { display: grid; gap: 8px; }
.mock__lines s { height: 9px; border-radius: 5px; background: var(--surface-2); }
.mock__lines s.short { width: 60%; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: var(--glass-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.1; }
.float-card small { color: var(--muted); font-size: .75rem; }
.float-card__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); }
.float-card--a { bottom: -24px; left: -30px; }
.float-card--b { top: 30px; right: -24px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Clients marquee */
.clients__label { text-align: center; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 90px 0 18px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee__track { display: flex; gap: 70px; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: rgba(244, 244, 245, .5); white-space: nowrap; transition: color .2s; }
.marquee__track span:hover { color: var(--text); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 35px)); } }

/* Sections --------------------------------------------------------------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 15%, var(--bg-2) 85%, transparent); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section__head p { font-size: 1.08rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, background .3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(59,168,158,.15), rgba(22,117,110,.2));
  border: 1px solid rgba(59,168,158,.2);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; font-size: .97rem; }

/* Work */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project {
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.project:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.project__shot {
  position: relative; aspect-ratio: 16 / 9; padding: 22px 22px 0;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: flex; flex-direction: column; overflow: hidden;
}
.project__shot::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 50%);
}
.project__browser {
  display: flex; align-items: center; gap: 5px; padding: 9px 12px;
  background: rgba(14,14,16,.85); border-radius: 10px 10px 0 0;
}
.project__browser i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.project__browser span { margin-left: 10px; font-size: .72rem; color: var(--muted); }
.project__brand {
  flex: 1; display: flex; align-items: center; padding: 0 28px;
  background: rgba(14,14,16,.55); backdrop-filter: blur(4px);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.05; letter-spacing: -0.03em; color: #fff;
  transition: transform .5s;
}
.project:hover .project__brand { transform: scale(1.03); }
.project__info { padding: 26px 28px 30px; }
.project__info p { font-size: .97rem; }
.tag {
  display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  background: var(--surface-2); color: var(--accent); border: 1px solid var(--border);
}
.project__link { display: inline-flex; align-items: center; gap: .35em; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.project__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.project:hover .project__link svg { transform: translate(3px, -3px); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 10%, var(--border) 90%, transparent);
}
.step { position: relative; padding: 0 8px; text-align: center; }
.step__num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px;
  border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  background: var(--bg); border: 1px solid var(--border); position: relative;
}
.step__num::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--grad); opacity: .15; }
.step p { font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.feature:nth-child(even) { transform: translateY(28px); }
.feature h3 { font-size: 1.05rem; margin-bottom: .4em; }
.feature h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--grad); margin-bottom: 14px; }
.feature p { font-size: .93rem; margin: 0; }

/* Contact */
.contact {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px;
  padding: 56px; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(22,117,110,.14), rgba(59,168,158,.08)), var(--bg-2);
  border: 1px solid var(--border);
}
.contact::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: #16756E; filter: blur(120px); opacity: .25; top: -200px; left: -100px; pointer-events: none;
}
.contact > * { position: relative; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact__list svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact__list a:hover { color: var(--accent); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--text);
  padding: 13px 15px; border-radius: 12px;
  background: var(--input); border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.form select option { background: var(--bg-2); color: var(--text); }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59,168,158,.15); }
.form .is-invalid { border-color: #f87171; }
.form__note { margin: 0; font-size: .9rem; min-height: 1.4em; }
.form__note.ok { color: var(--accent); }
.form__note.err { color: #f87171; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 64px 0 28px; background: var(--footer-bg); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { max-width: 300px; margin-top: 1rem; font-size: .93rem; }
.footer__cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer__cols h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 1rem; }
.footer__cols a { display: block; color: var(--muted); font-size: .93rem; margin-bottom: .6rem; transition: color .2s; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .87rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.feature.reveal.is-visible:nth-child(even) { transform: translateY(28px); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .contact { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: var(--glass-solid); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .header.menu-open { background: var(--glass-solid); }

  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .float-card--a { left: -6px; }
  .float-card--b { right: -6px; }
  .work { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .services, .features, .form__row { grid-template-columns: 1fr; }
  .feature:nth-child(even), .feature.reveal.is-visible:nth-child(even) { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .contact { padding: 28px 20px; border-radius: 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .float-card { padding: 9px 12px; }
  .footer__cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Logos ------------------------------------------------------------------ */
.logo__mark { width: 42px; height: 42px; object-fit: contain; }
.footer__logo { width: 260px; height: auto; }

.marquee__track { align-items: center; gap: 28px; }
.client-logo {
  display: grid; place-items: center; width: 190px; height: 76px; padding: 12px 20px;
  background: #fff; border-radius: 14px; opacity: .85; transition: opacity .2s, transform .2s;
}
.client-logo:hover { opacity: 1; transform: translateY(-3px); }
.client-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }

.project__brand { justify-content: center; padding: 0 28px; }
.project__plate {
  display: grid; place-items: center; width: min(78%, 320px); height: 72%; padding: 14px 22px;
  background: #fff; border-radius: 14px; box-shadow: 0 14px 36px -12px rgba(0,0,0,.5);
}
.project__plate img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ==========================================================================
   Divisions, virtual tours, software, security
   ========================================================================== */
.section--tight { padding: 0 0 40px; }
.h3-lg { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; margin: 0; }

.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.division {
  position: relative; display: block; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(22,117,110,.12), rgba(59,168,158,.05)); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
}
.division:hover { transform: translateY(-5px); border-color: rgba(59,168,158,.4); }
.division__n { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--accent); letter-spacing: .1em; }
.division h3 { margin: .5rem 0 .3rem; }
.division p { margin: 0 0 1rem; font-size: .95rem; }
.division__go { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--text); }

/* Virtual tours hero */
.vt-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.vt-hero .hero__trust { margin: 1.5rem 0 0; }

.tour { min-width: 0; }
.tour__view {
  --pan: 0px; --sky1: #f8d9a8; --sky2: #e9a77a; --wall1: #cfd8ea; --wall2: #a9b6d3; --floor1: #7a5b44; --floor2: #4d382a;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; cursor: grab; touch-action: pan-y;
  border: 1px solid var(--border); box-shadow: var(--shadow); user-select: none; outline-offset: 3px;
  background: linear-gradient(var(--sky1), var(--sky2));
}
.tour__view.is-dragging { cursor: grabbing; }
.tour__view.is-switching { animation: sceneIn .6s ease; }
@keyframes sceneIn { from { opacity: .2; filter: blur(8px); transform: scale(1.04); } }
.tour__room {
  position: absolute; left: -25%; width: 150%; top: 0; height: 66%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.0) 0 11.5%, rgba(0,0,0,.07) 11.5% 12%),
    linear-gradient(var(--wall1), var(--wall2));
  transition: transform .05s linear;
}
.tour__window { position: absolute; left: 14%; top: 14%; width: 16%; height: 44%; border-radius: 6px; background: linear-gradient(#bfe6ff, #fff3cf); box-shadow: inset 0 0 0 5px rgba(255,255,255,.7), 0 0 60px rgba(255,236,190,.55); }
.tour__window--2 { left: 58%; width: 20%; }
.tour__door { position: absolute; left: 40%; bottom: 0; width: 10%; height: 62%; border-radius: 6px 6px 0 0; background: linear-gradient(#8a6a52, #5e4535); }
.tour__floor { position: absolute; inset: 66% 0 0; background: linear-gradient(var(--floor1), var(--floor2)); box-shadow: 0 -16px 40px rgba(0,0,0,.25); }
.tour__floor::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 60px); }
.tour__hotspots { position: absolute; inset: 0; transition: transform .05s linear; }
.hotspot { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer; display: grid; justify-items: center; gap: 6px; }
.hotspot i { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); border: 3px solid var(--indigo); box-shadow: 0 0 0 0 rgba(22,117,110,.6); animation: ring 2s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 16px rgba(22,117,110,0); } }
.hotspot span { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(14,14,16,.82); color: #fff; white-space: nowrap; }
.hotspot:hover i, .hotspot:focus-visible i { transform: scale(1.15); }
.tour__hud { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; font-weight: 600; }
.tour__hud span { background: rgba(14,14,16,.72); backdrop-filter: blur(6px); color: #fff; padding: 6px 12px; border-radius: 999px; }
.tour__hint { opacity: .85; }
.tour__rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tour__rooms button, .chip {
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer;
  padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); transition: all .2s;
}
.tour__rooms button:hover, .chip:hover { color: var(--text); border-color: var(--border-strong); }
.tour__rooms button[aria-selected="true"], .chip.is-active { color: var(--on-brand); background: var(--grad); border-color: transparent; }

.vt-block { margin-top: 110px; }
.vt-block__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.vt-block__head .eyebrow { margin-bottom: .6rem; }
.vt-block__head--center { justify-content: center; text-align: center; }
.vt-block__head--center p { margin: .8rem auto 0; max-width: 520px; }
.filters { display: flex; gap: 8px; }

/* Portfolio */
.pf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-card { text-align: left; font: inherit; color: inherit; padding: 0; cursor: pointer; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; display: block; }
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pf-card__shot { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.pf-card__shot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.35), transparent 55%), repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 38px); }
.pf-card__badge { position: absolute; top: 12px; left: 12px; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(14,14,16,.75); color: #fff; }
.pf-card__play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); transition: transform .25s; }
.pf-card:hover .pf-card__play { transform: scale(1.12); }
.pf-card__play svg { width: 22px; height: 22px; fill: #0E0E10; margin-left: 3px; }
.pf-card__body { display: block; padding: 18px 20px 20px; }
.pf-card__body strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.pf-card__body small { display: block; color: var(--muted); margin: 4px 0 12px; font-size: .85rem; }
.pf-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-card__tags em { font-style: normal; font-size: .7rem; color: var(--accent); background: var(--surface-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; }

/* Tabs & tiers */
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tabs button { font: inherit; color: var(--muted); cursor: pointer; padding: 14px 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); display: grid; gap: 2px; text-align: center; transition: all .25s; }
.tabs button strong { font-family: var(--font-head); font-size: 1rem; color: var(--text); }
.tabs button small { font-size: .75rem; }
.tabs button[aria-selected="true"] { border-color: var(--accent); background: linear-gradient(135deg, rgba(59,168,158,.12), rgba(22,117,110,.15)); }
.tabs__blurb { text-align: center; max-width: 620px; margin: 22px auto 34px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tiers--sec { margin-top: 64px; }
.tier { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.tier--featured { background: linear-gradient(160deg, rgba(22,117,110,.2), rgba(59,168,158,.07)); border-color: rgba(59,168,158,.45); transform: translateY(-8px); }
.tier__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: var(--grad); color: var(--on-brand); white-space: nowrap; }
.tier h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.tier__for { font-size: .88rem; margin-bottom: .6rem; }
.tier__price { font-family: var(--font-head); font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--text); }
.tier li svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fineprint { text-align: center; font-size: .82rem; margin: 26px 0 0; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); font-size: .95rem; }
.compare thead th { font-family: var(--font-head); font-size: 1rem; background: var(--surface-2); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text); }
.compare tr:last-child > * { border-bottom: 0; }
.compare .hl { background: rgba(22,117,110,.1); }
.compare .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(59,168,158,.15); }
.compare .yes svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.compare .no { color: var(--muted); opacity: .5; }

/* Pipeline */
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: p; }
.pipeline::before { content: ""; position: absolute; top: 22px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--indigo), var(--violet)); opacity: .35; }
.pipe { position: relative; text-align: center; padding: 0 6px; }
.pipe__n { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; color: var(--on-brand); background: var(--grad); box-shadow: 0 0 0 6px var(--bg-2); position: relative; }
.pipe h3 { font-size: 1.05rem; }
.pipe p { font-size: .9rem; }

/* Software */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.split__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 2rem; }
.stack span { font-size: .8rem; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(9,9,11,.82); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(1000px, 100%); padding: 22px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--border); }
.modal__box h3 { margin: 0 40px 14px 0; }
.modal__close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; }
.modal__frame { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #09090B; display: grid; place-items: center; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__empty { padding: 24px; text-align: center; max-width: 440px; }
.modal__empty code { color: var(--accent); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .85em; }

@media (max-width: 1024px) {
  .vt-hero, .split { grid-template-columns: 1fr; gap: 44px; }
  .pf, .tiers { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .pipeline::before { display: none; }
  .tier--featured { transform: none; }
}
@media (max-width: 700px) {
  .divisions, .pf, .tiers, .split__cards, .pipeline { grid-template-columns: 1fr; }
  .vt-block { margin-top: 80px; }
  .tabs button { flex: 1 1 100%; }
  .tour__hint { display: none; }
}

/* Theme toggle + logo variants ------------------------------------------- */
.theme-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; margin-left: 1.2rem; flex-shrink: 0;
  border-radius: 50%; cursor: pointer; color: var(--text); background: var(--surface); border: 1px solid var(--border);
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--border-strong); transform: rotate(12deg); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }
.logo--light { display: none; }
[data-theme="light"] .logo--light { display: block; }
[data-theme="light"] .logo--dark { display: none; }
body, .header, .card, .tier, .pf-card, .project, .feature, .form input, .form select, .form textarea, .footer, .table-wrap, .division, .contact {
  transition: background-color .3s, border-color .3s, color .3s;
}
@media (max-width: 1080px) { .theme-toggle { margin-left: auto; margin-right: 6px; } }
[data-theme="light"] .hero__trust, [data-theme="light"] .tag { color: var(--muted); }
[data-theme="light"] .tag { color: var(--accent); }
[data-theme="light"] .tier--featured { background: linear-gradient(160deg, rgba(22,117,110,.12), rgba(13,148,136,.08)); border-color: rgba(13,148,136,.5); }
[data-theme="light"] .card:hover, [data-theme="light"] .division:hover { box-shadow: var(--shadow); }
[data-theme="light"] .btn--ghost { background: #fff; }
[data-theme="light"] .tabs button[aria-selected="true"] { background: linear-gradient(135deg, rgba(13,148,136,.1), rgba(22,117,110,.12)); border-color: var(--accent); }
[data-theme="light"] .marquee__track span { color: rgba(14,22,48,.5); }
[data-theme="light"] .client-logo { box-shadow: 0 0 0 1px var(--border); }
.client-logo { overflow: hidden; }
.client-logo img { max-height: 50px; width: auto; max-width: 100%; }

/* Light theme: flat, plain backgrounds (no tints, glows or gradient panels) */
[data-theme="light"] .hero__bg { display: none; }
[data-theme="light"] .section--alt { background: var(--bg-2); }
[data-theme="light"] .contact { background: var(--bg-2); }
[data-theme="light"] .contact::before { display: none; }
[data-theme="light"] .division { background: var(--bg-2); }
[data-theme="light"] .tier--featured { background: #fff; border-color: var(--accent); box-shadow: var(--shadow); }
[data-theme="light"] .tabs button[aria-selected="true"] { background: #fff; border-color: var(--accent); }
[data-theme="light"] .card__icon { background: var(--surface-2); border-color: var(--border); }
[data-theme="light"] .compare .hl { background: var(--surface-2); }
[data-theme="light"] .header.is-scrolled { background: var(--glass); }
[data-theme="light"] .mock { background: #fff; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Flat design: no gradients ------------------------------------------------ */
.hero__bg, .blob, .grid-lines { display: none; }
.section--alt { background: var(--bg-2); }
.card::before { background: var(--brand); }
.card__icon { background: var(--surface-2); border: 1px solid var(--border); }
.mock__hero { background: var(--brand); }
.mock__hero::after { display: none; }
.division { background: var(--bg-2); }
.contact { background: var(--bg-2); }
.contact::before { display: none; }
.tabs button[aria-selected="true"], [data-theme="light"] .tabs button[aria-selected="true"] { background: var(--surface-2); border-color: var(--accent); }
.tier--featured, [data-theme="light"] .tier--featured { background: var(--surface-2); border-color: var(--accent); }
.pipeline::before { background: var(--border-strong); opacity: 1; }
.pf-card__shot { background: var(--c1); }
.pf-card__shot::before { display: none; }
.btn--primary { box-shadow: none; }
.btn--primary:hover { box-shadow: none; }
.tour__view { background: var(--sky1); }
.tour__room { background: var(--wall1); }
.tour__window { background: #dff1ff; }
.tour__door { background: #6f523f; }
.tour__floor { background: var(--floor1); box-shadow: none; }
.tour__floor::after { display: none; }
.hotspot i { animation: none; box-shadow: none; }
.logo__mark { filter: none; }

.pf-card__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-card__shot::after { content: ""; position: absolute; inset: 0; background: rgba(14,14,16,.18); }
.pf-card__badge, .pf-card__play { z-index: 1; }
.vt-note { margin: .6rem 0 0; font-size: .92rem; max-width: 560px; }


/* Hero + security illustrations ------------------------------------------- */
.hero__visual { max-width: 560px; justify-self: end; width: 100%; }
.hero__art { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.float-card--a { bottom: -22px; left: -26px; }
.float-card--b { top: 26px; right: -22px; }

.card--img { padding: 0; }
.card--img .card__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--border); }
.card--img .card__body { padding: 22px 24px 26px; }
.card--img .card__body h3 { margin-top: 0; }
.card--img .card__body p { margin: 0; }
.card--img::before { display: none; }

.sec-banner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; margin: 0 0 48px; }
.sec-banner > img { width: 100%; height: auto; border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.sec-banner__copy p { margin: .6rem 0 1.2rem; }
.sec-banner__list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 10px; }
.sec-banner__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 500; }
.sec-banner__list svg { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1024px) { .sec-banner { grid-template-columns: 1fr; gap: 28px; } .hero__visual { justify-self: center; } }
@media (max-width: 600px) { .float-card--a { left: -6px; } .float-card--b { right: -6px; } }

.hero__visual .float-card--b { top: 22px; right: auto; left: -26px; }
@media (max-width: 600px) { .hero__visual .float-card--b { left: -6px; } }

/* Real photos ------------------------------------------------------------- */
.hero__art { aspect-ratio: 1200 / 1040; object-fit: cover; }
.card--img .card__img { object-fit: cover; }
.sec-banner > img { aspect-ratio: 1280 / 840; object-fit: cover; }
.credits { padding: 18px 0 0; font-size: .8rem; color: var(--muted); }
.credits summary { cursor: pointer; width: max-content; font-weight: 600; }
.credits ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Brand guide: logo, buttons, type weights ---------------------------------- */
h3, h4, h5 { font-weight: 600; }
.btn { font-weight: 500; letter-spacing: .005em; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost:hover { border-color: var(--brand-hover); }
a:not(.btn):hover { color: var(--brand-hover); }
[data-theme="light"] a:not(.btn):hover { color: var(--brand); }
.nav a:not(.btn):hover, .nav a.is-active, .footer__cols a:hover { color: var(--accent); }

.logo { gap: 12px; }
.logo__mark { width: auto; height: 40px; flex-shrink: 0; object-fit: contain; }
.logo__text { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; gap: 0; }
.logo__text span { font-size: .62rem; font-weight: 500; letter-spacing: .22em; margin-top: 5px; color: var(--muted); }
@media (max-width: 600px) { .logo__mark { height: 32px; } .logo__text { font-size: 1.25rem; } }
.footer__mark { width: 20px; height: 20px; object-fit: contain; }
.footer__copy { display: flex; align-items: center; gap: 10px; margin: 0; }
.footer__tag { max-width: 340px; margin: 0; font-size: 1.05rem; color: var(--text); font-weight: 500; }
.hotspot i { border-color: #fff; background: var(--brand); }
.pill { background: var(--brand); color: var(--on-brand); }

.logo--footer { margin-bottom: 16px; width: max-content; }

body { font-weight: 500; }
h1, h2 { letter-spacing: -0.015em; }
.logo__text { letter-spacing: -0.005em; }

/* Virtual tours site (virtual.northvale.co.ug) */
.vt-page .vt-block { margin-top: 0; }
.vt-page .vt-intro { padding-top: calc(var(--header-h) + 70px); }
.vt-page .vt-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
.vt-page .section { padding: 90px 0; }
.logo__text span { white-space: nowrap; }

/* Virtual tours hero: live 3D tour player */
.vt-page .vt-hero { grid-template-columns: .85fr 1.25fr; gap: 48px; }
.vt-live { min-width: 0; display: grid; gap: 14px; }
.vt-live[hidden] { display: none; }
.vt-live__frame { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #09090B; border: 1px solid var(--border); box-shadow: var(--shadow); }
.vt-live__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vt-live__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--c1, #475569); display: grid; place-items: center; color: #fff; }
.vt-live__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vt-live__poster::after { content: ""; position: absolute; inset: 0; background: rgba(14, 14, 16, .26); transition: background .25s; }
.vt-live__poster:hover::after { background: rgba(14, 14, 16, .1); }
.vt-live__play { position: relative; z-index: 1; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); transition: transform .25s, background .25s; }
.vt-live__poster:hover .vt-live__play { transform: scale(1.08); background: var(--brand-hover); }
.vt-live__play svg { width: 34px; height: 34px; margin-left: 5px; fill: var(--on-brand); stroke: none; }
.vt-live__cta { position: absolute; z-index: 1; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 8px 18px; border-radius: 999px; background: rgba(14, 14, 16, .8); color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.vt-live__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.vt-live__meta strong { display: block; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.25; }
.vt-live__meta small { color: var(--muted); font-size: .85rem; }
.vt-live__feat { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.vt-live__feat li { font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); }
.vt-live__picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vt-live__picks button { position: relative; padding: 0; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--surface-2); border: 2px solid transparent; color: #fff; font: inherit; transition: border-color .15s; }
.vt-live__picks button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.vt-live__picks button:hover img, .vt-live__picks button[aria-selected="true"] img { opacity: 1; }
.vt-live__picks button[aria-selected="true"] { border-color: var(--brand); }
.vt-live__picks button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; font-size: .68rem; font-weight: 600; line-height: 1.25; text-align: left; background: rgba(14, 14, 16, .78); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-live__note { margin: 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 1024px) { .vt-page .vt-hero { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 600px) {
  .vt-live__play { width: 68px; height: 68px; } .vt-live__play svg { width: 26px; height: 26px; }
  .vt-live__picks { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .vt-live__picks button { scroll-snap-align: start; }
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 18px; }
