:root {
  --ink: #111310;
  --paper: #f4f1e9;
  --accent: #c94828;
  --soft: #ded8cc;
  --muted: #696c65;
  --head: "Heebo", sans-serif;
  --body: "Assistant", sans-serif;
  --max: 1240px;
}
html[data-theme="barber"] {
  --paper: #e9e2d4;
  --accent: #a57b3c;
  --soft: #cfc2ad;
}
html[data-theme="health"] {
  --paper: #f1f6f2;
  --accent: #4f91c7;
  --soft: #cfe1dc;
}
html[data-theme="electric"] {
  --paper: #f0f2f5;
  --accent: #e73f82;
  --soft: #d6ddec;
}
html[data-theme="cafe"] {
  --paper: #efe5d2;
  --accent: #7b2f32;
  --soft: #d9c5a5;
}
html[data-theme="food"] {
  --paper: #ebe4d3;
  --accent: #b95750;
  --soft: #bfc9a9;
}
html[data-theme="salon"] {
  --paper: #f3f0e9;
  --ink: #11110f;
  --accent: #c6ff35;
  --soft: #d9d7cf;
  --muted: #6d7069;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}
.preview {
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.nav {
  height: 76px;
  padding-inline: max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 38px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 19, 16, 0.95);
  color: #fff;
  border-bottom: 1px solid #343733;
  backdrop-filter: blur(12px);
}
.brand {
  min-height: 44px;
  display: flex;
  align-items: center;
  font: 900 20px var(--head);
  letter-spacing: -0.04em;
}
.brand img {
  width: auto;
  height: 52px;
  max-width: 230px;
  object-fit: contain;
}
.nav .brand img { height: 56px; }
html[data-theme="barber"] .nav { height: 92px; }
html[data-theme="barber"] .nav .brand img {
  height: 78px;
  max-width: 180px;
}
html[data-theme="barber"] footer .brand img {
  height: 84px;
  max-width: 190px;
}
html[data-theme="food"] .brand img {
  height: 48px;
  max-width: 320px;
}
html[data-theme="salon"] .brand img {
  height: 54px;
  max-width: 300px;
}
html[data-theme="cafe"] .nav {
  height: 132px;
}
html[data-theme="cafe"] .nav > .brand {
  position: absolute;
  inset-inline-start: 50%;
  transform: translateX(50%);
  z-index: 2;
}
html[data-theme="cafe"] .nav .brand img {
  height: 122px;
  max-width: 138px;
}
html[data-theme="cafe"] footer .brand img {
  height: 116px;
  max-width: 130px;
}
.nav nav {
  margin-inline-start: auto;
  display: flex;
  gap: 28px;
  color: #aeb2ac;
  font-size: 12px;
}
.phone {
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid #4b4f49;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.hero {
  height: calc(100svh - 104px);
  min-height: 620px;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero picture,
.hero picture img,
.veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero picture img {
  object-fit: cover;
  animation: hero-drift 22s ease-in-out infinite alternate;
}
.veil {
  background:
    linear-gradient(90deg, rgba(9, 11, 9, 0.12), rgba(9, 11, 9, 0.84) 76%),
    linear-gradient(0deg, rgba(9, 11, 9, 0.75), transparent 55%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--max);
  margin: auto;
  padding: clamp(90px, 13vh, 150px) 22px 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-copy > p,
.section header p,
.visit-copy > p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font: 900 clamp(62px, 8vw, 118px)/0.88 var(--head);
  letter-spacing: -0.065em;
  max-width: 900px;
}
.hero-bottom {
  margin-top: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
.hero-bottom span {
  font-size: 12px;
}
.hero-bottom span b {
  font: 900 25px var(--head);
}
.hero-bottom a,
.primary {
  min-height: 52px;
  padding-inline: 22px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
}
.ticker {
  direction: ltr;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  padding-block: 14px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 16s linear infinite;
}
.ticker-track > div {
  flex: none;
  min-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  padding-inline: 12px;
}
.ticker span {
  font: 900 clamp(34px, 5vw, 64px)/1 var(--head);
  direction: rtl;
  white-space: nowrap;
}
.ticker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.section {
  padding: clamp(80px, 10vw, 140px) max(22px, calc((100vw - var(--max)) / 2));
}
.section header {
  margin-bottom: 60px;
}
.section h2,
.visit h2 {
  font: 900 clamp(48px, 6vw, 84px)/0.94 var(--head);
  letter-spacing: -0.055em;
}
.story {
  background: #fff;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--soft);
}
.facts article {
  padding: 32px;
  border-inline-end: 1px solid var(--soft);
}
.facts article:last-child {
  border: 0;
}
.facts b {
  display: block;
  font: 900 clamp(30px, 4vw, 54px)/1 var(--head);
  letter-spacing: -0.04em;
}
.facts span {
  color: var(--muted);
  font-size: 11px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 330px);
  gap: 12px;
}
.visual {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}
.visual:first-child {
  grid-row: 1/3;
}
.visual img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.visual:hover img {
  transform: scale(1.035);
}
.visual figcaption {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 12px;
  background: rgba(17, 19, 16, 0.86);
  color: #fff;
  padding: 7px 10px;
  font-size: 10px;
}
.stock figcaption {
  background: var(--accent);
}
.stock-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}
.reviews {
  background: var(--ink);
  color: #fff;
}
.review-stage {
  min-height: 470px;
  position: relative;
  border-block: 1px solid #363a35;
}
.review {
  position: absolute;
  inset: 0;
  padding: clamp(30px, 5vw, 70px);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.35s;
}
.review.active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.review > span {
  font: 900 72px/0.8 var(--head);
  color: var(--accent);
}
.review blockquote {
  font: 600 clamp(25px, 3vw, 43px)/1.42 var(--head);
  max-width: 32ch;
}
.review footer {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  color: #9fa49e;
  font-size: 12px;
}
.review-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.review-nav button {
  min-height: 76px;
  padding: 14px;
  background: transparent;
  color: #8e938d;
  border: 0;
  border-inline-end: 1px solid #343833;
  text-align: start;
  cursor: pointer;
}
.review-nav button.active {
  color: #fff;
  box-shadow: inset 0 -3px var(--accent);
  background: #1d211d;
}
.review-nav b {
  display: block;
  color: var(--accent);
  font-size: 10px;
}
.maps-reviews {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 26px;
  color: var(--accent);
  font-size: 12px;
}
.visit {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 24px;
  background: var(--accent);
  align-items: stretch;
}
.visit-copy {
  padding-block: 24px;
}
.visit-copy > p {
  color: var(--ink);
}
.visit-copy .primary {
  margin-top: 32px;
  background: var(--ink);
}
.hours {
  background: #fff;
  padding: 30px;
  height: 100%;
}
.hours h3 {
  font: 800 23px var(--head);
  margin-bottom: 18px;
}
.hours dl div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--soft);
  padding: 10px 0;
  font-size: 12px;
}
.map {
  position: relative;
  min-height: 360px;
  background: var(--soft);
  overflow: hidden;
}
.map iframe {
  border: 0;
  width: 100%;
  height: 100%;
}
.map > a {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-end: 12px;
  background: var(--ink);
  color: #fff;
  min-height: 44px;
  padding: 12px;
  display: flex;
  align-items: center;
  font-size: 11px;
}
footer {
  min-height: 130px;
  background: #090b09;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px max(22px, calc((100vw - var(--max)) / 2));
  font-size: 11px;
}
footer span {
  color: #71766f;
}
.mobile-call {
  display: none;
}

