:root {
  --bg: #f7f6f3;
  --bg-elevated: #ffffff;
  --ink: #1e2430;
  --ink-soft: #5a6270;
  --line: #e2dfd8;
  --accent: #4a7c6f;
  --accent-deep: #356357;
  --warm: #a89070;
  --warm-soft: #ebe4d8;
  --danger: #9b3d3d;
  --success: #2f6b52;
  --shadow: 0 18px 40px rgba(30, 36, 48, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space-section: clamp(4.5rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(74, 124, 111, 0.08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(168, 144, 112, 0.1), transparent 55%),
    linear-gradient(180deg, #faf9f6 0%, var(--bg) 40%, #f3f1ec 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

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

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

.inline-error {
  background: #f8eaea;
  color: var(--danger);
  border: 1px solid #e7c7c7;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.75rem 0;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 246, 243, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-0.15rem);
}

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

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

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

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  margin: 0.28rem auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

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

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

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

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

.btn--soft {
  background: var(--warm-soft);
  color: var(--ink);
}

/* Hero variants */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 var(--space-section);
}

.hero--asymmetric {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.hero__lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 34ch;
  color: var(--ink-soft);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ink);
  font-weight: 520;
}

.hero__meta span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hero__visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  transform: scale(1.02);
  animation: softZoom 14s ease-in-out infinite alternate;
}

.hero__caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 0.9rem 1rem;
  background: rgba(247, 246, 243, 0.92);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

@keyframes softZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section--tight {
  padding: 2.5rem 0;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--warm);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 18ch;
}

.section__intro {
  max-width: 52ch;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-block: 1px solid var(--line);
  padding: 1.75rem 0;
}

.proof-strip p {
  margin: 0;
  font-size: 0.95rem;
}

.proof-strip strong {
  color: var(--ink);
  font-weight: 600;
}

/* Course / blog grids — interaction containers, not decorative cards */
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.item:hover {
  border-color: #c9c4b8;
  transform: translateY(-3px);
}

.item__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--warm-soft);
}

.item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item:hover .item__media img {
  transform: scale(1.04);
}

.item__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.item__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.item__body p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.benefit-list {
  display: grid;
  gap: 1.25rem;
}

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

.benefit:last-child {
  border-bottom: 0;
}

.benefit__index {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.25rem;
  min-width: 2rem;
}

.quote-stack {
  display: grid;
  gap: 1.5rem;
}

.quote {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink);
  line-height: 1.4;
}

.quote footer {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cta-band {
  margin: var(--space-section) 0;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(74, 124, 111, 0.12), rgba(168, 144, 112, 0.16)),
    var(--bg-elevated);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  max-width: 16ch;
  margin: 0;
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 54ch;
  font-size: 1.05rem;
}

.media-bleed {
  margin: 0 0 2.5rem;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
}

.media-bleed img {
  width: 100%;
  height: clamp(240px, 40vw, 420px);
  object-fit: cover;
}

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

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

.price-tier--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.price-tier h2 {
  font-size: 1.45rem;
}

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

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

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

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

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

.form-field label {
  font-size: 0.92rem;
  color: var(--ink);
}

.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
}

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

.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-color: #d4a0a0;
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

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

.form-status--success {
  background: #e7f3ec;
  color: var(--success);
}

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

.contact-aside {
  display: grid;
  gap: 1.25rem;
}

.contact-aside h2 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.contact-aside p {
  margin: 0;
  white-space: pre-line;
}

/* Legal */
.legal {
  max-width: 72ch;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

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

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

.legal th {
  background: rgba(255, 255, 255, 0.7);
}

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

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

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

/* Footer */
.site-footer {
  margin-top: var(--space-section);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: rgba(255, 255, 255, 0.45);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

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

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

.site-footer a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.footer-address {
  white-space: pre-line;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
  animation: slideUp 0.45s ease;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.92rem;
  max-width: 42ch;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-banner-error {
  position: fixed;
  bottom: 7rem;
  left: 1rem;
  right: 1rem;
  z-index: 61;
  max-width: 720px;
  margin-inline: auto;
}

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

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
}

.module-list span {
  font-family: var(--font-display);
  color: var(--accent);
}

.case-study {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.case-study h3 {
  font-size: 1.5rem;
}

.rating {
  letter-spacing: 0.08em;
  color: var(--warm);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero--asymmetric,
  .split,
  .item-grid,
  .price-grid,
  .proof-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 280px;
  }

  .hero__visual img {
    min-height: 280px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: 4.5rem 1rem auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
