/* ===== Fonts ===== */
@font-face {
  font-family: "Playfair Display";
  src: url("PlayfairDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("PlayfairDisplay-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("PlayfairDisplay-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("Manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("Manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ===== Tokens ===== */
:root {
  --bg: #18212b;
  --bg-panel: #1e2834;
  --bg-panel-2: #212c39;
  --line: #33404f;
  --gold: #b99a5b;
  --gold-soft: #b99a5b;
  --ink: #f3f0e8;
  --ink-muted: #d5d5cc;
  --ink-faint: #a8a89e;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ===== Nav ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0 1.25rem;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-links {
  display: flex;
  gap: 2.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.3px;
  font-style: normal;
  font-weight: 600;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 0.75; }
.nav-links a.active { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.back-link {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-link:hover { color: var(--gold); }

.nav-toggle-checkbox { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav .wrap { flex-wrap: wrap; position: relative; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-toggle-checkbox:checked ~ .nav-links { max-height: 600px; margin-top: 1.25rem; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 0.9rem 0.2rem; }
}

/* ===== Sections / layout ===== */
section { padding: 4rem 0; }
section.tight { padding: 2.5rem 0; }
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}
.divider-full {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
  width: 100%;
}

.eyebrow {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}
.kicker {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.75rem;
}

h1, h2, h3 { font-family: var(--font-body); font-weight: 700; margin: 0; }
h2 { font-size: 1.7rem; color: var(--gold); }
h3 { font-size: 1.15rem; color: var(--ink); }
p { margin: 0 0 1.1rem; color: var(--ink-muted); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }

/* ===== Hero ===== */
.hero { padding: 3rem 0 4rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-grid > div { min-width: 0; }
.hero-word {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: clamp(4.5rem, 9vw, 6.5rem);
  line-height: 0.95;
  margin: 0;
}
.hero-phonetic {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin: 1rem 0 1.5rem;
}
.hero-phonetic em { color: var(--gold); font-style: italic; font-family: var(--font-display); }
.hero-definition { color: var(--ink-muted); font-size: 0.95rem; font-style: italic; margin: 0 0 1.25rem; max-width: 480px; }
.hero-tagline {
  font-size: 1.65rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 2rem;
  max-width: 30ch;
}
.hero-tagline .accent { color: var(--gold); }

.badge-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.badge {
  text-align: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.badge .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
  color: var(--gold);
}
.badge .icon svg { width: 28px; height: 28px; }
.badge-sep { width: 1px; height: 52px; background: var(--line); }

@media (max-width: 480px) {
  .badge-row { gap: 0.6rem; flex-wrap: nowrap; }
  .badge { font-size: 9px; letter-spacing: 0.3px; }
  .badge .icon { width: 42px; height: 42px; margin-bottom: 0.4rem; }
  .badge .icon svg { width: 18px; height: 18px; }
}

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-art svg { width: 100%; max-width: 420px; height: auto; }
.hero-art img { width: 100%; max-width: 470px; height: auto; display: block; margin: 0 auto; }
.hero-caption {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1.5;
  text-align: center;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  white-space: nowrap;
}
.hero-caption-bar {
  display: inline-block;
  width: 1px;
  height: 34px;
  background: var(--gold-soft);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-caption { white-space: normal; font-size: 1.15rem; }
}

/* ===== Full-width image blocks (hero photo, diagrams) ===== */
.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;
}
.full-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.hero-photo-wrap { margin: 2.5rem 0; }
.diagram-image-wrap { margin: 2rem 0; }

/* ===== Capabilities cards ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cap-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
}
.cap-kicker { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.cap-icon svg { width: 20px; height: 20px; }
.cap-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cap-card ul { list-style: none; margin: 0; padding: 0; }
.cap-card li {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.9rem;
  padding-left: 1rem;
  position: relative;
}
.cap-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 860px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* ===== Intro block ===== */
.intro-block h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.intro-block p { font-size: 1rem; }

.intro-personal-avatar { width: 100px; height: 100px; border-radius: 50%; border: 1px solid var(--gold-soft); flex-shrink: 0; object-fit: cover; }
.intro-personal-name { font-size: 1.4rem; font-weight: 700; color: var(--ink); margin: 0 0 0.6rem; }

.story-panel {
  background: var(--bg-panel);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  align-items: center;
}
.story-panel img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  object-fit: cover;
}
.story-panel p { font-size: 1.05rem; max-width: 620px; }

.offer-headline { font-size: 1.6rem; font-weight: 700; color: var(--ink); max-width: 780px; line-height: 1.4; margin: 1.25rem 0 2rem; }
.offer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0 0 2.5rem; }
.offer-card { border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem; background: var(--bg-panel-2); }
.offer-card .n { color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.75rem; display: block; }
.offer-card h4 { font-size: 1.1rem; color: var(--ink); margin: 0 0 0.5rem; }
.offer-card p { font-size: 14px; margin: 0; }

@media (max-width: 720px) {
  .story-panel { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 2rem; }
  .offer-list { grid-template-columns: 1fr; }
}

/* ===== About block ===== */
.about-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}
.about-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--gold-soft);
}
.about-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin: 0 0 2px; }
.about-role { font-size: 14px; color: var(--ink-faint); margin: 0 0 12px; }
.about-linkedin {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 1.1rem;
}
.about-linkedin:hover { text-decoration: underline; }
.about-quote {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  margin: 1.25rem 0 0;
  font-style: italic;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.about-stats .stat-num {
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 800;
  margin: 0;
}
.about-stats .stat-label {
  font-size: 12px;
  color: var(--ink-faint);
  margin: 2px 0 0;
}
.about-linkedin svg { width: 18px; height: 18px; vertical-align: -3px; }

@media (max-width: 600px) {
  .about-card { flex-direction: column; align-items: center; text-align: center; }
  .about-quote { text-align: left; }
}

/* ===== Approach steps ===== */
.flow-line {
  color: var(--ink-muted);
  font-size: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}
.flow-line .arrow { color: var(--gold); margin: 0 0.4rem; }

.mini-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 2.5rem 0 3rem;
}
.mini-flow-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.mini-flow-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.mini-flow-icon svg { width: 20px; height: 20px; }
.mini-flow-step span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.mini-flow-arrow { color: var(--gold); font-size: 1.4rem; flex-shrink: 0; }

