/* ==========================================================================
   Repurposing Masterclass — design system v38 "Studio Rose"
   New direction: clean editorial-corporate, structured grids, crisp edges.
   Primary tone anchored on dusty rose #fa9d99 over deep slate neutrals.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  /* --- slate ink --- */
  --ink-950: #1c2126;
  --ink-900: #262c33;
  --ink-800: #333b44;
  --ink-700: #454f5a;
  --ink-500: #707c88;
  --ink-300: #aab4bd;
  --ink-200: #d8dee3;
  --ink-100: #eceff2;

  --paper: #f6f4f2;
  --surface: #ffffff;
  --white: #ffffff;
  --border: #e2e0dd;

  /* --- rose accent --- */
  --accent: #fa9d99;
  --accent-500: #fa9d99;
  --accent-600: #e97e79;
  --accent-700: #c85a56;
  --accent-400: #fcb9b6;
  --accent-100: #fde3e1;
  --accent-50:  #fef3f2;

  /* --- legacy aliases kept so inline var() references still resolve --- */
  --brand-900: #1c2126;
  --brand-800: #262c33;
  --brand-700: #c85a56;
  --brand-600: #e97e79;
  --brand-500: #fa9d99;
  --brand-400: #fcb9b6;
  --brand-300: #fdd0ce;
  --brand-200: #fde3e1;
  --brand-100: #fdedeb;
  --brand-50:  #fef3f2;
  --accent-600-legacy: #e97e79;

  --font-display: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(28, 33, 38, 0.06), 0 1px 2px rgba(28, 33, 38, 0.04);
  --shadow-md: 0 12px 28px -14px rgba(28, 33, 38, 0.20);
  --shadow-lg: 0 32px 64px -24px rgba(28, 33, 38, 0.28);
  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font-family: inherit; cursor: pointer; }
main { flex: 1; }

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

/* ---------- Eyebrow — squared tag with left rule ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-700);
  background: transparent;
  border: none;
  border-left: 3px solid var(--accent);
  padding: 0.2rem 0 0.2rem 0.75rem;
  border-radius: 0;
  font-family: var(--font-body);
}
.eyebrow::before { content: none; }
.eyebrow.blue, .eyebrow.green, .eyebrow.red { color: var(--accent-700); border-color: var(--accent); }
.eyebrow.on-dark,
.page-hero .eyebrow,
.steps-section .eyebrow,
.legal-hero .eyebrow {
  color: #ffe4e2;
  border-left-color: var(--accent-400);
}
.eyebrow.center { justify-content: center; padding-left: 0; border-left: none; }
.eyebrow.center::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.8rem);
  color: var(--ink-950);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.35rem);
  color: var(--ink-950);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-950);
  letter-spacing: -0.01em;
}
.lede { font-size: 1.05rem; line-height: 1.7; color: var(--ink-500); }
.text-muted { color: var(--ink-500); }

/* ---------- Buttons — squared, confident ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.005em;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-gold, .btn-orange {
  background: var(--ink-950);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover, .btn-orange:hover { background: var(--accent-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navy, .btn-blue, .btn-green {
  background: var(--accent);
  color: var(--ink-950);
}
.btn-navy:hover, .btn-blue:hover, .btn-green:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-outline-navy {
  border-color: var(--ink-950);
  color: var(--ink-950);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header — flat white bar, wordmark left, inline nav, hairline rule
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink-950);
  letter-spacing: -0.01em;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 3px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.primary-nav a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color .15s ease, background-color .15s ease;
}
.primary-nav a::after { content: none; }
.primary-nav a:hover { color: var(--ink-950); background: var(--accent-50); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink-800);
}
#mobile-nav { display: none; }

@media (max-width: 960px) {
  .primary-nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  #mobile-nav.is-open {
    display: block;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  #mobile-nav ul { display: flex; flex-direction: column; }
  #mobile-nav a {
    display: block;
    padding: 0.95rem 2rem;
    color: var(--ink-700);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }
  #mobile-nav .btn { margin: 1.2rem 2rem 1.6rem; }
}

/* ==========================================================================
   Inner-page hero — deep slate panel, rose corner tab, left aligned
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--ink-950);
  color: #fff;
  overflow: hidden;
  padding-block: 4.5rem;
  border-bottom: 4px solid var(--accent);
}
.page-hero::before {
  content: "";
  position: absolute;
  right: 0; top: 0;
  width: 40%; height: 100%;
  background: linear-gradient(180deg, rgba(250, 157, 153, 0.14), transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero-inner {
  max-width: 760px;
  margin-inline: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.2rem;
}
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #c8ced5; }

.crumb-trail {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #c8ced5;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
}
.crumb-trail a { color: #c8ced5; }
.crumb-trail a:hover { color: #fff; }

/* ==========================================================================
   Home hero — split two-column: copy left, credentials rail right
   ========================================================================== */
