/* hawke-salons shared layout: Scarbra Barbra's page (Jesse's barber/hair standard), themed per site with these tokens. Mobile first. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fff; --paper: #fff; --tint: #F4F2EE; --ink: #111; --ink-soft: #555; --line: rgba(17,17,17,.12);
  --accent: #111; --accent-ink: #fff; --display: Georgia, serif; --sans: system-ui, sans-serif; --price-font: var(--display);
  --r: 10px; --ease: cubic-bezier(0.16, 1, 0.3, 1); --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --shadow: 0 1px 2px rgba(17,17,17,0.06), 0 12px 32px rgba(17,17,17,0.10);
}
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: hidden; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 7vw, 3.2rem); line-height: 1.05; margin-bottom: 28px; }
h3 { font-size: 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }

.btn { display: inline-block; padding: 14px 26px; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn:focus-visible, .links a:focus-visible, .ig-follow:focus-visible, .rev-pill:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-small { padding: 9px 18px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { opacity: 1; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.links { display: none; gap: 28px; font-weight: 500; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .btn-small { display: none; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease, background .2s ease; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
.burger:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mmenu { position: absolute; left: 0; right: 0; top: 100%; padding: 6px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 34px rgba(0,0,0,0.14); animation: mdrop .22s ease-out; }
.mmenu[hidden] { display: none; }
.mmenu a:not(.btn) { display: block; padding: 14px 2px; font-size: 1.15rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mmenu .btn { display: block; margin-top: 18px; text-align: center; }
@keyframes mdrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Hero basics (each site draws its own) */
.hero { position: relative; overflow: hidden; }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.lead { font-size: clamp(1.08rem, 3.4vw, 1.25rem); max-width: 34ch; margin-bottom: 28px; }
.rating { margin-top: 24px; font-size: 0.95rem; color: var(--ink-soft); }
.stars { color: var(--accent); letter-spacing: 2px; margin-right: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 0 4px; font-size: 0.92rem; font-weight: 700; color: var(--ink-soft); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9A968F; }
.status.open { color: var(--ink); }
.status.open::before { background: #2F9E4F; animation: live 2.2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(47,158,79,.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(47,158,79,0); } }
.hero-in > * { animation: rise 0.8s var(--ease) both; }
.hero-in > :nth-child(2) { animation-delay: .08s; } .hero-in > :nth-child(3) { animation-delay: .16s; }
.hero-in > :nth-child(4) { animation-delay: .24s; } .hero-in > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Sections */
.section { padding: 72px 0; scroll-margin-top: 64px; }
.section-tint { background: var(--tint); }
.intro { max-width: 60ch; color: var(--ink-soft); margin: -12px 0 28px; }

/* Price menu */
.menu { display: grid; gap: 36px; }
.menu ul { list-style: none; }
.menu li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); transition: transform 0.2s var(--ease); }
.item { font-weight: 700; font-size: 1.04rem; }
.item small { display: block; font-weight: 400; font-size: 0.88rem; color: var(--ink-soft); }
.menu .price { white-space: nowrap; font-family: var(--price-font); font-size: 1.35rem; font-weight: 600; }
.gnote { margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }
.group-deal { background: var(--accent); color: var(--accent-ink); border-radius: var(--r); padding: 22px 22px 18px; align-self: start; }
.group-deal li { border-color: color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.group-deal li:last-child { border-bottom: 0; }
.group-deal .item small, .group-deal .gnote { color: color-mix(in srgb, var(--accent-ink) 75%, transparent); }

/* Reels: swipe on phones, a row of three on bigger screens */
.reels { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
  margin: 0 -20px 24px; padding: 0 20px 12px; }
.reels > * { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }
.reel { margin: 0; }
.clip { position: relative; cursor: pointer; }
.clip video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #111; border-radius: var(--r); box-shadow: var(--shadow); }
.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(17,17,17,0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") 56% 50% / 30px no-repeat;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease); }
.clip.stopped .play { opacity: 1; pointer-events: auto; }
.reel figcaption { margin-top: 10px; font-weight: 700; font-size: 0.95rem; }
.ig-follow { display: inline-block; font-weight: 700; }

/* Photo grids */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.gal figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .gal figure:hover img { transform: scale(1.04); } .menu li:hover { transform: translateX(6px); } .clip:hover video { transform: translateY(-4px); } }
.clip video { transition: transform .35s var(--ease); }

/* Reviews (layout from hawke-polish/reviews.py) */
.reviews .rev-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 30px; margin-bottom: 10px; }
.reviews .rev-head h2 { margin-bottom: 0; }
.rev-note { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 18px; }
.rev-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.88rem; white-space: nowrap; text-decoration: none; transition: transform .3s; }
.rev-pill:hover { transform: translateY(-2px); }
.rev-pill .g { width: 16px; height: 16px; } .rev-pill .arrow { opacity: .6; } .rev-pill .score { font-weight: 700; }
.revs { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 8px 20px 30px; scrollbar-width: none; }
.revs::-webkit-scrollbar { display: none; }
.rcol { display: contents; }
.rcard { position: relative; flex: 0 0 84%; scroll-snap-align: center; margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 20px;
  background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
.r-stars { color: var(--accent); letter-spacing: 3px; font-size: 0.95rem; line-height: 1; }
.rcard blockquote { flex: 1; font-size: 1rem; line-height: 1.6; }
.rcard figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.r-av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.rcard figcaption b { display: block; font-size: 0.98rem; line-height: 1.3; }
.rcard figcaption small { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--ink-soft); }
.rcard .g { width: 13px; height: 13px; }

