:root {
  --ink: #27170f; --muted: #745f52; --paper: #fffaf4; --surface: #f7efe5;
  --accent: #b9502b; --accent-dark: #88371f; --contrast: #536b5b;
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Avenir, "Century Gothic", Futura, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: var(--paper); background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; position: sticky; z-index: 10; top: 0; padding: 18px clamp(22px,5vw,72px); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(18px); }
.brand { width: max-content; display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden; color: var(--paper); background: var(--ink); font: 700 1rem var(--serif); }
.brand-mark img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; background: var(--paper); }
.brand-mark:has(img) { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand-name { font-weight: 800; }
.brand.has-company-logo .brand-mark { width: clamp(190px, 20vw, 240px); height: 80px; background: transparent; }
.brand.has-company-logo .brand-mark img { object-fit: cover; object-position: center; }
.brand.has-company-logo .brand-name { display: none; }
nav { display: flex; gap: clamp(20px,3vw,42px); }
nav a, .header-action, .footer-links a { font-size: .8rem; font-weight: 800; text-decoration: none; }
nav a:hover, .footer-links a:hover { color: var(--accent); }
.header-action { justify-self: end; padding: 12px 17px; color: var(--paper); background: var(--ink); }
.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); align-items: center; gap: clamp(44px,8vw,120px); position: relative; overflow: hidden; padding: clamp(75px,10vw,145px) clamp(24px,6vw,100px) 105px; background: radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 30rem), linear-gradient(135deg,var(--paper),var(--surface)); }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; left: -260px; bottom: -260px; border: 1px solid color-mix(in srgb,var(--accent) 32%,transparent); border-radius: 50%; }
.hero-copy { z-index: 1; max-width: 850px; }
.eyebrow { margin: 0; color: var(--accent-dark); font-size: .71rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
h1 { max-width: 920px; margin: 21px 0 28px; font: 700 clamp(4.1rem,8.3vw,9rem)/.84 var(--serif); letter-spacing: -.06em; text-wrap: balance; }
.hero-lede { max-width: 630px; margin: 0; color: var(--muted); font-size: clamp(1.08rem,2vw,1.38rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 38px; }
.primary-action { display: inline-flex; min-height: 55px; align-items: center; justify-content: center; padding: 14px 22px; color: var(--paper); background: var(--accent); border: 1px solid var(--accent); font-weight: 900; text-decoration: none; }
.primary-action:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.text-action { font-weight: 800; text-underline-offset: 6px; }
.hero-monogram { aspect-ratio: 1; display: grid; place-items: center; position: relative; color: var(--ink); background: color-mix(in srgb,var(--paper) 50%,transparent); border: 1px solid color-mix(in srgb,var(--paper) 80%,transparent); border-radius: 50%; box-shadow: 0 45px 100px color-mix(in srgb,var(--ink) 12%,transparent); }
.hero-monogram::before, .hero-monogram::after { content: ""; position: absolute; inset: -7%; border: 1px solid var(--line); border-radius: 50%; }
.hero-monogram::after { inset: 11%; }
.hero-monogram span { font: 700 clamp(5rem,12vw,10rem)/1 var(--serif); letter-spacing: -.08em; }
.hero-monogram small { position: absolute; bottom: 14%; color: var(--muted); font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.live-note { position: absolute; right: clamp(24px,5vw,72px); bottom: 28px; margin: 0; color: var(--muted); font-size: .75rem; }
.live-note i { width: 7px; height: 7px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #2b8b62; box-shadow: 0 0 0 5px rgba(43,139,98,.12); }
.service-section { padding: clamp(85px,10vw,150px) clamp(24px,6vw,100px); }
.section-intro { display: grid; grid-template-columns: .7fr 1.25fr .8fr; gap: 36px; align-items: start; padding-bottom: 65px; border-bottom: 1px solid var(--line); }
h2 { margin: -9px 0 0; font: 700 clamp(2.8rem,5vw,5.4rem)/.92 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.section-intro > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-grid article { min-height: 420px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 24px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article:nth-child(3n) { border-right: 0; }
.service-photo { overflow: hidden; aspect-ratio: 16 / 10; background: color-mix(in srgb,var(--accent) 16%,var(--surface)); border: 1px solid color-mix(in srgb,var(--paper) 68%,transparent); }
.service-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-number { color: var(--accent); font-size: .75rem; font-weight: 900; letter-spacing: .18em; }
.card-category { margin: 0 0 12px; color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.service-grid h3, .membership-grid h3, .location-list h3 { margin: 0; font: 700 2rem/1 var(--serif); }
.card-description { max-width: 340px; color: var(--muted); line-height: 1.6; }
.card-meta { display: flex; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; }
.card-meta span { color: var(--muted); }
.consultation-section { display: grid; grid-template-columns: minmax(250px,.8fr) minmax(0,1.2fr); gap: clamp(35px,6vw,100px); padding: clamp(80px,9vw,130px) clamp(24px,6vw,100px); background: var(--surface); }
.consultation-section[hidden] { display: none; }
.consultation-intro h2 { margin: 18px 0 24px; }
.consultation-intro > p:last-child { max-width: 510px; color: var(--muted); line-height: 1.7; }
.consultation-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-content: start; }
.consultation-form label > span { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 900; }
.consultation-form input, .consultation-form select, .consultation-form textarea { width: 100%; min-height: 52px; padding: 13px 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.consultation-form textarea { resize: vertical; }
.consultation-form input:focus, .consultation-form select:focus, .consultation-form textarea:focus { outline: 3px solid color-mix(in srgb,var(--accent) 42%,white); outline-offset: 2px; }
.consultation-wide { grid-column: 1 / -1; }
.consultation-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.consultation-submit button { cursor: pointer; font: inherit; }
.consultation-submit button:disabled { cursor: wait; opacity: .65; }
.consultation-submit p { margin: 0; line-height: 1.5; }
.consultation-submit p[data-tone="error"] { color: #a52d25; }
.consultation-submit p[data-tone="success"] { color: #17684d; }
.consultation-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.membership-section { padding: clamp(85px,10vw,145px) clamp(24px,6vw,100px); color: var(--paper); background: var(--contrast); }
.membership-section .eyebrow { color: color-mix(in srgb,var(--accent) 35%,white); }
.membership-heading { max-width: 900px; }
.membership-heading h2 { margin-top: 18px; }
.membership-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 60px; }
.membership-grid article { display: flex; min-height: 460px; flex-direction: column; padding: 34px; color: var(--ink); background: var(--paper); }
.membership-grid h3 { margin-top: 18px; font-size: 2.4rem; }
.membership-price { display: flex; align-items: baseline; gap: 7px; margin: 25px 0 12px; }
.membership-price strong { font: 700 2.3rem var(--serif); }
.membership-price span, .membership-description { color: var(--muted); }
.membership-description { line-height: 1.55; }
.membership-grid ul { display: grid; gap: 9px; margin: 8px 0 30px; padding: 0; list-style: none; }
.membership-grid li::before { content: "✓"; margin-right: 9px; color: var(--accent); }
.membership-grid .primary-action { width: 100%; margin-top: auto; }
.gallery-section { padding: clamp(85px,10vw,145px) clamp(24px,6vw,100px); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.gallery-heading h2 { margin-top: 18px; }
.gallery-heading a { color: var(--accent); font-weight: 900; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--surface); }
body[data-site-style="minimal"] { --surface: color-mix(in srgb,var(--paper) 94%,var(--ink)); }
body[data-site-style="minimal"] .hero { background: var(--paper); }
body[data-site-style="editorial"] .hero-copy { max-width: 1050px; }
body[data-site-style="bold"] .hero { color: var(--paper); background: var(--ink); }
body[data-site-style="bold"] .hero-lede, body[data-site-style="bold"] .live-note { color: color-mix(in srgb,var(--paper) 70%,transparent); }

/* Cosmetica's PoC uses a deliberately clinical presentation without changing the shared beauty template. */
html[data-business-slug="cosmetica-slim-spa"] body {
  --ink: #112c3d;
  --muted: #586d79;
  --paper: #f8fbfc;
  --surface: #eaf2f4;
  --accent: #167c83;
  --accent-dark: #0c5963;
  --contrast: #163c50;
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  background: linear-gradient(180deg, #f9fcfd 0%, #edf4f6 52%, #f7fafb 100%);
}
html[data-business-slug="cosmetica-slim-spa"] .site-header {
  border-color: color-mix(in srgb, var(--ink) 12%, transparent);
  background: color-mix(in srgb, #ffffff 94%, transparent);
  box-shadow: 0 8px 32px rgba(17,44,61,.06);
}
html[data-business-slug="cosmetica-slim-spa"] .header-action,
html[data-business-slug="cosmetica-slim-spa"] .primary-action { border-radius: 8px; }
html[data-business-slug="cosmetica-slim-spa"] .hero {
  min-height: min(860px, calc(100vh - 88px));
  background:
    linear-gradient(90deg, rgba(248,251,252,.98) 0%, rgba(248,251,252,.91) 48%, rgba(234,242,244,.76) 100%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(22,124,131,.045) 80px),
    linear-gradient(145deg, #f8fbfc, #dfecef);
}
html[data-business-slug="cosmetica-slim-spa"] .hero::before {
  width: 520px;
  height: 520px;
  left: -310px;
  bottom: -360px;
  border-color: rgba(22,124,131,.24);
}
html[data-business-slug="cosmetica-slim-spa"] h1 {
  max-width: 760px;
  font-family: var(--sans);
  font-size: clamp(3.8rem,7.2vw,7.4rem);
  font-weight: 750;
  line-height: .93;
  letter-spacing: -.055em;
}
html[data-business-slug="cosmetica-slim-spa"] h2,
html[data-business-slug="cosmetica-slim-spa"] .service-grid h3,
html[data-business-slug="cosmetica-slim-spa"] .membership-grid h3,
html[data-business-slug="cosmetica-slim-spa"] .location-list h3 {
  font-family: var(--sans);
  letter-spacing: -.035em;
}
html[data-business-slug="cosmetica-slim-spa"] .hero-monogram {
  min-height: 560px;
  aspect-ratio: 4 / 5;
  border: 8px solid rgba(255,255,255,.82);
  border-radius: 28px;
  background: linear-gradient(rgba(16,44,61,.05),rgba(16,44,61,.05)), url("/public-assets-v2/gh_beauty/images/cosmetica/consultation.jpg") center / cover no-repeat;
  box-shadow: 0 34px 80px rgba(17,44,61,.18);
}
html[data-business-slug="cosmetica-slim-spa"] .hero-monogram::before {
  inset: 20px;
  border-color: rgba(255,255,255,.54);
  border-radius: 18px;
}
html[data-business-slug="cosmetica-slim-spa"] .hero-monogram::after,
html[data-business-slug="cosmetica-slim-spa"] .hero-monogram span,
html[data-business-slug="cosmetica-slim-spa"] .hero-monogram small { display: none; }
html[data-business-slug="cosmetica-slim-spa"] .service-section { background: rgba(255,255,255,.72); }
html[data-business-slug="cosmetica-slim-spa"] .service-grid {
  gap: 22px;
  padding-top: 34px;
}
html[data-business-slug="cosmetica-slim-spa"] .service-grid article {
  min-height: 540px;
  padding: 18px 18px 24px;
  border: 1px solid rgba(17,44,61,.11) !important;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17,44,61,.07);
}
html[data-business-slug="cosmetica-slim-spa"] .service-photo {
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 12px;
  background: #e5eef0;
}
html[data-business-slug="cosmetica-slim-spa"] .service-photo img {
  filter: saturate(.86) contrast(1.02);
  transition: transform .45s ease;
}
html[data-business-slug="cosmetica-slim-spa"] .service-grid article:hover .service-photo img { transform: scale(1.025); }
html[data-business-slug="cosmetica-slim-spa"] .card-number { color: var(--accent-dark); }
html[data-business-slug="cosmetica-slim-spa"] .membership-section,
html[data-business-slug="cosmetica-slim-spa"] .application-panel { background: linear-gradient(135deg, #123448, #1d5965); }
html[data-business-slug="cosmetica-slim-spa"] .careers-section { background: #edf4f5; }
html[data-business-slug="cosmetica-slim-spa"] .visit-section { background: linear-gradient(135deg, #e6f0f2, #f8fbfc); }
html[data-business-slug="cosmetica-slim-spa"] .location-list article { border-radius: 12px; box-shadow: 0 14px 38px rgba(17,44,61,.06); }
.careers-section { padding: clamp(85px,10vw,145px) clamp(24px,6vw,100px); background: color-mix(in srgb,var(--contrast) 9%,var(--paper)); }
.careers-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px,8vw,120px); align-items: end; padding-bottom: 55px; border-bottom: 1px solid var(--line); }
.careers-heading h2 { margin-top: 18px; }
.careers-heading > p { margin: 0; color: var(--muted); line-height: 1.7; }
.career-openings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 28px 0 56px; }
.career-card, .no-openings { padding: clamp(28px,4vw,46px); border: 1px solid var(--line); background: var(--paper); }
.career-card { display: flex; min-height: 390px; flex-direction: column; gap: 22px; }
.career-card h3, .no-openings h3, .application-intro h3 { margin: 12px 0 18px; font: 700 clamp(2rem,3vw,3.2rem)/1 var(--serif); letter-spacing: -.035em; }
.career-description, .no-openings p:last-child, .application-intro > p { color: var(--muted); line-height: 1.65; }
.career-facts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 16px 0; border-block: 1px solid var(--line); text-transform: capitalize; }
.career-facts span { color: var(--muted); }
.career-card details { color: var(--muted); }
.career-card summary { cursor: pointer; color: var(--ink); font-weight: 900; }
.career-details { display: grid; gap: 15px; padding-top: 15px; }
.career-details h4, .career-details p { margin: 0; }
.career-details p { margin-top: 5px; line-height: 1.6; white-space: pre-line; }
.career-card .primary-action { margin-top: auto; cursor: pointer; font: inherit; }
.no-openings { grid-column: 1 / -1; }
.application-panel { display: grid; grid-template-columns: minmax(240px,.65fr) minmax(0,1.35fr); gap: clamp(35px,7vw,100px); padding: clamp(32px,5vw,64px); color: var(--paper); background: var(--contrast); }
.application-intro .eyebrow { color: color-mix(in srgb,var(--accent) 35%,white); }
.application-intro h3 { font-size: clamp(2.5rem,4vw,4.6rem); }
.application-intro > p { color: color-mix(in srgb,var(--paper) 72%,transparent); }
.application-progress { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 30px; border-bottom: 1px solid color-mix(in srgb,var(--paper) 22%,transparent); }
.application-progress span { padding: 12px 4px; color: color-mix(in srgb,var(--paper) 48%,transparent); font-size: .72rem; font-weight: 900; }
.application-progress span.is-active { color: var(--paper); border-bottom: 3px solid var(--accent); }
.application-step { margin: 0; padding: 0; border: 0; }
.application-step > legend { margin-bottom: 24px; font: 700 1.8rem var(--serif); }
.application-step label > span { display: block; margin-bottom: 8px; font-size: .76rem; font-weight: 900; }
.application-step input, .application-step select, .application-step textarea { width: 100%; min-height: 49px; padding: 12px 14px; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 0; font: inherit; }
.application-step textarea { resize: vertical; }
.application-step input:focus, .application-step select:focus, .application-step textarea:focus { outline: 3px solid color-mix(in srgb,var(--accent) 55%,white); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-grid .span-two { grid-column: 1 / -1; }
.step-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-top: 28px; }
.step-actions .primary-action { cursor: pointer; font: inherit; }
.text-button { padding: 10px; color: var(--paper); background: transparent; border: 0; cursor: pointer; font: 800 .85rem var(--sans); text-decoration: underline; text-underline-offset: 5px; }
.availability-picker { margin: 24px 0; padding: 18px; border: 1px solid color-mix(in srgb,var(--paper) 24%,transparent); }
.availability-picker legend { padding: 0 8px; font-size: .76rem; font-weight: 900; }
.availability-picker > div { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.availability-picker label, .consent { display: flex; align-items: center; gap: 8px; }
.availability-picker input, .consent input { width: auto; min-height: auto; }
.consent { margin-top: 22px; line-height: 1.5; }
.consent span { margin: 0 !important; }
.application-result { padding: 24px; color: var(--ink); background: var(--paper); font: 700 1.2rem/1.5 var(--serif); }
.application-result[data-tone="error"] { color: #8b1f16; }
.visit-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px,8vw,130px); padding: clamp(80px,10vw,145px) clamp(24px,6vw,100px); background: var(--surface); }
.visit-section h2 { margin-top: 18px; }
.location-list { display: grid; gap: 16px; }
.location-list article { padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.location-address, .parking { color: var(--muted); line-height: 1.6; }
.location-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .84rem; font-weight: 800; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 32px clamp(24px,5vw,72px); border-top: 1px solid var(--line); }
footer strong, footer span { display: block; }
footer > div:first-child span, footer > span { margin-top: 5px; color: var(--muted); font-size: .78rem; }
.footer-links { display: flex; gap: 28px; }
footer > span { justify-self: end; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; } nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 90px; }
  .hero-monogram { width: min(72vw,440px); justify-self: center; }
  .section-intro, .visit-section, .careers-heading, .application-panel, .consultation-section { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-grid article:nth-child(2n) { border-right: 0; }
  .membership-grid { grid-template-columns: 1fr; }
  .career-openings { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; } footer > span { justify-self: start; }
  html[data-business-slug="cosmetica-slim-spa"] .hero-monogram { min-height: auto; }
}
@media (max-width: 560px) {
  .site-header { min-height: 76px; padding: 14px 18px; } .brand-name { display: none; }
  .header-action { font-size: .74rem; } .hero { padding-inline: 20px; }
  h1 { font-size: clamp(3.8rem,20vw,5.6rem); }
  .hero-actions a { width: 100%; } .live-note { position: static; grid-column: 1; }
  .service-section, .membership-section, .visit-section, .careers-section, .gallery-section, .consultation-section { padding-inline: 20px; }
  .consultation-form { grid-template-columns: 1fr; }
  .consultation-wide { grid-column: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 310px; border-right: 0 !important; }
  .form-grid { grid-template-columns: 1fr; } .form-grid .span-two { grid-column: auto; }
  .application-panel { padding: 28px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
