/* ==========================================================================
   Natasha's Hair Salon & Spa Beauty Clinic — Design System
   Brand: deep emerald + antique gold + petal blush + wine accent + ivory paper
   ========================================================================== */

:root {
  /* ==========================================================================
     Colour tokens — V2 "Girly" theme (romantic rose + gold + blush + raspberry)
     V1 (deep emerald + gold) is preserved in /v1-backup — say "revert to V1"
     and these values can be swapped back to restore it.
     ========================================================================== */
  --ink-emerald: #7a2c50;
  --emerald-deep: #4b1834;
  --antique-gold: #cda45c;
  --gold-soft: #f0d9a8;
  --petal-blush: #fad9e7;
  --petal-deep: #f4b4d0;
  --wine-accent: #d6336c;
  --ivory-paper: #fdf6f8;
  --charcoal-ink: #2b1e22;

  /* Type roles */
  --font-display: "Italiana", "Cormorant", "Times New Roman", serif;
  --font-script: "Bonheur Royale", "Parisienne", cursive;
  --font-body: "Instrument Sans", "Work Sans", system-ui, sans-serif;
  --font-utility: "Space Grotesk", "IBM Plex Mono", monospace;

  /* Fluid type scale */
  --size-h1: clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --size-h2: clamp(2rem, 3vw + 1rem, 3.25rem);
  --size-h3: clamp(1.375rem, 1.5vw + 1rem, 1.75rem);
  --size-body: 1.0625rem;
  --size-small: 0.875rem;
  --size-price: clamp(1.5rem, 2vw + 1rem, 2.25rem);

  /* Spacing */
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --section-pad-desktop: 128px;
  --section-pad-mobile: 48px;

  /* Layout */
  --container-max: 1240px;
  --header-h: 104px;
  --utility-h: 40px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-reveal: 400ms;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--utility-h));
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-property: opacity !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-image {
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--size-body);
  color: var(--charcoal-ink);
  background: var(--ivory-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0; }

/* Visible focus ring everywhere — never removed */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--antique-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink-emerald);
  color: var(--ivory-paper);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.num {
  font-family: var(--font-utility);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   Panel rhythm — the alternating ivory / emerald / blush backbone
   ========================================================================== */

.panel-ivory { background: var(--ivory-paper); color: var(--charcoal-ink); }
.panel-emerald { background: var(--ink-emerald); color: var(--ivory-paper); }
.panel-blush { background: var(--petal-blush); color: var(--charcoal-ink); }

/* ==========================================================================
   Shared utilities
   ========================================================================== */

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin: 0 0 var(--space-16);
}

.section-title {
  font-size: var(--size-h2);
  color: var(--ink-emerald);
}
.panel-emerald .section-title { color: var(--ivory-paper); }

.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--antique-gold);
  margin-right: 10px;
  font-size: 0.85em;
}

.section-sub {
  font-size: var(--size-body);
  color: var(--charcoal-ink);
  opacity: 0.75;
  max-width: 46ch;
  margin-top: var(--space-16);
}
.panel-emerald .section-sub { color: var(--gold-soft); opacity: 1; }

.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-64);
  text-align: center;
}
.section-head.light .eyebrow { color: var(--gold-soft); }

/* Ribbon / bow line-art divider */
.bow-divider {
  width: 120px;
  height: 20px;
  color: var(--antique-gold);
  margin: var(--space-24) 0;
}
.bow-divider.center { margin-left: auto; margin-right: auto; }
.bow-divider svg { width: 100%; height: 100%; }
.panel-emerald .bow-divider,
.panel-emerald .bow-divider svg { color: var(--antique-gold); }

