/* tokens.css */
/* Design tokens. Extracted from the Pencil exports, snapped to a scale.
   See plan.md section 5. */

:root {
  /* --- colour --- */
  --ink:        #2B2124;
  --ink-deep:   #1F1619;
  --ink-soft:   #5F5049;
  --muted:      #6F6461;   /* small text on light backgrounds */
  --muted-soft: #C6B3AC;   /* text on the ink background */

  --rose:       #C99A8E;   /* accents on dark only */
  --rose-pale:  #E7D8D0;
  /* The Pencil palette fails WCAG AA for small text. Three tokens are darkened
     to the minimum that reaches 4.5:1; the hue is kept. See docs/implementation-notes.html.
       clay      #AE6A5C -> #A76558   white on it: 4.19 -> 4.52
       clay-text #AE6A5C -> #90574C   on cream:    3.75 -> 5.14  (new token)
       muted     #998A85 -> #6F6461   on cream:    2.97 -> 5.12
     --clay stays the button and accent fill; --clay-text is small text on light. */
  --clay:       #A76558;
  --clay-text:  #90574C;
  --clay-deep:  #8F4E45;

  --cream:      #F8F1EC;
  --cream-soft: #FEFAF7;
  --shell:      #EBDDD4;
  --shell-soft: #F1E4DE;
  --line:       #D6C5BD;
  --line-soft:  #E7D6CE;
  --white:      #FFFFFF;

  /* --- type families --- */
  --font-display: Fraunces, "Iowan Old Style", Georgia, serif;
  --font-ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- 4K scale --- */
  /* Hard rule: no fixed-px type survives a 4K display. Every size below is
     multiplied by --ui-scale, which steps up by viewport width. */
  --ui-scale: 1;

  /* --- type scale --- */
  /* UI sizes (Inter). The design had 24 ad-hoc sizes; these are the 6 they snap to. */
  --fs-2xs: calc(0.75rem  * var(--ui-scale)); /* 12 */
  --fs-xs:  calc(0.875rem * var(--ui-scale)); /* 14 */
  --fs-sm:  calc(1rem     * var(--ui-scale)); /* 16 */
  --fs-md:  calc(1.125rem * var(--ui-scale)); /* 18 */
  --fs-lg:  calc(1.4375rem* var(--ui-scale)); /* 23 */
  --fs-xl:  calc(1.75rem  * var(--ui-scale)); /* 28 */
  /* Display sizes (Fraunces). Fluid: they must come DOWN on a phone as well as
     up on a 4K display, so the design value is the ceiling, not a constant.
     A 78px headline on a 360px screen fits four characters per line. */
  --fd-sm:  clamp(1.75rem, 1.20rem + 2.2vw, calc(2.1875rem * var(--ui-scale))); /* ->35 */
  --fd-md:  clamp(2.00rem, 1.20rem + 3.4vw, calc(2.75rem   * var(--ui-scale))); /* ->44 */
  --fd-lg:  clamp(2.50rem, 1.40rem + 4.6vw, calc(3.875rem  * var(--ui-scale))); /* ->62 */
  --fd-xl:  clamp(2.75rem, 1.50rem + 5.8vw, calc(4.875rem  * var(--ui-scale))); /* ->78 */

  /* --- spacing --- */
  --sp-1:  calc(0.25rem * var(--ui-scale));
  --sp-2:  calc(0.5rem  * var(--ui-scale));
  --sp-3:  calc(0.75rem * var(--ui-scale));
  --sp-4:  calc(1rem    * var(--ui-scale));
  --sp-5:  calc(1.5rem  * var(--ui-scale));
  --sp-6:  calc(2rem    * var(--ui-scale));
  --sp-7:  calc(3rem    * var(--ui-scale));
  --sp-8:  calc(4rem    * var(--ui-scale));
  --sp-9:  calc(6rem    * var(--ui-scale));
  --sp-10: calc(8rem    * var(--ui-scale));

  /* --- layout --- */
  --gutter: var(--sp-5);
  --container: calc(90rem * var(--ui-scale)); /* 1440 at scale 1 */
  --track: 0.1125em;      /* label letter-spacing */
  --track-wide: 0.1875em;

  --radius: 2px;
  --dur: 220ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Stepped scale. Type and the chrome around it grow together, so a 4K
   display shows a larger site, not the same site with more empty space. */
@media (min-width: 1680px) { :root { --ui-scale: 1.25; } }
@media (min-width: 2200px) { :root { --ui-scale: 1.5;  } }
@media (min-width: 2800px) { :root { --ui-scale: 1.75; } }
@media (min-width: 3440px) { :root { --ui-scale: 2;    } }

/* Below the design width the gutter tightens instead of the type shrinking. */
@media (max-width: 900px)  { :root { --gutter: var(--sp-4); } }
@media (max-width: 480px)  { :root { --gutter: var(--sp-4); } }

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 1ms; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* base.css */
/* Reset and element defaults. */

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

/* No scroll-behavior: smooth. On the services page a jump link animates
   10,000px over 1.5s, which reads as the page hanging. Anchors jump instantly. */
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--clay-deep); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.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 {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream);
  padding: var(--sp-3) var(--sp-4); font-size: var(--fs-xs);
  transition: top var(--dur) var(--ease);
}
.skip:focus { top: var(--sp-4); color: var(--cream); }

