/* ─────────────────────────────────────────────────────────────────────────
   VITTORIA'S — Couture Dry Cleaning
   Editorial Italian luxury front-business design system.
   Three palettes selected via [data-palette] on <html>; clue highlight via
   [data-clues="on"].
   ───────────────────────────────────────────────────────────────────────── */

/* ── Palette: Cream (default) ── */
:root, html[data-palette="cream"] {
  --paper:       #f5ede0;          /* main bg */
  --paper-2:     #fbf6ec;          /* card / lifted */
  --paper-3:     #ece2cf;          /* divider band */
  --ink:         #1a1410;          /* primary text */
  --ink-2:       #2a221c;          /* secondary text (darker for Cormorant readability) */
  --ink-3:       #6b5d4d;          /* tertiary / muted */
  --rule:        #c8bba2;          /* hairlines */
  --rule-2:      #6b1a1f;          /* accent hairline */
  --oxblood:     #6b1a1f;          /* primary accent */
  --oxblood-dk:  #4a1216;
  --gold:        #a07e3c;          /* secondary accent */
  --gold-dk:     #7c5e22;
  --clue-bg:     #f2c714;          /* clue highlight */
  --clue-ink:    #1a1410;
  --shadow:      0 1px 0 rgba(26,20,16,.04);
}

/* ── Palette: Marble (warm grey, gold-forward) ── */
html[data-palette="marble"] {
  --paper:       #e6e1d6;
  --paper-2:     #f1ece1;
  --paper-3:     #d5cebe;
  --ink:         #2a2520;
  --ink-2:       #3a322a;
  --ink-3:       #6f6454;
  --rule:        #bdb3a0;
  --rule-2:      #988252;
  --oxblood:     #5e2024;
  --oxblood-dk:  #401418;
  --gold:        #988252;
  --gold-dk:     #6e5d36;
}

/* ── Palette: Atelier (dark) ── */
html[data-palette="atelier"] {
  --paper:       #161310;
  --paper-2:     #1f1a15;
  --paper-3:     #0e0c0a;
  --ink:         #ece3cf;
  --ink-2:       #c9bca0;
  --ink-3:       #847762;
  --rule:        #3a322a;
  --rule-2:      #c9a05a;
  --oxblood:     #8a2026;
  --oxblood-dk:  #5e1318;
  --gold:        #c9a05a;
  --gold-dk:     #9d7d40;
  --shadow:      0 1px 0 rgba(0,0,0,.4);
  /* always-dark accent surface — for atelier, push deeper than --paper */
  --surface-dark:    #0a0807;
  --surface-dark-2:  #14100c;
  --surface-dark-fg: #ece3cf;
  --surface-dark-fg-mute: rgba(236,227,207,.62);
  --surface-dark-rule:    rgba(236,227,207,.12);
}

/* Cream + Marble: "dark accent" surfaces look dark on top of light page */
:root, html[data-palette="cream"], html[data-palette="marble"] {
  --surface-dark:    #1a1410;
  --surface-dark-2:  #2a221c;
  --surface-dark-fg: #f5ede0;
  --surface-dark-fg-mute: rgba(245,237,224,.62);
  --surface-dark-rule:    rgba(245,237,224,.18);
}

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  transition: background .3s ease, color .3s ease;
}

/* Cormorant Garamond renders thin at weight 400, which reads as washed-out
   on cream. Bump body-serif copy to weight 500 for readable density. */
