/* ==========================================================================
   John Andrews Risk Management — Website Styles
   Primary #b53237 · Secondary/Background #1f2121
   ========================================================================== */

:root {
  --primary: #b53237;
  --primary-600: #9b2a2e;
  --primary-300: #b53237;
  --bg: #ffffff;
  --bg-2: #f7f4ed;
  --bg-3: #efe9dc;
  --surface: #ffffff;
  --line: rgba(31,33,33,0.10);
  --line-strong: rgba(31,33,33,0.22);
  --text: #1f2121;
  --muted: #5e6262;
  --cream: #f4eee5;
  --cream-2: #efe6d6;
  --gold: #e0b774;
  --ok: #6dbf8b;
  --warn: #e2b341;
  --danger: #d8534f;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.25), 0 8px 24px rgba(0,0,0,.25);
  --shadow-2: 0 30px 80px rgba(0,0,0,.45);
  --maxw: 1240px;
  --serif: "Fraunces", "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ----- Risk ticker ----- */
.ticker {
  background: #f4eee5;
  border-bottom: 1px solid var(--line);
  color: #1f2121;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  overflow: hidden;
}
.ticker__label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.ticker__label .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.ticker__viewport { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  padding-left: 100%;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 8px; }
.ticker__item .sev {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
}
.sev.high { background: var(--danger); }
.sev.med { background: var(--warn); }
.sev.low { background: var(--ok); }
.ticker__item strong { color: #1f2121; font-weight: 700; }
.ticker__item span { color: #5e6262; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
}
.brand__logo {
 width: 194px;
    height: auto; border-radius: 10px;
  background: #fff; padding: 4px;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
}
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .01em;
  line-height: 1.05;
}
.brand__name em {
  font-style: italic; color: var(--primary-300); font-weight: 500;
}
.brand__sub {
  font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase;
}

.nav__links {
  display: flex; gap: 30px; align-items: center;
  list-style: none; padding: 0; margin: 0;
}
.nav__links a {
  color: #1f2121; font-size: 14.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.nav__links a:hover { color: var(--primary); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--primary);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-600); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); }
.btn--cream { background: var(--cream); color: #1f2121; }
.btn--cream:hover { background: #fff; }
.btn--lg { padding: 16px 28px; font-size: 15.5px; }
.btn .arrow {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: inline-flex; align-items: center; justify-content: center;
}
.btn--cream .arrow, .btn--ghost .arrow { background: rgba(0,0,0,.08); }

.nav__toggle {
  display: none;
  background: transparent; border: 1px solid var(--line-strong);
  width: 42px; height: 42px; border-radius: 12px; color: var(--text);
  align-items: center; justify-content: center;
}

/* ----- Hero card ----- */
.hero-wrap { padding: 28px 24px 0; }
.hero {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--cream);
  color: #1f2121;
  border-radius: 32px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr .55fr;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at -10% 110%, rgba(181,50,55,.10), transparent 60%),
    radial-gradient(600px 300px at 110% -20%, rgba(31,33,33,.08), transparent 60%);
  pointer-events: none;
}
.hero__copy { position: relative; z-index: 1; padding: 8px 4px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 24px;
}
.hero h1 em {
  font-style: italic; font-weight: 500; color: var(--primary);
  position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'><path d='M0 5 Q 10 0 20 5 T 40 5 T 60 5 T 80 5 T 100 5 T 120 5' fill='none' stroke='%23b53237' stroke-width='2'/></svg>") repeat-x;
  background-size: 60px 10px;
}
.hero h1 .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: #f1d6c3; border-radius: 50%;
  vertical-align: -10px; margin: 0 6px;
}
.hero h1 .badge svg { width: 26px; height: 26px; color: #1f2121; }
.hero__meta {
  display: flex; align-items: center; gap: 20px;
  border-top: 1px solid rgba(0,0,0,.12);
  padding-top: 18px; margin-top: 8px;
  font-size: 14px;
}
.hero__meta strong {
  font-family: var(--serif); font-style: italic; color: var(--primary); font-size: 18px; font-weight: 600;
}
.hero__meta p { margin: 0; color: #4a4c4c; max-width: 280px; }
.hero__cta {
  display: flex; align-items: center; gap: 16px; margin-top: 26px;
}
.hero__demo {
  display: inline-flex; align-items: center; gap: 10px; color: #1f2121; font-weight: 600; font-size: 14.5px;
}
.hero__demo .play {
  width: 44px; height: 44px; border-radius: 50%;
  background: #1f2121; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero__demo .play::after {
  content: ""; width: 0; height: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px;
}
.hero__demo u { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* Hero feature card (red) */
.hero__feature {
  position: relative;
  background: linear-gradient(160deg, #b53237 0%, #7e1f23 100%);
  border-radius: 22px;
  color: #fff;
  padding: 24px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(126, 31, 35, .35);
}
.hero__feature::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(400px 300px at 80% 20%, rgba(255,255,255,.12), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'><g fill='none' stroke='white' stroke-opacity='.08' stroke-width='1'><path d='M50 300 Q 200 100 400 250 T 600 300'/><path d='M-50 380 Q 150 230 380 350 T 650 380'/><path d='M0 200 Q 200 50 380 180 T 700 220'/></g></svg>");
  background-size: cover;
}
.hero__feature h3 {
  font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0; position: relative;
}
.hero__feature h3 em { font-style: italic; }
.hero__feature .tag {
  position: relative; align-self: flex-start;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.hero__feature .map { position: absolute; bottom: -30px; right: -30px; width: 320px; opacity: .5; }

/* Side stack */
.hero__side { display: flex; flex-direction: column; gap: 16px; }
.hero__chip {
  background: #cfe1ff; color: #0c1a33;
  border-radius: 20px; padding: 18px 20px;
  position: relative; min-height: 130px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.hero__chip.gold { background: var(--cream-2); color: #1f2121; }
.hero__chip h4 { font-family: var(--serif); font-weight: 500; font-size: 17px; margin: 0; line-height: 1.2; }
.hero__chip h4 em { font-style: italic; color: var(--primary); }
.hero__chip .icon {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.7);
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-end;
  color: #1f2121;
}
.hero__chip .face {
  width: 64px; height: 64px; border-radius: 50%; background: #b8d2ff; align-self: flex-end;
  display: inline-flex; align-items: center; justify-content: center; font-size: 28px;
}

/* ----- Section ----- */
section { padding: 80px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
  max-width: 720px;
}
.section-head h2 em { font-style: italic; color: var(--primary-300); }
.section-head p { color: var(--muted); max-width: 380px; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary-300); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}

/* Services grid */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.service-card {
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.service-card .num {
  font-family: var(--serif); font-style: italic; color: var(--primary-300);
  font-size: 14px;
}
.service-card .more { margin-top: auto; }
.service-card h3 {
  font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 24px 0 10px; line-height: 1.15;
}
.service-card h3 em { font-style: italic; color: var(--primary-300); }
.service-card p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; color: var(--text);
}
.service-card .more::after {
  content: "→"; transition: transform .2s ease;
}
.service-card:hover .more::after { transform: translateX(4px); }
.service-card.feature {
  background: linear-gradient(160deg, #b53237, #7e1f23); border-color: transparent;
}
.service-card.feature .num, .service-card.feature h3 em { color: #f5c5c7; }
.service-card.feature p { color: rgba(255,255,255,.85); }

/* ----- Case studies ----- */
.cases {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px;
}
.case-card {
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  background: #ffffff; min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.case-card.lg { min-height: 480px; }
.case-card .meta {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(181,50,55,.08); border: 1px solid rgba(181,50,55,.25);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
  align-self: flex-start;
}
.case-card h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.1; margin: 18px 0 0; max-width: 520px;
}
.case-card h3 em { font-style: italic; color: var(--primary-300); }
.case-card .stats {
  display: flex; gap: 22px; flex-wrap: wrap;
  border-top: 1px solid var(--line-strong); padding-top: 18px; margin-top: 18px;
}
.case-card .stat strong {
  display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--text);
}
.case-card .stat span { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.case-card.cream { background: var(--cream); color: #1f2121; }
.case-card.cream .meta { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.1); color: var(--primary); }
.case-card.cream h3 em { color: var(--primary); }
.case-card.cream .stat strong { color: #1f2121; }
.case-card.cream .stat span { color: #6a6a6a; }
.case-card.cream .stats { border-top-color: rgba(0,0,0,.1); }
.case-card .bg-deco {
  position: absolute; right: -40px; bottom: -40px; opacity: .15; width: 320px; pointer-events: none;
}

.cases-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px;
}
.cases-row .case-card { min-height: 320px; }

/* ----- Podcasts ----- */
.podcasts-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch;
}
.podcast-feature {
  background: linear-gradient(160deg, #ffffff, #f7f4ed);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 28px; position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.podcast-feature::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(181,50,55,.18), transparent 60%);
}
.podcast-feature > * { position: relative; }
.podcast-feature .embed {
  margin-top: 18px; border-radius: 18px; overflow: hidden;
  background: #000; aspect-ratio: 16/9;
}
.podcast-feature iframe { width: 100%; height: 100%; border: 0; display: block; }
.podcast-feature h3 {
  font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 8px 0; line-height: 1.1;
}
.podcast-feature h3 em { font-style: italic; color: var(--primary-300); }
.podcast-feature p { color: var(--muted); margin: 0 0 14px; }

.podcast-list {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.podcast-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center;
  padding: 12px; border-radius: 14px;
  transition: background .15s ease;
}
.podcast-row:hover { background: rgba(0,0,0,.04); }
.podcast-row .thumb {
  width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(160deg, #b53237, #2a2c2c);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--serif); font-size: 20px;
}
.podcast-row h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.podcast-row p { margin: 0; font-size: 12.5px; color: var(--muted); }
.podcast-row .duration { color: var(--muted); font-size: 12.5px; }
.podcast-row .play-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.podcast-row .play-btn:hover { background: var(--primary); border-color: var(--primary); }

/* Podcasts page grid */
.podcast-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.podcast-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 22px;
}
.podcast-card .embed { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: #000; margin-bottom: 16px; }
.podcast-card iframe { width: 100%; height: 100%; border: 0; }
.podcast-card.spreaker .embed { aspect-ratio: auto; height: 200px; }
.podcast-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 6px; }
.podcast-card p { color: var(--muted); margin: 0; font-size: 14px; }

/* Podcast grid — inline play */
.podcast-card .embed { position: relative; cursor: pointer; }
.podcast-card .embed .cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.podcast-card .play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45));
  border: 0; transition: background .15s ease;
}
.podcast-card .play-overlay:hover { background: linear-gradient(180deg, rgba(0,0,0,.15) 40%, rgba(0,0,0,.55)); }
.podcast-card .play-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s ease;
}
.podcast-card .embed:hover .play-icon { transform: scale(1.08); }
.podcast-card .embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ----- Subscribe ----- */
.subscribe-hero {
  position: relative;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(181,50,55,.18), transparent 60%),
    linear-gradient(160deg, #ffffff, #f4eee5);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.subscribe-hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'><g fill='none' stroke='%23b53237' stroke-opacity='.12'><circle cx='1000' cy='200' r='280'/><circle cx='1000' cy='200' r='200'/><circle cx='1000' cy='200' r='120'/></g></svg>") no-repeat right center / contain;
  pointer-events: none;
}
.subscribe-hero > * { position: relative; }
.subscribe-hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 60px);
  line-height: 1.05; letter-spacing: -.02em; margin: 0 0 16px; max-width: 720px;
}
.subscribe-hero h1 em { font-style: italic; color: var(--primary-300); }
.subscribe-hero p { color: var(--muted); max-width: 560px; margin: 0 0 28px; font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.plan h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0; }
.plan .price { font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; }
.plan .price span { font-size: 14px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.plan ul { padding: 0; margin: 8px 0 18px; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.plan ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.plan ul li::before {
  content: "✓"; color: var(--primary-300); font-weight: 700; flex: 0 0 auto;
}
.plan.featured { background: linear-gradient(160deg, #b53237, #7e1f23); border-color: transparent; }
.plan.featured ul li { color: rgba(255,255,255,.95); }
.plan.featured ul li::before { color: #fff; }
.plan.featured .badge {
  position: absolute; top: 18px; right: 18px;
  background: #fff; color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}
.plan .btn { margin-top: auto; }

.subscribe-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 28px; border-radius: var(--radius-xl);
}
.subscribe-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.subscribe-form input, .subscribe-form select, .subscribe-form textarea {
  background: #ffffff; border: 1px solid var(--line-strong); color: var(--text); border-radius: 12px; padding: 14px 16px; font: inherit;
}
.subscribe-form input:focus, .subscribe-form select:focus, .subscribe-form textarea:focus { border-color: var(--primary); outline: none; }
.subscribe-form .full { grid-column: 1 / -1; }
.subscribe-form button { margin-top: 6px; }

/* ----- About ----- */
.about-hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: end;
}
.about-hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -.02em; margin: 0;
}
.about-hero h1 em { font-style: italic; color: var(--primary-300); }
.about-hero p { color: var(--muted); font-size: 16px; max-width: 460px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.value {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
}
.value .ico {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(181,50,55,.10); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.value h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 6px; }
.value p { color: var(--muted); font-size: 14.5px; margin: 0; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px;
}
.member .ph {
  height: 240px; border-radius: 14px;
  background: linear-gradient(160deg, #f4eee5, #e4dcc8);
  display: flex; align-items: end; padding: 14px;
  font-family: var(--serif); font-size: 60px; font-style: italic; color: rgba(31,33,33,.22);
  margin-bottom: 14px;
}
.member h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 0; }
.member span { color: var(--muted); font-size: 13px; }

.timeline {
  display: flex; gap: 0; overflow-x: auto; padding-bottom: 14px;
  border-top: 1px solid var(--line); padding-top: 30px;
}
.timeline .step {
  min-width: 280px; padding: 0 24px; border-left: 1px solid var(--line);
}
.timeline .step:first-child { border-left: none; padding-left: 0; }
.timeline .year { color: var(--primary-300); font-family: var(--serif); font-style: italic; font-size: 22px; }
.timeline h5 { margin: 6px 0 6px; font-family: var(--serif); font-weight: 500; font-size: 18px; }
.timeline p { color: var(--muted); font-size: 14px; margin: 0; }

/* ----- Stats strip ----- */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 0;
}
.stats-strip .stat {
  padding: 32px 24px; border-left: 1px solid var(--line);
}
.stats-strip .stat:first-child { border-left: none; }
.stats-strip strong { font-family: var(--serif); font-size: 44px; font-weight: 500; display: block; line-height: 1; color: var(--text); }
.stats-strip strong em { font-style: italic; color: var(--primary); }
.stats-strip span { color: var(--muted); font-size: 13.5px; letter-spacing: .04em; }

/* ----- Logos / partners ----- */
.logos {
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
  opacity: .8; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logos span {
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted);
}

/* ----- CTA strip ----- */
.cta {
  background: linear-gradient(160deg, #b53237, #7e1f23);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'><g fill='none' stroke='white' stroke-opacity='.12'><path d='M0 200 Q 200 50 400 200 T 800 200'/><path d='M0 240 Q 200 90 400 240 T 800 240'/><path d='M0 280 Q 200 130 400 280 T 800 280'/></g></svg>") no-repeat center / cover;
}
.cta > * { position: relative; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 48px); margin: 0; line-height: 1.05; }
.cta h2 em { font-style: italic; }
.cta p { color: rgba(255,255,255,.85); margin: 0; }
.cta .actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* ----- Footer ----- */
.site-footer {
  background: #1f2121;
  color: #ececec;
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.footer-grid h5 { font-family: var(--serif); font-weight: 500; font-size: 16px; margin: 0 0 14px; color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #9aa0a0; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: #9aa0a0; }
.site-footer .footer-grid > div > p { color: #9aa0a0 !important; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px;
  color: #9aa0a0; font-size: 13px;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center; color: #ddd;
}
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ----- Page hero (for inner pages) ----- */
.page-hero {
  padding: 60px 0 40px; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 76px); margin: 0; line-height: 1; letter-spacing: -.02em; }
.page-hero h1 em { font-style: italic; color: var(--primary-300); }
.page-hero p { color: var(--muted); margin: 16px 0 0; max-width: 560px; }
.crumbs { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.crumbs a { color: var(--primary-300); }

/* ----- Filters ----- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 30px; }
.chip {
  background: transparent; color: var(--text); border: 1px solid var(--line-strong);
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
}
.chip.active, .chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
}
.contact-info h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 0 0 6px; }
.contact-info a { color: var(--primary); font-weight: 600; }

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__side { grid-column: 1 / -1; flex-direction: row; }
  .hero__chip { flex: 1; }
  .services, .cases-row, .plans, .team, .values { grid-template-columns: repeat(2, 1fr); }
  .cases, .podcasts-hero, .about-hero, .cta, .contact-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero { padding: 24px; grid-template-columns: 1fr; }
  .hero__side { flex-direction: column; }
  .services, .cases-row, .plans, .team, .values, .podcast-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .subscribe-hero, .cta { padding: 32px; }
  .subscribe-form { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----- Imagery ----- */
.service-card .thumb {
  width: 100%; height: 140px; border-radius: 14px; object-fit: cover;
  display: block; margin-bottom: 8px;
}
.service-card.feature .thumb { mix-blend-mode: luminosity; opacity: .85; }
.service-card.feature:hover .thumb { mix-blend-mode: normal; opacity: 1; }

.case-card { isolation: isolate; }
.case-card .bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.case-card.has-img { color: #fff; border-color: transparent; }
.case-card.has-img::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(31,33,33,.55) 0%, rgba(31,33,33,.85) 100%);
}
.case-card.has-img .meta { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }
.case-card.has-img .stat strong { color: #fff; }
.case-card.has-img .stat span { color: rgba(255,255,255,.75); }
.case-card.has-img .stats { border-top-color: rgba(255,255,255,.2); }
.case-card.has-img h3 em { color: #f5c5c7; }
.case-card.has-img.red::before {
  background: linear-gradient(160deg, rgba(181,50,55,.65) 0%, rgba(126,31,35,.92) 100%);
}

.member .ph { padding: 0; overflow: hidden; align-items: stretch; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

.podcast-row .thumb { overflow: hidden; padding: 0; }
.podcast-row .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.podcast-card .cover {
  width: 100%; height: 180px; border-radius: 14px; object-fit: cover; display: block;
  margin-bottom: 14px;
}

.hero__feature .bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: overlay; opacity: .55; z-index: 0;
}
.hero__feature > *:not(.bg) { position: relative; z-index: 1; }

.about-hero__img {
  border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5;
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.subscribe-hero__img {
  position: absolute; right: 32px; top: 32px; bottom: 32px; width: 42%;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  z-index: 1;
}
.subscribe-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.subscribe-hero { padding-right: 48%; }
@media (max-width: 1080px) {
  .subscribe-hero__img { display: none; }
  .subscribe-hero { padding: 32px; }
}

.page-hero { position: relative; }
.page-hero__media {
  margin-top: 30px;
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 21 / 9; border: 1px solid var(--line);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-info .info-card.with-img { padding: 0; overflow: hidden; }
.contact-info .info-card.with-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.contact-info .info-card.with-img .body { padding: 20px 24px 24px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 60;
  background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
  padding: 80px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu a { font-family: var(--serif); font-size: 28px; }

/* ----- Team profiles (about) ----- */
.team--profiles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.member[data-profile] { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.member[data-profile]:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 10px 30px rgba(31,33,33,.08); }
.member__btn {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.member[data-profile]:hover .member__btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.member__detail { display: none; }

/* ----- Profile modal ----- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(31,33,33,.55); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; z-index: 1; width: min(680px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2); padding: 28px;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 16px; right: 16px; background: var(--cream); border: 1px solid var(--line);
  color: var(--text); width: 38px; height: 38px; border-radius: 12px; font-size: 16px;
}
.modal__close:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.modal__head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.modal__ph { width: 92px; height: 92px; border-radius: 16px; overflow: hidden; flex-shrink: 0; background: var(--cream); }
.modal__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal__head h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 4px; line-height: 1.1; }
.modal__head span { color: var(--primary-300); font-size: 14px; font-weight: 600; }
.modal__body p { color: var(--text); font-size: 15px; margin: 0 0 14px; line-height: 1.65; }
.modal__body p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .modal__head { flex-direction: column; align-items: flex-start; } .modal__ph { width: 100%; height: 200px; } }
.mobile-menu .close { position: absolute; top: 20px; right: 20px; background: transparent; border: 1px solid var(--line-strong); color: var(--text); width: 42px; height: 42px; border-radius: 12px; }
