/* V3 section patterns — hero, scenarios, method tabs, metrics, case
 * study, in-this-issue carousel, voices, founders teaser, and the
 * contact section wrapper. Each block is labeled so subpages can pick
 * only the patterns they need.
 *
 * Loaded after components.css. Extracted from
 * mockups/mockup-14-scenario-led.html.
 */

/* -----------------------------------------------------------------
 * HERO
 * ---------------------------------------------------------------*/
.hero {
  font-family: var(--chrome-sans);
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 0 80px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  --hero-mask: radial-gradient(ellipse at 50% 40%, black 15%, transparent 65%);
}
/* Dot grid shared by both hero variants; each sets its own --hero-mask. */
.hero::before,
.hero-slim::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: var(--hero-mask);
  -webkit-mask-image: var(--hero-mask);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
  padding: 0 20px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}
.hero h1 {
  font-family: var(--display-serif);
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero h1 .word {
  display: inline-block;
  transition: color 0.2s ease;
}
.hero h1 .word:hover {
  color: var(--red);
}
.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 40px;
}
.hero-ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.hero-ctas .btn {
  padding: 13px 22px;
  font-weight: 600;
  border-radius: 999px;
  font-family: var(--chrome-sans);
}
.hero-ctas .btn-primary:hover {
  box-shadow: 0 10px 24px -10px rgba(237, 28, 36, 0.5);
}
.hero-industries {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-industries-label {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.mini-chip {
  padding: 5px 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
}

/* -----------------------------------------------------------------
 * SCENARIO GRID
 * ---------------------------------------------------------------*/
.scenarios {
  background: var(--paper);
}
.scn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scn-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.scn-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: height 0.35s ease;
}
.scn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.14);
  border-color: var(--red);
}
.scn-card:hover::before {
  height: 100%;
}
.scn-lead {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.scn-lead::before {
  content: "→";
}
.scn-h {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.scn-p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.scn-svc-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.scn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.scn-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  background: var(--paper);
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}
a.scn-chip:hover {
  border-color: var(--red);
  color: var(--red);
}
.scn-reveal {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}
.scn-reveal::after {
  content: "→";
}
a.scn-reveal {
  text-decoration: none;
}
.scn-card:hover .scn-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------------------------
 * METHOD TABS
 * ---------------------------------------------------------------*/
.method {
  background: var(--paper-2);
}
.method-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  max-width: 640px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}
.m-tab {
  padding: 12px 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.m-tab .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 13px;
}
.m-tab.active {
  background: var(--red);
  color: #fff;
}
.m-tab.active .num {
  color: #fff;
}
.m-panel {
  display: none;
}
.m-panel.active {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 48px;
}
.m-left h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-style: italic;
}
.m-duration {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.m-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.m-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}
.m-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
}
.m-step h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.m-step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.m-right-cap {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.m-svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.m-svc {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.m-svc:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.m-svc.hot {
  background: linear-gradient(180deg, var(--paper), var(--red-soft));
  border-color: rgba(237, 28, 36, 0.3);
}
.m-svc-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-svc-name::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--muted);
}
.m-svc.hot .m-svc-name::before {
  background: var(--red);
}
.m-svc-role {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* -----------------------------------------------------------------
 * METRICS STRIP
 * ---------------------------------------------------------------*/
.metrics {
  background: var(--ink);
  color: #fff;
  padding: 72px 0;
}
.met-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.met {
  text-align: left;
}
.met-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  font-style: italic;
  color: var(--red);
  margin-bottom: 12px;
}
.met-lbl {
  font-size: 14px;
  color: #b9b7b1;
  line-height: 1.55;
  max-width: 220px;
}