/* layout.css */
/* Containers and section rhythm. */

/* Anchored sections must clear the sticky header. */
[id] { scroll-margin-top: var(--nav-h, 6rem); }

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

.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }
.section--shell { background: var(--shell-soft); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--rose-pale); }

@media (max-width: 780px) {
  .section { padding-block: var(--sp-7); }
  .section--tight { padding-block: var(--sp-6); }
}

/* Numbered section label: "Nº 03 ---- SIGNATURE" */
.index {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--muted);
}
.index__rule { flex: 0 0 auto; width: calc(2.5rem * var(--ui-scale)); height: 1px; background: var(--line); }
.index__lbl { color: var(--clay-text); }

.eyebrow {
  font-size: var(--fs-2xs);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--clay-text);
  font-weight: 500;
}

/* components.css */
/* Buttons, top bar, nav, footer. */

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--clay); color: var(--white); }
.btn--solid:hover { background: var(--clay-deep); color: var(--white); }
.btn--ghost { color: var(--ink); padding-inline: 0; }
.btn--ghost:hover { color: var(--clay-deep); }
.btn--ghost .btn__arrow { transition: transform var(--dur) var(--ease); }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }
.btn--line { border: 1px solid currentColor; }
.btn--line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* --- top bar --- */
.topbar {
  background: var(--ink);
  color: var(--rose-pale);
  font-size: var(--fs-2xs);
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.topbar__inner {
  max-width: var(--container); margin-inline: auto;
  padding: var(--sp-3) var(--gutter);
  display: flex; justify-content: space-between; gap: var(--sp-4);
}
.topbar__mid { color: var(--rose); }
@media (max-width: 780px) {
  .topbar__inner { justify-content: center; }
  .topbar__inner > span:not(.topbar__mid) { display: none; }
  .topbar__mid { color: var(--rose-pale); }
}

/* --- nav --- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid transparent; }
.nav--stuck { border-bottom-color: var(--line-soft); }
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  padding: var(--sp-5) var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.wordmark__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  letter-spacing: 0.06em;
  line-height: 1;
}
.wordmark__name--light { color: var(--cream); }
.wordmark__tag {
  display: block; margin-top: 3px;
  font-size: calc(0.625rem * var(--ui-scale));
  letter-spacing: var(--track-wide);
  color: var(--clay-text);
}
.nav__menu { display: flex; align-items: center; gap: var(--sp-6); }
.nav__menu ul { display: flex; gap: var(--sp-5); font-size: var(--fs-xs); }
.nav__menu a[aria-current="page"] { color: var(--clay-text); }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: calc(var(--sp-2) * -1); }
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; }
.nav__bars::before { transform: translateY(-7px); }
.nav__bars::after  { transform: translateY(7px); }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after  { transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line-soft);
    padding: var(--sp-2) var(--gutter) var(--sp-5);
    display: none;
  }
  .nav__menu[data-open="true"] { display: flex; }
  .nav__menu ul { flex-direction: column; gap: 0; }
  .nav__menu ul a { display: block; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-sm); }
  .nav__cta { margin-top: var(--sp-4); justify-content: center; }
}

/* --- footer --- */
.footer { background: var(--ink); color: var(--rose-pale); padding-block: var(--sp-8) var(--sp-5); }
.footer__inner { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: var(--sp-8); }
.footer__brand p { margin: var(--sp-4) 0 var(--sp-5); max-width: 34ch; color: var(--muted-soft); font-size: var(--fs-xs); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
.footer__cols h2 { font-size: var(--fs-2xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--rose); margin-bottom: var(--sp-4); }
.footer__cols li { margin-bottom: var(--sp-3); font-size: var(--fs-xs); }
.footer__cols a:hover, .footer__bar a:hover { color: var(--rose); }
.footer__bar {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  margin-top: var(--sp-8); padding-top: var(--sp-5);
  border-top: 1px solid #463539;
  font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted-soft);
}
@media (max-width: 900px) {
  /* Touch targets. A 17px-tall text link is not tappable. */
  .footer__cols li { margin-bottom: 0; }
  .footer__cols li a { display: block; padding-block: var(--sp-3); }
  .footer__bar a { display: inline-block; padding-block: var(--sp-2); }
  .footer__top { grid-template-columns: 1fr; gap: var(--sp-7); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); }
}
@media (max-width: 560px) {
  .footer__bar { flex-direction: column; gap: var(--sp-2); }
}

