/* ==========================================================================
   Conscious Birth Manila — shared styles
   Fonts, design tokens, base typography, layout frame, sections, buttons,
   cards, header/nav, inquiry form, footer, sticky CTA and the reusable
   content components. Page-specific styles live in /assets/css/pages/<page>.css
   and should only use the tokens and classes defined here (see the
   "Type & spacing system" notes below and README → Typography).
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL; licences in /assets/fonts/OFL-*.txt) ----------
   Fraunces: variable (opsz 9–144, wght 300–500, SOFT 0–100), upright + italic.
   Inter Tight: variable (wght 400–600), upright only (no body text is italic).
   Latin + Latin Extended subsets: the browser only downloads the -latin-ext
   file when a page uses one of its characters.                                 */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/intertight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/intertight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Metric-matched fallbacks: while the web fonts load (font-display: swap) the
   text is drawn in a local Times/Arial scaled to the same width and height, so
   the swap does not reflow headings or paragraphs. Values measured with
   fontTools against Liberation Serif/Sans (metric clones of Times New Roman/Arial):
   Inter Tight 400 (width checked in Chrome on the site's own text); Fraunces 300
   at opsz 144 (B1, the only Fraunces cut in use; the italic face reuses the
   upright metrics). */
@font-face {
  font-family: "Inter Tight Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"), local("Arimo");
  size-adjust: 96.07%; ascent-override: 100.84%; descent-override: 25.11%; line-gap-override: 0%;
}
/* The Inter Tight latin file has no ← → (U+2190, U+2192), so the arrows in buttons
   and links always come from this local face. Keep them at the size they had
   before the switch (Arial at 106.99%, ascent/descent matched to Inter Tight)
   instead of shrinking them with the 96.07% text factor above. */
@font-face {
  font-family: "Inter Tight Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"), local("Arimo");
  unicode-range: U+2190, U+2192;
  size-adjust: 106.99%; ascent-override: 90.55%; descent-override: 22.54%; line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Display Fallback"; font-style: normal;
  src: local("Times New Roman"), local("Times"), local("Liberation Serif"), local("Tinos");
  size-adjust: 89.71%; ascent-override: 109.02%; descent-override: 28.43%; line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Display Fallback"; font-style: italic;
  src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Times-Italic"), local("Liberation Serif Italic"), local("Tinos Italic");
  size-adjust: 89.71%; ascent-override: 109.02%; descent-override: 28.43%; line-gap-override: 0%;
}

