/* =========================================================================
   Maldiva Aesthetics — 2026 brand stylesheet
   Tokens & components derived from brand-guidelines.html, tuned for
   WCAG 2.2 AA (interactive colours deepened for contrast).
   ========================================================================= */

:root {
  /* Brand pinks */
  --pink-50:  #FFF5F8;
  --pink-100: #FFE4ED;
  --pink-200: #FFC9DD;
  --pink-300: #FFA3C4;
  --pink-400: #FF7FAE;
  --pink-500: #F25C9A;   /* decorative / large display only */
  --pink-600: #D8407E;   /* decorative */
  --pink-700: #B92E66;   /* AA text + links on light (~5.8:1 on white) */
  --pink-800: #A4275A;   /* CTA gradient end / hover */

  /* Mint & gold */
  --mint-50:  #ECFBF6;
  --mint-100: #D6F5EB;
  --mint-200: #B2EBD9;
  --mint-300: #8FE0C6;
  --mint-400: #6FD3B3;

  --gold-300: #E8C77A;
  --gold-400: #D4AC4F;   /* frames / decoration only — never as text on light */
  --gold-500: #B8893A;

  /* Neutrals */
  --cream:    #FFF9F3;
  --ink:      #2A1E2A;
  --ink-soft: #5C4A57;
  --muted:    #6E5E69;   /* meets AA on cream for small text */
  --line:     rgba(42, 30, 42, 0.10);
  --white:    #FFFFFF;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(216, 64, 126, 0.06), 0 1px 3px rgba(42, 30, 42, 0.04);
  --shadow-md: 0 6px 16px rgba(216, 64, 126, 0.08), 0 2px 6px rgba(42, 30, 42, 0.05);
  --shadow-lg: 0 18px 40px rgba(216, 64, 126, 0.12), 0 6px 14px rgba(42, 30, 42, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--pink-100) 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 8%, var(--mint-100) 0%, transparent 55%),
    var(--cream);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--pink-700); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500; color: var(--ink);
  margin: 0 0 0.4em; letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.1rem; line-height: 1.35; }
p { margin: 0 0 1em; color: var(--ink-soft); max-width: 68ch; }

/* The Cormorant italic is a scarce accent, not a house style: it appears on the
   wordmark, in pull-quotes, and on the home hero headline only. Used on every
   page heading it stops reading as emphasis and starts reading as decoration. */
em.script {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-weight: 500; color: var(--pink-700);
}
/* Cormorant sets optically smaller than Playfair at the same size. */
.hero h1 em.script { color: var(--pink-600); font-size: 1.06em; }

/* ---------- Helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.measure { max-width: 60ch; }
.center .measure, .measure.mx-auto { margin-inline: auto; }

/* Section marker.
   Set as a running head — sentence case on a trailing gold hairline — rather
   than an all-caps tracked badge stacked above the heading. Keeps the
   wayfinding; loses the landing-page silhouette. Muted so it defers to the
   Playfair heading instead of competing with it. */
.eyebrow {
  font-family: 'Inter', sans-serif; font-size: 0.82rem; line-height: 1.2;
  font-weight: 600; letter-spacing: 0.005em; color: var(--muted);
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 18px;
}
.eyebrow::after {
  content: ''; flex: none; width: clamp(48px, 10vw, 96px); height: 1px;
  background: linear-gradient(90deg, var(--gold-400), rgba(212, 172, 79, 0));
}
/* Centred contexts get the rule on both sides so the label stays optically centred. */
.eyebrow.center, .center .eyebrow, .cta-band .eyebrow { justify-content: center; }
.eyebrow.center::before, .center .eyebrow::before, .cta-band .eyebrow::before {
  content: ''; flex: none; width: clamp(48px, 10vw, 96px); height: 1px;
  background: linear-gradient(270deg, var(--gold-400), rgba(212, 172, 79, 0));
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 12px;
  text-decoration: none; font-weight: 600; transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ---------- Focus visibility (WCAG 2.4.11) ---------- */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--pink-700); outline-offset: 2px; border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.98rem; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  min-height: 48px; transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition), border-color var(--transition);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--pink-700) 0%, var(--pink-800) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(164, 39, 90, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(164, 39, 90, 0.40); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--pink-400); color: var(--pink-700); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--pink-50); color: var(--pink-700); }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-300)); color: var(--ink); box-shadow: 0 6px 18px rgba(184, 137, 58, 0.26); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(184, 137, 58, 0.36); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 14px; }
