:root {
  --bg: #fff7f3;
  --bg-alt: #f3ebe6;
  --surface: #ffffff;
  --ink: #3a2f32;
  --muted: #6f5f62;
  --line: #ead9d2;
  --coral: #e59a8b;
  --coral-deep: #c96f5f;
  --sage: #7fa893;
  --sage-deep: #5c8a7a;
  --sky: #b9cfe0;
  --blush: #f3d5ce;
  --peach: #f6c9b8;
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --shadow: 0 10px 28px rgba(58, 47, 50, 0.08);
  --shadow-soft: 0 4px 14px rgba(58, 47, 50, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #fde4dc 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #d9ebe3 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--sage-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

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

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fde8e4;
  color: #7a2e24;
  border-bottom: 1px solid #f0c4bc;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 247, 243, 0.88);
  border-bottom: 1px solid rgba(234, 217, 210, 0.8);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 28%, transparent 29%),
    radial-gradient(circle at 50% 50%, var(--coral) 0 55%, var(--sage) 56% 100%);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.brand-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

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

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: var(--space);
    right: var(--space);
    top: calc(100% + 0.35rem);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}

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

.page-main {
  padding-bottom: 4rem;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(243, 235, 230, 0.65), rgba(255, 247, 243, 0.2));
  border-radius: 2rem;
  margin: 0 var(--space);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 111, 95, 0.28);
}

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

.btn-secondary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 8px 20px rgba(92, 138, 122, 0.22);
}

.btn-secondary:hover {
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

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

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(234, 217, 210, 0.7);
  overflow: hidden;
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--blush);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.35rem;
}

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

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Home hero — asymmetric brand-led composition */
.home-hero {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 5vw, 3.5rem) 0 1rem;
}

@media (min-width: 900px) {
  .home-hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100vh - 5rem);
    padding-top: 2rem;
  }
}

.home-hero-copy .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--ink);
}

.home-hero-copy h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 22ch;
  margin: 0 0 1rem;
  color: var(--muted);
}

.home-hero-visual {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  min-height: 22rem;
  box-shadow: var(--shadow);
  animation: softRise 1s ease both;
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.hero-orb {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8f5, var(--peach));
  opacity: 0.85;
  right: 8%;
  bottom: 10%;
  animation: floaty 5s ease-in-out infinite;
  pointer-events: none;
}

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

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.fade-in {
  animation: softRise 0.8s ease both;
}

.proof-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin: 2rem 0 0;
}

.proof-item {
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--sage-deep);
}

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

@media (min-width: 800px) {
  .benefit-list {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit {
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.benefit h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.quote-block {
  background: linear-gradient(145deg, #fff, #f8ebe6);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--muted);
  font-weight: 700;
}

/* Page heroes (inner pages) */
.page-hero {
  padding: clamp(2rem, 5vw, 3.25rem) 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.page-hero .lede {
  margin-bottom: 0;
}

.split-hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.split-hero img {
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Pricing */
.price-grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 860px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(165deg, #fff8f5, #efe7e1);
  border-color: var(--coral);
  transform: translateY(-4px);
}

.price-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

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

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

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

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

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

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

.review {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.review.wide {
  grid-column: 1 / -1;
}

.stars {
  color: var(--coral-deep);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.person strong {
  display: block;
}

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

.case-study {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin-top: 1.5rem;
}

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

@media (min-width: 800px) {
  .blog-list {
    grid-template-columns: 1fr 1fr;
  }
}

.blog-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.article {
  max-width: 46rem;
  margin: 0 auto;
}

.article h2 {
  margin-top: 2rem;
}

.article-hero-img {
  border-radius: 1.5rem;
  margin: 1.5rem 0 2rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Course detail */
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.module-list li {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.module-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.instructor {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 700px) {
  .instructor {
    grid-template-columns: 8rem 1fr;
  }
}

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

/* Forms */
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

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

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.field-error {
  min-height: 1.2rem;
  color: #a13d32;
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  background: #e5f3ec;
  color: #245c45;
}

.form-status.is-error {
  background: #fde8e4;
  color: #7a2e24;
}

.contact-card {
  background: linear-gradient(160deg, #fff, #f4e9e3);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  height: fit-content;
}

/* Legal */
.legal {
  max-width: 48rem;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

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

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem var(--space);
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  margin: 0;
  color: var(--coral-deep);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  animation: softRise 0.45s ease both;
}

.cookie-banner-inner {
  max-width: 44rem;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

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

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, transparent, var(--bg-alt));
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1.2fr 0.8fr 0.8fr;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.footer-tag {
  color: var(--muted);
  margin: 0;
}

.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 0.65rem;
}

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

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

.site-footer a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

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

.footer-copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 0 var(--space);
  color: var(--muted);
  font-size: 0.9rem;
}

.illus-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.illus-blob {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 40% 60% 55% 45%;
  background: var(--sky);
  animation: floaty 6s ease-in-out infinite;
}

.illus-blob:nth-child(2) {
  background: var(--blush);
  animation-delay: 0.4s;
  border-radius: 55% 45% 40% 60%;
}

.illus-blob:nth-child(3) {
  background: var(--sage);
  opacity: 0.7;
  animation-delay: 0.8s;
}

.muted {
  color: var(--muted);
}

.stack-sm > * + * {
  margin-top: 0.75rem;
}