:root {
  /* Brand palette (from the original Duda theme) */
  --purple: #783588;        /* color_1 — body text, links, buttons (7.9:1 on white) */
  --plum: #4d2059;          /* heading ink: deep plum for the thin Fraunces headings (12.6:1 on white) */
  --mauve: #92619b;         /* color_2 — decorative only (wordmark, borders); 4.8:1 on white */
  --sienna: #a0522d;        /* color_3 */
  --butter: #f2f7bd;        /* color_4 — the butter circle on photos, chips */
  --orchid: #a56e9d;        /* color_5 */
  --blush: #eeaeb3;         /* color_7 — pills, accents */
  --lemon: #fffdb5;
  --lavender: #e7d6ea;      /* card borders, rules */
  --white: #ffffff;
  --ink: #3a2342;           /* typed form text */
  --error: #62287a;         /* form labels, help and error text (8.7:1 on the form card) */

  --frame-gradient: linear-gradient(90deg, #92619b 0%, #c9a0b4 35%, #ecdcc0 70%, #fdfcb9 100%);
  --soft-yellow-gradient: linear-gradient(180deg, #fffdb5 0%, #fffff0 100%);
  --tint-gradient: linear-gradient(180deg, #fbeff0 0%, #fffdf0 100%);   /* quote / closing cards */
  --form-card: #fcecee;

  /* ---- Type: roles ---- */
  --font-display: "Fraunces", "Fraunces Display Fallback", Georgia, serif; /* headings, accents, quotes (B1 only; fallback sized for the B1 cut) */
  --font-display-lg: var(--font-display);  /* legacy name */
  --font-text: "Inter Tight", "Inter Tight Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* body, UI, buttons, labels, nav, form */
  /* Fraunces "B1" cut (owner rule): the ONLY way Fraunces is ever set, upright or italic.
     Light 300, opsz 144, SOFT 50, letter-spacing -0.025em. Never weight 400+, never another
     optical size or SOFT value, never normal tracking. Nothing in Fraunces below 24px (thin
     strokes): smaller titles, labels, names and numbers use --font-text 600 instead. */
  --fw-display: 300;
  --display-axes: "opsz" 144, "SOFT" 50;
  --ls-display: -0.025em;
  /* Legacy names (still used by page CSS until each page migrates; do not use in new code) */
  --font-sans: var(--font-text);
  --font-ui: var(--font-text);
  --font-serif: var(--font-display);

  /* ---- Type: fluid scale (phone 390px → laptop 1440px) ---- */
  --fs-h1: clamp(40px, 4.19vw + 23.7px, 84px);    /* page title / hero display   40 → 84 */
  --fs-display: var(--fs-h1);
  --fs-h2: clamp(30px, 1.9vw + 22.6px, 50px);     /* section heading             30 → 50 */
  --fs-h3: clamp(26px, 0.381vw + 24.51px, 30px);  /* sub-heading                 26 → 30 */
  --fs-h4: 24px;                                  /* card title (Fraunces floor) 24 */
  --fs-lead: clamp(19px, 0.29vw + 17.9px, 22px);  /* intro paragraph             19 → 22 */
  --fs-body: clamp(17px, 0.1vw + 16.6px, 18px);   /* paragraphs                  17 → 18 */
  --fs-prose: clamp(18px, 0.1vw + 17.6px, 19px);  /* blog article text           18 → 19 */
  --fs-quote: 24px;                               /* Fraunces italic quotes      24 */
  --fs-ui: clamp(16px, 0.1vw + 15.6px, 17px);     /* buttons, nav, labels        16 → 17 */
  --fs-small: 16px;                               /* meta, captions, notes (never smaller) */
  --fs-eyebrow: 16px;                             /* small capitals label above a heading */

  --lh-h1: 1.04; --lh-h2: 1.1; --lh-h3: 1.2; --lh-h4: 1.25;
  --lh-lead: 1.5; --lh-body: 1.6; --lh-prose: 1.72; --lh-ui: 1.25;
  --ls-eyebrow: 0.08em;

  /* ---- Line length ---- */
  --measure: 65ch;          /* paragraphs */
  --measure-lead: 52ch;     /* intro paragraphs */
  --measure-wide: 68ch;     /* FAQ answers */
  --measure-note: 60ch;     /* small notes */
  --measure-heading: 22ch;  /* H1/H2 wrap width (set on the heading, in its own ch) */

  /* ---- Spacing scale (4/8 based) ---- */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;

  --section-y: clamp(56px, 8vw, 120px);              /* top/bottom padding of every section */
  --gap-eyebrow: var(--space-3);                     /* eyebrow → heading           12 */
  --gap-heading: clamp(16px, 1.5vw, 24px);           /* heading → first paragraph   16 → 24 */
  --gap-actions: clamp(24px, 2.4vw, 32px);           /* last paragraph → buttons    24 → 32 */
  --gap-head-content: clamp(32px, 4vw, 56px);        /* section head → cards/grid   32 → 56 */
  --gap-cards: clamp(16px, 2vw, 24px);               /* between cards               16 → 24 */
  --card-pad: clamp(24px, 2.6vw, 36px);              /* card padding                24 → 36 */

  /* ---- Layout ---- */
  --container: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-field: 10px;
  --section-pad: var(--section-y);                   /* legacy name */
  --sticky-h: 0px;                                   /* height of the phone sticky bar (set below) */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--purple);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, blockquote, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
ol { margin: 0; }
strong, b { font-weight: 600; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
/* Keeps a number range such as "24–48" on one line */
.nowrap { white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--butter); color: var(--purple); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* ==========================================================================
   Type & spacing system
   One font per role: Fraunces for headings/accents/quotes, Inter Tight for
   everything else. Headings are deep plum; text is purple. Elements carry
   the styles, so a bare <h2> already looks right; the .h1–.h4 classes give
   another element (or a differently ranked heading) the same look.
   ========================================================================== */
/* Every Fraunces element uses the one approved "B1" cut (see :root): Light 300,
   opsz 144, SOFT 50, -0.025em, upright or italic, never below 24px. A component
   that sets Fraunces gives these four declarations (or the .ff-display class). */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, .ff-display {
  font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display);
  color: var(--plum);
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2, .h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h4, .h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
h5, h6, .label {
  font-family: var(--font-text); font-weight: 600; font-size: var(--fs-ui); line-height: var(--lh-ui);
  letter-spacing: 0; color: var(--purple);
}
/* Italic words inside a heading keep the heading's cut */
:is(h1, h2, h3, h4) em { font-style: italic; }

/* No one-word last lines: paragraphs, list items, FAQ questions, captions */
p, li, dd, summary, figcaption { text-wrap: pretty; }
.lead {
  font-family: var(--font-text); font-weight: 400;
  font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: 0;
  max-width: var(--measure-lead);
}
.body { font-size: var(--fs-body); line-height: var(--lh-body); }
.small, .meta { font-size: var(--fs-small); line-height: 1.5; letter-spacing: 0; }
.eyebrow {
  font-family: var(--font-text); font-weight: 600;
  font-size: var(--fs-eyebrow); line-height: 1.3;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--purple);
}
/* Accent: Fraunces italic, for quotes and at most one short accent line per section */
.accent, .serif-italic, .h-serif {
  font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display);
  font-style: italic;
  line-height: 1.3;
  color: var(--plum);
}
:is(h1, h2).serif-italic, :is(h1, h2).h-serif, :is(h1, h2).accent,
.serif-italic.h-xl, .serif-italic.h-lg, .h-serif.h-xl, .h-serif.h-lg { line-height: var(--lh-h2); }
blockquote, .quote {
  font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display); font-style: italic;
  font-size: var(--fs-quote); line-height: 1.45;
}
/* Legacy size helpers mapped onto the scale */
.display { font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display); line-height: var(--lh-h1); font-size: var(--fs-h1); color: var(--plum); }
.h-xl { font-size: var(--fs-h1); }
.h-lg { font-size: var(--fs-h2); }
.h-md { font-size: var(--fs-h3); }
.h-sm { font-size: var(--fs-h4); }
.center { text-align: center; }

