/*
 * =========================================================
 * OLYTIC SOLUTIONS - Strategic Roadmapping Service Page Styles
 * roadmapping.css  /  Route: /roadmapping
 *
 * Solution-specific, one-pager style outreach page. Built on
 * the same global primitives as every other page (.section,
 * .container, .callout, .btn, .label) but with a distinct
 * visual identity: a big product mark/wordmark ("FieldCraft")
 * lockup and an open-ring brand mark.
 *
 * Components:
 *   - FieldCraft mark (inline SVG, duplicated per usage with
 *     hardcoded colors, no shared <symbol>/<use>)
 *   - Hero (dark, big logo lockup, node/link graphic)
 *   - Overview (problem summary, outcomes list beside a static
 *     before/after infographic, see ui/assets/fieldcraft-ai-story.svg)
 *   - What It Looks Like (spine timeline on mobile, wavy SVG
 *     timeline from 960px up, styled after the /services
 *     process diagram)
 *   - CTA band (flat rectangle, no seam)
 *   - Angled seam between hero and overview only
 *
 * CSS load order (must follow):
 *   tokens → typography → buttons → nav → footer → layout → fix-right
 * =========================================================
 */

/* ─────────────────────────────────────────────────────── */
/* FIX RIGHT MARK                                            */
/* Markup is duplicated inline at each usage (hero lockup,   */
/* hero graphic, CTA icon) with hardcoded stroke/fill colors */
/* per context, matching how the Olytic logo itself is done  */
/* elsewhere in this codebase. No shared CSS needed here.    */
/* ─────────────────────────────────────────────────────── */


/* ─────────────────────────────────────────────────────── */
/* SEAM - angled color transition between bands             */
/* ─────────────────────────────────────────────────────── */

.sr-seam-top {
  position: relative;
}

.sr-seam-top::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 60px;
  border-bottom: 4px solid var(--color-teal);
  transform-origin: 0 0;
  transform: skewY(-1.25deg);
  z-index: 1;
}

.sr-seam-top--white::before  { background-color: #FFFFFF; }

@media (max-width: 640px) {
  .sr-seam-top::before {
    top: -24px;
    height: 36px;
  }
}


/* ─────────────────────────────────────────────────────── */

/* SECTION 1: HERO                                          */
/* ─────────────────────────────────────────────────────── */

.sr-hero {
  background-color: var(--color-obsidian);
  color: #FFFFFF;
  padding-top: var(--space-12);
  padding-bottom: var(--space-24);
  position: relative;
}

.sr-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: var(--space-16);
}

.sr-hero__lockup {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.sr-hero__wordmark {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
}

.sr-hero__wordmark em {
  font-style: normal;
  color: var(--color-gold);
}

.sr-hero__headline {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  font-weight: var(--weight-bold);
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
  max-width: 720px;
}

.sr-hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.76);
  line-height: var(--leading-body);
  max-width: 560px;
  margin-bottom: var(--space-8);
}

.sr-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Locked shape composition, mirror of the home hero grammar and
   teal-led to match the services family. Same circle radii (152/80),
   flat brand colors, 8pt grid, every shape anchored to a photo edge. */
.sr-hero__composition {
  position: relative;
  width: 448px;
  height: 448px;
}

.sr-hero__shape {
  position: absolute;
}

/* Gold quarter-disc tucked behind the photo's shoulder,
   sharing the composition's top edge. */
.sr-hero__shape--gold {
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  background-color: var(--color-gold);
  border-radius: 160px 0 0 0;
}

/* Teal half-disc anchored under the photo's bottom edge. */
.sr-hero__shape--teal {
  right: 64px;
  bottom: 0;
  width: 160px;
  height: 80px;
  background-color: var(--color-teal);
  border-radius: 0 0 80px 80px;
}

/* Small teal disc nested beside the photo's squared corner. */
.sr-hero__shape--dot {
  right: 312px;
  top: 312px;
  width: 48px;
  height: 48px;
  background-color: var(--color-teal);
  border-radius: 50%;
}

