/* ==========================================================================
   Mak Mobility & Wellness
   Hand-maintained. Not generated — edit this file directly.

   Colour is sampled from the client's logo PNG, not eyeballed:
   cream #FDF0E7 is the logo's own background, #D36E58 its hearts and ring,
   #381906 its wordmark. See PLAN.md.
   ========================================================================== */

:root {
  /* From the brand board. The six brand colours are marked (brand); the
     rest are derived from them, keeping the hue, because three of the six
     cannot carry text or a white button label at AA. Every number below is
     measured, not chosen - see scratchpad/brand_palette.py. */

  /* Grounds */
  --ivory:          #F7F1EC;   /* (brand) Warm Ivory - the page ground */
  --ivory-light:    #FCF8F5;   /* quiet alternating bands */
  --blush-soft:     #F3DFDA;   /* the softer pink bands */
  --blush:          #E8C6C0;   /* (brand) Soft Blush - 1.41:1 from ivory */
  --blush-deep:     #D8ADA6;   /* card edges, hover */

  /* Terracotta, split by job. #C97F70 is 2.78:1 on ivory and 3.11:1 under
     white, so it decorates and nothing more. */
  --terracotta:     #C97F70;   /* (brand) Dusty Terracotta - decoration only */
  /* The script notes appear on ivory, ivory-light, blush-soft AND blush, so
     this is solved against the darkest of those, not just the page ground.
     #BF796A passed on ivory at 3.04 and failed on blush-soft at 2.66. */
  --script-ink:     #9E6458;   /* >= 24px: 4.24 on ivory, 3.00 on blush */
  --accent-text:    #794C43;   /* eyebrows, links, small caps - passes on
                                  ivory AND blush */
  --btn:            #A3675B;   /* white label  4.52:1 */
  --btn-hover:      #8A564C;

  /* Mid-tones. The palette had none before this, which is why the page read
     as one flat wash with a single dark slab in it. */
  --taupe:          #AA9488;   /* (brand) Warm Taupe - rules, borders */
  --sage:           #8C917B;   /* (brand) Soft Sage - large decorative shapes */
  --sage-ink:       #6C705F;   /* meaningful icons  4.55:1 on ivory */

  /* Text */
  --espresso:       #3B2925;   /* (brand) Espresso - body  12.25:1 on ivory */
  --espresso-soft:  #674841;   /* secondary copy  7.27:1 on ivory */
  --white:          #FFFFFF;

  --serif:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:   "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 5vw, 3rem);
  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 2px 20px rgba(59, 41, 37, .06);
  --shadow-lift: 0 10px 34px rgba(59, 41, 37, .11);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font: 400 clamp(1rem, .96rem + .2vw, 1.075rem)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 2.95rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--espresso); }

:focus-visible {
  outline: 2.5px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--espresso); color: var(--ivory);
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1.1rem;
}
.eyebrow::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 2.2rem; height: 1px; background: var(--taupe);
  margin-left: .85rem;
}

.lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
  color: var(--espresso-soft);
  max-width: 54ch;
}

.script {
  font-family: var(--script);
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  line-height: 1.25;
  color: var(--script-ink);
}

.prose { max-width: 62ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }

/* ------------------------------------------------------------------ icons */

.icon { flex: none; }

.paw-rule {
  display: flex; align-items: center; justify-content: center;
  gap: .9rem; color: var(--terracotta);
  margin: 2rem 0;
}
.paw-rule .icon:nth-child(3) { color: var(--sage-ink); }

/* The soft band divider the mockups use between full-bleed sections. The SVG
   is painted in the *next* section's colour, so the two bands appear to meet
   along a curve. preserveAspectRatio="none" lets it stretch to any width
   without ever contributing to the document's scroll width. */

.has-wave { position: relative; }
.wave {
  display: block;
  position: absolute; left: 0; right: 0; width: 100%;
  height: clamp(26px, 4vw, 54px);
  pointer-events: none;
}
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; }

/* ------------------------------------------------------------ image slots */

/* A mockup photograph. Until the file exists the slot renders as a neutral
   block of exactly the right shape, so the page's proportions are already
   final and nothing shifts when the photography lands. */