/* ==========================================================================
   Buttons — border draws/fills, no scale transforms
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-radius: 3px;
  border: 1px solid transparent;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.btn .icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn-solid {
  background: var(--ink-emerald);
  color: var(--ivory-paper);
  border-color: var(--ink-emerald);
}
.btn-solid:hover {
  background: var(--wine-accent);
  border-color: var(--wine-accent);
}

.btn-line {
  background: transparent;
  border: 1px solid var(--antique-gold);
  color: var(--ink-emerald);
}
.panel-emerald .btn-line,
.panel-blush .btn-line { color: inherit; }
.btn-line:hover {
  background: var(--antique-gold);
  color: var(--ink-emerald);
}

.btn-full { width: 100%; }

.nav-cta-group {
  display: none;
  align-items: center;
  gap: var(--space-16);
}
@media (min-width: 960px) {
  .nav-cta-group { display: flex; }
}

/* ==========================================================================
   Scroll reveal — fade + rise 16px, once only, opacity-only on reduced motion
   ========================================================================== */

.reveal, .reveal-left, .reveal-right, .reveal-image {
  opacity: 0;
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 80ms);
}
.reveal { transform: translateY(16px); }
.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-image { transform: scale(1.04); }

.reveal.in-view, .reveal-left.in-view, .reveal-right.in-view {
  opacity: 1;
  transform: none;
}
.reveal-image.in-view {
  opacity: 1;
  transform: scale(1);
  transition-duration: 900ms;
}

/* ==========================================================================
   Utility bar
   ========================================================================== */

.utility-bar {
  background: var(--emerald-deep);
  color: var(--gold-soft);
  height: var(--utility-h);
}
.utility-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--size-small);
}
.utility-call { transition: color 0.3s ease; }
.utility-call:hover { color: var(--ivory-paper); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--ivory-paper);
  border-bottom: 1px solid rgba(205, 164, 92, 0.25);
  transition: height 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  height: 76px;
  box-shadow: 0 12px 30px rgba(122, 44, 80, 0.08);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-32);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  flex-shrink: 0;
}
.brand-script {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--ink-emerald);
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--antique-gold);
  margin-top: 2px;
}

.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-32);
}
.main-nav a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--charcoal-ink);
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--antique-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--ink-emerald);
  transition: all 0.3s var(--ease-out);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 959px) {
  /* Slightly larger invisible tap area for the hamburger icon (touch target) */
  .nav-toggle { padding: 11px; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: calc(var(--header-h) + var(--utility-h));
    background: var(--ivory-paper);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-32);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
  }
  .nav-open .main-nav {
    display: flex;
    transform: translateX(0);
  }
  .main-nav a {
    font-family: var(--font-display);
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: var(--section-pad-mobile) var(--space-32);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-48);
  align-items: center;
}

.hero-title {
  font-size: var(--size-h1);
  color: var(--ink-emerald);
  max-width: 16ch;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--charcoal-ink);
  opacity: 0.8;
  max-width: 42ch;
  margin-bottom: var(--space-32);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

.hero-media {
  position: relative;
  border-radius: 38% 62% 63% 37% / 45% 42% 58% 55%;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -20px rgba(122, 44, 80, 0.35);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 860px) {
  .hero {
    padding: var(--section-pad-desktop) 0 var(--section-pad-desktop) var(--space-64);
    position: relative;
  }
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    max-width: none;
    padding-right: 0;
  }
  .hero-copy { max-width: 640px; margin-left: auto; padding-right: var(--space-64); }
  .hero-media {
    margin-right: calc((100vw - var(--container-max)) / -2);
    max-width: 560px;
    justify-self: end;
  }
}
@media (min-width: 1280px) {
  .hero-copy { padding-left: calc((100vw - var(--container-max)) / 2); }
}

/* ==========================================================================
   Welcome banner (emerald motif band)
   ========================================================================== */

.welcome-banner {
  padding: var(--space-48) var(--space-32);
  text-align: center;
}
.welcome-text {
  font-family: var(--font-display);
  font-size: var(--size-h3);
  color: var(--gold-soft);
  letter-spacing: 0.5px;
  margin: 0 auto;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad-mobile) var(--space-32);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-48);
  align-items: center;
}

.about-media {
  border-radius: 58% 42% 40% 60% / 55% 48% 52% 45%;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy .lead {
  font-size: 1.15rem;
  color: var(--charcoal-ink);
  margin-bottom: var(--space-24);
  line-height: 1.6;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-points li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-emerald);
  font-weight: 500;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 1px;
  background: var(--wine-accent);
}

