/* Hatha Yoga Studio
   Olive and white, with terracotta (clay) as the single warm accent. No dark
   greens and no gold: green-and-gold read as the national sporting colours.
   Content lives in data/site.json — edit there, then run: node tools/build.mjs */

:root {
  --olive-900: #3D4220;
  --olive: #5C6B2E;
  --olive-500: #7A8A45;
  --olive-tint: #DCE3C4;
  --olive-soft: #F3F5E9;
  --clay: #A8502F;
  --clay-900: #7C3A21;
  --clay-soft: #F6DDD0;
  --sand: #EFE5CC;
  --cream: #FFF8EC;
  --white: #FFFFFF;
  --ink: #23251F;
  --ink-2: #4B4E46;
  --line: #E8E0D0;

  --mat: #7A8A45;
  --mat-bg: #E3E8CC;
  --mat-ink: #3D4220;
  --chair: #C0673F;
  --chair-bg: #F6DDD0;
  --chair-ink: #7C3A21;

  --font: "Nunito", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --gutter: clamp(1rem, 4vw, 2rem);
  --shell: 1180px;
  --header-h: 104px;
  --band-y: clamp(3.5rem, 7vw, 6rem);
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.nav-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.45rem + 1.9vw, 2.75rem); }
h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
a { color: var(--olive); text-underline-offset: .2em; }
abbr[title] { text-decoration: none; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.band--clay :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: 1rem; z-index: 200;
  padding: .75rem 1rem; background: var(--clay); color: var(--white);
  font-weight: 800; border-radius: 999px; transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; }
.note { font-size: .95rem; color: var(--ink-2); margin-top: 1rem; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 800 1rem/1.1 var(--font);
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding-inline: 1.7rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

.btn--olive { background: var(--olive); color: var(--white); }
.btn--olive:hover { background: var(--olive-900); }
.btn--white { background: var(--white); color: var(--clay-900); }
.btn--white:hover { background: var(--clay-soft); }
.btn--outline { border-color: var(--olive); color: var(--olive); background: transparent; }
.btn--outline:hover { background: var(--olive); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--clay-900); border-color: var(--white); }
.btn .icon { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 800; color: var(--clay); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- pills + status */

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .22rem .7rem; border-radius: 999px;
  font-size: .82rem; font-weight: 800; line-height: 1.3; white-space: nowrap;
  background: var(--olive-soft); color: var(--olive-900);
}
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; opacity: .7; }
.pill--mat-yoga { background: var(--mat-bg); color: var(--mat-ink); }
.pill--chair-yoga { background: var(--chair-bg); color: var(--chair-ink); }
.pill--tbc { background: #EEE; color: var(--ink-2); }

.legend { display: flex; flex-wrap: wrap; gap: .5rem; }

.status {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .28rem .75rem; margin-bottom: .6rem;
  background: var(--clay-soft); color: var(--clay-900);
  border-radius: 999px; font-size: .85rem; font-weight: 800;
}
.status__dot {
  width: .6rem; height: .6rem; border-radius: 2px;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%);
}

/* ---------------------------------------------------------------- brand mark */

/* plain images, not CSS masks: mask-image is blocked when a page is opened as a local file */
.band__mark, .hero__mark, .site-footer__mark, .visit__mark {
  position: absolute; aspect-ratio: 1; pointer-events: none;
  background: url(../../assets/images/brand/mark-olive.png) center / contain no-repeat;
}
.band__mark { width: clamp(260px, 34vw, 440px); opacity: .1; }
.band__mark--right { right: -6%; top: 50%; translate: 0 -50%; }
.band__mark--left { left: -5%; top: 50%; translate: 0 -50%; }

/* ---------------------------------------------------------------- topbar + header */

