/* ===== 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: #0e1420;
  --bg-panel: #18212b;
  --bg-panel-2: #1c2635;
  --line: #2a3242;
  --gold: #d4a24e;
  --gold-soft: #b98f4a;
  --ink: #f3f1ea;
  --ink-muted: #c7c3b8;
  --ink-faint: #9a9689;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1120px;
}

* { 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-display);
  font-size: 15px;
  letter-spacing: 0.3px;
  font-style: italic;
  font-weight: 500;
  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); }

@media (max-width: 720px) {
  .nav-links { gap: 1.25rem; flex-wrap: wrap; }
  .nav .wrap { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ===== 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;
}

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  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-display); font-weight: 600; 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-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-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.5rem;
  flex-wrap: wrap;
}
.badge {
  text-align: center;
  color: var(--ink-muted);
  font-size: 12.5px;
  letter-spacing: 0.3px;
}
.badge .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  color: var(--gold);
}
.badge-sep { width: 1px; height: 36px; background: var(--line); }

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-art svg { width: 100%; max-width: 420px; height: auto; }
.hero-caption {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  text-align: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

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

/* ===== About block ===== */
.about-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.25rem;
}
.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.15rem; color: var(--ink); margin: 0 0 2px; }
.about-role { font-size: 13px; color: var(--ink-faint); margin: 0 0 12px; }
.about-linkedin {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  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;
}

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

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

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  margin: 0 auto 1rem;
}
.step-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.step-card h3 { font-size: 1.02rem; margin-bottom: 0.75rem; min-height: 2.6em; }
.step-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.step-card li {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.step-foot {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 0.75rem;
}
.step-foot .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 0.5rem;
}

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ===== How I Work (numbered circles) ===== */
.hiw-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.hiw-circle {
  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.1rem; margin-bottom: 0.6rem; }
.hiw-row p { font-size: 13.5px; }
.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; }
}

/* ===== 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.35rem; 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: 0.95rem; 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 {
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem;
}
.flow-card .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12.5px;
  margin-right: 8px;
}
.flow-card .label { font-size: 11px; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; }
.flow-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--ink); margin: 0.6rem 0 0.5rem; }
.flow-card p { font-size: 12.5px; margin: 0; }

.outcome-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.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: 15px; margin: 0 0 0.5rem; }
.outcome-card p { font-size: 13px; margin: 0; }
.outcome-flag { font-size: 11px; 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-io { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin-bottom: 1.75rem; }
.io-pill { background: var(--bg-panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 0.75rem; text-align: center; font-size: 12.5px; color: var(--ink-muted); }
.model-flow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.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: 15px; 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: 13px; color: var(--ink-muted); margin-bottom: 5px; }
.model-outputs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.model-outputs h5 { font-family: var(--font-body); font-size: 13px; color: var(--ink); margin: 0 0 0.4rem; }
.model-outputs p { font-size: 12px; margin: 0; }

@media (max-width: 900px) {
  .flow-steps, .model-io, .model-flow, .model-outputs { grid-template-columns: repeat(2, 1fr); }
  .outcome-row { grid-template-columns: 1fr; }
}

/* ===== Contact / Scope ===== */
.scope-section { max-width: 640px; }
.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; }

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