/* ==========================================================================
   Kozo Salon & Spa — main stylesheet
   Palette: plum + magenta (from the Kozo logo: violet sign, pink oval ring)
   + honey (stars only)
   Type: Cormorant Garamond (display) / Outfit (body)
   Shape rule: buttons = pill, cards/media = 16px, inputs = 10px
   Theme: light, locked (color-scheme: light)
   ========================================================================== */

:root {
  --ink: #251c2c;
  --ink-soft: #52475d;
  --ink-faint: #75697f;
  --bg: #f8f6fa;
  --bg-tint: #f0eaf5;
  --surface: #fdfcfe;
  --line: #e2dae9;
  --plum: #5b1f8a;
  --plum-deep: #3a1160;
  --plum-soft: #7a3fae;
  --plum-tint: #ece2f6;
  --magenta: #d5087f;          /* logo ring: accents only */
  --honey: #b58530;            /* review stars only */
  --focus: #8b46c8;
  --radius-card: 16px;
  --radius-input: 10px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --shadow-soft: 0 10px 30px -12px rgba(42, 22, 60, 0.18);
  --header-h: 72px;
  color-scheme: light;
}

/* ---------- Reset / base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; max-width: 65ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--plum-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }

ul, ol { padding-left: 1.2rem; }

strong { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--plum-tint); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--plum-deep);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.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;
}

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3.2rem, 8vw, 5.5rem); }
.section--tint { background: var(--bg-tint); }
.section--tight { padding-block: clamp(2.2rem, 5vw, 3.5rem); }

.section-head { max-width: 640px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

.lede { font-size: 1.16rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--plum); color: #fdfcf9; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }

.btn-outline { background: transparent; color: var(--plum-deep); border-color: var(--plum); }
.btn-outline:hover { background: var(--plum-tint); color: var(--plum-deep); }

.btn-light { background: #fdfcf9; color: var(--plum-deep); }
.btn-light:hover { background: var(--plum-tint); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--plum-deep);
  color: #ede5f4;
  font-size: 0.92rem;
  text-align: center;
  padding: 0.55rem 3rem;
  position: relative;
}
.announce a { color: #fff; }
.announce-close {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  translate: 0 -50%;
  background: none;
  border: 0;
  color: #cdbcdc;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  border-radius: 6px;
}
.announce-close:hover { color: #fff; }
.announce[hidden] { display: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand svg { color: var(--plum); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.25rem;
}

.site-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--plum-deep); }
.site-nav a[aria-current="page"] {
  color: var(--plum-deep);
  border-bottom-color: var(--plum);
}

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--plum-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.55rem;
  cursor: pointer;
  color: var(--ink);
  border-radius: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 920px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 1.2rem 1.4rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    display: block;
    padding: 0.8rem 0.3rem;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .header-actions .btn { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.8rem, 7vw, 5rem);
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 7fr 5fr; }
}
.hero-copy .lede { margin-bottom: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-place {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 1rem;
}

/* ---------- Photo slots (placeholders until real photography arrives) ---------- */

.photo-slot {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 20% 0%, #eee6f6 0%, transparent 55%),
    linear-gradient(155deg, var(--plum-tint) 0%, #dccbeb 48%, #cbb4e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-slot::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(91, 31, 138, 0.28);
  border-radius: calc(var(--radius-card) - 6px);
  pointer-events: none;
}
.photo-slot .slot-mark { color: var(--plum); opacity: 0.4; width: clamp(42px, 18%, 72px); height: auto; }
.photo-slot .slot-label {
  position: absolute;
  left: 1rem;
  bottom: 0.8rem;
  right: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--plum-deep);
  opacity: 0.75;
}
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* ---------- Real photos ---------- */

.photo {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--plum-tint);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .photo { border-radius: 0; }

/* ---------- Brand logo (header / footer) ---------- */

.brand-logo { height: 48px; width: auto; }
.footer-brand .brand-logo { height: 56px; }
@media (max-width: 560px) { .brand-logo { height: 42px; } }

/* ---------- Trust bar ---------- */

.trust-bar { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2rem;
  padding-block: 1.6rem;
}
@media (min-width: 880px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; color: var(--ink-soft); }
.trust-item svg { flex: none; width: 22px; height: 22px; color: var(--plum); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
}
.card .photo-slot { border-radius: 0; }
.card .photo-slot::after { inset: 8px; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-body h3 { margin-bottom: 0.1em; }
.card-body p { color: var(--ink-soft); font-size: 0.98rem; }
.card-links { margin-top: auto; padding-top: 0.8rem; display: flex; gap: 1.1rem; align-items: center; }
.card-links a { font-weight: 500; font-size: 0.96rem; }

/* ---------- Split rows ---------- */

.split {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 840px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 7fr 5fr; }
  .split > .split-media--lead { order: -1; }
}
.split-copy h2 { margin-bottom: 0.5em; }
.split-copy p { color: var(--ink-soft); }
.split-copy .btn { margin-top: 1.2rem; }

/* ---------- Checklist ---------- */

.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.65rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 0.2rem; color: var(--plum); }

/* ---------- Reviews ---------- */

.stars { display: inline-flex; gap: 2px; color: var(--honey); }
.stars svg { width: 18px; height: 18px; }

