/* Snug as a Bug Baby Massage — version 2 site styles
   Palette taken from Emily's logo: coral/pink script, sage wrap, teal wordmark, cream ground. */

:root {
  --cream: #fbf6f0;
  --cream-dark: #f3ebe3;
  --paper: #fffdfb;
  --taupe: #c9bdb0;
  --taupe-dark: #a8988a;
  --ink: #3f332c;
  --ink-soft: #5c4d44;
  --muted: #7a6a60;
  --coral: #c96b5e;
  --coral-deep: #b2584c;
  --coral-soft: #e8c4bc;
  --blush: #f6e4de;
  --peach: #f8d0b8;
  --teal: #5e8a84;
  --teal-deep: #4a736e;
  --sage: #b7c07a;
  --sage-deep: #8a9454;
  --pink: #e8a8a0;
  --line: rgba(63, 51, 44, 0.12);
  --shadow: 0 14px 40px rgba(63, 51, 44, 0.08);
  --radius: 22px;
  --header-h: 4.5rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-sans: "Nunito", "Segoe UI", system-ui, sans-serif;
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand picture,
.brand img {
  width: 3.85rem;
  height: 3.85rem;
  flex-shrink: 0;
}
.brand picture { display: block; }
.brand img {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--coral);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.nav-toggle,
.nav-toggle-label { display: none; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.3rem 0;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--coral);
  color: #fff !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(201, 107, 94, 0.28);
}
.nav-cta:hover { background: var(--coral-deep); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.hero picture:has(.hero-logo) {
  display: block;
  width: 13.75rem;
  margin-bottom: 1.15rem;
}
.hero-logo {
  width: 13.75rem;
  height: 13.75rem;
  margin-bottom: 1.15rem;
  filter: drop-shadow(0 10px 22px rgba(63, 51, 44, 0.1));
}
.hero picture:has(.hero-logo) .hero-logo {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  line-height: 1.12;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(201, 107, 94, 0.28);
}
.btn-primary:hover { background: var(--coral-deep); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal);
}
.btn-secondary:hover { background: #e8f0ee; color: var(--teal-deep); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta svg { flex-shrink: 0; color: var(--coral); }

.hero-art {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 28rem;
  width: 100%;
  justify-self: end;
}
.hero-art img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 10%;
  aspect-ratio: 4 / 5;
}

/* Announcement / Christmas + next course */
.ribbon {
  background: linear-gradient(180deg, #6d2e45 0%, #7a334d 100%);
  color: #fffaf6;
}

.ribbon-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
}

.ribbon-badge {
  display: inline-block;
  justify-self: start;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.ribbon .ribbon-badge { margin-bottom: 0.45rem; }

.ribbon h2 {
  margin: 0 0 0.15rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
}

.ribbon p { margin: 0; color: rgba(255, 250, 246, 0.9); }

.btn-light {
  background: #fff;
  color: #6d2e45;
  border-color: #fff;
  white-space: nowrap;
}
.btn-light:hover { background: var(--blush); color: #6d2e45; }

/* Sections */
.section {
  padding: 4.25rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 0.6rem;
  line-height: 1.15;
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  max-width: 40rem;
  font-size: 1.08rem;
}

.alt { background: var(--paper); }
.blush { background: var(--blush); }
.sage-wash {
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(183, 192, 122, 0.16), transparent 60%),
    var(--cream);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame.square img { aspect-ratio: 1 / 1; }
.frame.portrait img {
  aspect-ratio: 4 / 5;
  object-position: 50% 10%;
}
.frame video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.frame.portrait video {
  aspect-ratio: 4 / 5;
  object-position: 50% 40%;
}

.about-media {
  margin: 0;
  min-width: 0;
}
.about-media figcaption {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.4;
}

/* Benefits */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.2rem 1.45rem;
  min-width: 0;
  box-shadow: 0 8px 24px rgba(63, 51, 44, 0.04);
}

.card .icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blush);
  color: var(--coral);
  margin-bottom: 0.85rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.card p { margin: 0; color: var(--ink-soft); }

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

