/* =========================================================
   Lily brand site
   1. Foundation
   2. Header and shared elements
   3. Home-page sections
   4. Menu subpage
   5. Responsive layouts
   ========================================================= */

/* ---------- 1. Foundation ---------- */
:root {
  --paper: #fffefb;
  --warm-paper: #fbfaf6;
  --pale-sage: #edf5ee;
  --soft-green: #dfe8dc;
  --soft-green-deep: #3f5a44;
  --sage: #829a7f;
  --deep-sage: #58705d;
  --gold: #b18b43;
  --ink: #20221f;
  --muted: #686d67;
  --line: rgba(88, 112, 93, 0.28);
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --display: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --header-height: clamp(4.5rem, 6.4vw, 5.375rem);
  --content-width: 58.75rem;
  --side-space: clamp(1.375rem, 4.5vw, 3rem);
  --section-space-lg: clamp(4rem, 6.8vw, 5.75rem);
  --section-space-md: clamp(2.25rem, 4.5vw, 4.375rem);
  --ornament-size: clamp(8rem, 12vw, 10.625rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

figure,
h1,
h2,
p,
ul,
dl,
dd {
  margin-top: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button,
input,
textarea,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 0.1875rem solid rgba(177, 139, 67, 0.68);
  outline-offset: 0.25rem;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 0.5rem 0.875rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.content-shell {
  position: relative;
  width: min(calc(100% - (var(--side-space) * 2)), var(--content-width));
  margin-inline: auto;
}

.section-block {
  position: relative;
}

.gold-rule {
  display: block;
  width: clamp(2rem, 3.8vw, 3.25rem);
  height: 1px;
  background: var(--gold);
}

.decorative-leaf {
  position: absolute;
  z-index: 0;
  width: var(--ornament-size);
  pointer-events: none;
}

.section-title {
  position: relative;
  z-index: 1;
}

.section-title h2 {
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

/* ---------- 2. Header ---------- */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 253, 0.98);
}

.header-inner {
  display: flex;
  width: min(calc(100% - (var(--side-space) * 2)), 58.125rem);
  height: 100%;
  margin-inline: auto;
  align-items: center;
  gap: clamp(1rem, 2.15vw, 1.8125rem);
}

.brand {
  display: flex;
  width: clamp(9.5rem, 13vw, 10.875rem);
  margin-right: auto;
  align-items: center;
}

.brand img {
  width: 100%;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.global-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.reserve-link {
  display: inline-flex;
  min-height: 2.6875rem;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(1rem, 1.6vw, 1.25rem);
  border: 1.5px solid var(--deep-sage);
  border-radius: 999px;
  color: var(--deep-sage);
  font-family: var(--display);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.reserve-link:hover,
.reserve-link:focus-visible {
  color: #fff;
  background: var(--deep-sage);
}

@media (prefers-reduced-motion: reduce) {
  .reserve-link {
    transition: none;
  }
}

.menu-toggle {
  display: none;
  width: 2.625rem;
  height: 2.625rem;
  padding: 0.4375rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 0.375rem;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
}

/* ---------- 3. Home-page sections ---------- */
/* Hero */
.hero {
  position: relative;
  min-height: 48.125rem;
  overflow: hidden;
}

.hero-photo,
.hero-photo img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo img {
  object-fit: cover;
  object-position: 57% center;
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 253, 0.98) 0%, rgba(255, 255, 253, 0.91) 26%, rgba(255, 255, 253, 0.32) 48%, rgba(255, 255, 253, 0) 68%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--side-space) * 2)), 58.125rem);
  margin-inline: auto;
  padding-top: 7.75rem;
}

.hero-copy h1 {
  max-width: 36.875rem;
  margin-bottom: 1.375rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.45;
}

.hero-copy .gold-rule {
  margin-bottom: 1.875rem;
}

.hero-message {
  margin-bottom: 2.625rem;
  font-size: 1rem;
  letter-spacing: 0.025em;
  line-height: 2;
}