/* Visit */
.visit { display: grid; gap: 36px; }
.addr { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.phone { margin-bottom: 18px; } .phone a { font-weight: 700; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; margin: 12px 0 16px; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.hours th, .hours td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; }
.hours tr.today { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.hours tr.today th { font-weight: 700; }
.note { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 22px; max-width: 46ch; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--r); background: var(--line); box-shadow: var(--shadow); }

/* FAQ */
.qa { display: grid; gap: 14px; }
.qa > div { background: var(--paper); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.qa dt { font-weight: 700; font-size: 1.06rem; margin-bottom: 6px; }
.qa dd { color: var(--ink-soft); }
.qa a { color: var(--ink); font-weight: 700; }

/* About */
.about-wrap { padding: 40px 20px 56px; }
.about { border-top: 1px solid var(--line); padding-top: 18px; color: var(--ink-soft); max-width: 68ch; }
.about summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.about p { margin-top: 12px; }
.about a { color: var(--ink); }

/* Footer */
.foot { background: var(--ink); color: color-mix(in srgb, var(--bg) 75%, transparent); padding: 28px 0 96px; font-size: 0.92rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot a { color: var(--bg); }
.foot-brand { text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.credit a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bg) 40%, transparent); }

/* Phone booking pill */
.bookbar { position: fixed; right: 16px; bottom: 16px; z-index: 20; padding: 12px 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; box-shadow: 0 2px 6px rgba(17,17,17,0.28), 0 0 0 2px var(--bg); }

/* Scroll reveals */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .wrap { padding: 0 36px; }
  .about-wrap { padding: 40px 36px 56px; }
  .links { display: flex; }
  .nav .btn-small { display: inline-block; }
  .burger, .mmenu { display: none !important; }
  .bookbar { display: none; }
  .menu { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .group-deal { padding: 26px 30px 22px; }
  .reels { overflow: visible; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .gal { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; margin: 0; padding: 8px 0 24px; overflow: visible; }
  .rcol { display: grid; gap: 22px; }
  .rcol:nth-child(2) { margin-top: 40px; }
  .visit { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .map { height: 100%; min-height: 440px; }
  .qa { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .foot { padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in > *, .status.open::before, .hero * { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---- Perth Nail Studio: look taken from their Instagram ---- */
:root { --bg: #FBF4E8; --paper: #FFFDF8; --tint: #F4E6CF; --ink: #1F1A17; --ink-soft: #5E544B; --line: rgba(31,26,23,.16);
  --cherry: #9E2A2F; --accent: #1F1A17; --accent-ink: #FBF4E8; --display: 'Courier Prime', 'Courier New', monospace; --sans: 'DM Sans', system-ui, sans-serif;
  --price-font: 'Courier Prime', monospace; --r: 16px; }
h2 { font-weight: 700; letter-spacing: -.01em; }
h3 { font-family: 'Courier Prime', monospace; letter-spacing: .08em; }
.pn-mark { font: 400 1.75rem/1 'Pinyon Script', cursive; color: var(--ink); }
.hero { padding: 26px 0 64px; background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(158,42,47,.13) 2.2px, transparent 2.6px); background-size: 26px 26px; }
.hero-in { text-align: center; }
.pn-fan { position: relative; height: 168px; margin: 4px auto 24px; width: min(100%, 420px); }
.pn-fan img { position: absolute; left: 50%; top: 10px; width: 100px; height: 124px; object-fit: cover; border-radius: 14px; border: 5px solid #fff;
  box-shadow: 0 12px 28px rgba(31,26,23,.2); transform-origin: 50% 120%; animation: fan .9s var(--spring) both; }
.pn-fan img:nth-child(1) { --r: -22deg; --x: -138%; animation-delay: .05s; } .pn-fan img:nth-child(2) { --r: -11deg; --x: -95%; animation-delay: .12s; }
.pn-fan img:nth-child(3) { --r: 0deg; --x: -50%; z-index: 3; top: 0; animation-delay: .19s; } .pn-fan img:nth-child(4) { --r: 11deg; --x: -5%; z-index: 2; animation-delay: .26s; }
.pn-fan img:nth-child(5) { --r: 22deg; --x: 38%; z-index: 1; animation-delay: .33s; }
.pn-fan img { transform: translateX(var(--x)) rotate(var(--r)); }
.pn-fan img:nth-child(1), .pn-fan img:nth-child(2) { z-index: 1; }
@keyframes fan { from { transform: translateX(-50%) rotate(0) translateY(20px); opacity: 0; } }
.pn-logo { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 12px; }
.pn-logo span { font: 400 clamp(3rem, 14vw, 4.6rem)/1.05 'Pinyon Script', cursive; color: var(--ink); }
.bottle { width: 34px; height: 52px; color: var(--cherry); }
.hero .lead { margin-inline: auto; }
.hero .cta { justify-content: center; }
.stars, .r-stars { color: var(--cherry); }
.prices .menu { background: #FFFDF8; border-radius: 6px; padding: 26px 20px; box-shadow: var(--shadow); font-family: 'Courier Prime', monospace;
  background-image: linear-gradient(transparent 0, transparent 100%); border: 1px solid var(--line); }
.prices .item { font-family: 'DM Sans', sans-serif; }
.prices .menu li { border-bottom-style: dashed; }
.prices .group-deal { background: var(--tint); color: var(--ink); }
.prices .group-deal li { border-color: var(--line); }
.prices .group-deal .item small { color: var(--ink-soft); }
.menu .price { font-weight: 700; font-size: 1.15rem; }
.gnote { color: var(--cherry); font-weight: 500; }
.pn-gal { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pn-gal .clipcell .clip { height: 100%; }
.pn-gal figure { aspect-ratio: 1; border-radius: 12px; }
.pn-gal .clipcell { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pn-gal .clipcell video { aspect-ratio: auto; height: 100%; border-radius: 12px; }
.r-av { background: var(--cherry); }
.rev-pill { background: var(--ink); }
.foot { background: #1F1A17; }
.foot .pn-mark { color: #FBF4E8; }
.bookbar { background: var(--ink); }
@media (min-width: 760px) { .pn-gal { grid-template-columns: repeat(4, 1fr); gap: 12px; } .prices .menu { padding: 34px 40px; }
  .pn-fan { height: 240px; } .pn-fan img { width: 150px; height: 182px; } }
@media (min-width: 960px) { .hero { padding: 56px 0 72px; } }
