/* ============================================================
   Y2K Cam Rentals
   Brand colors and font come straight from the spec doc:
     background #ffffff   text #3b436c   highlight #f2625b   Verdana
   ============================================================ */

:root {
  --paper:  #ffffff;
  --ink:    #3b436c;   /* body text */
  --accent: #f2625b;   /* highlight */
  --muted:  #767ca0;   /* softened ink, for secondary text */
  --rule:   #dfe2ed;   /* hairlines */
  --tint:   #f5f6fa;   /* very light ink wash for panels */

  --measure: 34rem;    /* comfortable reading width for Verdana */
  --gap: 2.75rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Verdana, Geneva, "DejaVu Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
}

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

a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------
   Page shell
   ------------------------------------------------------------ */
.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { margin-top: var(--gap); }

/* ------------------------------------------------------------
   Hero

   The hero sits outside .page so the video can run the full width
   of the screen. The header image stays in .hero-inner, which
   mirrors .page's width and padding so the two line up.
   ------------------------------------------------------------ */
.hero { padding-top: 2.25rem; }

.hero-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero-inner img { width: 100%; }

/* Banner video — full-bleed, edge to edge.
   1920x350 is a 5.49:1 strip. aspect-ratio reserves the space before
   the file loads so the page doesn't jump when it arrives. If you
   re-export the clip at other dimensions, change this to match or
   object-fit will quietly crop the edges. */
.banner-video {
  display: block;
  width: 100%;
  height: auto;          /* required — the height="350" attribute would
                            otherwise pin it and override aspect-ratio */
  aspect-ratio: 1920 / 350;
  object-fit: cover;
  background: var(--tint);
  margin-top: 1.75rem;
}

/* Narrow screens: 5.49:1 across a phone is about 70px tall, too thin
   to read. Crop to 2.5:1 and let object-fit keep the middle. This is
   the only width where any cropping happens — everywhere above 640px
   the clip shows its full frame. */
@media (max-width: 40rem) {
  .banner-video { aspect-ratio: 5 / 2; }
}

/* Someone who's asked their OS to reduce motion shouldn't get an
   autoplaying loop. Hide it rather than looping at them. */
@media (prefers-reduced-motion: reduce) {
  .banner-video { display: none; }
}

/* ------------------------------------------------------------
   Intro copy
   ------------------------------------------------------------ */
.intro { max-width: var(--measure); }

.intro p { margin: 0 0 1.15rem; }

.lead {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem !important;
  border-bottom: 1px solid var(--rule);
}

.statement {
  font-size: 1.625rem;
  line-height: 1.28;
  font-weight: bold;
  letter-spacing: -0.02em;
  margin: 0 0 1.35rem;
  max-width: 22ch;
}

.cta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem !important;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--accent);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: #e04b44; border-color: #e04b44; color: var(--paper); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-quiet:hover { background: transparent; color: var(--accent); border-color: var(--accent); }

/* ------------------------------------------------------------
   Standard package
   ------------------------------------------------------------ */
.kicker {
  font-size: 0.6875rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.kit {
  list-style: disc;
  margin: 1.75rem 0 0;
  padding: 0 0 0 1.25rem;
  max-width: var(--measure);
  font-size: 0.9375rem;
}

.kit li {
  padding: 0.45rem 0;
  line-height: 1.55;
}

.kit li::marker { color: var(--accent); }

.qty {
  font-weight: bold;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-right: 0.15rem;
}

.kit small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.kit-note {
  max-width: var(--measure);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 1.1rem 0 0;
}

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { max-width: var(--measure); margin-top: 3.5rem; }

.faq h2 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
}

.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq details:first-of-type { border-top: 1px solid var(--rule); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 2rem 0.85rem 0;
  position: relative;
  font-size: 0.9375rem;
  font-weight: bold;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 1.3rem;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 1.5rem;
}

.faq summary:hover { color: var(--accent); }

.faq details p {
  margin: 0 0 1.1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
  padding-right: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}

/* ------------------------------------------------------------
   Article pages (guides)
   ------------------------------------------------------------ */
.article { max-width: var(--measure); margin: 0 auto; }

.breadcrumb {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.article h1 {
  font-size: 1.625rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.article .byline {
  font-size: 0.75rem;
  color: var(--muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin: 0 0 1.75rem;
}

.article h2 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 0.75rem;
}

.article p { margin: 0 0 1.15rem; font-size: 0.9375rem; }

.article ul { padding-left: 1.1rem; margin: 0 0 1.15rem; font-size: 0.9375rem; }
.article li { margin-bottom: 0.5rem; }

.pull {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.1rem;
  margin: 1.75rem 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: bold;
  letter-spacing: -0.01em;
}

.endnote {
  background: var(--tint);
  border-radius: 3px;
  padding: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
}
.endnote p { margin: 0 0 1rem; font-size: inherit; }
.endnote p:last-child { margin: 0; }

/* ------------------------------------------------------------
   Request form
   ------------------------------------------------------------ */
.request {
  background: var(--tint);
  border-radius: 3px;
  padding: 2.25rem 1.75rem;
  margin-top: 3.5rem;
}

.request h2 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.015em;
}

.request-sub {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 38ch;
}

.field { margin-bottom: 1.15rem; }

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
}

.opt {
  font-weight: normal;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.7rem 0.75rem;
  transition: border-color 0.15s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(242, 98, 91, 0.18);
}

.field textarea { resize: vertical; min-height: 5.5rem; }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--accent); }

.row { display: flex; gap: 1rem; }
.row .field { flex: 1 1 0; min-width: 0; }

/* honeypot — hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 0.8125rem;
  line-height: 1.6;
  margin: 1rem 0 0;
  min-height: 1.2em;
}
.form-status.is-error { color: var(--accent); font-weight: bold; }
.form-status.is-ok { color: var(--ink); font-weight: bold; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social a {
  display: block;
  width: 26px; height: 26px;
  color: var(--ink);
}
.social a:hover { color: var(--accent); }

.social svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social svg .fill { fill: currentColor; stroke: none; }

.footer-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.footer-meta.small { font-size: 0.6875rem; margin-top: 0.75rem; }

/* Guide link — deliberately quiet. Small and low-contrast so it
   doesn't compete with the contact details, but still legible and
   still a real link. Don't drop the opacity below this. */
.footer-guide {
  font-size: 0.6875rem;
  margin-bottom: 1rem;
}
.footer-guide a {
  color: var(--muted);
  text-decoration-color: var(--rule);
}
.footer-guide a:hover { color: var(--accent); }

/* ------------------------------------------------------------
   Small screens
   ------------------------------------------------------------ */
@media (max-width: 34rem) {
  :root { --gap: 2.25rem; }

  body { font-size: 15px; }

  .hero { padding-top: 1.5rem; }
  .hero-inner { padding: 0 1rem; }
  .page { padding: 0 1rem; }

  .statement { font-size: 1.375rem; max-width: none; }

  .row { flex-direction: column; gap: 0; }

  .request { padding: 1.75rem 1.25rem; }

  .cta-line .btn { flex: 1 1 100%; text-align: center; }
}
