/* Pelin Fit Living: warm neutrals, quiet green accents and clear typography. */

:root {
  --bone:       #f7f4ef;
  --bone-deep:  #efeae1;
  --ink:        #17150f;
  --ink-soft:   #514c43;
  --dim:        #70695f;
  --hair:       #ddd5c7;
  --sage:       #6e7f6b;
  --accent:     #405747;
  --whatsapp:   #147c3a;

  /* One family throughout. A neutral grotesque at light weight and large
     sizes reads calm and architectural; a high-contrast display serif at the
     same size reads decorative, which is not what this studio is. */
  --display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --shell: 84rem;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --band: clamp(4rem, 9vw, 8rem);
  --measure: 32rem;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* ── type ─────────────────────────────────────────────────────────────────── */

.display {
  font-family: var(--display);
  font-weight: 300;
  /* Loose enough that descenders never touch the line below. */
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0;
  text-wrap: balance;
  font-size: clamp(2rem, 3.6vw, 3rem);
}
.display-lg { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.display-xl {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  letter-spacing: -0.034em;
  line-height: 1.06;
}

h1, h2, h3 { font-weight: 400; margin: 0; }

.micro {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

p { margin: 0 0 1.35rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 36rem; }
.prose { max-width: var(--measure); color: var(--ink-soft); }
.dim { color: var(--dim); }

a { color: inherit; text-decoration: none; }

.prose a, .lead a, .footer-col a, .big-link {
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hair);
  transition: text-decoration-color .3s var(--ease);
}
.prose a:hover, .lead a:hover, .footer-col a:hover, .big-link:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

.visually-hidden, .honeypot {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--bone); padding: .75rem 1.25rem; }
.skip:focus { left: 0; }

/* ── reveal ───────────────────────────────────────────────────────────────── */

[data-reveal] { opacity: 0; transform: translateY(14px); }
.revealed[data-reveal], [data-reveal].revealed {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.no-js [data-reveal] { opacity: 1; transform: none; }

/* A heading splits into lines that rise one after another, each behind its own
   mask. The mask is the line box, which is shorter than the letters actually
   are — so without this padding it slices the tails off g, y and p. The
   negative margin takes the space back, leaving the layout untouched. */
.reveal-line {
  display: block;
  overflow: hidden;
  padding: 0.12em 0 0.26em;
  margin: -0.12em 0 -0.26em;
}
.reveal-line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1s var(--ease);
}
.revealed .reveal-line > span { transform: none; }
.revealed .reveal-line:nth-child(2) > span { transition-delay: .07s; }
.revealed .reveal-line:nth-child(3) > span { transition-delay: .14s; }
.revealed .reveal-line:nth-child(4) > span { transition-delay: .21s; }

/* ── header ───────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--hair); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.5rem; }

.brand { display: grid; gap: .15rem; }
.brand-name { font-family: var(--display); font-weight: 400; font-size: 1.1875rem; line-height: 1; letter-spacing: -.02em; }
.brand-tagline { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

.site-nav { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); }
.site-nav a {
  font-size: .875rem; font-weight: 400; letter-spacing: .01em; color: var(--ink-soft);
  padding: .4rem 0; position: relative; transition: color .3s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current='page'] { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 2.75rem; height: 2.75rem; padding: 0; color: var(--ink); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 1px; background: currentColor; margin: 0 auto;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ── hero ─────────────────────────────────────────────────────────────────── */

.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem); }

/* Asymmetric: the text holds seven of twelve columns, the photograph runs off
   the right edge of the page. */
/* The photograph gets half the page, so a wide one still reads as a picture
   rather than a stamp, and a tall one is not forced to crop. */
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--pad); align-items: center; }
.hero-text { grid-column: 1 / 7; }
.hero-media { grid-column: 7 / -1; margin-right: calc(var(--pad) * -1); }

/* Before any photograph is uploaded there is no second column, so the words
   spread rather than leaving half the page blank. */
.hero-solo .hero-text { grid-column: 1 / 10; }
.hero-solo .hero-lead { max-width: 34rem; }

