/* Medicinal Movement. Redesign of 15 November 2026, 1970s pass, third cut.
   Built around her groovy script logo. Headlines in one face, Caprasimo, a Cooper-style 1970s display cut;
   reading text in Roboto Flex. Cream paper, the wine of the logo, burnt orange and marigold in stripes.
   One grid: text on the left edge, pictures and tables in one right-hand column, so every section lines up.
   Photos sit in arch-topped frames. No scripts. One piece of motion: the three words glide in on Home and Services. */

@font-face {
  font-family: "Caprasimo";
  src: url(/assets/fonts/caprasimo-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Flex";
  src: url(/assets/fonts/roboto-flex-latin-standard-normal.woff2) format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-style: oblique 0deg 10deg;
  font-display: swap;
}

:root {
  --page: #f5ead6;        /* warm cream, the paper of a 1970s poster */
  --paper: #fcf6ea;       /* the lighter band and the panels */
  --shade: #f1e2c6;       /* the darker stripe in a price table */
  --ink: #2b1a14;         /* text: brown-black */
  --ink-2: #5a4136;       /* quieter text */
  --maroon: #611414;      /* the wine of her logo: headlines and buttons */
  --wine-press: #4a0d0d;
  --orange: #d9622b;      /* burnt orange: stripes and one pillar, never small text */
  --mustard: #e8ad35;     /* marigold */
  --display: "Caprasimo", "Cooper Black", Georgia, serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 76rem;
  --band: clamp(3.5rem, 7vw, 6rem);
  --side: 25rem;                         /* the right-hand column */
  --gap: clamp(2rem, 6vw, 6rem);         /* between the side and main columns */
  --r: 1.25rem;
  --ring: 0.7rem;                        /* one stripe of an arch */
  color-scheme: light only;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Roboto Flex", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 380;
  font-stretch: 106%;
  font-optical-sizing: auto;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--mustard); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.lead { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.4rem); line-height: 1.5; }

.skip { position: absolute; left: var(--gutter); top: -10rem; z-index: 20; background: var(--paper); padding: 0.75rem 1rem; }
.skip:focus { top: 0.5rem; }
.ribbon { background: var(--ink); color: var(--paper); text-align: center; font-size: 0.85rem; padding: 0.4rem var(--gutter); }
.ribbon p { margin: 0; }
mark.ph { background: #fff3a0; color: var(--ink); }

/* ---------- header, closed by a three-stripe line ---------- */
.site-header::after { content: ""; display: block; height: 0.6rem; background: linear-gradient(var(--mustard) 0 33.4%, var(--orange) 0 66.7%, var(--maroon) 0); }
.header-row { position: relative; display: flex; align-items: center; gap: 2rem; padding-block: 0.9rem; }
.brand { display: inline-flex; align-items: center; margin-right: auto; min-height: 2.75rem; text-decoration: none; }
.brand-logo { height: 4.1rem; width: auto; }
.nav-main ul { display: flex; gap: 1.75rem; }
.nav-main a, .mobile-list a { text-decoration: none; font-size: 1rem; display: inline-flex; align-items: center; min-height: 2.75rem; }
.nav-main a { text-underline-offset: 0.5em; text-decoration-thickness: 0.18em; }
.nav-main a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 0.18em; }
.nav-main a[aria-current="page"] { font-weight: 700; color: var(--maroon); text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 0.18em; }
.mobile-list a[aria-current="page"] { font-weight: 700; color: var(--maroon); }

/* Buttons sit on a hard shadow, like a moulded 1970s switch, and press down when used. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.8rem 1.75rem; border-radius: 999px;
  background: var(--maroon); color: var(--paper); text-decoration: none;
  font-size: 1.05rem; font-weight: 600; line-height: 1.2;
  box-shadow: 0 0.25rem 0 var(--wine-press); transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(0.0625rem); box-shadow: 0 0.1875rem 0 var(--wine-press); }
.btn:active { transform: translateY(0.25rem); box-shadow: 0 0 0 var(--wine-press); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.btn-head { min-height: 2.75rem; padding: 0.6rem 1.35rem; font-size: 1rem; }
.act { margin: 1.75rem 0 0; }

.nav-mobile { display: none; }
.nav-mobile summary {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.25rem;
  border: 1.5px solid var(--maroon); color: var(--maroon); font-weight: 600; border-radius: 999px; cursor: pointer; list-style: none; font-size: 1rem;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--maroon); color: var(--paper); }
.nav-mobile nav {
  position: absolute; right: 0; top: calc(100% - 0.25rem); z-index: 10; min-width: 16rem;
  padding: 0.75rem 1.25rem 1.5rem; background: var(--paper); border-radius: var(--r);
  box-shadow: 0 1rem 2.5rem rgb(43 26 20 / 0.22);
}
.mobile-list a { display: flex; font-size: 1.15rem; }
.mobile-book { margin: 0.75rem 0 0; }
.mobile-book .btn { width: 100%; }
@media (max-width: 940px) {
  .nav-main, .header-row > .btn-head { display: none; }
  .nav-mobile { display: block; }
}

/* ---------- type ---------- */
.h-display { color: var(--maroon); font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.1; letter-spacing: -0.005em; text-wrap: balance; }
.h-page { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.1rem); line-height: 1.05; }
.trio { color: var(--maroon); font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: -0.01em; font-size: clamp(2.7rem, 0.6rem + 7vw, 6.2rem); }
.trio .w { display: block; }
main a:not(.btn) { text-decoration-color: var(--mustard); text-decoration-thickness: 0.14em; text-underline-offset: 0.22em; }
main a:not(.btn):hover { text-decoration-color: var(--orange); text-decoration-thickness: 0.2em; }