.slot { position: relative; overflow: hidden; background: var(--blush-soft); }
/* <picture> is inline by default, which would collapse the slot around it. */
.slot picture { display: block; width: 100%; height: 100%; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot--empty {
  display: grid; place-items: center;
  background: var(--blush); color: var(--blush-deep);
  width: 100%;
}

/* The style guide opens each service page with a full-bleed photograph. */
.svc-hero {
  width: 100%;
  max-height: clamp(220px, 34vw, 460px);
  background: var(--blush-soft);
}
.svc-hero.slot--empty { display: grid; place-items: center; max-height: none; }

/* The ACRA accreditation mark. Deliberately NOT recoloured to match the
   palette: it is ACRA's logo, not ours, and a badge tinted to fit a brand
   stops reading as evidence of anything. Its cyan is the one piece of
   non-brand colour on the site, which is what a third-party mark should be. */
.acra { margin: 0 0 1.75rem; }
.acra__mark { width: min(100%, 132px); height: auto; }

/* "Coming soon" on the Services page. Quiet on purpose: it is something
   they are studying, not something they sell, so it must not compete with
   the four services above it. */
.coming-soon {
  display: flex; gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--blush-soft);
  border-radius: var(--radius-lg);
}
.coming-soon h2 {
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  margin-bottom: .5em;
}
.coming-soon__item p { font-size: .95rem; color: var(--espresso-soft); }
/* Space between one coming-soon service and the next, and none before the
   first - the eyebrow above it already provides that. */
.coming-soon__item + .coming-soon__item { margin-top: clamp(1.1rem, 2.2vw, 1.6rem); }
@media (max-width: 560px) {
  .coming-soon { flex-direction: column; }
}

/* ------------------------------------------------------------- pricing */

/* No new design language here: the cards borrow the service-card treatment
   and the notes list reuses the circular icon badges from the service pages. */

.pricing { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.price-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  list-style: none; margin: 0; padding: 0;
}
.price-card {
  background: var(--ivory-light);
  border: 1px solid var(--blush-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}
/* The offer that is running now gets the weight; nothing else changes. */
.price-card--feature { background: var(--blush); border-color: var(--blush-deep); }
.price-card__name {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: .75rem;
}
.price-card__figure {
  font-family: var(--serif); font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem);
  line-height: 1; color: var(--espresso); margin-bottom: .4rem;
}
.price-card__save {
  font-family: var(--sans); font-size: .82rem; color: var(--espresso-soft);
  margin-bottom: .75rem;
}
.price-card__note { font-size: .9rem; color: var(--espresso-soft); margin: 0; }

.pricing__packages { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pricing__packages h2 { max-width: 30ch; }
.pricing__expiry {
  margin-top: 1.25rem; font-size: .92rem; color: var(--espresso-soft);
}

.pricing-notes { background: var(--blush-soft); padding: clamp(3rem, 6vw, 4.5rem) 0; }

/* -------------------------------------------------------- service areas */

.where { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.where-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.where-card {
  background: var(--ivory-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow);
}
.where-card h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); }

.where-radius { background: var(--blush-soft); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.where-radius__inner {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.where-radius__media { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; }
@media (max-width: 820px) {
  .where-radius__inner { grid-template-columns: minmax(0, 1fr); }
  .where-radius__media { aspect-ratio: 16 / 10; }
}

/* ------------------------------------------------- inner-page imagery */

/* Contact: the guide sets a tall dog portrait beside the details. */
.contact__inner { align-items: start; }
.contact__media {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  max-height: 460px;
}
@media (min-width: 821px) {
  .contact__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .8fr); }
  .contact__media { grid-column: auto; }
}

/* FAQ: a photo inside the closing panel. */
.faq-closing__media {
  width: min(100%, 420px);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
}

/* Booking: the corner banner under the aside. */
.booking__media {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
}

/* Service pages: a circular portrait beside the benefit list. */
.svc-circle {
  width: min(70%, 190px);
  margin: 1.75rem auto 0;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blush-soft);
}
.svc-circle img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------- style-guide details */

/* The guide's curved band edges. The SVG is painted in the colour of the
   band it meets, so the two appear to join along a curve. It is positioned,
   never in the flow, and `preserveAspectRatio="none"` lets it stretch to any
   width without ever adding to the document's scroll width. */

.has-wave { position: relative; }
.has-wave > .wrap,
.has-wave > .prose { position: relative; z-index: 1; }

/* Thin circular badges around the benefit icons, as the individual service
   page in the style guide draws them. CSS only - the icons already carry
   their own size, and box-sizing: border-box makes the padding fit inside. */
