/* =====================================================================
   Stronghold Recovery — SERVICE / TREATMENT PAGE TEMPLATE
   SVC 0 scaffold. Layout/interaction patterns adapted from
   exportarts.studio (their copy + media not used). Recoloured to the
   Stronghold brand.

   DESIGN SYSTEM: this file is ADDITIVE. Core tokens, header, footer,
   buttons, .container, .eyebrow, reveal + count-up all come from
   css/main-navy.css. Only NEW service-page scaffolding lives here, all
   scoped under .svc-*.

   BRAND MAPPING (exportarts -> Stronghold), confirmed at SVC 0:
     coral / salmon  -> --accent  #ff6a00  (recovery orange)
     near-black bg    -> --bg      #04132a  (logo navy)
     off-white text   -> --ink     #f2efe9  (cream)
   No coral anywhere. If a value reads pink/salmon it is a bug.

   MEDIA CONVENTION: most "images" on the reference are videos. Every
   media frame ships as <video autoplay muted loop playsinline> with a
   poster, OR <img> as a stand-in. Placeholders now, swap for Steven's
   footage at the asset stage (see SVC 10 / BUILD 14).
   ===================================================================== */

:root {
  /* height to clear the fixed transparent header on inner pages */
  --svc-header-clear: clamp(72px, 9vw, 104px);
}

/* ---------- Page + section rhythm ---------- */
.svc-main { display: block; }

.svc-section {
  padding-block: var(--section-pad);
  position: relative;
}
/* first section sits under the fixed header — add clearance */
.svc-section--top { padding-top: calc(var(--section-pad) + var(--svc-header-clear)); }

.svc-section--accent { background: var(--accent); color: var(--accent-ink); }
.svc-section--raised { background: var(--bg-raised); }
.svc-section--green  { background: var(--emerald); }   /* homepage green (reviews/story) */

/* ---------- Shared media frame ---------- */
.svc-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(4, 19, 42, .18);
  box-shadow: 0 24px 60px rgba(4, 19, 42, .30);
}
.svc-media > video,
.svc-media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.svc-media--portrait { aspect-ratio: 4 / 5; }
.svc-media--vertical { aspect-ratio: 9 / 16; }
.svc-media--landscape { aspect-ratio: 16 / 9; }
.svc-media--square { aspect-ratio: 1 / 1; }

/* intentional shapes (shared with the homepage spotlight language) */
.svc-shape--leaf { border-radius: var(--radius) clamp(48px, 7vw, 104px) var(--radius) clamp(48px, 7vw, 104px); }
.svc-shape--arch { border-radius: clamp(70px, 11vw, 150px) clamp(70px, 11vw, 150px) var(--radius) var(--radius); }
.svc-shape--pill { border-radius: 999px; }

/* small caption label sat over media (ref tags e.g. "Post Production") */
.svc-media__label {
  position: absolute; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em .9em;
  border-radius: 999px;
  background: rgba(4, 19, 42, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .04em;
}
.svc-media__label::before {
  content: ""; width: .5em; height: .5em; border-radius: 50%;
  background: var(--accent); flex: none;
}

/* ---------- Shared stat pair (used across feature sections) ---------- */
.svc-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.svc-stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--accent);
}
.svc-stat__value .pre { color: var(--accent); }
.svc-stat__label {
  margin-top: .4rem;
  font-size: var(--fs-small);
  letter-spacing: .04em;
  color: var(--ink-dim);
}

/* =====================================================================
   SVC 1 — HERO  (oversized headline + stacked vertical tiles + stats)
   exportarts 'Vertical First' pattern, Stronghold recolour.
   ===================================================================== */
.svc-hero { text-align: center; overflow: clip; }

.svc-hero__eyebrow { justify-content: center; }

.svc-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 12vw, 10rem);
  margin: .4rem 0 0;
}

/* 3-column composition; tiles pull up to overlap the headline like the ref */
.svc-hero__stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: clamp(-2.5rem, -2.5vw, -1rem);   /* ~half the previous overlap onto the headline */
}

.svc-hero__intro { justify-self: start; max-width: 32ch; text-align: left; }
.svc-hero__lead {
  color: var(--ink-dim);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.svc-hero__stats {
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.4vw, 2rem);
  text-align: left;
}