/* Thin brand ring peeking from behind the photo's top-right curve. */
.sr-hero__shape--ring {
  right: -8px;
  top: 0;
  width: 96px;
  height: 96px;
  border: 2px solid var(--color-teal);
  border-radius: 50%;
  opacity: 0.8;
}

/* Photo petal: three corners on the ring radius, one squared. */
.sr-hero__photo-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 304px;
  height: 360px;
  border-radius: 152px 152px 152px 24px;
  overflow: hidden;
  background-color: var(--color-obsidian);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.sr-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Narrow desktops: scale the whole composition, never reflow it. */
@media (max-width: 1160px) {
  .sr-hero__composition {
    transform: scale(0.82);
    transform-origin: center;
  }
}

@media (max-width: 900px) {
  .sr-hero__inner {
    grid-template-columns: 1fr;
  }

  .sr-hero__visual {
    display: none;
  }
}

@media (max-width: 640px) {
  .sr-hero__sub {
    font-size: var(--text-base);
  }
}


/* ─────────────────────────────────────────────────────── */
/* SECTION 2: OVERVIEW (problem summary + outcomes + video) */
/* ─────────────────────────────────────────────────────── */

.sr-overview {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  position: relative;
}

.sr-overview__headline {
  text-align: right;
  margin-bottom: var(--space-8);
}

.sr-overview__headline::after {
  left: auto;
  right: 0;
}

.sr-overview__row {
  align-items: center;
}

.sr-overview__intro {
  max-width: 640px;
  margin-bottom: var(--space-6);
}

.sr-overview__intro p {
  font-size: var(--text-md);
  color: var(--color-body-steel);
  line-height: var(--leading-body);
}

.sr-overview__tee {
  font-weight: var(--weight-bold);
  color: var(--color-obsidian);
}

/* ── Outcomes list ── */

.sr-outcomes {
  max-width: 640px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.sr-outcomes li {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--color-obsidian);
  line-height: var(--leading-body);
  padding-left: var(--space-6);
  position: relative;
  margin-bottom: 0;
}

.sr-outcomes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 2px;
  background-color: var(--color-gold);
}

/* ── Statistic card: a short unified narrative citing three 2026     */
/* figures, replacing the earlier before/after infographic. Sits in   */
/* the narrower left column beside the intro copy. Narrow, bordered   */
/* light-surface card, not stretched to fill its grid track, so real  */
/* whitespace opens up before the intro copy starts. */
.sr-stats {
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
  max-width: 320px;
  justify-self: start;
}

.sr-stats__narrative {
  font-size: var(--text-base);
  color: rgba(26, 26, 26, 0.76);
  line-height: var(--leading-body);
  margin-bottom: var(--space-5);
}

.sr-stats__narrative:last-child {
  margin-bottom: 0;
}

.sr-stats__narrative strong {
  color: var(--color-obsidian);
  font-weight: var(--weight-bold);
}

/* Numbered citation markers, replacing the old inline source line. The
   sources themselves live in fine print in the CTA section's .sr-cta__refs. */
.sr-stats__cite {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: var(--weight-bold);
  color: rgba(26, 26, 26, 0.55);
  margin-left: 1px;
}

@media (max-width: 768px) {
  .sr-stats {
    max-width: none;
    padding: var(--space-6);
  }
}


/* ─────────────────────────────────────────────────────── */
/* SECTION 3: WHAT IT LOOKS LIKE                            */
/* (vertical spine + node timeline on mobile, horizontal     */
/*  timeline from 960px up)                                 */
/* ─────────────────────────────────────────────────────── */

.sr-how {
  position: relative;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.sr-how__intro {
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.sr-how__intro .section-title {
  margin-bottom: var(--space-4);
}

.sr-how__intro p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--leading-body);
  margin: 0;
}

/* Vertical spine connecting each node, centered on the node column */
.sr-steps {
  max-width: 640px;
  position: relative;
}

.sr-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background-color: rgba(200, 169, 110, 0.3);
}

.sr-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: var(--space-6);
  align-items: start;
  padding: var(--space-5) 0;
  position: relative;
}

.sr-step:first-of-type {
  padding-top: 0;
}