.home-hero {
  position: relative;
  background: var(--ink-950);
  color: #fff;
  padding-block: 5rem 0;
  overflow: hidden;
}
.home-hero::before { content: none; }
.home-hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4rem;
}
.home-hero-copy { max-width: 620px; }
.home-hero-copy .eyebrow { color: #ffe4e2; border-left-color: var(--accent-400); }
.home-hero-copy h1 { margin-block: 1.4rem 1.5rem; color: #fff; }
.home-hero-copy .lede { max-width: 560px; color: #c8ced5; }
.home-hero-actions { display: flex; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; }
.home-hero-actions .btn-orange { background: var(--accent); color: var(--ink-950); }
.home-hero-actions .btn-orange:hover { background: var(--accent-400); }

.hero-chip-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.hero-chip {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-chip:last-child { border-bottom: none; }
.hero-chip .num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-chip p { font-size: 0.85rem; color: #c8ced5; line-height: 1.45; }

/* visual strip — full-bleed banded image with overlay data bar */
.home-visual-strip { position: relative; z-index: 2; padding-block: 0; }
.home-visual-strip .frame {
  position: relative;
  border-radius: 0;
  padding: 0;
  isolation: isolate;
}
.home-visual-strip .frame::before { content: none; }
.home-visual-strip img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  filter: grayscale(0.15);
}
.visual-note {
  position: relative;
  margin-top: 0;
  margin-left: 0;
  max-width: none;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  background: var(--accent);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 1.75rem 2rem;
}
.visual-note .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-950);
  white-space: nowrap;
}
.visual-note p { color: var(--ink-950); font-size: 0.95rem; line-height: 1.6; opacity: 0.85; }
@media (max-width: 900px) {
  .home-hero .wrap { grid-template-columns: 1fr; padding-bottom: 3rem; }
  .visual-note { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ==========================================================================
   Feature section — three-up stat-led cards on white, top-rule accent
   ========================================================================== */
.bento { padding-block: 6rem; background: var(--surface); }
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3.5rem;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.bento-primary {
  background: var(--surface);
  color: var(--ink-800);
  border: none;
  border-radius: 0;
  padding: 3rem;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.6rem;
  box-shadow: none;
  border-top: none;
  border-bottom: 1px solid var(--border);
}
.bento-primary .bento-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bento-primary h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.bento-primary p { color: var(--ink-500); line-height: 1.75; }
.bento-primary ul { margin-top: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.bento-primary li { display: flex; gap: 0.7rem; font-size: 0.92rem; color: var(--ink-700); align-items: flex-start; }
.bento-primary li::before {
  content: "";
  margin-top: 0.45rem;
  width: 6px; height: 6px; border-radius: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transform: rotate(45deg);
}

.bento-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.bento-card {
  background: var(--surface);
  color: var(--ink-900);
  border-radius: 0;
  padding: 2.25rem 3rem;
  position: relative;
  overflow: hidden;
}
.bento-card:first-child { border-right: 1px solid var(--border); }
.bento-card:nth-child(2) { background: var(--surface); }
.bento-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--ink-950); }
.bento-card h4::before {
  content: "";
  display: block;
  width: 28px; height: 3px;
  background: var(--accent);
  margin-bottom: 0.9rem;
}
.bento-card p { font-size: 0.9rem; line-height: 1.7; color: var(--ink-500); }

@media (max-width: 900px) {
  .bento-primary { grid-template-columns: 1fr; }
  .bento-primary ul { grid-template-columns: 1fr; }
  .bento-side { grid-template-columns: 1fr; }
  .bento-card:first-child { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ==========================================================================
   Steps — horizontal numbered rail, top-aligned index, equal cards
   ========================================================================== */
.steps-section {
  background: var(--ink-950);
  padding-block: 6rem;
  color: #fff;
}
.steps-section h2 { color: #fff; }
.steps-section .lede { color: #c8ced5; }

.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding-left: 0;
}
.steps-track::before { content: none; }
.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.5rem;
  box-shadow: none;
}
.step-card .step-num {
  position: static;
  transform: none;
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  color: var(--accent);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: none;
  margin-bottom: 1rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: #fff; }
.step-card p { font-size: 0.86rem; color: #b7bec6; line-height: 1.6; }
@media (max-width: 1000px) {
  .steps-track { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps-track { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sections + skills — flat list rows with vertical index rail
   ========================================================================== */
.section { padding-block: 6rem; }
.section-head { max-width: 660px; margin-bottom: 3.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; padding-left: 0; border-left: none; }
.section-head.center .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.section-head h2 { margin-top: 1rem; }

.skills-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.skill-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.9rem 0.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  counter-increment: skill;
}
.skills-columns { counter-reset: skill; }
.skill-row .icon-badge {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  border: none;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  flex-shrink: 0;
}
.skill-row .icon-badge svg { display: none; }
.skill-row .icon-badge::before { content: counter(skill, decimal-leading-zero); }
.skill-row h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.skill-row p { color: var(--ink-500); font-size: 0.9rem; line-height: 1.65; }
@media (max-width: 700px) { .skill-row { grid-template-columns: 56px 1fr; } }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.info-card .icon-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  border: none;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.info-card h3 { margin-bottom: 0.55rem; font-size: 1.02rem; }
.info-card p { color: var(--ink-500); font-size: 0.9rem; line-height: 1.6; }

/* ==========================================================================
   Fit-check — single split table, not colour cards
   ========================================================================== */
.fit-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.fit-card { padding: 0; border-radius: 0; overflow: visible; border: none; background: transparent; box-shadow: none; }
.fit-card + .fit-card { border-left: 1px solid var(--border); }
.fit-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 1.4rem 2rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-950);
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.fit-card.yes h3 { border-top: 3px solid var(--accent); }
.fit-card.no h3 { border-top: 3px solid var(--ink-300); }
.fit-card ul { display: flex; flex-direction: column; gap: 1rem; padding: 1.9rem 2rem 2.25rem; }
.fit-card li { display: flex; gap: 0.75rem; font-size: 0.92rem; align-items: flex-start; color: var(--ink-700); }
.fit-card li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  background-repeat: no-repeat;
  background-position: center;
}
.fit-card.yes li::before { background-color: var(--accent-50); box-shadow: inset 0 0 0 1px var(--accent-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23c85a56' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.fit-card.no li::before { background-color: var(--ink-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23707c88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
@media (max-width: 720px) {
  .fit-check { grid-template-columns: 1fr; }
  .fit-card + .fit-card { border-left: none; border-top: 1px solid var(--border); }
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.compare-col { padding: 2.25rem; }
.compare-col + .compare-col { border-left: 1px solid var(--border); }

.callout {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 2rem 2.25rem;
  position: relative;
}
.callout::before { content: none; }
.callout h2 { font-size: 1.05rem; color: var(--ink-950); }
.callout p { margin-top: 0.6rem; color: var(--ink-700); }

/* ==========================================================================
   CTA banner — dark slate panel, rose rule top, split content
   ========================================================================== */
.cta-banner {
  position: relative;
  background: var(--ink-950);
  color: #fff;
  padding: 3.5rem 3rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  text-align: left;
  box-shadow: none;
  border-top: 4px solid var(--accent);
}
.cta-banner::before { content: none; }
.cta-banner-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #c8ced5; margin-inline: 0; }
.cta-banner .actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-start; margin-top: 0; flex-shrink: 0; }
.cta-banner .btn-orange { background: var(--accent); color: var(--ink-950); box-shadow: none; }
.cta-banner .btn-orange:hover { background: var(--accent-400); color: var(--ink-950); }
.cta-banner .btn-outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
@media (max-width: 780px) {
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Contact split — rounded form card + stacked info cards
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.contact-layout > div:first-child { order: 2; }
.contact-layout > div:last-child { order: 1; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: 0.8rem; font-weight: 700; color: var(--ink-900); }
.field input, .field textarea {
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink-900);
  background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-50);
}
.field-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-500); }
.field-consent input { margin-top: 0.2rem; accent-color: var(--accent); }
.required { color: var(--accent-700); }

.form-alert {
  gap: 0.65rem;
  align-items: flex-start;
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  color: var(--accent-700);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1.3rem;
}
.form-alert:not([hidden]) { display: flex; }
.form-alert svg { flex-shrink: 0; margin-top: 0.1rem; }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .icon-badge {
  width: 58px; height: 58px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--ink-500); font-size: 0.92rem; line-height: 1.6; max-width: 380px; margin-inline: auto; }
.form-success .btn { margin-top: 1.5rem; }

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.side-card h3 {
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--accent-700);
}
.side-card address { font-style: normal; font-size: 0.88rem; color: var(--ink-700); line-height: 1.8; }
.side-card ul { display: flex; flex-direction: column; gap: 0.6rem; }
.side-card a { font-size: 0.88rem; color: var(--accent-700); }
.side-card a:hover { text-decoration: underline; }

/* ==========================================================================
   Accordion FAQ — flat rows, rose index
   ========================================================================== */
.accordion-group + .accordion-group { margin-top: 2.75rem; }
.accordion-group h2 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--accent-700);
  margin-bottom: 1.1rem;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 0.8rem;
  overflow: hidden;
  box-shadow: none;
}
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ink-950);
}
.accordion-item[open] summary { background: var(--paper); border-bottom: 1px solid var(--border); }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent-700);
  flex-shrink: 0;
  transition: transform .18s ease;
}
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-item .accordion-body {
  padding: 1.2rem 1.5rem 1.5rem;
  color: var(--ink-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ==========================================================================
   Legal pages — slate banner, filled sticky index card
   ========================================================================== */
.legal-hero {
  background: var(--ink-950);
  color: #fff;
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
}
.legal-hero .wrap { position: relative; }
.legal-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem); margin-top: 0.8rem; }
.legal-hero p { color: #c8ced5; margin-top: 0.5rem; font-size: 0.9rem; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  padding-block: 4rem;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: none;
}
.legal-toc p.label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin: 0 0 0.9rem;
}
.legal-toc ul { display: flex; flex-direction: column; gap: 0.15rem; }
.legal-toc a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-500);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  display: block;
}
.legal-toc a:hover { color: var(--accent-700); background: var(--accent-50); }
.legal-toc .divider { height: 1px; background: var(--border); margin: 1rem 0; }

