/* ============================================================================
 * Service detail pages (Run Up / The Drop / The Print / The Door)
 * Loaded by /services/{slug}.php pages in addition to app.css.
 * ============================================================================ */

.svc-page { color: #cbd5e1; }

.svc-page .container-detail {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.svc-page .eyebrow {
  color: #ec6b1c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}
.svc-page .eyebrow a { color: inherit; text-decoration: none; opacity: 0.85; }
.svc-page .eyebrow a:hover { opacity: 1; }

.svc-page h1.hero-headline {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: var(--s-4) 0 var(--s-5);
  text-transform: uppercase;
}
.svc-page h1.hero-headline .accent { color: #ec6b1c; }

.svc-page p.hero-sub {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 0 var(--s-6);
}

/* Hero band — full-bleed product art background with the headline + sub + CTAs
   floating on top. Three layers stacked via pseudo-elements so we can tune
   them independently:
     ::before — SVG art (brightened so it reads at full hero scale)
     ::after  — readability fade (subtle on top, dark on bottom)
     content  — actual text, on top of everything */
.svc-detail-hero {
  /* Tight top padding so the hero sits flush against the nav like the
     index page's .land-hero. Bottom stays generous for breathing room
     before the next section. */
  padding: clamp(28px, 4vw, 56px) 0 clamp(80px, 12vw, 140px);
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: #0a0a0a;
}
.svc-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* SVG was designed for a small dark banner — boost so it reads at hero
     scale without losing the moody, scene-y look. */
  filter: brightness(1.35) saturate(1.15);
  z-index: 0;
}
.svc-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.00) 30%, rgba(10, 10, 10, 0.55) 80%, #0a0a0a 100%);
  pointer-events: none;
  z-index: 1;
}
.svc-detail-hero .container-detail {
  position: relative;
  z-index: 2;
}
.svc-detail-hero p.hero-sub {
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.6);
}
.svc-detail-hero .hero-ctas {
  justify-content: center;
}
.svc-detail-hero h1.hero-headline {
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.5);
}

/* Slightly smaller hero headline on deep-dive pages — sized to read well over
   the banner art without overwhelming the page. */
.svc-page h1.hero-headline {
  font-size: clamp(32px, 5vw, 56px);
}

/* Per-product hero backgrounds. The deep-dive heroes use dedicated *-hero.svg
   variants — wide 3.2:1 cinematic banners with no baked-in text and a
   different visual metaphor from the /services overview cards (so a visitor
   who lands on the deep-dive sees fresh art, not the same card image
   zoomed in). The /services overview keeps using the original product-*.svg
   files with their wordmarks intact. */