/* ---------- bands and the one grid ---------- */
/* Two edges run down every page: text starts on the left one; photos, tables and asides share the right-hand column. */
.band { padding-block: var(--band); }
.page-top { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--side)); column-gap: var(--gap); align-items: center; }
.grid-top { align-items: start; }
.grid .lead, .grid > div > p { max-width: 36rem; }
.h-display + .lead, .h-display + p { margin-top: 1.1rem; }

/* Photos sit in a complete arch-topped frame, ringed with one or three stripes. */
.arch { display: block; object-fit: cover; border-radius: 999px 999px 1.25rem 1.25rem; width: calc(100% - 2 * var(--ring)); margin: var(--ring);
  box-shadow: 0 0 0 var(--ring) var(--mustard); }
.arch-3 { width: calc(100% - 6 * var(--ring)); margin: calc(var(--ring) * 3);
  box-shadow: 0 0 0 var(--ring) var(--mustard), 0 0 0 calc(var(--ring) * 2) var(--orange), 0 0 0 calc(var(--ring) * 3) var(--maroon); }

/* Every block is closed by the same thin three-stripe band that runs under the header. */
.stripe { height: 0.6rem; background: linear-gradient(var(--mustard) 0 33.4%, var(--orange) 0 66.7%, var(--maroon) 0); }
main:has(.hero) .band { background: var(--paper); }
.hero + .stripe + .band, .band + .stripe + .band { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- home ---------- */
.hero { padding-block: clamp(2rem, 4vw, 3.5rem); }
.hero-sub { margin: 1.4rem 0 0; font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem); font-weight: 500; max-width: 30ch; line-height: 1.3; }
.hero-photo { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.intro-photo { aspect-ratio: 4 / 5; object-position: 50% 62%; }
.meet-more { display: grid; gap: 1.1rem; font-size: 1.05rem; padding-top: 0.5rem; }
.meet-more p { margin: 0; }

/* One piece of motion, on Home and on Services: the three words glide in from the left, one after another, like a skater crossing the floor. */
@media (prefers-reduced-motion: no-preference) {
  .trio .w { animation: glide 0.9s cubic-bezier(.2,.75,.2,1) both; }
  .trio .w:nth-child(2) { animation-delay: 0.22s; }
  .trio .w:nth-child(3) { animation-delay: 0.44s; }
}
@keyframes glide { from { opacity: 0; transform: translateX(-1.2em); } }

/* ---------- price tables: one panel, compact rows, home and Services alike ---------- */
.cards.cards, .svc-list.svc-list { border-radius: var(--r); overflow: hidden; background: var(--page); }
.card, .svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; row-gap: 0.15rem; align-items: baseline; padding: 0.95rem 1.4rem; }
.card:nth-child(even), .svc:nth-child(odd) { background: var(--shade); }
.card-name, .svc-name { grid-column: 1; grid-row: 1; font-size: 1.1rem; font-weight: 650; line-height: 1.25; }
.card-name a { text-decoration: none; }
.card-name a:hover { text-decoration: underline; }
.card-price, .svc-price { grid-column: 2; grid-row: 1; margin: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.1; color: var(--maroon); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card > p:not(.card-price), .svc-desc { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 1rem; color: var(--ink-2); max-width: 44ch; }
.svc.svc:first-child { background: var(--maroon); color: var(--paper); padding-block: 1.25rem; }
.svc:first-child .svc-price { color: var(--mustard); font-size: 1.6rem; }
.svc:first-child .svc-desc { color: var(--paper); }
.h-prices + .act { margin-top: 1.5rem; }

/* ---------- about: the three pillars as three tall ovals, held in one panel under their heading ---------- */
.about-head { max-width: 46rem; }
.panel-pillars { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--paper); border-radius: 2rem; padding: clamp(1.75rem, 4vw, 3.25rem); }
.pillars-label { margin: 0 0 1.75rem; text-align: center; font-family: var(--display); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.1; color: var(--maroon); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pillar { margin: 0; border-radius: 999px; padding: 4.5rem clamp(1.5rem, 2.6vw, 2.5rem); min-height: 28rem; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 8rem; text-align: center; font-size: 1.1rem; line-height: 1.5; }
.pillar strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 0.9rem + 2.2vw, 2.6rem); line-height: 1; margin-bottom: 1.1rem; }
.pillar:nth-child(1) { background: var(--maroon); color: var(--paper); }
.pillar:nth-child(2) { background: var(--orange); color: var(--ink); }
.pillar:nth-child(3) { background: var(--mustard); color: var(--ink); }

