/* ============================================
   OPERATOR — additions.css
   New styles for Services / Reel / Installations
   and the reworked homepage. Load AFTER style.css.
   ============================================ */

/* ---------- small helpers ---------- */
.lede{ color: var(--text-dim); font-size: 1.02rem; max-width: 62ch; }
.tag{
  display: inline-block;
  font-family: var(--font-utility);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid var(--maroon);
  color: var(--maroon);
}
.tag.gold{ border-color: var(--gold); color: var(--gold); }
.tag.dim{ border-color: var(--line); color: var(--text-dim); }
.btn-row{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.list-arrow{ list-style: none; margin: 0; padding: 0; }
.list-arrow li{ padding: 3px 0; font-size: 0.9rem; color: var(--text-dim); }
.list-arrow li::before{ content: "» "; color: var(--maroon); }

/* ---------- stat strip ---------- */
.stat-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-card);
  margin: 24px 0;
}
.stat{ padding: 14px 16px; border-right: 1px solid var(--line); }
.stat:last-child{ border-right: none; }
.stat .num{
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--maroon);
}
.stat .lbl{
  font-family: var(--font-utility);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 640px){
  .stat-strip{ grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2){ border-right: none; }
  .stat:nth-child(-n+2){ border-bottom: 1px solid var(--line); }
}

/* ---------- what-we-do strip (homepage) ---------- */
.offer-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0 0;
}
@media (max-width: 700px){ .offer-grid{ grid-template-columns: 1fr; } }
.offer{
  border-top: 2px solid var(--maroon);
  background: var(--bg-card);
  padding: 16px 18px 18px;
}
.offer h3{ margin: 4px 0 6px; }
.offer p{ margin: 0; color: var(--text-dim); font-size: 0.88rem; }
.offer .ch-num{ font-family: var(--font-utility); color: var(--maroon); font-size: 0.72rem; letter-spacing: 0.1em; }

/* ---------- hero video ---------- */
.hero-video{ aspect-ratio: 4 / 3; object-fit: cover; background: #000; }

/* ---------- packages ---------- */
.pkg-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.pkg-card{
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pkg-card:hover{ border-color: var(--maroon); box-shadow: 3px 3px 0 var(--maroon); }
.pkg-head{ display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pkg-code{
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--maroon);
  letter-spacing: 0.04em;
}
.pkg-card h3{ margin: 2px 0 8px; }
.pkg-card > p{ margin: 0 0 12px; color: var(--text-dim); font-size: 0.9rem; }
.pkg-best{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-utility);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.pkg-best strong{ color: var(--text); font-weight: 500; }
.pkg-note{
  margin-top: 16px;
  font-family: var(--font-utility);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- booking steps ---------- */
.steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-card);
  counter-reset: step;
}
.steps li{
  padding: 16px;
  border-right: 1px solid var(--line);
  counter-increment: step;
}
.steps li:last-child{ border-right: none; }
.steps li::before{
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--maroon);
  margin-bottom: 6px;
}
.steps strong{ display: block; font-weight: 500; margin-bottom: 4px; }
.steps span{ color: var(--text-dim); font-size: 0.84rem; }
@media (max-width: 760px){
  .steps{ grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2){ border-right: none; }
  .steps li:nth-child(-n+2){ border-bottom: 1px solid var(--line); }
}
@media (max-width: 460px){
  .steps{ grid-template-columns: 1fr; }
  .steps li{ border-right: none; border-bottom: 1px solid var(--line); }
  .steps li:last-child{ border-bottom: none; }
}

/* ---------- rentals ---------- */
.mode-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
@media (max-width: 700px){ .mode-grid{ grid-template-columns: 1fr; } }
.mode-card{ border: 1px solid var(--line); background: var(--bg-card); padding: 18px 20px; }
.mode-card h3{ margin: 8px 0 6px; }
.mode-card p{ margin: 0 0 10px; color: var(--text-dim); font-size: 0.9rem; }

