/* ==========================================================================
   Cookie Moments — home page (index.html)
   1. Animations
   2. Scroll scene (pinned intro, growing card, floating props, menu bar)
   3. Section styles
   4. Tablet + phone
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Animations
   -------------------------------------------------------------------------- */
@keyframes cmReveal {
  from { opacity: 0; transform: scale(0.94); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes cmRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes cmTrack {
  from { opacity: 0; letter-spacing: 0.6em; }
  to { opacity: 1; letter-spacing: 0.2em; }
}

@keyframes cmLine {
  0% { transform: translateY(-100%); }
  65%, 100% { transform: translateY(280%); }
}

@keyframes cmShine {
  0% { left: -60%; }
  50%, 100% { left: 140%; }
}

@keyframes cmPropInL {
  from { opacity: 0; transform: translate3d(-48px, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes cmPropInR {
  from { opacity: 0; transform: translate3d(48px, 0, 0); }
  to { opacity: 1; transform: none; }
}

/* "Book a class" button: shine sweep + lift on hover */
.cm-cta {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}

.cm-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: cmShine 4.5s ease-in-out 2.6s infinite;
  pointer-events: none;
}

.cm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(200, 172, 110, 0.4);
}

.cm-social {
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background-color 0.35s, border-color 0.35s, transform 0.35s;
}

.cm-social:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.cm-scroll-label {
  color: #D9C7C0;
  letter-spacing: 0.45em;
  transition: color 0.3s, letter-spacing 0.4s;
}

.cm-scroll:hover .cm-scroll-label {
  color: #FFFFFF;
  letter-spacing: 0.6em;
}

/* --------------------------------------------------------------------------
   2. Scroll scene — driven by js/home.js
   Tweak in index.html: data-shrink / data-radius / data-radius-mobile on the card,
   and on each prop data-r (rotation), data-k (upward drift), data-s + data-a/data-b
   (shrink to, and when) and data-o (how early it finishes leaving, 0-1).
   -------------------------------------------------------------------------- */
.cm-hero-h {
  height: 100vh;
  height: 100svh;
  min-height: 620px;
}

.cm-hero-pad {
  padding: 96px 24px 110px;
  padding: min(96px, 9vh) 24px min(110px, 12vh);
}

.cm-card {
  min-height: 620px;
  min-height: max(620px, 100vh);
  min-height: max(620px, 100svh);
}

.cm-logo {
  max-width: 460px;
  max-width: min(460px, 44vh);
}

/* Menu bar: hidden on the intro, slides down when the card reaches the top */
.cm-nav {
  visibility: hidden;
  transform: translate3d(0, -120%, 0);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.6s;
}

.cm-nav.is-on {
  visibility: visible;
  transform: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

/* Floating props layer (sits above the card while it slides up) */
.cm-props {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}

.cm-prop {
  position: absolute;
  will-change: transform;
}

.cm-prop img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(10px 16px 18px rgba(12, 6, 4, 0.45)) drop-shadow(2px 3px 4px rgba(12, 6, 4, 0.25));
}

.cm-in-l {
  animation: cmPropInL 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cm-in-r {
  animation: cmPropInR 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* --------------------------------------------------------------------------
   3. Section styles (one block per section, top to bottom)
   -------------------------------------------------------------------------- */

/* -------- Shared (used in more than one section) -------- */
.txt {
  font-size: 13px;
  color: #6B5750;
}
.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #A23B4C;
  font-weight: 800;
}
.title {
  margin: 0;
  font-family: 'Literata', Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 4vw, 50px);
  line-height: 1.04;
}
.txt-2 {
  font-weight: 800;
  font-size: 17px;
}
.stack {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.em {
  font-weight: 500;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.row-2 {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: center;
}
.term {
  font-weight: 800;
  font-size: 17px;
}

/* -------- Page wrappers -------- */
.site {
  font-family: 'Manrope', system-ui, sans-serif;
  color: #2A1A14;
  background: #FFFFFF;
  min-width: 0;
  -webkit-font-smoothing: antialiased;
}
.nav-pin {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 60;
}
.props-pin {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 3;
}
.content {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
}

/* -------- Header / menu bar -------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #2A1A14;
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 12px 30px rgba(0,0,0,0.18);
}
.header-inner {
  max-width: 1344px; /* lines up with the content edge */
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  height: 66px;
  width: auto;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFFFFF;
  text-align: center;
}
.brand-name {
  font-family: "Pinyon Script", cursive;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
}
.brand-tagline {
  font-family: Oswald, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: -10px;
  color: rgb(217, 199, 192);
}
.site-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}
.header-link {
  color: #F4E6E1;
  text-decoration: none;
}

/* -------- Floating props (positions match your 1920 layout) -------- */
.prop-babys-breath {
  left: -8.11vw;
  top: 4.31vw;
  width: 16.09vw;
  z-index: 2;
}
.props-box {
  animation-delay: .3s;
}
.props-img {
  transform: rotate(2.8deg);
}
.prop-ribbon {
  left: -3.92vw;
  top: -3.57vw;
  width: 26.38vw;
}
.props-box-2 {
  animation-delay: .25s;
}
.props-img-2 {
  transform: rotate(173.8deg) scaleX(-1);
}
.prop-plaque {
  left: -14.90vw;
  bottom: -6.29vw;
  width: 27.08vw;
}
.props-box-3 {
  animation-delay: .35s;
}
.props-img-3 {
  transform: rotate(83.2deg);
}
.prop-scalloped-cookie {
  left: 12.50vw;
  bottom: -6.75vw;
  width: 11.08vw;
}
.props-box-4 {
  animation-delay: .5s;
}
.props-img-4 {
  transform: rotate(41.4deg);
}
.prop-lilac {
  right: -4.53vw;
  top: -7.79vw;
  width: 17.71vw;
}
.prop-pink-flower {
  right: -2.75vw;
  top: 10.10vw;
  width: 7.07vw;
}
.props-box-5 {
  animation-delay: .45s;
}
.prop-heart-cookie {
  right: -8.17vw;
  bottom: 7.61vw;
  width: 16.35vw;
}
.props-img-5 {
  transform: rotate(-44.4deg);
}
.prop-scribe {
  right: -6.68vw;
  bottom: -6.06vw;
  width: 21.98vw;
}
.props-box-6 {
  animation-delay: .4s;
}
.props-img-6 {
  transform: rotate(-14.8deg);
}

/* -------- Intro (video landing) -------- */
.intro {
  position: sticky;
  top: 0;
  z-index: 0;
  overflow: hidden;
  background: #1E120E;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.intro-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.intro-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.intro-layer {
  position: absolute;
  inset: 0;
  background: rgba(30,18,14,0.45);
}
.intro-layer-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 48%, rgba(30,18,14,0.5) 0%, rgba(30,18,14,0.3) 55%, rgba(30,18,14,0.7) 100%);
}
.intro-frame {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(200,172,110,0.3);
}
.intro-layer-3 {
  position: absolute;
  inset: 0;
  background: #120A07;
  opacity: 0;
}
.intro-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.intro-logo {
  width: 100%;
  height: auto;
  display: block;
  animation: cmReveal 1.8s cubic-bezier(.2,.8,.2,1) .2s both;
}
.intro-name {
  margin: 10px 0 0;
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  font-size: clamp(46px, 4.6vw, 68px);
  line-height: 1.1;
  color: #FFFFFF;
  animation: cmRise 1.2s cubic-bezier(.2,.8,.2,1) .7s both;
}
.intro-tagline {
  margin: clamp(-14px, -0.95vw, -10px) 0 0;
  padding-left: 0.2em;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(10px, 0.95vw, 14px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: #D9C7C0;
  animation: cmTrack 1.6s cubic-bezier(.2,.8,.2,1) 1s both;
}
.intro-socials {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  animation: cmRise 1s cubic-bezier(.2,.8,.2,1) 1.3s both;
}
.intro-social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-cta-wrap {
  margin-top: 28px;
  animation: cmRise 1s cubic-bezier(.2,.8,.2,1) 1.5s both;
}
.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 18px 34px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 56px;
}
.scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  justify-content: center;
  animation: cmRise 1s ease 2s both;
}
.intro-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
}
.intro-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  font-weight: 500;
  padding-left: 0.45em;
  text-transform: uppercase;
}
.intro-txt {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.intro-txt-2 {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 1px;
  height: 12px;
  background: #C8AC6E;
  animation: cmLine 2.4s cubic-bezier(.65,0,.35,1) infinite;
}

/* -------- Booking card ("Learn the art of the perfect cookie") -------- */
.hero {
  position: relative;
  z-index: 2;
  margin-top: 60px; /* keeps the card's top edge out of view on load */
  scroll-margin-top: 2px;
  transform-origin: 50% 0;
  background: #FFFFFF;
  color: #2A1A14;
  padding: 150px 32px 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 -20px 60px rgba(12,6,4,0.35);
}
.hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}
.hero-stack {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #F4C9C3;
  font-weight: 700;
}
.hero-title {
  margin: 0;
  font-family: 'Literata', Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero-txt {
  color: rgb(244, 201, 195);
  font-weight: 500;
}
.hero-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #E6D6D0;
  max-width: 540px;
}
.hero-stack-2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}
.hero-row {
  display: inline-flex;
  gap: 4px;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 4px;
  align-self: flex-start;
}
.mode-btn-join {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  background-color: #f4c9c3;
}
.mode-btn-private {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  background: transparent;
  color: #6B5750;
}
.hero-form {
  background: #FFFFFF;
  color: #2A1A14;
  border-radius: 22px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: stretch;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.hero-stack-3 {
  flex: 2 1 220px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B5750;
}
.hero-field {
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #2A1A14;
  background: transparent;
  min-height: 28px;
}
.hero-form-divider {
  width: 1px;
  background: #EFE4E0;
  margin: 10px 0;
}
.hero-stack-4 {
  flex: 1 1 150px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stack-5 {
  flex: 1 1 130px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-form-btn {
  flex: 1 1 160px;
  background: var(--gold);
  color: #FFFFFF;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  padding: 16px 22px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.hero-txt-2 {
  color: #ffffff;
}
.hero-text-2 {
  margin: 0;
  font-size: 13px;
  color: #D9C7C0;
}
.hero-trust {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 14px;
  color: #E6D6D0;
}
.hero-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-media {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0 24px 24px;
}
.hero-arch {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 28px 28px / 40% 40% 28px 28px;
  background: #4A3229;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.28);
}
.hero-pill {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  color: #F4E6E1;
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-next {
  position: absolute;
  left: 0;
  bottom: 72px;
  background: #FFFFFF;
  color: #2A1A14;
  border-radius: 18px;
  padding: 14px 20px 14px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-txt-3 {
  width: 56px;
  height: 60px;
  border-radius: 12px;
  background: #F7EEEA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hero-txt-4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #A23B4C;
}
.hero-serif {
  font-family: 'Literata', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}
.hero-txt-5 {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-eyebrow-2 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B5750;
}
.hero-txt-6 {
  font-weight: 800;
  font-size: 16px;
}
.hero-badge {
  position: absolute;
  right: 0;
  top: 8px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #F4C9C3;
  color: #2A1A14;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Literata', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.1;
  padding: 18px;
  transform: rotate(-9deg);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

/* -------- Our Story inside the featured card -------- */
/* The card already animates in, so its content doesn't get the scroll reveal */
.hero .reveal {
  opacity: 1;
  transform: none;
}

/* -------- Classes -------- */
.classes {
  background: #FFFFFF;
  padding: 120px 32px;
}
.classes-stack {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.classes-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}
.classes-stack-2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 660px;
}
.classes-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #6B5750;
}
.class-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.class-filter {
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  min-height: 44px;
  cursor: pointer;
}
.class-filter--1 {
  border: 1px solid #2A1A14;
  background: #2A1A14;
  color: #FFFFFF;
  font-weight: 700;
}
.class-filter--2 {
  border: 1px solid #E3D3CD;
  background: #FFFFFF;
  color: #2A1A14;
  font-weight: 600;
}
.class-list {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 32px;
}
.class-card {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.class-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.class-card-media--1 {
  background: #EAD7D0;
  color: rgba(255,255,255,0.8);
}
.classes-txt {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  gap: 6px;
}
.classes-pill {
  font-size: 12px;
  font-weight: 800;
  background: #2A1A14;
  color: #FFFFFF;
  padding: 7px 12px;
  border-radius: 999px;
}
.classes-pill-2 {
  font-size: 12px;
  font-weight: 800;
  background: #FFFFFF;
  color: #2A1A14;
  padding: 7px 12px;
  border-radius: 999px;
}
.classes-pill-3 {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.9);
  color: #5A4740;
  padding: 7px 12px;
  border-radius: 999px;
}
.classes-stack-3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.classes-row-2 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #6B5750;
  flex-wrap: wrap;
}
.classes-txt-2 {
  color: #A23B4C;
  font-weight: 800;
}
.classes-heading {
  margin: 0;
  font-family: 'Literata', Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.15;
}
.classes-link {
  color: #2A1A14;
  text-decoration: none;
}
.classes-text-2 {
  margin: 0;
  color: #6B5750;
  font-size: 15px;
  line-height: 1.6;
}
.classes-row-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid #EFE4E0;
}
.classes-txt-3 {
  font-weight: 500;
  color: #6B5750;
  font-size: 14px;
}
.classes-link-2 {
  font-weight: 800;
  font-size: 14px;
  color: #A23B4C;
  text-decoration: none;
}
.class-card-media--2 {
  background: #DCC6BC;
  color: rgba(255,255,255,0.8);
}
.class-card-media--3 {
  background: #E6D2CB;
  color: rgba(255,255,255,0.8);
}
.class-card-media--4 {
  background: #D8C0B5;
  color: rgba(255,255,255,0.8);
}
.class-card-media--5 {
  background: #EFD9D3;
  color: rgba(255,255,255,0.85);
}
.class-card-media--6 {
  background: #E1CBC2;
  color: rgba(255,255,255,0.8);
}

/* -------- Our story -------- */
.story-row {
  flex: 1 1 440px;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
}
.story-row-2 {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 28px 28px / 40% 40% 28px 28px;
  background: #EAD7D0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.story-pill {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.9);
  color: #5A4740;
  padding: 8px 14px;
  border-radius: 999px;
}
.story-layer {
  position: absolute;
  right: 0;
  bottom: 56px;
  background: #2A1A14;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 50px rgba(42,26,20,0.25);
}
.story-serif {
  font-family: 'Literata', Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}
.story-txt {
  font-size: 13px;
  color: #D9C7C0;
}
.story-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #6B5750;
}
.story-blockquote {
  margin: 8px 0;
  padding: 0 0 0 0;
  font-family: 'Literata', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: #2A1A14;
}
.story-text-2 {
  margin: 0;
  font-family: 'Literata', Georgia, serif;
  font-style: italic;
  font-size: 22px;
}

/* -------- Instagram gallery -------- */
.gallery {
  background: #2A1A14;
  color: #FFFFFF;
  padding: 120px 32px;
}
.gallery-stack {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.gallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.gallery-stack-2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}
.gallery-eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #F4C9C3;
  font-weight: 800;
}
.gallery-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #E6D6D0;
}
.gallery-btn {
  background: var(--gold);
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gallery-grid {
  columns: 4 240px;
  column-gap: 16px;
}
.gallery-tile {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.22);
}
.gallery-tile--1 {
  aspect-ratio: 4 / 5;
  background: #4A3229;
}
.gallery-txt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-svg {
  position: absolute;
  right: 14px;
  top: 14px;
}
.gallery-tile--2 {
  aspect-ratio: 9 / 16;
  background: #533A30;
}
.gallery-pill {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,0.14);
  color: #F4E6E1;
  padding: 7px 12px;
  border-radius: 999px;
}
.gallery-tile--3 {
  aspect-ratio: 1 / 1;
  background: #3F2A22;
}
.gallery-tile--4 {
  aspect-ratio: 1 / 1;
  background: #5A4036;
}
.gallery-txt-2 {
  position: absolute;
  inset: 0;
  background: rgba(30,18,14,0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #FFFFFF;
  text-align: center;
  padding: 20px;
}
.gallery-txt-3 {
  font-size: 14px;
  font-weight: 800;
}
.gallery-txt-4 {
  font-size: 12px;
  color: #E6D6D0;
}
.gallery-tile--5 {
  aspect-ratio: 4 / 5;
  background: #533A30;
}
.gallery-tile--6 {
  aspect-ratio: 9 / 16;
  background: #5A4036;
}
.gallery-tile--7 {
  aspect-ratio: 1 / 1;
  background: #533A30;
}
.gallery-tile--8 {
  aspect-ratio: 4 / 5;
  background: #3F2A22;
}
.gallery-tile--9 {
  aspect-ratio: 1 / 1;
  background: #4A3229;
}
.gallery-row-2 {
  display: flex;
  justify-content: center;
}
.gallery-btn-2 {
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}


/* -------- FAQ -------- */
.faq {
  background: #F7EEEA;
  padding: 120px 32px;
}
.faq-row {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}
.faq-stack {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-title {
  margin: 0;
  font-family: 'Literata', Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.faq-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #6B5750;
}
.faq-link {
  color: #2A1A14;
  font-weight: 700;
}
.faq-list {
  flex: 2 1 640px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
}
.faq-stack-2 {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid #DCC6BC;
}
.faq-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #6B5750;
}

/* -------- Footer -------- */
.footer {
  background: #1E120E;
  color: #E6D6D0;
  padding: 88px 32px 40px;
}
.footer-stack {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  justify-content: space-between;
}
.footer-stack-2 {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-stack-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.footer-logo {
  height: 230px;
  width: auto;
  display: block;
}
.footer-txt {
  font-family: 'Pinyon Script', cursive;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  margin-top: 4px;
}
.footer-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: -10px;
  color: #D9C7C0;
}
.footer-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  max-width: 360px;
}
.footer-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 420px;
}
.footer-field {
  flex: 1 1 200px;
  font: inherit;
  font-size: 15px;
  background: #2A1A14;
  color: #FFFFFF;
  border: 1px solid #4A3229;
  border-radius: 999px;
  padding: 13px 18px;
  min-height: 48px;
}
.footer-btn {
  background: var(--gold);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 48px;
  cursor: pointer;
}
.footer-row-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.footer-eyebrow-2 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F4C9C3;
  font-weight: 800;
  margin-bottom: 4px;
}
.footer-link {
  color: #E6D6D0;
  text-decoration: none;
}
.footer-stack-4 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.footer-row-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid #3B261E;
  font-size: 13px;
  color: #BFA9A1;
}

