/*
 * Copyright (c) 2026 Meteora Mastery Limited
 * All rights reserved.
 *
 * This software is proprietary to Meteora Mastery Limited
 * and may not be reproduced, modified, or distributed
 * without explicit written permission.
 */

/* Meteora Mastery: services.meteoramastery.com
 *
 * Brand colours and fonts come from /brand/brand.css (the Meteora Mastery brand pack),
 * which is loaded first. This sheet maps those tokens onto the site's layout.
 * Brand rules kept here: apricot is decorative on light backgrounds (1.92:1 on ivory),
 * copper carries accent text on light backgrounds, apricot may carry text on indigo (7.22:1).
 */

:root {
  --indigo: var(--mm-indigo, #18254B);
  --apricot: var(--mm-apricot, #F2A179);
  --ivory: var(--mm-ivory, #FAF6EF);
  --copper: var(--mm-copper, #A34C2E);
  --muted: var(--mm-muted, #576079);
  --border: var(--mm-border, #DDD9D2);
  --ivory-deep: #EFEAE1;
  --surface: #FFFFFF;

  --on-dark: var(--ivory);
  --on-dark-2: rgba(250, 246, 239, 0.8);
  --on-dark-3: rgba(250, 246, 239, 0.64);
  --line-dark: rgba(250, 246, 239, 0.16);
  --tint-dark: rgba(250, 246, 239, 0.06);

  --serif: var(--mm-font-display, 'Libre Bodoni', Georgia, serif);
  --sans: var(--mm-font-body, Lato, Arial, sans-serif);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(24, 37, 75, 0.05), 0 16px 40px -20px rgba(24, 37, 75, 0.25);
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 80px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--indigo);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--apricot); color: var(--indigo); }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; border-radius: 2px; }
:is(.section-dark, .interim-detail, .site-footer, .journey-card, .signs-card, .hero-card, .pillar-platform) :focus-visible {
  outline-color: var(--apricot);
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--indigo); color: var(--ivory); padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.nowrap { white-space: nowrap; }

/* Typography */
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
/* Emphasis in headings is carried by colour, as in the brand guide; no italic exists for these faces. */
h1 em, h2 em, h3 em { font-style: normal; color: var(--copper); }
:is(.section-dark, .interim-detail) :is(h1, h2, h3) em { color: var(--apricot); }

.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}
.eyebrow-on-dark { color: var(--apricot); }
.lede { margin-top: 1.5rem; max-width: 36rem; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--muted); line-height: 1.7; }

/* Buttons (brand: indigo button, apricot accent button with indigo text, 6px radius) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.75rem 1.4rem;
  font: 700 1rem/1.2 var(--sans);
  border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-lg { min-height: 52px; padding: 0.9rem 1.6rem; font-size: 1.0625rem; }
.btn-primary { background: var(--indigo); color: var(--ivory); border-color: var(--indigo); }
.btn-primary:hover { filter: brightness(0.94); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-ghost:hover { background: rgba(24, 37, 75, 0.06); }
:is(.section-dark, .interim-detail) .btn-primary { background: var(--apricot); color: var(--indigo); border-color: var(--apricot); }
:is(.section-dark, .interim-detail) .btn-ghost { color: var(--ivory); border-color: rgba(250, 246, 239, 0.55); }
:is(.section-dark, .interim-detail) .btn-ghost:hover { background: var(--tint-dark); border-color: var(--ivory); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 700; color: var(--copper); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 246, 239, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: clamp(200px, 22vw, 280px); height: auto; }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav ul { display: flex; gap: 1.75rem; }
.primary-nav ul a {
  color: var(--indigo); text-decoration: none; font-size: 0.9688rem;
  padding: 0.5rem 0; position: relative;
}
.primary-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.primary-nav ul a:hover::after, .primary-nav ul a[aria-current]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--border); color: var(--indigo); cursor: pointer;
  position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transform: translateX(-50%); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; transform: none; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--ivory); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 5.5rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.25rem; }

/* Dark brand cards: hero services path, service "signs" card, platform figures */
.journey-card, .signs-card, .hero-card {
  background: var(--indigo); color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.journey-head { display: flex; align-items: center; gap: 1rem; padding: 0 0.25rem 1.25rem; border-bottom: 1px solid var(--line-dark); }
.journey-mark { width: 52px; height: auto; flex: none; }
.journey-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
.journey li + li { border-top: 1px solid var(--line-dark); }
.journey a {
  display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 0.75rem;
  padding: 0.95rem 0.25rem; text-decoration: none; color: var(--on-dark);
  transition: background-color 0.2s ease;
}
.journey a:hover { background: var(--tint-dark); }
.journey-num { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--apricot); }
.journey-text { display: flex; flex-direction: column; line-height: 1.3; }
.journey-stage { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); }
.journey-name { font-size: 1.0625rem; font-weight: 700; margin-top: 0.15rem; }
.journey-arrow { color: var(--on-dark-3); transition: transform 0.2s ease, color 0.2s ease; }
.journey a:hover .journey-arrow { transform: translateX(3px); color: var(--apricot); }
.journey-foot {
  display: flex; align-items: center; gap: 0.65rem; margin-top: 0.5rem; padding: 1rem 0.25rem 0;
  border-top: 1px solid var(--line-dark); font-size: 0.9063rem; color: var(--on-dark-2); text-decoration: none;
}
.journey-foot:hover { color: var(--on-dark); }
.dot { width: 8px; height: 8px; border-radius: 2px; background: var(--apricot); flex: none; }

