/* ===========================================================
   Move With Jenny Jordan — site styles
   Palette sampled directly from the original Squarespace site.
   Edit the variables in :root to restyle the whole site.
   =========================================================== */

:root {
  /* Brand colors — taken from the original site's palette */
  --wine:        #440f29;  /* headings, buttons, footer */
  --wine-dark:   #2e0a1c;  /* hover state */
  --plum:        #380f43;  /* body text */
  --taupe:       #aea7a7;  /* accent band only — used sparingly */
  --cream:       #e5e3dc;  /* alternating sections */
  --bone:        #f7f5f0;  /* page background */
  --white:       #ffffff;  /* cards */

  /* Semantic aliases used throughout the stylesheet */
  --accent:      var(--wine);
  --accent-dark: var(--wine-dark);
  --ink:         var(--plum);
  --ink-soft:    #4e2b57;
  --paper:       var(--bone);
  --paper-alt:   var(--cream);
  --line:        rgba(68, 15, 41, .16);

  /* Fonts */
  --font-display: 'Shrikhand', Georgia, serif;
  --font-head:    'Inter Tight', system-ui, sans-serif;
  --font-body:    'Inter Tight', system-ui, sans-serif;

  /* Layout */
  --max:     1140px;
  --gutter:  24px;
  --section: 88px;
  --radius:  2px;
  --pill:    999px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  color: var(--wine);
  line-height: 1.1;
  margin: 0 0 .5em;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .005em;
}

h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 7.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .005em;
}

.caps { text-transform: uppercase; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 .9em;
}

.lede { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow { max-width: 760px; }

section { padding: var(--section) 0; }
section.tight { padding: calc(var(--section) * .6) 0; }
section.alt { background: var(--paper-alt); }

.center { text-align: center; }

.grid { display: grid; gap: 32px; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.media-right > .split__media { order: 2; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px 38px;
  border: 1.5px solid var(--wine);
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); text-decoration: none; }

.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }

.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-alt); border-color: var(--paper-alt); color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--wine);
  letter-spacing: .01em;
  white-space: nowrap;
}
.logo:hover { color: var(--wine-dark); text-decoration: none; }

.nav { display: flex; align-items: center; gap: 30px; }

.nav a {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--wine);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px var(--gutter); font-size: .95rem; }
}

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.card h3 { margin-bottom: .4em; }

/* ---------- Reviews ---------- */

.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.review p { font-size: 1.02rem; font-style: italic; color: var(--ink-soft); }

.review cite {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wine);
  margin-top: auto;
  padding-top: 18px;
}

/* ---------- Schedule tables ---------- */

.studio { margin-bottom: 44px; }
.studio:last-child { margin-bottom: 0; }

.studio__name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 2px;
}

.studio__addr {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

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

.slots li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.slots li:first-child { border-top: 1px solid var(--line); }

.slots .day { font-family: var(--font-head); font-weight: 600; }
.slots .time { color: var(--ink-soft); }

/* ---------- Dates list ---------- */

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

.dates li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
}
.dates li:first-child { border-top: 1px solid var(--line); }

.dates .when { font-weight: 600; }
.dates .hours { color: var(--ink-soft); font-weight: 400; }

/* ---------- Accordion ---------- */

.acc { border-top: 1px solid var(--line); }

.acc details { border-bottom: 1px solid var(--line); }

.acc summary {
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; line-height: 1; }
.acc details[open] summary::after { content: '\2013'; }
.acc details > div { padding: 0 0 22px; color: var(--ink-soft); }

/* ---------- Forms ---------- */

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }

.field textarea { min-height: 150px; resize: vertical; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--wine);
  color: var(--cream);
  padding: 40px 0 24px;
  font-size: .9rem;
}

.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--white); }
.site-footer h2 { color: var(--white); }

.footer__grid {
  display: grid;
  gap: 24px;
  margin-bottom: 26px;
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
}

.site-footer .logo { color: var(--cream); font-size: 1.15rem; }
.site-footer .logo:hover { color: var(--white); }

.footer__h {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .6;
  margin: 0 0 10px;
}

.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__links a { font-size: .88rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 18px;
  font-size: .78rem;
  opacity: .65;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.footer__tagline { font-size: .88rem; opacity: .8; margin-top: 8px; max-width: 26em; }

/* ---------- Utilities ---------- */

.stack-sm > * + * { margin-top: 10px; }
.mt-lg { margin-top: 40px; }
.muted { color: var(--ink-soft); }
.nowrap { white-space: nowrap; }

.note {
  background: var(--paper-alt);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Scrolling marquee banner ---------- */

.marquee {
  background: var(--wine);
  color: var(--cream);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  animation: marquee 26s linear infinite;
  will-change: transform;
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: .01em;
}

.marquee span::after {
  content: '\2726';
  margin-left: 48px;
  opacity: .55;
  font-size: .6em;
  vertical-align: middle;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Newsletter band ---------- */

.newsletter {
  background: var(--wine);
  color: var(--cream);
  padding: 48px 0;
  text-align: center;
}

.newsletter h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: .15em;
}

.newsletter h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: var(--cream);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: .5em;
}

.newsletter p { opacity: .9; }

.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.newsletter__form input {
  flex: 1 1 320px;
  max-width: 420px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border: 1px solid var(--white);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--plum);
}
.newsletter__form input:focus { outline: 2px solid var(--cream); outline-offset: 2px; }

.newsletter .btn {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.newsletter .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--wine); }

.newsletter__status { margin-top: 14px; font-size: .92rem; min-height: 1.4em; }

/* ---------- Energy: motion & hover ---------- */

.btn { transition: background .18s ease, color .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-2px); }

.review, .card { transition: transform .22s ease, box-shadow .22s ease; }
.review:hover, .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(68, 15, 41, .16);
}

.split__media img, .banner img { border-radius: var(--radius); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .btn:hover, .review:hover, .card:hover { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Banner (image above, title below) ---------- */

.banner__img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
}

.banner__title {
  text-align: center;
  padding: 56px var(--gutter) 0;
}

.banner__title h1 { margin-bottom: .25em; }

.newsletter__alt { font-size: .85rem; opacity: .75; margin-top: 10px; }
.newsletter__alt a { color: var(--cream); text-decoration: underline; }