.hero-name {
  margin-bottom: 0.125rem;
  font-size: 1.08rem;
  letter-spacing: 0.12em;
}

.hero-role {
  margin-bottom: 0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.hero-leaf {
  bottom: -1.125rem;
  left: 1.125rem;
  z-index: 2;
  transform: rotate(-8deg);
}

/* Story */
.story {
  position: relative;
  min-height: 41.25rem;
  overflow: hidden;
  padding-block: clamp(2rem, 3vw, 2.5rem);
  background: var(--warm-paper);
}

.story-inner {
  display: grid;
  width: min(calc(100% - (var(--side-space) * 2)), 61.25rem);
  min-height: clamp(34rem, 43vw, 36.25rem);
  margin-inline: auto;
  grid-template-columns: 1.03fr 0.97fr;
}

.story-photo {
  min-height: 0;
  align-self: center;
  margin: 0;
}

.story-photo picture,
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.story-photo img {
  object-fit: contain;
  object-position: center;
}

.story-copy {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 3vw, 2.625rem) clamp(1.75rem, 2.8vw, 2.375rem) clamp(1.75rem, 2.5vw, 2.125rem) clamp(2rem, 3vw, 2.625rem);
  background: rgba(255, 255, 255, 0.7);
}

.story-copy h2 {
  margin-bottom: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.story-copy .gold-rule {
  margin-bottom: 1.75rem;
}

.story-copy .story-lead {
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.85;
}

.story-body p {
  max-height: none;
  margin-bottom: 0.8em;
  font-size: 0.88rem;
  letter-spacing: 0.025em;
  line-height: 1.95;
  writing-mode: horizontal-tb;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-leaf {
  display: none;
}

/* Results */
.results {
  min-height: 0;
  overflow: hidden;
  padding-block: var(--section-space-lg) clamp(3.5rem, 5.6vw, 4.75rem);
  background: var(--paper);
}

.results-leaf {
  top: -3.625rem;
  right: -1.0625rem;
  width: 11.25rem;
  transform: rotate(-17deg);
}

.results-viewer {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.625rem, 2.5vw, 2.125rem);
}

.results-tabs {
  display: flex;
  gap: 3.125rem;
  border-bottom: 1px solid rgba(177, 139, 67, 0.55);
}

.results-tabs button {
  position: relative;
  padding: 0 0 0.8125rem;
  border: 0;
  background: transparent;
  color: #555a54;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.results-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -0.125rem;
  left: 0;
  height: 0.1875rem;
  transform: scaleX(0);
  background: var(--deep-sage);
  content: "";
}

.results-tabs button[aria-selected="true"] {
  color: var(--deep-sage);
}

.results-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.results-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(16rem, 21vw, 19rem);
  gap: clamp(1.25rem, 2vw, 1.625rem);
  padding-top: clamp(1.375rem, 2.2vw, 1.875rem);
}

.result-panel,
.before-after {
  height: auto;
}

.before-after {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.75rem;
}

.result-photo {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
}

.result-photo figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--deep-sage);
  font-family: Georgia, var(--serif);
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  line-height: 1.5;
}


.results .before-after img {
  width: 100%;
  height: auto;
  /* Files are individually cropped to 4:3 around the treated area; no further browser crop. */
  aspect-ratio: 4 / 3;
  max-height: none;
  border: 0;
  outline: none;
  object-fit: contain;
  object-position: center;
}

.results-info {
  padding-top: 0.875rem;
}

.results-notes {
  /* Categories are identified by the tabs; only the shared notes follow the photos. */
  margin: 0;
  padding-left: 1.2em;
  color: #6f736e;
  font-family: var(--serif);
  font-size: 0.76rem;
  line-height: 1.8;
}

