/* ============================================================
   SERVICES WE PROVIDE — page-specific sections
   Loads AFTER theme.css. Isolated from other pages.
   ============================================================ */

/* ---------- Page scale ----------
   Bryan (2026-07-10): "generally all good, but can we scale everything a
   little smaller?" — every heading/lead on this page steps down ~15-20%
   from the theme defaults. Scoped to main, so nav/footer are untouched. */
main h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
main h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
main .lead { font-size: clamp(1rem, 1.4vw, 1.15rem); }

/* ---------- Hero (LYVISUALS /videoads layout: copy left, media right) ---------- */
.svc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.svc-hero__copy { min-width: 0; }

.svc-hero h1 {
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.1;
  text-transform: none;
  margin: 0;
}

.svc-hero__title {
  margin: clamp(20px, 2.5vw, 30px) 0 12px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: .5px;
}

/* Kept small so it reads as ONE line (Bryan, 2026-07-10) — same lime/bold
   styling as before, only the size changed. The text needs ~32px of width
   per 1px of font-size; the copy column bottoms out at 404px (861px viewport),
   so the 12px floor is deliberate — don't raise it or the line wraps again. */
.svc-hero__note {
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  color: var(--lime);
  font-weight: 700;
  font-size: clamp(.75rem, .9vw, .95rem);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.svc-hero__desc {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-dim);
  font-size: clamp(.92rem, 1vw, 1rem);
  line-height: 1.7;
}

.svc-hero__media { min-width: 0; }

.svc-hero__ph {
  aspect-ratio: 3 / 4;
  width: 100%;
}

/* Hero reel (Bryan's media): fills the same 3:4 frame as the old placeholder. */
.svc-hero__video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--dark);
}

@media (max-width: 860px) {
  .svc-hero {
    grid-template-columns: 1fr;
    gap: clamp(28px, 7vw, 40px);
  }
  /* Media reads as support for the headline — keep it under the copy. */
  .svc-hero__ph,
  .svc-hero__video { aspect-ratio: 4 / 3; }
}

/* ---------- Service menu (full-width text rows, rule between each) ---------- */
.svc-list { margin-top: clamp(24px, 3vw, 40px); }

.svc {
  padding: clamp(26px, 3.2vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}
.svc:last-child { border-bottom: 0; padding-bottom: 0; }

.svc h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  margin-bottom: 14px;
}
.svc p { color: var(--ink-dim); margin: 0 0 .9em; font-size: .95rem; }
.svc p:last-child { margin-bottom: 0; }

/* ---------- Reels packages (LYVISUALS-style showcase + accordion) ---------- */
.pkg-showcase {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.12fr) minmax(0, .82fr);
  gap: clamp(24px, 4vw, 60px);
  /* Stretch the side media to the full column height so the phones / collage
     grow taller as an accordion panel opens, staying aligned with the center. */
  align-items: stretch;
}
.pkg-core { min-width: 0; display: flex; flex-direction: column; }
/* Heading sits above the 3-column row, so the media only track the accordion. */
.pkg-showcase { margin-top: clamp(30px, 4vw, 48px); }