.credentials { background: var(--ivory-deep); border-block: 1px solid var(--border); }
.credentials-list { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 1.15rem; }
.credentials-list li { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 0.9063rem; color: var(--indigo); }
.credentials-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--apricot); flex: none; }

/* Sections */
.section { padding-block: clamp(4.5rem, 9vw, 7rem); }
.section-alt { background: var(--ivory-deep); }
.section-dark { background: var(--indigo); color: var(--on-dark); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-intro { margin-top: 1.25rem; font-size: 1.125rem; color: var(--muted); max-width: 40rem; }

/* Services */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.pillar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.pillar:hover { box-shadow: var(--shadow); }
.pillar-head { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.25rem; }
.pillar-num { font-family: var(--serif); font-weight: 500; font-size: 2.25rem; line-height: 1; color: var(--copper); }
.pillar-stage {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  padding-left: 0.875rem; border-left: 1px solid var(--border);
}
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 2.8vw, 2.125rem); line-height: 1.1; letter-spacing: -0.015em; }
.pillar-for { margin-top: 0.6rem; font-weight: 700; font-size: 0.9688rem; }
.pillar-desc { margin-top: 0.6rem; margin-bottom: 1.5rem; color: var(--muted); font-size: 0.9844rem; }
.pillar-link {
  margin-top: 1.5rem; align-self: flex-start; display: inline-flex; gap: 0.4rem;
  font-weight: 700; font-size: 0.9375rem; color: var(--copper); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.pillar-link:hover { text-decoration-thickness: 2px; }
.pillar-platform { background: var(--indigo); border-color: var(--indigo); color: var(--on-dark); }
.pillar-platform .pillar-num, .pillar-platform .pillar-link { color: var(--apricot); }
.pillar-platform .pillar-stage { color: var(--on-dark-3); border-left-color: var(--line-dark); }
.pillar-platform .pillar-desc { color: var(--on-dark-2); }
.pillar-platform .tick-list { border-top-color: var(--line-dark); }
.pillar-platform .tick-list li { color: var(--on-dark); }
.pillar-platform .tick-list li::before { border-color: var(--apricot); }

.tick-list { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--border); display: grid; gap: 0.5rem; }
.tick-list li { position: relative; padding-left: 1.6rem; font-size: 0.9375rem; color: var(--indigo); }
.tick-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.42em; width: 0.7rem; height: 0.4rem;
  border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(-45deg);
}

