/* EFS Houston — mobile-first, dark + brand blue, large tap targets
   Brand colors sampled from official “EFS Banner 2.png” (YouTube / end-card / license-plate look):
   blue #0000C0, white #FFFFFF, black #000000; lighter antialias blue #6666FF.
   Main mark is the banner variant (black “EMERGENCY FLEET SERVICE”, blue EFS, white outline).
   Hero uses the official 2:1 banner treatment. Light-bg fallback remains FINAL transparent. */
:root {
  --bg: #0b0c0e;
  --bg-2: #101215;
  --surface: #171a1f;
  --surface-2: #1d2128;
  --border: #2c313a;
  --text: #f3f4f6;
  --muted: #9aa3b2;
  --brand: #0000C0;
  --brand-hover: #6666FF;
  --brand-dim: rgba(0, 0, 192, 0.16);
  --brand-deep: #000060;
  --font-head: "Oswald", sans-serif;
  --font-body: "Roboto", sans-serif;
  --radius: 12px;
  --max: 1160px;
  --tap: 48px;
  --header: 68px;
  --banner: 40px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
  border-radius: 6px;
}
.skip:focus { top: 8px; }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}


/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-height: var(--tap);
  flex-shrink: 0;
}
.logo picture,
.footer-logo picture,
.hero-logo picture {
  display: block;
  line-height: 0;
}
.logo-img {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(210px, 62vw);
}
@media (min-width: 800px) {
  .logo-img {
    height: 56px;
    max-width: 280px;
  }
}
.hero-logo {
  margin: 0 0 1.15rem;
}
.hero-logo .logo-img,
.hero-logo img {
  height: auto;
  width: min(340px, 86vw);
  max-width: 100%;
}
@media (min-width: 800px) {
  .hero-logo .logo-img,
  .hero-logo img {
    width: min(420px, 40vw);
  }
}
.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin: 0 0 0.85rem;
}
.footer-logo .logo-img,
.footer-logo img {
  display: block;
  height: auto;
  width: min(240px, 80vw);
}

.nav-toggle {
  width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}
.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); }
.nav-toggle span { transition: transform 0.15s ease, opacity 0.15s ease; }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--banner) + var(--header));
  background: #0e1013;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0 1rem;
}
.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav > ul {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
.site-nav a,
.site-nav .sub-toggle {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 0.4rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  background: none;
  border: 0;
  width: 100%;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
}
.site-nav a:hover,
.site-nav .sub-toggle:hover,
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); }

.sub {
  display: none;
  padding-left: 0.8rem;
  border-left: 2px solid var(--brand);
  margin: 0 0 0.4rem 0.4rem;
}
.has-sub.is-open > .sub { display: block; }

.site-nav .btn {
  width: auto;
  margin: 0.4rem 0 0;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  gap: 0.4rem;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero — official YouTube / end-card banner treatment (EFS Banner 2.png, 2:1) */
.hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: #000;
  min-height: 0;
}
.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56vh;
  object-fit: contain;
  object-position: center;
  background: #000;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 2.6rem;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero .lede {
  margin-left: auto;
  margin-right: auto;
}
.hero .btn-row {
  justify-content: center;
}
.kicker {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.1rem, 7vw, 4.1rem);
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}
.hero .lede {
  color: #d5d8de;
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
  max-width: 34rem;
}

/* Sections */
.section { padding: 4rem 0; }
.section-header { margin-bottom: 2rem; max-width: 40rem; }
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  text-transform: uppercase;
}
.section.alt { background: var(--bg-2); }
.muted { color: var(--muted); }

/* Specialty tiles */
.specialty-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.specialty-card {
  position: relative;
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow);
  color: #fff;
}
.specialty-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: contrast(1.08) brightness(1.15);
}
.specialty-card .card-body {
  padding: 1.1rem 1.15rem 1.25rem;
}
.specialty-card h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin: 0 0 0.35em;
}
.specialty-card p { color: var(--muted); font-size: 0.95rem; }
.specialty-card .more {
  display: inline-block;
  margin-top: 0.7rem;
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}
.specialty-card .more::after { content: " →"; color: var(--brand); }
.specialty-card:hover { border-color: #4a5160; }
.specialty-card:hover .more { color: #fff; }

.specialty-more {
  min-height: 100%;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(0, 0, 192, 0.28), rgba(0, 0, 0, 0.2)),
    var(--surface);
  border-color: #2a2a6a;
}
.specialty-more .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem 1.2rem 1.5rem;
  min-height: 230px;
}
.specialty-more:hover { border-color: var(--brand-hover); }