.svc-detail-hero.hero-runup::before {
  background-image:
    url('/assets/services/product-runup-hero.svg'),
    radial-gradient(ellipse at 80% 30%, rgba(236, 107, 28, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, #1f0c0c 0%, #0a0a0a 100%);
}
.svc-detail-hero.hero-drop::before {
  background-image:
    url('/assets/services/product-drop-hero.svg'),
    radial-gradient(ellipse at 80% 30%, rgba(110, 180, 255, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, #0c1420 0%, #0a0a0a 100%);
}
.svc-detail-hero.hero-print::before {
  background-image:
    url('/assets/services/product-print-hero.svg'),
    radial-gradient(ellipse at 80% 30%, rgba(180, 140, 80, 0.24) 0%, transparent 60%),
    linear-gradient(180deg, #1a160d 0%, #0a0a0a 100%);
}
.svc-detail-hero.hero-door::before {
  background-image:
    url('/assets/services/product-door-hero.svg'),
    radial-gradient(ellipse at 80% 30%, rgba(255, 210, 138, 0.30) 0%, transparent 60%),
    linear-gradient(180deg, #1f0a0a 0%, #0a0a0a 100%);
}

/* Legacy: the separate .svc-hero-banner strip is no longer rendered. */
.svc-hero-banner { display: none; }

.svc-page .hero-ctas {
  display: inline-flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.svc-page .btn-detail-primary {
  background: #ec6b1c;
  color: #0a0a0a;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(236, 107, 28, 0.6);
  transition: filter 0.15s, transform 0.15s;
  display: inline-block;
}
.svc-page .btn-detail-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.svc-page .btn-detail-secondary {
  background: transparent;
  color: #f5f5f5;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.15s, color 0.15s;
  display: inline-block;
}
.svc-page .btn-detail-secondary:hover { border-color: #ec6b1c; color: #ec6b1c; }

/* Generic content sections — centered alignment to match /services overview. */
.svc-page .product-section { padding: var(--s-10) 0; text-align: center; }
.svc-page .product-section.alt {
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.svc-page .section-title {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: var(--s-3) 0 var(--s-4);
  text-transform: uppercase;
}
.svc-page .section-title .accent { color: #ec6b1c; }

.svc-page .section-lead {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 auto var(--s-6);
  max-width: 720px;
}

/* Manifesto + walkthrough body copy stays left-aligned for readability,
   but the wrapping shell is centered. */
.svc-page .product-section .manifesto-body,
.svc-page .product-section .walkthrough,
.svc-page .product-section .timeline,
.svc-page .product-section .compare-grid,
.svc-page .product-section .audience-grid,
.svc-page .product-section .price-grid,
.svc-page .product-section .wont-grid,
.svc-page .product-section .deliverable-grid,
.svc-page .product-section .faq-list,
.svc-page .product-section .door-form {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

/* Manifesto-style paragraphs — block is constrained to a narrow centered
   column under the section title so it reads as a tight, deliberate column
   rather than wide flowing text against the 980px container edges. */
.svc-page .manifesto-body {
  max-width: 720px;
  margin: 0 auto;
}
.svc-page .manifesto-body p {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 var(--s-4);
  max-width: none;
}
.svc-page .manifesto-body strong { color: #ffffff; }
.svc-page .manifesto-end {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-top: var(--s-5) !important;
}
.svc-page .manifesto-end .accent { color: #ec6b1c; }

/* Deliverable grid */
.svc-page .deliverable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.svc-page .deliverable {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: var(--s-6);
}
.svc-page .deliverable-num {
  color: #ec6b1c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: var(--s-3);
}
.svc-page .deliverable h3 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 var(--s-3);
}
.svc-page .deliverable p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0; }

/* Campaign walkthrough */
.svc-page .walkthrough {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-top: var(--s-7);
  max-width: 800px;
}
.svc-page .walkthrough-step {
  background: #141414;
  border-left: 3px solid #ec6b1c;
  border-radius: 0 12px 12px 0;
  padding: var(--s-5) var(--s-6);
}
.svc-page .walkthrough-step h3 {
  color: #ec6b1c;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--s-3);
}
.svc-page .walkthrough-step p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 var(--s-2);
}
.svc-page .walkthrough-step p:last-child { margin-bottom: 0; }
.svc-page .walkthrough-step em { color: #94a3b8; font-style: italic; }

/* Timeline */
.svc-page .timeline {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-7);
}
.svc-page .timeline-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-5);
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: var(--s-5);
  align-items: start;
}
@media (max-width: 720px) {
  .svc-page .timeline-row { grid-template-columns: 1fr; gap: var(--s-3); }
}
.svc-page .timeline-when {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #ec6b1c;
  font-weight: 700;
  padding-top: 4px;
}
.svc-page .timeline-what h3 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 var(--s-2);
}
.svc-page .timeline-what p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0; }

/* Comparison cards — forced 4-up on desktop so the "vs." matrix fills a
   single row (4 alternatives compared against Run Up / Drop / Print).
   Drops to 2-col on tablets, 1-col on phones. */
.svc-page .compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-7);
}
@media (max-width: 960px) {
  .svc-page .compare-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-page .compare-grid { grid-template-columns: 1fr; }
}
.svc-page .compare-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: var(--s-6);
}
.svc-page .compare-card h3 {
  color: #ec6b1c;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 var(--s-3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.svc-page .compare-card p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 var(--s-3);
}
.svc-page .compare-card p:last-child { margin-bottom: 0; }
.svc-page .compare-card strong { color: #ffffff; }

/* Audience grid */
.svc-page .audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.svc-page .audience-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: var(--s-5);
}
.svc-page .audience-card h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--s-2);
}
.svc-page .audience-card p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 var(--s-2);
}
.svc-page .audience-card p:last-child { margin: 0; }
.svc-page .audience-card em {
  color: #ec6b1c;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
}

