/* ============================================================
   Lisa Richards Mobile Hair
   Warm & elegant, modernised — oat cream, espresso, dusty rose.
   Display: Fraunces · Body: Inter (large, senior-friendly).
   ============================================================ */

:root{
  --oat:#F6EFE6;
  --ivory:#FCF9F3;
  --espresso:#3B312A;
  --espresso-soft:#5C5046;
  --taupe:#8C7C6C;
  --rose:#C2887F;
  --rose-deep:#9E5E55;
  --rose-soft:#E7C3BC;
  --line:#E6DBCC;
  --shadow:0 2px 4px rgba(59,49,42,.04), 0 18px 44px -14px rgba(59,49,42,.16);
  --shadow-lg:0 6px 14px rgba(59,49,42,.06), 0 32px 64px -18px rgba(59,49,42,.22);

  --header-h:74px;
  --strip-h:40px;

  --maxw:1140px;
  --gutter:clamp(1.15rem, 4vw, 2.5rem);
  --radius:18px;

  --font-display:"Fraunces", Georgia, "Times New Roman", serif;
  --font-body:"Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--font-body);
  font-size:1.1875rem;
  line-height:1.65;
  color:var(--espresso);
  background:var(--oat);
  background-image:
    radial-gradient(1100px 620px at 82% -12%, rgba(194,136,127,.13), transparent 60%),
    radial-gradient(900px 520px at -8% 108%, rgba(194,136,127,.07), transparent 55%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,svg{ display:block; max-width:100%; }
a{ color:var(--rose-deep); }

h1,h2,h3{ font-family:var(--font-display); font-weight:500; line-height:1.06; color:var(--espresso); margin:0 0 .5em; letter-spacing:-.015em; }
p{ margin:0 0 1rem; }

.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }

/* ---------- Accessibility ---------- */
.skip-link{
  position:absolute; left:1rem; top:1rem; z-index:300;
  background:var(--espresso); color:#fff; padding:.7rem 1.1rem; border-radius:10px;
  transform:translateY(-160%); transition:transform .25s ease;
}
.skip-link:focus{ transform:translateY(0); }
:focus-visible{ outline:3px solid var(--rose-deep); outline-offset:3px; border-radius:6px; }

/* ---------- Header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(246,239,230,.72);
  backdrop-filter:saturate(150%) blur(14px); -webkit-backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled{ border-bottom-color:var(--line); box-shadow:0 6px 24px rgba(59,49,42,.06); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; min-height:74px; gap:1rem; }
.brand{ display:flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--espresso); }
.brand-text{ font-family:var(--font-display); font-size:1.32rem; line-height:1; font-weight:600; display:flex; flex-direction:column; }
.brand-sub{ font-family:var(--font-body); font-size:.62rem; font-weight:600; letter-spacing:.24em; text-transform:uppercase; color:var(--taupe); margin-top:.2rem; }

.nav{ display:flex; align-items:center; gap:1.7rem; }
.nav a{ text-decoration:none; color:var(--espresso-soft); font-weight:500; font-size:1rem; }
.nav a:not(.nav-call){ position:relative; }
.nav a:not(.nav-call)::after{ content:""; position:absolute; left:0; right:100%; bottom:-5px; height:2px; background:var(--rose); border-radius:2px; transition:right .28s ease; }
.nav a:not(.nav-call):hover{ color:var(--espresso); }
.nav a:not(.nav-call):hover::after{ right:0; }
.nav .nav-call{ color:#fff; background:var(--espresso); padding:.58rem 1.1rem; border-radius:999px; font-size:.95rem; transition:background .25s ease, transform .15s ease; }
.nav .nav-call:hover{ background:var(--rose-deep); transform:translateY(-1px); }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; padding:.5rem; cursor:pointer; }
.nav-toggle span{ width:26px; height:2.5px; background:var(--espresso); border-radius:2px; transition:transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; text-decoration:none; font-weight:600; font-size:1.05rem; padding:.95rem 1.7rem; border-radius:999px; border:1.5px solid transparent; transition:transform .18s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease; }
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--espresso); color:#fff; box-shadow:var(--shadow); }
.btn-primary:hover{ background:var(--rose-deep); box-shadow:var(--shadow-lg); }
.btn-ghost{ background:transparent; color:var(--espresso); border-color:var(--espresso); }
.btn-ghost:hover{ background:var(--espresso); color:#fff; }

/* ---------- Eyebrows / section heads ---------- */
.eyebrow{ font-size:.8rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--rose-deep); margin:0 0 .9rem; display:flex; align-items:center; gap:.6rem; }
.eyebrow::before{ content:""; width:1.9rem; height:1.5px; background:var(--rose); display:inline-block; }
.section-head{ font-size:clamp(2rem, 4.5vw, 3rem); margin-bottom:1.4rem; max-width:18ch; }