@media (max-width: 860px) {
  .mini-flow { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .mini-flow-arrow { display: none; }
  .mini-flow-step { width: 100%; }
  .mini-flow-step span { white-space: normal; }
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.steps > div { display: flex; flex-direction: column; }
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step-num {
  position: relative;
  z-index: 1;
  background: var(--bg);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 auto 1.25rem;
}
.step-card {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.steps > div:not(:last-child) .step-card::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -1.7rem;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 2rem;
  font-weight: 700;
  z-index: 1;
  text-shadow: 0 0 8px rgba(185,154,91,0.4);
}
.step-card h3 { font-size: 1.35rem; margin-bottom: 1.1rem; min-height: 2.6em; }
.step-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.step-card li {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.step-note {
  margin: auto 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-style: italic;
  color: var(--ink-faint);
}
.step-note-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  background: var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 0.6rem;
}
.step-note-icon svg { width: 18px; height: 18px; }
.step-foot-text {
  display: inline-block;
  max-width: 160px;
}

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .steps > div { margin-bottom: 2rem; }
  .steps > div:not(:last-child) .step-card::after { content: "↓"; top: auto; bottom: -1.6rem; right: 50%; transform: translateX(50%); }
}

/* ===== How I Work (numbered circles) ===== */
.hiw-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.hiw-row::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.hiw-circle {
  position: relative;
  z-index: 1;
  background: var(--bg);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.hiw-row h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.hiw-row p { font-size: 14px; }
.hiw-foot {
  text-align: center;
  border-top: 1px solid var(--gold-soft);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .hiw-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hiw-row { grid-template-columns: 1fr; }
  .hiw-row::before { display: none; }
  .hiw-row > div { margin-bottom: 1.5rem; }
}

/* ===== Case studies ===== */
.case-label { font-size: 12px; letter-spacing: 1.5px; color: var(--ink-faint); margin-bottom: 0.5rem; }
.case-title { color: var(--gold); font-size: 1.4rem; margin-bottom: 1.25rem; }
.case-block + .case-block { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.case-note { font-style: italic; color: var(--ink-faint); font-size: 0.9rem; margin-top: 1.5rem; }

.diagram-frame {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem;
  margin: 2rem 0;
}
.diagram-frame h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 0.4rem; }
.diagram-frame .sub { color: var(--ink-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.diagram-frame hr.divider { margin: 1.25rem 0 1.75rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.pill {
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.flow-card {
  position: relative;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.1rem;
}
.flow-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -1rem;
  width: 1rem;
  height: 1px;
  background: var(--gold-soft);
  z-index: 1;
}
.flow-card .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 14px;
  margin-right: 10px;
  vertical-align: middle;
}
.flow-card .label { font-size: 12px; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; vertical-align: middle; }
.flow-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0.75rem 0 0.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.flow-card p { font-size: 14px; margin: 0; }

.outcome-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0;
  position: relative;
}
.outcome-connector {
  position: relative;
  height: 32px;
  margin-top: 1.5rem;
}
.outcome-connector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--gold-soft);
}
.outcome-connector::after {
  content: "";
  position: absolute;
  top: -24px;
  right: 4%;
  width: 1px;
  height: 24px;
  background: var(--gold-soft);
}
.outcome-connector .stub-left,
.outcome-connector .stub-right {
  position: absolute;
  top: 0;
  width: 1px;
  height: 32px;
  background: var(--gold-soft);
}
.outcome-connector .stub-left { left: 25%; }
.outcome-connector .stub-right { left: 75%; }
.outcome-connector .oc-kicker {
  position: absolute;
  top: -22px;
  left: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.outcome-connector .oc-label {
  position: absolute;
  top: -22px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
  white-space: nowrap;
}
.outcome-connector .oc-label.left { left: 25%; transform: translateX(-50%); }
.outcome-connector .oc-label.right { left: 75%; transform: translateX(-50%); }
.outcome-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}
.outcome-card h4 { font-family: var(--font-body); color: var(--ink); font-size: 18px; margin: 0 0 0.5rem; }
.outcome-card p { font-size: 14px; margin: 0; }
.outcome-flag { font-size: 12px; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; margin-bottom: 0.5rem; }

.center-note { text-align: center; font-weight: 600; color: var(--ink); margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }

.model-panel { background: var(--bg-panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; margin-bottom: 0.5rem; }
.model-panel-label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.model-io { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin: 0; }
.io-pill { text-align: center; font-size: 15px; color: var(--ink-muted); padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.model-arrows-down { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.25rem 0; }
.model-arrows-down span { text-align: center; color: var(--gold); font-size: 1.6rem; line-height: 1; }
.model-flow { display: flex; align-items: stretch; gap: 0; position: relative; margin-bottom: 0; }
.model-flow .model-box { flex: 1; }
.model-flow .model-arrow { display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; padding: 0 0.5rem; }
.model-box { background: var(--bg-panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }
.model-box h4 { font-family: var(--font-body); font-size: 18px; color: var(--ink); margin: 0 0 0.75rem; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; }
.model-box ul { list-style: none; padding: 0; margin: 0; }
.model-box li { font-size: 15px; color: var(--ink-muted); margin-bottom: 6px; }

@media (max-width: 560px) {
  .model-panel { padding: 1.1rem; margin-bottom: 0.3rem; }
  .simple-arrow-down { margin: 0.4rem 0; font-size: 1.1rem; }
  .model-box { padding: 0.9rem 1rem; }
  .model-box h4 { font-size: 16px; margin-bottom: 0.5rem; padding-bottom: 0.4rem; }
  .model-flow .model-arrow { padding: 0.25rem 0; font-size: 0.9rem; }
  .center-note { margin-top: 1rem !important; }
}

.model-loop { position: relative; height: 110px; margin: 0 1px 1.5rem; }
.model-loop::before {
  content: "";
  position: absolute;
  top: 76px;
  left: 1%;
  right: 1%;
  border-top: 1px dashed var(--gold-soft);
}
.model-loop .riser-left,
.model-loop .riser-right {
  position: absolute;
  top: 0;
  width: 0;
  height: 76px;
  border-left: 1px dashed var(--gold-soft);
}
.model-loop .riser-left { left: 1%; }
.model-loop .riser-right { right: 1%; }
.model-loop .riser-left::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -4px;
  border: 4px solid transparent;
  border-bottom-color: var(--gold-soft);
}
.model-loop .loop-label {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  text-align: center;
}
.model-loop .loop-label strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.model-loop .loop-label span {
  font-size: 14px;
  color: var(--ink-muted);
}

.model-outputs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 0; }
.model-outputs > div { position: relative; padding-left: 1rem; }
.model-outputs > div:first-child { padding-left: 0; }
.model-outputs > div:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}
.model-outputs h5 { font-family: var(--font-body); font-size: 16px; color: var(--ink); margin: 0 0 0.4rem; }
.model-outputs p { font-size: 15px; margin: 0; }

.mobile-scroll { width: 100%; }

/* Connector row: numbers + lines, built with flex — no absolute positioning to drift or overlap */
.wf-connectors {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}
.wf-num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  background: var(--bg-panel);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
}
.wf-line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
  min-width: 8px;
}

