/* Brand: change these to restyle the whole theme */
:root {
  --hazel: #8a5a3c;
  --hazel-dark: #4a3426;
  --gold: #d9a54a;
  --gold-dark: #b98426;
  --blush: #f3d9cf;
  --clay: #b8664f;
  --skin: #e8b996;
  --bg: #fbf6f0;
  --white: #ffffff;
  --text: #34251b;
  --muted: #7a6656;
  --line: #ecdccf;
  --radius: 24px;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 18px; line-height: 1.6; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 16px; color: var(--hazel-dark); }
h2 { font-size: clamp(36px, 4.6vw, 56px); }
h3 { font-size: 26px; }
p { margin: 0 0 16px; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--hazel-dark); color: var(--white); padding: 10px 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font: 700 13px var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
section { padding: 96px 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 0; border-radius: 999px; background: var(--hazel-dark); color: var(--white); font: 700 16px var(--font-body); padding: 14px 28px; text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.button:hover { background: var(--hazel); transform: translateY(-1px); }
.button-small { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.button-ghost { background: transparent; color: var(--hazel-dark); box-shadow: inset 0 0 0 2px var(--hazel-dark); }
.button-ghost:hover { background: var(--hazel-dark); color: var(--white); }
.button-light { background: var(--white); color: var(--hazel-dark); }
.button-light:hover { background: var(--blush); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--clay); text-decoration: none; }
.text-link::after { content: "→"; margin-left: 8px; transition: transform 0.2s; }
.text-link:hover::after { transform: translateX(4px); }
.text-link-light { color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 240, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font: 400 28px var(--font-display); text-decoration: none; min-height: 44px; color: var(--hazel-dark); }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand small { font: 700 12px var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.primary-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 16px; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.button):hover { color: var(--clay); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--hazel-dark); }

/* Hero */
.hero { padding: 72px 0 92px; background: radial-gradient(circle at 80% 20%, rgba(217, 165, 74, 0.28), transparent 45%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(50px, 7vw, 92px); line-height: 0.98; }
.hero h1 em { display: block; color: var(--clay); }
.lead { font-size: 21px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 540px; }
.hero-facts li { background: var(--white); border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line); }
.hero-facts strong { display: block; font: 400 28px var(--font-display); color: var(--hazel-dark); }
.hero-facts span { font-size: 14px; color: var(--muted); }
.hero-art svg { width: 100%; max-width: 460px; margin-left: auto; }

/* Services with stylist levels */
.services { background: var(--white); }
.level-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin-bottom: 36px; }
.level { position: relative; display: flex; }
.level input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.level span { flex: 1; display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 14px 18px; border: 2px solid var(--line); border-radius: 18px; background: var(--bg); }
.level strong { font-size: 17px; }
.level small { font-size: 14px; color: var(--muted); }
.level:has(input:checked) span { border-color: var(--hazel-dark); background: var(--hazel-dark); color: var(--white); }
.level:has(input:checked) small { color: var(--blush); }
.level:has(input:focus-visible) span { outline: 3px solid var(--gold); outline-offset: 2px; }
.service-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.service-group h3 { font-size: 28px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.service-group ul { list-style: none; margin: 0; padding: 0; }
.service-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.service-item strong { font-size: 17px; }
.service-item .price { font: 400 22px var(--font-display); color: var(--clay); text-align: right; }
.service-item small { color: var(--muted); font-size: 15px; }
.service-item .time { text-align: right; }
.service-note { margin: 28px 0 0; font-size: 15px; color: var(--muted); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.stylist { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--hazel-dark); font: 400 26px var(--font-display); margin-bottom: 18px; }
.avatar-2 { background: #e5d1b8; }
.avatar-3 { background: #f1c9a8; }
.avatar-4 { background: #e9dfd2; }
.stylist .role { font-size: 14px; font-weight: 700; color: var(--clay); margin-bottom: 8px; }
.stylist p:last-child { margin: 0; color: var(--muted); font-size: 16px; }

/* Book */
.book { background: var(--hazel-dark); color: var(--white); }
.book h2 { color: var(--white); }
.book .eyebrow { color: var(--gold); }
.book-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.book p:not(.eyebrow) { color: rgba(255, 255, 255, 0.85); max-width: 640px; }
.book-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.visit-card { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.visit-card p:last-child { margin: 0; }

/* Events */
.events { background: var(--blush); }
.events-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.events p:not(.eyebrow) { color: var(--text); max-width: 640px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
blockquote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
blockquote p { font: 400 22px/1.35 var(--font-display); color: var(--hazel-dark); }
cite { font-style: normal; font-weight: 700; color: var(--muted); }

/* Footer */
.site-footer { background: var(--hazel-dark); color: rgba(255, 255, 255, 0.82); padding: 64px 0 28px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand small { color: rgba(255, 255, 255, 0.6); }
.site-footer h3 { color: var(--white); font-size: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid a:not(.brand) { display: inline-block; min-height: 32px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; }
.footer-bottom a { color: var(--gold); }

@media (max-width: 1000px) {
  .hero-grid, .visit-grid, .book-inner, .events-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art svg { margin: 0 auto; max-width: 360px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .service-groups { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: flex; }
  .primary-nav a:not(.button) { padding: 12px 0; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-facts li { display: flex; align-items: baseline; gap: 10px; }
  .level-switch { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; }
}