.svc-benefits .icon,
.benefits__list .icon,
.creds__list .icon {
  width: 40px; height: 40px;
  padding: 9px;
  border: 1px solid var(--blush-deep);
  border-radius: 50%;
}
.creds__list .icon { margin-top: 0; }

/* The "soft shape" background elements. Decorative and behind the content,
   so they are never allowed to intercept a click or add scroll width. */
.soft-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
  width: clamp(120px, 18vw, 220px);
  height: auto;
}
.faq-closing__shape { right: 4%; bottom: 8%; }
.contact__shape { right: -6%; bottom: -4%; width: clamp(110px, 14vw, 170px); }
.booking__shape { right: -4%; top: -6%; width: clamp(100px, 12vw, 150px); }

.faq-closing, .contact__aside, .booking__aside { position: relative; overflow: hidden; }
.faq-closing__inner, .contact__aside > :not(.soft-shape),
.booking__aside > :not(.soft-shape) { position: relative; z-index: 1; }

/* The line art and soft shapes are decoration. If someone has asked for less
   motion they stay put anyway, but a reader who has asked to hide images
   should not lose any meaning - none of them carry any. */
@media (prefers-reduced-motion: reduce) {
  .soft-shape { opacity: .7; }
}

/* ------------------------------------------------------------- line art */

/* The client's line drawings. Each file is a black-on-transparent mask, so it
   is painted here with the element's own colour rather than carrying a baked-in
   one - the same file sits happily on cream, on blush, or over a dark photo.
   `--line-src` and the aspect ratio are set inline by build.py from the file's
   real dimensions. */

.line {
  display: block;
  width: 100%;
  /* As a grid or flex item the default is to stretch in the block axis.
     Combined with the per-slot aspect-ratio that makes the HEIGHT
     authoritative and derives the width back from it, so a drawing asking
     for 240px rendered at 74px on a wide homepage. Width leads; height
     follows the ratio. */
  align-self: start;
  background-color: currentColor;
  -webkit-mask-image: var(--line-src);
          mask-image: var(--line-src);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

/* A drawn rule between a section and its closing note. */
.divider-line {
  width: min(100%, 230px);
  margin: clamp(1.5rem, 3vw, 2.25rem) auto;
  color: var(--terracotta);
}

.coming-soon__line { width: 54px; flex: none; color: var(--blush-deep); }
.purpose__line { width: min(100%, 240px); color: var(--blush-deep); }
.svc-card__line { width: 62%; color: var(--sage-ink); }
.notfound__line { width: min(100%, 150px); color: var(--blush-deep); margin-inline: auto; }
.about-quote__line { width: min(100%, 150px); color: var(--accent-text); }
.benefits__line { width: min(100%, 90px); color: var(--blush-deep); margin-bottom: 1.25rem; }
.where-card__line { width: min(100%, 92px); color: var(--blush-deep); margin-bottom: 1rem; }
.svc-hero__line { width: min(30%, 200px); color: var(--blush-deep); }

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

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  padding: .95rem 1.6rem;
  border: 0; border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn .icon { transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--btn); color: var(--white); }
.btn--primary:hover { background: var(--btn-hover); color: var(--white); box-shadow: var(--shadow-lift); }

.btn--soft { background: var(--blush); color: var(--espresso); }
.btn--soft:hover { background: var(--blush-deep); color: var(--espresso); }

.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--btn); box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--espresso); text-decoration: none;
  border-bottom: 1px solid var(--taupe);
  padding-bottom: .35rem;
}
.link-arrow:hover { color: var(--accent-text); border-bottom-color: var(--terracotta); }
.link-arrow .icon { transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ivory);
  border-bottom: 1px solid rgba(59, 41, 37, .07);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: clamp(76px, 9vw, 132px);
}
.site-logo { flex: none; line-height: 0; }
/* The mockup's badge is far larger than a conventional header logo - roughly
   13% of the viewport - because it overhangs the header into the hero. Sized
   up to meet it as closely as a badge can while staying inside the header. */
.site-logo img { width: clamp(60px, 8vw, 120px); height: auto; }

.nav { margin-left: auto; }
.nav ul {
  display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.9rem);
  list-style: none; margin: 0; padding: 0;
}
.nav a:not(.btn) {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--espresso); text-decoration: none;
  /* Top padding only: it lifts the target to 24px+ without moving the
     current-page underline away from the text. */
  padding-top: .5rem;
  padding-bottom: .3rem;
  border-bottom: 1.5px solid transparent;
}
.nav a:not(.btn):hover { color: var(--accent-text); }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--terracotta); }
.nav__cta .btn { padding: .8rem 1.3rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid rgba(59, 41, 37, .16);
  border-radius: 10px; padding: .6rem .7rem;
  color: var(--espresso); cursor: pointer;
}