/* Card row: plain CSS grid, each card is a flex column so content can never overlap */
.wf-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.wf-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.wf-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--ink); margin: 0; }
.wf-card p { font-size: 14px; line-height: 1.5; color: var(--ink-muted); margin: 0; }

.wf-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.wf-outcome { text-align: center; }
.wf-outcome .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 0.75rem;
}
.wf-outcome h4 { font-family: var(--font-body); font-size: 16px; color: var(--ink); margin: 0 0 0.4rem; }
.wf-outcome p { font-size: 14px; color: var(--ink-muted); margin: 0; }

@media (max-width: 960px) {
  .wf-connectors, .wf-cards { display: none; }
}

/* Mobile vertical timeline — shared by any step-based diagram (Case 01 workflow, Case 03 statement flow) */
.step-flow-mobile { display: none; }
@media (max-width: 960px) {
  .step-flow-mobile { display: flex; flex-direction: column; }
}
.step-flow-mobile .step-flow-item { display: flex; align-items: flex-start; gap: 1rem; }
.step-flow-mobile .step-flow-marker { display: flex; flex-direction: column; align-items: center; flex: 0 0 44px; }
.step-flow-mobile .step-flow-num {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold-soft); background: var(--bg-panel);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; line-height: 1; flex-shrink: 0;
}
.step-flow-mobile .step-flow-connector { width: 1px; flex: 1; min-height: 28px; background: var(--line); margin: 4px 0; }
.step-flow-mobile .step-flow-item:last-child .step-flow-connector { display: none; }
.step-flow-mobile .step-flow-card {
  flex: 1; border: 1px solid var(--line); border-radius: 10px;
  padding: 1.1rem 1.1rem 1.4rem; margin-bottom: 1rem;
}
.step-flow-mobile .step-flow-card h4 { font-weight: 700; font-size: 16px; color: var(--ink); margin: 0 0 0.4rem; }
.step-flow-mobile .step-flow-card p { font-size: 14px; line-height: 1.5; color: var(--ink-muted); margin: 0; }
/* Filled variant for statement boxes (Case 03), matching .model-box's visual weight */
.step-flow-mobile .step-flow-card.filled { background: var(--bg-panel-2); padding: 1.1rem; }
.step-flow-mobile .step-flow-card.filled h4 { font-size: 18px; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; margin-bottom: 0.6rem; }
.step-flow-mobile .step-flow-card.filled ul { list-style: none; padding: 0; margin: 0; }
.step-flow-mobile .step-flow-card.filled li { font-size: 15px; color: var(--ink-muted); margin-bottom: 6px; }

