:root {
  --bg: #fff4ec;
  --bg-soft: #ffe8d8;
  --surface: #fffaf6;
  --ink: #2a2420;
  --muted: #6b5c52;
  --line: #efd8c6;
  --coral: #e86a4a;
  --coral-deep: #c95134;
  --teal: #2f9e8f;
  --teal-deep: #217a6f;
  --sun: #f4c95f;
  --shadow: 0 18px 40px rgba(90, 48, 28, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::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%, #ffd7b8 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #cdeedf 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #fff8f2 40%, var(--bg-soft) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

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

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

.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: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 244, 236, 0.88);
  border-bottom: 1px solid rgba(239, 216, 198, 0.7);
}

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

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

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 70% 25%, var(--teal) 0 18%, transparent 19%),
    radial-gradient(circle at 30% 75%, var(--sun) 0 14%, transparent 15%),
    radial-gradient(circle at 50% 50%, transparent 0 28%, #fff8f3 29% 42%, transparent 43%),
    var(--coral);
  box-shadow: 0 6px 16px rgba(232, 106, 74, 0.35);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

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

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

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(232, 106, 74, 0.28);
}

.nav-cta:hover {
  background: var(--coral-deep);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  border-radius: 12px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  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;
}

/* Typography & buttons */
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 0.75rem;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
}

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

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

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 24px rgba(232, 106, 74, 0.28);
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn-secondary:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--coral);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

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

.section {
  padding: 4.5rem 0;
}

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

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(239, 216, 198, 0.85);
}

/* Home hero — split composition, brand-forward */
.hero-home {
  padding: 3.5rem 0 2rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
}

.hero-brand-line {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.hero-brand-line span {
  display: block;
  color: var(--coral);
}

.hero-copy {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow);
  animation: rise-in 0.8s ease both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hero-float span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.animate-in {
  animation: fade-up 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

/* Proof strip */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.proof-item {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 246, 0.75);
  border: 1px solid var(--line);
}

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

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

/* Feature tiles */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-tile {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: #ffe0d0;
  color: var(--coral-deep);
  font-size: 1.25rem;
}

.feature-tile:nth-child(2) .feature-icon {
  background: #d8f1ec;
  color: var(--teal-deep);
}

.feature-tile:nth-child(3) .feature-icon {
  background: #fff0c8;
  color: #9a6d12;
}

.feature-tile p {
  margin: 0;
  color: var(--muted);
}

/* Course cards */
.course-grid,
.blog-grid,
.price-grid,
.review-grid {
  display: grid;
  gap: 1.25rem;
}

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

.course-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(90, 48, 28, 0.06);
  transition: transform 0.25s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.course-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.course-card-body p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #ffe8d9;
  color: var(--coral-deep);
  font-size: 0.8rem;
  font-weight: 800;
  width: fit-content;
}

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 1rem;
}

.quote {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.quote p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fffaf6, #ffe8d8);
}

/* CTA band */
.cta-band {
  margin: 2rem 0 4rem;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--coral) 0%, #f08a55 55%, var(--sun) 130%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  opacity: 0.95;
}

.cta-band .btn-secondary {
  background: #fff;
  color: var(--coral-deep);
  box-shadow: none;
}

/* Page heroes */
.page-hero {
  padding: 3rem 0 1.5rem;
}

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

.page-hero-media {
  margin-top: 2rem;
  border-radius: 28px;
  overflow: hidden;
  min-height: 260px;
}

.page-hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

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

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

.price-card.featured {
  border-color: transparent;
  background: linear-gradient(180deg, #fffaf6, #ffe3d2);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0.5rem 0;
}

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

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

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.form-panel,
.info-panel {
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 158, 143, 0.15);
}

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

.field-error {
  color: #b42318;
  font-size: 0.88rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.is-invalid .field-error {
  display: block;
}

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
  border-color: #f04438;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e4f7f2;
  color: var(--teal-deep);
}

.form-status.is-error {
  display: block;
  background: #fde8e6;
  color: #b42318;
}

.info-panel p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.info-panel strong {
  color: var(--ink);
}

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

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.blog-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-body p {
  color: var(--muted);
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-hero img {
  width: 100%;
  border-radius: 24px;
  margin: 1.5rem 0 2rem;
  max-height: 420px;
  object-fit: cover;
}

.article p,
.article li {
  color: var(--muted);
  font-size: 1.05rem;
}

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

/* Course detail */
.modules {
  display: grid;
  gap: 0.85rem;
}

.module {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.module h3 {
  margin-bottom: 0.35rem;
}

.module p {
  margin: 0;
  color: var(--muted);
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
}

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

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

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

.faq details p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* Legal */
.legal {
  max-width: 760px;
}

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

.legal p,
.legal li {
  color: var(--muted);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
}

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

.cookie-table th {
  background: #ffe8d8;
}

/* Reviews */
.review-grid {
  grid-template-columns: 1fr 1fr;
}

.case-study {
  padding: 1.75rem;
  margin-top: 1.25rem;
}

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

.stars {
  color: #c98916;
  letter-spacing: 0.08em;
  font-weight: 800;
}

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

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--coral);
  line-height: 1;
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise-in 0.35s ease both;
}

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

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

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fde8e6;
  color: #b42318;
  display: none;
}

.inline-error.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #2a2420;
  color: #f7ebe3;
}

.site-footer a {
  color: #f0d2c0;
  text-decoration: none;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
}

.footer-tag,
.footer-address {
  color: #d8c2b4;
  margin: 0;
}

.footer-heading {
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #fff;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  color: #c9b2a3;
  font-size: 0.92rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Utility layouts */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.list-check {
  padding-left: 1.1rem;
  color: var(--muted);
}

.list-check li {
  margin-bottom: 0.45rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.chip {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .header-inner {
    position: relative;
  }

  .hero-split,
  .feature-row,
  .course-grid,
  .blog-grid,
  .price-grid,
  .proof-strip,
  .contact-layout,
  .split-2,
  .footer-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .instructor {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
