:root {
  --blush: #f7e4dc;
  --blush-deep: #e8b4a8;
  --sage: #b8d4c8;
  --sage-deep: #7ba89a;
  --sky: #d6e6f0;
  --sand: #f6efe6;
  --cream: #faf6f1;
  --ink: #3d322c;
  --ink-soft: #6b5a52;
  --muted: #8a786f;
  --card: #fffaf7;
  --shadow: 0 12px 32px rgba(61, 50, 44, 0.08);
  --shadow-soft: 0 6px 18px rgba(61, 50, 44, 0.06);
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --radius-pill: 999px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::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%, rgba(232, 180, 168, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(184, 212, 200, 0.4), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 45%, var(--blush) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

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

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

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 246, 241, 0.82);
  border-bottom: 1px solid rgba(232, 180, 168, 0.35);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  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);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, var(--blush-deep), var(--sage));
  box-shadow: var(--shadow-soft);
}

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

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

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

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

.site-nav .nav-cta {
  background: var(--blush-deep);
  color: var(--ink);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.site-nav .nav-cta:hover {
  background: var(--sage);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid rgba(232, 180, 168, 0.5);
  border-radius: 0.75rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.22rem 0;
  background: var(--ink);
  border-radius: 2px;
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(250, 246, 241, 0.97);
    border-bottom: 1px solid rgba(232, 180, 168, 0.4);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.55rem 0.25rem;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  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(--blush-deep), #f0c4b6);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-soft {
  background: var(--card);
  color: var(--ink);
  border: 1px solid rgba(184, 212, 200, 0.7);
  box-shadow: var(--shadow-soft);
}

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

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

.btn-sage:hover {
  color: #fff;
  background: #6a9688;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 180, 168, 0.28);
  overflow: hidden;
}

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

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

/* Hero variants */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
  padding: 3.5rem 0 2.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 34ch;
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
  animation: float-in 0.9s ease both;
}

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

.hero-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 250, 247, 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}

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

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

/* Sections */
.section {
  padding: 3.25rem 0;
}

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

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.benefit {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(184, 212, 200, 0.35);
  transition: transform 0.25s ease;
}

.benefit:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--sky), var(--sage));
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.benefit h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

/* Soft proof band */
.proof-band {
  margin: 1rem 0 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(214, 230, 240, 0.7), rgba(232, 180, 168, 0.35));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.proof-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--ink);
}

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

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

/* Testimonials */
.quote-card {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 180, 168, 0.25);
}

.quote-card p {
  font-size: 1.02rem;
}

.quote-meta {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.stars {
  color: #c9896a;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Pricing */
.price-card {
  padding: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 180, 168, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card.featured {
  background: linear-gradient(165deg, #fffaf7 0%, #f3e0d8 100%);
  border-color: var(--blush-deep);
  transform: scale(1.02);
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0;
}

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

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

.price-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.price-list li {
  margin-bottom: 0.4rem;
}

.price-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Forms */
.form-card {
  padding: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(138, 120, 111, 0.28);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage-deep);
}

.field-error {
  color: #a14b3c;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

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

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

.form-status.is-success {
  display: block;
  background: rgba(184, 212, 200, 0.45);
  color: #2f5a4c;
}

.form-status.is-error {
  display: block;
  background: rgba(232, 180, 168, 0.55);
  color: #7a3a2e;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(232, 180, 168, 0.55);
  color: #7a3a2e;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(232, 180, 168, 0.28));
  border-top: 1px solid rgba(232, 180, 168, 0.35);
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.footer-tag {
  max-width: 36ch;
}

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

.footer-heading {
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

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

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(138, 120, 111, 0.15);
}

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

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

/* 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;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(61, 50, 44, 0.16);
  border: 1px solid rgba(232, 180, 168, 0.45);
  animation: rise 0.45s ease both;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.cookie-banner[hidden] {
  display: none !important;
}

/* Page heroes (inner) */
.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-hero p {
  max-width: 46ch;
  font-size: 1.08rem;
}

/* Blog / course details */
.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.prose ul, .prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

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

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

.module-list li {
  padding: 1rem 1.15rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(184, 212, 200, 0.3);
}

.module-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

@media (max-width: 560px) {
  .instructor {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.faq details {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 180, 168, 0.25);
}

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

.faq details p {
  margin: 0.75rem 0 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(138, 120, 111, 0.12);
  color: var(--ink-soft);
}

th {
  color: var(--ink);
  font-weight: 800;
  background: rgba(184, 212, 200, 0.25);
}

.cta-band {
  margin: 2rem 0;
  padding: 2.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(184, 212, 200, 0.55), rgba(232, 180, 168, 0.45));
  text-align: center;
  box-shadow: var(--shadow-soft);
  animation: soft-pulse 5s ease-in-out infinite;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
}

.cta-band p {
  max-width: 40ch;
  margin: 0 auto 1.25rem;
}

.case-study {
  padding: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--sage-deep);
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(184, 212, 200, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  color: #2f5a4c;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

/* Animations */
@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes soft-pulse {
  0%, 100% {
    box-shadow: var(--shadow-soft);
  }
  50% {
    box-shadow: 0 14px 36px rgba(123, 168, 154, 0.28);
  }
}

.reveal {
  animation: float-in 0.7s ease both;
}

.reveal-delay {
  animation: float-in 0.85s ease 0.15s both;
}

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

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

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  align-items: start;
}

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

.address-card {
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(214, 230, 240, 0.5), rgba(255, 250, 247, 0.95));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

.list-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 180, 168, 0.25);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.list-card:hover {
  transform: translateY(-3px);
  color: inherit;
}

.list-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.list-card .card-body h3 {
  margin: 0 0 0.4rem;
  color: var(--ink);
}

@media (max-width: 700px) {
  .list-card {
    grid-template-columns: 1fr;
  }
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.legal-nav a {
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 250, 247, 0.8);
  border: 1px solid rgba(232, 180, 168, 0.4);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

#site-header-mount:empty,
#site-footer-mount:empty {
  min-height: 1px;
}