/* ---------- Section rhythm ---------- */
.section{ padding-block:clamp(3.4rem, 8.5vw, 6.5rem); position:relative; }
.about{ background:var(--ivory); }
.area{ background:var(--ivory); }

/* ---------- Flourish divider ---------- */
.flourish{ display:block; text-align:center; padding-block:1.6rem; }
.flourish svg{ width:140px; height:auto; margin-inline:auto; }
.flourish path{ fill:none; stroke:var(--rose); stroke-width:2; stroke-linecap:round; }
.flourish circle{ fill:var(--rose-deep); }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; padding-block:clamp(3rem, 8vw, 6.5rem); }
.hero-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1.12fr .88fr; gap:clamp(1.8rem, 5vw, 4rem); align-items:center; }
.hero-figure{ position:relative; display:flex; justify-content:center; align-items:center; animation:fadeScale 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-figure::before{ content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:104%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle, rgba(194,136,127,.30), rgba(246,239,230,0) 66%); z-index:-1; }
.hero-logo{ width:min(100%, 400px); height:auto; filter:drop-shadow(0 12px 30px rgba(59,49,42,.16)); }
.hero-title{ font-size:clamp(2.7rem, 7vw, 4.8rem); font-weight:500; margin-bottom:1.1rem; letter-spacing:-.02em; }
.accent-word{ position:relative; color:var(--rose-deep); font-style:italic; white-space:nowrap; }
.accent-word .underline{ position:absolute; left:0; right:0; bottom:-.12em; width:100%; height:.4em; }
.accent-word .underline path{ fill:none; stroke:var(--rose); stroke-width:5; stroke-linecap:round; }
.hero-lead{ font-size:clamp(1.15rem, 2.2vw, 1.42rem); color:var(--espresso-soft); max-width:46ch; margin-bottom:1.9rem; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:.9rem; margin-bottom:2rem; }
.hero-why{ list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:.5rem .9rem; padding:0; margin:.5rem 0 0; }
.hero-why li{ font-size:.92rem; color:var(--espresso-soft); line-height:1.45; }
.hero-why strong{ color:var(--espresso); font-weight:600; }
.hero-strand{ position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.4; }
.hero-strand svg{ width:100%; height:100%; }
.hero-strand path{ fill:none; stroke:var(--rose); stroke-width:2; stroke-linecap:round; opacity:.5; }
.hero-strand path.thin{ stroke-width:1; opacity:.3; }