.topbar { background: var(--olive-soft); color: var(--olive-900); font-size: .88rem; font-weight: 700; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar__where, .topbar__phone { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .icon { width: 15px; height: 15px; color: var(--clay); }
.topbar__phone { color: var(--olive-900); text-decoration: none; }
.topbar__phone:hover { text-decoration: underline; }
@media (max-width: 480px) { .topbar__where { display: none; } .topbar__inner { justify-content: flex-end; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { margin-right: auto; }
.brand img { width: auto; height: 80px; }
@media (max-width: 600px) { .brand img { height: 60px; } :root { --header-h: 80px; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 44px; padding: .4rem .9rem;
  background: var(--olive-soft); color: var(--olive-900);
  border: 0; border-radius: 999px; cursor: pointer;
  font: 800 .95rem/1 var(--font);
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav a { text-decoration: none; }
.site-nav ul a { position: relative; display: block; color: var(--olive-900); font-weight: 800; }
.site-nav__phone { display: none; }

@media (min-width: 961px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.75rem; }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav ul a { padding: .5rem 0; }
  .site-nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    border-radius: 4px; background: var(--clay);
    transform: scaleX(0); transition: transform .2s ease;
  }
  .site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (max-width: 960px) {
  .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h));
    display: flex; flex-direction: column; gap: 1.25rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--white); overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity .2s ease, visibility 0s linear .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transition: opacity .2s ease, visibility 0s linear 0s; }
  .site-nav ul li + li { border-top: 1px solid var(--line); }
  .site-nav ul a { font-size: 1.45rem; padding: .85rem 0; }
  .site-nav ul a[aria-current="page"] { color: var(--clay); }
  .site-nav__cta { width: 100%; min-height: 54px; font-size: 1.1rem; }
  .site-nav__phone {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; color: var(--olive); font-weight: 800;
  }
}

/* ---------------------------------------------------------------- bands + waves */

/* overflow-x stops watermarks widening the page; clip-path trims them at the bottom
   while still letting each wave rise above its band */
.band { position: relative; padding-block: var(--band-y); overflow-x: clip; clip-path: inset(-80px 0 0 0); }
.band--light { background: var(--white); }
.band--cream { background: var(--cream); }
.band--clay { background: var(--clay); color: var(--white); }
.band--olive-tint { background: var(--olive-tint); }
.band--olive-soft { background: var(--olive-soft); }
.band--sand { background: var(--sand); color: var(--olive-900); }

.wave {
  position: absolute; left: 0; top: 1px; transform: translateY(-100%);
  width: 100%; height: clamp(26px, 4.5vw, 64px); pointer-events: none;
}
.band--clay .wave { color: var(--clay); }
.band--olive-tint .wave { color: var(--olive-tint); }
.band--sand .wave { color: var(--sand); }
.site-footer .wave { color: var(--olive-soft); }

.band__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: .75rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.band__head p { margin-top: .35rem; font-size: 1.08rem; }
.band--light .band__head p, .band--cream .band__head p, .band--olive-soft .band__head p { color: var(--ink-2); }
.band--light h2, .band--cream h2, .band--olive-soft h2 { color: var(--olive-900); }
.band__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; background: var(--white); overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; background: var(--olive-tint); }
.hero__shell { position: relative; }
.hero__panel { position: relative; background: var(--white); }
.hero__panel h1 { color: var(--olive-900); max-width: 16ch; }
.hero__panel > p { margin-top: 1rem; max-width: 40ch; font-size: 1.1rem; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__mark { position: relative; display: block; width: 76px; margin-bottom: 1.1rem; }

.hero__card {
  background: var(--olive-soft); color: var(--olive-900);
  padding: 1.1rem 1.25rem 1.2rem; border-radius: 22px 22px 22px 4px;
}
.hero__card-title { display: flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 1rem; }
.daychips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.daychips li {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 50%; background: var(--olive); color: var(--white);
  font-weight: 800; font-size: .88rem; text-transform: uppercase;
}
.dotlist { display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin-top: .8rem; font-weight: 800; font-size: .95rem; }
.dotlist li { display: inline-flex; align-items: center; gap: .4rem; }
.dotlist li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--clay); }