/* --- brand mark --- */
/* The wordmark is the client's real logo, traced from assets/brand/logo-source.jpg.
   Sized by height so it scales with --ui-scale like everything else. */
.wordmark__logo { height: calc(3.1rem * var(--ui-scale)); width: auto; }
.footer__logo   { height: calc(3.4rem  * var(--ui-scale)); width: auto; }
@media (max-width: 560px) { .wordmark__logo { height: calc(2.5rem * var(--ui-scale)); } }

/* --- footer legal --- */
.footer__legal {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid #463539;
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6);
  font-size: var(--fs-2xs); color: var(--muted-soft);
}
.footer__legal p { margin: 0; }
.footer__addr { flex: 1 1 26rem; }
/* --muted is the dark-on-light token; on ink it measures 2.73:1. */
.footer__tm { flex: 1 1 100%; color: var(--muted-soft); }
.footer__legal + .footer__bar { margin-top: var(--sp-4); border-top: 0; padding-top: 0; }

/* home.css */
/* Home page. */

/* Aligns a full-bleed section's text edge to the container gutter. */
.bleed-pad { padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }

/* Warm grade for the real salon photos. The salon is teal, wood and white;
   the design images are cream and clay. This pulls the real ones toward the
   page palette so they read as one site. See plan.md gate G3b. */
.img--real { filter: sepia(0.16) saturate(0.88) brightness(1.05) contrast(0.97); }