/* centre stacked tiles */
.svc-hero__tiles {
  position: relative;
  width: clamp(264px, 28vw, 396px);
  aspect-ratio: 3 / 5.2;   /* taller container (+30% height) */
  margin-inline: auto;
  z-index: 2;
  display: grid;
  grid-template-rows: 1fr 1fr;   /* two videos, 50% each, one container */
  gap: 0;                         /* videos flush, no seam */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(4, 19, 42, .30);
}
.svc-hero__tile { position: relative; overflow: hidden; }
.svc-hero__tile video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* trust strip */
.svc-hero__trust { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.svc-hero__trust-label {
  display: block;
  font-size: var(--fs-small);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 1rem;
}
.svc-hero__trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-dim);
  opacity: .8;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
}

@media (max-width: 820px) {
  .svc-hero__stage {
    grid-template-columns: 1fr;
    margin-top: clamp(-2rem, -4vw, -1rem);
    gap: 2rem;
  }
  .svc-hero__intro { justify-self: center; text-align: center; max-width: 46ch; order: 3; }
  .svc-hero__intro .btn { margin-inline: auto; }
  .svc-hero__tiles { order: 1; width: min(84vw, 384px); }
  .svc-hero__stats {
    order: 2;
    justify-self: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 1.5rem 2.5rem;
  }
}

/* =====================================================================
   SVC 2 — WHY / ANTRIEB  (heading row + rounded media + dual text)
   ===================================================================== */
.svc-why__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.svc-why__label { margin: 0; }
.svc-why__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .01em;
  font-size: clamp(2.2rem, 7vw, 6rem);
  margin: 0;
  justify-self: center;
  text-align: center;
}
.svc-why__watch { justify-self: end; white-space: nowrap; }

.svc-why__body {
  display: grid;
  grid-template-columns: minmax(0, .85fr) 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  margin-top: clamp(2.5rem, 6vw, 5rem);
}
.svc-why__media { width: 100%; max-width: 420px; }
.svc-why__text { max-width: 52ch; }
.svc-why__text p {
  color: var(--ink-dim);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.svc-why__text p + p { margin-top: 1.2rem; }

@media (max-width: 820px) {
  .svc-why__head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.2rem;
  }
  .svc-why__label { justify-self: center; }
  .svc-why__watch { justify-self: center; }
  .svc-why__body { grid-template-columns: 1fr; gap: 2rem; }
  .svc-why__media { margin-inline: auto; max-width: 360px; }
  .svc-why__text { text-align: center; margin-inline: auto; }
}

/* =====================================================================
   SVC 3 — CRAFT / HANDWERK  (intro row + asymmetric card grid + accent card)
   ===================================================================== */
.svc-craft__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.svc-craft__lead { max-width: 46ch; }
.svc-craft__intro {
  color: var(--ink-dim);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin: .2rem 0 1.4rem;
}
.svc-craft__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
  font-size: clamp(2.4rem, 7vw, 6rem);
  margin: 0;
  justify-self: end;
  text-align: right;
}

.svc-craft__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: clamp(180px, 22vw, 300px) clamp(180px, 22vw, 300px);
  grid-template-areas:
    "a b b"
    "a c d";
  gap: clamp(.8rem, 1.6vw, 1.3rem);
  margin-top: clamp(2.5rem, 6vw, 5rem);
}
.svc-craft__card { position: relative; min-height: 0; }
.svc-craft__card--a { grid-area: a; }
.svc-craft__card--b { grid-area: b; }
.svc-craft__card--c { grid-area: c; }
.svc-craft__card--accent { grid-area: d; }

.svc-craft__card > video,
.svc-craft__card > img { transition: transform .6s var(--ease-out); }
.svc-craft__card:hover > video,
.svc-craft__card:hover > img { transform: scale(1.05); }

/* filled accent card */
.svc-craft__card--accent {
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .6rem;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  overflow: hidden;
}
.svc-craft__card--accent h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  color: var(--accent-ink);
}
.svc-craft__card--accent .u-ink { color: #fff; }
.svc-craft__card--accent p {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: rgba(4, 19, 42, .82);
}

@media (max-width: 820px) {
  .svc-craft__head { grid-template-columns: 1fr; gap: 1.2rem; }
  .svc-craft__title { justify-self: start; text-align: left; }
  .svc-craft__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: "a a" "b b" "c d";
    grid-auto-rows: clamp(180px, 40vw, 240px);
  }
}
@media (max-width: 520px) {
  .svc-craft__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d";
  }
}