.legal-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: none;
}
.legal-body section { padding-block: 1.9rem; border-bottom: 1px solid var(--border); }
.legal-body section:first-of-type { padding-top: 0; }
.legal-body section:last-of-type { border-bottom: none; padding-bottom: 0; }
.legal-body h2 { font-size: 1.15rem; margin-bottom: 0.8rem; scroll-margin-top: 100px; }
.legal-body p { color: var(--ink-500); font-size: 0.94rem; line-height: 1.8; }
.legal-body ul { margin-top: 0.6rem; padding-left: 1.2rem; list-style: disc; display: flex; flex-direction: column; gap: 0.45rem; }
.legal-body li { color: var(--ink-500); font-size: 0.92rem; line-height: 1.65; }
.legal-body address {
  font-style: normal;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.3rem;
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.85;
  margin-top: 0.6rem;
}
.legal-body table { width: 100%; border-collapse: collapse; margin-top: 1.1rem; font-size: 0.82rem; }
.legal-body th, .legal-body td { text-align: left; padding: 0.7rem 0.8rem; border: 1px solid var(--border); }
.legal-body th { background: var(--paper); color: var(--ink-950); font-weight: 700; }
.consent-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.consent-toggle:last-child { border-bottom: none; }
.consent-toggle .switch {
  width: 42px; height: 24px;
  border-radius: 999px;
  background: var(--ink-200);
  border: none;
  position: relative;
  flex-shrink: 0;
}
.consent-toggle .switch::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: left .15s ease;
}
.consent-toggle .switch.on { background: var(--accent); }
.consent-toggle .switch.on::before { left: 21px; }
.tag-pill { font-size: 0.68rem; font-weight: 700; color: var(--accent-700); background: var(--accent-50); padding: 0.28rem 0.7rem; border-radius: 999px; }