.nav {
  position: relative;
  margin: 0 auto; max-width: var(--container);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(255, 249, 243, 0.82);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 8px 8px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-weight: 500; font-size: 1.08rem; color: var(--ink); text-decoration: none; }
.nav-brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-300); }
.nav-brand .script { font-size: 1.2rem; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; gap: 2px; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 9px 14px; border-radius: 999px; display: inline-block;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--pink-700); background: var(--pink-50); }
.nav-links a[aria-current="page"] { color: var(--pink-700); background: var(--pink-50); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 8px;
    background: rgba(255, 249, 243, 0.98); backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 6px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(48px, 7vw, 86px) 0; }
.section.tight { padding: clamp(36px, 5vw, 60px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section.center .section-head { margin-inline: auto; }
.section-head p { font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-copy .badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; color: var(--ink-soft); font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.hero-copy .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--pink-500), var(--gold-400)); }
.hero-copy h1 { margin-top: 4px; }
.hero-copy .lead { font-size: 1.18rem; color: var(--ink-soft); margin: 4px 0 28px; max-width: 36ch; }
.hero-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-300);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* <picture> is only a wrapper, but it still forms the containing block for the
   <img>. Left at its default auto height the img's `height: 100%` resolves to
   auto, so object-fit/object-position never apply: the photo renders at its
   natural ratio and the frame either overflows (showing only the top) or comes
   up short (leaving a gap under the image). Give it the frame's box. */
.hero-media picture, .split-media picture { display: block; width: 100%; height: 100%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(242, 92, 154, 0.10)); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 3 / 4; max-height: 70vh; }
}

/* ---------- Trust strip ---------- */
.trust { background: rgba(255,255,255,0.55); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pink-100), var(--mint-100)); color: var(--pink-700); }
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; margin: 2px 0 2px; }
.trust-item p { font-size: 0.92rem; margin: 0; }

/* ---------- Cards (treatments / services) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .card-media { aspect-ratio: 16 / 11; background: linear-gradient(135deg, var(--pink-200), var(--mint-200)); overflow: hidden; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }

/* Focal point utilities.
   Most photography is portrait (2:3) but card frames are 16:11 and split frames
   are 4:3, so `object-fit: cover` discards a large slice of each image's height.
   Left at the default the crop centres and can land on a gloved hand or empty
   wall instead of the subject. Values below are measured per image.

   Note the same image needs DIFFERENT values in a card vs a split frame: the
   ratios differ, and the 1024px sources are taller than the 640px ones, so an
   identical percentage resolves to a different part of the picture. Where an
   image appears in both, use `.focal-*` for the card and `.split-focal-*` on
   the split, which wins via the higher-specificity selector below. */
/* Card frames (16:11). */
.focal-top    { object-position: 50% 0%; }
.focal-upper  { object-position: 50% 25%; }
.focal-lower  { object-position: 50% 75%; }
.focal-bottom { object-position: 50% 100%; }

/* Split-frame overrides (4:3). Higher specificity than the plain .focal-*
   classes so a card value and a split value can coexist on one image. */
.split-media img.split-focal-0   { object-position: 50% 0%; }
.split-media img.split-focal-20  { object-position: 50% 20%; }
.split-media img.split-focal-40  { object-position: 50% 40%; }
.split-media img.split-focal-60  { object-position: 50% 60%; }
.split-media img.split-focal-80  { object-position: 50% 80%; }
.split-media img.split-focal-100 { object-position: 50% 100%; }
.card .card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card .tag { display: inline-block; align-self: flex-start; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--pink-700); background: var(--pink-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.96rem; margin-bottom: 16px; }
.card .card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .price { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.card .link { font-size: 0.92rem; font-weight: 600; color: var(--pink-700); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .link:hover { gap: 10px; }

/* ---------- Feature tiles / principles ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feature {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(4px);
  border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .num { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--pink-600); display: block; margin-bottom: 6px; }
.feature .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pink-100), var(--mint-100)); color: var(--pink-700); margin-bottom: 16px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { font-size: 0.95rem; margin: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-300); aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.wide { aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quote-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.quote-card .stars { color: var(--gold-400); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.quote-card blockquote { margin: 0 0 16px; font-size: 1.02rem; color: var(--ink); font-family: 'Cormorant Garamond', serif; font-style: italic; line-height: 1.5; }
.quote-card cite { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); }
.quote-card .source { font-size: 0.8rem; color: var(--muted); }

/* ---------- Carousel (reviews) ---------- */
.carousel { position: relative; }
.carousel-viewport { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 20px; list-style: none; margin: 0; padding: 4px; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; }
.carousel-slide .quote-card { width: 100%; text-align: center; padding: clamp(28px, 4vw, 44px); }
.carousel-slide blockquote { font-size: 1.2rem; max-width: 62ch; margin: 0 auto 18px; }

/* controls sit in a row beneath the card */
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--pink-700); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), color var(--transition);
}
.carousel-btn:hover { box-shadow: var(--shadow-md); color: var(--pink-800); }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: var(--pink-200); cursor: pointer; transition: background var(--transition), transform var(--transition); }
.carousel-dots button[aria-current="true"] { background: var(--pink-700); transform: scale(1.3); }
.carousel.is-single .carousel-controls { display: none; }

