/* Shared polish for every page (November 2026, Paper board "botha-websites").
   Tokens, the muted second line of display headings, and the rounded ink footer.
   Load after the page's own stylesheets. One accent: the client's cobalt; gold only for rating stars. */
.boutique-home {
  --polish-ink: #17161b;
  --polish-cream: #fffdf5;
  --polish-stone: #c9c6bd;
  --polish-muted: #8e8b84;
  --polish-sage: #6a6e65;
  --polish-star: #c9962b;
  --polish-glass: rgba(23, 22, 27, .4);
  --polish-glass-line: rgba(255, 253, 245, .18);
  --polish-shadow: 0 1px 2px rgba(23, 22, 27, .04), 0 18px 40px rgba(23, 22, 27, .06);
  --polish-ease: cubic-bezier(.2, .7, .2, 1);
}

.boutique-home .title-muted { color: var(--polish-muted); }

/* Cream pill call to action with a cobalt arrow, shared by the homepage hero and every footer. */
.boutique-home .footer-area .home-appointment {
  min-height: 52px;
  gap: 14px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--polish-cream);
  color: var(--polish-ink);
  font-size: 15px;
  font-weight: 600;
  transition: transform .35s var(--polish-ease), box-shadow .35s;
}
.boutique-home .footer-area .home-appointment > .home-button-arrow {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  background: none;
  color: var(--cobalt);
  font-size: 16px;
  transition: transform .35s var(--polish-ease);
}
.boutique-home .footer-area .home-appointment:hover,
.boutique-home .footer-area .home-appointment:focus-visible {
  background: var(--polish-cream);
  color: var(--polish-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 10, 14, .25);
}
.boutique-home .home-appointment:hover > .home-button-arrow { transform: translate(3px, -3px); }
.boutique-home .footer-area .home-appointment::before { background: #fff; }

/* ---------- 06 Footer: a rounded ink panel, inset from the page edge ---------- */
.boutique-home .home-footer-reveal {
  margin-inline: 0;
  padding-bottom: var(--page-gutter);
  background: var(--paper);
}
.boutique-home .home-footer {
  padding: clamp(72px, 7.6vw, 110px) max(clamp(12px, 2.4vw, 34px), calc((100% - var(--page-max, 1800px) - 68px) / 2)) clamp(12px, 2.4vw, 34px);
  border-radius: 32px;
  background: radial-gradient(80% 120% at 70% 0%, #2a2830 0%, var(--polish-ink) 65%);
}
.boutique-home .home-footer-mark { top: -6%; left: auto; right: -3%; width: clamp(360px, 43vw, 620px); transform: none; opacity: .05; }
.boutique-home .home-footer-top { align-items: flex-end; gap: 48px; padding: 0 clamp(12px, 3vw, 44px); }
.boutique-home .home-footer .home-footer-invitation h2 {
  color: var(--polish-cream);
  font-size: clamp(48px, 6.7vw, 96px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.045em;
}
.boutique-home .home-footer-action { width: 380px; max-width: 100%; padding-bottom: 10px; }
.boutique-home .home-footer-action p { margin-bottom: 24px; color: var(--polish-stone); font-size: 18px; line-height: 1.55; }

/* The footer is revealed from beneath the page, so it must fit one screen. Its spacing and
   headline also follow the window's height: wide, short laptop windows tighten instead of scrolling. */
@media (min-width: 768px) {
  .boutique-home .home-footer { padding-top: clamp(48px, min(7.6vw, 12svh), 110px); }
  .boutique-home .home-footer .home-footer-invitation h2 { font-size: clamp(44px, min(6.7vw, 11svh), 96px); }
  .boutique-home .home-footer .site-footer-base { margin-top: clamp(36px, min(7.6vw, 12svh), 110px); }
}
@media (min-width: 768px) and (max-height: 640px) {
  .boutique-home .home-footer .site-footer-base { padding: 24px 28px 18px; }
}
@media (max-width: 1100px) {
  .boutique-home .home-footer-top { align-items: flex-start; }
}
@media (max-width: 767px) {
  .boutique-home .home-footer { border-radius: 22px; padding-top: 56px; }
  .boutique-home .home-footer-top { flex-direction: column; align-items: flex-start; gap: 28px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .boutique-home .footer-area .home-appointment,
  .boutique-home .footer-area .home-appointment > .home-button-arrow { transition: none; }
}

/* ---------- Arrow icons ----------
   Drawn line icons replace the text arrows (↗) in buttons and links. They take the colour of
   the text they sit beside: no tinted arrows. Pill buttons use →, round link buttons use ↗. */
.boutique-home {
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h306.7L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z' fill='black'/%3E%3C/svg%3E");
  --icon-arrow-diagonal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h306.7L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z' fill='black' transform='rotate(-45 224 256)'/%3E%3C/svg%3E");
  --icon-arrow-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z' fill='black'/%3E%3C/svg%3E");
}

/* → in pill buttons */
.boutique-home .boutique-hero .hero-consultation-strip .hero-contact > .home-button-arrow,
.boutique-home .footer-area .home-appointment > .home-button-arrow,
.boutique-home .home-expertise .home-pill-link > span,
.boutique-home .home-service-consult .home-service-link > span {
  display: inline-block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  font-size: 0;
  color: inherit;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform .35s var(--polish-ease);
}
.boutique-home .boutique-hero .hero-consultation-strip .hero-contact:hover > .home-button-arrow,
.boutique-home .footer-area .home-appointment:hover > .home-button-arrow,
.boutique-home .home-expertise .home-pill-link:hover > span,
.boutique-home .home-service-consult:hover .home-service-link > span { transform: translateX(3px); }

/* The navigation's contact pill */
@media (min-width: 768px) {
  .boutique-home .site-header .main-menu li.menu-contact a::after,
  .boutique-page.has-page-header .site-header .main-menu li.menu-contact a::after {
    content: '';
    width: 16px;
    height: 16px;
    color: inherit;
    background: currentColor;
    -webkit-mask: var(--icon-arrow) center / contain no-repeat;
    mask: var(--icon-arrow) center / contain no-repeat;
    transition: transform .35s var(--polish-ease);
  }
  .boutique-home .site-header .main-menu li.menu-contact a:hover::after { transform: translateX(3px); }
}

/* ↗ inside round link buttons and small text links */
.boutique-home .home-service:not(.home-service-consult) .home-service-link > span[aria-hidden],
.boutique-home .home-trust-strip .trust-review-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  font-size: 0;
  color: inherit;
  background: currentColor;
  -webkit-mask: var(--icon-arrow-diagonal) center / contain no-repeat;
  mask: var(--icon-arrow-diagonal) center / contain no-repeat;
}
.boutique-home .home-trust-strip .trust-review-arrow { width: 16px; height: 16px; color: #6a6e65; }
.boutique-home .home-service-slot:hover .home-service:not(.home-service-consult) .home-service-link > span[aria-hidden] { transform: rotate(45deg); }

/* ↓ for in-page links */

@media (prefers-reduced-motion: reduce) {
  .boutique-home .boutique-hero .hero-consultation-strip .hero-contact > .home-button-arrow,
  .boutique-home .footer-area .home-appointment > .home-button-arrow,
  .boutique-home .home-expertise .home-pill-link > span,
  .boutique-home .home-service-consult .home-service-link > span { transition: none; }
}

/* ---------- One system across pages ----------
   Rule: content sits on one capped column (--page-max). Only dark panels (as backgrounds),
   sideways-moving tracks and the homepage hero photograph run wider.
   Radii: panels 28px, cards and photographs 16px, frames 16px with an 11px inner screen.
   Buttons: compact 42px rectangles, 7px corners, 14px type. Cobalt is the primary everywhere. */
.boutique-home {
  --page-max: 1800px;
  --radius-panel: 28px;
  --radius-card: 16px;
  --radius-inner: 11px;
  --btn-height: 42px;
  --btn-radius: 7px;
}

/* Radii */
.boutique-home .boutique-hero,
.boutique-home .home-practice-chapter,
.boutique-home .home-footer,
.page-about .about-promises-panel { border-radius: var(--radius-panel); }
.boutique-home .home-trust-strip .client-brand-card,
.boutique-home .home-conviction-photo,
.boutique-home .home-services .home-service,
.boutique-home .home-services .home-service:not(.home-service-consult),
.boutique-home .boutique-hero .hero-consultation-strip,
.boutique-home .home-team-photo .home-photo-facts,
.boutique-page .about-journey.is-pinned .about-chapter-photo,
.boutique-page .about-chapter-photo { border-radius: var(--radius-card); }
.boutique-home .home-service:not(.home-service-consult) { clip-path: inset(0 round var(--radius-card)); }
.boutique-home .home-reviews--google .home-review,
.boutique-home .home-clients .home-review { padding: 6px 6px 0; border-radius: var(--radius-card); }
.home-review-screen { border-radius: var(--radius-inner); }

/* The homepage keeps its full-bleed photograph, but its navigation and copy sit on the column. */
@media (min-width: 768px) {
  .boutique-home .site-header.header-area { padding-inline: max(clamp(24px, 4.5vw, 72px), calc((100% - var(--page-max)) / 2)); }
  .boutique-home .boutique-hero .hero-area-inner { padding-inline: max(clamp(32px, 4.5vw, 72px), calc((100% - var(--page-max)) / 2)); }
  .boutique-home .boutique-hero .hero-consultation-strip {
    left: max(var(--strip-inset), calc((100% - var(--page-max)) / 2 - 30px));
    right: max(var(--strip-inset), calc((100% - var(--page-max)) / 2 - 30px));
  }
  .boutique-home .home-practice-chapter { padding-inline: max(clamp(12px, 2.4vw, 34px), calc((100% - var(--page-max) - 68px) / 2)); }
  .boutique-home .home-clients { padding-inline: max(clamp(14px, 5.4vw, 78px), calc((100% - var(--page-max)) / 2)); }
  .boutique-home .home-trust-strip .client-marquee { max-width: var(--page-max); }
}

/* ---------- Buttons ---------- */
.boutique-home .boutique-hero .hero-consultation-strip .hero-contact,
.boutique-home .footer-area .home-appointment,
.boutique-home .home-expertise .home-pill-link,
.boutique-home .home-services .home-service-consult .home-service-link {
  min-height: var(--btn-height);
  gap: 10px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  box-shadow: none;
  transform: none;
  transition: background-color .25s, color .25s;
}
/* Primary: solid cobalt */
.boutique-home .boutique-hero .hero-consultation-strip .hero-contact,
.boutique-home .footer-area .home-appointment {
  background: var(--cobalt);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(3, 2, 122, .25);
}
.boutique-home .boutique-hero .hero-consultation-strip .hero-contact:hover,
.boutique-home .footer-area .home-appointment:hover,
.boutique-home .footer-area .home-appointment:focus-visible {
  background: var(--cobalt-deep);
  color: #fff;
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.boutique-home .boutique-hero .home-button::before,
.boutique-home .footer-area .home-appointment::before { background: var(--cobalt-deep); }
/* Quiet on dark: a soft tint */
.boutique-home .home-expertise .home-pill-link { background: rgba(255, 253, 245, .1); color: var(--polish-cream); }
.boutique-home .home-expertise .home-pill-link:hover { background: rgba(255, 253, 245, .16); color: #fff; transform: none; }
/* On the cobalt band the action turns white */
.boutique-home .home-services .home-service-consult .home-service-link { background: #fff; color: var(--polish-ink); box-shadow: 0 1px 2px rgba(3, 2, 122, .3); }
.boutique-home .home-service-consult:hover .home-service-link { transform: none; }
/* Arrow icons size to the compact buttons */
.boutique-home .boutique-hero .hero-consultation-strip .hero-contact > .home-button-arrow,
.boutique-home .footer-area .home-appointment > .home-button-arrow,
.boutique-home .home-expertise .home-pill-link > span,
.boutique-home .home-service-consult .home-service-link > span { flex-basis: 16px; width: 16px; height: 16px; }
/* The call button matches the button height and corners */
.boutique-home .boutique-hero .hero-phone {
  flex: 0 0 var(--btn-height);
  width: var(--btn-height);
  height: var(--btn-height);
  border-radius: var(--btn-radius);
  border-color: rgba(255, 253, 245, .3);
  background: rgba(255, 253, 245, .08);
}
.boutique-home .boutique-hero .hero-phone:hover { transform: none; }
.boutique-home .boutique-hero .hero-phone svg { width: 18px; height: 18px; }
.boutique-home .boutique-hero .hero-consultation-strip .hero-actions { gap: 8px; }
/* Navigation contact: the same compact cobalt button on every page */
@media (min-width: 768px) {
  .boutique-home .site-header .main-menu li.menu-contact a {
    gap: 8px;
    min-height: 36px;
    padding: 0 13px;
    border-radius: var(--btn-radius);
    background: var(--cobalt);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(3, 2, 122, .25);
  }
  .boutique-home .site-header .main-menu li.menu-contact a:hover { background: var(--cobalt-deep); color: #fff; transform: none; }
  .boutique-home .site-header .main-menu li.menu-contact a::after { width: 12px; height: 12px; }
}
@media (max-width: 767px) {
  .boutique-home .site-header .header-contact.home-button { min-height: 38px; padding: 0 13px; border-radius: var(--btn-radius); background: var(--cobalt); color: #fff; font-size: 14px; }
}

/* ---------- Section rhythm ----------
   One generous gap between sections on every page, so each chapter has room to land. */
.boutique-home { --section-space: clamp(96px, 10.5vw, 168px); }
.page-about .about-journey { margin-top: var(--section-space); }
.page-about .about-journey:not(.is-pinned) { padding-top: 0; }
.page-about .about-promises { margin-top: var(--section-space); }
.page-about .about-clients { padding-block: var(--section-space); }
.boutique-home .home-practice-chapter { margin-top: calc(var(--section-space) * .5); }
.boutique-home .home-clients { padding-top: var(--section-space); padding-bottom: var(--section-space); }

/* Footer sits on the floor of the page: rounded top only, no gap beneath it. */
.boutique-home .home-footer-reveal { padding-bottom: 0; }
.boutique-home .home-footer { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Dark bands share the column (the homepage hero and the footer are the exceptions and fill the
   window: the page opens and closes edge to edge):
   the homepage practice chapter, About's promises, the
   Expertise directory, the area steps, the calculators, and the team matcher all start
   and end exactly where the nav and page titles do, at every width. Each takes the larger of the
   wide-screen inset (centring the 1800px column) and the column's own gutter, less the page gutter it already
   sits inside. The id keeps this ahead of the per-page margin rules. */
#smooth-content :is(.home-practice-chapter, .about-promises-panel, .expertise-panel, .area-steps-panel, .calc-panel, .team-matcher-panel) {
  margin-inline: max(0px, calc((100% - var(--page-max, 1800px)) / 2), calc(clamp(12px, 4.7vw, 68px) - var(--page-gutter)));
  /* Their old side padding centred the content against the full page width (a % of the parent),
     which crushes it once the band itself is column-wide. A plain inset now. */
  padding-inline: clamp(20px, 3.75vw, 54px);
}
/* The calculators keep their tighter phone inset so the inputs and result card get the width. */
@media (max-width: 767px) {
  #smooth-content .calc-panel { padding-inline: 12px; }
}

/* Native footer reveal, used whenever the page scrolls natively (phones, tablets, no ScrollSmoother).
   The browser drives it from the live scroll position and viewport, so the collapsing address bar
   and changing viewport height can never leave the footer short of the page floor. JS opts in with
   .footer-reveal-native only where animation-timeline is supported; elsewhere the footer is static. */
.home-footer-reveal.footer-reveal-native { view-timeline: --footer-reveal block; }
.footer-reveal-native > .home-footer {
  animation: footer-reveal linear both;
  animation-timeline: --footer-reveal;
  animation-range: entry 0% entry 100%;
}
@keyframes footer-reveal {
  from { translate: 0 calc(-1 * min(100%, 100dvh)); }
  to { translate: 0 0; }
}

/* ---------- Homepage hero: one column, no bar (Paper "Botha Partners: hero options", A) ----------
   On laptops and up the promise and both actions follow the headline in the left column instead of
   a glass bar across the photograph. Tablets keep the bar and phones the band beneath the photo,
   both showing the call button as an icon only. */
@media (min-width: 1024px) {
  .boutique-home .boutique-hero .hero-area-inner {
    --strip-height: 0px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 72px;
  }
  .boutique-home .boutique-hero .hero-consultation-strip {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 48%;
    min-height: 0;
    margin-top: 28px;
    padding: 0 0 0 clamp(0px, 1.2vw, 18px);
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .boutique-home .boutique-hero .hero-consultation-strip .text {
    max-width: 560px;
    color: rgba(255, 253, 245, .9);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.45;
  }
  .boutique-home .boutique-hero .hero-consultation-strip .hero-actions { gap: 10px; }
  .boutique-home .boutique-hero .hero-consultation-strip .hero-contact { min-height: 48px; padding: 0 22px; font-size: 15px; }
  /* The call button reads as a number beside the main action. */
  .boutique-home .boutique-hero .hero-phone {
    order: 1;
    flex: 0 0 auto;
    gap: 10px;
    width: auto;
    height: 48px;
    padding: 0 20px;
    background: rgba(255, 253, 245, .12);
    border-color: rgba(255, 253, 245, .32);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 15px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
  .boutique-home .boutique-hero .hero-phone svg { width: 16px; height: 16px; }
}
/* "Pretoria East · Since 1982" moves from above the headline to beside the logo, behind a hairline
   (Paper: "Header 2 · Divider and two lines"). Below laptop width it stays above the headline. */
.header-est { display: none; }
@media (min-width: 1024px) {
  .boutique-home .site-header .header__logo { display: flex; align-items: center; gap: 20px; }
  .boutique-home .site-header .header-est {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 253, 245, .36);
    color: var(--polish-cream);
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
  }
  .boutique-home .site-header .header-est span + span { color: rgba(255, 253, 245, .72); font-weight: 400; }
  .boutique-home .boutique-hero .hero-kicker { display: none; }
}
@media (max-width: 1023px) {
  .boutique-home .boutique-hero .hero-phone-number { display: none; }
}
@media (max-width: 767px) {
  .boutique-home .boutique-hero .hero-area-inner .hero-consultation-strip .hero-contact { justify-content: center; }
  /* Phones: no name rows; headline, promise and actions read straight through as on desktop. */
  .boutique-home .boutique-hero .hero-people { display: none; }
  /* The photo fades out into the ink rather than ending on an edge behind the headline. */
  .boutique-home .boutique-hero .hero-image-stage {
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 160px), transparent);
    mask-image: linear-gradient(180deg, #000 calc(100% - 160px), transparent);
  }
  /* A tighter stack: badge, headline, promise and actions read as one group. */
  .boutique-home .boutique-hero .hero-kicker { margin-bottom: 14px; }
  .boutique-home .boutique-hero .section-content { padding-bottom: 14px; }
  .boutique-home .boutique-hero .hero-area-inner .hero-consultation-strip {
    gap: 14px;
    padding-top: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