/* Line length */
.measure { max-width: var(--measure); }
.measure-lead { max-width: var(--measure-lead); }
.measure-wide { max-width: var(--measure-wide); }
.measure-note { max-width: var(--measure-note); }
.center .measure, .center .measure-lead, .center .measure-wide, .center .measure-note,
.center .lead { margin-inline: auto; }

/* Vertical rhythm: paragraphs and blocks inside .flow get 1em between them */
.flow > * + * { margin-top: var(--flow-space, 1em); }
.flow > :is(h2, h3, h4) { margin-top: var(--space-6); }
.flow > :is(h2, h3, h4) + * { margin-top: var(--gap-heading); }

/* Lists with dots (in text; the reset removes bullets everywhere else) */
.bullets { display: grid; gap: var(--space-2); }
.bullets li { position: relative; padding-left: 24px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--blush); box-shadow: 0 0 0 3px #fbe3e5; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* Sections: one padding for every section; tint variants for alternating bands */
.section { padding-block: var(--section-y); }
.section--lemon { background: var(--soft-yellow-gradient); }
.section--tint { background: var(--tint-gradient); }
.section--lavender { background: #f8f1f9; }

/* Section head: [eyebrow] → heading → [lead]; then the content */
.section-head { max-width: 56rem; }
.section-head > .eyebrow + * { margin-top: var(--gap-eyebrow); }
.section-head > :is(h1, h2, h3, .h1, .h2, .h3) + * { margin-top: var(--gap-heading); }
.section-head > p + p { margin-top: 1em; }
.section-head > :is(h2, .h2) { max-width: var(--measure-heading); }
.section-head + * { margin-top: var(--gap-head-content); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center > * { margin-inline: auto; }
/* .section--join: a section that follows one with the same background drops its top
   padding, so the gap between them is one --section-y instead of two. */
.section--join { padding-top: 0; }
/* .panel: inset rounded band inside a section (lemon, floral…); the page sets the
   background. .panel--cards pads it like a card group instead of a section. */
.panel {
  margin-inline: clamp(16px, 2vw, 28px);
  border-radius: var(--radius-lg); overflow: hidden;
  padding-block: var(--section-y);
}
.panel--cards { padding: clamp(24px, 5vw, 72px) clamp(16px, 3vw, 48px); }
:is(.section-head, .container) + .panel { margin-top: var(--gap-head-content); }

/* Actions row: buttons after text */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-top: var(--gap-actions); }
.actions--center { justify-content: center; }
@media (max-width: 600px) {
  .actions--stack { flex-direction: column; align-items: stretch; }
}

/* Hero "frame": gradient band with a rounded media card inside */
.hero-frame {
  background: var(--frame-gradient);
  padding: 28px 28px;
}
.hero-card {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: min(860px, 92vh);
  display: flex;
  flex-direction: column;
  padding: 44px clamp(20px, 3vw, 44px) clamp(28px, 4vw, 64px);
  background: #9bbde0;
  color: var(--purple);
}
.hero-card > .hero-media,
.hero-card > .hero-media img,
.hero-card > .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
}
.hero-body { margin-top: auto; }

/* Opt-in scrims: a soft gradient between the hero media and the text.
   .hero-card--scrim        dark wash from the bottom, for light (butter/white) hero text
   .hero-card--scrim-light  pale haze from the bottom, for purple hero text          */
.hero-card--scrim::after,
.hero-card--scrim-light::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(58,35,66,.62) 0%, rgba(58,35,66,.34) 38%, rgba(58,35,66,0) 72%);
}
.hero-card--scrim-light::after {
  background: linear-gradient(0deg, rgba(255,253,245,.78) 0%, rgba(255,253,245,.45) 40%, rgba(255,253,245,0) 75%);
}
/* Headings on a dark scrim or photo: white/butter instead of plum */
.on-dark, .on-dark :is(h1, h2, h3, h4, .eyebrow, .lead, p) { color: var(--white); }
@media (max-width: 760px) {
  .hero-frame { padding: 16px; }
  /* the sticky contact bar covers the bottom of the screen from page load */
  .hero-card { min-height: min(860px, calc(92svh - var(--sticky-h))); }
}