.turnkey {
  background:
    linear-gradient(180deg, rgba(0, 0, 192, 0.2), rgba(0, 0, 0, 0.15)),
    #000;
  border-block: 1px solid #1a1a5a;
  padding: 3.4rem 0 2.6rem;
}
.turnkey .section-title { margin-bottom: 0.5rem; }
.turnkey .turnkey-lead {
  font-size: 1.2rem;
  color: #f3f4f6;
  max-width: 40rem;
  margin: 0 0 1.4rem;
}
.turnkey .turnkey-note {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #2a2a4a;
  line-height: 1.55;
}

/* Gallery */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.filter-btn {
  min-height: var(--tap);
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"],
.filter-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.gallery-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.build-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.build-card.is-hidden { display: none; }
.build-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: contrast(1.08) brightness(1.15);
}
.build-card .card-body { padding: 1rem 1.1rem 1.2rem; }
.build-card h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin: 0 0 0.3em;
}
.build-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* Videos */
.video-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #08090b;
  border: 1px dashed #3a404a;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  overflow: hidden;
}
.video-slot .play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 0.7rem;
  background: rgba(0, 0, 192, 0.35);
}
.video-slot .play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.video-slot strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

/* Shop band */
.shop-band {
  background:
    linear-gradient(90deg, rgba(0, 0, 192, 0.22), rgba(0, 0, 192, 0.06)),
    var(--surface);
  border-block: 1px solid #1a1a5a;
  padding: 3.2rem 0;
}
.shop-band .wrap {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}
.shop-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-transform: uppercase;
  margin: 0 0 0.4em;
}
.shop-band .btn-row { justify-content: flex-start; }
.shop-band .muted { max-width: 40rem; }

/* Why */
.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.4rem;
  border-top: 3px solid var(--brand);
}
.why-card h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin: 0 0 0.4em;
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.review-card {
  background: var(--surface);
  border: 1px dashed #3a404a;
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  min-height: 160px;
}
.review-card .sample-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #2a2e36;
  border: 1px solid var(--brand);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  font-family: var(--font-head);
  font-weight: 600;
}
.review-card p { color: var(--muted); }

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.15rem 1.6rem;
}
.form-note {
  background: var(--brand-dim);
  border: 1px solid #1a1a70;
  color: #d0d0ff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.form-grid {
  display: grid;
  gap: 1rem;
}
label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.req { color: var(--brand); }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea,
input[type="file"] {
  width: 100%;
  min-height: var(--tap);
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #3a404a;
  background: #0e1013;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
.form-actions { margin-top: 0.4rem; }
.form-success {
  display: none;
  background: #122216;
  border: 1px solid #2a5a32;
  color: #d6edd9;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  margin-top: 1rem;
}
.form-success.is-visible { display: block; }
.help { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }

/* Page hero (interior) */
.page-hero {
  background:
    linear-gradient(180deg, rgba(0, 0, 192, 0.16), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 2.6rem 0 2.4rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 6vw, 3.3rem);
  text-transform: uppercase;
  margin-bottom: 0.4em;
}
.page-hero .lede { color: var(--muted); max-width: 40rem; }

.prose { max-width: 42rem; }
.prose h2 { text-transform: uppercase; font-size: 1.45rem; margin-top: 2rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.feature-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 1px;
}

/* FAQ */
.faq { display: grid; gap: 0.7rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.2rem 1rem;
}
.faq summary {
  min-height: var(--tap);
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 1rem; color: #c9ced6; }

/* Contact layout */
.split {
  display: grid;
  gap: 2rem;
}
.info-block h2 { text-transform: uppercase; font-size: 1.3rem; }
.map-embed {
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  height: 280px;
  filter: grayscale(0.4) contrast(1.05);
  background: var(--surface);
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 3px solid var(--brand);
  padding: 3rem 0 1.4rem;
  color: #c9ced6;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.footer-name {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
}
.footer-aka { color: var(--muted); margin: 0 0 0.8rem; font-size: 0.95rem; }
.site-footer h2 {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: #c8c8ff; }
.hours { list-style: none; padding: 0; margin: 0 0 0.7rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #1c1f25;
  font-size: 0.95rem;
}
.hours-note { font-size: 0.88rem; color: var(--muted); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  border-bottom: 1px solid #1c1f25;
}
.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #1c1f25;
  color: var(--muted);
  font-size: 0.88rem;
  display: grid;
  gap: 0.4rem;
}

/* Desktop */
@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    padding: 0;
  }
  .site-nav > ul {
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }
  .site-nav a,
  .site-nav .sub-toggle {
    width: auto;
    padding: 0 0.7rem;
    box-shadow: none;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--brand);
  }
  .has-sub { position: relative; }
  .has-sub > .sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #121417;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.4rem;
    margin: 0;
    box-shadow: var(--shadow);
    z-index: 20;
  }
  .has-sub:hover > .sub,
  .has-sub:focus-within > .sub,
  .has-sub.is-open > .sub { display: block; }
  .site-nav .btn { margin: 0 0 0 0.5rem; width: auto; }
  .specialty-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr 1fr; }
  .shop-band .wrap { grid-template-columns: 1fr auto; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1.2fr 1fr; }
  .split { grid-template-columns: 1.2fr 0.8fr; }
  .form-card { padding: 1.8rem 1.6rem; }
  .map-embed { height: 100%; min-height: 280px; }
}

