/* ==== Locks of Love design system ==== */
:root {
  --cream: #FAF6F0;         /* page background */
  --cream-soft: #FCF9F6;    /* alt background */
  --stone: #F1EAE1;         /* card / strip background */
  --blush: #E8B4AD;         /* accent: buttons, borders, highlights */
  --blush-hover: #DFA49C;
  --blush-tint: #F7E9E6;    /* pale blush section background */
  --rose-text: #96605A;     /* small accent text — AA on cream */
  --charcoal: #1C1B1A;      /* dark sections, headings, body text */
  --charcoal-soft: #242321;
  --ink: #2B2A28;           /* body text */
  --ink-muted: #5C5852;     /* secondary text — AA on cream */
  --paper: #F5EFE8;         /* light text on charcoal */
  --paper-muted: #CFC8BF;   /* secondary text on charcoal — AA */
  --border: #E3D9CC;        /* fine warm border */
  --border-dark: #3A3835;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;
  --radius: 4px;
  --container: 1280px;
  --pad-x: clamp(20px, 5vw, 64px);
  --sec-y: clamp(56px, 9vw, 140px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--rose-text); outline-offset: 3px; }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
.section--stone { background: var(--stone); }
.section--blush { background: var(--blush-tint); }
.section--dark { background: var(--charcoal); color: var(--paper); }
.section--dark .section-head h2, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark p { color: var(--paper-muted); }

/* Typography */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--charcoal); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.eyebrow { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-text); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--blush); }
.script { font-family: var(--font-script); font-weight: 400; }
.signature { font-family: var(--font-script); font-size: 2rem; color: var(--charcoal); }
.section-head { max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--ink-muted); margin-top: 14px; }
.lead { font-size: 1.15rem; color: var(--ink-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 13px 28px; border: 1px solid transparent; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn-primary { background: var(--blush); color: var(--charcoal); }
.btn-primary:hover { background: var(--blush-hover); }
.btn-dark { background: var(--charcoal); color: var(--paper); }
.btn-dark:hover { background: var(--charcoal-soft); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--blush); }
.btn-outline:hover { background: var(--blush); }
.section--dark .btn-outline { color: var(--paper); }
.section--dark .btn-outline:hover { color: var(--charcoal); }
.text-link { font-weight: 600; font-size: 0.9rem; color: var(--rose-text); border-bottom: 1px solid var(--blush); padding-bottom: 2px; }
.text-link:hover { color: var(--charcoal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--charcoal); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 14px var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--paper); }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--blush); margin-top: 6px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav a { color: var(--paper); font-size: 0.9rem; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blush); border-bottom-color: var(--blush); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; background: var(--charcoal); color: var(--paper); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.hero-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: clamp(80px, 12vw, 170px) var(--pad-x); }
.hero-inner h1 { color: var(--paper); max-width: 14ch; }
.hero-inner .lead { color: var(--paper-muted); max-width: 44ch; margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .eyebrow { color: var(--blush); }
.hero .btn-outline { color: var(--paper); }
.hero .btn-outline:hover { color: var(--charcoal); }
.hero-curve { display: block; width: 100%; height: 70px; fill: var(--cream); margin-top: -1px; }

/* Cards & grids */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature { text-align: center; padding: 0 12px; }
.feature-icon { width: 58px; height: 58px; margin: 0 auto 18px; border: 1px solid var(--blush); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--rose-text); }
.feature-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--ink-muted); font-size: 0.95rem; }
.card { background: var(--cream-soft); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 26px; }
.card-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-text); }
.card-body h3 { margin: 8px 0 6px; }
.card-desc { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 16px; }
.card-body h3 a { color: inherit; }
.card-body h3 a:hover { color: var(--rose-text); }
.card-desc a { color: var(--rose-text); border-bottom: 1px solid var(--blush); }
.card-desc a:hover { color: var(--charcoal); }
.price-row a:hover { color: var(--rose-text); }

/* Price rows */
.price-list { border-top: 1px solid var(--border); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--border); transform: translateY(-4px); }
.price-row .amount { font-weight: 600; color: var(--charcoal); white-space: nowrap; }
.price-note { font-size: 0.85rem; color: var(--ink-muted); margin-top: 6px; }