.interim-band {
  margin-top: 1.25rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 3rem;
  background: var(--ivory-deep); border-left: 4px solid var(--apricot); border-radius: 4px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.5rem, 4vw, 2.75rem);
}
.interim-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.5rem; }
.interim-band h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; }
.interim-copy p:not(.interim-label) { margin-top: 0.6rem; color: var(--muted); max-width: 40rem; }
.interim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.step { border-top: 2px solid var(--indigo); padding-top: 1.5rem; }
.step-num { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.75rem; line-height: 1; color: var(--copper); margin-bottom: 1.25rem; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.9688rem; }

.principles {
  margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.principle { padding: 1.75rem; }
.principle + .principle { border-left: 1px solid var(--border); }
.principle h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.principle p { font-size: 0.9375rem; color: var(--muted); }

/* Experience */
.case-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.75rem; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.case-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; transition: box-shadow 0.25s ease;
}
.case-card:hover { box-shadow: var(--shadow); }
.case-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.625rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 0.875rem; }
.case-card > p:not(.case-kicker) { color: var(--muted); font-size: 0.9844rem; margin-bottom: 1.5rem; }
.evidence-link {
  margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--border);
  display: inline-flex; gap: 0.4rem; font-size: 0.9063rem; font-weight: 700; color: var(--copper); text-decoration: none;
}
.evidence-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.about-profile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
  position: sticky; top: calc(var(--header-h) + 2rem);
}
.about-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--border); }
.about-name { font-family: var(--serif); font-weight: 500; font-size: 1.875rem; line-height: 1.1; margin-top: 1.5rem; }
.about-role { color: var(--muted); font-size: 0.9375rem; margin-top: 0.25rem; }
.about-facts { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: grid; gap: 0.75rem; }
.about-facts li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: var(--indigo); }
.about-facts span {
  flex: none; min-width: 2.75rem; text-align: center; padding: 0.2rem 0.4rem; border-radius: 4px;
  background: var(--ivory-deep); color: var(--copper); font-weight: 700; font-size: 0.8125rem;
}
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.0938rem; margin-top: 1.25rem; max-width: 42rem; }
.about-copy h2 { margin-bottom: 0.75rem; }

/* Contact */
.contact { position: relative; overflow: hidden; text-align: center; }
.contact-inner { position: relative; z-index: 1; max-width: 54rem; }
.contact h2 { color: var(--on-dark); font-size: clamp(2.4rem, 5.2vw, 4rem); }
.contact-intro { margin: 1.5rem auto 0; color: var(--on-dark-2); font-size: 1.125rem; max-width: 38rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.875rem; margin-top: 2.5rem; }
.contact-steps { position: absolute; right: clamp(1rem, 5vw, 4rem); bottom: clamp(1.5rem, 4vw, 3rem); width: clamp(120px, 16vw, 210px); height: auto; }

/* Footer */
.site-footer { background: var(--indigo); color: var(--on-dark-2); border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem 2rem; padding-block: 2.5rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-logo { width: 240px; height: auto; }
.footer-tag { font-size: 0.8125rem; color: var(--on-dark-3); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; justify-content: flex-end; }
.footer-nav a { color: var(--on-dark-2); text-decoration: none; font-size: 0.9063rem; }
.footer-nav a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal {
  grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.8125rem; color: var(--on-dark-3);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
}
.footer-legal a { color: var(--on-dark-2); text-decoration: none; }
.footer-legal a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }

/* Service pages */
.svc-hero { background: var(--ivory); }
.svc-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3.5rem, 7vw, 5.5rem);
}
.svc-hero h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
.breadcrumb { padding-top: clamp(1.25rem, 3vw, 2rem); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8125rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--border); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }

.signs-title, .domain-bars-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 0.5rem; }
.signs li { position: relative; padding: 0.85rem 0 0.85rem 1.5rem; color: var(--on-dark-2); font-size: 0.9688rem; line-height: 1.5; }
.signs li + li { border-top: 1px solid var(--line-dark); }
.signs li::before { content: ""; position: absolute; left: 0.1rem; top: 1.35rem; width: 8px; height: 8px; border-radius: 2px; background: var(--apricot); }

