:root {
  color-scheme: light;
  --ink: #241f28;
  --plum: #6f3d72;
  --coral: #d86b5f;
  --sage: #5e7f68;
  --champagne: #dec48c;
  --shell: #fbf6ef;
  --paper: #ffffff;
  --muted: #746a77;
  --line: rgba(36, 31, 40, 0.14);
  --shadow: 0 22px 54px rgba(36, 31, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--shell);
  font-family: "Inter", "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

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

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

.frame {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, auto) 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px max(22px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(36, 31, 40, 0.12);
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 3px;
}

.brand strong {
  font-family: "Didot", Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.main-nav a,
.button,
.gallery-lock {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(111, 61, 114, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--plum);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.main-nav a[aria-current="page"] {
  background: var(--plum);
  color: #ffffff;
}

.header-note {
  color: var(--sage);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  border-color: var(--coral);
  background: var(--coral);
  color: #ffffff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.button.quiet {
  border-color: rgba(94, 127, 104, 0.26);
  background: #ffffff;
  color: var(--sage);
}

.gallery-lock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(36, 31, 40, 0.24);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 660px;
  display: grid;
  align-items: end;
  padding: 120px max(22px, calc((100vw - 1200px) / 2)) 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(36, 31, 40, 0.9), rgba(111, 61, 114, 0.56) 46%, rgba(36, 31, 40, 0.12)),
    var(--hero-image, url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1800&q=80")) center / cover;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 40%;
  background: linear-gradient(0deg, rgba(36, 31, 40, 0.78), transparent);
}

.hero-copy {
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Didot", Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 790px;
  font-size: 78px;
  line-height: 0.96;
}

h2 {
  color: var(--plum);
  font-size: 52px;
  line-height: 1.04;
}

h3 {
  font-size: 22px;
}

.hero p:not(.eyebrow),
.lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 78px max(22px, calc((100vw - 1200px) / 2));
}

.section.white {
  background: var(--paper);
}

.section.ink {
  background: var(--ink);
  color: #ffffff;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading p,
.feature p,
.service p,
.profile p,
.timeline p,
.price-card p,
.result-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.ink h2,
.ink h3 {
  color: #ffffff;
}

.ink .section-heading p,
.ink .feature p {
  color: rgba(255, 255, 255, 0.72);
}

.magazine-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}

.image-tall,
.image-stack img,
.result-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.image-tall {
  height: 620px;
  box-shadow: var(--shadow);
}

.image-stack {
  display: grid;
  gap: 18px;
}

.image-stack img {
  height: 301px;
}

.feature-grid,
.service-grid,
.profile-grid,
.price-grid,
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature,
.service,
.profile,
.price-card,
.result-card,
.timeline {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 22px;
}

.ink .feature {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.feature strong,
.service strong,
.profile strong,
.price-card strong,
.result-card strong,
.timeline strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}

.ink .feature strong {
  color: #ffffff;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
}

.service code {
  display: grid;
  min-height: 54px;
  place-items: center;
  border-radius: 8px;
  background: var(--plum);
  color: #ffffff;
  font-family: inherit;
  font-weight: 950;
}

.profile img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.color-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.color-band div {
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  color: #ffffff;
}

.color-band div:nth-child(1) {
  background: #7a4d3a;
}

.color-band div:nth-child(2) {
  background: #b06a57;
}

.color-band div:nth-child(3) {
  background: #d9b36a;
  color: var(--ink);
}

.color-band div:nth-child(4) {
  background: #684f6f;
}

.color-band strong {
  font-size: 19px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-row code {
  display: grid;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--sage);
  color: #ffffff;
  font-family: inherit;
  font-weight: 950;
}

.result-card {
  padding: 0;
  overflow: hidden;
}

.result-card img {
  height: 310px;
  border-radius: 0;
}

.result-card div {
  padding: 20px;
}

.booking-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  min-height: 44px;
  border: 1px solid rgba(36, 31, 40, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

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

.full {
  grid-column: 1 / -1;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px max(22px, calc((100vw - 1200px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer a {
  color: #ffffff;
  font-weight: 900;
}

.lookbook-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.lookbook-strip article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.lookbook-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}

.lookbook-strip span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--plum);
  font-size: 13px;
  font-weight: 950;
}

.salon-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.5fr);
  gap: 30px;
  align-items: end;
}

.salon-hero-stack {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 12px;
  align-items: end;
}

.salon-hero-stack img {
  width: 100%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.salon-hero-stack img:first-child {
  height: 430px;
}

.salon-hero-stack img:last-child {
  height: 310px;
}

@media (min-width: 981px) {
  .frame {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
  }

  .frame > .site-header {
    position: sticky;
    top: 0;
    grid-column: 1;
    grid-row: 1 / span 3;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 30px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    background: var(--paper);
  }

  .frame > .site-header .brand {
    margin-bottom: 38px;
  }

  .frame > .site-header .brand strong {
    font-size: 34px;
  }

  .frame > .site-header .main-nav {
    display: grid;
    justify-content: stretch;
    gap: 10px;
  }

  .frame > .site-header .main-nav a {
    justify-content: flex-start;
    min-height: 48px;
    border-color: transparent;
    background: var(--shell);
  }

  .frame > .site-header .header-note {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .frame > main,
  .frame > .footer {
    grid-column: 2;
  }

  .frame > main .hero {
    min-height: 720px;
  }

  .frame > main .hero:not(.salon-hero) {
    min-height: 520px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .frame > main .hero:not(.salon-hero)::before {
    content: "";
    position: absolute;
    right: max(22px, calc((100vw - 1200px) / 2));
    bottom: 42px;
    width: min(320px, 30vw);
    height: 52%;
    border: 4px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(216, 107, 95, 0.45), rgba(222, 196, 140, 0.22));
    box-shadow: var(--shadow);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 42px;
  }

  .magazine-grid,
  .salon-hero,
  .booking-box {
    grid-template-columns: 1fr;
  }

  .salon-hero-stack img:first-child,
  .salon-hero-stack img:last-child {
    height: 280px;
  }

  .feature-grid,
  .profile-grid,
  .price-grid,
  .result-grid,
  .lookbook-strip {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid,
  .color-band {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .header-note {
    display: none;
  }

  .main-nav a {
    flex: 1 1 42%;
  }

  .hero {
    min-height: 560px;
    padding-top: 84px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .feature-grid,
  .service-grid,
  .profile-grid,
  .price-grid,
  .result-grid,
  .color-band,
  .salon-hero-stack,
  .lookbook-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 1fr;
  }

  .image-tall,
  .image-stack img {
    height: 300px;
  }

  .profile img,
  .result-card img {
    height: 280px;
  }
}

/* Beverly Hills luxury system */
:root {
  --ink: #121112;
  --plum: #1a1517;
  --coral: #a8794c;
  --sage: #766954;
  --champagne: #d7bd7a;
  --shell: #f5f0e8;
  --paper: #fffdf8;
  --muted: #746d62;
  --line: rgba(18, 17, 18, 0.12);
  --shadow: 0 26px 70px rgba(18, 17, 18, 0.18);
}

body {
  background: var(--shell);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

.frame {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(210px, auto) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1240px) / 2));
  border-right: 0;
  border-bottom: 1px solid rgba(215, 189, 122, 0.18);
  background: rgba(18, 17, 18, 0.9);
  color: #fffaf0;
  backdrop-filter: blur(22px);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 42px rgba(18, 17, 18, 0.24);
}

.brand strong {
  color: #fffaf0;
  font-family: "Didot", Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.brand span {
  color: rgba(215, 189, 122, 0.82);
  font-weight: 650;
  letter-spacing: 0.2em;
}

.main-nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(215, 189, 122, 0.18);
  border-radius: 2px;
  background: rgba(255, 250, 240, 0.06);
}

.main-nav a {
  position: relative;
  z-index: 2;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: rgba(255, 250, 240, 0.78);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.main-nav a[aria-current="page"] {
  background: transparent;
  color: #fffaf0;
}

.nav-glow {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  z-index: 1;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(215, 189, 122, 0.26), rgba(168, 121, 76, 0.18));
  opacity: 0;
  transition: transform 260ms ease, width 260ms ease, opacity 180ms ease;
  pointer-events: none;
}

.header-note {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: var(--champagne);
  font-weight: 650;
  letter-spacing: 0.14em;
}

@media (min-width: 981px) {
  .frame {
    display: block;
  }

  .frame > .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: auto;
    display: grid;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: minmax(210px, auto) 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px max(24px, calc((100vw - 1240px) / 2));
    border-right: 0;
    border-bottom: 1px solid rgba(215, 189, 122, 0.18);
    background: rgba(18, 17, 18, 0.9);
    color: #fffaf0;
    backdrop-filter: blur(22px);
  }

  .frame > .site-header .brand {
    margin-bottom: 0;
  }

  .frame > .site-header .brand strong {
    color: #fffaf0;
    font-size: 30px;
    font-weight: 500;
  }

  .frame > .site-header .main-nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(215, 189, 122, 0.18);
    border-radius: 2px;
    background: rgba(255, 250, 240, 0.06);
  }

  .frame > .site-header .main-nav a {
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    background: transparent;
    color: rgba(255, 250, 240, 0.78);
  }

  .frame > .site-header .header-note {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    color: var(--champagne);
  }

  .frame > main,
  .frame > .footer {
    grid-column: auto;
  }

  .frame > main .hero {
    min-height: 620px;
  }

  .frame > main .salon-hero {
    min-height: 720px;
  }
}

.hero {
  min-height: 620px;
  color: #fffaf0;
  background:
    linear-gradient(105deg, rgba(18, 17, 18, 0.96), rgba(18, 17, 18, 0.72) 46%, rgba(18, 17, 18, 0.16)),
    var(--hero-image, url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1800&q=80")) center / cover;
}

.hero::after,
.frame > main .hero:not(.salon-hero)::before {
  content: none;
}

.salon-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.62fr);
  align-items: center;
}