@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

/* ==========================================================================
   Module list — flat rows with rose index tag
   ========================================================================== */
.module-list { display: flex; flex-direction: column; gap: 0; margin-top: 3.5rem; border-top: 1px solid var(--border); }
.module-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.25rem 0.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}
.module-row > div:first-child { order: 2; min-width: 0; }
.module-num {
  order: 1;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  -webkit-text-stroke: 0;
}
.module-row h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.module-row > div:first-child > p.lede { font-size: 0.95rem; margin-bottom: 1.2rem; }
.module-row .outcomes {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 0.7rem;
}
.module-row ul { display: flex; flex-direction: column; gap: 0.55rem; }
.module-row li { font-size: 0.87rem; color: var(--ink-700); display: flex; gap: 0.6rem; }
.module-row li::before { content: ""; margin-top: 0.5rem; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); flex-shrink: 0; transform: rotate(45deg); }
@media (max-width: 700px) {
  .module-row { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem 0.25rem; }
}

/* ==========================================================================
   Phase grid — equal cards, flat top numeral badge
   ========================================================================== */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3.5rem; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.phase-card {
  padding: 2rem 1.7rem;
  color: var(--ink-800);
  background: var(--surface);
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transform: none;
}
.phase-card + .phase-card { border-left: 1px solid var(--border); }
.phase-card::before { content: none; }
.phase-card .phase-meta { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.phase-card .phase-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--ink-950);
  border: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.phase-card .phase-duration { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-500); }