/* ---------- Buttons ----------
   One solid .btn-primary per block (normally "Send an inquiry" / "Send My Inquiry");
   everything else is .btn-secondary (outline) or .link-cta (text link).
   The butter .btn-circle is only for use on top of photos.                    */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-text); font-weight: 500; font-size: var(--fs-ui); line-height: var(--lh-ui);
  letter-spacing: 0; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.btn-primary { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-primary:hover { background: #652c73; border-color: #652c73; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-secondary:hover { background: rgba(120,53,136,.08); }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 18px; }
.btn--block { display: flex; width: 100%; }
@media (max-width: 600px) { .btn--block-phone { display: flex; width: 100%; } }
/* on photos / dark scrims */
.btn--on-dark.btn-primary { background: var(--white); color: var(--purple); border-color: var(--white); }
.btn--on-dark.btn-primary:hover { background: var(--butter); border-color: var(--butter); }
.btn--on-dark.btn-secondary { color: var(--white); border-color: var(--white); }
.btn--on-dark.btn-secondary:hover { background: rgba(255,255,255,.14); }
.btn--on-dark:focus-visible { outline-color: var(--white); }
/* Inside a photo hero the focus ring must show on dark photo areas and on the
   white nav pill alike: a white outline around a thin plum ring. */
.hero-card :focus-visible { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 2px var(--plum); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* Text link CTA: purple, underlined, tap area 44px tall */
.link-cta {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-family: var(--font-text); font-weight: 500; font-size: var(--fs-ui); line-height: var(--lh-ui);
  color: var(--purple);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.link-cta:hover { text-decoration-thickness: 2px; }

.btn-circle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(150px, 14vw, 200px); aspect-ratio: 1; border-radius: 50%;
  background: var(--butter); color: var(--purple);
  text-align: center; text-decoration: none;
  font-family: var(--font-text); font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2;
  padding: 16px; border: 0; cursor: pointer;
  transition: transform .25s ease, background-color .25s ease;
}
.btn-circle:hover { transform: scale(1.04); background: #fbffc9; }
/* Legacy pill classes, sized like .btn (prefer .btn + .btn-primary / .btn-secondary) */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--butter); color: var(--purple);
  font-family: var(--font-text); font-weight: 500; font-size: var(--fs-ui); line-height: var(--lh-ui);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn-pill:hover { background: #fbffc9; transform: translateY(-1px); }
.btn-pill--outline { background: transparent; border-color: currentColor; }
.btn-pill--outline:hover { background: rgba(120,53,136,.08); }
.btn-pill--purple { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-pill--purple:hover { background: #652c73; border-color: #652c73; }

/* ---------- Cards ----------
   .card (white, lavender border) / .card--tint (blush → ivory) / .card--butter.
   Inside: .card__eyebrow? → .card__title (H4 look) → text → .card__actions (pinned to the bottom). */
.card {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--card-pad);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--lavender);
  color: var(--purple);
}
.card--tint { background: var(--tint-gradient); border-color: transparent; }
.card--butter { background: var(--butter); border-color: transparent; }
.card__title {
  font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display);
  font-size: var(--fs-h4); line-height: var(--lh-h4); color: var(--plum);
}
.card__actions { margin-top: auto; padding-top: var(--space-2); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.cards { display: grid; gap: var(--gap-cards); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* ---------- Header / nav ---------- */
.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}
/* Logo: the source file has ~20% transparent margin, so the image is scaled up
   and offset inside .brand to show the mark itself at full size, on a frosted
   card so it stays legible over any hero image or video. */
.brand {
  --brand-w: clamp(112px, 9vw, 128px);          /* visible logo width */
  display: block; flex: none; box-sizing: content-box;
  width: var(--brand-w); aspect-ratio: 413 / 537;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(120,53,136,.12);
  overflow: hidden;
}
.brand img { width: 145.3%; max-width: none; height: auto; margin: -15.7% 0 0 -22.5%; }
.nav-list {
  display: flex; gap: 4px; margin-top: 20px;
  padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.86);            /* 86%: nav text stays ≥ 4.5:1 over any photo */
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(120,53,136,.12);
}
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 16px; border-radius: 999px;
  font-family: var(--font-text); font-weight: 500;
  font-size: var(--fs-ui);
  text-decoration: none;
  color: var(--purple);
  transition: color .2s, background-color .2s;
}
.nav-list a:hover { background: rgba(242,247,189,.9); }
.nav-list a[aria-current="page"] { background: var(--butter); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

.menu-toggle {
  display: none;
  min-width: 48px; min-height: 48px;
  border: 0; padding: 9px; margin-top: 8px; cursor: pointer; color: var(--purple);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(120,53,136,.12);
}
.menu-toggle svg { width: 30px; height: 30px; }

/* Mobile slide-in menu (mirrors the original's "Hello, I'm Irina" panel) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-rows: auto 1fr;
  background: var(--frame-gradient);
  padding: 20px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .35s ease; }
.mobile-menu__inner {
  background: rgba(255,255,255,.92);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__close { background: none; border: 0; font-size: 34px; line-height: 1; color: var(--purple); cursor: pointer; padding: 4px 10px; min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu__intro { display: flex; gap: 16px; align-items: center; }
.mobile-menu__intro img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.mobile-menu__intro .mobile-menu__name { font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display); font-style: italic; font-size: 24px; line-height: 1.2; color: var(--plum); }
.mobile-menu__intro p { font-size: 16px; color: var(--purple); }
.mobile-menu nav a {
  display: block; padding: 6px 0;
  font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display);
  font-size: 36px; line-height: 1.15;
  text-decoration: none; color: var(--plum);
}
.mobile-menu nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.mobile-menu .brand { --brand-w: 72px; padding: 8px; box-shadow: none; }
.mobile-menu__contact { display: grid; gap: 10px; }
.mobile-menu__social { display: flex; gap: 24px; margin-top: auto; }
.mobile-menu__social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--purple); font-family: var(--font-text); font-weight: 500; font-size: 17px; text-underline-offset: 4px; }

/* Contact buttons (mobile menu, contact rows) */
.contact-btn {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--white); color: var(--purple);
  border: 1.5px solid var(--purple);
  font-family: var(--font-text); font-weight: 500; font-size: var(--fs-ui); line-height: 1.25;
  text-decoration: none; overflow-wrap: anywhere;
}
.contact-btn svg { width: 22px; height: 22px; flex: none; }
.contact-btn:hover { background: rgba(120,53,136,.06); }
.contact-btn--wa { background: var(--purple); color: var(--white); border-color: var(--purple); }
.contact-btn--wa:hover { background: #652c73; border-color: #652c73; }

@media (max-width: 900px) {
  .nav-list { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 760px) {
  .brand { --brand-w: 80px; padding: 8px; border-radius: 18px; }
}

/* ---------- Inquiry section (#inquire) ----------
   section-head (eyebrow, "Send an inquiry", lead) → photo | form card.
   The submit button sits inside the card, under the last field.            */
.inquiry {
  background: var(--soft-yellow-gradient);
  padding-block: var(--section-y);
}
.inquiry__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-cards); align-items: stretch; }
.inquiry__photo { border-radius: var(--radius-md); overflow: hidden; min-height: 420px; }
.inquiry__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.inquiry__formwrap { display: flex; flex-direction: column; }
.inquiry__submit { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-6); }
.inquiry__alt { font-size: var(--fs-small); color: var(--error); }
.inquiry__alt a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--purple); text-underline-offset: 4px; }
.inquiry__urgent { font-size: var(--fs-small); color: var(--purple); margin-top: calc(-1 * var(--space-2)); }
.inquiry__urgent a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--purple); text-underline-offset: 4px; white-space: nowrap; }
.inquiry__email {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-text); font-weight: 500; font-size: 16px; color: var(--purple);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.inquiry__email:hover { text-decoration-thickness: 2px; }
.inquiry__email[hidden] { display: none; }