/* ---------- On-load motion ---------- */
@keyframes riseIn{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }
@keyframes fadeScale{ from{ opacity:0; transform:scale(.94); } to{ opacity:1; transform:none; } }
.hero-text > *{ animation:riseIn .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > *:nth-child(1){ animation-delay:.05s; }
.hero-text > *:nth-child(2){ animation-delay:.12s; }
.hero-text > *:nth-child(3){ animation-delay:.19s; }
.hero-text > *:nth-child(4){ animation-delay:.26s; }
.hero-text > *:nth-child(5){ animation-delay:.33s; }

/* ---------- About ---------- */
.about-grid{ display:grid; grid-template-columns:1.5fr 1fr; gap:clamp(1.6rem, 4vw, 3.5rem); align-items:start; }
.about-copy p{ color:var(--espresso-soft); }
.quals{ list-style:none; margin:1.3rem 0 0; padding:0; display:grid; gap:.55rem; }
.quals li{ position:relative; padding-left:1.5rem; color:var(--espresso-soft); font-size:1rem; }
.quals li::before{ content:""; position:absolute; left:0; top:.62em; width:.5rem; height:.5rem; background:var(--rose); border-radius:50%; }
.about-card{ background:var(--oat); border:1px solid var(--line); border-radius:var(--radius); padding:1.8rem; box-shadow:var(--shadow); transition:transform .3s ease, box-shadow .3s ease; }
.about-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.about-card h3{ font-size:1.4rem; margin-bottom:1.1rem; }
.checks{ list-style:none; margin:0; padding:0; display:grid; gap:1.1rem; }
.checks li{ display:flex; gap:.85rem; align-items:flex-start; }
.checks strong{ display:block; font-size:1.02rem; }
.checks span:not(.tick){ display:block; font-size:.92rem; color:var(--taupe); line-height:1.45; }
.tick{ flex:0 0 auto; width:1.5rem; height:1.5rem; border-radius:50%; background:var(--rose); position:relative; margin-top:.15rem; }
.tick::after{ content:""; position:absolute; left:.5rem; top:.28rem; width:.35rem; height:.7rem; border:solid #fff; border-width:0 2.5px 2.5px 0; transform:rotate(45deg); }

/* ---------- Services / price menu ---------- */
.menu{ max-width:700px; margin-top:1.6rem; background:var(--ivory); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.5rem, 3.5vw, 2.6rem); box-shadow:var(--shadow); }
.menu-group{ font-family:var(--font-display); font-size:1.4rem; font-weight:600; color:var(--rose-deep); margin:1.9rem 0 .4rem; }
.menu-group:first-child{ margin-top:0; }
.price-row{ display:flex; align-items:baseline; gap:.6rem; padding:.65rem 0; }
.price-row .name{ font-size:1.15rem; font-weight:500; color:var(--espresso); }
.note-inline{ font-size:.85rem; color:var(--taupe); font-weight:400; font-style:italic; }
.price-row .dots{ flex:1 1 auto; align-self:flex-end; border-bottom:2px dotted var(--line); transform:translateY(-.35rem); min-width:1.5rem; }
.price-row .price{ font-family:var(--font-display); font-size:1.25rem; font-weight:500; color:var(--rose-deep); white-space:nowrap; }
.menu-note{ margin-top:1.5rem; color:var(--taupe); font-size:.98rem; max-width:46ch; }


/* ---------- Service area ---------- */
.area-inner{ max-width:760px; }
.towns{ list-style:none; display:flex; flex-wrap:wrap; gap:.7rem; padding:0; margin:.3rem 0 1.2rem; }
.towns li{ background:var(--oat); border:1px solid var(--line); border-radius:999px; padding:.5rem 1.1rem; font-weight:500; font-size:1rem; color:var(--espresso-soft); transition:transform .2s ease, border-color .2s ease, color .2s ease; }
.towns li:hover{ transform:translateY(-2px); border-color:var(--rose); color:var(--espresso); }
.area-note{ color:var(--taupe); }

/* ---------- Contact ---------- */
.contact-split{ display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(1.6rem,4vw,3.5rem); align-items:start; }
.contact-lead{ font-size:1.18rem; color:var(--espresso-soft); max-width:46ch; }
.contact-actions{ display:flex; flex-wrap:wrap; gap:.9rem; margin:1.5rem 0 0; }
.contact-area-head{ font-size:1.3rem; margin:.3rem 0 .8rem; }
.contact-area .area-note{ margin-top:.6rem; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--espresso); color:#EBE3D8; padding-block:2.8rem; border-top:3px solid var(--rose); }
.footer-brand{ font-family:var(--font-display); font-size:1.5rem; color:#fff; margin:0 0 .4rem; }
.footer-meta{ margin:.2rem 0; color:#C9BEAE; font-size:.98rem; }
.footer-meta a{ color:#fff; }
.footer-fine{ margin-top:1rem; font-size:.85rem; color:#9C9080; }

/* ---------- Tabs (pricing) ---------- */
.tabs{ max-width:720px; margin-top:1.6rem; }
.tablist{ display:none; flex-wrap:wrap; gap:.5rem; margin-bottom:1.2rem; }
.tabs.js-on .tablist{ display:flex; }
.tab{ font-family:var(--font-body); font-size:1rem; font-weight:600; color:var(--espresso-soft); background:var(--ivory); border:1px solid var(--line); border-radius:999px; padding:.55rem 1.15rem; cursor:pointer; transition:background .2s ease, color .2s ease, border-color .2s ease; }
.tab:hover{ border-color:var(--rose); color:var(--espresso); }
.tab[aria-selected="true"]{ background:var(--espresso); color:#fff; border-color:var(--espresso); }
.tabpanels{ background:var(--ivory); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.3rem, 3.2vw, 2.3rem); box-shadow:var(--shadow); }
.tabs.js-on .tabpanels{ display:grid; overflow:hidden; }
.tabs.js-on .tabpanel{ grid-row:1; grid-column:1; opacity:0; pointer-events:none; }
.tabs.js-on .tabpanel.active{ opacity:1; pointer-events:auto; transform:none; }
.tabs.js-on .tabpanel.tab-out-left{ pointer-events:none; animation:tabExitLeft .51s ease both; }
.tabs.js-on .tabpanel.tab-out-right{ pointer-events:none; animation:tabExitRight .51s ease both; }
.tabs.js-on .tabpanel.tab-in-right{ animation:tabEnterRight .51s ease both; }
.tabs.js-on .tabpanel.tab-in-left{ animation:tabEnterLeft .51s ease both; }
@keyframes tabExitLeft{ from{ transform:translateX(0); opacity:1; } to{ transform:translateX(-100%); opacity:0; } }
@keyframes tabExitRight{ from{ transform:translateX(0); opacity:1; } to{ transform:translateX(100%); opacity:0; } }
@keyframes tabEnterRight{ from{ transform:translateX(100%); opacity:0; } to{ transform:translateX(0); opacity:1; } }
@keyframes tabEnterLeft{ from{ transform:translateX(-100%); opacity:0; } to{ transform:translateX(0); opacity:1; } }
.tabpanel .menu-group{ margin:1.5rem 0 .4rem; }
.tabpanel .menu-group:first-child{ margin-top:0; }


/* ---------- Responsive ---------- */
@media (max-width:860px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-figure{ order:-1; justify-content:center; margin-bottom:1.2rem; }
  .hero-figure::before{ width:70%; }
  .hero-logo{ width:min(68%, 260px); }
  .hero-why{ grid-template-columns:1fr; }
  /* Hide the static hero & contact call buttons on mobile — the floating call CTA already covers it */
  .hero-actions .btn-primary, .contact-actions .btn-primary{ display:none; }
  .about-grid{ grid-template-columns:1fr; }
  .about-card{ order:-1; }
  .contact-split{ grid-template-columns:1fr; }
  /* Price rows on mobile: name left, price right, note on its own line (dotted leader is desktop-only) */
  .price-row{ justify-content:space-between; align-items:baseline; }
  .price-row .dots{ display:none; }
  .price-row .note-inline{ display:block; }
}

/* Sticky mobile call button */
.mobile-cta{ display:none; }
@media (max-width:860px){
  .mobile-cta{
    display:flex;
    align-items:center;
    justify-content:center;
    position:fixed;
    bottom:1rem;
    left:1rem;
    right:1rem;
    z-index:80;
    background:var(--espresso);
    color:#fff;
    text-decoration:none;
    font-family:var(--font-body);
    font-weight:600;
    font-size:1.05rem;
    padding:1rem 1.5rem;
    border-radius:999px;
    box-shadow:0 4px 24px rgba(59,49,42,.28);
    transition:background .2s ease, transform .15s ease;
  }
  .mobile-cta:hover{ background:var(--rose-deep); transform:translateY(-2px); }
  body{ padding-bottom:5.5rem; }
}
html.deck-mode .mobile-cta{ display:none !important; }
@media (max-width:820px){
  .nav-toggle{ display:flex; }
  .nav{
    position:absolute; top:74px; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--oat); border-bottom:1px solid var(--line);
    padding:.5rem var(--gutter) 1.2rem; box-shadow:var(--shadow);
    clip-path:inset(0 0 100% 0); opacity:0; pointer-events:none;
    transition:clip-path .3s ease, opacity .3s ease;
  }
  .nav.open{ clip-path:inset(0 0 0 0); opacity:1; pointer-events:auto; }
  .nav a{ padding:.85rem .2rem; border-bottom:1px solid var(--line); font-size:1.1rem; }
  .nav a:not(.nav-call)::after{ display:none; }
  .nav .nav-call{ margin-top:.8rem; text-align:center; border-bottom:0; }
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .btn:hover, .about-card:hover, .towns li:hover{ transform:none; }
  .hero-text > *, .hero-figure{ animation:none; }
  .tabs.js-on .tabpanel.tab-out-left,
  .tabs.js-on .tabpanel.tab-out-right{ animation:none; }
  .tabs.js-on .tabpanel.tab-in-right,
  .tabs.js-on .tabpanel.tab-in-left{ animation:none; }
}

/* ========== Deck mode — no-scroll panel layout (large/tall screens only) ========== */
html.deck-mode,
html.deck-mode body{ height:100%; overflow:hidden; }

html.deck-mode .site-header{ position:fixed; top:0; left:0; right:0; }
html.deck-mode .site-footer{ display:none; }
html.deck-mode .flourish{ display:none; }

html.deck-mode .deck{
  position:fixed;
  top:var(--header-h);
  left:0; right:0;
  bottom:var(--strip-h);
  overflow:hidden;
  touch-action:pan-y;
}

html.deck-mode .panel{
  position:absolute;
  inset:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-block:clamp(1rem,2.5vw,1.8rem);
  visibility:hidden;
  pointer-events:none;
  will-change:transform;
}
html.deck-mode .panel.active{ visibility:visible; pointer-events:auto; }
html.deck-mode .panel.deck-out-left{ visibility:visible; pointer-events:none; animation:deckExitLeft 1.2s cubic-bezier(.2,.7,.2,1) both; }
html.deck-mode .panel.deck-out-right{ visibility:visible; pointer-events:none; animation:deckExitRight 1.2s cubic-bezier(.2,.7,.2,1) both; }
html.deck-mode .panel.deck-in-right{ animation:deckEnterRight 1.2s cubic-bezier(.2,.7,.2,1) both; }
html.deck-mode .panel.deck-in-left{ animation:deckEnterLeft 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes deckExitLeft{ from{ transform:translateX(0); } to{ transform:translateX(-100%); } }
@keyframes deckExitRight{ from{ transform:translateX(0); } to{ transform:translateX(100%); } }
@keyframes deckEnterRight{ from{ transform:translateX(100%); } to{ transform:translateX(0); } }
@keyframes deckEnterLeft{ from{ transform:translateX(-100%); } to{ transform:translateX(0); } }

@media (prefers-reduced-motion:reduce){
  html.deck-mode .panel.deck-out-left,
  html.deck-mode .panel.deck-out-right{ animation:none; opacity:0; }
  html.deck-mode .panel.deck-in-right,
  html.deck-mode .panel.deck-in-left{ animation:none; }
}

/* ---------- Deck nav pill (prev · dots · next) ---------- */
.deck-nav{ display:none; }
html.deck-mode .deck-nav{
  display:flex;
  align-items:center;
  gap:.85rem;
  position:fixed;
  bottom:calc(var(--strip-h) + .8rem);
  left:50%;
  transform:translateX(-50%);
  z-index:50;
  background:rgba(246,239,230,.92);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid var(--line);
  border-radius:999px;
  padding:.45rem .85rem;
  box-shadow:var(--shadow);
}
.deck-prev,
.deck-next{
  background:none;
  border:1px solid var(--line);
  color:var(--espresso);
  width:2.1rem; height:2.1rem;
  border-radius:50%;
  font-size:1.35rem;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease, border-color .2s ease, transform .15s ease;
  padding:0;
}
.deck-prev:hover:not(:disabled),
.deck-next:hover:not(:disabled){
  background:var(--espresso);
  color:#fff;
  border-color:var(--espresso);
  transform:translateY(-1px);
}
.deck-prev:disabled,
.deck-next:disabled{ opacity:.3; cursor:not-allowed; }

.deck-dots{ display:flex; gap:.5rem; align-items:center; }
.deck-dots button{
  width:.58rem; height:.58rem;
  border-radius:50%;
  border:1.5px solid var(--espresso);
  background:transparent;
  cursor:pointer; padding:0;
  transition:background .2s ease, transform .2s ease;
}
.deck-dots button[aria-selected="true"]{
  background:var(--espresso);
  transform:scale(1.4);
}

/* ---------- Slim footer strip ---------- */
.deck-strip{ display:none; }
html.deck-mode .deck-strip{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.6rem;
  position:fixed;
  bottom:0; left:0; right:0;
  height:var(--strip-h);
  background:var(--espresso);
  color:#C9BEAE;
  font-size:.8rem;
  z-index:50;
  padding-inline:var(--gutter);
  border-top:2px solid var(--rose);
}
.deck-strip a{ color:#fff; text-decoration:none; }
.deck-strip a:hover{ color:var(--rose-soft); }

/* ---------- Screen-reader announce region ---------- */
.deck-announce{
  position:absolute;
  width:1px; height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
