@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Shrikhand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/shrikhand-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Shrikhand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/shrikhand-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mist: #e8e5f4;
  --paper: #f8f7fd;
  --ink: #221a4a;
  --soft: #4d4672;
  --pink: #b8115c;
  --blush: #ffc9de;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  background: var(--mist);
  color: var(--ink);
  font: 400 1.0625rem/1.6 Figtree, system-ui, sans-serif;
  padding-top: var(--banner, 56px);
}
h1, h2, .logo { font-family: Shrikhand, Georgia, serif; font-weight: 400; }
h2 { font-size: clamp(1.9rem, 7vw, 2.8rem); line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 8px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.banner {
  position: fixed; inset: 0 0 auto; z-index: 20;
  background: var(--ink); color: #fff;
  font-size: 1rem; line-height: 1.35; text-align: center; padding: 7px 12px;
}
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 4px; }
.logo { font-size: 1.4rem; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.top nav { display: none; gap: 8px; }
.top nav a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; font-weight: 600; text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

.hero { display: grid; gap: 14px; padding: 4px 0 40px; }
.hero h1 { font-size: clamp(2.2rem, 10.4vw, 4.6rem); line-height: 1.1; }
.lead { color: var(--soft); max-width: 34ch; }

.chair { min-width: 0; }
.mirror {
  position: relative; height: clamp(250px, 36vh, 340px);
  background: var(--paper); border-radius: 180px 180px 18px 18px; overflow: hidden;
}
.mirror canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
/* hair shown when JavaScript is off */
.mirror::before {
  content: ""; position: absolute; inset: 0 8% 18%;
  background: repeating-linear-gradient(91deg, #5a2f22 0 3px, #7a4330 3px 5px, transparent 5px 6px);
  border-radius: 0 0 40% 40%;
}
.js .mirror::before { display: none; }
.hint {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0; width: max-content; max-width: calc(100% - 20px);
  background: var(--ink); color: #fff; font-size: 1rem; line-height: 1.3; text-align: center;
  padding: 7px 14px; border-radius: 99px; pointer-events: none; transition: opacity .3s;
}
.cut-done .hint { opacity: 0; }
.tools { display: none; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.js .tools { display: flex; }
.shades { display: flex; gap: 2px; flex-basis: 100%; }
.shade {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.shade::before { content: ""; width: 32px; height: 32px; border-radius: 50% 50% 50% 4px; background: var(--c); }
.shade[aria-pressed="true"]::before { box-shadow: 0 0 0 3px var(--mist), 0 0 0 5px var(--ink); }
.tool {
  min-height: 44px; padding: 0 14px; font: 600 1rem Figtree, system-ui, sans-serif; color: var(--ink);
  background: none; border: 2px solid var(--ink); border-radius: 99px; cursor: pointer;
}
.toolnote { flex-basis: 100%; color: var(--soft); font-size: 1rem; line-height: 1.4; }

.actions { display: none; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 24px;
  border: 2px solid var(--ink); border-radius: 99px; font-weight: 700; text-decoration: none; text-align: center;
}
.btn.primary { background: var(--pink); border-color: var(--pink); color: #fff; }
.todo { background: #ffe66b; color: #2b2200; border-radius: 4px; padding: 0 6px; font-weight: 600; }

section { padding: 52px 0; }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink .sub { color: #d6d1f5; }
.sub { color: var(--soft); max-width: 58ch; }

.who { display: grid; gap: 28px; margin-top: 28px; }
.who ul { list-style: none; }
.who li { padding: 12px 0; border-top: 2px dashed #b9b2dc; }
.who h3 { font-size: 1.5rem; color: var(--pink); }
.price { margin-top: 26px; }
.extra { margin-top: 28px; display: grid; gap: 22px; }
.extra p { color: var(--soft); max-width: 48ch; }

.about p { max-width: 58ch; margin-bottom: 14px; }
.rating { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.rating strong { font: 400 3.2rem/1 Shrikhand, Georgia, serif; color: var(--blush); }
.rating span { max-width: 24ch; line-height: 1.4; }

.hours { list-style: none; max-width: 520px; }
.hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 11px 0; border-bottom: 2px dashed #b9b2dc; }

.contact { display: grid; gap: 28px; }
address { font-style: normal; font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.line { display: flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }
.contact .btn { margin: 12px 8px 0 0; }
.map { display: block; text-decoration: none; }
.map svg { display: block; width: 100%; height: auto; border-radius: 18px; }
.map span { display: flex; min-height: 44px; align-items: center; color: var(--soft); line-height: 1.4; }

footer { background: var(--ink); color: #fff; padding: 32px 0 calc(110px + env(safe-area-inset-bottom)); }
footer .logo { min-height: 0; }
footer p { margin-top: 8px; max-width: 60ch; }

.dock {
  position: fixed; inset: auto 0 0; z-index: 15; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--ink);
}
.dock a {
  min-height: 52px; display: grid; place-items: center; border-radius: 99px;
  font-weight: 700; text-decoration: none; color: var(--ink); background: #fff;
}
.dock a:first-child { background: var(--pink); color: #fff; }

@media (min-width: 880px) {
  .top nav { display: flex; }
  .hero { grid-template-columns: 5fr 6fr; grid-template-rows: 1fr auto auto 1fr; column-gap: 48px; row-gap: 22px; padding: 20px 0 64px; min-height: min(660px, calc(100vh - 130px)); }
  .hero h1 { grid-area: 1 / 1 / 3 / 2; align-self: end; font-size: clamp(3rem, 5.4vw, 4.5rem); }
  .hero .lead { grid-area: 3 / 1; }
  .hero .actions { grid-area: 4 / 1; display: flex; align-self: start; gap: 8px; }
  .hero .actions .btn { padding-inline: 18px; }
  .shades { flex-basis: auto; }
  .hero .chair { grid-area: 1 / 2 / 5 / 3; align-self: center; }
  .mirror { height: clamp(380px, 60vh, 500px); border-radius: 300px 300px 22px 22px; }
  .who { grid-template-columns: 1fr 1fr; gap: 56px; }
  .extra { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .dock { display: none; }
  footer { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hint { transition: none; }
}