.form-card {
  width: 100%; height: 100%;
  background: var(--form-card);
  border: 1.5px solid #f3d2d6;
  border-radius: var(--radius-md);
  padding: clamp(24px, 3.4vw, 48px);
}
.form-note { font-size: var(--fs-small); color: var(--error); margin-bottom: var(--space-4); }
.form-help { font-size: var(--fs-small); line-height: 1.45; color: var(--error); margin-bottom: calc(-1 * var(--space-2)); }
.form-help[hidden] { display: none; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 20px; }
.field { min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-text); font-weight: 500; font-size: 16px; line-height: 1.35; color: var(--error); }
.field label .req { margin-left: 2px; }
.field label .opt { font-size: 16px; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--mauve);           /* 4.8:1 against white */
  border-radius: var(--radius-field);
  padding: 12px 14px; font-size: 17px; line-height: 1.4; min-height: 52px;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #7a6580; opacity: 1; } /* paler than typed text, 5.2:1 */
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--purple); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 2px; border-color: var(--purple);
}
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; box-shadow: 0 0 0 3px rgba(98,40,122,.14); }
.field__error {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--error);
}
.field__error::before {
  content: "!"; flex: none; display: inline-grid; place-items: center;
  width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--error); color: var(--white); font-size: 13px; font-weight: 600; line-height: 1;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--purple) 50%), linear-gradient(135deg, var(--purple) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input[type="date"] { color-scheme: light; }
.field input, .field select { height: 52px; }
.field textarea { min-height: 128px; resize: vertical; }
.form-status { margin-top: 16px; font-size: 17px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.8); }
.form-status:focus { outline: none; }
.form-status a { font-weight: 500; text-underline-offset: 3px; }
.form-status[hidden] { display: none; }
.form-status h3 { font-size: var(--fs-h4); margin-bottom: 4px; }