.rental-table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 0.88rem;
}
.rental-table th{
  text-align: left;
  font-family: var(--font-utility);
  font-weight: normal;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.rental-table td{ padding: 12px 14px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.rental-table tr:last-child td{ border-bottom: none; }
.rental-table td:first-child{ color: var(--text); }
.rental-table td small{ display: block; color: var(--text-dim); font-size: 0.78rem; }
.rental-table .yes{ color: var(--maroon); font-family: var(--font-utility); font-size: 0.78rem; }
.rental-table .no{ color: var(--text-dim); font-family: var(--font-utility); font-size: 0.78rem; }
@media (max-width: 560px){
  .rental-table thead{ display: none; }
  .rental-table tr{ display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .rental-table td{ display: block; border: none; padding: 4px 14px; }
  .rental-table td[data-label]::before{
    content: attr(data-label) ": ";
    font-family: var(--font-utility);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
}
.terms{ margin-top: 18px; }

/* ---------- call-to-action band ---------- */
.cta-band{
  border: 1px solid var(--maroon);
  background: rgba(200,72,61,0.06);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 34px 0 10px;
}
.cta-band h2{ margin: 0; font-size: 1.9rem; }
.cta-band p{ margin: 2px 0 0; color: var(--text-dim); font-size: 0.88rem; }

/* ---------- NO SIGNAL slate (shown when a video/image file is missing) ---------- */
.screen{ position: relative; aspect-ratio: 4 / 3; background: #000; border-radius: 8px; overflow: hidden; }
.screen.wide{ aspect-ratio: 16 / 9; }
.screen video, .screen img{ width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; }
.slate{
  display: none;
  position: absolute; inset: 0;
  border-radius: 8px;
  background:
    linear-gradient(90deg,
      #bfbfbf 0 14.28%, #bfbf00 14.28% 28.57%, #00bfbf 28.57% 42.85%,
      #00bf00 42.85% 57.14%, #bf00bf 57.14% 71.42%, #bf0000 71.42% 85.71%,
      #0000bf 85.71% 100%);
}
.slate::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(90deg, #0b1c4d 0 18%, #f2f2f2 18% 36%, #2a0a4a 36% 54%, #111 54% 100%);
}
.slate span{
  position: absolute; left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  background: #000;
  color: #ece8e2;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  padding: 2px 12px;
  z-index: 1;
  white-space: nowrap;
}
.screen.no-signal .slate{ display: block; }
.screen.no-signal video, .screen.no-signal img{ visibility: hidden; }

/* ---------- reel ---------- */
.reel-feature{ margin-bottom: 28px; }
.reel-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.clip{ color: var(--text); cursor: pointer; background: none; border: none; padding: 0; text-align: left; font: inherit; width: 100%; }
.clip:hover .crt{ border-color: var(--maroon); }
.clip h3{ font-size: 1.25rem; margin: 10px 0 2px; }
.clip p{ margin: 0; color: var(--text-dim); font-size: 0.8rem; font-family: var(--font-utility); }
.reel-filter{ display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.reel-filter button{
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 5px 10px;
  cursor: pointer;
}
.reel-filter button[aria-pressed="true"], .reel-filter button:hover{ color: var(--maroon); border-color: var(--maroon); }
.clip[hidden]{ display: none; }

/* lightbox */
dialog.viewer{
  width: min(960px, 94vw);
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
}
dialog.viewer::backdrop{ background: rgba(0,0,0,0.88); }
.viewer-bar{
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: var(--font-utility); font-size: 0.78rem; color: var(--text-dim);
  margin-top: 8px;
}
.viewer-bar button{
  background: transparent; color: var(--maroon); border: 1px solid var(--maroon);
  font-family: var(--font-utility); font-size: 0.75rem; padding: 4px 10px; cursor: pointer;
}
.viewer .screen video{ object-fit: contain; }

/* ---------- installations ---------- */
.install{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}
.install:last-of-type{ border-bottom: none; }
@media (max-width: 760px){ .install{ grid-template-columns: 1fr; } }
.install h2{ margin: 6px 0 4px; }
.install .where{ font-family: var(--font-utility); font-size: 0.8rem; color: var(--text-dim); margin: 0 0 12px; }
.install p{ color: var(--text-dim); font-size: 0.92rem; }
.spec{
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  margin: 12px 0;
}
.spec td{ padding: 5px 0; border-bottom: 1px dashed var(--line); color: var(--text-dim); vertical-align: top; }
.spec td:first-child{ color: var(--text); width: 34%; padding-right: 10px; }
.thumbs{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.thumbs .screen{ border: 1px solid var(--line); }
.thumbs .slate span{ font-size: 0.9rem; padding: 0 6px; }

.cap-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.cap{ border: 1px solid var(--line); background: var(--bg-card); padding: 16px; }
.cap h3{ font-size: 1.3rem; margin: 0 0 4px; }
.cap p{ margin: 0; color: var(--text-dim); font-size: 0.85rem; }

/* ---------- phone tweaks ---------- */
@media (max-width: 560px){
  .hero h1{ font-size: 2.6rem; overflow-wrap: break-word; }
  .cta-band h2{ font-size: 1.6rem; }
  .stat .num{ font-size: 1.8rem; }
}

/* ---------- lean layout ---------- */
.pkg-card h3{ margin: 4px 0 2px; }
.pkg-card > p{ margin: 0 0 10px; }
.cap{ padding: 12px 16px; }
.cap h3{ margin: 0; font-size: 1.25rem; }
.cta-band h2{ margin: 0; }
.install .crt{ max-width: 420px; }
.rental-table{ max-width: 560px; }
.rental-table .yes{ font-size: 1rem; }
.install{ grid-template-columns: minmax(0, 420px) 1fr; }
@media (max-width: 760px){ .install{ grid-template-columns: 1fr; } }