/* Before / After */
.ba-pair { position: relative; border-radius: var(--radius); overflow: hidden; }
.ba-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-label { position: absolute; bottom: 12px; left: 12px; background: var(--charcoal); color: var(--paper); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; }
.ba-label--after { left: auto; right: 12px; background: var(--blush); color: var(--charcoal); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Testimonials */
.review-card { background: var(--cream-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.section--dark .review-card { background: var(--charcoal-soft); border-color: var(--border-dark); }
.stars { color: var(--blush); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 14px; }
.review-quote { font-style: italic; color: var(--ink-muted); font-size: 0.97rem; margin-bottom: 18px; }
.section--dark .review-quote { color: var(--paper-muted); }
.review-author { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.review-meta { font-size: 0.8rem; color: var(--ink-muted); }
.section--dark .review-author { color: var(--paper); }

/* Brand strip */
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 6vw, 72px); }
.brand-strip img { height: 44px; width: auto; filter: grayscale(1); opacity: 0.65; transition: opacity .25s; }
.brand-strip img:hover { opacity: 1; }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; cursor: pointer; font-weight: 600; font-size: 0.97rem; color: var(--charcoal); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-display); font-size: 1.4rem; color: var(--rose-text); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 20px; color: var(--ink-muted); font-size: 0.95rem; max-width: 65ch; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 52ch; margin: 0 auto 28px; }

/* Info strip (services) */
.info-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; background: var(--cream-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.info-strip h3 { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.info-strip p { font-size: 0.87rem; color: var(--ink-muted); }

/* Category anchor nav (services page) */
.cat-nav { position: sticky; top: 64px; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cat-nav ul { display: flex; gap: 8px; padding: 10px var(--pad-x); max-width: var(--container); margin: 0 auto; }
.cat-nav a { display: inline-block; white-space: nowrap; padding: 9px 18px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: var(--ink-muted); }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }

/* Editorial split (about) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.collage img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }

/* Steps (appointment journey) */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 30px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--rose-text); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-muted); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--paper-muted); padding: clamp(56px, 8vw, 90px) 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color: var(--paper); font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a:hover { color: var(--blush); }
.site-footer li { margin-bottom: 10px; }
.footer-hours li { display: flex; justify-content: space-between; max-width: 240px; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { display: flex; width: 38px; height: 38px; border: 1px solid var(--border-dark); border-radius: 50%; align-items: center; justify-content: center; }
.footer-social svg { width: 17px; height: 17px; fill: var(--paper-muted); }
.footer-social a:hover svg { fill: var(--blush); }
.copyright { border-top: 1px solid var(--border-dark); padding-top: 24px; text-align: center; font-size: 0.8rem; }

/* Article prose + breadcrumb (service & blog pages) */
.prose { max-width: 740px; margin: 0 auto; }
.prose h2 { margin: 40px 0 14px; }
.prose p { color: var(--ink-muted); margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 22px; color: var(--ink-muted); margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--rose-text); border-bottom: 1px solid var(--blush); }
.prose a:hover { color: var(--charcoal); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; color: var(--ink-muted); }
.prose th { font-weight: 600; color: var(--charcoal); }
.prose thead th { border-bottom: 2px solid var(--blush); }
.breadcrumb { font-size: 0.85rem; color: var(--ink-muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--rose-text); }
.breadcrumb a:hover { color: var(--charcoal); }
.breadcrumb span { margin: 0 6px; }

/* Utilities */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.justify-center { justify-content: center; }
.script-accent { font-size: 1.6rem; color: var(--rose-text); }
.footer-blurb { margin-top: 16px; max-width: 30ch; }

/* Reveal animation — hiding only applies once JS has confirmed it is running,
   so content can never be stuck invisible if the script fails to load. */
.has-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.has-js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .info-strip { grid-template-columns: 1fr 1fr; }
  .split, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-nav { position: fixed; inset: 0; top: 64px; background: var(--charcoal); padding: 32px var(--pad-x); transform: translateX(100%); transition: transform .3s; }
  .site-nav.is-open { transform: none; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--border-dark); }
  .nav-toggle { display: block; }
  .header-book { display: none; }
  .site-header.nav-open .header-book { display: none; }
  .grid-3, .info-strip { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