.sr-step__node-col {
  display: flex;
  justify-content: center;
}

.sr-step__icon {
  width: 26px;
  height: 26px;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}

/* .sr-card__outline is the decorative open-shape background used
   only in the desktop card layout below; hidden here so it doesn't
   render as an unstyled, unsized box in the plain mobile list. */
.sr-card__outline {
  display: none;
}

.sr-step__node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-obsidian);
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  color: var(--color-gold);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.sr-step__content h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: #FFFFFF;
  margin-bottom: var(--space-1);
}

.sr-step__content p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--leading-body);
  margin-bottom: 0;
}

.sr-card__week {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-1);
}

@media (max-width: 480px) {
  .sr-step {
    grid-template-columns: 40px 1fr;
    column-gap: var(--space-4);
  }

  .sr-steps::before {
    left: 19px;
  }

  .sr-step__node {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }
}

/* ── Open-shape card timeline (desktop): four identical gold-outlined */
/* cards, all at the same height (no stagger). Each is an open shape  */
/* (border-top + border-right only, no fill, no shadow, no tail) with */
/* an outlined icon circle straddling its top edge and its own title  */
/* and copy inside.                                                   */
/*                                                                    */
/* This layout needs real width: four 270px cards plus real gaps    */
/* between them run ~1125px, so it only turns on at 1200px+ rather  */
/* than this file's usual 960px cut. Below that, the plain vertical */
/* spine (base rules above) carries the same content just fine.     */
@media (min-width: 1200px) {
  .sr-steps {
    max-width: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0 24px;
  }

  .sr-steps::before {
    display: none;
  }

  .sr-step {
    display: block;
    position: relative;
    flex: 0 0 auto;
    width: 270px;
    padding: 0;
    text-align: center;
  }

  .sr-step:not(:first-of-type) {
    margin-left: 15px;
  }

  .sr-step__node-col {
    display: none;
  }

  .sr-card {
    position: relative;
    display: block;
    width: 270px;
    height: 195px;
    margin: 0 auto;
    color: var(--color-gold);
  }

  /*
    Open shape, not a closed box: only the top and right sides carry
    a border (no border-left, no border-bottom), and the top-right +
    bottom-right corners each get a radius equal to half the height
    (97.5px), so together they form one continuous half-circle "cap"
    on the right instead of two separate rounded corners. The line
    simply stops where the border-bottom would have started. This is
    plain CSS border/border-radius, not a hand-plotted SVG path, so
    the curve is exact rather than approximated.
  */
  .sr-card__outline {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 270px;
    height: 195px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    border-bottom: none;
    border-left: none;
    border-radius: 0 97.5px 97.5px 0;
  }

  /* Circle straddles the card's top edge: half floats above it.
     Background matches the section's own dark bg so it reads as a
     cutout sitting on the outline, not a light patch floating on it. */
  .sr-card__icon {
    position: absolute;
    top: -24px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background-color: var(--color-obsidian);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
  }

  .sr-card__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
  }

  /* Kept clear of the big right-side arc (which pulls the outline in
     from x=172.5 at the top/bottom edges to x=270 at mid-height):
     max-width is border-box (includes the 22px left padding), so a
     172px max-width leaves 150px of actual content width, safely
     inside that boundary. */
  .sr-card__body {
    position: relative;
    text-align: left;
    max-width: 172px;
    padding: 26px 0 0 22px;
  }

  /*
    Specificity note on the next two rules: the base rules
    ".sr-step__content h3" / "...p" (class + element, 0-1-1) would
    beat a single card-title/card-text class (0-1-0) regardless of
    source order, so both stay two classes deep here.
  */
  .sr-step__content .sr-card__title {
    font-size: 16px;
    font-weight: var(--weight-bold);
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0 0 var(--space-2);
  }

  .sr-step__content .sr-card__text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
    margin: 0;
  }
}


/* ─────────────────────────────────────────────────────── */
/* WHAT YOU GET (lives inside SECTION 3, HOW WE WORK):      */
/* a centered lead-in below a gold dashed divider, then      */
/* three deliverables in teal cards (three rounded corners,  */
/* one squared/angled). Mirrors FieldCraft's .fr-gets grid   */
/* so both golden-template pages share the pattern.          */
/* ─────────────────────────────────────────────────────── */