/* -----------------------------------------------------------------
 * METRICS — rolling marquee carousel (stock-ticker pattern)
 *
 * Seamless loop uses N identical .metrics-set copies inside .metrics-track,
 * where N is chosen at runtime by site.js->initMetricsMarquee() so that
 * total_track_width >= viewport + one_set_width. This guarantees no blank
 * space on wide viewports: at every moment of the animation there is at
 * least one full set of tiles filling the visible region.
 *
 * Each .metrics-set holds an identical row of tiles with an internal
 * `gap` between tiles AND a trailing `padding-right` equal to that gap.
 * The .metrics-track itself has NO gap between sets — the seam gap is
 * provided by each set's trailing padding, so the visual spacing at the
 * wrap-around matches every other inter-tile gap.
 *
 * Every clone has IDENTICAL total footprint (content + trailing padding),
 * so shifting the track by exactly one set's width (-100% / N of the total
 * track width) lands the next copy pixel-perfect where the previous one
 * started — no seam pop, regardless of N.
 *
 * Math (desktop): tile=260, gap=40
 *   set_content   = 4*260 + 3*40                    = 1160
 *   set_footprint = set_content + trailing gap      = 1200
 *   track_width   = N * set_footprint
 *   one-cycle shift = translateX(-100% / N) = 1200 = one set's width ✓
 *
 * Speed: 45 px/s linear (was 30 px/s; +50%). At 1200 px per set that's
 * 1200 / 45 = 26.6667s per one-set cycle, independent of N.
 *
 * Pauses on hover / focus-within; disabled under prefers-reduced-motion.
 * ---------------------------------------------------------------*/
.metrics-marquee {
  overflow: hidden;
  width: 100%;
  /* Soft fade at the edges so tiles don't pop in/out abruptly. */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.metrics-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  /* No gap here — the seam gap lives on each .metrics-set's padding-right
     so every copy has identical footprint and translateX(-100% / N) is exact.
     --marquee-copies is set by site.js and defaults to 2 if JS is absent. */
  animation: metrics-scroll 26.67s linear infinite;
  will-change: transform;
}
.metrics-set {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
  gap: 50px;
  /* Trailing space equal to the inter-tile gap. Applied to EVERY copy so
     each set has identical width; each set's trailing padding is what
     supplies both the visible seam gap and the exact -100% / N shift math. */
  padding: 0 50px 0 0;
  margin: 0;
  list-style: none;
}
.metrics-marquee:hover .metrics-track,
.metrics-marquee:focus-within .metrics-track {
  animation-play-state: paused;
}
.metrics-set .met {
  flex: 0 0 auto;
  width: 260px;
}
.metrics-set .met-lbl {
  max-width: none;
}
/* Branded tiles — a data tile with a small attribution logomark at the
   bottom-right. Two flavors: .met-case (customer, e.g. ONE Solutions) and
   .met-ids (our own IDS mark). Both share layout; only the logo styling
   differs (case logo is a black wordmark that gets inverted to white; IDS
   logo is already colored art and renders as-is).
   Positioned relative so the logo can be absolutely placed inside the tile
   without disrupting number/label flow. Extra bottom padding reserves
   space for the logo. Stretched to row height so all logos across all
   branded tiles land at the same y-coordinate. */
.metrics-set .met.met-case,
.metrics-set .met.met-ids {
  position: relative;
  padding-bottom: 28px;
  align-self: stretch;
}
.met-case-logo,
.met-ids-logo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.met-case-logo {
  height: 18px;
  /* Source PNG is a black wordmark on transparent; invert to white so it
     reads on the dark metrics background. */
  filter: invert(1);
  opacity: 0.7;
}
.met-ids-logo {
  /* Colored logomark — no invert needed. Slightly taller than the wordmark
     since it's a compact symbol, not a horizontal word. */
  height: 24px;
  opacity: 0.85;
}

/* End-of-set beat — IDS logomark. Narrower than a data tile so it reads
   as a rhythm marker, not another number. Centered so the mark lines up
   with the metric numerals. */