/* --- hero --- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: stretch; }
.hero__text {
  padding-block: var(--sp-9);
  padding-inline-end: var(--sp-8);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  align-self: center;
}
.hero__h1 {
  font-family: var(--font-display);
  font-size: var(--fd-xl);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-block: var(--sp-5) var(--sp-5);
  max-width: 11ch;
}
.hero__h1 em { display: block; font-style: italic; color: var(--clay); }
.hero__sub { font-size: var(--fs-md); color: var(--ink-soft); max-width: 46ch; }
.hero__ctas { display: flex; align-items: center; gap: var(--sp-6); margin-top: var(--sp-7); flex-wrap: wrap; }

.hero__media { position: relative; min-height: calc(34rem * var(--ui-scale)); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__badge {
  position: absolute; left: var(--sp-6); bottom: var(--sp-6);
  background: var(--cream-soft); padding: var(--sp-4) var(--sp-6);
  box-shadow: 0 10px 40px rgb(43 33 36 / 0.12);
}
.hero__rate { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.2; }
.hero__rateSub { font-size: var(--fs-2xs); color: var(--muted); margin-top: 2px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { padding-inline: var(--gutter); padding-block: var(--sp-7) var(--sp-6); }
  .hero__h1 { max-width: none; }
  .hero__ctas { gap: var(--sp-4); }
  .hero__ctas .btn--solid { flex: 1 1 auto; justify-content: center; }
  .hero__media { min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
  .hero__badge { left: var(--gutter); bottom: var(--sp-4); padding: var(--sp-3) var(--sp-5); }
}

/* --- marquee --- */
.marquee { background: var(--ink); color: var(--rose-pale); overflow: hidden; padding-block: var(--sp-4); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__run { display: flex; align-items: center; gap: var(--sp-6); padding-inline: var(--sp-3); }
.marquee__word { font-family: var(--font-display); font-style: italic; font-size: var(--fs-lg); letter-spacing: 0.04em; }
.marquee__dot { color: var(--rose); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__run:nth-child(2) { display: none; }
  .marquee { display: flex; justify-content: center; }
}

/* --- intro --- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); }
.intro__head { font-family: var(--font-display); font-size: var(--fd-sm); margin-top: var(--sp-4); max-width: 18ch; }
.intro__lead { font-family: var(--font-display); font-style: italic; font-size: var(--fs-lg); line-height: 1.35; }
.intro__para { margin-top: var(--sp-4); color: var(--ink-soft); max-width: 56ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); margin: var(--sp-7) 0 0; padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.stats dt { font-family: var(--font-display); font-size: var(--fd-sm); line-height: 1; }
.stats dd { margin: var(--sp-2) 0 0; font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

/* --- section head --- */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-7); margin-bottom: var(--sp-7); }
.head__h { font-family: var(--font-display); font-size: var(--fd-sm); margin-top: var(--sp-4); }
.head__note { font-size: var(--fs-xs); color: var(--ink-soft); max-width: 34ch; text-align: right; }
@media (max-width: 780px) {
  .head { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .head__note { text-align: left; }
}

/* --- service cards --- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
.card { background: var(--cream-soft); }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card__link:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); }
.card__num { font-family: var(--font-display); font-style: italic; font-size: var(--fs-2xs); color: var(--muted); }
.card__title { font-family: var(--font-display); font-size: var(--fs-xl); margin-top: var(--sp-2); }
.card__desc { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: var(--sp-3); flex: 1; }
.card__more { font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; color: var(--clay-text); margin-top: var(--sp-5); }
.card__link:hover .card__more .btn__arrow { display: inline-block; transform: translateX(4px); transition: transform var(--dur) var(--ease); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .cards { grid-template-columns: 1fr; } }

/* --- signature --- */
.signature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--shell-soft); }
.signature__media { min-height: calc(28rem * var(--ui-scale)); }
.signature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.signature__body {
  align-self: center;
  padding-block: var(--sp-9);
  padding-inline-start: var(--sp-8);
  padding-inline-end: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.signature__h { font-family: var(--font-display); font-size: var(--fd-sm); margin: var(--sp-4) 0 var(--sp-6); }
.signature__list li { padding-block: var(--sp-5); border-top: 1px solid var(--line); }
.signature__list li:last-child { border-bottom: 1px solid var(--line); }
.signature__list h3 { font-size: var(--fs-md); font-weight: 500; }
.signature__list p { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: var(--sp-2); }
@media (max-width: 900px) {
  .signature { grid-template-columns: 1fr; }
  .signature__media { min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
  .signature__body { padding: var(--sp-7) var(--gutter); }
}

/* --- bridal band --- */
.band { position: relative; display: grid; place-items: center; min-height: calc(30rem * var(--ui-scale)); overflow: hidden; text-align: center; color: var(--cream); }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(43 33 36 / 0.42), rgb(43 33 36 / 0.68)); }
.band__content { position: relative; z-index: 1; padding: var(--sp-8) var(--gutter); max-width: 46rem; }
.band__content .index { justify-content: center; color: var(--rose-pale); }
.band__content .index__rule { background: rgb(231 216 208 / 0.5); }
.band__content .index__lbl { color: var(--rose); }
.band__h { font-family: var(--font-display); font-size: var(--fd-md); margin: var(--sp-4) 0 var(--sp-4); }
.band__sub { color: var(--rose-pale); max-width: 44ch; margin-inline: auto; margin-bottom: var(--sp-6); font-size: var(--fs-sm); }