/* The menu collapses early for two stacked reasons. Montserrat is a wide
   face, and Pricing makes seven items. At 1041px seven items left only 19px
   of slack - one longer label, or a reader with a larger default font size,
   and it would overflow. 1120px restores real headroom. Re-measure if an
   eighth item is ever added; there is not room for one. */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory);
    border-bottom: 1px solid rgba(59, 41, 37, .1);
    box-shadow: var(--shadow);
    margin: 0;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul {
    flex-direction: column; align-items: stretch;
    gap: 0; padding: .6rem var(--gut) 1.4rem;
  }
  .nav li + li { border-top: 1px solid rgba(59, 41, 37, .07); }
  .nav a:not(.btn) { display: block; padding: 1rem 0; border-bottom: 0; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--accent-text); }
  .nav__cta { border-top: 0 !important; padding-top: 1rem; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

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

/* Mockup: text panel 0-40%, photograph 40-100%, hard vertical edge. */
.hero {
  display: grid;
  grid-template-columns: 40fr 60fr;
  align-items: center;
  background: var(--ivory);
}
.hero__text {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 3.5vw, 3rem)
           clamp(3rem, 6vw, 5.5rem) max(var(--gut), calc(50vw - var(--wrap) / 2));
}
.hero__text h1 { margin-bottom: 1rem; }
.hero__text .lede { margin-bottom: 2rem; max-width: 34ch; }
.hero__media { align-self: stretch; min-height: 340px; }
.hero__media.slot--empty { aspect-ratio: auto; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__text { padding: clamp(2.5rem, 8vw, 3.5rem) var(--gut); }
  /* Portrait, because below 860px the hero serves hero-mobile.webp (3:4).
     Leaving this at the landscape 1.51 would have cropped that file back to
     a letterbox and wasted the point of having it. */
  .hero__media { min-height: 0; aspect-ratio: 4 / 5; }
}

/* --------------------------------------------------------------- pillars */