@media (min-width: 961px) {
  .hero__media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 57%;
    border-bottom-left-radius: 36% 100%;
    overflow: hidden;
  }
  .hero__shell {
    min-height: clamp(540px, 76vh, 660px);
    display: flex; align-items: center;
    padding-block: 3.5rem;
  }
  .hero__panel { width: min(29rem, 42%); padding-block: 2rem; background: transparent; }
  .hero__card { position: absolute; right: var(--gutter); bottom: 2rem; max-width: 20rem; }
}
@media (max-width: 960px) {
  .hero__media { height: clamp(220px, 58vw, 420px); }
  .hero__panel {
    margin-top: -2.25rem; padding: 1.75rem 0 .5rem;
    border-top-right-radius: 44px;
    box-shadow: calc(var(--gutter) * -1) 0 0 var(--white);
  }
  .hero__shell { padding-bottom: 2rem; }
  .hero__card { margin-top: 1.75rem; }
  .hero__actions .btn { flex: 1 1 13rem; }
}

/* ---------------------------------------------------------------- timetable board */

.board { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); position: relative; }

.board__day {
  background: var(--white); color: var(--ink);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 8px 20px rgba(61, 66, 32, .08);
}

.board__dayname {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.15rem .75rem;
  background: var(--olive); color: var(--white);
  font-size: 1.5rem; letter-spacing: .06em; text-transform: uppercase;
}