/* Each category gets a different composition, not a recolored template. */
html[data-theme="health"] .hero {
  background: #eef5f1;
  color: var(--ink);
}
html[data-theme="health"] .hero picture {
  inset-inline-start: 0;
  width: 54%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 100%);
}
html[data-theme="health"] .hero picture img {
  object-position: center;
}
html[data-theme="health"] .veil {
  background: linear-gradient(90deg, transparent 35%, #eef5f1 75%);
}
html[data-theme="health"] .hero-copy {
  padding-inline-end: 52%;
}
html[data-theme="health"] .hero-bottom span {
  color: #4f625d;
}
html[data-theme="health"] .dental-model {
  position: absolute;
  z-index: 3;
  inset-inline-end: clamp(18px, 5vw, 90px);
  inset-block-start: 50%;
  width: min(35vw, 520px);
  aspect-ratio: 1.1;
  translate: 0 -48%;
  display: grid;
  place-items: center;
  perspective: 1100px;
  pointer-events: none;
}
html[data-theme="health"] .dental-model::before,
html[data-theme="health"] .dental-model::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
html[data-theme="health"] .dental-model::before {
  z-index: 0;
  inset-inline: 2%;
  inset-block-end: 1%;
  height: 14%;
  background: #bad7d3;
  border: 1px solid #8ebbb6;
}
html[data-theme="health"] .dental-model::after {
  z-index: 1;
  inset-inline: 7%;
  inset-block-end: 6%;
  height: 11%;
  background: #f8fbfa;
  border: 2px solid #d5e7e4;
}
html[data-theme="health"] #tooth-model {
  position: relative;
  z-index: 2;
}
html.booting[data-theme="health"] .dental-model-stage {
  opacity: 0;
  visibility: hidden;
}
html.booting[data-theme="health"] .dental-model[data-model-fallback] .dental-model-stage {
  opacity: 1;
  visibility: visible;
}
html[data-theme="health"] #tooth-model {
  opacity: 0;
  transform: translateY(18px) scale(.94);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1);
}
html[data-theme="health"] .dental-model.model-ready #tooth-model {
  opacity: 1;
  transform: none;
}
html.booting:not(.is-ready) .preview,
html.booting:not(.is-ready) .nav,
html.booting:not(.is-ready) .hero picture,
html.booting:not(.is-ready) .hero-copy > p,
html.booting:not(.is-ready) .hero-copy h1,
html.booting:not(.is-ready) .hero-bottom {
  opacity: 0;
}
html.booting.is-ready .preview { animation: site-arrive .42s ease both; }
html.booting.is-ready .nav { animation: site-arrive .58s .08s ease both; }
html.booting.is-ready .hero picture { animation: image-arrive .9s .16s cubic-bezier(.2,.75,.2,1) both, hero-drift 22s 1.1s ease-in-out infinite alternate; }
html.booting.is-ready .hero-copy > p { animation: copy-arrive .62s .28s ease both; }
html.booting.is-ready .hero-copy h1 { animation: copy-arrive .75s .38s cubic-bezier(.2,.8,.2,1) both; }
html.booting.is-ready .hero-bottom { animation: copy-arrive .68s .52s ease both; }
@keyframes site-arrive {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}
@keyframes image-arrive {
  from { opacity: 0; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes copy-arrive {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
html[data-theme="health"] .dental-model-stage {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  animation: dental-turn 11s cubic-bezier(.45,.05,.55,.95) infinite;
}
html[data-theme="health"] .dental-model svg {
  display: block;
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 25px 30px rgba(65, 111, 107, .13));
}
html[data-theme="health"] .dental-model .gum { fill: url(#gum); }
html[data-theme="health"] .dental-model .teeth { fill: url(#enamel); stroke: #a9cfcb; stroke-width: 2; }
html[data-theme="health"] .dental-arch-upper { transform-origin: 260px 178px; animation: upper-breathe 4.8s ease-in-out infinite; }
html[data-theme="health"] .dental-arch-lower { transform-origin: 260px 244px; animation: lower-breathe 4.8s ease-in-out infinite; }
html[data-theme="health"] .model-shadow {
  position: absolute;
  inset-inline: 18%;
  inset-block-end: 4%;
  height: 7%;
  border-radius: 50%;
  background: rgba(70, 116, 112, .2);
  filter: blur(13px);
  transform: translateZ(-50px);
}
@keyframes dental-turn {
  0%,100% { transform: rotateY(-24deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(24deg) rotateX(-2deg) translateY(-8px); }
}
@keyframes upper-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes lower-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
html[data-theme="health"] .story {
  background: #dcebe5;
}
html[data-theme="health"] .gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(280px, 24vw, 380px));
  gap: 10px;
}
html[data-theme="health"] .gallery-grid .visual:first-child {
  grid-column: span 5;
  grid-row: span 2;
}
html[data-theme="health"] .gallery-grid .visual:nth-child(2) {
  grid-column: span 3;
  grid-row: span 2;
}
html[data-theme="health"] .gallery-grid .visual:nth-child(3),
html[data-theme="health"] .gallery-grid .visual:nth-child(4) {
  grid-column: span 4;
}
html[data-theme="health"] .gallery-grid .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html[data-theme="health"] .gallery-grid .visual-1 img { object-position: center 32%; }
html[data-theme="health"] .gallery-grid .visual-2 img { object-position: center 24%; }
html[data-theme="health"] .gallery-grid .visual-3 img { object-position: center 20%; }
html[data-theme="health"] .gallery-grid .visual-4 img { object-position: center 18%; }
html[data-theme="health"] .review-stage {
  border: 0;
  background: #f5faf7;
  color: var(--ink);
}
html[data-theme="health"] .review {
  padding-inline: clamp(30px, 9vw, 130px);
}
html[data-theme="health"] .review > span {
  color: #9fcac0;
}
html[data-theme="health"] .review footer {
  color: #60746e;
}

html[data-theme="electric"] .hero-copy {
  justify-content: center;
  padding-block: 70px;
}
html[data-theme="electric"] .hero-bottom {
  margin-top: 42px;
}
html[data-theme="electric"] .story {
  background:
    linear-gradient(#e5e9f2 1px, transparent 1px),
    linear-gradient(90deg, #e5e9f2 1px, transparent 1px),
    #fff;
  background-size: 42px 42px;
}
html[data-theme="electric"] .review-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #3a3f46;
}
html[data-theme="electric"] .review {
  position: relative;
  inset: auto;
  min-height: 300px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #15191f;
  padding: 30px;
}
html[data-theme="electric"] .review blockquote {
  font: 600 22px/1.5 var(--body);
}
html[data-theme="electric"] .review footer {
  margin-top: auto;
  width: 100%;
}
html[data-theme="electric"] .review-nav {
  display: none;
}

html[data-theme="cafe"] body {
  background: #e9dcc4;
}
html[data-theme="cafe"] .hero {
  margin: 32px;
  height: calc(100svh - 168px);
  min-height: 600px;
}
html[data-theme="cafe"] .hero h1 {
  font-size: clamp(58px, 7vw, 102px);
  max-width: 700px;
}
html[data-theme="cafe"] .ticker {
  margin-inline: 32px;
}
html[data-theme="cafe"] .gallery-grid {
  transform: rotate(-0.35deg);
}
html[data-theme="cafe"] .review-stage {
  background: #f0e4cf;
  color: #211b15;
  border: 12px solid #2b231b;
}
html[data-theme="cafe"] .review > span {
  font-family: Georgia, serif;
  color: #ad7654;
}
html[data-theme="cafe"] .review footer {
  color: #685747;
}

/* YOSI & GUY — editorial hair portfolio, not the barbershop composition */
html[data-theme="salon"] .nav {
  background: rgba(248, 247, 243, .96);
  color: #111;
  border-color: #d7d4cc;
}
html[data-theme="salon"] .nav nav { color: #565a54; }
html[data-theme="salon"] .phone { border-color: #aaa9a3; }
html[data-theme="salon"] .hero { background: #111; }
html[data-theme="salon"] .hero picture {
  width: 58%;
  inset-inline-start: auto;
  inset-inline-end: 0;
}
html[data-theme="salon"] .hero picture img { object-position: center 38%; }
html[data-theme="salon"] .veil {
  width: 58%;
  inset-inline-start: auto;
  inset-inline-end: 0;
  background: linear-gradient(90deg, rgba(17,17,15,.78), rgba(17,17,15,.04) 70%);
}
html[data-theme="salon"] .hero-copy {
  width: 48%;
  margin-inline-start: 0;
  margin-inline-end: auto;
  padding-inline: max(22px, calc((100vw - var(--max)) / 2));
}
html[data-theme="salon"] .hero h1 {
  font-weight: 600;
  font-size: clamp(58px, 7vw, 104px);
  letter-spacing: -.055em;
}
html[data-theme="salon"] .hero-bottom a,
html[data-theme="salon"] .primary { color: #111; }
html[data-theme="salon"] .ticker { color: #111; }
html[data-theme="salon"] .gallery { background: #111; color: #fff; }
html[data-theme="salon"] .gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 390px);
  gap: 8px;
}
html[data-theme="salon"] .gallery-grid .visual:first-child { grid-column: span 2; grid-row: span 2; }
html[data-theme="salon"] .gallery-grid .visual:nth-child(2) { grid-row: span 2; }
html[data-theme="salon"] .gallery-grid .visual img { object-position: center 25%; }
html[data-theme="salon"] .reviews { background: #e7ffad; color: #111; }
html[data-theme="salon"] footer { background: #f8f7f3; color: #111; border-color: #d7d4cc; }

html[data-theme="food"] .hero {
  min-height: 660px;
  height: calc(100svh - 104px);
  background: #171a16;
  color: #f4efe2;
}
html[data-theme="food"] .hero picture {
  inset-inline-start: 0;
  width: 58%;
}
html[data-theme="food"] .veil {
  display: none;
}
html[data-theme="food"] .hero-copy {
  width: 42%;
  margin-inline-start: auto;
  margin-inline-end: 0;
  padding-inline: clamp(22px, 4vw, 70px);
}
html[data-theme="food"] .hero h1 {
  font-size: clamp(56px, 6.4vw, 96px);
}
html[data-theme="food"] .hero h1::first-line {
  color: #2fbd3d;
}
html[data-theme="food"] .hero-copy > p {
  color: #d36a61;
}
html[data-theme="food"] .hero-bottom a {
  background: #2fbd3d;
  color: #111510;
}
html[data-theme="food"] .ticker {
  background: #2fbd3d;
  color: #10140f;
}
html[data-theme="food"] .hero-bottom {
  flex-direction: column;
  align-items: flex-start;
}
html[data-theme="food"] .reviews {
  background: #ebe4d3;
  color: #19150f;
}
html[data-theme="food"] .reviews header p {
  color: #b95750;
}
html[data-theme="food"] .review-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  border: 0;
}
html[data-theme="food"] .review {
  position: relative;
  inset: auto;
  min-height: 330px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: #fffaf0;
  color: #19150f;
  border-top: 7px solid var(--accent);
  box-shadow: 8px 8px 0 #d6bd82;
}
html[data-theme="food"] .review::after {
  content: "";
  position: absolute;
  inset-inline: 16px;
  inset-block-end: -9px;
  height: 12px;
  background: repeating-linear-gradient(135deg, transparent 0 8px, #fffaf0 8px 16px);
}
html[data-theme="food"] .review > span {
  font-size: 38px;
}
html[data-theme="food"] .review blockquote {
  font: 600 21px/1.55 var(--body);
}
html[data-theme="food"] .review footer {
  width: 100%;
  margin-top: auto;
  color: #75654b;
}
html[data-theme="food"] .review-nav {
  display: none;
}
html[data-theme="food"] .maps-reviews {
  color: #b95750;
}

html[data-theme="barber"] .story header {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
}
html[data-theme="barber"] .story header p {
  writing-mode: vertical-rl;
}
html[data-theme="barber"] .review-stage {
  border-inline-start: 12px solid var(--accent);
}
html[data-theme="barber"] .brand-story {
  display: grid;
  grid-template-columns: minmax(340px, .78fr) 1.22fr;
  gap: clamp(28px,5vw,76px);
  align-items: center;
  background: #161312;
  color: #f2e4c4;
}
html[data-theme="barber"] .brand-story figure { position: relative; }
html[data-theme="barber"] .brand-story img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) saturate(.9);
}
html[data-theme="barber"] .brand-story figcaption,
html[data-theme="barber"] .pricing figcaption { margin-top: 9px; color: #9d8d75; font-size: 11px; }
html[data-theme="barber"] .brand-story-copy > p:first-child { color: #d7b673; font-weight: 700; }
html[data-theme="barber"] .brand-story-copy h2 { margin: 18px 0 26px; }
html[data-theme="barber"] .pricing { background: #e9e2d4; }
html[data-theme="barber"] .pricing > header span { display: block; max-width: 55ch; color: #6d6252; }
html[data-theme="barber"] .pricing-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,4vw,64px); align-items: start; margin-top: 46px; }
html[data-theme="barber"] .pricing figure { position: relative; display: grid; justify-items: center; padding: 0; background: transparent; border: 0; box-shadow: none; }
html[data-theme="barber"] .pricing-label { justify-self: stretch; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #b9a98f; color: #6f271f; font: 800 clamp(18px,2vw,25px) var(--head); text-align: center; }
html[data-theme="barber"] .pricing figure img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 18px 20px rgba(20,16,11,.17));
}
.js .visual,
.js .facts article {
  opacity: 0;
  transform: translateY(16px);
}
.js .visual.seen,
.js .facts article.seen {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s,
    transform 0.55s;
}
@keyframes hero-drift {
  to {
    transform: scale(1.08) translateX(-1%);
  }
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .nav nav {
    display: none;
  }
  .hero {
    min-height: 580px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 400px repeat(4, 230px);
  }
  .visual:first-child {
    grid-row: auto;
  }
  .facts,
  .visit {
    grid-template-columns: 1fr;
  }
  .facts article {
    border-inline-end: 0;
    border-bottom: 1px solid var(--soft);
  }
  .review-stage {
    min-height: 600px;
  }
  .review {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .review footer {
    grid-column: 1;
  }
  .review-nav {
    display: flex;
    overflow-x: auto;
  }
  .review-nav button {
    flex: 0 0 160px;
  }
  .map {
    height: 360px;
  }
  .visit-copy {
    padding-block: 0 30px;
  }
  html[data-theme="health"] .hero picture {
    width: 100%;
    opacity: 0.25;
    -webkit-mask-image: none;
    mask-image: none;
  }
  html[data-theme="health"] .veil {
    display: none;
  }
  html[data-theme="health"] .hero-copy {
    padding-inline: 22px;
  }
  html[data-theme="health"] .dental-model {
    width: min(52vw, 230px);
    inset-inline-end: -18px;
    inset-block-start: 52%;
    opacity: .58;
  }
  html[data-theme="health"] .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 360px 300px 300px;
  }
  html[data-theme="health"] .gallery-grid .visual:first-child,
  html[data-theme="health"] .gallery-grid .visual:nth-child(2),
  html[data-theme="health"] .gallery-grid .visual:nth-child(3),
  html[data-theme="health"] .gallery-grid .visual:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
  html[data-theme="health"] .gallery-grid .visual:first-child {
    grid-column: span 2;
  }
  html[data-theme="electric"] .review-stage,
  html[data-theme="food"] .review-stage {
    grid-template-columns: 1fr;
  }
  html[data-theme="cafe"] .hero {
    margin: 12px;
    height: calc(100svh - 128px);
  }
  html[data-theme="cafe"] .ticker {
    margin-inline: 12px;
  }
  html[data-theme="food"] .hero {
    height: auto;
  }
  html[data-theme="food"] .hero picture {
    position: relative;
    width: 100%;
    height: 360px;
  }
  html[data-theme="food"] .hero-copy {
    width: 100%;
    min-height: 430px;
    height: auto;
    margin: 0;
    padding: 55px 22px 38px;
  }
  html[data-theme="food"] .hero-bottom {
    margin-top: 34px;
  }
  html[data-theme="salon"] .hero { height: auto; min-height: 760px; }
  html[data-theme="salon"] .hero picture,
  html[data-theme="salon"] .veil { width: 100%; inset: 0; }
  html[data-theme="salon"] .veil { background: linear-gradient(0deg, rgba(17,17,15,.92), rgba(17,17,15,.08) 75%); }
  html[data-theme="salon"] .hero-copy {
    width: 100%;
    margin: 0;
    padding: 390px 22px 42px;
  }
  html[data-theme="salon"] .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 260px);
  }
  html[data-theme="salon"] .gallery-grid .visual:first-child,
  html[data-theme="salon"] .gallery-grid .visual:nth-child(2) { grid-column: auto; grid-row: auto; }
  html[data-theme="barber"] .brand-story,
  html[data-theme="barber"] .pricing-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body {
    padding-bottom: 60px;
  }
  .preview {
    font-size: 9px;
  }
  .nav {
    height: 64px;
    padding-inline: 16px;
  }
  .brand {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero {
    height: calc(100svh - 92px);
  }
  .hero-copy {
    padding: 70px 20px 35px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .section {
    padding: 75px 20px;
  }
  .section h2,
  .visit h2 {
    font-size: 47px;
  }
  .gallery-grid {
    grid-template-rows: 340px repeat(4, 210px);
  }
  html[data-theme="health"] .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 430px 390px 390px 430px;
    gap: 8px;
  }
  html[data-theme="health"] .gallery-grid .visual:first-child {
    grid-column: auto;
  }
  .review-stage {
    min-height: 690px;
  }
  .review {
    padding: 28px 20px;
  }
  .review blockquote {
    font-size: 25px;
  }
  .review footer {
    display: grid;
    gap: 4px;
  }
  .visit {
    gap: 14px;
  }
  .hours {
    padding: 24px 20px;
  }
  footer {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }
  .mobile-call {
    display: block;
    position: fixed;
    z-index: 30;
    inset-inline: 0;
    inset-block-end: 0;
    background: var(--accent);
    color: #fff;
  }
  .mobile-call a {
    height: 60px;
    display: grid;
    place-items: center;
    font-weight: 700;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="health"] .dental-model-stage { transform: rotateY(-10deg) rotateX(2deg); }
}

/* Google-style review cards. The review copy stays verbatim from the source. */
.reviews,
html[data-theme="food"] .reviews {
  background: #f8f9fa;
  color: #202124;
}
.reviews .section-header,
.reviews > header { color: #202124; }
.google-review-grid,
html[data-theme="electric"] .google-review-grid,
html[data-theme="food"] .google-review-grid {
  min-height: 0;
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  background: transparent;
}
.google-review,
html[data-theme="health"] .google-review,
html[data-theme="electric"] .google-review,
html[data-theme="food"] .google-review {
  position: relative;
  inset: auto;
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  background: #fff;
  color: #202124;
  border: 1px solid #dadce0;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.12);
}
.google-review::after { display: none !important; }
.google-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a73e8;
  color: #fff;
  font: 700 19px Arial, sans-serif;
}
.google-review:nth-child(2n) .review-avatar { background: #0f9d58; }
.google-review:nth-child(3n) .review-avatar { background: #db4437; }
.google-review:nth-child(4n) .review-avatar { background: #a142f4; }
.review-author { display: grid; line-height: 1.25; }
.review-author b { font: 600 16px Arial, sans-serif; }
.review-author small { margin-top: 4px; color: #70757a; font: 12px Arial, sans-serif; }
.google-g {
  margin-inline-start: auto;
  font: 700 23px Arial, sans-serif;
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 45%, #fbbc05 0 65%, #ea4335 0 82%, #4285f4 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.google-stars {
  --rating: 5;
  display: inline-block;
  direction: ltr;
  font: 22px/1 Arial, sans-serif;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fbbc04 calc(var(--rating) / 5 * 100%), #dadce0 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.google-rating-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  color: #202124;
  box-shadow: 0 2px 7px rgba(0,0,0,.15);
}
.google-rating-inline small { color: #5f6368; font-size: 12px; }
.google-rating-fact { align-items: center; justify-content: center; gap: 7px; }
.google-rating-fact .google-g { margin: 0; }
.google-rating-fact small { color: #5f6368; font-size: 12px; }
.review-meta { display: flex; align-items: center; gap: 9px; }
.review-stars { color: #fbbc04; font-size: 20px; letter-spacing: 1px; direction: ltr; }
.review-meta time { color: #70757a; font: 13px Arial, sans-serif; }
.google-review blockquote,
html[data-theme="food"] .google-review blockquote {
  max-width: none;
  font: 400 17px/1.65 Arial, var(--body), sans-serif;
  color: #3c4043;
}
.maps-reviews,
html[data-theme="food"] .maps-reviews {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #dadce0;
  border-radius: 24px;
  background: #fff;
  color: #1a73e8;
  font-weight: 700;
}
@media (max-width: 760px) {
  .google-review-grid,
  html[data-theme="electric"] .google-review-grid,
  html[data-theme="food"] .google-review-grid { grid-template-columns: 1fr; }
  .google-review { min-height: 0; }
}

/* Existing-site quality normalization: touch, media stability and motion safety. */
img{height:auto}
footer a,.footer a,.menu-link,.review-more,.maps-reviews,.brand,.logo{min-height:44px}
footer a,.footer a,.menu-link,.review-more,.maps-reviews{display:inline-flex;align-items:center}
:focus-visible{outline:3px solid currentColor;outline-offset:4px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Honest text wordmark used when no real logo file exists. */
.brand-wordmark{display:inline-flex;flex-direction:column;justify-content:center;font-weight:900;font-size:clamp(28px,4vw,54px);line-height:.9;letter-spacing:-.04em}.brand-wordmark small{font:600 12px/1.2 Arial,sans-serif;letter-spacing:0;margin-top:6px}

/* Shared quality gate only: a seven-step scale; visual composition remains site-specific. */
body{font-size:16px}
body *{font-size:inherit}
h1{font-size:clamp(48px,7vw,96px)}
h2{font-size:clamp(34px,5vw,64px)}
h3{font-size:24px}
small,time,figcaption,.eyebrow,.kicker,.demo,.preview,.demo-note{font-size:14px}
.stars,.review-stars,.google-stars{font-size:18px}
.proof-score strong,.rating-number,.score strong,.metric strong,.stat strong{font-size:48px}
.friends-frame a,.visit-map-label a,.map a,.logo,.brand-wordmark{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}

/* Enforced seven-step computed type scale. */
body{font-size:16px!important}
body *{font-size:inherit!important}
h1{font-size:clamp(48px,7vw,96px)!important}
h2{font-size:clamp(34px,5vw,64px)!important}
h3{font-size:24px!important}
small,time,figcaption,.eyebrow,.kicker,.demo,.preview,.demo-note{font-size:14px!important}
.stars,.review-stars,.google-stars{font-size:18px!important}
.proof-score strong,.rating-number,.score strong,.metric strong,.stat strong{font-size:48px!important}
.wordmark,.wordmark img{min-height:44px}.wordmark{display:inline-flex;align-items:center}