.hero-copy {
  padding: 0;
}

h1 {
  font-size: 82px;
  font-weight: 500;
}

h2 {
  color: var(--ink);
  font-weight: 500;
}

.eyebrow {
  color: var(--champagne);
}

.button {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border-color: var(--champagne);
  background: #fffaf0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(18, 17, 18, 0.14);
}

.button::after {
  content: "";
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 0;
  height: 0;
  border-radius: 999px;
  background: rgba(215, 189, 122, 0.32);
  transform: translate(-50%, -50%);
  transition: width 280ms ease, height 280ms ease;
}

.button:hover::after {
  width: 220px;
  height: 220px;
}

.button.secondary {
  border-color: rgba(215, 189, 122, 0.42);
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
}

.section.white,
.section {
  background: var(--shell);
}

.section.ink {
  background: #121112;
}

.feature,
.service,
.profile,
.price-card,
.result-card,
.timeline,
.booking-box {
  border-color: rgba(168, 121, 76, 0.18);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 18px 42px rgba(18, 17, 18, 0.08);
}

.profile img,
.image-tall,
.image-stack img,
.result-card img,
.salon-hero-stack img {
  border-radius: 2px;
}

.color-band,
.result-card {
  border-radius: 2px;
}

.footer {
  background: #121112;
  color: rgba(255, 250, 240, 0.7);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal-ready.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(18, 17, 18, 0.94);
    color: #fffaf0;
  }

  .main-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .gallery-lock {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-indent: -999px;
  }

  .gallery-lock::before {
    content: "<";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 20px;
    text-indent: 0;
  }
}
