:root {
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.hero {
  padding: 48px 0 80px;
}

.band-rose {
  background: var(--rose);
}

.band-cream {
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0;
}

.hero h1 {
  font-size: clamp(56px, 8vw, 104px);
  max-width: 9ch;
}

.lede {
  max-width: 38ch;
  color: var(--muted);
  margin: 28px 0 36px;
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn:disabled,
.btn:disabled:hover {
  background: var(--ink);
  color: var(--cream);
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.circle-photo,
.hero-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-deep);
}

.hero-photo {
  box-shadow: var(--shadow);
}

.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
}

.section-kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.split h2,
.split h3 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 18px;
}

.muted {
  color: var(--muted);
}

.services-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 8px;
}

.reviews {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.reviews-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38);
}

.reviews .wrap {
  position: relative;
  z-index: 1;
}

.reviews .section-title {
  color: #fff;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0 40px;
}

.rating-score {
  font-family: var(--display);
  font-size: 42px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 24px;
  min-height: 220px;
}

.stars {
  color: var(--gold-deep);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  margin: 0 0 18px;
}

.review-card cite {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
}

.newsletter {
  text-align: center;
}

.newsletter form,
.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form .btn {
  min-height: 34px;
  height: 34px;
  padding: 0 18px;
  line-height: 1;
  align-self: stretch;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-restore {
  margin: 0;
}

.booking-restore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.booking-restore-btn:hover {
  border-color: var(--ink);
}

.stylist-field {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.stylist-picker.is-open {
  z-index: 5;
}

.stylist-field-label {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.stylist-picker {
  position: relative;
}

.stylist-picker-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.stylist-picker-trigger:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.stylist-picker-face {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-deep);
  display: grid;
  place-items: center;
}

.stylist-picker-face img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: top center;
}

.stylist-picker-initials {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.stylist-picker-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.stylist-picker-name {
  font-size: 15px;
  color: var(--ink);
}

.stylist-picker-title {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.stylist-picker-list {
  position: absolute;
  z-index: 8;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.stylist-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.stylist-picker-option:hover,
.stylist-picker-option[aria-selected="true"] {
  background: var(--cream-deep);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.human-slider-track {
  position: relative;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream-deep);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.human-slider-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  padding: 0 56px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.human-slider-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: grab;
  touch-action: none;
}

.human-slider-thumb:active {
  cursor: grabbing;
}

.human-slider.is-complete .human-slider-track {
  background: #d8ecd9;
  border-color: #8fbf96;
}

.human-slider.is-complete .human-slider-thumb {
  background: #2f6f4c;
}

.human-slider.is-complete .human-slider-label {
  color: #2f6f4c;
}

.newsletter form {
  max-width: 480px;
  margin: 28px auto 0;
  grid-template-columns: 1fr auto;
}

.newsletter .form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.info-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 28px;
}

.info-card + .info-card {
  margin-top: 18px;
}

.info-card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 12px;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: 64px 0 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(48px, 7vw, 84px);
}

.page-hero p {
  max-width: 46ch;
  margin: 18px auto 0;
  color: var(--muted);
}

.menu-section {
  margin-bottom: 56px;
}

.menu-section h2 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 8px;
}

.menu-note {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 15px;
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
}

.menu-table tr {
  border-bottom: 1px solid var(--line);
}

.menu-table td {
  padding: 14px 0;
  vertical-align: top;
}

.menu-table td:last-child {
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
  padding-left: 24px;
}

.menu-item small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  justify-self: center;
}

.gallery-mask-square {
  border-radius: 18px;
}

.gallery-mask-teardrop {
  border-radius: 160px 18px 160px 18px;
}

.gallery-grid img.gallery-mask-circle {
  width: 280px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
}

.product-hero-band {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
  padding: 72px 0 36px;
  text-align: center;
}

.product-hero-band h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 28px;
}

.product-hero-band .rule {
  width: min(920px, calc(100% - 56px));
  height: 1px;
  margin: 0 auto 36px;
  background: var(--product-rule);
}

.product-feature {
  width: min(920px, calc(100% - 56px));
  margin: 0 auto 28px;
  border-radius: 8px;
  overflow: hidden;
  background: #0b0b0b;
}

.product-feature img {
  width: 100%;
  height: min(520px, 58vw);
  object-fit: cover;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  padding: 20px;
  background: var(--product-well);
}

.product-card .card-body h3 {
  font-size: 26px;
}

.product-card .product-type {
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
}

.team-card {
  text-align: center;
  background: transparent;
  box-shadow: none;
}

.team-card img {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-position: top center;
}

.team-role {
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.footer {
  background: var(--inverse-bg);
  color: var(--footer-fg);
  padding: 64px 0 28px;
  margin-top: 40px;
}

.footer a:hover {
  color: var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer .brand-name,
.footer h3 {
  color: var(--inverse-fg);
}

.footer h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100vw - 32px));
  background: var(--paper);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  z-index: 50;
}

.cookie[hidden] {
  display: none;
}

.cookie h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
}

.cookie p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.cookie-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
}

.form-status {
  min-height: 1.4em;
  font-size: 14px;
  color: var(--gold-deep);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .services-grid,
  .team-grid,
  .card-grid,
  .review-grid,
  .contact-grid,
  .footer-grid,
  .gallery-grid,
  .product-grid,
  .newsletter form {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-grid img {
    height: 220px;
  }

  .gallery-grid img.gallery-mask-circle {
    width: 220px;
    height: auto;
  }
}
