/* ==========================================================================
   My Pilates Aura — Accrington
   Boutique Reformer Pilates studio

   Two constraints shaped this stylesheet, and both are temporary:

   1. There is no photography yet — the studio is still being fitted out.
      A luxury studio site normally leans on images; this one can't, so the
      weight is carried by type, space and colour instead. Image slots are
      designed in as `.slot` elements that look deliberate while empty and
      accept a real photo with one line of CSS each (see PHOTO SWAP below).

   2. Prices and the timetable aren't set. Those pages use `.pending`, which
      reads as "announced soon, join the list" rather than a broken page.

   Palette is Irram's: soft cream, warm white, olive, black accents, neutrals.
   ========================================================================== */

:root {
  --cream:      #F7F3EC;
  --warm-white: #FDFBF8;
  --sand:       #EFE8DC;
  --taupe:      #C3B7A6;
  --olive:      #6B7355;
  --olive-deep: #4A5140;
  --olive-pale: #E4E6DC;

  /* THE olive green. Sampled directly from the shade Irram supplied (2026-08-11)
     — a John Lewis screenshot, colour-picked rather than eyeballed: rgb(65,67,30).
     Used on the Book button, the Founding Members button, and the founding-members
     section background, so all three match exactly.

     It is dark, so the hover goes LIGHTER rather than darker — a darker hover at
     this value is almost black and reads as the button breaking.
     (Was #6B7F4A; before that #4F7A57; before that --olive, which read brown.) */
  --green:      #41431E;
  --green-deep: #54572A;

  --ink:        #1A1A17;
  --ink-soft:   #56544D;
  --line:       #E2DACE;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wide:  1180px;
  --text:  680px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--text); margin-left: auto; margin-right: auto; }

/* --- Type ---------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.4rem; line-height: 1.3; }

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

a { color: var(--olive-deep); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--olive);
  margin: 0 0 18px;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

.rule {
  width: 54px;
  height: 1px;
  background: var(--taupe);
  border: 0;
  margin: 32px 0;
}
.rule.centre { margin-left: auto; margin-right: auto; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 17px 38px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--warm-white);
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: transparent; color: var(--ink); }

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: var(--warm-white); }

.btn-pale {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(253,251,248,0.55);
}
.btn-pale:hover { background: var(--warm-white); color: var(--ink); border-color: var(--warm-white); }

/* Book + Founding Members buttons — the only olive green on the site, so they read
   as the things to press. Olive green per Irram, 2026-08-09. */
.btn-book {
  background: var(--green);
  border-color: var(--green);
  color: var(--warm-white);
}
.btn-book:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--warm-white);
}
.nav .btn-book:hover { color: var(--warm-white); }

/* --- Header -------------------------------------------------------------- */

.head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253,251,248,0.94);
  /* Prefixed first — without it iOS Safari skips the blur entirely and the page
     scrolls visibly through the header. */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 28px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { text-decoration: none; color: var(--ink); line-height: 1; }
.brand .name {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  display: block;
}
.brand .sub {
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 5px;
  display: block;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s;
  /* The horizontal nav survives down to 900px, which includes iPad landscape —
     a touch device. Bare text links were 21px tall, well under the 44px finger
     target. Padding fixes it without changing how the header looks. */
  padding: 12px 0;
}
.nav a:hover, .nav a.on { color: var(--ink); }
.nav .btn { padding: 13px 26px; }
.nav .btn:hover { color: var(--ink); }

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 82px 0 auto 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 28px 28px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .nav .btn { margin-top: 20px; text-align: center; border-bottom: 1px solid var(--ink); }
}

/* --- Sections ------------------------------------------------------------ */

.sec { padding: clamp(72px, 11vw, 130px) 0; }
.sec-cream { background: var(--cream); }
.sec-sand  { background: var(--sand); }
/* The founding-members band. Uses --green so it matches the two buttons exactly,
   which is what Irram asked for — one olive across all three. */
.sec-olive { background: var(--green); color: var(--warm-white); }
.sec-olive h1, .sec-olive h2, .sec-olive h3 { color: var(--warm-white); }
.sec-olive .eyebrow { color: var(--taupe); }
.sec-olive .lead { color: rgba(253,251,248,0.78); }
.sec-olive .rule { background: rgba(253,251,248,0.4); }
.sec-tight { padding: clamp(52px, 7vw, 84px) 0; }