.slot {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  grid-template-areas: "time pill" "venue venue";
  gap: .3rem .75rem;
  padding: .9rem 1.15rem .75rem;
  border-left: 6px solid var(--olive-tint);
}
.slot + .slot { border-top: 1px dashed #E2D6C1; }
.slot--mat-yoga { border-left-color: var(--mat); }
.slot--chair-yoga { border-left-color: var(--chair); }

.slot__time {
  grid-area: time; font-size: 1.7rem; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.slot__time span { margin-left: .15rem; font-size: .8rem; font-weight: 800; text-transform: uppercase; color: var(--ink-2); }
.slot .pill { grid-area: pill; justify-self: end; }

.slot__venue {
  grid-area: venue; display: flex; align-items: flex-start; gap: .45rem;
  min-height: 44px; padding-top: .35rem;
  color: var(--ink-2); text-decoration: none; font-size: .95rem; line-height: 1.3;
}
.slot__venue .icon { width: 18px; height: 18px; margin-top: .1rem; color: var(--clay); }
.slot__venue strong { display: block; color: var(--ink); font-size: 1.02rem; }
.slot__venue:hover strong { color: var(--clay); text-decoration: underline; }

.timetable .band__foot .btn { flex: none; }

/* ---------------------------------------------------------------- services: home cards */

.offers { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .offers { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.offer { display: flex; flex-direction: column; border-radius: 0 0 16px 16px; overflow: hidden; }
.offer--olive { background: var(--olive-tint); }
.offer--sand { background: var(--sand); }
.offer__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 64px 0 0 0;
  transition: transform .4s ease;
}
.offer__media { display: block; overflow: hidden; border-radius: 64px 0 0 0; }
.offer:hover .offer__media img { transform: scale(1.03); }
.offer__body { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; padding: 1.4rem 1.6rem 1.7rem; flex: 1; }
.offer__body h3 { font-size: 1.35rem; }
.offer__body h3 a { color: var(--olive-900); text-decoration: none; }
.offer__body h3 a:hover { text-decoration: underline; }
.offer__body > p:not(.price) { color: var(--ink-2); }
.offer__body .btn { margin-top: .6rem; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; color: var(--olive-900); }
.price strong { font-size: 1.85rem; font-weight: 800; line-height: 1.1; }
.price span { font-weight: 700; color: var(--ink-2); }
.price--sm strong { font-size: 1.25rem; }
.price--lg strong { font-size: 2.2rem; }

.paused { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 800px) { .paused { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.paused__item {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1rem; border-radius: 16px; background: var(--cream);
}
.paused__media { flex: none; width: 96px; }
.paused__media img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.paused__item h3 { font-size: 1.1rem; }
.paused__item h3 a { color: var(--olive-900); text-decoration: none; }
.paused__item h3 a:hover { text-decoration: underline; }
.paused__item .status { margin-bottom: .35rem; }

/* ---------------------------------------------------------------- services: page rows */

.rows { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.rows + .rows__heading { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.rows__heading { margin-bottom: 1.75rem; color: var(--olive-900); }

.row { display: grid; align-items: center; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 110px 0 0 0; }
.row__body { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 18px; }
.row--olive .row__body { background: var(--olive-tint); }
.row--sand .row__body { background: var(--sand); }
.row--cream .row__body { background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); }
.row__body h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); color: var(--olive-900); }
.row__body .price { margin-top: .5rem; }
.row__summary { margin-top: .75rem; font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.row__body .btn { margin-top: 1.5rem; }

.ticks { display: grid; gap: .5rem; margin-top: 1rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--olive);
}
.ticks li::after {
  content: ""; position: absolute; left: .42rem; top: .45rem;
  width: .45rem; height: .7rem; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

@media (min-width: 900px) {
  .row { grid-template-columns: 1.15fr 1fr; }
  .row__body { margin-left: -4.5rem; }
  .row--flip { grid-template-columns: 1fr 1.15fr; }
  .row--flip .row__media { order: 2; }
  .row--flip .row__media img { border-radius: 0 110px 0 0; }
  .row--flip .row__body { margin-left: 0; margin-right: -4.5rem; z-index: 1; }
}
@media (max-width: 899px) {
  .row__body { margin: -3rem .75rem 0; }
}

/* ---------------------------------------------------------------- photos */

.photo img { width: 100%; object-fit: cover; }
.photo--main img { aspect-ratio: 848 / 480; border-radius: 18px 18px 18px 90px; }

/* benefits / practice */
.practice__grid, .studio-strip__grid { display: grid; gap: 2.5rem; align-items: center; }
.practice__photos { position: relative; padding-bottom: 3.5rem; }
.photo--inset {
  position: absolute; right: -.5rem; bottom: 0; width: 42%;
  border: 6px solid var(--clay); border-radius: 50%; overflow: hidden;
}
.photo--inset img { aspect-ratio: 1; border-radius: 50%; }
.practice__text h2 { color: var(--white); margin-bottom: 1.5rem; }

.benefits { display: grid; gap: .9rem; }
.benefits li {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1.1rem; border-radius: 14px;
  background: rgba(255,255,255,.1);
  font-size: 1.12rem; font-weight: 700; line-height: 1.35;
}
.benefits__num {
  flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: var(--white); color: var(--clay-900); font-weight: 800;
}

.studio-strip__grid h2 { color: var(--white); }
.studio-strip__grid p { margin-top: .9rem; font-size: 1.1rem; color: #F8E7DE; max-width: 46ch; }

@media (min-width: 900px) {
  .practice__grid, .studio-strip__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* ---------------------------------------------------------------- deepti */

.deepti__grid { display: grid; gap: 3rem; align-items: center; }
.deepti__photos { position: relative; justify-self: center; width: min(420px, 86%); padding-bottom: 2.5rem; }
.deepti__ring {
  position: absolute; inset: -6% -10% 12% 8%;
  border: 3px solid var(--olive); border-radius: 50%; opacity: .3;
}
.deepti__portrait {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%;
  border-radius: 999px 999px 18px 18px;
}
.deepti__group {
  position: absolute; left: -12%; bottom: 0; width: 46%;
  padding: 6px 6px 8px; background: var(--white); border-radius: 6px;
  box-shadow: 0 12px 28px rgba(61, 66, 32, .22); rotate: -4deg;
}
.deepti__group img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.deepti__group figcaption { padding-top: .35rem; font-size: .78rem; font-weight: 700; line-height: 1.25; text-align: center; color: var(--ink-2); }

.deepti__text h2 { color: var(--olive-900); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); }
.deepti__role { margin-top: .2rem; font-weight: 800; color: var(--clay-900); }
.deepti__text > p:not(.deepti__role) { margin-top: .9rem; max-width: 50ch; color: var(--ink); }
.deepti__text .btn { margin-top: 1.5rem; }

.handnote { margin: 1.1rem 0 .4rem; }
.handnote p {
  font-family: var(--hand); font-weight: 600;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); line-height: 1.05;
  color: var(--clay-900); rotate: -2deg; transform-origin: left center; text-wrap: balance;
}

@media (max-width: 600px) {
  .deepti__group { left: -2%; width: 44%; }
}
@media (min-width: 860px) {
  .deepti__grid { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; }
}

/* ---------------------------------------------------------------- places */

.places { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .places { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }

.place {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--olive-tint);
}
.place__head {
  display: flex; align-items: center; gap: .8rem;
  padding: 1.1rem 1.25rem; background: var(--olive); color: var(--white);
}
.place__head .icon { width: 30px; height: 30px; color: var(--white); }
.place__suburb { display: block; font-size: 1.45rem; line-height: 1.1; }
.place__name { display: block; margin-top: .15rem; font-size: .98rem; font-weight: 700; color: var(--olive-soft); }
.place__addr { padding: .9rem 1.25rem 0; font-weight: 700; color: var(--ink-2); }
.place__sessions { flex: 1; padding: .5rem 1.25rem; }
.place__sessions li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem;
  padding: .65rem 0;
}
.place__sessions li + li { border-top: 1px dashed var(--line); }
.place__when { font-weight: 800; }
.place__when time { font-variant-numeric: tabular-nums; }
.place > .btn { margin: .25rem 1.25rem 1.25rem; width: auto; }

/* ---------------------------------------------------------------- cta */

.cta__inner { position: relative; text-align: center; }
.cta__inner h2 { color: var(--olive-900); }
.cta__phone {
  display: inline-block; margin-top: .4rem;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: .01em;
  color: var(--olive-900); text-decoration: none; font-variant-numeric: tabular-nums;
}
.cta__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.cta__actions--left { justify-content: flex-start; }
@media (max-width: 520px) { .cta__actions:not(.cta__actions--left) .btn { flex: 1 1 100%; } }

/* ---------------------------------------------------------------- page heroes */

.pagehero { position: relative; overflow: hidden; }
.hero, .topbar { overflow-x: clip; }
.pagehero h1 { color: inherit; }
.crumb { margin-bottom: .6rem; font-size: .92rem; font-weight: 700; opacity: .85; }
.crumb a { color: inherit; }

.pagehero--olive { background: var(--olive-tint); color: var(--olive-900); }
.pagehero--compact { padding-block: clamp(2.5rem, 5vw, 4rem); }
.pagehero__lede { margin-top: .8rem; font-size: 1.12rem; color: var(--ink-2); max-width: 52ch; }
.suburb-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.suburb-tags li {
  padding: .45rem 1rem .45rem .9rem; border-radius: 999px;
  background: var(--olive); color: var(--white); font-weight: 800;
}

.pagehero__grid--portrait { display: grid; gap: 2rem; align-items: end; padding-top: clamp(2.5rem, 5vw, 4rem); }
.pagehero__text { padding-bottom: clamp(1rem, 4vw, 4rem); position: relative; }
.pagehero__text h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); }
.pagehero__portrait { position: relative; justify-self: center; width: min(440px, 88%); }
.pagehero__portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%;
  border-radius: 999px 999px 0 0;
}
@media (min-width: 860px) { .pagehero__grid--portrait { grid-template-columns: 1.1fr 1fr; } }

.pagehero--photo { background: var(--olive-soft); color: var(--olive-900); }
.pagehero__panel { position: relative; background: var(--olive-soft); }
.pagehero__panel p:last-child { margin-top: .8rem; font-size: 1.08rem; color: var(--ink-2); max-width: 42ch; }
.pagehero__bg { object-fit: cover; }
@media (min-width: 900px) {
  .pagehero--photo .shell { min-height: 380px; display: flex; align-items: center; }
  .pagehero__bg { position: absolute; top: 0; right: 0; width: 55%; height: 100%; border-bottom-left-radius: 34% 100%; }
  .pagehero__panel { width: min(28rem, 42%); padding-block: 2.5rem; background: transparent; }
}
@media (max-width: 899px) {
  .pagehero__bg { width: 100%; height: clamp(180px, 48vw, 320px); }
  .pagehero__panel { margin-top: -2rem; padding: 1.5rem 0 2.25rem; border-top-right-radius: 40px; box-shadow: calc(var(--gutter) * -1) 0 0 var(--olive-soft); }
}

/* ---------------------------------------------------------------- about */

.story__grid { display: grid; gap: 2.5rem; align-items: start; }
.story__text { max-width: 60ch; }
.story__text p { font-size: 1.15rem; line-height: 1.7; }
.story__text p + p { margin-top: 1.1rem; }
.story__text p:first-child { font-size: 1.35rem; font-weight: 700; color: var(--olive-900); line-height: 1.5; }
.story__photo {
  justify-self: center; width: min(320px, 80%);
  padding: 8px 8px 10px; background: var(--white); border-radius: 6px;
  box-shadow: 0 14px 30px rgba(61, 66, 32, .18); rotate: 2.5deg;
}
.story__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.story__photo figcaption { padding-top: .4rem; font-size: .85rem; font-weight: 700; text-align: center; color: var(--ink-2); }
@media (min-width: 860px) { .story__grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; } .story__photo { margin-top: 1rem; } }

