/* Revive Skin Studio — Quiet
   1. Foundations  2. Header  3. Hero  4. Content  5. Treatments
   6. Booking & footer  7. Responsive layouts */

:root {
  --paper: #f8f6f3;
  --ink: #403d3b;
  --muted: #69635f;
  --taupe: #e3d9d6;
  --line: #c7bfb8;
  --accent: #59514a;
  --card: #f1ece7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:hover { background: var(--taupe); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(44px, 5.25vw, 82px); letter-spacing: -.055em; margin-bottom: 28px; }
h2 { font-size: clamp(36px, 3.6vw, 55px); letter-spacing: -.045em; }
h3 { font-size: 25px; letter-spacing: -.025em; }
p { color: var(--muted); }
.skip-link { position: absolute; top: -100px; padding: 15px; background: white; z-index: 20; }
.skip-link:focus { top: 0; }
.site-shell { max-width: 1600px; margin: auto; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ink); color: var(--paper); padding: 15px 24px; font-size: 13px; border: 1px solid var(--ink); text-decoration: none !important; transition: background .2s; }
.button:hover { background: var(--accent); }
.text-link { font-size: 13px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.eyebrow { font-size: 10px; letter-spacing: .19em; text-transform: uppercase; margin-bottom: 32px; color: var(--ink); }
.eyebrow span { margin: 0 12px; }
.section { padding: 90px 5%; scroll-margin-top: 15px; }

/* Header and framed wordmark */
.site-header { padding: 33px 5%; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: inline-flex; flex-direction: column; text-align: center; position: relative; padding: 10px 0; white-space: nowrap; }
.brand::before { content: none; }
.brand .brand-logo { width:230px; height:98px; object-fit:cover; object-position:center; display:block; }
.brand span { font-size: 25px; letter-spacing: -.035em; line-height: 1.4; background: var(--paper); z-index: 1; }
.brand small { font-size: 7px; letter-spacing: .27em; z-index: 1; padding: 7px 0 0; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.menu-toggle { display: none; }

/* Quiet split hero — photography stays in its natural colour palette. */
.hero { padding: 40px 5% 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 45px; align-items: center; }
.hero-copy { padding: 30px 0 50px; }
.hero h1 span { color: #82756b; }
.hero-description { font-size: 17px; max-width: 380px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 35px; }
.hero-photo { position: relative; background: var(--taupe); overflow: hidden; }
.hero-photo img { width: 100%; height: 570px; object-fit: cover; object-position: 22% 50%; margin-top: -12px; }
.hero-photo figcaption { padding: 13px 18px; font-size: 11px; letter-spacing: .02em; }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .14em; border-top: 1px solid var(--line); padding: 20px 0; }
.hero-bottom a { letter-spacing: 0; }

/* Philosophy and studio details */
.philosophy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: 56px; border-bottom: 1px solid var(--line); }
.philosophy-copy { max-width: 720px; }
.philosophy h2 { margin-bottom: 22px; }
.philosophy p { font-size: 15px; }
.philosophy .eyebrow { font-size: 10px; margin-bottom: 18px; }
.philosophy-aside { align-self: center; }
.philosophy-aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.philosophy-note { border-left: 1px solid var(--line); padding-left: 20px; margin: 20px 0 0; }
.studio-strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding: 0 5% 85px; }
.studio-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.studio-strip figure:last-child img { aspect-ratio: auto; height: 100%; }
.studio-strip figure:last-child { min-height: 0; }