.hero-text .micro { margin-bottom: 1.5rem; }
.hero-lead { margin-top: clamp(1.75rem, 3vw, 2.75rem); max-width: 28rem; color: var(--ink-soft); }
.hero-actions { margin-top: 2.5rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* Keep the full photograph visible in every placement. */
.frame { margin: 0; background: transparent; position: relative; isolation: isolate; overflow: hidden; border-radius: 8px; max-width: min(100%, calc(80svh * var(--photo-ratio, 100)), calc(52rem * var(--photo-ratio, 100))); }
.frame img { width: 100%; height: auto; max-height: min(80svh, 52rem); object-fit: contain; }



/* ── marquee ──────────────────────────────────────────────────────────────── */

.marquee { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 1.25rem 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee-run { display: flex; align-items: center; white-space: nowrap; }
.marquee-run span { font-family: var(--display); font-weight: 300; font-size: 1rem; letter-spacing: -.01em; padding: 0 1.25rem; color: var(--ink-soft); }
.marquee-run i { font-style: normal; color: var(--hair); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── bands ────────────────────────────────────────────────────────────────── */

.band { padding: var(--band) 0; }
.band-tight { padding: clamp(3.25rem, 6vw, 5.5rem) 0; }
.band-tint { background: var(--bone-deep); }
.band-close { padding: var(--band) 0 calc(var(--band) * .7); }
.band-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.band-more { margin-top: 3rem; }

.page-head { padding: clamp(3rem, 7vw, 6rem) 0 clamp(1rem, 3vw, 2rem); }
.page-head .lead { margin-top: 2rem; }

.bleed { padding: 0 0 clamp(2rem, 5vw, 4rem); }
.bleed .frame { max-height: 76vh; }

/* ── statement quote ──────────────────────────────────────────────────────── */

.statement { margin: 0; max-width: 46rem; }
.statement .display { font-size: clamp(1.375rem, 2.6vw, 2.125rem); line-height: 1.3; letter-spacing: -.022em; }
.statement cite { display: block; margin-top: 2rem; font-style: normal; }
.statement-centre { margin-inline: auto; text-align: center; }

/* ── the index ────────────────────────────────────────────────────────────── */

.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }

.index-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 19rem);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--hair);
  transition: background .3s var(--ease);
}
.index-row:hover { background: color-mix(in srgb, var(--bone-deep) 50%, transparent); }

.index-number { margin: .55rem 0 0; }
.index-title { font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-weight: 300; letter-spacing: -.024em; }
.index-text { margin: .9rem 0 0; color: var(--ink-soft); max-width: 34rem; font-size: 1rem; }
.index-detail { margin: .25rem 0 0; min-width: 0; }
.rate-heading { font-size: .8125rem; font-weight: 400; color: var(--ink-soft); margin: 0 0 .75rem; }
.session-rates { margin: 0; font-variant-numeric: tabular-nums; }
.session-rate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; align-items: baseline; padding: .625rem 0; border-top: 1px solid var(--hair); }
.session-rate dt { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.session-rate dd { font-size: 1.0625rem; font-weight: 500; color: var(--ink); text-align: right; margin: 0; overflow-wrap: anywhere; }
.session-rate-note { display: block; }
.session-rate-note dd { text-align: left; font-weight: 400; }
@media (max-width: 60rem) {
  .index-row { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; }
  .index-detail { grid-column: 2; margin-top: .5rem; width: 100%; max-width: 25rem; }
}

/* ── two-column editorial blocks ──────────────────────────────────────────── */

.columns-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--pad); }
.columns-aside { grid-column: 1 / 4; }
.columns-aside .micro { margin: 0; }
.columns-main { grid-column: 5 / -1; }

.offset-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--pad); align-items: center; }
.offset-media { grid-column: 1 / 7; }
.offset-text { grid-column: 8 / -1; }

