/* Analyticsondemand — soft neutral, large type, generous space */
:root {
  --bg: #f3f2ef;
  --bg-elevated: #fafaf8;
  --ink: #1c1e1d;
  --ink-soft: #4a4f4c;
  --muted: #6e746f;
  --line: #ddd9d2;
  --accent: #2f4f47;
  --accent-hover: #243d37;
  --accent-soft: #d8e4df;
  --highlight: #8fa89c;
  --danger: #8b3a3a;
  --success: #2f4f47;
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(143, 168, 156, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(47, 79, 71, 0.06), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 242, 239, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand:hover { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 450;
}

.site-nav a:hover { color: var(--ink); }

.site-nav .nav-cta {
  background: var(--accent);
  color: #f7f9f8;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
}

.site-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s var(--ease);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--space) 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border: 0;
  }
}

main { outline: none; }

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

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  max-width: 38rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #f7f9f8;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: #f5f5f3;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 28, 26, 0.35) 0%, rgba(20, 28, 26, 0.72) 70%, rgba(20, 28, 26, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(3rem, 10vw, 6rem) var(--space) clamp(3rem, 8vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: #f7f9f8;
  animation: rise 0.9s var(--ease) both;
}

.hero h1 {
  color: #e8eee9;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  max-width: 28ch;
  margin-bottom: 1rem;
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero p {
  color: rgba(232, 238, 233, 0.82);
  max-width: 36rem;
  margin-bottom: 1.75rem;
  animation: rise 0.9s 0.22s var(--ease) both;
}

.hero .btn {
  animation: rise 0.9s 0.32s var(--ease) both;
}

.hero .btn-primary {
  background: #f3f2ef;
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Proof strip */
.proof {
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  text-align: center;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--ink);
}

.proof-grid span {
  font-size: 0.9rem;
  color: var(--muted);
}

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

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.split-img {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
}

.split-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* Feature list — not cards */
.benefit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.benefit-item .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--highlight);
}

/* Course grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.course-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.course-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: transform 0.5s var(--ease);
}

.course-item:hover img {
  transform: scale(1.02);
}

.course-item h3 {
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.course-item p {
  font-size: 0.95rem;
  flex-grow: 1;
}

.course-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}

.quote {
  max-width: 40rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent-soft);
}

.quote p {
  font-size: 1.15rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.45;
}

.quote footer {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.quote.wide { max-width: 52rem; }
.quote.short p { font-size: 1rem; font-family: var(--font-body); }

.stars {
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-tier {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
}

.price-tier.featured {
  border-color: var(--accent);
  background: #eef3f0;
}

.price-tier h3 { margin-bottom: 0.35rem; }

.price-tier .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ink);
  margin: 1rem 0 0.25rem;
}

.price-tier .amount span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.price-tier ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  flex-grow: 1;
}

.price-tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--ink);
  width: 100%;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.form-row .error {
  color: var(--danger);
  font-size: 0.85rem;
  display: none;
}

.form-row.has-error .error { display: block; }
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: var(--danger);
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
  font-size: 0.95rem;
}

.form-status.success {
  display: block;
  background: var(--accent-soft);
  color: var(--accent);
}

.form-status.error {
  display: block;
  background: #f3e4e4;
  color: var(--danger);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-details address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.blog-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-row time {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .blog-row { grid-template-columns: 1fr; }
}

.article {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--space);
}

.article .cover {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

/* Page hero (inner) */
.page-hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 1rem; }

/* Legal */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--space) clamp(4rem, 8vw, 6rem);
}

.legal h1 { margin-bottom: 0.5rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal h2 { margin-top: 2.25rem; font-size: 1.45rem; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.25rem 0;
}

.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal th { background: var(--bg-elevated); }

/* FAQ */
.faq {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.2rem;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  margin: 0.85rem 0 0;
  max-width: 40rem;
}

/* Modules */
.modules {
  margin-top: 1.5rem;
  counter-reset: mod;
}

.module {
  counter-increment: mod;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}

.module::before {
  content: counter(mod, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--highlight);
  font-size: 1.25rem;
}

/* 404 */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--space);
}

.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* CTA band */
.cta-band {
  background: var(--accent);
  color: #e8eee9;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-band h2 { color: #f7f9f8; }
.cta-band p { color: rgba(232, 238, 233, 0.8); max-width: 32rem; }
.cta-band .btn-primary {
  background: #f3f2ef;
  color: var(--ink);
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background: #1c1e1d;
  color: #c5cbc7;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  margin-top: auto;
}

.site-footer .brand { color: #f3f2ef; }
.site-footer a { color: #c5cbc7; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a918c;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.footer-brand { max-width: 22rem; margin-bottom: 2.5rem; }
.footer-brand p { color: #8a918c; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-cols li { margin-bottom: 0.5rem; }

.footer-cols address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #8a918c;
}

.footer-copy {
  border-top: 1px solid #2e322f;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #6e746f;
  margin: 0;
}

@media (max-width: 800px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  padding: 1.25rem var(--space);
  box-shadow: 0 -8px 32px rgba(28, 30, 29, 0.08);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.inline-error {
  background: #f3e4e4;
  color: var(--danger);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-size: 0.9rem;
}

.instructor {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.instructor img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.outcomes {
  columns: 2;
  gap: 2rem;
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .outcomes { columns: 1; }
  .benefit-item { grid-template-columns: 1fr; gap: 0.35rem; }
}

.case-study {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.case-study + .case-study { margin-top: 2.5rem; }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