.sr-gets {
  margin-top: var(--space-12);
}

.sr-gets__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-8);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.sr-gets__intro::before {
  content: '';
  display: block;
  width: 48px;
  margin: 0 auto var(--space-6);
  border-top: 2px dashed var(--color-gold);
}

.sr-gets__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.sr-get {
  background-color: var(--color-teal);
  border-radius: 24px 24px 0 24px;
  padding: var(--space-8);
}

.sr-get h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: #FFFFFF;
  margin: 0 0 var(--space-2);
}

.sr-get p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--leading-body);
  margin: 0;
}

@media (max-width: 768px) {
  .sr-gets__grid {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────────────────── */
/* SECTION 5: FIT (full-bleed photo backdrop, FieldCraft-   */
/* style: photo bleeds in from the right, mask-fades into   */
/* the section's own teal, text column sits directly on it) */
/* ─────────────────────────────────────────────────────── */

.sr-case {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface);
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.sr-case .container {
  position: relative;
  z-index: 1;
}

.sr-case__main {
  max-width: 54%;
}

.sr-case__head {
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.sr-case__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--weight-bold);
  color: var(--color-obsidian);
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 0;
}

.sr-case__story {
  max-width: 760px;
}

.sr-case__problem {
  font-size: var(--text-md);
  color: var(--color-body-steel);
  line-height: var(--leading-normal);
  margin: 0 0 var(--space-5);
}

.sr-case__problem a {
  color: var(--color-obsidian);
  text-decoration-color: var(--color-gold);
}

.sr-case__solutions-intro {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-obsidian);
  margin: 0 0 var(--space-3);
}

.sr-case__solutions {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sr-case__solutions li {
  font-size: var(--text-md);
  color: var(--color-body-steel);
  line-height: var(--leading-normal);
  padding-left: var(--space-6);
  position: relative;
  margin: 0;
}

.sr-case__solutions li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: var(--weight-bold);
}

.sr-case__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  margin: 0;
  z-index: 0;
}

.sr-case__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to left, #000 42%, transparent 100%);
  mask-image: linear-gradient(to left, #000 42%, transparent 100%);
}

@media (max-width: 860px) {
  .sr-case {
    overflow: visible;
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .sr-case__main {
    max-width: none;
  }

  .sr-case__photo {
    position: static;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: var(--space-8);
  }

  .sr-case__photo img {
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 12px;
  }
}


/* ─────────────────────────────────────────────────────── */
/* SECTION 6: CTA                                           */
/* ─────────────────────────────────────────────────────── */

.sr-cta {
  padding-top: var(--space-12);
  padding-bottom: var(--space-10);
  position: relative;
}

.sr-cta__mark {
  display: block;
  margin-bottom: var(--space-5);
}

.sr-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}

.sr-cta__inner h2 {
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: var(--weight-bold);
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.sr-cta__inner p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--leading-body);
  max-width: 52ch;
  margin-bottom: 0;
}

/* Fine-print references for the numbered citations on the ROI stat card
   in the OVERVIEW section (.sr-stats__cite), kept out of that gold card. */
.sr-cta__inner .sr-cta__refs {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.4);
  max-width: none;
}

.sr-cta__refs sup {
  margin-right: 2px;
}

.sr-cta__inner .btn {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .sr-cta__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .sr-cta__inner .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ── Hero: primary + complimentary-roadmap CTA pair ── */

.sr-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}



/* ── Mobile lockup: smaller mark + wordmark so long names breathe ── */

@media (max-width: 560px) {
  .sr-hero__lockup svg {
    width: 52px;
    height: 52px;
  }

  .sr-hero__lockup {
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }

  .sr-hero__wordmark {
    font-size: 1.4rem;
  }
}


/* ── Mobile: dual hero CTAs stack full-width ── */

@media (max-width: 640px) {
  .sr-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .sr-hero__ctas .btn {
    justify-content: center;
  }
}