.rule-list, .plain-list { list-style: none; margin: 0; padding: 0; }
.rule-list li {
  border-top: 1px solid var(--hair);
  padding: 1.1rem 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.rule-list li:last-child { border-bottom: 1px solid var(--hair); }
.plain-list li { color: var(--ink-soft); padding: .3rem 0; }

.detail-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.detail p { color: var(--ink-soft); font-size: 1rem; }
.detail .micro { color: var(--dim); }

/* ── testimonials ─────────────────────────────────────────────────────────── */

.quote-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.quote { margin: 0; border-top: 1px solid var(--hair); padding-top: 1.75rem; }
.quote-text {
  font-family: var(--display); font-weight: 300; font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.65; letter-spacing: -.015em; color: var(--ink); margin-bottom: 1.5rem;
}
.quote cite { font-style: normal; display: block; color: var(--ink-soft); }
.quote cite .dim { display: block; margin-top: .3rem; }

/* ── buttons and links ────────────────────────────────────────────────────── */

.button {
  display: inline-block; background: var(--accent); color: var(--bone);
  border: 1px solid var(--accent); border-radius: 4px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 500;
  letter-spacing: .01em; text-transform: none;
  padding: 1.05rem 2.1rem; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.button:hover { background: transparent; color: var(--accent); }

.button-line { background: transparent; color: var(--accent); }
.button-line:hover { background: var(--accent); color: var(--bone); }

.button-whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.button-whatsapp:hover { background: transparent; color: var(--whatsapp); }

.link-arrow { font-size: .8125rem; letter-spacing: .04em; position: relative; padding-bottom: .25rem; }
.link-arrow::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left; transition: transform .45s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: right; }
.link-arrow::before { content: '→'; margin-right: .5rem; display: inline-block; transition: transform .45s var(--ease); }
.link-arrow:hover::before { transform: translateX(4px); }

.big-link { font-family: var(--display); font-weight: 300; font-size: clamp(1.125rem, 1.5vw, 1.375rem); letter-spacing: -.02em; }

/* ── call to action ───────────────────────────────────────────────────────── */

.cta { max-width: 44rem; }
.cta-text { margin-top: 1.75rem; color: var(--ink-soft); max-width: 30rem; }
.cta-actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── contact ──────────────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--pad); align-items: start; }
.contact-direct { grid-column: 1 / 5; }
.contact-form-wrap { grid-column: 6 / -1; }

.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; justify-items: start; }

.field { display: grid; gap: .55rem; margin-bottom: 1.75rem; }
.field-row { display: grid; gap: 1.75rem; grid-template-columns: 1fr 1fr; }
.field label { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.optional { text-transform: none; letter-spacing: 0; }

input, select, textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--hair);
  border-radius: 0; padding: .6rem 0; width: 100%;
  transition: border-color .4s var(--ease);
}
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--ink); }
textarea { resize: vertical; min-height: 7rem; line-height: 1.7; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 7px) 1.15rem, calc(100% - 2px) 1.15rem;
  background-size: 5px 5px; background-repeat: no-repeat;
}

.contact-form .micro { margin-bottom: 2.5rem; }
.contact-form .button { margin-top: .75rem; }
.form-note { margin: 1.5rem 0 0; font-size: .8125rem; color: var(--dim); }

.notice { padding: 1.1rem 1.35rem; margin-bottom: 2rem; font-size: .9375rem; border: 1px solid; }
.notice p { margin: 0; }
.notice-good { border-color: var(--sage); color: var(--sage); }
.notice-bad { border-color: #b4573c; color: #96432b; }

/* ── footer ───────────────────────────────────────────────────────────────── */

.site-footer { border-top: 1px solid var(--hair); padding: clamp(3.5rem, 8vw, 6.5rem) 0 2.5rem; }

.footer-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.footer-display {
  font-family: var(--display); font-weight: 200; font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.1; letter-spacing: -.032em; margin: 0;
}
.footer-cta { font-size: .8125rem; letter-spacing: .04em; padding-bottom: .5rem; border-bottom: 1px solid var(--hair); transition: border-color .4s var(--ease); }
.footer-cta:hover { border-bottom-color: var(--ink); }
.footer-cta span { display: inline-block; transition: transform .45s var(--ease); }
.footer-cta:hover span { transform: translateX(4px); }

.footer-grid {
  display: grid; gap: var(--pad) clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  border-top: 1px solid var(--hair); padding-top: 2.5rem;
}
.footer-col p { margin: 0 0 .5rem; font-size: .9375rem; color: var(--ink-soft); }
.footer-col .micro { margin-bottom: 1.25rem; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.75rem; border-top: 1px solid var(--hair);
}
.footer-bottom p { margin: 0; font-size: .8125rem; color: var(--dim); max-width: 30rem; }

/* ── floating WhatsApp ────────────────────────────────────────────────────── */

.whatsapp-float {
  position: fixed; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 30; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 24px rgb(23 21 15 / .16);
  transition: transform .45s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px); }

/* ── narrow screens ───────────────────────────────────────────────────────── */