.hero-card-head { display: flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; }
.hero-card-title { font: 700 1rem/1.3 var(--sans); color: var(--on-dark); margin-right: auto; }
.chip {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--apricot); border: 1px solid rgba(242, 161, 121, 0.5); padding: 0.2rem 0.6rem; border-radius: 99px;
}
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1.5rem; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.metric { background: var(--indigo); padding: 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.35rem; }
.metric dd { order: -1; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.5rem); line-height: 1; color: var(--on-dark); }
.metric dt { font-size: 0.8125rem; color: var(--on-dark-3); }
.domain-bars { margin-top: 1.5rem; }
.domain-bars li { display: grid; grid-template-columns: 11.5rem 1fr 2rem; align-items: center; gap: 0.75rem; font-size: 0.8438rem; padding-block: 0.3rem; }
.bar-label { color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 6px; border-radius: 99px; background: var(--line-dark); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--apricot); }
.bar-value { text-align: right; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.w-100 { width: 100%; } .w-32 { width: 32%; } .w-29 { width: 29%; } .w-24 { width: 24%; } .w-22 { width: 22%; }
.domain-bars-note { margin-top: 0.875rem; font-size: 0.75rem; color: var(--on-dark-3); }

.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.offer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
.offer-num { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1; color: var(--copper); margin-bottom: 1.1rem; }
.offer h3 { margin-bottom: 0.6rem; }
.offer p { color: var(--muted); font-size: 0.9688rem; }
.offer-feature { background: var(--ivory-deep); border-color: var(--ivory-deep); border-left: 4px solid var(--apricot); }
.offer-link { margin-top: auto; padding-top: 1rem; font-weight: 700; font-size: 0.9375rem; color: var(--copper); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.interim-detail { background: var(--indigo); color: var(--on-dark); }
.interim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.interim-detail h2 { color: var(--on-dark); }
.interim-detail .section-intro { color: var(--on-dark-2); }
.interim-detail .btn { margin-top: 2rem; }
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.format-card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.5rem; background: var(--tint-dark); }
.format-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1.1; margin-bottom: 0.5rem; color: var(--apricot); }
.format-card p { color: var(--on-dark-2); font-size: 0.9375rem; }
.situations-title { margin-top: 2rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
.situations { margin-top: 0.5rem; }
.situations li { position: relative; padding: 0.75rem 0 0.75rem 1.6rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); }
.situations li::before {
  content: ""; position: absolute; left: 0.15rem; top: 1.15rem; width: 0.7rem; height: 0.4rem;
  border-left: 2px solid var(--apricot); border-bottom: 2px solid var(--apricot); transform: rotate(-45deg);
}

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 6vw, 5rem); }
.h2-sm { font-size: clamp(1.875rem, 3.4vw, 2.5rem); margin-bottom: 1.5rem; }
.split .tick-list, .split-list { margin-top: 0; padding-top: 0; border-top: 0; gap: 0; }
.split .tick-list li, .split-list li { padding-block: 0.85rem; padding-left: 1.85rem; border-top: 1px solid var(--border); font-size: 1rem; }
.split .tick-list li::before, .split-list li::before { top: 1.25rem; }
.inline-link { color: var(--copper); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.for-list li { padding: 0.85rem 0; border-top: 1px solid var(--border); color: var(--muted); }
.for-list strong { color: var(--indigo); font-weight: 700; }

.evidence-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.evidence-list li { border-top: 2px solid var(--indigo); padding-top: 1.25rem; }
.evidence-mark { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.5rem; line-height: 1; color: var(--copper); margin-bottom: 0.75rem; }
.evidence-list p { color: var(--muted); font-size: 0.9688rem; }

.other-services { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.other-services-first { margin-top: 0; }
.other-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-card {
  display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--indigo); text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc-card:hover { box-shadow: var(--shadow); border-color: var(--apricot); }
.svc-card-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.svc-card-name { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; }
.svc-card-go { margin-top: auto; padding-top: 0.75rem; color: var(--copper); font-weight: 700; font-size: 0.9063rem; }

.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.mock {
  background: var(--ivory); color: var(--indigo); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(24, 37, 75, 0.4), 0 0 0 1px var(--border);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 0.7rem 0.9rem; background: var(--ivory-deep); border-bottom: 1px solid var(--border); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.mock-bar em { font-style: normal; font-size: 0.75rem; color: var(--muted); margin-left: 0.75rem; background: var(--surface); border-radius: 4px; padding: 0.15rem 0.75rem; flex: 1; max-width: 220px; }
.mock-body { display: grid; grid-template-columns: 52px 1fr; min-height: 300px; }
.mock-side { background: var(--indigo); padding: 1rem 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.mock-pill { width: 26px; height: 26px; border-radius: 6px; background: var(--tint-dark); }
.mock-pill-active { background: var(--apricot); }
.mock-main { padding: 1.25rem 1.5rem; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 1rem 1.5rem; align-items: center; }
.mock-heading { grid-column: 1 / -1; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.mock-ring {
  width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--indigo) 0 72%, var(--ivory-deep) 72% 100%);
}
.mock-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--ivory); }
.mock-ring span { position: relative; font-family: var(--serif); font-weight: 500; font-size: 1.75rem; }
.mock-rows { display: grid; gap: 0.75rem; }
.mock-row { display: grid; gap: 0.3rem; }
.mock-label { font-size: 0.75rem; color: var(--muted); }
.mock-track { height: 7px; border-radius: 99px; background: var(--ivory-deep); overflow: hidden; }
.mock-fill { display: block; height: 100%; border-radius: inherit; background: var(--indigo); }
.f-85 { width: 85%; } .f-64 { width: 64%; } .f-78 { width: 78%; } .f-52 { width: 52%; }
.mock-caption { margin-top: 0.9rem; font-size: 0.75rem; color: var(--muted); text-align: right; }

/* Simple content pages (privacy, 404) */
.page-hero { background: var(--ivory); border-bottom: 1px solid var(--border); padding-block: clamp(3.5rem, 8vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.page-hero p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); max-width: 40rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-top: 2.75rem; margin-bottom: 0.75rem; }
.prose > :first-child { margin-top: 0; }
.page-hero + .section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.75rem; display: grid; gap: 0.4rem; }
.prose a { color: var(--copper); }
.prose em { font-style: normal; }
.not-found { min-height: 64vh; display: grid; align-items: center; }
.not-found .hero-actions { margin-top: 2rem; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .credentials-list { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 3rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle:nth-child(3) { border-left: 0; }
  .principle:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .hero-grid, .svc-hero-grid { grid-template-columns: 1fr; }
  .journey-card, .hero-card, .signs-card { max-width: 560px; }
  .interim-band { grid-template-columns: 1fr; }
  .interim-grid, .split, .showcase { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-profile { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; align-items: center; }
  .about-profile .about-name { margin-top: 0; }
  .about-photo { grid-row: span 2; }
  .about-facts { grid-column: 1 / -1; }
  .contact-steps { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .js .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--ivory); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .js .primary-nav.is-open { display: flex; }
  .js .primary-nav ul { flex-direction: column; gap: 0; }
  .js .primary-nav ul a { display: block; padding: 0.85rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--border); }
  .js .primary-nav ul a::after { display: none; }
  .js .primary-nav .btn { margin-top: 0.5rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .primary-nav { flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 760px) {
  .pillars, .case-grid, .other-grid, .evidence-list, .format-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .steps, .principles, .offer-grid { grid-template-columns: 1fr; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--border); }
  .domain-bars li { grid-template-columns: 1fr auto; row-gap: 0.4rem; padding-block: 0.4rem; }
  .domain-bars .bar { grid-column: 1 / -1; grid-row: 2; }
  .credentials-list { grid-template-columns: 1fr; gap: 0.6rem; }
  .hero-actions .btn, .contact-actions .btn, .interim-actions .btn { width: 100%; }
  .journey-name { font-size: 1rem; }
  .mock-main { grid-template-columns: 1fr; }
  .mock-ring { width: 96px; height: 96px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .about-profile { grid-template-columns: 1fr; }
  .about-photo { grid-row: auto; }
  .about-profile .about-name { margin-top: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .js .reveal { opacity: 1; transform: none; }
  .site-header { position: static; }
  .nav-toggle, .contact-steps { display: none; }
}