.pillars { background: var(--blush-soft); padding: clamp(2rem, 4vw, 3rem) 0; }
.pillars__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; list-style: none; padding-block: 0;
  /* margin-block, not the shorthand - see the note at the end of this file */
  margin-block: 0;
  text-align: center;
}
.pillars__list li { display: grid; justify-items: center; gap: .7rem; color: var(--sage-ink); }
.pillars__list span {
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--espresso);
}
@media (max-width: 620px) {
  .pillars__list { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
}

/* --------------------------------------------------------------- purpose */

/* Mockup: photograph 0-40% flush to the left edge, text right, the line-art
   dog and its pull-quote at the far right. */
.purpose {
  display: grid;
  grid-template-columns: 40fr 37fr 23fr;
  align-items: center;
  background: var(--ivory);
}
.purpose__media { align-self: stretch; min-height: 260px; }
.purpose__media.slot--empty { aspect-ratio: auto; }
.purpose__text {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
.purpose__text p { max-width: 46ch; margin-bottom: 1.8rem; }
.purpose__aside {
  display: grid; justify-items: end; gap: 1rem;
  padding-right: max(var(--gut), calc(50vw - var(--wrap) / 2));
}
.dog-outline { width: min(100%, 240px); color: var(--blush-deep); }
.purpose__pull {
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-text); text-align: right; line-height: 2;
}
.purpose__pull::after {
  content: ""; display: block; width: 3rem; height: 1px;
  background: var(--blush-deep); margin: .6rem 0 0 auto;
}
@media (max-width: 900px) {
  .purpose { grid-template-columns: minmax(0, 1fr); }
  .purpose__media { min-height: 0; aspect-ratio: 1.56; }
  .purpose__text { padding-inline: var(--gut); }
  .purpose__aside {
    justify-items: start;
    padding: 0 var(--gut) clamp(2.5rem, 6vw, 3.5rem);
  }
  .purpose__pull { text-align: left; }
  .purpose__pull::after { margin-left: 0; }
}

/* --------------------------------------------------------- services band */

.services-band {
  background: var(--blush);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.services-band__inner {
  display: grid; grid-template-columns: 28fr 72fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.services-band__head h2 { margin: 0; }
.svc-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; list-style: none; margin: 0; padding: 0;
}
.svc-card a {
  display: grid; gap: .85rem; text-decoration: none; color: var(--espresso);
  text-align: center;
}
/* Mockup: a photograph per card, rounded, caption in the serif beneath. */
.svc-card__img {
  display: block; overflow: hidden;
  aspect-ratio: 6 / 5;
  background: var(--blush-soft);
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
}
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__img--empty {
  display: grid; place-items: center;
  background: var(--blush-soft);
}
.svc-card a:hover .svc-card__img { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.svc-card__name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; }
.services-band__more {
  margin-block: clamp(1.25rem, 3vw, 1.75rem) 0;
  text-align: right;
}

@media (max-width: 900px) {
  .services-band__inner { grid-template-columns: minmax(0, 1fr); }
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .services-band__more { text-align: left; }
}

/* -------------------------------------------------------------- approach */

/* Mockup: one full-bleed photograph with a warm gradient darkening to the
   right, and the copy sitting on the dark side. The photograph is the layer
   underneath, not a background-image, so it can carry real alt text and be
   lazily decoded. While the slot is empty the band stays light and the text
   colours come from the .approach--empty branch below. */
.approach {
  position: relative;
  display: grid;
  min-height: clamp(360px, 32vw, 520px);
  align-items: center;
  isolation: isolate;
}
.approach__media {
  position: absolute; inset: 0; z-index: -2;
  min-height: 100%;
}
/* The overlay strength is not a taste decision. The photograph has near-white
   highlights in the sky, and the copy sits over the right half, so the alpha
   across that half has to be enough to keep 11.5px blush small-caps at 4.5:1
   against the BRIGHTEST pixel there - solved as >= 0.78 against Espresso. It ramps to full
   strength by the 50% mark and holds above it, with margin. If the photograph
   is ever swapped, re-run scratchpad/overlay_contrast.py. */
.approach::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,
    rgba(59, 41, 37, .12) 0%,
    rgba(59, 41, 37, .38) 28%,
    rgba(59, 41, 37, .84) 50%,
    rgba(59, 41, 37, .88) 100%);
}
.approach__inner {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gut);
  display: grid; justify-items: start;
}
/* The copy occupies the right 44%, as in the mockup. */
.approach__inner > * { margin-left: auto; width: min(100%, 56ch); }
.approach { color: var(--ivory); }
.approach .eyebrow { color: var(--blush); }
.approach .eyebrow::after { background: rgba(232, 198, 192, .5); }
.approach h2 { max-width: 30ch; }
.approach .lede { color: rgba(247, 241, 236, .88); max-width: 52ch; }

/* No photograph yet: no overlay, no white text on cream. */
.approach:has(.slot--empty) { color: var(--espresso); background: var(--ivory-light); }
.approach:has(.slot--empty)::after { background: none; }
.approach:has(.slot--empty) .eyebrow { color: var(--accent-text); }
.approach:has(.slot--empty) .eyebrow::after { background: var(--blush-deep); }
.approach:has(.slot--empty) .lede { color: var(--espresso-soft); }
.approach:has(.slot--empty) .approach__media { display: none; }
.approach:has(.slot--empty) .approach__list li { color: var(--sage-ink); border-left-color: var(--blush-soft); }
.approach:has(.slot--empty) .approach__list span { color: var(--espresso); }
.approach__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none; margin-block: clamp(1.75rem, 4vw, 2.5rem) 0; padding: 0;
  gap: 1.25rem;
}
.approach__list li {
  display: grid; gap: .7rem; justify-items: center; text-align: center;
  color: var(--blush);
  padding-inline: .75rem;
  border-left: 1px solid rgba(232, 198, 192, .3);
}
.approach__list li:first-child { border-left: 0; }
.approach__list span {
  font-family: var(--serif); font-size: 1rem; line-height: 1.25;
  color: var(--ivory);
}
@media (max-width: 900px) {
  .approach { min-height: 0; }
  .approach__inner > * { margin-left: 0; width: 100%; }
  .approach::after {
    background: linear-gradient(180deg,
      rgba(59, 41, 37, .52) 0%, rgba(59, 41, 37, .82) 42%);
  }
}
@media (max-width: 740px) {
  .approach__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .approach__list li { border-left: 0; padding-inline: 0; }
}