.italic-aside,
.section-heading .lead,
.hero-sub,
.about-grid .col-text p,
.service p,
.service .tag,
.svc-block p,
.svc-block .strap,
.svc-block ul.detail li,
.care-item p,
.faq-item .answer,
.quote-text,
.member-card p,
.members-lead,
.vip-lead,
.vip-footer-note,
.footer-tagline {
  font-weight: 500;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── Typography system ── */
:root {
  --f-display: "Italiana", "Cormorant Garamond", serif;
  --f-serif:   "Cormorant Garamond", "Times New Roman", serif;
  --f-sans:    "Manrope", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", "Courier New", monospace;
}

/* Typeface alternates */
html[data-typeset="modern"] {
  --f-display: "Cormorant Garamond", serif;
  --f-serif:   "Cormorant Garamond", serif;
}
html[data-typeset="severe"] {
  --f-display: "Manrope", sans-serif;
  --f-serif:   "Cormorant Garamond", serif;
}

/* Display utilities */
.wordmark {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}
.serif-display {
  font-family: var(--f-serif);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
}
.eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.italic-aside {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}

/* ── Layout containers ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-tight { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.col-text { max-width: 62ch; }

/* ── Top bar / nav ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.topbar-strip {
  font-family: var(--f-sans);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.topbar-strip span + span { margin-left: 32px; position: relative; }
.topbar-strip span + span::before {
  content: "·"; position: absolute; left: -19px; color: var(--gold);
}
.nav {
  max-width: 1280px; margin: 0 auto; padding: 20px 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-left, .nav-right { display: flex; gap: 32px; }
.nav-right { justify-content: flex-end; }
.nav a {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav a:hover { color: var(--oxblood); border-bottom-color: var(--oxblood); }
.nav .brand {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  padding: 0 8px;
}
.nav .brand small {
  display: block; font-size: 9px; letter-spacing: 0.42em;
  color: var(--ink-3); margin-top: 4px; font-family: var(--f-sans);
}

/* ── Hero ── */
.hero {
  padding: 140px 0 112px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10,8,7,.78) 0%, rgba(10,8,7,.62) 35%, rgba(10,8,7,.82) 100%),
    url("https://images.unsplash.com/photo-1696021922015-f9916330aa8d?fm=jpg&q=70&w=2400&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  /* warm + grain feel */
  filter: saturate(.7) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, transparent 45%, rgba(10,8,7,.55) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
/* Force the hero text light regardless of palette — the bg is always dark. */
.hero,
.hero .hero-title,
.hero .hero-sub { color: var(--surface-dark-fg); }
.hero .hero-sub { color: rgba(236,227,207,.82); }
.hero .hero-title em { color: var(--gold); }
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 0 auto 40px;
  max-width: 640px;
}
.hero-eyebrow .eyebrow { color: var(--gold) !important; }
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; height: 1px; background: var(--gold); flex: 1; max-width: 120px; opacity: .55;
}
/* Hero CTAs over a dark photo: invert primary, brighten ghost. */
.hero .btn {
  background: var(--surface-dark-fg);
  border-color: var(--surface-dark-fg);
  color: #14100c;
}
.hero .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14100c;
}
.hero .btn.ghost {
  background: transparent;
  color: var(--surface-dark-fg);
  border-color: var(--surface-dark-fg);
}
.hero .btn.ghost:hover {
  background: var(--surface-dark-fg);
  color: #14100c;
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 28px;
  text-align: center;
}
.hero-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--oxblood);
  letter-spacing: -0.01em;
  display: block;
  font-size: 0.62em;
  margin: 8px 0 0;
}
.hero-sub {
  text-align: center;
  font-family: var(--f-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.4;
}
.hero-cta-row { display: flex; gap: 16px; justify-content: center; align-items: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--surface-dark-fg); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.gold { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn.gold:hover { background: var(--gold); color: var(--paper); }
.btn .arrow { font-size: 14px; letter-spacing: 0; }

/* ── Section + headings ── */
section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
section.tight { padding: 64px 0; }
section.deep { padding: 128px 0; }

.section-heading {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin-bottom: 64px; text-align: center;
}
.section-heading .eyebrow { color: var(--gold); }
.section-heading h2 {
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.95;
}
.section-heading .lead {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.5;
}

/* Ornament divider */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: var(--gold);
  margin: 0 auto;
  font-family: var(--f-serif);
  font-size: 18px;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 60px; background: var(--gold);
}

/* ── About section: two-column editorial ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-grid .col-text p {
  font-family: var(--f-serif);
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.about-grid .col-text p:first-of-type::first-letter {
  font-family: var(--f-display);
  font-size: 78px;
  float: left;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  color: var(--oxblood);
}
.about-signature {
  margin-top: 32px;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--ink-3);
  font-size: 17px;
}
.about-signature strong {
  display: block; font-style: normal;
  font-family: var(--f-display);
  font-size: 26px; letter-spacing: 0.08em;
  color: var(--ink); margin-bottom: 4px;
}

.portrait-caption {
  margin-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.portrait-caption .eyebrow { color: var(--gold); }

/* ── Vault-key (the moved VIP login, lives on the VIP Vault service card) ── */
.vault-key {
  margin-top: 20px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  background: transparent;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background .2s ease, color .2s ease;
}
.vault-key:hover {
  background: var(--gold);
  color: var(--surface-dark);
}
.vault-key-label { color: var(--ink-3); flex-shrink: 0; }
.vault-key:hover .vault-key-label { color: var(--surface-dark); }
.vault-key-no { flex: 1; font-weight: 500; letter-spacing: 0.22em; }
.vault-key-arrow { font-family: var(--f-serif); font-size: 18px; letter-spacing: 0; }

/* ── Image placeholder ── */
/* Always a dark surface, regardless of palette — fixes white-on-cream when
   atelier flipped --ink to a light value. */
.img-slot {
  position: relative;
  background: var(--surface-dark);
  color: var(--surface-dark-fg);
  aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--surface-dark);
}
.img-slot.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* warm, faded-photo treatment across all real photos */
  filter: sepia(.55) saturate(1.05) contrast(1.02) brightness(.92) hue-rotate(-6deg);
}
.img-slot.sepia {
  /* deeper sepia for the founder portrait */
  filter: sepia(.78) saturate(1.05) contrast(1.04) brightness(.9) hue-rotate(-8deg);
}
.img-slot.has-photo::before { opacity: 0; }
.img-slot.has-photo .img-slot-caption,
.img-slot.has-photo .img-slot-meta { display: none; }
.img-slot.tall { aspect-ratio: 3 / 4; }
.img-slot.wide { aspect-ratio: 16 / 9; }
.img-slot.square { aspect-ratio: 1 / 1; }
.img-slot::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, var(--surface-dark-rule) 25%, transparent 25%, transparent 75%, var(--surface-dark-rule) 75%),
    linear-gradient(45deg, var(--surface-dark-rule) 25%, transparent 25%, transparent 75%, var(--surface-dark-rule) 75%);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
}
.img-slot-meta {
  position: relative;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surface-dark-fg);
}
.img-slot-meta b {
  display: block;
  color: #f2c714;
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 9px;
}
.img-slot-caption {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--surface-dark-fg-mute);
  text-align: center;
  padding: 0 24px;
  letter-spacing: 0.02em;
}