/* ---------------------------------------------------------------- contact */

.tiles { display: grid; gap: 1rem; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.tile {
  display: grid; align-content: end; gap: .15rem;
  min-height: clamp(140px, 18vw, 190px); padding: 1.35rem 1.5rem;
  border-radius: 18px 18px 18px 4px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(61, 66, 32, .18); }
.tile .icon { width: 34px; height: 34px; margin-bottom: auto; }
.tile--olive { background: var(--olive); color: var(--white); }
.tile--clay { background: var(--clay); color: var(--white); }
.tile--sand { background: var(--sand); color: var(--olive-900); }
.tile__label { font-size: 1rem; font-weight: 800; opacity: .9; margin-top: 1.25rem; }
.tile__value { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); font-weight: 800; overflow-wrap: anywhere; }

.visit { display: grid; gap: 2.5rem; align-items: center; }
.visit__card { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--white); border-radius: 18px; }
.visit__mark { position: relative; display: block; width: 76px; margin-bottom: 1rem; }
.visit__card h2 { color: var(--olive-900); }
.visit__addr { margin-top: .5rem; font-size: 1.3rem; font-weight: 700; line-height: 1.45; }
.visit__card .cta__actions { margin-top: 1.25rem; }
.visit__people { display: grid; justify-items: center; text-align: center; }
.visit__people img {
  width: min(300px, 70%); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%;
  border-radius: 999px 999px 16px 16px;
}
.visit__people .handnote p { transform-origin: center; }
@media (min-width: 860px) { .visit { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }

/* ---------------------------------------------------------------- map */

.map {
  height: clamp(320px, 50vh, 460px);
  background: var(--olive-soft); border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 5px var(--white), 0 12px 28px rgba(61, 66, 32, .12);
}
.map-info h3 { font-size: 1rem; margin-bottom: .25rem; }
.map-info li { font-size: .9rem; }

/* ---------------------------------------------------------------- footer */

.site-footer {
  position: relative;
  padding-block: 3.5rem 1.5rem;
  background: var(--olive-soft); color: var(--ink-2);
  overflow-x: clip; clip-path: inset(-80px 0 0 0);
}
.site-footer__mark {
  width: clamp(280px, 30vw, 380px);
  right: -60px; bottom: -60px; opacity: .08;
}
.site-footer__grid { position: relative; display: grid; gap: 2rem; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr .8fr 1.2fr 1fr; gap: 2.5rem; } }
.site-footer__logo { width: auto; height: 100px; margin-bottom: 1.1rem; }
.site-footer__about p { max-width: 40ch; }
.site-footer__quote { text-wrap: balance; margin-top: .9rem; font-family: var(--hand); font-weight: 600; font-size: 1.7rem; line-height: 1.1; color: var(--clay-900); }
.site-footer h2 { margin-bottom: .9rem; font-size: 1.05rem; color: var(--olive-900); }
.site-footer__col li + li { margin-top: .55rem; }
.site-footer a { display: inline-flex; align-items: flex-start; gap: .55rem; color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--olive-900); text-decoration: underline; }
.site-footer .icon { width: 18px; height: 18px; margin-top: .2rem; color: var(--clay); }
.site-footer__base {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(61, 66, 32, .15);
  font-size: .9rem; color: var(--ink-2);
}
.site-footer__base a { color: var(--ink-2); }

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .offer:hover .offer__media img, .tile:hover { transform: none; }
}