/* --------------------------------------------------------- closing band */

/* Mockup: on the homepage a photograph fills the left 30% and the text band
   sits to its right. Inner pages use the band on its own. */
.closing { background: var(--blush-soft); }
.closing__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.75rem;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gut);
}
.closing h2 { margin: 0; max-width: 22ch; }

.closing--photo { display: grid; grid-template-columns: 30fr 70fr; align-items: center; }
.closing--photo .closing__media { align-self: stretch; min-height: 220px; }
.closing--photo .closing__media.slot--empty { aspect-ratio: auto; }
.closing--photo .closing__inner {
  max-width: none; margin-inline: 0;
  padding-inline: clamp(1.5rem, 3.5vw, 3.5rem)
                  max(var(--gut), calc(50vw - var(--wrap) / 2));
}
@media (max-width: 900px) {
  .closing--photo { grid-template-columns: minmax(0, 1fr); }
  .closing--photo .closing__media { min-height: 0; aspect-ratio: 2.24; }
  .closing--photo .closing__inner { padding-inline: var(--gut); }
}

/* ----------------------------------------------------------- page header */

.page-head { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: .7rem; max-width: 26ch; }

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

.about-body { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.about-body__inner {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.about-quote {
  margin: 0; padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--blush); border-radius: var(--radius-lg);
  display: grid; justify-items: center; gap: 1rem; text-align: center;
  color: var(--accent-text);
}
.about-quote blockquote {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.3;
  color: var(--espresso);
}
@media (max-width: 800px) { .about-body__inner { grid-template-columns: minmax(0, 1fr); } }

.creds { background: var(--blush-soft); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.creds h2 { max-width: 24ch; }
.creds__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none; margin: 2rem 0 0; padding: 0;
}
.creds__list li { display: flex; gap: .9rem; align-items: start; }
.creds__list .icon { color: var(--sage-ink); margin-top: .2rem; }
.creds__list h3 { margin-bottom: .3em; font-size: 1.15rem; }
.creds__list p { font-size: .95rem; color: var(--espresso-soft); }

.people { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.people h2 { max-width: 26ch; }
.people__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none; margin: 2.25rem 0 0; padding: 0;
}
.person img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-lg); margin-bottom: 1.1rem;
}
.person h3 { margin-bottom: .2em; }
.person__role {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink);
  margin-bottom: .6em;
}
.people__script { margin-top: 2rem; text-align: center; }

/* --------------------------------------------------------------- services */

.svc-list { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.svc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.svc-row a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 1.75rem); align-items: center;
  padding: 1.25rem; text-decoration: none; color: var(--espresso);
  background: var(--ivory-light); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.svc-row a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.svc-row__img {
  display: grid; place-items: center;
  width: clamp(76px, 12vw, 108px); aspect-ratio: 1;
  background: var(--blush); color: var(--sage-ink); border-radius: var(--radius);
}
/* The service's own line drawing, not a generic paw. Sized off the tile so
   it keeps its margin at every clamp step, and left uncoloured here so it
   inherits .svc-row__img's sage ink. */
/* align-self overrides the base .line's `start`, which exists to stop
   grid/flex stretch driving the height - here the tile centres it. */
.svc-row__line { width: 68%; align-self: center; }
.svc-row__name { display: block; font-family: var(--serif); font-size: 1.32rem; margin-bottom: .2rem; }
.svc-row__desc { display: block; font-size: .95rem; color: var(--espresso-soft); }
.svc-row__go { color: var(--sage-ink); }
.svc-list__cta { margin: clamp(2rem, 4vw, 2.75rem) 0 0; text-align: center; }

.benefits { background: var(--blush-soft); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.benefits__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem 2rem; list-style: none; margin: 2rem 0 0; padding: 0;
}
.benefits__list li { display: flex; align-items: center; gap: .85rem; }
.benefits__list .icon { color: var(--sage-ink); }

/* ------------------------------------------------------- service detail */

.svc-head { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(1.25rem, 3vw, 2rem); }
.svc-head h1 { margin-bottom: .35rem; }
.svc-head__promise {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem);
  color: var(--accent-text); margin: 0;
}