/* Treatment highlights and progressive-enhancement filters */
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { font-size: 14px; margin: 0; }
.treatment-filters { display: flex; border-bottom: 1px solid var(--line); gap: 30px; margin-bottom: 35px; }
.treatment-filters button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 13px 0; font-size: 14px; }
.treatment-filters button[aria-pressed="true"] { border-bottom-color: var(--ink); }
.group-title { font-size: 18px; margin-top: 25px; }
.js .group-title { display: none; }
.treatment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1200px; margin-inline: auto; align-items: stretch; }
.treatment { --card-padding: 24px; background: var(--card); padding: var(--card-padding); display: flex; flex-direction: column; align-items: start; overflow: hidden; }
.treatment-image { width: calc(100% + var(--card-padding) * 2); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; flex-shrink: 0; margin: calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding)) 18px; }
/* Subdued photographic finish, matching the hero and practitioner portrait. */
.treatment-photo { filter: brightness(.8) saturate(.78); }
.treatment-kind { font-size: 9px; letter-spacing: .12em; display: block; margin-bottom: 14px; }
.treatment h3 { font-size: 21px; margin-bottom: 12px; }
.treatment > p:not(.price) { font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.treatment .price { font-size: 18px; }
.treatment > .button { margin-top: auto; }
.price { font-size: 20px; color: var(--ink); display: flex; align-items: center; gap: 18px; }
.price span { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 18px; }
.advanced { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 30px; }
.advanced summary { cursor: pointer; padding: 20px 0; font-size: 14px; }
.advanced summary span { float: right; }
.advanced[open] summary span { transform: rotate(45deg); }
.advanced .treatment-grid { padding-bottom: 25px; }
.consultation { display: grid; grid-template-columns: 1fr 2fr auto; gap: 35px; align-items: center; border-top: 1px solid var(--line); margin-top: 35px; padding-top: 30px; }
.consultation > span { font-size: 20px; }
.consultation b { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.consultation p { font-size: 13px; margin: 0; }
.treatment-note { font-size: 13px; margin-top: 25px; }
.waxing-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.waxing-list > div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 16px 0; }
.waxing-list dd { margin-left: 12px; }

/* Booking remains embedded, with an always-available external fallback. */
.booking { display: grid; grid-template-columns: 1fr 1.7fr; gap: 70px; background: var(--taupe); }
.booking-heading h2 { font-size: 65px; }
.booking-contact, .footer-address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.8; }
.booking-contact { margin-bottom: 26px; }
.booking-contact a { display: inline-block; margin-top: 10px; color: var(--ink); }
.footer-address { margin-top: 20px; }
.footer-contact > a { display: block; margin-bottom: 8px; }
.booking-help { font-size: 12px; max-width: 290px; margin-top: 20px; }