/* ── Services grid (replaces Collections) ── */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.service {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule-2);
  padding-top: 28px;
}
.service-num {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--oxblood);
  margin-bottom: 18px;
}
.service .img-slot { aspect-ratio: 4/5; margin-bottom: 28px; }
.service h3 {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1;
}
.service .tag {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 18px;
}
.service p {
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.service .meta {
  margin-top: auto; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.service .meta strong { color: var(--ink); font-weight: 500; }

/* ── Care instructions ── */
.care-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.care-item {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 32px;
  background: var(--paper-2);
}
.care-item .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 18px;
}
.care-item h4 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.1;
}
.care-item p {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ── Quote / testimonial band ── */
.quotes {
  background: var(--surface-dark);
  color: var(--surface-dark-fg);
}
.quotes-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.quote {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 32px;
}
.quote-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 24px;
  color: var(--surface-dark-fg);
}
.quote-attr {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--surface-dark-fg-mute);
}
.quote-attr strong { display: block; color: var(--gold); margin-bottom: 4px; font-weight: 500; }
.quotes .section-heading h2 { color: var(--surface-dark-fg); }
.quotes .section-heading .lead { color: var(--surface-dark-fg-mute); }

/* ── FAQ ── */
.faq {
  max-width: 880px; margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  font-family: var(--f-serif);
  font-size: 28px;
  color: var(--gold);
  transition: transform .2s ease;
  line-height: 1;
}
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item .answer {
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  padding-top: 18px;
  max-width: 60ch;
}