/* Visiting care */
.visiting-care {
  min-height: 0;
  overflow: hidden;
  padding-block: var(--section-space-md) clamp(3rem, 4.3vw, 3.625rem);
  background: linear-gradient(115deg, #f5faf5 0%, #e6f1e8 100%);
}

.visiting-grid {
  min-height: 0;
}

/* Heading, then text, above one row of photographs to keep the section short. */
.visiting-copy {
  position: relative;
  display: flex;
  z-index: 2;
  width: 100%;
  align-items: flex-start;
  flex-direction: column;
  gap: clamp(0.875rem, 1.5vw, 1.125rem);
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.visiting-copy .section-title {
  flex-shrink: 0;
  margin: 0;
}

.visiting-copy .section-title h2 {
  font-size: 2.15rem;
}

.visiting-copy p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.9;
}

/* Wrap between phrases, never leaving a lone word on the last line. */
.visiting-copy p span {
  display: inline-block;
}

.visiting-leaf {
  top: clamp(16rem, 23vw, 19.375rem);
  left: 0.25rem;
  transform: rotate(-16deg);
}

.visiting-gallery {
  /* Matching frames keep all three photographs at the same visual size. */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

.visiting-gallery figure {
  width: 100%;
  /* The portrait sources need a square frame to show both faces and hands. */
  aspect-ratio: 1;
  overflow: hidden;
  margin: 0;
}

.visiting-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Crop background first, keeping the practitioner's face and treatment area visible. */
.visiting-gallery figure:nth-child(1) img {
  object-position: 62% 30%;
}

.visiting-gallery figure:nth-child(2) img {
  object-position: center 18%;
}

.visiting-gallery figure:nth-child(3) img {
  object-position: 68% 60%;
}

/* Access */
.access {
  min-height: 58.125rem;
  overflow: hidden;
  padding-block: var(--section-space-lg) clamp(4rem, 6.4vw, 5.375rem);
  background: white;
}

.access-leaf {
  top: -3.375rem;
  right: -1.125rem;
  width: 11.5625rem;
  transform: rotate(-18deg);
}

.access-grid {
  display: grid;
  margin-top: clamp(2.75rem, 4.3vw, 3.625rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(16.25rem, 0.65fr);
  align-items: start;
  gap: clamp(2.5rem, 4.5vw, 3.75rem);
}

.access-photo {
  min-height: clamp(31rem, 43.5vw, 36.5625rem);
  margin: 0;
}

.access-photo img {
  width: 100%;
  height: 100%;
  min-height: clamp(31rem, 43.5vw, 36.5625rem);
  object-fit: cover;
  object-position: left center;
}

.access-info {
  padding-top: 0.875rem;
}

.access-info address {
  margin-bottom: 3.rem;
  font-style: normal;
}

.access-info address strong,
.access-info dt {
  display: block;
  margin-bottom: 0.875rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.access-info address p,
.access-info dd {
  margin-bottom: 0;
  color: #575b56;
}

.access-info dl {
  margin-bottom: 2.625rem;
}

.access-info dl > div {
  margin-bottom: 2.375rem;
}

.access-info dt::after {
  display: block;
  width: 2.125rem;
  height: 1px;
  margin-top: 0.5rem;
  background: var(--gold);
  content: "";
}

.access-reserve {
  display: flex;
  min-height: 3.625rem;
  align-items: center;
  justify-content: center;
  gap: 1.0625rem;
  border: 1px solid var(--gold);
  color: #777055;
  text-decoration: none;
}

.access-reserve span {
  font-size: 1.3rem;
}

/* Footer */
.site-footer {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 1.75rem var(--side-space);
  background: var(--soft-green);
  color: var(--ink);
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, var(--content-width));
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: block;
  width: 8rem;
  flex: 0 0 auto;
  margin: 0;
}

.footer-rule {
  width: min(41.25rem, 80vw);
  height: 1px;
  margin-bottom: 1.875rem;
  background: rgba(177, 139, 67, 0.76);
}

.footer-nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-nav {
  gap: 0.875rem;
  justify-content: flex-end;
  margin: 0;
}

.footer-nav a,
.footer-social a {
  text-decoration: none;
}

.footer-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.footer-nav i,
.footer-social i {
  width: 1px;
  height: 1.0625rem;
  background: rgba(63, 90, 68, 0.4);
}

.footer-social {
  gap: 1rem;
  justify-content: flex-end;
  margin: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.social-icon {
  flex: 0 0 auto;
  width: 1.375rem;
  height: 1.375rem;
}

/* Dark sage marks stay clear against the pale-green home footer. */
.site-footer:not(.site-footer--compact) .social-icon {
  width: 1.625rem;
  height: 1.625rem;
  filter: brightness(0) saturate(100%) invert(31%) sepia(14%) saturate(657%) hue-rotate(81deg) brightness(94%) contrast(90%);
}

.site-footer small {
  /* Keep copyright on its own row after the logo and social links. */
  order: 3;
  flex-basis: 100%;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
}

.footer-leaf {
  position: absolute;
  width: clamp(10rem, 16vw, 13.75rem);
  opacity: 0.2;
}

.footer-leaf--left {
  top: 1.75rem;
  left: -2.25rem;
  transform: rotate(-22deg);
}

.footer-leaf--right {
  right: -1.4375rem;
  bottom: 0;
  transform: scaleX(-1) rotate(-16deg);
}

/* Botanical washes sit behind the content and fade toward the reading area.
   Section clipping lets each stem continue beyond the canvas naturally. */
.visiting-care,
.access {
  isolation: isolate;
}

.visiting-care::before,
.access::before {
  position: absolute;
  z-index: -1;
  width: clamp(12rem, 26vw, 25rem);
  aspect-ratio: 2 / 3;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  content: "";
}

.visiting-care::before {
  left: clamp(-8rem, -8vw, -3rem);
  top: 12%;
  background-image: url("assets/images/lily-bud.png");
  transform: rotate(-23deg);
  -webkit-mask-image: linear-gradient(90deg, #000 5%, rgba(0, 0, 0, 0.7) 48%, transparent 90%);
  mask-image: linear-gradient(90deg, #000 5%, rgba(0, 0, 0, 0.7) 48%, transparent 90%);
}

.access::before {
  right: clamp(-8rem, -8vw, -3rem);
  bottom: -4rem;
  background-image: url("assets/images/lily-leaves.png");
  transform: rotate(18deg);
  -webkit-mask-image: linear-gradient(270deg, #000 5%, rgba(0, 0, 0, 0.7) 48%, transparent 90%);
  mask-image: linear-gradient(270deg, #000 5%, rgba(0, 0, 0, 0.7) 48%, transparent 90%);
}

/* ---------- 4. Menu subpage ---------- */
.subpage {
  background: var(--warm-paper);
}

.menu-page {
  min-height: 70vh;
  padding: 6.25rem var(--side-space);
}

.menu-page__inner {
  width: min(100%, 58.75rem);
  margin-inline: auto;
}

.section-label {
  color: var(--deep-sage);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
}

.menu-page h1 {
  margin-bottom: 1.75rem;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 500;
}

.menu-groups {
  display: grid;
  margin-top: 3.75rem;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.menu-groups section {
  padding: 2.25rem;
}

.menu-groups section + section {
  border-left: 1px solid var(--line);
}

.menu-groups h2 {
  font-weight: 500;
}

.menu-page__contact {
  display: flex;
  margin-top: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
}

.button {
  display: inline-flex;
  min-height: 3.125rem;
  align-items: center;
  justify-content: center;
  padding-inline: 1.5rem;
  border: 1px solid var(--gold);
  color: var(--deep-sage);
  text-decoration: none;
}

.site-footer--compact {
  min-height: 0;
}

.site-footer--compact .footer-logo {
  grid-row: auto;
}

/* Desktop hero keeps the 4:3 portrait at its natural height so the practitioner
   appears at the same pulled-back scale as the approved PC design. */
@media (min-width: 901px) {
  .hero {
    height: calc(100vh - var(--header-height));
    height: min(48.125rem, calc(100svh - var(--header-height)));
    min-height: 38.75rem;
    background: var(--paper);
  }

  .hero-photo img {
    inset: 0 0 0 auto;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    /* Fade the rectangular photo edge without changing the approved overlay gradient. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 7%, rgba(0, 0, 0, 0.58) 22%, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 7%, rgba(0, 0, 0, 0.58) 22%, #000 38%);
  }

  .hero-copy {
    width: auto;
    margin-inline: clamp(4.5rem, 7vw, 6.5rem);
    padding-top: clamp(3.25rem, 8svh, 4.5rem);
  }

  .hero-copy h1 {
    max-width: 42rem;
    white-space: normal;
  }

  /* Keep the floral ornament behind the profile text and away from its baseline. */
  .hero-leaf {
    bottom: -2.875rem;
    left: 0.625rem;
    z-index: 1;
    width: 8.625rem;
    opacity: 0.72;
  }

}

/* ---------- 5. Responsive layouts ---------- */
@media (max-width: 900px) {
  :root {
    --header-height: clamp(4.5rem, 11.2vw, 5.375rem);
    --side-space: clamp(1.5rem, 5vw, 2.375rem);
  }

  .header-inner {
    width: calc(100% - (var(--side-space) * 2));
  }

  .brand {
    width: clamp(9rem, 22.8vw, 10.9375rem);
  }

  .global-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding-inline: var(--side-space);
    background: rgba(255, 255, 253, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: max-height 300ms ease, opacity 200ms ease, padding 200ms ease;
  }

  .global-nav a {
    padding-block: 0.4375rem;
    font-size: 0.95rem;
  }

  .nav-open .global-nav {
    max-height: calc(100vh - var(--header-height));
    padding-block: 1.375rem 1.75rem;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: block;
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(0.4375rem) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-0.4375rem) rotate(-45deg);
  }

  .hero {
    min-height: clamp(34rem, 73vw, 35rem);
  }

  .hero-copy {
    width: calc(100% - (var(--side-space) * 2));
    padding-top: clamp(3.5rem, 10.8vw, 5.1875rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 7vw, 3.65rem);
  }

  .hero-message {
    font-size: 0.9rem;
  }

  .hero-leaf {
    /* Narrow layouts reserve the available space for the profile text. */
    display: none;
  }

  .story {
    min-height: clamp(29rem, 65vw, 31.25rem);
    padding: clamp(1.75rem, 4.4vw, 2.125rem) clamp(1rem, 2.6vw, 1.25rem);
  }

  .story-inner {
    width: 100%;
    min-height: clamp(25rem, 56vw, 26.875rem);
    grid-template-columns: 1.05fr 0.95fr;
  }

  .story-photo {
    min-height: 0;
  }

  .story-copy {
    padding: clamp(1.75rem, 4.4vw, 2.125rem) clamp(1.375rem, 3.65vw, 1.75rem);
  }

  .story-copy p {
    max-height: none;
    font-size: 0.96rem;
    letter-spacing: 0.04em;
    line-height: 1.9;
    writing-mode: horizontal-tb;
  }

  .results {
    min-height: 0;
    padding-block: clamp(4rem, 10.7vw, 5.125rem) clamp(3rem, 7.8vw, 3.75rem);
  }

  .results-stage {
    display: block;
  }

  .before-after {
    min-height: 0;
  }

  .before-after img {
    height: auto;
    max-height: none;
  }

  .results-info {
    display: block;
    margin-top: 1rem;
    padding-top: 0;
  }

  .results-notes {
    margin: 0;
  }

  .visiting-care {
    min-height: 0;
  }

  .visiting-grid {
    min-height: 0;
  }

  .visiting-copy {
    width: 100%;
  }

  .visiting-copy p {
    font-size: 0.86rem;
  }


  .access {
    min-height: clamp(46rem, 103vw, 49.375rem);
    padding-block: clamp(4rem, 10.7vw, 5.125rem) clamp(3rem, 8.3vw, 4rem);
  }

  .access-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
    gap: clamp(2rem, 5.5vw, 2.625rem);
  }

  .access-photo,
  .access-photo img {
    min-height: clamp(28rem, 65vw, 31.25rem);
  }

  .access-info address {
    margin-bottom: 2.rem;
  }

  .access-info dl > div {
    margin-bottom: 1.5625rem;
  }

}

/* Tablet heights mirror the approved 768 px composition. */
@media (min-width: 521px) and (max-width: 900px) {
  .visiting-care {
    min-height: 0;
    padding-block: clamp(2rem, 5.2vw, 2.5rem) clamp(1.5rem, 3.9vw, 1.875rem);
  }


  .visiting-leaf {
    top: clamp(13rem, 32.5vw, 15.625rem);
  }

  .access {
    min-height: clamp(37rem, 84.6vw, 40.625rem);
    padding-block: clamp(2.5rem, 6.8vw, 3.25rem) clamp(2rem, 5vw, 2.375rem);
  }

  .access-grid {
    margin-top: clamp(1.75rem, 4.4vw, 2.125rem);
  }

  .access-photo,
  .access-photo img {
    min-height: clamp(23rem, 54.7vw, 26.25rem);
  }

  .access-info {
    padding-top: 0;
  }

  .access-info address {
    margin-bottom: 1.5625rem;
  }

  .access-info dl {
    margin-bottom: 1.5625rem;
  }

  .access-info dl > div {
    margin-bottom: 1.125rem;
  }

  .access-reserve {
    min-height: 3.0625rem;
    font-size: 0.82rem;
  }

}

@media (max-width: 520px) {
  :root {
    --header-height: clamp(3.5rem, 15.4vw, 3.75rem);
    --side-space: clamp(0.875rem, 4.1vw, 1rem);
  }

  body {
    font-size: 0.875rem;
    line-height: 1.85;
  }

  .header-inner {
    width: calc(100% - clamp(1.5rem, 6vw, 2rem));
    gap: clamp(0.5rem, 2.6vw, 0.75rem);
  }

  .brand {
    width: clamp(6rem, 27vw, 6.5625rem);
  }

  .reserve-link {
    min-height: clamp(1.875rem, 8vw, 1.9375rem);
    padding-inline: clamp(0.625rem, 3vw, 0.75rem);
    font-size: 0.8125rem;
  }

  .menu-toggle {
    width: clamp(2rem, 8.7vw, 2.125rem);
    height: clamp(2rem, 8.7vw, 2.125rem);
    padding: clamp(0.25rem, 1.3vw, 0.3125rem);
  }

  .global-nav {
    padding-inline: clamp(1rem, 5.1vw, 1.25rem);
  }

  .section-title h2 {
    margin-bottom: 0.5rem;
    font-size: 2.05rem;
  }

  .gold-rule {
    width: clamp(1.75rem, 8vw, 1.9375rem);
  }

  /* Mobile reference puts the practitioner photograph before the hero text. */
  .hero {
    min-height: clamp(41rem, 177vw, 43.125rem);
    overflow: hidden;
    background: white;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    height: clamp(21rem, 97vw, 23.625rem);
  }

  .hero-photo img {
    position: static;
    object-position: 53% center;
  }

  .hero-overlay {
    display: none;
  }

  .hero-copy {
    width: calc(100% - (var(--side-space) * 2));
    padding-top: clamp(0.75rem, 3.6vw, 0.875rem);
  }

  .hero-copy h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    letter-spacing: 0.035em;
    line-height: 1.42;
  }

  .hero-copy .gold-rule {
    margin-bottom: 0.75rem;
  }

  .hero-message {
    margin-bottom: 0.75rem;
    font-size: 0.74rem;
    line-height: 1.7;
  }

  .hero-name {
    margin-bottom: 0;
    font-size: 0.8rem;
  }

  .hero-role {
    font-size: 0.66rem;
  }

  .hero-leaf {
    right: -0.4375rem;
    bottom: 0;
    left: auto;
    width: clamp(8rem, 38.5vw, 9.375rem);
    transform: scaleX(-1) rotate(-13deg);
  }

  .story {
    min-height: clamp(38rem, 166.7vw, 40.625rem);
    padding: 0;
  }

  .story-inner {
    display: block;
    min-height: 0;
  }

  .story-photo {
    height: auto;
    min-height: 0;
  }

  .story-photo img {
    object-position: center 55%;
  }

  .story-copy {
    min-height: clamp(16rem, 70.5vw, 17.1875rem);
    padding: clamp(1rem, 5.1vw, 1.25rem) clamp(0.9375rem, 4.9vw, 1.1875rem) clamp(2.25rem, 10.8vw, 2.625rem);
    background: white;
  }

  .story-copy h2 {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }

  .story-copy .gold-rule {
    margin-bottom: 1.rem;
  }

  .story-copy p {
    max-width: 23.4375rem;
    font-size: 0.76rem;
    line-height: 1.9;
  }

  .story-leaf {
    display: block;
    right: -1.5625rem;
    bottom: -0.25rem;
    width: clamp(11rem, 52.6vw, 12.8125rem);
    opacity: 0.32;
    transform: rotate(75deg);
  }

  .results {
    min-height: 0;
    padding-block: clamp(2.5rem, 12.8vw, 3.125rem) clamp(1.75rem, 8.7vw, 2.125rem);
  }

  .results-leaf {
    top: -1.625rem;
    right: -2.8125rem;
    width: clamp(9rem, 42.3vw, 10.3125rem);
  }

  .results-viewer {
    margin-top: 1.625rem;
  }

  .results-tabs {
    gap: 1.75rem;
  }

  .results-tabs button {
    padding-bottom: 0.625rem;
    font-size: 0.82rem;
  }

  .results-stage {
    padding-top: 0.875rem;
  }

  .before-after {
    min-height: 0;
    gap: 0.3125rem;
  }

  .before-after img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .results-info {
    display: block;
    margin-top: 0.5rem;
  }

  .results-notes {
    margin-top: 1rem;
    padding-left: 1em;
    font-size: 0.7rem;
  }

  .visiting-care {
    min-height: 0;
    padding-block: clamp(1.5rem, 7.7vw, 1.875rem) clamp(1rem, 5.6vw, 1.375rem);
  }

  .visiting-copy {
    margin-bottom: 1rem;
  }

  .visiting-copy .section-title h2 {
    font-size: 1.62rem;
  }

  .visiting-copy p {
    font-size: 0.875rem;
    line-height: 1.9;
  }

  .visiting-leaf {
    top: 1.75rem;
    right: -1.5rem;
    left: auto;
    width: clamp(7.25rem, 34.6vw, 8.4375rem);
    transform: rotate(-18deg);
  }

  /* Portrait frames keep faces recognizable in the narrow three-across row. */
  .visiting-gallery figure {
    aspect-ratio: 3 / 4;
  }


  .access {
    min-height: clamp(50rem, 219vw, 53.4375rem);
    padding-block: clamp(2rem, 9.7vw, 2.375rem) clamp(1.25rem, 6.2vw, 1.5rem);
  }

  .access-leaf {
    top: -1.6875rem;
    right: -2.125rem;
    width: clamp(7.5rem, 36.4vw, 8.875rem);
  }

  .access-grid {
    display: block;
    margin-top: 1.625rem;
  }

  .access-photo {
    min-height: 0;
    margin: 0 calc(var(--side-space) * -1) 1.125rem;
  }

  .access-photo img {
    min-height: 0;
    aspect-ratio: 1.32 / 1;
    object-fit: cover;
  }

  .access-info {
    padding: 0 0.1875rem;
  }

  .access-info address {
    margin-bottom: 1.375rem;
  }

  .access-info address strong,
  .access-info dt {
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }

  .access-info address p,
  .access-info dd {
    font-size: 0.8rem;
    line-height: 1.75;
  }

  .access-info dl {
    margin-bottom: 1.1875rem;
  }

  .access-info dl > div {
    margin-bottom: 1.0625rem;
  }

  .access-info dt::after {
    width: 1.625rem;
    margin-top: 0.25rem;
  }

  .access-reserve {
    min-height: 2.6875rem;
    font-size: 0.78rem;
  }

  .site-footer {
    padding: 1rem var(--side-space);
  }

  /* Preserve the same two-row footer on small screens. */
  .footer-inner {
    gap: 0.75rem 1rem;
  }

  .footer-logo {
    width: 6.25rem;
    grid-row: auto;
    margin: 0;
  }

  .footer-rule {
    width: clamp(12.5rem, 59vw, 14.375rem);
    margin-bottom: 1.6875rem;
  }

  .footer-nav {
    max-width: 100%;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
  }

  .footer-nav a {
    font-size: 0.7rem;
  }

  .footer-nav i {
    height: 0.8125rem;
  }

  .footer-social {
    display: flex;
    flex-basis: auto;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
  }

  .footer-social i {
    display: none;
  }

  .footer-social a {
    font-size: 0.72rem;
  }

  .footer-social a span {
    display: none;
  }

  .footer-leaf {
    width: clamp(9rem, 43.6vw, 10.625rem);
  }

  .footer-leaf--left {
    top: 0.9375rem;
    left: -2.5rem;
  }

  .footer-leaf--right {
    right: -2.875rem;
    bottom: -0.625rem;
  }

  .menu-page {
    padding-block: 4.375rem;
  }

  .menu-groups {
    grid-template-columns: 1fr;
  }

  .menu-groups section + section {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .menu-page__contact {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Respect the user's operating-system motion preference. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---------- 6. About and home links (added 2026-11) ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

/* About */
.about {
  padding-block: var(--section-space-lg);
  background: var(--paper);
}

.about-inner {
  text-align: center;
}

.about-label {
  margin: 0 0 0.75rem;
  color: var(--soft-green-deep);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
}

.about-copy h2 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.about-copy p:not(.about-label) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 2;
}

/* Pale-green link band: the lily picture is the band's background on the left,
   faded into the green so the links sit on top of it. Image ratio: 4:3. */
.home-links {
  position: relative;
  overflow: hidden;
  background: var(--soft-green);
}

.home-links::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(52%, 30rem);
  background: url("assets/images/lily-band.webp") center / cover no-repeat;
  content: "";
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
}

.home-links__list {
  position: relative;
  display: flex;
  width: min(58%, 44rem);
  min-height: 15rem;
  margin: 0 0 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.375rem, 6vw, 5rem) clamp(1.25rem, 3vw, 2.25rem) 0;
  flex-direction: column;
  justify-content: center;
  list-style: none;
}

.home-links__list li + li {
  border-top: 1px solid rgba(63, 90, 68, 0.35);
}

.home-links__list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem clamp(0.75rem, 3vw, 2rem);
  padding-block: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.home-links__num {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1;
}

.home-links__text strong {
  display: block;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.home-links__text small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.home-links__arrow {
  font-size: 1.5rem;
  font-weight: 200;
  transition: transform 160ms ease;
}

.home-links__list a:hover .home-links__arrow,
.home-links__list a:focus-visible .home-links__arrow {
  transform: translateX(0.25rem);
}

@media (max-width: 56.25rem) {
  .results-tabs {
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
  }
}

@media (max-width: 40rem) {
  .home-links::before {
    width: 46%;
  }

  .home-links__list {
    width: 75%;
    min-height: 13rem;
    padding-right: var(--side-space);
  }

  .home-links__list a {
    gap: 0.5rem 0.625rem;
    padding-block: 1rem;
  }

  .home-links__text strong {
    font-size: clamp(0.7rem, 3.2vw, 0.9rem);
    white-space: nowrap;
  }

  .home-links__text small {
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .home-links__arrow {
    font-size: 1.1rem;
  }
}

.mobile-only-break { display: none; }

@media (max-width: 40rem) {
  .mobile-only-break { display: initial; }
  .about-copy p:not(.about-label) { font-size: 0.78rem; }
}


/* Longer approved copy may wrap without clipping the hero or about section. */
.hero-role { line-height: 1.6; }
.about-copy p.about-text + p.about-text { margin-top: 1rem; }