/* Pricing grid */
.svc-page .price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.svc-page .price-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
}
.svc-page .price-card h3 {
  color: #ec6b1c;
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-1);
}
.svc-page .price-card .price-tag {
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 var(--s-4);
}
.svc-page .price-card ul.price-tiers { list-style: none; padding: 0; margin: 0 0 var(--s-3); }
.svc-page .price-card ul.price-tiers li {
  display: flex;
  justify-content: space-between;
  color: #cbd5e1;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.svc-page .price-card ul.price-tiers li:last-child { border-bottom: none; }
.svc-page .price-card .price { color: #ffffff; font-weight: 700; }
.svc-page .price-card .price-card-note {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.svc-page .price-card .price-door-text {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 var(--s-3);
  flex: 1;
}
.svc-page .price-card a {
  color: #ec6b1c;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}
.svc-page .price-note {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.55;
  margin: var(--s-5) 0 0;
  text-align: center;
}

/* "What we won't do" grid */
.svc-page .wont-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.svc-page .wont-card {
  background: rgba(236, 107, 28, 0.04);
  border: 1px solid rgba(236, 107, 28, 0.18);
  border-radius: 12px;
  padding: var(--s-5);
}
.svc-page .wont-card h3 {
  color: #ec6b1c;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 var(--s-3);
}
.svc-page .wont-card p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0; }

/* FAQ */
.svc-page .faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-7);
  max-width: 800px;
}
.svc-page .faq-list details {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
}
.svc-page .faq-list summary {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  padding-right: 30px;
  position: relative;
}
.svc-page .faq-list summary::-webkit-details-marker { display: none; }
.svc-page .faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: #ec6b1c;
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.2s;
}
.svc-page .faq-list details[open] summary::after { content: "−"; }
.svc-page .faq-list details p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.65;
  margin: var(--s-3) 0 0;
}

/* CTA section */
.svc-page .product-cta {
  text-align: center;
  padding: var(--s-12) 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(236, 107, 28, 0.18), transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #1a0f1f 100%);
}
.svc-page .product-cta .container-detail { text-align: center; }
.svc-page .product-cta .hero-sub { margin-left: auto; margin-right: auto; }

/* ============================================================================
 * HOVER EFFECTS — every card-style box on the deep-dive pages gets a
 * subtle lift + accent border + warm shadow on mouseover. Snappy 0.18s
 * transition, no jank, accessible (translateY only, no layout shift).
 * ============================================================================ */
.svc-page .deliverable,
.svc-page .walkthrough-step,
.svc-page .timeline-row,
.svc-page .compare-card,
.svc-page .audience-card,
.svc-page .price-card,
.svc-page .wont-card,
.svc-page .faq-list details {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

.svc-page .deliverable:hover,
.svc-page .compare-card:hover,
.svc-page .audience-card:hover,
.svc-page .price-card:hover,
.svc-page .timeline-row:hover,
.svc-page .faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(236, 107, 28, 0.4);
  box-shadow: 0 14px 32px -14px rgba(236, 107, 28, 0.35);
}

/* Walkthrough steps have a 3px orange left border already — on hover the
   border thickens slightly and the card lifts. Different signature from
   the other cards because the left rail is the visual anchor. */
.svc-page .walkthrough-step:hover {
  transform: translateY(-2px);
  border-left-width: 4px;
  box-shadow: 0 12px 28px -14px rgba(236, 107, 28, 0.4);
}

/* Won't-cards are orange-tinted already — deepen the tint on hover instead
   of adding an orange border to an already-orange card. */
.svc-page .wont-card:hover {
  transform: translateY(-3px);
  border-color: rgba(236, 107, 28, 0.45);
  background: rgba(236, 107, 28, 0.08);
  box-shadow: 0 12px 28px -14px rgba(236, 107, 28, 0.35);
}

/* FAQ summary cursor + slight color shift on hover — extra polish for the
   one card type users actually click. */
.svc-page .faq-list details:hover summary { color: #ffffff; }
.svc-page .faq-list details[open] {
  border-color: rgba(236, 107, 28, 0.35);
}

/* The Door application form */
.svc-page .door-form {
  background: #141414;
  border: 1px solid rgba(236, 107, 28, 0.25);
  border-radius: 14px;
  padding: var(--s-7);
  margin-top: var(--s-6);
  max-width: 720px;
}
.svc-page .door-form .form-row { margin-bottom: var(--s-4); }
.svc-page .door-form label {
  display: block;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: var(--s-2);
  letter-spacing: 0.01em;
}
.svc-page .door-form input[type="text"],
.svc-page .door-form input[type="email"],
.svc-page .door-form textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f5f5;
  font: inherit;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s;
}
.svc-page .door-form input:focus,
.svc-page .door-form textarea:focus {
  outline: none;
  border-color: #ec6b1c;
}
.svc-page .door-form textarea { resize: vertical; min-height: 100px; }
.svc-page .door-form button {
  background: #ec6b1c;
  color: #0a0a0a;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(236, 107, 28, 0.6);
  transition: filter 0.15s, transform 0.15s;
}
.svc-page .door-form button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.svc-page .door-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.svc-page .door-form .form-fine {
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
  margin: var(--s-4) 0 0;
}