/* ---------- the marigold band that closes About and Services ---------- */
.band-green { background: var(--mustard); color: var(--ink); }
.band-green .h-display + p { margin-top: 1rem; }
.band-green a:not(.btn), .band-green a:not(.btn):hover { text-decoration-color: var(--maroon); }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.reach-lines { font-size: clamp(1rem, 4.2vw, 1.7rem); font-weight: 600; line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.reach-lines a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ---------- services: words on the left, the table on the right ---------- */
.svc-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: var(--gap); align-items: start; }
.svc-words .trio { font-size: clamp(1.35rem, 1rem + 1.1vw, 1.8rem); line-height: 1.2; margin-top: 0.6rem; letter-spacing: 0; }
.svc-words .trio .w { display: inline-block; }
.svc-words .lead { margin-top: 1.4rem; }

/* ---------- appointments and contact: one panel holds everything ---------- */
.panel { background: var(--paper); border-radius: 2rem; padding: clamp(1.75rem, 4.5vw, 4rem); }
.panel .lead { margin-top: 1.1rem; max-width: 34rem; }
/* Appointments: the anatomy drawing lies under the whole panel, washed with cream so the words ride over it. */
.panel-photo { background: linear-gradient(90deg, rgb(252 246 234 / 0.96) 0%, rgb(252 246 234 / 0.9) 42%, rgb(250 240 220 / 0.5) 100%), url(images/hero-1600.jpg) 62% 50% / cover no-repeat; min-height: 34rem; display: flex; align-items: center; }
.offer { margin-top: 2rem; background: var(--maroon); color: var(--paper); border-radius: var(--r); padding: 1.5rem 1.6rem 1.75rem; max-width: 34rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; align-items: baseline; }
.offer .card-name { font-size: 1.2rem; }
.offer .card-price { color: var(--mustard); font-size: 1.7rem; }
.offer > p:not(.card-price):not(.act) { grid-column: 1 / -1; grid-row: 2; margin: 0.6rem 0 0; color: var(--paper); max-width: none; font-size: 1.05rem; }
.offer .act { grid-column: 1 / -1; grid-row: 3; margin-top: 1.25rem; }
.offer .btn { background: var(--mustard); color: var(--ink); box-shadow: 0 0.25rem 0 #b9841c; }
.offer .btn:hover { box-shadow: 0 0.1875rem 0 #b9841c; }
.offer .btn:active { box-shadow: 0 0 0 #b9841c; }
/* Contact: words on the left edge; her portrait in the right-hand column with her credentials beneath it. */
.contact .reach { margin-top: 2rem; }
.portrait-fig { margin: 0; text-align: center; }
.portrait { width: calc(100% - 6 * var(--ring)); margin: calc(var(--ring) * 3); aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--page);
  box-shadow: 0 0 0 var(--ring) var(--mustard), 0 0 0 calc(var(--ring) * 2) var(--orange), 0 0 0 calc(var(--ring) * 3) var(--maroon); }
.portrait-fig figcaption { margin: 0.9rem auto 0; max-width: 21rem; text-wrap: balance; font-size: 1.05rem; line-height: 1.45; color: var(--ink-2); }

.links-404.links-404 { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 1.5rem; }
.links-404 a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.15rem; }

.byline { padding-block: 1.75rem 2rem; font-size: 0.9rem; color: var(--ink-2); }
.byline p { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--maroon); color: var(--paper); font-size: 1rem; padding-block: calc(clamp(2.5rem, 5vw, 4rem) + 0.8rem) clamp(2.5rem, 5vw, 4rem); box-shadow: inset 0 0.4rem 0 var(--mustard), inset 0 0.8rem 0 var(--orange); }
.site-footer a:focus-visible { outline-color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; align-items: baseline; }
.foot-big { font-family: var(--display); font-size: clamp(1.2rem, 0.9rem + 1.2vw, 1.7rem); font-weight: 400; line-height: 1.2; margin: 0 0 1rem; }
.foot-mail { text-align: right; overflow-wrap: anywhere; font-size: clamp(1rem, 4.2vw, 1.7rem); }
.foot-mail a, .foot-tel a { text-decoration: none; }
.foot-mail a:hover, .foot-tel a:hover { text-decoration: underline; }
.foot-small { grid-column: 1; margin: 0; }
.foot-tel a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ---------- narrower screens ---------- */
@media (max-width: 900px) {
  :root { --ring: 0.55rem; }
  .grid, .split, .svc-page { grid-template-columns: 1fr; row-gap: 2rem; }
  .hero-photo, .intro-photo { max-width: 21rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; border-radius: 4rem; padding: 2.5rem 1.75rem; }
  .panel, .panel-pillars { border-radius: 1.5rem; }
  .panel-photo { min-height: 0; background: linear-gradient(rgb(252 246 234 / 0.93), rgb(252 246 234 / 0.86)), url(images/hero-800.jpg) 60% 50% / cover no-repeat; }
  .offer { display: block; }
  .offer .card-price { margin-top: 0.3rem; }
  .portrait-fig { max-width: 17rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-mail { text-align: left; }
}