/* Course facts */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.fact {
  background: var(--paper);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}

.fact dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.2rem;
}

.fact dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.08rem;
}

.dates {
  margin: 0 0 1.4rem;
  padding: 1rem 1.15rem;
  background: #eef4f3;
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
}

.dates strong { display: block; color: var(--teal-deep); margin-bottom: 0.15rem; }
.dates p { margin: 0; color: var(--ink-soft); }


/* Course info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0 0 1.75rem;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 8px 24px rgba(63, 51, 44, 0.04);
  min-width: 0;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.info-card p { margin: 0; color: var(--ink-soft); }

/* About credentials */
.creds {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.creds li {
  position: relative;
  padding: 0.55rem 0.85rem 0.55rem 1.15rem;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 4px;
  border-radius: 4px;
  background: var(--sage);
}

/* Booking placeholder note */
.booking-note {
  margin: 0 0 1.3rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--cream);
  border-left: 4px solid var(--coral);
  padding: 0.75rem 1rem;
  border-radius: 0 12px 12px 0;
}

/* Venue */
.map-block { min-width: 0; }

.map-wrap {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--cream-dark);
}

.map-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 55% 50%;
}

.map-credit {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.map-credit a { color: var(--muted); }

.addr {
  margin: 1.1rem 0 0.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

.venue-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin: 0.8rem 0 1.2rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0.7rem; }

details.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  color: var(--coral);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body {
  padding: 0 1.2rem 1.1rem;
  color: var(--ink-soft);
}
details.faq .faq-body p { margin: 0; }

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

blockquote.placeholder {
  margin: 0;
  background: var(--paper);
  border: 1px dashed var(--taupe);
  border-radius: 18px;
  padding: 1.3rem 1.2rem 1.2rem;
  min-width: 0;
}

.placeholder-label {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.7rem;
}

blockquote.placeholder p {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
}

blockquote.placeholder cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--taupe-dark);
  font-weight: 700;
}

/* Contact */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
  background: var(--paper);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0 1.4rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}
.social:hover { border-color: var(--coral); color: var(--coral-deep); }

.contact-aside {
  background: var(--blush);
  border-radius: 20px;
  padding: 1.3rem 1.25rem;
}

.contact-aside h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.contact-aside p { margin: 0 0 0.7rem; color: var(--ink-soft); }
.contact-aside p:last-child { margin-bottom: 0; }

.contact-aside a { font-weight: 700; }

/* Footer */
.site-footer {
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--cream-dark);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-panel,
  .ribbon-inner {
    grid-template-columns: 1fr;
  }

  .cards { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .hero-logo,
  .hero picture:has(.hero-logo) { width: 10.5rem; height: 10.5rem; }
  .hero-art { justify-self: center; max-width: 24rem; }
  .about-media { justify-self: center; width: 100%; max-width: 26rem; }
  .ribbon-inner { text-align: left; }
  .btn-light { width: 100%; }
}

@media (max-width: 720px) {
  .nav-toggle-label {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.6rem;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: var(--ink);
    position: relative;
    border-radius: 2px;
  }
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .nav-toggle-label span::before { top: -6px; }
  .nav-toggle-label span::after { top: 6px; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.5rem 1.25rem 1.1rem;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .site-nav a { display: block; padding: 0.65rem 0.2rem; }
  .nav-cta { justify-content: center; margin-top: 0.35rem; }
  .nav-toggle:checked ~ .site-nav { display: block; }

  .header-inner { position: relative; }
  .cards,
  .facts { grid-template-columns: 1fr; }
  .section { padding: 3.1rem 1.1rem; }
  .contact-panel { padding: 1.25rem; }
  .hero-grid { padding-top: 1.4rem; }
  .brand-name { font-size: 1.05rem; }
}

@media (max-width: 380px) {
  .brand-text { display: none; }
  .hero-actions .btn { width: 100%; }
}

.contact-aside a {
  overflow-wrap: break-word;
}

.site-footer p {
  margin: 0;
}