/* --- testimonial --- */
.quote { background: var(--cream); text-align: center; }
.quote__inner { max-width: calc(52rem * var(--ui-scale)); margin-inline: auto; }
.quote__text {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--fd-sm); line-height: 1.35; margin: var(--sp-5) 0 var(--sp-6);
  text-wrap: balance;
}
.quote__name { font-size: var(--fs-xs); font-weight: 500; }
.quote__ctx { font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); margin-top: var(--sp-1); }

/* --- gallery mosaic --- */
.mosaic { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: repeat(2, 1fr); gap: var(--sp-4); }
.mosaic figure { margin: 0; overflow: hidden; background: var(--shell); }
.mosaic__big { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__big { min-height: calc(30rem * var(--ui-scale)); }
.mosaic > figure:not(.mosaic__big) { min-height: calc(14.5rem * var(--ui-scale)); }
@media (max-width: 780px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .mosaic__big { grid-row: auto; grid-column: span 2; min-height: 62vw; }
  .mosaic > figure:not(.mosaic__big) { min-height: 46vw; }
}

/* --- visit --- */
.visit { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--shell-soft); }
.visit__body {
  align-self: center;
  padding-block: var(--sp-9);
  padding-inline-end: var(--sp-8);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.visit__h { font-family: var(--font-display); font-size: var(--fd-sm); margin: var(--sp-4) 0 var(--sp-6); }
.info div { display: grid; grid-template-columns: calc(7.5rem * var(--ui-scale)) minmax(0, 1fr); gap: var(--sp-4); padding-block: var(--sp-4); border-top: 1px solid var(--line); }
.info div:last-child { border-bottom: 1px solid var(--line); }
.info dt { font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; color: var(--clay-text); padding-top: 2px; }
.info dd { margin: 0; font-size: var(--fs-xs); color: var(--ink-soft); }
.info dd a:hover { color: var(--clay-deep); }
.visit__media { min-height: calc(28rem * var(--ui-scale)); }
.visit__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 42%; }
@media (max-width: 900px) {
  .visit { grid-template-columns: 1fr; }
  .visit__body { padding: var(--sp-7) var(--gutter); order: 2; }
  .visit__media { min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
  .info div { grid-template-columns: 1fr; gap: var(--sp-1); }
  /* Standalone value links are targets, not inline prose links. */
  .info dd a { display: inline-block; padding-block: var(--sp-2); }
}

/* services.css */
/* Services and pricing page. */

/* --- page header --- */
.pagehead { padding-block: var(--sp-8) var(--sp-7); background: var(--cream); }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
.crumb { font-size: var(--fs-2xs); color: var(--muted); margin-bottom: var(--sp-5); }
.crumb a:hover { color: var(--clay-deep); }
.pagehead__h { font-family: var(--font-display); font-size: var(--fd-lg); margin: var(--sp-4) 0 var(--sp-4); letter-spacing: -0.015em; }
.pagehead__h em { font-style: italic; color: var(--clay); }
.pagehead__sub { color: var(--ink-soft); max-width: 48ch; }

.know { background: var(--cream-soft); border: 1px solid var(--line-soft); padding: var(--sp-5); }
.know h2 { font-size: var(--fs-2xs); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--clay-text); }
.know p { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: var(--sp-3); }
.know .btn { margin-top: var(--sp-4); }
@media (max-width: 900px) { .pagehead__grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

/* --- jump nav --- */
.jump { position: sticky; top: var(--nav-h, 6rem); z-index: 40; background: var(--ink); }
.jump__inner { display: flex; gap: var(--sp-6); overflow-x: auto; scrollbar-width: none; padding-block: var(--sp-3); }
.jump__inner::-webkit-scrollbar { display: none; }
.jump a { color: var(--rose-pale); font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; white-space: nowrap; }
.jump a:hover { color: var(--rose); }

/* --- menu sections --- */
.menu { padding-block: var(--sp-8); scroll-margin-top: calc(var(--nav-h, 6rem) + var(--jump-h, 2.75rem)); }
.menu--shell { background: var(--shell-soft); }
.menu__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 3fr); gap: var(--sp-8); align-items: start; }
.menu__aside { position: sticky; top: calc(var(--nav-h, 6rem) + var(--jump-h, 2.75rem) + var(--sp-5)); }
.menu__h { font-family: var(--font-display); font-size: var(--fd-sm); margin-top: var(--sp-4); }
.menu__sub { font-family: var(--font-display); font-style: italic; color: var(--clay-text); font-size: var(--fs-sm); margin-top: var(--sp-2); }