/* accordion */
.acc { display: flex; flex-direction: column; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-of-type { border-bottom: 1px solid var(--line); }
.acc__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 22px 2px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  transition: color .24s var(--ease), padding-left .24s var(--ease);
}
.acc__head:hover { color: #fff; padding-left: 8px; }
.acc__label {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  transition: color .24s var(--ease);
}
.acc__tag { color: var(--ink-dim); font-size: .85rem; white-space: nowrap; }
.acc__chev {
  width: 22px; height: 22px; flex: none;
  stroke: var(--lime); stroke-width: 2.4; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .32s var(--ease);
}
.acc__item.is-open .acc__label { color: var(--lime); }
.acc__item.is-open .acc__chev { transform: rotate(180deg); }
.acc__panel { overflow: hidden; transition: max-height .34s var(--ease); }
.acc__panel .ticks { margin: 0; padding: 2px 2px 24px; }
.acc__panel .ticks li { transition: transform .22s var(--ease), color .22s var(--ease); }
.acc__panel .ticks li:hover { transform: translateX(5px); color: var(--ink); }

.pkg-cta { margin-top: 30px; text-align: center; }

/* left: phone-mockup placeholder */
.pkg-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4%;
  min-height: 340px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 32%, #1d1d1d, #0b0b0b);
  overflow: hidden;
}
.pkg-phone {
  width: 26%;
  aspect-ratio: 9 / 19;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(160deg, #2b2b2b, #131313);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.pkg-phone--l { transform: rotate(-7deg) translateY(8px); background: linear-gradient(160deg, rgba(255,140,20,.55), #141414); }
.pkg-phone--c { width: 29%; z-index: 2; transform: translateY(-8px) scale(1.05); background: linear-gradient(160deg, rgba(218,255,0,.5), #141414); }
.pkg-phone--r { transform: rotate(7deg) translateY(8px); }
/* real screens (2026-07-25) — Bryan's 3 client social screenshots; top-anchored
   like the Edmond homepage tile so cover crops phone nav bars off the bottom */
.pkg-phone { overflow: hidden; }
.pkg-phone img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

/* right: photo-collage placeholder */
.pkg-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  min-height: 340px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #0b0b0b;
}
.pkg-collage span {
  border-radius: 6px;
  background: linear-gradient(150deg, #272727, #161616);
}
.pkg-collage span:nth-child(2n) { background: linear-gradient(150deg, #202020, #131313); }
.pkg-collage span:nth-child(4) { background: linear-gradient(150deg, rgba(255,140,20,.38), #171717); }
.pkg-collage span:nth-child(8) { background: linear-gradient(150deg, rgba(218,255,0,.32), #171717); }
/* real work images (2026-07-25) — cover crops every aspect into the square-ish
   tiles, incl. Bryan's one horizontal shot ("can you help me to crop in") */
.pkg-collage img {
  display: block; width: 100%; height: 100%; min-height: 0;
  object-fit: cover; border-radius: 6px;
}

@media (max-width: 960px) {
  /* Core moves to its own full-width row, so the media no longer stretch to
     the accordion — give them back a fixed proportion. */
  .pkg-showcase { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .pkg-core { grid-column: 1 / -1; order: -1; }
  .pkg-phones, .pkg-collage { aspect-ratio: 4 / 5; min-height: 0; }
  .pkg-collage { grid-template-rows: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .pkg-showcase { grid-template-columns: 1fr; }
  .pkg-collage { display: none; }
  .pkg-phones { aspect-ratio: auto; min-height: 300px; max-height: 340px; }
  .acc__tag { display: none; }
}

@media (max-width: 640px) {
  .page-hero {
    text-align: left;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9.4vw, 2.7rem);
    line-height: 1.12;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: clamp(1.8rem, 8.4vw, 2.3rem);
    line-height: 1.14;
  }
}

/* Small phones: the copy column is ~335px at 375px viewport — this is the
   largest size that keeps the packages note on one line there. */
@media (max-width: 420px) {
  .svc-hero__note { font-size: .64rem; letter-spacing: 0; }
}

/* ---------- Monthly bundle ---------- */
.bundle { align-items: center; }
.bundle .ticks li,
.rec .grid-2 p {
  transition: transform .24s var(--ease), color .24s var(--ease);
}
.bundle .ticks li:hover {
  transform: translateX(6px);
  color: var(--ink);
}
.rec .grid-2 p:hover {
  transform: translateY(-4px);
  color: var(--ink);
}

/* ---------- Enquiry form polish on this page ---------- */
.chip span {
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.chip:hover span {
  transform: translateY(-2px);
  border-color: rgba(255,140,20,.45);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

@media (max-width: 640px) {
  .svc:hover,
  .chip:hover span,
  .rec .grid-2 p:hover {
    transform: none;
  }
  .acc__panel .ticks li:hover,
  .bundle .ticks li:hover {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc, .svc::before, .svc__note,
  .acc__head, .acc__label, .acc__chev, .acc__panel, .acc__panel .ticks li,
  .bundle .ticks li, .rec .grid-2 p, .chip span {
    transition: none;
  }
  .svc:hover, .acc__head:hover,
  .acc__panel .ticks li:hover,
  .bundle .ticks li:hover, .rec .grid-2 p:hover, .chip:hover span {
    transform: none;
  }
}