.sec-head { max-width: 620px; margin-bottom: 56px; }
.sec-head.centre { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Page hero ----------------------------------------------------------- */

.hero {
  padding: clamp(90px, 13vw, 170px) 0 clamp(70px, 10vw, 120px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* Home hero runs two columns so the image slot has real presence */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
}

/* --- PHOTO SLOTS ---------------------------------------------------------
   Empty slots are not grey boxes. They're a soft olive-on-cream wash with a
   quiet caption, so the page looks composed rather than unfinished while
   Irram's photographer is still booked.

   PHOTO SWAP — when the real images arrive, for each slot:
       <div class="slot" style="background-image:url(../images/reformer-01.jpg)">
   and delete the <span> caption inside it. Nothing else changes; the aspect
   ratio and crop are already set here.
   ------------------------------------------------------------------------ */

.slot {
  position: relative;
  background-color: var(--olive-pale);
  background-image:
    linear-gradient(135deg, rgba(107,115,85,0.13), rgba(195,183,166,0.20));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}
.slot::after {
  /* hairline inset — reads as a framed image rather than a missing one */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(253,251,248,0.45);
  pointer-events: none;
}
.slot span {
  position: relative;
  z-index: 1;
  margin: 26px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive-deep);
  opacity: 0.62;
}
.slot-tall  { aspect-ratio: 3 / 4; }
.slot-wide  { aspect-ratio: 16 / 10; }
.slot-square{ aspect-ratio: 1 / 1; }

/* --- Cards / grids ------------------------------------------------------- */

.grid { display: grid; gap: clamp(24px, 3.5vw, 44px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--warm-white); border: 1px solid var(--line); padding: 40px 34px; }
.sec-cream .card { background: var(--warm-white); }
.card .num {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--taupe);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.card p { font-size: 15.5px; color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }

/* Class cards pair an image slot with copy */
.class-card { border: 1px solid var(--line); background: var(--warm-white); }
.class-card .slot { border-bottom: 1px solid var(--line); }
.class-card .body { padding: 32px 30px 34px; }
.class-card h3 { margin-bottom: 12px; }
.class-card p { font-size: 15.5px; color: var(--ink-soft); }
.class-card .meta {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}

/* --- Pending state (prices / timetable not set yet) ----------------------- */

.pending {
  border: 1px solid var(--line);
  background: var(--warm-white);
  padding: clamp(38px, 6vw, 62px);
  text-align: center;
}
.sec-cream .pending { background: var(--warm-white); }
.pending .eyebrow { color: var(--olive); }
.pending h3 { font-size: 1.9rem; margin-bottom: 14px; }
.pending p { color: var(--ink-soft); max-width: 460px; margin-left: auto; margin-right: auto; }

/* Price tiers shown as structure, without numbers, until Irram sets them */
.tier { border: 1px solid var(--line); background: var(--warm-white); padding: 34px 30px; display: flex; flex-direction: column; }
.tier h3 { font-size: 1.35rem; margin-bottom: 10px; }
.tier .who { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.tier .fig {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--taupe);
}
.tier.feature { border-color: var(--olive); }
.tier.feature .flag {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--olive);
  color: var(--warm-white);
  padding: 5px 12px;
  margin-bottom: 16px;
}

/* --- Email capture ------------------------------------------------------- */

.capture { display: flex; gap: 12px; max-width: 480px; flex-wrap: wrap; }
.capture.centre { margin: 0 auto; justify-content: center; }
.capture input {
  flex: 1 1 220px;
  font-family: var(--sans);
  /* 16px is a hard floor, not a design choice — iOS Safari zooms the whole page
     when a focused input is smaller, and the visitor is left pinching back out
     mid-signup. Applies to every input on the site. */
  font-size: 16px;
  font-weight: 300;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--warm-white);
  color: var(--ink);
}
.capture input:focus { outline: 1px solid var(--olive); border-color: var(--olive); }
.sec-olive .capture input { border-color: rgba(253,251,248,0.4); background: transparent; color: var(--warm-white); }
.sec-olive .capture input::placeholder { color: rgba(253,251,248,0.55); }
.capture .note { flex-basis: 100%; font-size: 12.5px; color: var(--ink-soft); margin: 4px 0 0; }
.sec-olive .capture .note { color: rgba(253,251,248,0.6); }
.capture-done { font-size: 15px; color: var(--olive-deep); }
.sec-olive .capture-done { color: var(--warm-white); }

/* --- FAQ ----------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 26px 40px 26px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--olive);
  transition: transform .25s;
}
.faq-item.open .faq-q::after { content: "\2013"; }
.faq-a { display: none; padding: 0 40px 28px 0; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 16px; color: var(--ink-soft); }

/* --- Detail list (contact, studio info) ---------------------------------- */

.detail { border-top: 1px solid var(--line); }
.detail div { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.detail dt, .detail .k {
  flex: 0 0 150px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  padding-top: 4px;
}
.detail dd, .detail .v { flex: 1 1 240px; margin: 0; }
.detail a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--taupe); }
.detail a:hover { border-color: var(--ink); }

/* --- Footer -------------------------------------------------------------- */

.foot { background: var(--ink); color: rgba(253,251,248,0.72); padding: 84px 0 34px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot .name { font-family: var(--serif); font-size: 1.6rem; color: var(--warm-white); letter-spacing: 0.06em; }
.foot h4 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 20px;
  font-weight: 400;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 12px; }
.foot a { color: rgba(253,251,248,0.72); text-decoration: none; }
.foot a:hover { color: var(--warm-white); }
.foot-base {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(253,251,248,0.14);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(253,251,248,0.45);
}

/* --- Motion -------------------------------------------------------------- */

.rise { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Launch fix 2026-10-23: the menu link colour was overriding the Book button text (dark on olive). */
.nav a.btn-book, .nav a.btn-book.on { color: var(--warm-white); }