.menu__cat + .menu__cat { margin-top: var(--sp-7); }
.menu__catTitle { font-size: var(--fs-md); font-weight: 500; letter-spacing: 0.01em; }
.menu__note { font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); margin-top: var(--sp-2); }

.menu__table { margin-top: var(--sp-4); }
.menu__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(var(--cols, 1), minmax(calc(4.5rem * var(--ui-scale)), auto));
  gap: var(--sp-4);
  align-items: baseline;
  padding-block: var(--sp-3);
  border-top: 1px solid var(--line-soft);
}
.menu__table > .menu__row:last-child { border-bottom: 1px solid var(--line-soft); }
.menu__row--head {
  border-top: 0;
  font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted);
  padding-bottom: var(--sp-2);
}
.menu__row--head > span:first-child { color: transparent; }
.menu__n { font-size: var(--fs-xs); }
.menu__p { font-family: var(--font-display); font-size: var(--fs-sm); color: var(--clay-deep); text-align: right; font-variant-numeric: tabular-nums; }
.menu__row--head .menu__p { font-family: var(--font-ui); font-size: var(--fs-2xs); color: var(--muted); }

/* Column counts are set from the markup shape. */
.menu__table--1 .menu__row { --cols: 1; }
.menu__row:has(> .menu__p:nth-child(3):last-child) { --cols: 2; }
.menu__row:has(> .menu__p:nth-child(5):last-child) { --cols: 4; }

@media (max-width: 900px) {
  .menu__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .menu__aside { position: static; }
}
@media (max-width: 620px) {
  /* Multi-column prices stack under the name instead of squeezing. */
  .menu__row { grid-template-columns: 1fr; gap: var(--sp-1); }
  .menu__row--head { display: none; }
  .menu__p { text-align: left; }
  .menu__row > .menu__p ~ .menu__p { display: inline; }
  .menu__row:has(> .menu__p + .menu__p) .menu__p { display: inline-block; margin-right: var(--sp-3); font-size: var(--fs-xs); }
}

/* --- consultation band --- */
.consult { background: var(--ink); color: var(--cream); padding-block: var(--sp-8); }
.consult__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-7); }
.consult__h { font-family: var(--font-display); font-size: var(--fd-sm); margin: var(--sp-3) 0 var(--sp-3); }
.consult__sub { color: var(--muted-soft); font-size: var(--fs-xs); max-width: 46ch; }
.consult .eyebrow { color: var(--rose); }
@media (max-width: 780px) { .consult__inner { flex-direction: column; align-items: flex-start; gap: var(--sp-5); } }

/* visit.css */
/* Visit page. */

.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
.info__muted { color: var(--muted); }
.contact__photo { margin: 0; }
.contact__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 42%; }
.contact__photo figcaption { margin-top: var(--sp-3); font-size: var(--fs-2xs); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: var(--sp-6); } }

.actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); margin-top: var(--sp-6); }
.actions a {
  display: flex; flex-direction: column; gap: var(--sp-2); height: 100%;
  background: var(--cream-soft); border: 1px solid var(--line-soft);
  padding: var(--sp-5);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.actions a:hover { border-color: var(--clay); background: var(--white); color: inherit; }
.actions a:hover .btn__arrow { display: inline-block; transform: translateX(4px); transition: transform var(--dur) var(--ease); }
.actions__label { font-family: var(--font-display); font-size: var(--fs-lg); }
.actions__sub { font-size: var(--fs-xs); color: var(--ink-soft); }
@media (max-width: 780px) { .actions { grid-template-columns: 1fr; } }

/* --- 404 --- */
.notfound { text-align: center; padding-block: var(--sp-10); }
.notfound .pagehead__sub { margin-inline: auto; }
.notfound__links { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-6); }