.phase-card h3 { color: var(--ink-950); margin-bottom: 1.1rem; font-size: 1rem; }
.phase-card ol { display: flex; flex-direction: column; gap: 0.7rem; }
.phase-card li { font-size: 0.85rem; display: flex; gap: 0.5rem; color: var(--ink-500); }
.phase-card li span.n { font-weight: 700; color: var(--accent-700); }
@media (max-width: 860px) {
  .phase-grid { grid-template-columns: 1fr 1fr; }
  .phase-card:nth-child(2n+1) { border-left: none; }
  .phase-card:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .phase-grid { grid-template-columns: 1fr; }
  .phase-card { border-left: none !important; border-top: 1px solid var(--border); }
  .phase-card:first-child { border-top: none; }
}

/* ==========================================================================
   Project showcase — flat cards, square code tag
   ========================================================================== */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.5rem; }
.project-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.project-card-head {
  background: var(--ink-950);
  color: #fff;
  padding: 1.6rem 1.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  border-bottom: 3px solid var(--accent);
}
.project-card-head .code {
  position: static;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  background: var(--accent);
  color: var(--ink-950);
  border-radius: var(--radius-sm);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}
.project-card-head h3 { font-size: 0.98rem; line-height: 1.35; color: #fff !important; padding-left: 0; }
.project-card-body { padding: 1.9rem; flex: 1; display: flex; flex-direction: column; gap: 1.1rem; }
.project-card-body p { font-size: 0.9rem; color: var(--ink-500); line-height: 1.65; }
.project-card-body h4 { font-family: var(--font-body); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 0.6rem; }
.project-card-body ul { display: flex; flex-direction: column; gap: 0.45rem; }
.project-card-body li { font-size: 0.85rem; color: var(--ink-700); display: flex; gap: 0.5rem; }
.project-card-body li::before { content: ""; margin-top: 0.5rem; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); flex-shrink: 0; transform: rotate(45deg); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { font-size: 0.7rem; font-weight: 700; background: var(--paper); border: 1px solid var(--border); color: var(--ink-700); padding: 0.32rem 0.8rem; border-radius: var(--radius-sm); }
@media (max-width: 780px) { .project-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Zigzag feature row — flat media, no offset blob
   ========================================================================== */
.zigzag { padding-block: 6rem; }
.zigzag-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.zigzag-media { position: relative; padding: 0; }
.zigzag-media::before { content: none; }
.zigzag-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 1px solid var(--border);
}
.zigzag-copy h3 { font-size: 1.6rem; margin-bottom: 1.1rem; }
.zigzag-copy p { color: var(--ink-500); line-height: 1.8; }
.zigzag-copy p + p { margin-top: 1.1rem; }
.zigzag-copy ul { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.8rem; }
.zigzag-copy ul li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-700);
  align-items: flex-start;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}