@media (max-width: 900px) {
  .inquiry__grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .inquiry__photo { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .inquiry__submit { align-items: stretch; }
  .inquiry__submit .btn { width: 100%; }
  .inquiry__alt, .inquiry__urgent, .inquiry__email { align-self: center; text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer { padding-top: var(--space-7); background: var(--white); }
/* The original's footer columns run almost edge to edge (about 44px in at 1440). */
.site-footer > .container { max-width: none; padding-inline: clamp(16px, 3vw, 44px); }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--lavender);
  border-left: 1.5px solid var(--lavender);
  border-right: 1.5px solid var(--lavender);
}
.footer-col { padding: 32px 20px 28px; }
.footer-col + .footer-col { border-left: 1.5px solid var(--lavender); }
.footer-col h2 {
  font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display);
  font-size: var(--fs-h4); line-height: var(--lh-h4); color: var(--plum); margin-bottom: 14px;
}
.footer-col h2 + ul, .footer-col ul { display: grid; gap: 0; }
.footer-col ul a, .footer-col p a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; } /* 44px tap targets */
.footer-col a { text-decoration: none; color: var(--purple); font-size: 16px; }
.footer-col .socials a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin: -11px; }
.footer-col .socials { padding-left: 11px; }
.footer-col a:hover { text-decoration: underline; }
.footer-col .socials { display: flex; gap: 14px; margin-bottom: 22px; }
.footer-col .socials a { color: var(--purple); }
.footer-col .socials svg { width: 22px; height: 22px; }
.footer-col p { font-size: 16px; }
.footer-col p + p { margin-top: 0; }
.wordmark {
  font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display);
  font-size: clamp(44px, 10.6vw, 168px);
  line-height: 1; text-align: center;
  color: var(--mauve);
  text-shadow: 0 0 15px var(--butter);
  padding: 24px 0 16px;
  white-space: nowrap; overflow: hidden;
}
.copyright {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  font-size: 16px; color: var(--purple); text-align: center;
  padding: 16px var(--gutter) 32px;
}
.copyright__year { flex: none; }
.copyright__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; }
.copyright__links li { display: flex; align-items: center; }
.copyright__links li:not(:last-child)::after { content: "|"; margin: 0 10px; }
.copyright a { text-decoration: none; display: inline-block; padding: 10px 8px; margin-inline: -8px; } /* 44px tap area, no extra visual gap */
.copyright a:hover { text-decoration: underline; }

/* On mobile the link columns are hidden (the menu carries the navigation),
   but the contact column stays so phone visitors can always reach Irina. */
@media (max-width: 760px) {
  .site-footer { padding-top: 32px; }
  .footer-cols { grid-template-columns: 1fr; border-right: 1.5px solid var(--lavender); }
  .footer-col--links { display: none; }
  .footer-col + .footer-col { border-left: 0; }
  .footer-col--contact { padding: 24px 16px; }
  .footer-col--contact p a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
  .footer-col p + p { margin-top: 0; }
  .copyright a { display: inline-block; padding: 12px 8px; margin: -12px -8px; text-decoration: underline; text-align: left; }
  .wordmark { padding-top: 8px; white-space: normal; }
  .copyright { flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; font-size: 16px; padding-inline: 16px; }
  .copyright__links { flex-direction: column; align-items: flex-start; gap: 0; }
  .copyright__links li:not(:last-child)::after { content: none; }
}

/* ---------- Sticky mobile CTA ----------
   Phones only, visible from page load (main.js hides it while #inquire is on
   screen). Primary "Send an inquiry" solid, "Ask on WhatsApp" outline.       */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  :root { --sticky-h: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1.5px solid var(--lavender);
    box-shadow: 0 -6px 24px rgba(120,53,136,.12);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .3s ease; }
  .sticky-cta a {
    flex: 1 1 auto; min-width: 0; white-space: nowrap;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 48px; padding: 0 10px; border-radius: 999px;
    font-family: var(--font-text); font-weight: 500; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none;
    border: 1.5px solid var(--purple);
  }
  .sticky-cta__book { background: var(--purple); color: var(--white); }
  .sticky-cta__wa { background: var(--white); color: var(--purple); }
  .sticky-cta__wa svg { width: 20px; height: 20px; flex: none; }
  body.has-sticky-cta { padding-bottom: var(--sticky-h); }
}
@media (max-width: 359px) { .sticky-cta__wa svg { display: none; } .sticky-cta a { white-space: normal; } }