.reviews-cta { margin-top: 30px; text-align: center; }
.reviews-cta p { margin: 0 auto 16px; }
.reviews-cta .btn-row { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 22px; height: 22px; transition: transform var(--transition); color: var(--pink-700); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--pink-100), var(--mint-100)); border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 64px); text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin-inline: auto; }

/* Left-aligned advisory panel: same shell, but reads as a note rather than a
   call to action. Resets the centred measure so the copy aligns to the heading. */
.cta-band.notice {
  text-align: left;
  background: linear-gradient(135deg, var(--mint-100), var(--pink-50));
}
.cta-band.notice h2 { font-size: 1.4rem; }
.cta-band.notice p { margin-inline: 0; max-width: 70ch; }

/* ---------- Author attribution ----------
   Visible counterpart to the WebPage author/reviewedBy/dateModified schema.
   AI systems read the rendered text as well as the structured data. */
.byline {
  max-width: 78ch; margin: 0; padding-top: 20px;
  position: relative; font-size: 0.9rem; color: var(--muted);
}
.byline::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0;
  width: clamp(48px, 10vw, 96px); height: 1px;
  background: linear-gradient(90deg, var(--gold-400), rgba(212, 172, 79, 0));
}
.byline a { font-weight: 600; }
.byline span { display: block; margin-top: 4px; }

/* ---------- Awards ----------
   Deliberately not another row of icon-topped cards: gold rules and type do the
   work, so this reads as a credentials list rather than a feature grid. */
.awards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.award {
  position: relative;
  padding-top: 20px;
}
.award::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-400), rgba(212, 172, 79, 0));
}
.award-year {
  display: block; font-size: 0.8rem; font-weight: 700;
  color: var(--gold-500); letter-spacing: 0.04em; margin-bottom: 6px;
}
.award h3 { font-size: 1.22rem; margin: 0 0 4px; }
.award-body { margin: 0 0 12px; font-size: 0.94rem; color: var(--muted); }
.award-result {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.02em; padding: 4px 12px; border-radius: 999px;
  color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line);
}
.award-result.is-win {
  color: var(--pink-700); background: var(--pink-50); border-color: var(--pink-200);
}
/* Logo slot, used once official badge files are supplied. */
.award-logo { display: block; height: 56px; width: auto; margin-bottom: 14px; }
@media (max-width: 860px) {
  .awards { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Press feature (featured-by-sage.html) ----------
   Scoped to .press-page so the text-wrap rules don't move line breaks on pages
   that have already been proofed. */
.press-page :is(h1, h2, h3) { text-wrap: balance; }
.press-page p { text-wrap: pretty; }
.press-page [id] { scroll-margin-top: 96px; } /* clear the sticky header on #transcript */

.video-hero { text-align: center; }
.video-hero .lead { margin-inline: auto; max-width: 56ch; }

/* The film sits in the same gold-edged frame as .split-media, with a smaller
   radius so the corners don't clip YouTube's control bar. */
.video-feature { max-width: 860px; margin: clamp(20px, 3vw, 32px) auto 0; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius-md); overflow: hidden; background: var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-300);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0 24px; margin-top: 10px; text-align: left;
}
.video-meta p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.video-meta time { font-variant-numeric: tabular-nums; }
.video-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.video-links a { display: inline-block; padding-block: 10px; font-weight: 600; }
.video-note { max-width: 860px; margin: 0 auto; font-size: 0.82rem; color: var(--muted); text-align: left; }