/* =====================================================================
   SVC 4 — FEATURE BLOCK (canonical, reusable)
   Two staggered vertical tiles + copy column. Add .svc-feature--flip to
   put the media on the right. Reused by SVC 5 / 7 / 8.
   ===================================================================== */
.svc-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
/* flip = media on the right */
.svc-feature--flip .svc-feature__media { order: 2; }
.svc-feature--flip .svc-feature__copy  { order: 1; }

/* media: two staggered vertical tiles */
.svc-feature__media {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(.8rem, 1.6vw, 1.3rem);
  align-items: start;
}
.svc-feature__tile { width: 100%; }
.svc-feature__tile--b { margin-top: clamp(2rem, 8%, 5rem); }

/* copy */
.svc-feature__eyebrow { color: var(--accent); }
.svc-feature__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .96;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  margin: .6rem 0 0;
}
.svc-feature__stats { margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.svc-feature__text {
  margin-top: 1.4rem;
  max-width: 46ch;
  color: var(--ink-dim);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.svc-feature__cta { margin-top: 1.6rem; }

@media (max-width: 820px) {
  .svc-feature__inner { grid-template-columns: 1fr; gap: 2rem; }
  /* media always on top on mobile, regardless of flip */
  .svc-feature__media,
  .svc-feature--flip .svc-feature__media { order: -1; }
  .svc-feature__copy,
  .svc-feature--flip .svc-feature__copy { order: 0; }
  .svc-feature__cta { display: inline-block; }
}

/* =====================================================================
   SVC 6 — TESTIMONIALS  (landscape media + right-aligned copy + stats)
   ===================================================================== */
.svc-testi__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.svc-testi__media { width: 100%; }
.svc-testi__copy { text-align: right; }
.svc-testi__eyebrow { justify-content: flex-end; color: var(--accent); }
.svc-testi__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .96;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  margin: .6rem 0 0;
}
.svc-testi__stats { justify-content: flex-end; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.svc-testi__stats .svc-stat__label { text-align: right; }
.svc-testi__text {
  margin: 1.4rem 0 0 auto;
  max-width: 46ch;
  color: var(--ink-dim);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.svc-testi__cta { margin-top: 1.6rem; }

@media (max-width: 820px) {
  .svc-testi__inner { grid-template-columns: 1fr; gap: 2rem; }
  .svc-testi__copy { text-align: left; }
  .svc-testi__eyebrow { justify-content: flex-start; }
  .svc-testi__stats { justify-content: flex-start; }
  .svc-testi__stats .svc-stat__label { text-align: left; }
  .svc-testi__text { margin-inline: 0; }
}

/* =====================================================================
   SVC 8 — DRONE / CINEMATIC  (centred heading + wide media breather)
   ===================================================================== */
.svc-cine { text-align: center; overflow: clip; }
.svc-cine__head { max-width: 60ch; margin-inline: auto; }
.svc-cine__eyebrow { justify-content: center; color: var(--accent); }
.svc-cine__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .94;
  font-size: clamp(2.2rem, 6vw, 5rem);
  margin: .5rem 0 0;
}
.svc-cine__text {
  margin: 1.2rem auto 0;
  max-width: 52ch;
  color: var(--ink-dim);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.svc-cine__cta { margin-top: 1.6rem; }
.svc-cine__media {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  aspect-ratio: 21 / 9;
  width: 100%;
}
.svc-cine__media .svc-media__label { left: auto; right: 1rem; }

@media (max-width: 820px) {
  .svc-cine__media { aspect-ratio: 16 / 9; }
}

/* =====================================================================
   SVC 9 — FOUNDER CTA  (round avatar + headline + dual buttons)
   ===================================================================== */
.svc-final-cta { text-align: center; }
.svc-final-cta__avatar {
  width: clamp(320px, 36vw, 432px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  background: var(--accent);
  box-shadow: 0 0 0 16px rgba(255, 106, 0, .18);
}
.svc-final-cta__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-final-cta__name {
  margin-top: 1.4rem;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 3.4rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.svc-final-cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .94;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  margin: 1rem 0 0;
}
.svc-final-cta__line {
  margin: 1rem auto 0;
  max-width: 48ch;
  color: var(--ink-dim);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.svc-final-cta__actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
}
