:root {
  --ink: #142033;
  --ink-soft: #3a465c;
  --muted: #6b7588;
  --line: #e4e8ef;
  --paper: #f7f4ee;
  --paper-2: #fffdf9;
  --surface: #ffffff;
  --accent: #b23a2f;
  --accent-deep: #8d2b23;
  --navy: #1a2b4a;
  --navy-2: #24385f;
  --gold: #c9a46a;
  --shadow: 0 18px 50px rgba(20, 32, 51, 0.10);
  --shadow-sm: 0 8px 24px rgba(20, 32, 51, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(178, 58, 47, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(26, 43, 74, 0.07), transparent 55%),
    var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.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: -3rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 238, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 8px 24px rgba(20,32,51,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.brand img { height: 42px; width: auto; }
.nav {
  display: flex; align-items: center; gap: 1.35rem;
  font-weight: 550; color: var(--ink-soft); font-size: .98rem;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  place-items: center; gap: 6px; flex-direction: column; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-nav {
  display: none; flex-direction: column; gap: .85rem; padding: .25rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line); background: var(--paper-2);
}
.mobile-nav a { font-weight: 600; padding: .55rem 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; border-radius: 999px; border: 1px solid transparent;
  padding: .85rem 1.35rem; font-weight: 650; letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  cursor: pointer; text-align: center; min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .65rem 1.05rem; font-size: .92rem; min-height: 40px; }
.btn-lg { padding: 1rem 1.55rem; font-size: 1.02rem; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(178, 58, 47, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 28px rgba(178, 58, 47, 0.34); }
.btn-secondary {
  background: var(--surface); border-color: var(--line); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost {
  background: transparent; border-color: color-mix(in srgb, var(--ink) 18%, transparent);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,.55); }
.btn-light {
  background: #fff; color: var(--navy); box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 3.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 1.1rem;
  font-weight: 650; text-wrap: pretty;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), #d46a3a 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  font-size: 1.12rem; color: var(--ink-soft); max-width: 38rem; margin: 0 0 1.6rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; margin: 0; padding: 1.15rem 0 0; border-top: 1px solid var(--line);
}
.stats dt {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .35rem;
}
.stats dd { margin: 0; color: var(--muted); font-size: .92rem; max-width: 12ch; }
.hero-media { position: relative; }
.portrait-frame {
  border-radius: 28px; overflow: hidden; background: #dfe5ef;
  box-shadow: var(--shadow); aspect-ratio: 4/5;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.floating-card {
  position: absolute; left: -1rem; bottom: 1.5rem;
  background: rgba(255,253,249,.94); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.8); border-radius: 16px;
  padding: 1rem 1.15rem; max-width: 15.5rem; box-shadow: var(--shadow-sm);
}
.floating-card strong {
  display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .35rem;
}
.floating-card p { margin: 0; font-size: .95rem; color: var(--ink-soft); font-weight: 550; }

/* Manifesto */
.manifesto {
  padding: 1rem 0 3.5rem;
}
.manifesto-inner {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 55%, #2f1f28 100%);
  color: #f4efe7; border-radius: 28px; padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: var(--shadow);
}
.manifesto .section-kicker { color: var(--gold); }
.manifesto h2 {
  font-family: var(--font-display); font-weight: 550; margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.35; max-width: 22ch;
  text-wrap: pretty;
}
.manifesto h2 span { color: #fff; font-weight: 700; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-kicker {
  margin: 0 0 .7rem; font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.section-head h2, .about-copy h2, .podcast-copy h2, .final-inner h2 {
  font-family: var(--font-display); font-weight: 650; letter-spacing: -0.02em;
  line-height: 1.15; margin: 0 0 .75rem; font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  text-wrap: pretty;
}
.section-sub { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.section-cta { margin-top: 2rem; }

.service-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.45rem 1.5rem; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #d5dbe6;
}
.service-index {
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  color: var(--gold); margin-bottom: .75rem;
}
.service-card h3 {
  margin: 0 0 .55rem; font-size: 1.22rem; letter-spacing: -0.01em;
}
.service-card p { margin: 0; color: var(--ink-soft); }

/* About */
.about {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background:
    linear-gradient(180deg, transparent, rgba(255,253,249,.8) 12%, rgba(255,253,249,.95) 88%, transparent);
}
.about-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.about-media {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #d7dde8;
  aspect-ratio: 4/5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-role {
  margin: 0 0 1.2rem; color: var(--muted); font-weight: 600;
}
.about-body p { margin: 0 0 1rem; color: var(--ink-soft); }
.about-body .pull {
  font-family: var(--font-display); font-size: 1.22rem; color: var(--navy);
  border-left: 3px solid var(--accent); padding-left: 1rem; margin: 1.4rem 0 1.6rem;
  line-height: 1.35;
}

/* Products */
.formations { background: linear-gradient(180deg, transparent, rgba(26,43,74,.03)); }
.product-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem;
}
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.product-media { background: #eef1f6; aspect-ratio: 16/10; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.product-tag {
  margin: 0; font-size: .78rem; font-weight: 750; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.product-body h3 { margin: 0; font-size: 1.28rem; line-height: 1.25; letter-spacing: -0.015em; }
.product-body > p { margin: 0; color: var(--ink-soft); }
.product-body ul {
  margin: .2rem 0 1rem; padding-left: 1.1rem; color: var(--ink-soft);
  display: grid; gap: .35rem;
}
.product-body .btn { align-self: flex-start; margin-top: auto; }

/* Podcast */
.podcast { padding: clamp(3rem, 7vw, 5rem) 0; }
.podcast-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
.podcast-copy p { color: var(--ink-soft); max-width: 36rem; }
.podcast-media {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm);
  max-width: 360px; margin-left: auto;
}
.podcast-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Final CTA */
.final-cta { padding: 1rem 0 4rem; }
.final-inner {
  text-align: center; color: #fff;
  background:
    radial-gradient(700px 280px at 20% 0%, rgba(201,164,106,.25), transparent 60%),
    linear-gradient(145deg, var(--accent-deep), #6d1f24 45%, var(--navy) 100%);
  border-radius: 28px; padding: clamp(2.4rem, 6vw, 4rem) 1.5rem;
  box-shadow: var(--shadow);
}
.final-inner p {
  margin: 0 auto 1.5rem; max-width: 34rem; color: rgba(255,255,255,.88); font-size: 1.08rem;
}

/* Footer */
.site-footer {
  background: #101826; color: rgba(244,239,231,.82); padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: .9rem; }
.footer-brand p { margin: 0; max-width: 32ch; color: rgba(244,239,231,.7); }
.footer-label {
  margin: 0 0 .7rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.footer-links, .footer-social { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a:hover, .social-row a:hover { color: #fff; }
.social-row { display: flex; flex-wrap: wrap; gap: .85rem 1.1rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.1rem;
  color: rgba(244,239,231,.55); font-size: .92rem;
}
.footer-note { margin: 0; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .about-grid, .podcast-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; }
  .floating-card { left: .75rem; right: .75rem; max-width: none; bottom: .9rem; }
  .about-media { max-width: 420px; }
  .podcast-media { margin: 0; max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: flex; }
  .service-grid, .product-grid, .stats { grid-template-columns: 1fr; }
  .stats { gap: .85rem; }
  .stats dd { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { width: min(var(--max), calc(100% - 1.5rem)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card { transition: none; }
  .btn:hover, .service-card:hover { transform: none; }
}