.svc-body { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.svc-body__inner {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.svc-body__aside {
  background: var(--ivory-light); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.25rem); box-shadow: var(--shadow);
}
.svc-body__aside h2 {
  font-size: 1.05rem; font-family: var(--sans); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink);
  margin-bottom: 1.25em;
}
.svc-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.svc-benefits li { display: flex; align-items: center; gap: .85rem; }
.svc-benefits .icon { color: var(--sage-ink); }
.svc-benefits span { font-size: .98rem; }
.svc-body__script { margin-top: 1.75rem; text-align: right; }
@media (max-width: 820px) { .svc-body__inner { grid-template-columns: minmax(0, 1fr); } }

.svc-ideal { background: var(--blush-soft); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.svc-ideal__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem); align-items: start;
}
.svc-ideal h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.svc-ideal__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.svc-ideal__list li { display: flex; align-items: start; gap: .8rem; }
.svc-ideal__list .icon { color: var(--sage-ink); margin-top: .35rem; }
@media (max-width: 820px) { .svc-ideal__inner { grid-template-columns: minmax(0, 1fr); } }

.note {
  background: var(--white); border-left: 3px solid var(--terracotta);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.note--soft { border-left-color: var(--blush-deep); }
.note h2 {
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--sage-ink);
  margin-bottom: .9em;
}
.note p { font-size: .95rem; color: var(--espresso-soft); }

.svc-extra { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.svc-extra__inner {
  display: flex; gap: clamp(1.25rem, 3vw, 2rem); align-items: start;
  max-width: 70ch;
}
.svc-extra .icon { color: var(--sage-ink); margin-top: .25rem; }
.svc-extra h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }

.svc-cta { background: var(--blush); padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.svc-cta__inner { display: grid; justify-items: center; gap: 1.5rem; }
.svc-cta h2 { margin: 0; }

/* -------------------------------------------------------------------- faq */

.faqs { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.faqs__inner { max-width: 820px; }
.faq { border-bottom: 1px solid rgba(59, 41, 37, .12); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq__sign { position: relative; flex: none; width: 15px; height: 15px; color: var(--sage-ink); }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.faq__sign::before { inset: 47% 0 auto; height: 1.5px; }
.faq__sign::after { inset: 0 47% auto; width: 1.5px; height: 100%; }
.faq[open] .faq__sign::after { transform: scaleY(0); opacity: 0; }
.faq__body { padding: 0 0 1.5rem; max-width: 62ch; }
.faq__body p { font-size: .98rem; color: var(--espresso-soft); }

.faq-closing { background: var(--blush); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.faq-closing__inner { display: grid; justify-items: center; gap: 1.5rem; text-align: center; }
.faq-closing h2 { margin: 0; }
.faq-closing em { font-style: italic; color: var(--accent-text); }

/* ---------------------------------------------------------------- gallery */

.gallery { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
/* Three across from tablet up, which suits the three photographs the
   client has. auto-fit was letting a fourth column in on a wide screen and
   leaving an orphan on the next row. */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(.75rem, 2vw, 1.15rem);
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 700px) {
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gallery__grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.gallery__script { margin-top: 2.25rem; text-align: center; }

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

.contact { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.contact__inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: start; }
.contact-list .icon { color: var(--sage-ink); margin-top: .25rem; }
/* These are the most important targets on the site - someone on a phone
   tapping a phone number - and they measured 20px tall, under the 24px
   minimum. They are not inline in a sentence, so the exception does not
   apply. Roomier than the minimum on purpose. */
.contact-list a {
  color: var(--espresso);
  text-decoration-color: var(--blush-deep);
  display: inline-flex; align-items: center;
  min-height: 30px;
}
.contact-list a, .form-off a, .prose a { overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-text); }
.c-name {
  display: block;
  font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: .15rem;
}
.contact__script { margin-top: .5rem; }
.contact__aside {
  background: var(--ivory-light); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.contact__aside h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); }
.contact__thanks {
  margin-top: 1.5rem; font-size: .9rem; font-style: italic; color: var(--espresso-soft);
}
@media (max-width: 820px) { .contact__inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- booking */

.booking { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.booking__inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem); align-items: start;
}
.booking-form {
  background: var(--ivory-light); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow);
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.15rem; }
.field { margin: 0 0 1.15rem; display: grid; gap: .45rem; }
.field-grid .field { margin: 0; }
.field label {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--accent-text);
}
.field label span { color: var(--accent-text); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--espresso);
  background: var(--white);
  border: 1px solid var(--blush-soft); border-radius: 10px;
  padding: .8rem .9rem;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); }
.field-note { font-size: .85rem; color: var(--espresso-soft); margin-bottom: 1.4rem; }