@media (max-width: 780px) {
  .zigzag-row { grid-template-columns: 1fr; gap: 2rem; }
  .zigzag-media { order: -1; padding: 0; }
}

/* ==========================================================================
   Footer — dark slate, top bar (brand + nav inline), columns below, thin rose rule
   Structure unchanged: .footer-top > .footer-grid (brand + 3 cols),
   then .footer-bottom. Layout re-composed via grid areas.
   ========================================================================== */
.site-footer {
  background: var(--ink-950);
  color: #b7bec6;
  border-top: none;
  border-radius: 0;
  margin-top: 2rem;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}
.footer-top { padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-areas: "brand prog legal disc";
  gap: 2.5rem;
}
.footer-brand {
  grid-area: brand;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  align-self: start;
}
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand > p { font-size: 0.87rem; line-height: 1.8; color: #9aa2ab; }
.footer-brand address {
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.85;
  color: #9aa2ab;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand address strong { color: #fff; }

.footer-col:nth-of-type(1) { grid-area: prog; }
.footer-col:nth-of-type(2) { grid-area: legal; }
.footer-col:nth-of-type(3) { grid-area: disc; }
.footer-col { padding-bottom: 0; }
.footer-col h3 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.86rem; color: #9aa2ab; }
.footer-col a:hover { color: var(--accent); }

/* fourth column = disclaimer card, framed instead of full-width ribbon */
.footer-col:nth-of-type(3) {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem;
}
.footer-col:nth-of-type(3) h3 { color: var(--accent); }
.footer-disclaimer {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #9aa2ab;
}
.footer-disclaimer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "prog  legal"
      "disc  disc";
  }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; grid-template-areas: "brand" "prog" "legal" "disc"; }
}

.footer-bottom {
  padding-block: 1.6rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.78rem;
  color: #9aa2ab;
}
.footer-bottom p { position: relative; padding-inline: 0.75rem; }
.footer-bottom p + p::before {
  content: "";
  position: absolute;
  left: -0.4rem; top: 50%;
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--accent);
  transform: translateY(-50%) rotate(45deg);
}
.footer-bottom strong { color: #fff; }

/* ==========================================================================
   Utility
   ========================================================================== */
.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; }
.mt-lg { margin-top: 3rem; }
.center-text { text-align: center; }
.max-w-prose { max-width: 640px; }
.mx-auto { margin-inline: auto; }
