/* Insightful Metrics — soft neutral, large type, generous space */
:root {
  --bg: #f7f5f1;
  --bg-elevated: #fffcf8;
  --ink: #1c2421;
  --ink-soft: #4a5550;
  --line: #d9d4cb;
  --accent: #2a3f3a;
  --accent-soft: #a8c4b8;
  --accent-muted: #e4ebe7;
  --warn: #8a3b2d;
  --ok: #2f5d45;
  --radius: 2px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --measure: 68ch;
  --header-h: 4.25rem;
  --shadow-soft: 0 18px 40px rgba(28, 36, 33, 0.06);
}

*,
*::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(1200px 600px at 10% -10%, rgba(168, 196, 184, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(217, 212, 203, 0.55), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

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

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.6em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1em; max-width: var(--measure); color: var(--ink-soft); }

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

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

.inline-error {
  background: #f8e8e4;
  color: var(--warn);
  padding: 0.85rem 1.25rem;
  margin: 0;
  border-bottom: 1px solid #e8c4ba;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(247, 245, 241, 0.88);
  border-bottom: 1px solid var(--line);
}

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

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

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

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: var(--accent);
  color: #f7f5f1 !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: #1c2c28;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.4rem 1.4rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  body.nav-open { overflow: hidden; }
}

/* Layout */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.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.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  max-width: 42rem;
}

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

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

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

.btn-primary:hover {
  background: #1c2c28;
  color: #fff;
}

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

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero — brand-forward, full-bleed image plane */
.hero-home {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #f7f5f1;
  overflow: hidden;
}

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

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-pan 28s ease-in-out infinite alternate;
}

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

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

.hero-home .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 0.35em;
  line-height: 0.95;
  color: #f7f5f1;
  animation: rise-in 0.9s ease both;
}

.hero-home h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 450;
  max-width: 28ch;
  color: #e8efe9;
  margin-bottom: 0.75em;
  animation: rise-in 0.9s ease 0.12s both;
}

.hero-home .lede {
  color: rgba(247, 245, 241, 0.82);
  animation: rise-in 0.9s ease 0.22s both;
}

.hero-home .btn-row { animation: rise-in 0.9s ease 0.32s both; }

.hero-home .btn-ghost {
  border-color: rgba(247, 245, 241, 0.45);
  color: #f7f5f1;
}

.hero-home .btn-ghost:hover {
  background: rgba(247, 245, 241, 0.1);
  border-color: #f7f5f1;
  color: #fff;
}

.hero-home .btn-primary {
  background: var(--accent-soft);
  color: var(--ink);
}

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

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

@keyframes slow-pan {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

/* Page heroes (interior) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 16ch; }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 860px) {
  .split-2 { grid-template-columns: 1.1fr 0.9fr; }
  .split-reverse { grid-template-columns: 0.9fr 1.1fr; }
  .split-3 { grid-template-columns: repeat(3, 1fr); }
  .split-pricing { grid-template-columns: repeat(3, 1fr); }
}

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

.feature-rail article {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .feature-rail article {
    grid-template-columns: 8rem 1fr;
    gap: 2rem;
    align-items: baseline;
  }
}

.feature-rail .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-soft);
  font-weight: 500;
}

/* Programme teasers */
.programme-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .programme-grid { grid-template-columns: 1.35fr 1fr; gap: 2rem; }
}

.programme-feature {
  position: relative;
  overflow: hidden;
}

.programme-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 0.6s ease;
}

.programme-feature:hover img {
  transform: scale(1.03);
}

.programme-feature .meta,
.programme-side .meta {
  padding-top: 1.15rem;
}

.programme-side {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.programme-side a {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.programme-side img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.programme-side h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35em;
  color: var(--ink);
}

.programme-side p {
  font-size: 0.95rem;
  margin: 0;
}

/* Quote / social */
.proof-strip {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
  border-block: 1px solid var(--line);
}

@media (min-width: 700px) {
  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.proof-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.proof-strip span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.quote-block {
  max-width: 40rem;
  margin: 0;
  padding: 0;
  border: none;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: none;
}

.quote-block footer {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Pricing */
.price-tier {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.price-tier:last-child { border-bottom: 1px solid var(--line); }

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

.price-tier ul {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
}

.price-tier li { margin-bottom: 0.45rem; }

.price-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 2rem;
}

/* Reviews */
.review-list {
  display: grid;
  gap: 2.5rem;
}

.review-item {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.review-item .rating {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.review-item .attribution {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

.case-study h3 { margin-top: 0; }

/* Blog */
.blog-list {
  display: grid;
  gap: 2.75rem;
}

.blog-item {
  display: grid;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 720px) {
  .blog-item {
    grid-template-columns: 280px 1fr;
    align-items: center;
  }
}

.blog-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-item h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.4em;
  color: var(--ink);
}

.blog-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.article-body {
  max-width: 68ch;
  padding: 2.5rem 0 4rem;
}

.article-body h2 {
  margin-top: 2.2em;
  font-size: 1.65rem;
}

.article-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 1.5rem 0 0;
}

/* Forms */
.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.field .hint {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 36rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  font: inherit;
  color: var(--ink);
}

.field textarea { min-height: 160px; resize: vertical; }

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

.field-error {
  display: block;
  min-height: 1.2em;
  margin-top: 0.35rem;
  color: var(--warn);
  font-size: 0.88rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  max-width: 36rem;
}

.form-status.is-success {
  background: var(--accent-muted);
  color: var(--ok);
}

.form-status.is-error {
  background: #f8e8e4;
  color: var(--warn);
}

.contact-aside address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Legal */
.legal-body {
  max-width: 70ch;
  padding: 2.5rem 0 4rem;
}

.legal-body h2 {
  margin-top: 2em;
  font-size: 1.5rem;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

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

.legal-body th {
  background: var(--accent-muted);
  color: var(--ink);
  font-weight: 600;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent-soft);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

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

.faq details p {
  margin-top: 0.75rem;
}

/* Modules */
.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  counter-increment: mod;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-soft);
}

.module-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.instructor {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .instructor {
    grid-template-columns: 140px 1fr;
  }
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1.4rem;
  animation: rise-in 0.45s ease both;
}

.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
  max-width: 52rem;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: rgba(247, 245, 241, 0.78);
  margin-top: 4rem;
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #f7f5f1;
  margin: 0 0 0.5rem;
}

.footer-tag {
  color: rgba(247, 245, 241, 0.7);
  max-width: 28rem;
}

.footer-cols {
  display: grid;
  gap: 2rem;
  margin: 2.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.site-footer h3 {
  color: #f7f5f1;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

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

.site-footer li { margin-bottom: 0.45rem; }

.site-footer a {
  color: rgba(247, 245, 241, 0.78);
  text-decoration: none;
}

.site-footer a:hover { color: #fff; }

.site-footer address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-copy {
  border-top: 1px solid rgba(247, 245, 241, 0.18);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(247, 245, 241, 0.55);
  max-width: none;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1.4rem;
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 7rem);
  margin-bottom: 0.2em;
}

/* Utilities */
.muted { color: var(--ink-soft); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.media-full {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.pull-quote-side {
  border-left: 3px solid var(--accent-soft);
  padding-left: 1.25rem;
  margin: 2rem 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-home-media img { transform: none; }
}