.quote-grid { display: grid; gap: 1.4rem; }
@media (min-width: 840px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
}
.quote footer { font-size: 0.92rem; color: var(--ink-faint); margin-top: auto; }
.quote footer strong { color: var(--ink-soft); font-weight: 500; }

.rating-line { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--plum-deep);
  color: #ede5f4;
  text-align: center;
}
.cta-band h2 { color: #fdfcf9; }
.cta-band p { color: #cdbadd; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; margin-top: 1.6rem; }
.cta-band .btn-outline { color: #ede5f4; border-color: #8a63b0; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- Info strip (location block) ---------- */

.info-cols { display: grid; gap: 2rem; }
@media (min-width: 840px) { .info-cols { grid-template-columns: 1fr 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.info-list svg { flex: none; width: 22px; height: 22px; color: var(--plum); margin-top: 0.15rem; }
.info-list a { font-weight: 500; }
.info-note { font-size: 0.92rem; color: var(--ink-faint); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 320px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { font-size: 0.9rem; color: var(--ink-faint); padding-top: 1.2rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.45rem; color: var(--line); }
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); }

/* ---------- Page hero (interior pages) ---------- */

.page-hero { padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(1.6rem, 4vw, 2.6rem); }
.page-hero .lede { max-width: 640px; }

/* ---------- Service detail ---------- */

.service-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.service-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.2rem 1.4rem;
}
.service-item h3 { font-size: 1.3rem; margin-bottom: 0.25em; }
.service-item p { color: var(--ink-soft); font-size: 0.98rem; }
.service-meta { font-size: 0.9rem; color: var(--ink-faint); margin-top: 0.5rem; }

.pricing-note {
  background: var(--plum-tint);
  border: 1px solid #d9c9e8;
  border-radius: var(--radius-card);
  padding: 1.1rem 1.4rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
  max-width: none;
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 500;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--plum);
  transition: rotate 0.2s ease;
}
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item .faq-body { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.8rem; }
.filter-btn {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--plum); color: var(--plum-deep); }
.filter-btn[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fdfcf9; }

.gallery-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 840px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid [hidden] { display: none; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}
.form-grid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.97rem; }
.field .hint { font-size: 0.86rem; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #cfc5da;
  border-radius: var(--radius-input);
  padding: 0.7rem 0.9rem;
  width: 100%;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #90859c; }
.field .error {
  display: none;
  font-size: 0.88rem;
  color: #8c2f22;
  font-weight: 500;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a63a2b; }
.field.has-error .error { display: block; }

.consent { flex-direction: row; align-items: flex-start; gap: 0.7rem; }
.consent input { width: auto; margin-top: 0.3rem; }
.consent label { font-weight: 400; font-size: 0.93rem; color: var(--ink-soft); }

.form-status { margin-top: 1rem; font-weight: 500; }
.form-status.is-error { color: #8c2f22; }
.form-status.is-success { color: var(--plum-deep); }

.honeypot { position: absolute !important; left: -9999px !important; }

.form-card > svg.slot-mark {
  width: 44px;
  height: 44px;
  color: var(--plum);
  margin-inline: auto;
}

/* ---------- Notices ---------- */

.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--plum);
  border-radius: 10px;
  padding: 1rem 1.3rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

/* ---------- Policy / legal prose ---------- */

.prose h2 { font-size: 1.7rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul { color: var(--ink-soft); }
.prose li { margin-bottom: 0.35em; }

/* ---------- Team ---------- */

.team-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--plum-deep);
  color: #c3b2d4;
  font-size: 0.95rem;
  padding-block: 3.2rem 1.6rem;
}
.footer-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ede5f4;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: #c3b2d4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #fdfcf9; }
.footer-brand .brand-tag { color: #9c88b0; }
.footer-brand svg { color: #b491cf; }
.footer-brand p { margin-top: 1rem; color: #c3b2d4; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.1rem; }
.footer-social a {
  display: inline-flex;
  padding: 0.5rem;
  border: 1px solid #55367c;
  border-radius: 999px;
}
.footer-social a:hover { border-color: #9c88b0; }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid #4c2c70;
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9c88b0;
}
.footer-bottom p { margin: 0 auto 0.4rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; margin-bottom: 0.8rem; padding: 0; list-style: none; }

.fg-credit { display: flex; justify-content: center; margin-top: 1.2rem; }
.fg-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #967fae;
  text-decoration: none;
  transition: color 0.2s;
}
.fg-credit a:hover { color: #fff; text-decoration: none; }
.fg-credit img { height: 20px; width: auto; }

/* ---------- Sticky mobile action bar ---------- */

.sticky-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -12px rgba(42, 22, 60, 0.35);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0.4rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.sticky-actions a:first-child { color: var(--plum-deep); }
.sticky-actions svg { width: 22px; height: 22px; }
@media (min-width: 920px) { .sticky-actions { display: none; } }
@media (max-width: 919px) { body { padding-bottom: 64px; } }

/* ---------- Reveal on scroll (JS adds .reveal-ready; reduced-motion safe) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-ready [data-reveal].is-visible { opacity: 1; translate: 0 0; }
}

/* ---------- Print ---------- */

@media print {
  .site-header, .sticky-actions, .announce, .cta-band, .site-footer { display: none; }
}