.metrics-set .met.met-separator {
  width: 96px;
  /* Center vertically against the taller data tiles. Parent .metrics-set
     uses align-items: flex-start, so we override with align-self here. */
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Full opacity for vivid brand color. Dial down (e.g. 0.85) if it starts
     competing with the metric numbers. */
  opacity: 1;
}
.met-separator-logo {
  height: 56px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes metrics-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* Shift by exactly one set's width regardless of copy count. */
    transform: translateX(calc(-100% / var(--marquee-copies, 2)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .metrics-track {
    animation: none;
    transform: none;
  }
}
@media (max-width: 640px) {
  /* Shrink tiles + gap in lockstep; trailing padding must equal gap so
     -100% / N stays exact. Math (9 tiles = 8 data + 1 logo separator):
       8*220 + 72 + 8*35 = 2112, +35 trailing = 2147 per set. */
  .metrics-set {
    gap: 35px;
    padding-right: 35px;
  }
  .metrics-set .met {
    width: 220px;
  }
  .metrics-set .met.met-separator {
    width: 72px;
  }
  .met-separator-logo {
    height: 44px;
  }
  .met-case-logo {
    height: 15px;
  }
  .met-ids-logo {
    height: 20px;
  }
}

/* -----------------------------------------------------------------
 * CASE STUDY OF THE QUARTER
 * ---------------------------------------------------------------*/
.caseq {
  background: var(--paper);
}
.caseq-card {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.caseq-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.caseq-card:hover {
  border-color: rgba(237, 28, 36, 0.5);
}
.caseq-card:hover::before {
  opacity: 1;
}
.cq-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cq-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
}
.cq-head {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 20px;
}
.cq-dek {
  font-size: 16.5px;
  color: #c8c6c1;
  line-height: 1.6;
  margin: 0 0 28px;
}
.cq-read {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cq-read::after {
  content: "→";
  color: var(--red);
}
.cq-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cq-min {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
}
.cq-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.cq-chip {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 8px;
}
.cq-out {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 22px;
}
.cq-out .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 500;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cq-out .l {
  font-size: 13px;
  color: #c8c6c1;
  margin-top: 4px;
}

/* -----------------------------------------------------------------
 * IN THIS ISSUE (Journal teaser carousel)
 * ---------------------------------------------------------------*/
.issue {
  background: var(--paper-2);
  font-family: var(--issue-sans);
}
.issue .car-btn {
  font-family: var(--issue-sans);
}
.issue .sec-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
}
.issue .sec-h2 {
  font-family: var(--issue-serif);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  font-variation-settings:
    "SOFT" 50,
    "opsz" 144;
}
.issue-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.issue-head-row .sec-head {
  text-align: left;
  margin: 0;
  max-width: 900px;
}
.issue-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.car-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-family: var(--sans);
}
.car-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.car-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.car-dots {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}
.car-dot {
  width: 6px;
  height: 6px;
  background: var(--rule);
  border-radius: 50%;
  transition: all 0.2s ease;
}
.car-dot.active {
  background: var(--red);
  width: 22px;
  border-radius: 3px;
}
.car-viewport {
  overflow: hidden;
}
.car-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}
.art-card {
  flex: 0 0 calc((100% - 60px) / 4);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.22s ease;
}
.art-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width 0.3s ease;
}
.art-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.12);
}
.art-card:hover::after {
  width: 100%;
}
.art-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.art-h {
  font-family: var(--issue-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}
.art-dek {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.art-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
}
.art-read {
  color: var(--ink);
  font-weight: 700;
}

/* -----------------------------------------------------------------
 * VOICES (testimonials — scenario/outcome pairings)
 * ---------------------------------------------------------------*/
.voices {
  background: var(--paper);
}
.v-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.v-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.v-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 36px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.v-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.12);
}
.v-card:hover::after {
  transform: scaleX(1);
}
.v-scenario {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.v-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  font-style: italic;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.v-body strong {
  color: var(--red);
  font-weight: 500;
  font-style: normal;
  font-family: var(--sans);
}
.v-attr {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
}
.v-attr strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
.v-attr span {
  color: var(--muted);
}

/* -----------------------------------------------------------------
 * FOUNDERS TEASER — small, one line
 * ---------------------------------------------------------------*/
.founders-teaser {
  background: var(--paper-2);
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ft-inner {
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
}
.ft-inner a {
  color: var(--red);
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 2px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  margin-left: 6px;
}

/* -----------------------------------------------------------------
 * CONTACT (section wrapper — the form's own styling lives in
 * components.css because it recurs on subpages)
 * ---------------------------------------------------------------*/
.contact {
  background: var(--paper);
  padding: 100px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.contact-side h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 20px;
}
.contact-side .side-copy {
  padding: 8px 0;
}
.contact-side .side-copy p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.chan-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chan {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.18s ease;
  cursor: pointer;
}
.chan::after {
  content: "→";
  position: absolute;
  right: 24px;
  color: var(--red);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}
.chan:hover {
  transform: translateX(3px);
  border-color: var(--red);
}
.chan:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.chan-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.chan-lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.chan-val {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

/* -----------------------------------------------------------------
 * RESPONSIVE COLLAPSES (section-scoped; chrome / footer collapses
 * live with those blocks in components.css)
 * ---------------------------------------------------------------*/
@media (max-width: 1024px) {
  .scn-grid,
  .v-row,
  .met-grid {
    grid-template-columns: 1fr 1fr;
  }
  .m-panel.active,
  .caseq-card,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .caseq-card {
    padding: 40px;
  }
  .art-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}
@media (max-width: 640px) {
  .scn-grid,
  .v-row,
  .met-grid {
    grid-template-columns: 1fr;
  }
  .art-card {
    flex-basis: 100%;
  }
}

/* -----------------------------------------------------------------
 * INNER PAGE HERO (.hero-slim; .hero-compact drops the grid and
 * tightens spacing on contact, testimonials, and legal pages)
 * ---------------------------------------------------------------*/
.hero-slim {
  padding: 60px 0 40px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  --hero-mask: radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
}
.hero-slim .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}
.hero-slim .hero-eyebrow {
  margin-bottom: 18px;
}
.hero-slim h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
}
.hero-slim .lede {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
}
.hero-slim.hero-compact {
  position: static;
  overflow: visible;
  padding: 56px 0 36px;
  text-align: center;
}
.hero-slim.hero-compact::before {
  content: none;
}
.hero-slim.hero-compact .container {
  position: static;
  z-index: auto;
  max-width: 780px;
}
.hero-slim.hero-compact .hero-eyebrow {
  margin-bottom: 16px;
}
.hero-slim.hero-compact h1 {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 14px;
}
.hero-slim.hero-compact .lede {
  font-size: 17px;
  line-height: 1.6;
  max-width: none;
  margin: 1em 0;
}

/* -----------------------------------------------------------------
 * PRACTICE GRID (service and industry detail pages)
 * ---------------------------------------------------------------*/
.practice {
  padding: 80px 0;
  background: var(--paper);
}
.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
/* Six-item variant: 3 per row on wide, 2 at 1024px, 1 at 700px. The single
 * column is stated here rather than inherited from the .practice-grid collapse
 * further down this file, so the variant does not depend on where that block
 * happens to sit in the cascade. */
.practice-grid--3col {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
}
@media (max-width: 1024px) {
  .practice-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .practice-grid--3col {
    grid-template-columns: 1fr;
  }
}
.pr-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.pr-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.14);
}
.pr-mark {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--serif);
  font-style: italic;
}
.pr-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pr-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 700px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------------
 * INDEX CARDS (services and industries landing pages)
 * ---------------------------------------------------------------*/
.card-grid-section {
  padding: 80px 0;
  background: var(--paper);
}
.index-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.index-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: height 0.3s ease;
}
.index-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.14);
}
.index-card:hover::before {
  height: 100%;
}
.index-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.index-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.index-card .learn {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}
.index-card .learn::after {
  content: " →";
}

/* -----------------------------------------------------------------
 * LEGAL PAGES (privacy, terms)
 * ---------------------------------------------------------------*/
.hero-slim .updated {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.legal-body {
  padding: 72px 0 96px;
  background: var(--paper);
}
.legal-body .container {
  max-width: 780px;
}
.legal-intro {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.legal-body h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
  scroll-margin-top: 96px;
}
.legal-body h3:first-of-type {
  margin-top: 8px;
}
.legal-body p {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 14px;
}
.legal-body ul,
.legal-body ol {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.7;
  padding-left: 22px;
  margin: 0 0 14px;
}
.legal-body li {
  margin-bottom: 8px;
}
.legal-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover {
  color: var(--red-dark);
}
.legal-body code {
  background: var(--paper-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.hero-slim.hero-compact h1:has(+ .updated) {
  margin-bottom: 12px;
}