@media (max-width: 60rem) {
  .hero-text { grid-column: 1 / 9; }
  .hero-media { grid-column: 1 / -1; margin-right: 0; margin-top: 2.5rem; }
  .offset-media, .offset-text, .columns-aside, .columns-main,
  .contact-direct, .contact-form-wrap { grid-column: 1 / -1; }
  .columns-aside { margin-bottom: .5rem; }
  .contact-form-wrap { margin-top: 3rem; }
}

@media (max-width: 48rem) {
  .hero-text { grid-column: 1 / -1; }
  .index-row { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; }
  .index-detail { grid-column: 2; margin-top: .5rem; }
  .index-row:hover { padding-left: 0; background: none; }
  .field-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-top { display: grid; }

  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .site-nav {
    position: absolute; top: 100%; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1);
    flex-direction: column; gap: 0; background: var(--bone);
    border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
    padding: .5rem var(--pad) 1.5rem; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--hair); font-size: 1.125rem; letter-spacing: 0; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .reveal-line > span { transform: none !important; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .whatsapp-float, .marquee, .skip { display: none; }
  body { background: #fff; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Weekly hours stay visible as seven rows on phones, without sideways scrolling. */
.online-intro { max-width: 36rem; color: var(--ink-soft); margin-bottom: 2.5rem; }
.online-calendar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.online-calendar-head h3 { font-size: 1rem; }
.online-calendar-head p { margin: 0; color: var(--ink-soft); font-size: .8125rem; }
.online-week { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0; margin: 0 0 1.5rem; border: 1px solid var(--hair); }
.online-day { padding: 1.5rem .875rem; border-right: 1px solid var(--hair); min-width: 0; }
.online-day:last-child { border-right: 0; }
.online-day h4 { margin: 0 0 1.5rem; font-size: .875rem; font-weight: 500; }
.online-day.is-available { background: #e6ebdf; color: #30402e; }
.online-status { font-size: .75rem; color: var(--ink-soft); margin: 0 0 .75rem; line-height: 1.5; }
.is-available .online-status { color: #30402e; font-weight: 500; }
.online-time { font-size: 1rem; font-weight: 400; white-space: nowrap; }
.online-enquire { font-size: .8125rem; text-decoration: underline; text-underline-offset: .25em; }
.online-enquire:hover { text-decoration-thickness: 2px; }
.online-note { max-width: 44rem; font-size: .875rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
@media (max-width: 70rem) {
  .online-week { grid-template-columns: 1fr; }
  .online-day { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: .5rem 1rem; align-items: center; padding: 1.125rem; border-right: 0; border-bottom: 1px solid var(--hair); }
  .online-day:last-child { border-bottom: 0; }
  .online-day h4, .online-day p { margin: 0; }
  .online-day .online-time { grid-column: 2; grid-row: 1; }
  .is-available .online-status { grid-column: 2; grid-row: 2; }
  .online-enquire { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 26rem) {
  .online-day { grid-template-columns: 5.25rem minmax(0, 1fr) auto; gap: .5rem; padding: 1rem .75rem; }
  .online-day h4 { font-size: .8125rem; }
  .online-time { font-size: .9375rem; }
}


/* Wide photos get their own row; taller photos balance a column of text. */
.hero-landscape .hero-text, .hero-panoramic .hero-text, .hero-natural .hero-text { grid-column: 1 / -1; max-width: 48rem; }
.hero-landscape .hero-lead, .hero-panoramic .hero-lead, .hero-natural .hero-lead { max-width: 36rem; }
.hero-landscape .hero-media, .hero-panoramic .hero-media, .hero-natural .hero-media { grid-column: 1 / -1; margin: 0; width: 100%; }
.hero-landscape .hero-media { max-width: 64rem; justify-self: end; }
.hero-portrait .hero-media { max-width: 30rem; justify-self: center; margin-right: 0; }
.photo-layout-portrait .offset-media { max-width: 30rem; }
.photo-layout-square .offset-media { max-width: 38rem; }
.photo-layout-landscape .offset-media, .photo-layout-panoramic .offset-media, .photo-layout-natural .offset-media { grid-column: 1 / -1; width: 100%; max-width: 64rem; }
.photo-layout-landscape .offset-text, .photo-layout-panoramic .offset-text, .photo-layout-natural .offset-text,
.photo-layout-empty .offset-text { grid-column: 1 / -1; max-width: 44rem; }
.offset-text .display { margin-bottom: 1.5rem; }
@media (max-width: 60rem) {
  .hero-portrait .hero-media { justify-self: start; width: 100%; }
}

.online-day.session-one-to-one { background: #eee5d7; }
.schedule-day-note { color: var(--ink-soft); font-size: .75rem; line-height: 1.5; margin: .75rem 0; }
.group-description { margin-top: 2rem; }
.group-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 2.5rem 0; }
.group-details dt { font-weight: 500; font-size: .875rem; margin-bottom: .75rem; }
.group-details dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.group-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
@media (max-width: 70rem) {
  .online-day.is-available { grid-template-columns: 7rem minmax(0, 1fr); }
  .online-day.is-available .online-status { grid-column: 2; grid-row: 1; }
  .online-day.is-available .online-time { grid-column: 2; grid-row: 2; }
  .schedule-day-note { grid-column: 2; margin: 0; }
  .online-day.is-available .online-enquire { grid-column: 2; grid-row: auto; }
}
@media (max-width: 40rem) {
  .group-details { grid-template-columns: 1fr; gap: 1.5rem; }
  .online-day.is-available { grid-template-columns: 5.25rem minmax(0, 1fr); }
}
.online-time { white-space: normal; }
#online-heading, #group-heading, #f-name, #f-interest { scroll-margin-top: 8rem; }


/* Keep the next step visible and preserve the visitor's place in the enquiry. */
.hero-reassurance { margin: 1rem 0 .75rem; color: var(--ink-soft); font-size: .875rem; max-width: 30rem; }
.hero-availability { display: block; width: fit-content; font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; padding: .5rem 0; }
.hero-extra { margin-top: 1.5rem; font-size: 1rem; color: var(--ink-soft); max-width: 32rem; }
.session-enquiry { display: inline-block; margin-top: 1rem; padding: .5rem 0; font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; }
.section-links { display: flex; gap: .5rem 2rem; flex-wrap: wrap; }
.section-links a { padding: .75rem 0; font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; }
.journey-steps { list-style: none; padding: 0; margin: 2.5rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.journey-steps li { padding-top: 1.5rem; border-top: 1px solid var(--hair); }
.journey-steps .micro { display: block; margin-bottom: 1rem; }
.journey-steps h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.journey-steps p { color: var(--ink-soft); font-size: 1rem; }
.quote-grid:has(> :only-child) { grid-template-columns: 1fr; max-width: 46rem; }
.form-heading { font-size: 1.25rem; margin-bottom: 1.5rem; }
.form-guidance { font-size: .875rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.contact-form .field label { color: var(--ink-soft); font-size: .875rem; letter-spacing: 0; text-transform: none; }
.field-hint { color: var(--ink-soft); font-size: .875rem; margin: 0; }
.selection-note { padding: 1rem; background: var(--bone-deep); font-size: .9375rem; }
.field-error { color: #9b2c23; font-size: .875rem; margin: 0; }
[aria-invalid='true'] { border-color: #9b2c23; }
.notice-bad a { text-decoration: underline; text-underline-offset: .2em; }
.contact-form :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[data-reveal]:focus-within { opacity: 1; transform: none; }
#session-prices, #getting-started, #form-errors, #enquiry-sent { scroll-margin-top: 8rem; }
@media (max-width: 48rem) {
  .journey-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-actions { gap: 1rem 1.5rem; }
  .whatsapp-float { width: 2.75rem; height: 2.75rem; }
}


/* Input edges and stable hover states make the quieter styling easy to use. */
.contact-form input, .contact-form select, .contact-form textarea {
  background-color: color-mix(in srgb, #fff 45%, var(--bone));
  border: 1px solid #91897d; border-radius: 4px; padding: .75rem .875rem; min-height: 3rem;
}
.contact-form select { padding-right: 2rem; background-position: calc(100% - 19px) 1.3rem, calc(100% - 14px) 1.3rem; }
.contact-form textarea { min-height: 10rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form [aria-invalid='true'] { border-color: #9b2c23; }
.online-week { border-radius: 4px; }
.online-day:first-child { border-radius: 3px 0 0 3px; }
.online-day:last-child { border-radius: 0 3px 3px 0; }
@media (max-width: 70rem) {
  .online-day:first-child { border-radius: 3px 3px 0 0; }
  .online-day:last-child { border-radius: 0 0 3px 3px; }
}
@media (prefers-reduced-motion: no-preference) {
  .revealed[data-reveal], [data-reveal].revealed { transition-duration: .55s; }
}
.contact-form .field-row { margin-bottom: 1.75rem; }
.contact-form .field-row > .field { margin-bottom: 0; }


/* Cutouts keep their transparency; opaque photographs get a quiet, consistent edge. */
.frame.is-cutout { overflow: visible; border-radius: 0; }
.frame.is-opaque::after, .frame:has(img[src$='.jpg' i])::after, .frame:has(img[src$='.jpeg' i])::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgb(81 76 67 / .14); pointer-events: none;
}
@media print {
  .frame::after { display: none; }
}


/* A supporting image belongs with the explanation, rather than in a separate band. */
.journey-with-photo .journey-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.journey-with-photo .journey-steps { grid-template-columns: 1fr; gap: 1.25rem; margin: 2rem 0; }
.journey-with-photo .journey-steps li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .5rem 1rem; padding-top: 1.25rem; }
.journey-with-photo .journey-steps .micro { grid-row: 1 / 3; margin: .15rem 0 0; }
.journey-with-photo .journey-steps h3 { margin: 0; }
.journey-with-photo .journey-steps p { grid-column: 2; margin: 0; }
.journey-photo .frame { margin-inline: auto; }
.journey-photo-portrait .frame { max-width: 20rem; }
.journey-photo-square .frame { max-width: 26rem; }
.journey-photo-landscape .frame, .journey-photo-natural .frame, .journey-photo-panoramic .frame { max-width: 30rem; }
@media (max-width: 48rem) {
  .journey-with-photo .journey-layout { grid-template-columns: 1fr; gap: 2rem; }
  .journey-photo { width: 100%; max-width: 24rem; margin-inline: auto; }
  .journey-photo-portrait .frame { max-width: 16rem; }
}


.qualification-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.qualification-group { background: var(--bone); border: 1px solid var(--hair); border-radius: 4px; padding: clamp(1.25rem, 3vw, 2rem); }
.qualification-group h3 { font-size: 1.125rem; color: var(--accent); margin-bottom: 1.5rem; }
.qualification-group ul, .qualification-study ul { list-style: none; padding: 0; margin: 0; }
.qualification-group li { color: var(--ink-soft); line-height: 1.65; padding: 1rem 0; border-top: 1px solid var(--hair); }
.qualification-group li:last-child { padding-bottom: 0; }
.qualification-study { margin-top: 1.5rem; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.qualification-study h3 { padding: 1.25rem 0; font-size: 1rem; font-weight: 400; }
.qualification-study ul { padding: 0 0 1.5rem 1.25rem; columns: 2 18rem; column-gap: 3rem; list-style: disc; }
.qualification-study li { color: var(--ink-soft); padding: .5rem 0; break-inside: avoid; font-size: 1rem; }
#qualifications-heading { scroll-margin-top: 8rem; }


.testimonials-single .shell { position: relative; }
.testimonials-single .quote-grid { position: relative; z-index: 1; }
.testimonial-watermark { position: absolute; right: var(--pad); top: 0; font-family: Georgia, serif; font-size: clamp(20rem, 34vw, 30rem); font-weight: 400; line-height: 1; color: var(--accent); opacity: .07; pointer-events: none; user-select: none; }
@media (max-width: 70rem) {
  .testimonial-watermark { display: none; }
}
@media print {
  .testimonial-watermark { display: none; }
}


/* Open groups let the headings and spacing carry the hierarchy. */
.benefit-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(3rem, 8vw, 8rem); row-gap: 3rem; margin-top: 3rem; }
.benefit-group { border-top: 1px solid var(--hair); padding-top: 1.5rem; }
.benefit-group h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 400; line-height: 1.3; color: var(--accent); margin-bottom: 1.25rem; }
.benefit-group ul { padding-left: 1.125rem; margin: 0; list-style: disc; }
.benefit-group li { color: var(--ink-soft); line-height: 1.7; padding-left: .375rem; max-width: 49ch; }
.benefit-group li + li { margin-top: .75rem; }
.benefit-group li::marker { color: var(--accent); font-size: .65em; }
#benefits-heading { scroll-margin-top: 8rem; }
@media (max-width: 48rem) {
  .benefit-groups { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
}