/* --------------------------------------------------------------------------
   Scroll reveal — js/site.js adds .reveal to section content, then .is-in once it
   scrolls into view. Each element animates once per page load, then the classes are
   removed so it's completely static. Tweak the distance / timing here.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   4. Tablet + phone
   -------------------------------------------------------------------------- */

/* Tablet: drop the two smallest props so the sides stay airy */
@media (max-width: 820px) {
  .cm-prop-opt {
    display: none;
  }
}

/* Phone — values from the "Home — mobile" board */
@media (max-width: 600px) {
  /* Intro */
  .cm-hero-h {
    min-height: 520px;
  }

  .cm-hero-pad {
    padding: 60px 20px 100px;
  }

  .intro-frame {
    inset: 12px;
  }

  .intro-logo {
    max-width: 290px;
    max-width: min(290px, 40vh);
  }

  .intro-name {
    margin-top: 8px;
    font-size: 46px;
  }

  .intro-tagline {
    margin-top: -10px;
    font-size: 10px;
    white-space: nowrap;
  }

  .intro-socials {
    gap: 12px;
    margin-top: 36px;
  }

  .intro-social {
    width: 46px;
    height: 46px;
  }

  .intro-cta-wrap {
    margin-top: 24px;
  }

  .intro-cta {
    gap: 10px;
    padding: 16px 30px;
    font-size: 13px;
    min-height: 52px;
  }

  .scroll-cue {
    bottom: 22px;
  }

  /* Props: all eight come back on phones, placed like the mobile board */
  .cm-prop-opt {
    display: block;
  }

  .cm-prop img {
    filter: drop-shadow(6px 10px 12px rgba(12, 6, 4, 0.45)) drop-shadow(1px 2px 3px rgba(12, 6, 4, 0.25));
  }

  .prop-babys-breath { left: -66px; top: 20px; width: 120px; }
  .prop-ribbon { left: -60px; top: -8px; width: 190px; }
  .prop-plaque { left: -126px; bottom: -20px; width: 190px; }
  .prop-scalloped-cookie { left: 40px; bottom: -44px; width: 82px; }
  .prop-lilac { right: -64px; top: -70px; width: 130px; }
  .prop-pink-flower { right: -34px; top: 66px; width: 56px; }
  .prop-heart-cookie { right: -60px; bottom: 26px; width: 120px; }
  .prop-scribe { right: -70px; bottom: -80px; width: 160px; }

  /* Booking card */
  .hero {
    padding: 104px 20px 48px;
  }

  .hero-inner {
    gap: 40px;
  }


  /* Sections */
  .classes,
  .story,
  .gallery,
  .faq {
    padding: 64px 20px;
  }

  .classes > div,
  .story > div,
  .gallery > div,
  .faq > div {
    gap: 40px;
  }

  .footer {
    padding: 56px 20px 32px;
  }

  /* Class filters + cards become swipeable rows */
  .class-filters,
  .class-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    padding-right: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .class-filters::-webkit-scrollbar,
  .class-list::-webkit-scrollbar {
    display: none;
  }

  .class-filter {
    flex: 0 0 auto;
  }

  .class-list {
    gap: 14px;
    scroll-snap-type: x mandatory;
  }

  .class-card {
    flex: 0 0 272px;
    scroll-snap-align: start;
  }

  .private-card {
    padding: 24px;
  }

  .gallery-grid {
    columns: 2;
    column-gap: 10px;
  }

  .gallery-tile {
    margin-bottom: 10px;
    border-radius: 14px;
  }

  .gift-card {
    padding: 24px;
  }

  .gift-card-logo {
    height: 40px;
  }

  .gift-card-name {
    font-size: 24px;
  }

  .gift-card-amount {
    font-size: 40px;
  }

  .footer-logo {
    height: 160px;
  }
}