/* ── VIP teaser block ── */
.vip-teaser {
  background: var(--surface-dark);
  color: var(--surface-dark-fg);
  padding: 128px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.vip-teaser .wrap { position: relative; z-index: 1; }
.vip-bg-mark {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: clamp(220px, 32vw, 480px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(160,126,60,.06);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}
.vip-teaser .eyebrow { color: var(--gold); }
.vip-teaser h2 {
  font-family: var(--f-display);
  font-size: clamp(72px, 11vw, 168px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 18px 0 36px;
  color: var(--surface-dark-fg);
}
.vip-teaser p {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--surface-dark-fg-mute);
  max-width: 64ch;
  margin: 0 0 40px;
}
.vip-teaser .btn { background: var(--gold); border-color: var(--gold); color: #14100c; }
.vip-teaser .btn:hover { background: var(--surface-dark-fg); border-color: var(--surface-dark-fg); color: #14100c; }

/* ── Footer ── */
.footer {
  background: var(--paper-3);
  color: var(--ink);
  padding: 96px 0 0;
  border-bottom: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 96px;
}
.footer h5 {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a {
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--ink);
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.footer a:hover { border-bottom-color: var(--oxblood); }
.footer .wordmark-big {
  font-family: var(--f-display);
  font-size: clamp(120px, 18vw, 280px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.85;
  color: var(--ink);
  border-top: 1px solid var(--ink);
  padding-top: 56px;
  margin: 0 -32px;
}
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer-tagline {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.5;
  max-width: 44ch;
}

/* ── Clue highlighting ── */
[data-clue] {
  position: relative;
  transition: background-color .2s ease, color .2s ease;
}
html[data-clues="on"] [data-clue] {
  background: var(--clue-bg);
  color: var(--clue-ink);
  padding: 0 4px;
  margin: 0 -1px;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
html[data-clues="on"] [data-clue]::after {
  content: attr(data-clue);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1410;
  color: #f2c714;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid #f2c714;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 100;
  text-align: center;
}
html[data-clues="on"] [data-clue]:hover::after { opacity: 1; }

/* Tag-style clues that don't disrupt flow */
html[data-clues="on"] [data-clue-block] {
  outline: 2px solid var(--clue-bg);
  outline-offset: 4px;
  position: relative;
}
html[data-clues="on"] [data-clue-block]::before {
  content: attr(data-clue-block);
  position: absolute;
  top: -22px; left: -2px;
  background: #1a1410;
  color: #f2c714;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid #f2c714;
  z-index: 50;
}

/* ── Tweaks toggle hint pill (when tweaks panel closed and user hasn't seen it) ── */
.tweak-hint {
  position: fixed; bottom: 16px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 8px 12px;
  z-index: 40;
  display: none;
}

/* ── Responsive (lazy) ── */
@media (max-width: 900px) {
  .about-grid, .services, .quotes-grid, .care-grid, .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { gap: 32px; }
  .care-grid { border-left: 0; }
  .care-item { border-right: 0; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-left, .nav-right { display: none; }
}

/* ── Page-specific helpers ── */
.muted { color: var(--ink-3); }
.gold-text { color: var(--gold); }
.ox-text { color: var(--oxblood); }
.center { text-align: center; }
.upper { text-transform: uppercase; letter-spacing: 0.18em; }
.mono { font-family: var(--f-mono); }
.serif { font-family: var(--f-serif); }