@media (max-width: 900px) {
  .model-flow { display: none; }
}

@media (max-width: 560px) {
  .wf-outcomes { grid-template-columns: 1fr; gap: 1.75rem; }
}
.simple-arrow-down { text-align: center; color: var(--gold); font-size: 1.4rem; margin: 1.25rem 0; }

.model-outputs-simple { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.model-outputs-simple h5 { font-family: var(--font-body); font-size: 16px; color: var(--ink); margin: 0 0 0.4rem; }
.model-outputs-simple p { font-size: 14px; color: var(--ink-muted); margin: 0; }
@media (max-width: 900px) {
  .model-outputs-simple { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .model-outputs-simple { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 900px) {
  .flow-steps, .model-arrows-down, .model-outputs { grid-template-columns: repeat(2, 1fr); }
  .model-io { grid-template-columns: 1fr; gap: 0; }
  .model-io .io-pill:last-child { border-bottom: none; }
  .model-flow { flex-direction: column; }
  .model-flow .model-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
  .flow-card:not(:last-child)::after { content: "↓"; top: auto; bottom: -1.2rem; right: 50%; transform: translateX(50%); }
  .outcome-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .flow-steps { grid-template-columns: 1fr; }
  .flow-card:not(:last-child)::after { bottom: -1.4rem; }
  .flow-card { margin-bottom: 1.6rem; }

  .model-outputs { grid-template-columns: 1fr; }
  .model-outputs > div { padding-left: 0; }
  .model-outputs > div::before { display: none; }

  .model-arrows-down { display: block; text-align: center; margin: 1rem 0; }
  .model-arrows-down span:not(:first-child) { display: none; }

  .outcome-connector { display: none; }
  .outcome-row { margin-top: 1.5rem; }
  .outcome-row::before {
    content: "↓";
    display: block;
    text-align: center;
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .model-loop { display: none; }
  .model-loop-mobile {
    display: block;
    text-align: center;
    padding: 1.25rem 0;
  }
  .model-loop-mobile strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
  }
  .model-loop-mobile span {
    font-size: 14px;
    color: var(--ink-muted);
  }
}
@media (min-width: 641px) {
  .model-loop-mobile { display: none; }
}

/* ===== Contact / Scope ===== */
.faq-list { display: flex; flex-direction: column; gap: 1.75rem; }

.subnav { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.subnav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 2px;
}
.subnav a:hover { opacity: 0.75; }
.faq-item h3 { font-size: 1.05rem; color: var(--ink); margin: 0 0 0.5rem; }
.faq-item p { font-size: 15px; margin: 0; }

.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: #16130c;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  transition: opacity 0.15s ease;
}
.cta-btn:hover { opacity: 0.88; }

.contact-email-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-size: 15px;
  color: var(--ink-muted);
  user-select: all;
}
.contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-soft);
  flex-shrink: 0;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
}