@media (min-width: 860px) {
  .about {
    grid-template-columns: 0.85fr 1fr;
  }
  .about-media { order: 2; }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad-desktop) var(--space-32);
}
@media (max-width: 859px) {
  .services { padding: var(--section-pad-mobile) var(--space-32); }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-64);
}

.services-col-head {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--antique-gold);
}
.services-col-head h3 {
  font-size: var(--size-h3);
  color: var(--ink-emerald);
}
.icon-lg { width: 30px; height: 30px; color: var(--antique-gold); flex-shrink: 0; }

.services-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(122, 44, 80, 0.12);
  font-size: 1.05rem;
  color: var(--charcoal-ink);
  transition: padding-left 0.3s var(--ease-out), color 0.3s ease;
}
.services-list li:hover {
  padding-left: 10px;
  color: var(--wine-accent);
}

@media (min-width: 760px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   The Ledger — signature price list
   ========================================================================== */

.ledger-section {
  padding: var(--section-pad-desktop) var(--space-32);
}
@media (max-width: 859px) {
  .ledger-section { padding: var(--section-pad-mobile) var(--space-32); }
}

.ledger-title { display: flex; align-items: baseline; justify-content: center; gap: 0; }

.ledger-card {
  max-width: 760px;
  margin: 0 auto;
}

.ledger-list {
  display: flex;
  flex-direction: column;
}

.ledger-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: var(--space-16);
  padding: 20px var(--space-24);
  border-bottom: 1px solid rgba(205, 164, 92, 0.35);
  cursor: default;
  transition: background-color 220ms ease;
}
.ledger-row:hover,
.ledger-row:focus-visible {
  background-color: rgba(240, 217, 168, 0.08);
}
.ledger-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0%;
  background: var(--antique-gold);
  transition: width 250ms var(--ease-out);
}
.ledger-row:hover::after,
.ledger-row:focus-visible::after {
  width: 100%;
}

.ledger-name {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ivory-paper);
  grid-column: 1;
  position: relative;
  z-index: 1;
}
.ledger-price {
  font-size: var(--size-price);
  font-weight: 700;
  color: var(--gold-soft);
  grid-column: 2;
  transition: color 220ms ease;
  position: relative;
  z-index: 1;
}
.ledger-row:hover .ledger-price,
.ledger-row:focus-visible .ledger-price {
  color: var(--wine-accent);
}

.ledger-note {
  grid-column: 1 / -1;
  font-size: var(--size-small);
  color: var(--gold-soft);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 220ms ease, max-height 220ms ease, margin-top 220ms ease;
}
.ledger-row:hover .ledger-note,
.ledger-row:focus-visible .ledger-note {
  opacity: 0.85;
  max-height: 40px;
  margin-top: 6px;
}

.ledger-glyph {
  position: absolute;
  right: var(--space-24);
  top: 50%;
  width: 20px;
  height: 20px;
  color: var(--antique-gold);
  opacity: 0;
  transform: translateY(-50%) scale(0.7);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}
.ledger-row:hover .ledger-glyph,
.ledger-row:focus-visible .ledger-glyph {
  opacity: 0.6;
  transform: translateY(-50%) scale(1);
}
.ledger-row:hover .ledger-price,
.ledger-row:focus-visible .ledger-price {
  margin-right: 28px;
}

.ledger-footnote {
  margin-top: var(--space-32);
  text-align: center;
  font-size: var(--size-small);
  color: var(--gold-soft);
  opacity: 0.75;
  font-style: italic;
}

/* ==========================================================================
   Location
   ========================================================================== */

.location {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad-mobile) var(--space-32);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-48);
}

.info-block { margin-bottom: var(--space-24); }
.info-block h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--wine-accent);
  margin-bottom: 8px;
}
.info-block p {
  color: var(--charcoal-ink);
  line-height: 1.7;
  font-size: 1.05rem;
}

.location-map {
  min-height: 340px;
  border: 1px solid var(--antique-gold);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
}

@media (min-width: 860px) {
  .location {
    grid-template-columns: 0.9fr 1.1fr;
    padding: var(--section-pad-desktop) var(--space-32);
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad-mobile) var(--space-32) var(--section-pad-desktop);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
}