/* ---------- Floating WhatsApp button (desktop/tablet) ----------
   Shown above the sticky-CTA breakpoint only, never on /contact; main.js adds
   .is-hidden while #inquire or the footer copyright line is on screen.       */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--purple); color: var(--white);
  font-family: var(--font-text); font-weight: 500; font-size: 16px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(120,53,136,.28), 0 2px 6px rgba(58,35,66,.16);
  transition: transform .3s ease, opacity .3s ease, visibility 0s linear 0s, background-color .2s;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float:hover { background: #652c73; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.wa-float.is-hidden {
  opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none;
  transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s;
}
@media (max-width: 1100px) {
  /* tablet: icon only (the accessible name comes from the visually hidden label) */
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 760px) { .wa-float { display: none; } }
@media print { .sticky-cta, .wa-float { display: none !important; } }

/* ==========================================================================
   Reusable content components (documented in README → Components)
   ========================================================================== */

/* ---------- Placeholders: .tbc ----------
   A value the owner still has to confirm. Deliberately loud so it is caught
   in review: <span class="tbc">to confirm</span>                                 */
.tbc {
  display: inline-block;
  padding: 1px 10px; border-radius: 6px;
  background: var(--butter); color: var(--purple);
  border: 1.5px dashed var(--purple);
  font-family: var(--font-text); font-style: normal; font-weight: 500;
  font-size: max(16px, .9em); line-height: 1.5; letter-spacing: 0;
}

/* ---------- Price: .price ---------- */
.price { font-family: var(--font-text); font-size: 18px; color: var(--purple); }
.price__label { font-size: 16px; display: block; opacity: .85; }
.price__amount { font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display); font-size: var(--fs-h3); }
.price__note { display: block; font-size: 16px; margin-top: 2px; }

/* ---------- Ask for rates: .ask-rates ----------
   Stands in wherever a price used to be. Markup (components/main|services/AskRates.astro):
   .ask-rates > p.ask-rates__label ("Rates on request") + p.ask-rates__text (optional)
   + div.ask-rates__actions > a.ask-rates__form.btn.btn-primary ("Send an inquiry", optional)
   + a.ask-rates__wa.btn.btn-secondary (svg + "Ask on WhatsApp")                  */
.ask-rates { font-family: var(--font-text); color: var(--purple); display: grid; gap: var(--space-2); }
.ask-rates__label {
  font-family: var(--font-text); font-weight: 600; font-size: 16px; line-height: 1.3;
  letter-spacing: 0; text-transform: none; color: var(--purple);
}
.ask-rates__text { font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.55; color: var(--purple); max-width: var(--measure-note); }
.ask-rates__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-2); }
.ask-rates__actions .btn { padding-inline: 22px; flex: 1 1 auto; }
/* on purple-ish / dark backgrounds: invert */
.ask-rates--on-dark, .ask-rates--on-dark .ask-rates__label, .ask-rates--on-dark .ask-rates__text { color: var(--white); }
.ask-rates--on-dark .btn-primary { background: var(--white); color: var(--purple); border-color: var(--white); }
.ask-rates--on-dark .btn-secondary { color: var(--white); border-color: var(--white); }
/* .ask-rates--soft: kept for older markup (WhatsApp is always the outline button now) */

/* ---------- Proof strip: .proof-strip ---------- */
.proof-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 0;
  font-family: var(--font-text); font-size: 16px; line-height: 1.4; color: var(--purple);
}
.proof-strip > li, .proof-strip > span { display: inline-flex; align-items: center; }
.proof-strip > li + li::before, .proof-strip > span + span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orchid); margin: 0 12px;
}
.proof-strip--pill { padding: 10px 20px; border-radius: 999px; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.proof-strip--start { justify-content: flex-start; }
@media (max-width: 760px) {
  .proof-strip { flex-direction: column; gap: 4px; text-align: center; }
  .proof-strip--start { align-items: flex-start; text-align: left; }
  .proof-strip > li + li::before, .proof-strip > span + span::before { display: none; }
  .proof-strip--pill { border-radius: var(--radius-md); }
}

/* ---------- Testimonials: .testimonials + .quote-card ---------- */
.testimonials {
  display: grid; gap: var(--gap-cards);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
/* three cards: three across, or one column below 960px (never 2 + 1) */
.testimonials:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .testimonials:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
}
.quote-card {
  position: relative; margin: 0;
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--card-pad);
  border-radius: var(--radius-md);
  background: var(--tint-gradient);
  color: var(--purple);
}
.quote-card::before {
  content: "“"; position: absolute; top: 6px; left: 20px;
  font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display);
  font-size: 88px; line-height: 1; color: var(--blush);
  pointer-events: none;
}
.quote-card blockquote { margin: 0; padding-top: 36px; position: relative; font-size: var(--fs-quote); }
.quote-card blockquote p { font: inherit; color: var(--plum); }
.quote-card blockquote p + p { margin-top: 10px; }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote-card__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-card__author { font-weight: 600; font-size: 17px; }
.quote-card__meta { display: block; font-size: 16px; }
.quote-card__link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-text); font-weight: 500; font-size: 16px; color: var(--purple); text-underline-offset: 4px; }