/* Key moments: chapter links that restart the embedded film (see main.js).
   Seven moments plus a transcript tile fill a 4 x 2 grid on desktop. */
.moments {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.moment {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%;
  padding: 16px 18px 18px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.moment:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--pink-200); }
/* Set by main.js on whichever moment last cued the player. */
.moment[aria-current] { border-color: var(--pink-700); box-shadow: 0 0 0 1px var(--pink-700), var(--shadow-md); }
.moment-time {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px 3px 8px; margin-top: 1px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; line-height: 1.4; font-variant-numeric: tabular-nums;
  color: var(--pink-700); background: var(--pink-50);
}
.moment-time svg { width: 12px; height: 12px; }
.moment.is-alt { background: var(--pink-50); border-style: dashed; border-color: var(--pink-200); box-shadow: none; }
.moment.is-alt .moment-time { background: #fff; }
/* Short quotes in a two-up grid read better a size up from the carousel default. */
.press-page .quotes .quote-card { margin: 0; } /* reset the default <figure> side margins */
.press-page .quote-card blockquote { font-size: 1.25rem; }
.moment-title { display: block; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.moment-desc { display: block; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }

.pull-quote { margin: 26px 0; padding-left: 22px; border-left: 2px solid var(--gold-400); }
.pull-quote blockquote { margin: 0 0 6px; }
.pull-quote blockquote p {
  margin: 0; max-width: 30ch;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 1.9rem); line-height: 1.25; color: var(--ink);
}
.pull-quote figcaption { font-size: 0.88rem; color: var(--muted); }

/* Figures on the same gold rule as .award. Number above label visually; the
   dt still comes first for screen readers. */
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px); margin: 28px 0 0;
}
.stat {
  position: relative; padding-top: 14px;
  display: flex; flex-direction: column-reverse; justify-content: flex-end;
}
.stat::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-400), rgba(212, 172, 79, 0));
}
.stat dd {
  margin: 0; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.1; color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat dt { margin-top: 6px; font-size: 0.86rem; line-height: 1.35; color: var(--muted); }

.transcript h2 { margin-bottom: 8px; }
.transcript > p { margin-bottom: 18px; }
.transcript .answer p { margin: 0 0 14px; }
.transcript .answer p:last-child { margin-bottom: 0; }
.transcript .ts {
  display: inline-block; min-width: 3.4em; margin-right: 4px; padding: 2px 8px;
  border-radius: 999px; text-align: center; text-decoration: none;
  font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--pink-700); background: var(--pink-50);
}
.transcript .ts:hover, .transcript .ts[aria-current] { background: var(--pink-100); }
.transcript .speaker { font-weight: 600; color: var(--ink); }

/* ---------- Booking panel (Booksy) ----------
   Booking is the primary action on the contact page; the enquiry form below is
   for questions. The panel carries the Booksy wordmark for recognition but uses
   the house primary button, so we are not importing a second brand's colours. */
/* The card gives this hero more height than a text-only one, so it needs its
   own bottom breathing room rather than .page-hero's tight default. */
.booking-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px); align-items: center;
  margin-bottom: clamp(20px, 3vw, 32px);
}
/* Trimmed from the global h1 scale: the headline shares its row with the card,
   so the full display size would break "booked in" across two lines. */
.booking-hero h1 { font-size: clamp(2.1rem, 4.2vw, 2.95rem); }
.booking-hero .lead { margin-bottom: 0; }

