/* ============ Elizabeth Breen Pilates ============
   Brand colours: change them here and the whole site follows. */
:root {
  --teal: #174b46;
  --teal-deep: #0f3532;
  --cream: #faf6ee;
  --sand: #efe7d8;
  --blush: #ead8c8;
  --gold: #b99a62;
  --gold-soft: #dcc79c;
  --ink: #23332f;
  --muted: #66726c;
  --line: rgba(23, 75, 70, .14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, Arial, sans-serif;
  --photo-tone: saturate(1.04) sepia(.1) contrast(1.03) brightness(1.02); /* warms the studio's blue light */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.7 var(--serif); -webkit-font-smoothing: antialiased; }
/* Body text is Playfair Display (to match the flyer); small labels and buttons stay in Nunito Sans so they stay crisp */
.eyebrow, .btn, .nav, .tag, .ribbon, .loc-day, .link, .offer-k, .mobile-book, .benefits, .training span:first-child, .footer small, .num { font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--teal); margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 3rem); margin-inline: auto; }
.eyebrow { margin: 0 0 .9rem; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-soft); }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.6rem; border: 1px solid var(--teal); border-radius: 999px; background: var(--teal); color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s, color .2s; }
.btn:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: .55rem 1.2rem; font-size: .82rem; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--teal); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.link { display: inline-flex; gap: .4rem; color: var(--teal); font-size: .9rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link:hover { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.actions.center { justify-content: center; gap: .8rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, .92); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(23, 75, 70, .06); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { width: 170px; height: 70px; object-fit: contain; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 1.8rem; font-size: .88rem; }
.nav a:not(.btn) { text-decoration: none; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--gold); transition: right .25s; }
.nav a:not(.btn):hover::after { right: 0; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--teal); transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.header.open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.header.open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1.02; margin-bottom: 1.4rem; }
.lead { max-width: 30rem; color: #55625c; font-size: 1.1rem; margin-bottom: 2rem; }
.trust { margin: 2.2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; max-width: 30rem; }
.hero-media { position: relative; }
.arch { position: relative; z-index: 1; overflow: hidden; height: clamp(420px, 44vw, 580px); border-radius: 999px 999px 18px 18px; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-tone); animation: zoom 14s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.ring { position: absolute; z-index: 0; inset: -16px -16px 22px 22px; border: 1px solid var(--gold); border-radius: 999px 999px 18px 18px; }
.offer { position: absolute; z-index: 2; left: -2.2rem; bottom: 2.4rem; display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.3rem; max-width: 15rem; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(15, 53, 50, .16); text-decoration: none; transition: transform .2s; }
.offer:hover { transform: translateY(-3px); }
.offer-k { color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.offer strong { color: var(--teal); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.3; }

/* Benefits strip */
.benefits { background: var(--teal); color: #fff; }
.benefits-in { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.3rem 0; }
.benefits span { display: flex; align-items: center; justify-content: center; gap: .7rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.benefits b { font-weight: 500; }
.benefits i { color: var(--gold-soft); font-style: normal; }

/* Sections */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section.wrap { padding-inline: 0; }
.tint { background: var(--sand); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.head h2, .about-copy h2, .cta h2 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.1; }
.head > p { max-width: 26rem; margin: 0; color: var(--muted); font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.about-media { position: relative; margin: 0; }
.about-media img { width: 100%; height: clamp(420px, 42vw, 560px); object-fit: cover; border-radius: 18px 140px 18px 18px; filter: var(--photo-tone); }
.about-media figcaption { position: absolute; right: -1.5rem; bottom: 2rem; display: flex; flex-direction: column; padding: 1.1rem 1.4rem; border-radius: 14px; background: var(--teal); color: #fff; box-shadow: 0 18px 40px rgba(15, 53, 50, .2); }
.about-media figcaption strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.1; }
.about-media figcaption span { font-size: .78rem; color: #cfe0da; }
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy > p:not(.eyebrow):not(.training) { color: #56625d; }
.training { display: grid; gap: .3rem; margin-top: 1.8rem; padding: 1.1rem 1.3rem; border-left: 2px solid var(--gold); background: rgba(185, 154, 98, .08); font-size: .85rem; color: var(--muted); }
.training span:first-child { color: var(--teal); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }

/* Class cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.card { overflow: hidden; border-radius: 18px; background: var(--cream); }
.card-img { height: 300px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-tone); transition: transform .7s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { position: relative; padding: 2rem 2.2rem 2.2rem; }
.num { position: absolute; top: -1.6rem; right: 1.8rem; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--gold); color: #fff; font-family: var(--serif); font-size: 1.05rem; }
.card h3 { font-size: 1.9rem; margin-bottom: .7rem; }
.card p { color: var(--muted); font-size: .95rem; }
.where { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--teal) !important; font-size: .82rem !important; font-weight: 600; }
.first-class { display: flex; gap: 1.1rem; align-items: center; margin-top: 1.6rem; padding: 1.3rem 1.6rem; border-radius: 14px; background: rgba(255, 255, 255, .55); }
.first-class p { margin: 0; font-size: .92rem; color: #4f5c57; }
.fc-icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--teal); color: var(--gold-soft); }

/* Timetable */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.day { display: flex; flex-direction: column; padding: 1.8rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .25s, box-shadow .25s; }
.day:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15, 53, 50, .08); }
.day-top { display: flex; align-items: center; justify-content: space-between; }
.dname { font-family: var(--serif); font-size: 2.4rem; color: var(--teal); line-height: 1; }
.tag { padding: .3rem .8rem; border-radius: 999px; background: var(--teal); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tag-mat { background: var(--gold); }
.venue { margin: .7rem 0 1.2rem; color: var(--muted); font-size: .88rem; }
.slots { list-style: none; margin: 0 0 1rem; padding: 0; flex: 1; }
.slots li { display: flex; flex-direction: column; padding: .8rem 0; border-top: 1px solid var(--line); }
.slots b { color: var(--teal); font-size: 1.15rem; }
.slots span { color: #55625c; font-size: .88rem; }
.day-note { margin: -.4rem 0 1rem; color: var(--gold); font-size: .82rem; font-style: italic; }
.day .btn { margin-top: auto; }

/* Banner */
.banner { position: relative; overflow: hidden; min-height: 460px; display: grid; place-items: center; text-align: center; color: #fff; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-tone); }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15, 53, 50, .78), rgba(15, 53, 50, .88)); }
.banner-in { position: relative; z-index: 2; max-width: 820px; padding: 5rem 0; }
.quotes { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .8s ease, transform .8s ease, visibility .8s; }
.quote.is-on { opacity: 1; visibility: visible; transform: none; }
.banner blockquote { margin: 0 0 1.4rem; font: italic 400 clamp(1.15rem, 2.1vw, 1.55rem)/1.6 var(--serif); }
.banner figcaption { color: var(--gold-soft); font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.quote-dots { display: flex; justify-content: center; gap: .3rem; margin-top: 1.8rem; }
.quote-dots button { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.quote-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .3s, transform .3s; }
.quote-dots button[aria-selected="true"]::before { background: var(--gold-soft); transform: scale(1.25); }

/* Prices */
.prices { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 2.2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.price h3 { font-size: 1.4rem; }
.amount { margin: .8rem 0 .2rem; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--teal); }
.price > p:not(.amount) { color: var(--muted); font-size: .9rem; flex: 1; }
.price.featured { background: var(--teal); border-color: var(--teal); color: #fff; }
.price.featured h3, .price.featured .amount { color: #fff; }
.price.featured > p:not(.amount) { color: #cfe0da; }
.ribbon { margin-bottom: 1rem; padding: .3rem .8rem; border-radius: 999px; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fine { margin-top: 1.4rem; color: var(--muted); font-size: .85rem; }

/* Locations */
.locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.loc { padding: 1.8rem; border-radius: 18px; background: var(--cream); }
.loc-day { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.loc h3 { margin: .5rem 0 .6rem; font-size: 1.5rem; }
.loc p { color: var(--muted); font-size: .9rem; }

/* Contact */
.cta { padding: clamp(4.5rem, 8vw, 7rem) 0; text-align: center; }
.cta-logo { width: 150px; margin: 0 auto 1.5rem; mix-blend-mode: multiply; }
.cta h2 { margin-bottom: 1rem; }
.cta > p:not(.fine) { max-width: 34rem; margin: 0 auto 2rem; color: var(--muted); }
.cta .fine { margin-top: 2.2rem; }

/* Footer */
.footer { background: var(--teal-deep); color: #dce6e2; font-size: .82rem; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.8rem 0; }
.footer img { width: 140px; height: 56px; object-fit: contain; filter: brightness(0) invert(1); }
.footer p { margin: 0; }
.footer a { color: #fff; }
.footer small { color: #9fb5ad; }
.mobile-book { display: none; }

/* Scroll fade-in */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .arch img { animation: none; } html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 960px) {
  .nav { gap: 1.1rem; font-size: .8rem; }
  .days, .locs { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .prices .featured { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .wrap { width: calc(100% - 2.5rem); }
  .header-in { height: 70px; }
  .brand img { width: 130px; height: 56px; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.4rem; background: var(--cream); box-shadow: 0 12px 24px rgba(15, 53, 50, .1); font-size: 1rem; }
  .header.open .nav { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; min-height: 48px; }
  .hero { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero-media { order: -1; margin: 0 .5rem 1rem 0; }
  .arch { height: 400px; }
  .ring { inset: -10px -10px 16px 16px; }
  .offer { left: .8rem; bottom: -1.4rem; max-width: 13.5rem; padding: .8rem 1rem; }
  .offer strong { font-size: 1rem; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 3.8rem); margin-top: 1.6rem; }
  .benefits-in { grid-template-columns: 1fr 1fr; gap: .8rem 0; }
  .benefits span { justify-content: flex-start; font-size: .7rem; }
  .head { display: block; }
  .head > p { margin-top: 1rem; }
  .about { grid-template-columns: 1fr; }
  .about-media img { height: 380px; border-radius: 18px 90px 18px 18px; }
  .about-media figcaption { right: .8rem; bottom: -1.4rem; }
  .about-copy { margin-top: 1rem; }
  .cards, .days, .locs, .prices { grid-template-columns: 1fr; }
  .card-img { height: 240px; }
  .card-body { padding: 1.8rem 1.5rem; }
  .first-class { align-items: flex-start; }
  .banner { min-height: 0; }
  .banner-in { padding: 4rem 0; }
  .footer-in { flex-direction: column; align-items: flex-start; }
  .mobile-book { position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: center; align-items: center; min-height: 52px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px rgba(15, 53, 50, .3); }
}

/* Playfair body text reads best a touch larger on screens */
.card p, .first-class p, .loc p, .head > p, .venue, .slots span, .trust, .fine, .training { font-size: 15px; }
.price > p:not(.amount) { font-size: 15px; }
@media (max-width: 760px) { .lead { font-size: 1.05rem; } }