.phone-ledger {
  border: 1px solid var(--antique-gold);
}
.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-24);
  border-bottom: 1px solid rgba(205, 164, 92, 0.35);
  transition: background-color 0.3s ease;
}
.phone-row:last-child { border-bottom: none; }
.phone-row:hover { background: var(--petal-blush); }
.phone-row span:first-child {
  font-size: var(--size-small);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-ink);
  opacity: 0.65;
}
.phone-row .num {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-emerald);
}

.contact-cta-panel {
  background: var(--petal-blush);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  justify-content: center;
}
.contact-cta-panel .lead {
  font-size: 1.1rem;
  margin-bottom: var(--space-8);
}

@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: var(--space-64) var(--space-32) var(--space-32);
  border-top: 1px solid rgba(205, 164, 92, 0.3);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  padding-bottom: var(--space-32);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer-brand .brand-script { color: var(--ivory-paper); }
.footer-brand p {
  color: rgba(253, 246, 248, 0.65);
  font-size: 0.9rem;
  max-width: 32ch;
  margin-top: 8px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: var(--space-16);
}
.footer-col p { margin-bottom: 8px; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-soft); }

.social-row { display: flex; gap: 12px; }
.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(205, 164, 92, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--antique-gold);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover {
  background: var(--antique-gold);
  color: var(--emerald-deep);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: var(--space-24);
  border-top: 1px solid rgba(205, 164, 92, 0.2);
  font-size: 0.8rem;
  color: rgba(253, 246, 248, 0.5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}
.footer-staff-link {
  color: rgba(253, 246, 248, 0.35);
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-staff-link:hover,
.footer-staff-link:focus-visible {
  color: var(--antique-gold);
}

@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ==========================================================================
   Floating WhatsApp CTA — squared card, not a gradient pill
   ========================================================================== */

.floating-book {
  position: fixed;
  bottom: var(--space-24);
  right: var(--space-24);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 13px 22px;
  background: var(--ink-emerald);
  color: var(--ivory-paper);
  border: 1px solid var(--antique-gold);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 14px 30px rgba(122, 44, 80, 0.3);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out), border-color 0.3s ease, background-color 0.3s ease;
}
.floating-book.visible { transform: translateY(0); opacity: 1; }
.floating-book:hover {
  background: var(--wine-accent);
  border-color: var(--wine-accent);
}
.floating-book .icon { width: 18px; height: 18px; }

@media (max-width: 500px) {
  .floating-book span { display: none; }
  .floating-book { padding: 13px; }
}

/* ==========================================================================
   Mobile refinements (phones ≤ 480px / ≤ 640px)
   Purely additive: tightens edge padding and the Ledger's tight grid so
   nothing clips or overlaps on narrow phones. Desktop/tablet (> these
   widths) is untouched — every rule above still applies as-is.
   ========================================================================== */

@media (max-width: 640px) {
  /* Utility bar text ("Open 7 Days · ..." + phone number) is too wide to
     fit one line on a phone; let it wrap to two centered lines instead of
     overflowing the bar's fixed height and colliding with the header. */
  .utility-bar {
    height: auto;
    min-height: var(--utility-h);
    padding: 8px 0;
  }
  .utility-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Reduce edge padding so narrow phones have more room for content —
     same spacing scale, just a tighter multiple of it near the edge. */
  .utility-inner,
  .nav-inner,
  .hero,
  .about,
  .services,
  .ledger-section,
  .location,
  .contact,
  .welcome-banner,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Ledger rows: the longest service name ("Keratin Treatment") and the
     largest price ("10,000–20,000") can outgrow the row's width on the
     smallest phones. Tighten row padding/gap and scale both down slightly
     so the row never has to clip or squeeze. */
  .ledger-row {
    padding: 16px 10px;
    column-gap: 8px;
  }
  .ledger-name { font-size: 0.95rem; }
  .ledger-price { font-size: 1.15rem; }
  .ledger-glyph { right: 10px; }

  /* Match the tighter row padding above for consistency */
  .phone-row { padding: 16px; }
}