.booking-panel {
  padding: clamp(24px, 4vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.booking-brand {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 10px; max-width: none;
}
.booking-brand span {
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
}
.booking-brand img { display: block; width: 132px; height: auto; }
.booking-panel > p { margin-bottom: 20px; }
.booking-panel .btn svg { width: 17px; height: 17px; }

/* Same fading gold hairline used by the section markers, as a divider. */
.booking-alt {
  position: relative;
  margin: 22px 0 0; padding-top: 20px;
  font-size: 0.94rem;
}
.booking-alt::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0;
  width: clamp(48px, 22%, 96px); height: 1px;
  background: linear-gradient(90deg, var(--gold-400), rgba(212, 172, 79, 0));
}
@media (max-width: 860px) {
  .booking-hero { grid-template-columns: 1fr; }
  .booking-panel { max-width: 560px; }
}

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--pink-700); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink-400); box-shadow: 0 0 0 3px rgba(185, 46, 102, 0.18); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; font-size: 0.9rem; color: var(--ink-soft); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--pink-700); }
.form-status { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.95rem; margin-bottom: 16px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--mint-100); color: #14463a; border: 1px solid var(--mint-300); }
.form-status.err { background: #FFE0E8; color: #7a1133; border: 1px solid var(--pink-300); }

/* contact detail list */
.detail-list { list-style: none; padding: 0; margin: 0 0 22px; }
.detail-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list .ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pink-100), var(--mint-100)); color: var(--pink-700); }
.detail-list .ico svg { width: 20px; height: 20px; }
.detail-list .k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.detail-list .v, .detail-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.detail-list a:hover { color: var(--pink-700); text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table th, .hours-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: var(--ink); }
.hours-table td { color: var(--ink-soft); }
.hours-table .closed { color: var(--muted); }

/* ---------- Consent-gated map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.map-placeholder {
  position: relative; min-height: 320px; display: grid; place-items: center; text-align: center;
  padding: 32px; background: linear-gradient(135deg, var(--mint-100), var(--pink-100)); color: var(--ink-soft);
}
.map-placeholder p { max-width: 42ch; margin: 12px auto 18px; font-size: 0.95rem; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Social ---------- */
.social { display: flex; gap: 10px; align-items: center; }
.social a { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,0.12); color: #fff; transition: background var(--transition), transform var(--transition); }
.social a:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #EAD9E4; margin-top: clamp(40px, 7vw, 80px); }
.site-footer a { color: #EAD9E4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding: clamp(44px, 6vw, 72px) 0 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-400); }
.footer-brand .name { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: #fff; }
.site-footer h4 { color: var(--gold-300); margin-bottom: 14px; }
.site-footer p, .site-footer li { color: #D9C6D2; font-size: 0.93rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px 28px;
  padding-top: 28px;
  padding-bottom: 20px;
}
.footer-bottom > :first-child { justify-self: start; }
.footer-bottom > :last-child  { justify-self: end; text-align: right; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: #BBA6B4; }
.footer-bottom .footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .footer-legal a { font-size: 0.85rem; text-decoration: none; color: #BBA6B4; }
.footer-bottom .footer-legal a:hover { color: #fff; }
@media (max-width: 720px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-bottom > :first-child,
  .footer-bottom > :last-child { justify-self: center; text-align: center; }
  .footer-credit { order: 3; }
}

.footer-credit {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  opacity: 0.4;
  text-decoration: none;
  /* 0.3s per the Blackoak credit spec; easing uses this project's own curve. */
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-credit:hover,
.footer-credit:focus-visible { opacity: 0.85; transform: translateY(-1px); }
.footer-credit:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 4px; border-radius: 3px; }
.footer-credit .by {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #BBA6B4;
  white-space: nowrap;
}
.footer-credit img { height: 18px; width: auto; display: block; }

/* Touch targets: 18px/13px links fail the 44px guideline on their own.
   Negative margin cancels the padding, so the visual layout is pixel-identical. */
.footer-bottom a:not(.footer-credit) {
  display: inline-block;
  padding-block: 11px;
  margin-block: -11px;
}
.footer-credit { padding-block: 11px; margin-block: -11px; }

/* ---------- Legal / prose pages ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--pink-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.94rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--pink-50); color: var(--ink); }
.prose .updated { font-size: 0.85rem; color: var(--muted); }

/* page intro band */
.page-hero { padding: clamp(26px, 4vw, 44px) 0 clamp(8px, 2vw, 16px); }
.page-hero .lead { font-size: 1.12rem; max-width: 60ch; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  background: rgba(255, 249, 243, 0.98); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
  max-width: 760px; margin-inline: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.15rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 0.92rem; margin-bottom: 14px; }
.cookie-banner p a { color: var(--pink-700); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 11px 20px; min-height: 44px; font-size: 0.92rem; }
.cookie-prefs { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cookie-prefs[hidden] { display: none; }
.cookie-prefs .opt { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.cookie-prefs .opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--pink-700); }
.cookie-prefs .opt input:disabled { opacity: 0.6; }

/* ---------- WhatsApp float ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform var(--transition);
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 30px; height: 30px; }
@media (max-width: 860px) { .wa-fab { bottom: 86px; } } /* clear cookie banner on mobile */

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 1 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
