/* ==========================================================================
   Master Your Messaging — Site Stylesheet
   Brand palette (carried over from the original site):
   teal #04B3AF · navy #263969 · orange #F26634 · pink #E43E96
   purple #6200AC · warm gray #59514E
   ========================================================================== */

:root {
  --teal: #04B3AF;
  --teal-dark: #038f8c;
  --teal-soft: #e2f7f6;
  --navy: #263969;
  --navy-dark: #1b2a50;
  --orange: #F26634;
  --orange-dark: #d9531f;
  --pink: #E43E96;
  --pink-soft: #FAD5E9;
  --purple: #6200AC;
  --gray: #59514E;
  --gray-light: #8a827f;
  --bg: #FBFBFB;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(38, 57, 105, 0.08);
  --shadow-md: 0 10px 30px rgba(38, 57, 105, 0.12);
  --shadow-lg: 0 20px 50px rgba(38, 57, 105, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-script: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }

p + p { margin-top: 1em; }

a { color: var(--teal); }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.script {
  font-family: var(--font-script);
  color: var(--orange);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  display: block;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 0.35em 1.1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  padding: 0.95em 2.1em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #f5803c);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(242, 102, 52, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(242, 102, 52, 0.5); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-teal {
  background: linear-gradient(135deg, var(--teal), #06ccc8);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(4, 179, 175, 0.35);
}
.btn-teal:hover { box-shadow: 0 12px 28px rgba(4, 179, 175, 0.45); }

.btn-lg { font-size: 1.1rem; padding: 1.1em 2.6em; }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img { width: 56px; height: 56px; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.2;
}
.brand-name span { color: var(--teal); display: block; font-size: 0.8rem; font-weight: 600; }

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

.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  padding: 0.3em 0;
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.main-nav .btn { padding: 0.6em 1.5em; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  z-index: 110;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  position: absolute;
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--navy);
  transition: all 0.3s ease;
  content: '';
  left: 9px;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .main-nav a { font-size: 1.3rem; }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background:
    radial-gradient(700px 500px at 88% 8%, rgba(4, 179, 175, 0.14), transparent 65%),
    radial-gradient(600px 450px at 5% 95%, rgba(228, 62, 150, 0.10), transparent 65%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero .lead {
  font-size: 1.2rem;
  margin: 1.4rem 0 2.2rem;
  max-width: 34em;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-figure { position: relative; text-align: center; }

.hero-figure::before {
  content: '';
  position: absolute;
  inset: 6% 12%;
  background: linear-gradient(160deg, var(--teal-soft), var(--pink-soft));
  border-radius: 48% 52% 55% 45% / 50% 46% 54% 50%;
  z-index: 0;
}

.hero-figure img {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 420px;
  filter: drop-shadow(0 18px 30px rgba(38, 57, 105, 0.18));
}

@media (max-width: 880px) {
  .hero { padding: 3rem 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-figure img { max-width: 300px; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--white); }

.section-head {
  max-width: 46em;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head p { margin-top: 1rem; }

/* Two-column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split.reverse > .split-media { order: 2; }

.split-media { position: relative; }

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.split-media.blob::before {
  content: '';
  position: absolute;
  inset: -18px;
  background: linear-gradient(140deg, rgba(4,179,175,0.18), rgba(228,62,150,0.14));
  border-radius: var(--radius);
  transform: rotate(-3deg);
  z-index: -1;
}

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split.reverse > .split-media { order: 0; }
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-img { aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }

.card-body { padding: 1.6rem 1.7rem 1.9rem; flex: 1; display: flex; flex-direction: column; }

.card-tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.tag-teal { color: var(--teal-dark); }
.tag-pink { color: var(--pink); }
.tag-orange { color: var(--orange); }
.tag-purple { color: var(--purple); }

.card-body h3 { margin-bottom: 0.6rem; }
.card-body p { font-size: 0.98rem; }
.card-body .card-link { margin-top: auto; padding-top: 1.2rem; }

.card-link a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange);
  text-decoration: none;
}
.card-link a:hover { text-decoration: underline; }

/* Quote band */
.quote-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark) 55%, var(--purple));
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 30em;
  margin: 0 auto;
}
.quote-band blockquote::before { content: '\201C'; color: var(--teal); font-size: 2em; line-height: 0; vertical-align: -0.35em; margin-right: 0.1em; }
.quote-band cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.5rem;
  color: var(--pink-soft);
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 380px at 12% 20%, rgba(4, 179, 175, 0.25), transparent 60%),
    radial-gradient(520px 380px at 90% 85%, rgba(242, 102, 52, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-radius: calc(var(--radius) + 8px);
  padding: 3.8rem clamp(1.6rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); }
.cta-band .script { color: #06ccc8; }
.cta-band p { max-width: 42em; margin: 1.2rem auto 0; color: #dfe5f2; }
.cta-band .btn { margin-top: 2rem; }
.cta-band .note { font-size: 0.92rem; color: #b9c3da; margin-top: 1.6rem; }

/* Workshop detail blocks (events page) */
.workshop {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.workshop + .workshop { margin-top: 2.5rem; }
.workshop.reverse .workshop-media { order: 2; }

.workshop-media {
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.workshop-media img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

.workshop-body { padding: 2.4rem clamp(1.6rem, 3vw, 3rem); }
.workshop-body .card-tag { font-size: 0.8rem; }
.workshop-body h3 { font-size: 1.6rem; margin-bottom: 0.9rem; }

.workshop-body ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.workshop-body li {
  position: relative;
  padding-left: 1.7em;
  margin-bottom: 0.45em;
}
.workshop-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 880px) {
  .workshop { grid-template-columns: 1fr; }
  .workshop.reverse .workshop-media { order: 0; }
}

/* Price banner */
.price-banner {
  margin-top: 3rem;
  text-align: center;
  background: var(--white);
  border: 2px dashed var(--teal);
  border-radius: var(--radius);
  padding: 2.6rem 1.6rem;
}
.price-banner .price {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
}
.price-banner .price strong { color: var(--orange); }
.price-banner .btn { margin-top: 1.4rem; }

/* Story / timeline (about page) */
.story-block { padding: 4rem 0; }
.story-block:nth-child(even) { background: var(--white); }

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

input, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray);
  background: var(--bg);
  border: 2px solid #e7e7ea;
  border-radius: var(--radius-sm);
  padding: 0.8em 1em;
  transition: border-color 0.2s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--teal); }
textarea { resize: vertical; min-height: 140px; }

.form-note { font-size: 0.88rem; color: var(--gray-light); margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.newsletter {
  background: linear-gradient(120deg, var(--teal), #06ccc8);
  padding: 4rem 0;
  color: var(--white);
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.newsletter h2 { color: var(--white); }
.newsletter p { color: #ecfcfb; margin-top: 0.8rem; }
.newsletter form { display: grid; gap: 0.9rem; }
.newsletter input { background: var(--white); border-color: transparent; }
.newsletter .btn { justify-self: start; }
@media (max-width: 880px) {
  .newsletter-grid { grid-template-columns: 1fr; }
}

.site-footer {
  background: var(--navy-dark);
  color: #b9c3da;
  padding: 3.2rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #b9c3da; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-links li { list-style: none; margin-bottom: 0.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand img { width: 52px; }
.footer-brand strong { color: var(--white); font-family: var(--font-head); }

.social-row { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--teal); transform: translateY(-3px); }
.social-row svg { width: 19px; height: 19px; fill: var(--white); }

.footer-bottom {
  text-align: center;
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: #8a93ad;
}
.footer-bottom a { color: #8a93ad; text-decoration: underline; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
