:root {
  --ivory: #fbf8f2;
  --cream: #f4eee5;
  --sage: #dfe8df;
  --sage-deep: #718777;
  --powder: #dfeaf1;
  --clay: #ead8cf;
  --charcoal: #252724;
  --taupe: #716c65;
  --navy: #0e2236;
  --navy-soft: #17344c;
  --white: #ffffff;
  --border: rgba(14, 34, 54, 0.10);
  --shadow: 0 22px 55px rgba(14, 34, 54, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 248, 242, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

.home-link i {
  color: var(--sage-deep);
}

/* Hero */
.thank-you-hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 15% 12%, rgba(223, 232, 223, 0.95), transparent 29%),
    radial-gradient(circle at 85% 8%, rgba(223, 234, 241, 0.9), transparent 30%),
    linear-gradient(135deg, #fbf8f2, #eef3ef);
}

.hero-inner {
  max-width: 850px;
  text-align: center;
}

.success-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 18px 40px rgba(14, 34, 54, 0.16);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sage-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-inner h1 {
  margin: 10px 0 18px;
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 720px;
  margin: 0 auto;
  color: var(--taupe);
  font-size: 1.12rem;
}

.event-note {
  width: max-content;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255,255,255,.82);
}

.event-note i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--sage);
  color: var(--navy);
}

.event-note span {
  display: block;
  color: var(--taupe);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.event-note strong {
  color: var(--navy);
}

.hero-actions,
.next-step-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.btn.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(14,34,54,.14);
}

.btn.secondary {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn.text-btn {
  color: var(--navy);
  background: transparent;
}

/* Workshops */
.section-pad {
  padding: 92px 0;
}

.workshops-section {
  background: #fff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading h2,
.next-step-card h2 {
  margin: 8px 0 14px;
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(2.3rem, 4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.section-heading p:not(.eyebrow),
.next-step-card p {
  color: var(--taupe);
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.workshop-card {
  min-width: 0;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--ivory);
  box-shadow: 0 10px 28px rgba(14,34,54,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.workshop-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sage);
  color: var(--navy);
  font-size: 1.05rem;
}

.category {
  margin-top: 20px;
  color: var(--sage-deep);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.workshop-card h3 {
  margin: 9px 0 9px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.3;
}

.workshop-card p {
  margin: 0 0 18px;
  color: var(--taupe);
}

.workshop-meta {
  margin: auto 0 15px;
  padding-top: 5px;
}

.workshop-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
}

.card-link {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  color: var(--navy);
  font-weight: 700;
}

.card-link i {
  font-size: .85rem;
  transition: transform .2s ease;
}

.card-link:hover i {
  transform: translateX(4px);
}

/* Next Step */
.next-step-section {
  padding: 0 0 92px;
  background: #fff;
}

.next-step-card {
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 36px;
  align-items: center;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 10%, rgba(223,234,241,.7), transparent 35%),
    var(--cream);
  border: 1px solid var(--border);
}

.next-step-card h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
}

.next-step-actions {
  margin: 0;
  justify-content: flex-end;
}

/* Footer */
.footer {
  padding: 48px 0;
  background: #0b1d2a;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer img {
  width: auto;
  height: 54px;
  max-width: 210px;
  margin-bottom: 13px;
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
}

.footer p,
.footer span {
  color: rgba(255,255,255,.63);
  font-size: .86rem;
}

.footer h4 {
  margin: 0 0 11px;
}

.footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255,255,255,.78);
}

/* Animation */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1024px) {
  .workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .next-step-card {
    grid-template-columns: 1fr;
  }

  .next-step-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 680px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand img {
    height: 46px;
  }

  .home-link span {
    display: none;
  }

  .home-link {
    width: 42px;
    height: 42px;
    justify-content: center;
    border-radius: 12px;
    background: rgba(14,34,54,.06);
  }

  .thank-you-hero {
    padding: 58px 0 62px;
  }

  .success-icon {
    width: 68px;
    height: 68px;
    font-size: 1.6rem;
  }

  .hero-inner h1 {
    font-size: clamp(2.6rem, 12vw, 3.7rem);
  }

  .lead {
    font-size: 1rem;
  }

  .event-note {
    width: 100%;
  }

  .hero-actions,
  .next-step-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn,
  .next-step-actions .btn {
    width: 100%;
  }

  .section-pad {
    padding: 64px 0;
  }

  .workshop-grid {
    grid-template-columns: 1fr;
  }

  .workshop-card {
    padding: 21px;
  }

  .next-step-section {
    padding-bottom: 64px;
  }

  .next-step-card {
    padding: 28px 20px;
    border-radius: 23px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 20px);
  }

  .brand img {
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