/* Logo text: same gold as the logo mark */
.brand-name,
.brand-tagline,
.intro-name,
.intro-tagline,
.footer-txt,
.footer-eyebrow {
  color: #C5A96D;
}


/* Navbar logo: 30% smaller */
.brand {
  gap: 10px;
}
.brand-logo {
  height: 46px;
}
.brand-name {
  font-size: 32px;
}
.brand-tagline {
  font-size: 7px;
  margin-top: -7px;
}

/* Floating props hidden for now: delete this block to bring them back */
.cm-props {
  display: none;
}

/* Our Story photo */
.story-row-2 {
  overflow: hidden;
}
.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Gallery photos */
.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Keep the icon and Reel label readable on light photos */
.gallery-svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}
.gallery-pill {
  background: rgba(30, 18, 14, 0.55);
  backdrop-filter: blur(6px);
}

/* Instagram embeds in the gallery */
.gallery-embed .instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
/* Shown for a moment while Instagram loads each post */
.gallery-embed blockquote.instagram-media {
  background: #FFFFFF;
  padding: 16px;
  font-size: 14px;
}
.gallery-embed blockquote.instagram-media a {
  color: #2A1A14;
  font-weight: 700;
}


/* Class photos fill their frame */
.class-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Our Story: less space above the photo on phones */
@media (max-width: 600px) {
  .hero {
    padding-top: 72px;
  }
}

/* TRY: centred quote in Our Story (delete this whole block to undo) */
/*.story-blockquote {
  text-align: center;
}

/* Class cards: same width on tablet and desktop, so the last card in a row never stretches */
@media (min-width: 601px) {
  .class-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
}

/* Class cards: price row sits at the bottom, lined up across each row */
.classes-stack-3 {
  flex: 1 1 auto;
}
.classes-row-3 {
  margin-top: auto;
}

/* Classes intro: wide enough for the subhead on one line */
.classes-stack-2 {
  max-width: 720px;
}