.form-off {
  background: var(--blush); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; margin-bottom: 1.25rem;
  font-size: .93rem;
}
.booking-form.is-disabled { opacity: .72; }
.booking-form.is-disabled input, .booking-form.is-disabled select,
.booking-form.is-disabled textarea { background: var(--ivory); }

/* Shown instead of the form while no endpoint is set. Deliberately the
   same card as .booking-form above so the page keeps its shape. */
.booking-direct {
  background: var(--ivory-light); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow);
}
.booking-direct h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.booking-direct__lede {
  margin-top: .6rem; color: var(--espresso-soft);
}
.booking-direct__actions {
  display: flex; flex-wrap: wrap; gap: .85rem;
  margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(1.75rem, 3.5vw, 2.25rem);
}
.booking-direct__ask {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: .9rem;
}
.booking-direct__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.booking-direct__list li { display: flex; align-items: start; gap: .75rem; }
.booking-direct__list .icon { color: var(--sage-ink); flex: none; margin-top: .25rem; }
.booking-direct__list span { color: var(--espresso-soft); font-size: .97rem; }
/* Two buttons side by side need room; below this they stack full width so
   neither is a cramped tap target. */
@media (max-width: 420px) {
  .booking-direct__actions { flex-direction: column; align-items: stretch; }
  .booking-direct__actions .btn { justify-content: center; }
}

.booking__aside {
  background: var(--blush-soft); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.25rem);
}
.booking__aside h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.booking__script { margin-top: 1.75rem; }
@media (max-width: 860px) { .booking__inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .field-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ legal */

.legal { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.legal-note {
  background: var(--blush); border-radius: var(--radius);
  padding: .9rem 1.1rem; font-size: .88rem;
}
.legal-updated {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(59, 41, 37, .12);
  font-size: .88rem; color: var(--espresso-soft);
}

/* -------------------------------------------------------------------- 404 */

.notfound { padding: clamp(3rem, 8vw, 6rem) 0; }
.notfound__inner { display: grid; justify-items: center; gap: 1.25rem; text-align: center; }
.notfound .icon { color: var(--blush-deep); }
.notfound__links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.5rem; margin-top: .75rem;
}

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

.site-footer {
  background: var(--ivory-light); color: var(--espresso);
  border-top: 1px solid var(--blush-soft);
  margin-top: auto;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.75rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-name {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .5rem;
}
.footer-strap {
  font-family: var(--sans); font-size: .72rem; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--espresso); margin: 0;
}
.footer-strap__dot {
  display: inline-block; margin: 0 .55em;
  font-size: .5em; vertical-align: .25em;
  color: var(--terracotta); letter-spacing: 0;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a {
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--espresso); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 28px;
}
.footer-nav a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-right { display: flex; align-items: center; gap: 1.1rem; }
.footer-rule { width: 1px; height: 1.6rem; background: var(--blush-deep); }
.footer-social { display: flex; gap: .35rem; margin-left: -.55rem; }
.footer-social a {
  color: var(--sage-ink);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
}
.footer-social a:hover { background: var(--blush-soft); color: var(--accent-text); }
.footer-social a:hover { color: var(--white); }
.footer-script { color: var(--script-ink); margin: 0; }

.footer-legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  justify-content: center; text-align: center;
  padding-block: 1rem;
  border-top: 1px solid var(--blush-soft);
  font-size: .8rem; color: var(--espresso-soft);
}
.footer-legal p { margin: 0; }
.footer-legal nav { display: flex; gap: 1.25rem; }
.footer-legal nav a { display: inline-flex; align-items: center; min-height: 28px; }
.footer-legal a {
  color: var(--espresso-soft); text-decoration: none;
  display: inline-block; padding-block: .3rem;
}
.footer-legal a:hover { color: var(--accent-text); text-decoration: underline; }

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { flex-wrap: wrap; }
}

/* Keep the footer at the bottom on short pages (404, legal). */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }

/* --------------------------------------------------------------- safeguard */

/* `.wrap` is the centred column. Any element that carries it AND resets its
   own margin with the `margin` shorthand sets margin-inline to 0, which
   silently pins the column to the left edge on wide screens - it looks
   correct until the viewport is wider than --wrap. This restores the centring
   no matter what a component rule above did. Components should still use
   `margin-block` rather than the shorthand; this is the belt, not the braces. */
.wrap { margin-inline: auto; }