footer { padding: 65px 5% 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
footer > div:nth-child(2) { justify-self: end; }
footer p { font-size: 13px; margin: 18px 0; }
footer .eyebrow { margin-top: 0; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 23px; font-size: 11px; }

/* Tablet */
@media (max-width: 1000px) {
  .site-nav { gap: 18px; }
  .site-header .brand span { font-size: 21px; }
  .hero { gap: 30px; }
  .hero-photo img { height: 490px; }
  .hero-actions { gap: 15px; flex-wrap: wrap; }
  .philosophy { grid-template-columns: minmax(0, 1fr) minmax(220px, .6fr); gap: 30px; }
  .treatment { --card-padding: 24px; }
  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
  .booking { gap: 30px; }
}
/* Mobile: visible navigation without JavaScript, collapsible when enhanced. */
@media (max-width: 700px) {
  h1 { font-size: clamp(36px, 10vw, 46px); }
  .site-header { padding: 25px 6%; position: relative; flex-wrap: wrap; gap: 20px; }
  .site-header .brand span { font-size: 20px; }
  .menu-toggle { display: flex; gap: 12px; border: 1px solid var(--line); padding: 8px 10px; background: none; font-size: 12px; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 18px; font-size: 12px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .hero { display: flex; flex-direction: column; padding: 25px 6% 0; gap: 25px; align-items: stretch; }
  .hero-copy { padding: 10px 0 0; }
  .eyebrow { font-size: 9px; margin-bottom: 25px; }
  .hero-photo img { height: auto; aspect-ratio: 4 / 5; }
  .hero-photo figcaption { font-size: 10px; }
  .hero-description { font-size: 15px; }
  .hero-bottom { font-size: 8px; gap: 15px; }
  .hero-bottom a { text-align: right; }
  .section { padding: 60px 6%; }
  .philosophy { display: block; padding-block: 40px; }
  .philosophy-aside { display: block; margin-top: 32px; }
  .philosophy-aside img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
  .philosophy-note { margin-top: 24px; }
  .studio-strip { padding: 0 6% 60px; grid-template-columns: 1fr; gap: 20px; }
  .studio-strip figure:last-child img { height: auto; aspect-ratio: 3 / 2; }
  .section-heading { align-items: start; gap: 20px; }
  .section-heading > p { display: none; }
  .treatment-grid { grid-template-columns: 1fr; }
  .treatment-filters { gap: 22px; }
  .treatment-filters button { font-size: 12px; }
  .treatment-kind { margin-bottom: 20px; }
  .consultation { grid-template-columns: 1fr; gap: 15px; }
  .consultation .text-link { justify-self: start; }
  .waxing-list { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; gap: 30px; }
  .booking-heading h2 { font-size: 48px; }

  .booking-help { max-width: none; }
  .booking-heading .button { max-width: 100%; }
  footer { grid-template-columns: 1fr; padding: 45px 6% 20px; gap: 25px; }
  footer > div:nth-child(2) { justify-self: start; }
  footer a { overflow-wrap: anywhere; }
  .footer-bottom { flex-wrap: wrap; gap: 18px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}






/* Native booking entry point */
.booking-preview { background: #faf8f5; border: 1px solid var(--line); min-width: 0; padding: clamp(24px, 4vw, 52px); }
.booking-preview h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; margin: 16px 0 28px; }
.booking-steps { padding-left: 22px; margin: 0 0 32px; }
.booking-steps li { padding-left: 8px; margin-bottom: 22px; }
.booking-steps strong, .booking-steps span { display: block; }
.booking-steps strong { font-weight: 500; margin-bottom: 6px; }
.booking-steps span, .booking-policy { font-size: 14px; color: var(--muted); line-height: 1.7; }
.booking-test-note { font-size: 13px; line-height: 1.6; margin-top: 16px; }
.booking-policy { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
/* Instagram: native profile embed with a permanently available fallback. */
.instagram-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,540px); gap:clamp(32px,7vw,100px); align-items:center; }
.instagram-intro h2 { font-size:clamp(38px,5vw,64px); font-weight:400; line-height:1.1; }
.instagram-handle { display:inline-block; overflow-wrap:anywhere; }
.instagram-help { color:var(--muted); font-size:13px; max-width:320px; margin-top:28px; }
.instagram-feed { min-width:0; background:#fff; border:1px solid var(--line); }
.instagram-feed iframe { display:block; width:100%; height:540px; border:0; }
.instagram-fallback { display:block; padding:18px 20px; font-size:13px; text-align:center; border-top:1px solid var(--line); }
.instagram-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media(max-width:760px) { .instagram-section { grid-template-columns:minmax(0,1fr); } .instagram-feed { width:100%; max-width:540px; justify-self:center; } }
/* Packages lead the combined treatment categories. */
.treatment-filters { flex-wrap:wrap; gap:22px; }
.treatment .treatment-book { margin-top:auto; font-size:12px; }
.course-intro { max-width:750px; }
.course-card { --card-padding:26px; padding:var(--card-padding); }
.booking-suggestions { display:grid; gap:12px; margin:0 0 24px; }
.upgrade-option { padding:15px; text-align:left; background:var(--paper); border:1px solid var(--line); font-size:13px; }

.gift-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:50px; background:var(--taupe); align-items:start; }
.gift-section h2 { font-size:clamp(36px,5vw,60px); font-weight:400; line-height:1.15; }
.gift-section img { margin-top:24px; }
.gift-code { font-family:monospace; font-size:20px; overflow-wrap:anywhere; padding:20px; border:1px solid var(--line); }
#gift-card-container { min-height:110px; margin-bottom:20px; }
@media(max-width:760px) { .gift-section { grid-template-columns:1fr; gap:28px; } }

/* Studio news and contact */
/* Genuine client reviews replace the labelled preview placeholders. */
.testimonials-section { background:var(--taupe); }
.testimonials-intro { max-width:650px; margin-bottom:30px; }
.testimonials-intro h2 { font-size:clamp(34px,4vw,52px); }
.testimonials-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.testimonial-card { display:flex; flex-direction:column; padding:28px; border:1px solid var(--line); background:var(--paper); }
.testimonial-mark { font-size:62px; line-height:.9; color:var(--muted); }
.testimonial-card p, .testimonial-card blockquote { margin:18px 0 26px; font-size:17px; line-height:1.7; }
.testimonial-attribution { margin-top:auto; padding-top:16px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); }
@media(max-width:760px) { .testimonials-grid { grid-template-columns:1fr; gap:16px; } }
.analytics-choice { position:fixed; bottom:20px; left:20px; right:20px; max-width:650px; z-index:100; padding:24px; background:var(--paper); border:1px solid var(--line); box-shadow:0 8px 32px #0002; }
.analytics-choice[hidden] { display:none; }
.analytics-choice h2 { font-size:22px; margin:0 0 12px; }
.analytics-choice p { font-size:13px; line-height:1.6; }
.analytics-settings-wrap { padding:0 5% 20px; }
.events-section, .contact-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:48px; align-items:start; }
.event-placeholder { padding:38px; border:1px solid var(--line); background:var(--card); }
.event-placeholder h3 { font-size:30px; margin:14px 0; }
.contact-intro address { font-style:normal; line-height:1.8; }
.contact-intro a { overflow-wrap:anywhere; }
.salon-map { width:100%; height:300px; border:1px solid var(--line); display:block; margin:24px 0 16px; }
.contact-panel textarea { width:100%; padding:13px; background:var(--paper); color:var(--ink); border:1px solid var(--line); font:inherit; resize:vertical; }
.contact-panel textarea:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.contact-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-panel #contact-answer { max-width:100px; margin-bottom:0; }
@media(max-width:800px) { .events-section, .contact-section { grid-template-columns:1fr; gap:24px; } .brand .brand-logo { width:190px; height:82px; } }
@media(max-width:450px) { .contact-panel { padding:22px; } .event-placeholder { padding:26px; } }