/* ---------- Story closing box: .story-cta ----------
   aside.story-cta > h2.story-cta__title + p.story-cta__text + p.story-cta__actions
   > a.btn.btn-primary (to /contact#inquire).                                    */
.story-cta {
  display: grid; gap: var(--space-3);
  margin-top: 40px; padding: var(--card-pad);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blush);
  background: var(--tint-gradient);
  color: var(--purple);
}
.story-cta__title { font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display); font-style: normal; font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--plum); }
.story-cta__text { font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.6; max-width: var(--measure-note); }
.story-cta__text a { font-weight: 500; text-underline-offset: 3px; }
.story-cta__text a:hover { text-decoration-thickness: 2px; }
.story-cta__actions { margin-top: var(--space-2); }
.story-cta a:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* ---------- Service card: .service-card ---------- */
.service-cards { display: grid; gap: var(--gap-cards); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.service-card {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--card-pad);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--lavender);
  color: var(--purple);
}
.service-card--butter { background: var(--butter); border-color: transparent; }
.service-card__media { margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 4px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__title { font-family: var(--font-display); font-weight: var(--fw-display); font-variation-settings: var(--display-axes); letter-spacing: var(--ls-display); font-size: var(--fs-h4); line-height: var(--lh-h4); color: var(--plum); }
.service-card__for { font-size: var(--fs-body); line-height: 1.55; }
.service-card__for strong, .service-card__label { font-family: var(--font-text); font-style: normal; font-weight: 600; font-size: 16px; color: var(--purple); }
.service-card__includes { display: grid; gap: 8px; font-size: 17px; }
.service-card__includes li { position: relative; padding-left: 24px; }
.service-card__includes li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--blush); box-shadow: 0 0 0 3px #fbe3e5; }
.service-card .price, .service-card .ask-rates { margin-top: auto; padding-top: 16px; border-top: 1.5px solid var(--lavender); }
.service-card--butter .ask-rates { border-top-color: #d9df9c; }
/* .ask-rates--top: block placed right under a card title, not pinned to the bottom */
.service-card .ask-rates--top { margin-top: 0; padding-top: 0; border-top: 0; }
.service-card__cta { align-self: flex-start; min-height: 48px; }

/* ---------- Photo frame: .photo-frame ---------- */
.photo-frame { margin: 0; }
.photo-frame__img {
  padding: 10px; border-radius: var(--radius-lg);
  background: var(--frame-gradient);
}
.photo-frame__img img { width: 100%; height: auto; border-radius: calc(var(--radius-lg) - 8px); object-fit: cover; }
.photo-frame--square .photo-frame__img img { aspect-ratio: 1; }
.photo-frame--portrait .photo-frame__img img { aspect-ratio: 4 / 5; }
.photo-frame--landscape .photo-frame__img img { aspect-ratio: 3 / 2; }
.photo-frame figcaption { margin-top: 10px; padding-inline: 8px; font-size: 16px; line-height: 1.45; color: var(--purple); }

/* ---------- FAQ accordion: .faq (on a wrapper of <details>) ----------
   Questions: Inter Tight 600 (long sentences read better in the text face);
   answers: body size, 68ch.                                               */
.faq details { border-bottom: 1.5px solid var(--lavender); }
.faq details:first-of-type { border-top: 1.5px solid var(--lavender); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 18px 4px;
  font-family: var(--font-text); font-weight: 600; font-size: clamp(18px, 0.19vw + 17.3px, 20px); line-height: 1.35; letter-spacing: 0; color: var(--purple);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background-color: var(--butter);
  background-image: linear-gradient(var(--purple), var(--purple)), linear-gradient(var(--purple), var(--purple));
  background-size: 14px 2px, 2px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.faq details[open] > summary::after { background-size: 14px 2px, 2px 0; }
.faq summary:hover { color: #652c73; text-decoration: underline; text-underline-offset: 4px; }
.faq details > :not(summary) { padding: 0 52px 22px 4px; font-size: var(--fs-body); line-height: 1.6; max-width: calc(var(--measure-wide) + 56px); }
.faq details > :not(summary) + :not(summary) { margin-top: -10px; }
@media (max-width: 760px) { .faq details > :not(summary) { padding-right: 4px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible, .reveal:focus-within { opacity: 1; transform: none; } /* a keyboard-focused link inside is never invisible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wa-float:hover, .wa-float.is-hidden, .btn:hover, .btn-pill:hover, .btn-circle:hover { transform: none; }
}