@media (min-width: 1100px) {
  .specialty-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .specialty-card img,
  .build-card img { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* Keep the header quote button in brand blue (more specific than .site-nav a) */
.site-nav a.btn,
.site-nav a.btn-primary {
  background: var(--brand);
  border: 2px solid var(--brand);
  color: #fff;
  width: auto;
  justify-content: center;
  padding: 0 1.2rem;
  box-shadow: none;
  margin: 0.45rem 0 0;
}
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #fff;
}
.site-nav a.btn-primary[aria-current="page"] {
  box-shadow: none;
}
@media (min-width: 800px) {
  .site-nav a.btn,
  .site-nav a.btn-primary {
    margin: 0 0 0 0.55rem;
    min-height: 42px;
  }
}


.brand-panel {
  display: block;
  width: 100%;
  height: auto;
  max-height: 42vh;
  object-fit: contain;
  object-position: center;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.specialty-brand img,
.specialty-card img.card-logo {
  height: 140px;
  object-fit: contain;
  object-position: center;
  background: #000;
  filter: none;
  padding: 1.1rem 1.2rem 0.4rem;
}
.split .brand-art {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  background: #000;
  padding: 1.5rem;
  box-sizing: border-box;
}
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* YouTube lite embeds — thumbnail + play button, iframe loads on click */
.youtube-block { max-width: none; }
.featured-video-wrap { max-width: none; }
.yt-lite {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #08090b;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.yt-lite iframe,
.yt-lite img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.yt-lite-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: transparent;
  display: block;
}
.yt-lite-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}
.yt-lite.is-playing .yt-lite-btn { display: none; }
.yt-lite .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 192, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 1;
  pointer-events: none;
}
.yt-lite .play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.yt-lite-btn:hover .play,
.yt-lite-btn:focus-visible .play {
  background: var(--brand);
  transform: translate(-50%, -50%) scale(1.06);
}
.yt-lite-btn:focus-visible {
  outline: 2px solid var(--brand-hover);
  outline-offset: 3px;
}
.yt-card {
  margin: 0;
}
.yt-title {
  margin: 0.7rem 0 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}
.yt-card-featured .yt-title {
  font-size: 1.25rem;
}
.featured-video-wrap .yt-card {
  margin-top: 1.3rem;
}
.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0.9rem;
  margin-top: 1.3rem;
}
.video-grid {
  margin-top: 1.6rem;
}
@media (min-width: 600px) and (max-width: 799px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}

/* Videos page categories and jump links */
.video-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.video-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
}
.video-jump a:hover,
.video-jump a:focus-visible {
  border-color: var(--brand-hover);
  background: var(--brand);
  color: #fff;
}
.video-page-intro { margin-bottom: 0.2rem; }
.video-category {
  scroll-margin-top: calc(var(--header) + 1.1rem);
  padding-top: 2.2rem;
  margin-top: 0.6rem;
  border-top: 1px solid var(--border);
}
.video-category:first-of-type {
  border-top: 0;
  padding-top: 1.4rem;
  margin-top: 0;
}
.video-category .section-title { margin-bottom: 0.15em; }
.video-category .video-grid { margin-top: 1.1rem; }
