:root {
  --ivory: #f8f5f1;
  --cream: #f5f2ee;
  --linen: #eee5dc;
  --espresso: #2d211c;
  --chocolate: #3a2a24;
  --charcoal: #2b2b2b;
  --bronze: #a67c52;
  --taupe: #b7a38f;
  --sage: #6f7764;
  --ink-soft: rgba(43, 43, 43, 0.72);
  --white-soft: rgba(248, 245, 241, 0.78);
  --shadow: 0 24px 70px rgba(45, 33, 28, 0.12);
  --section-pad: clamp(96px, 10vw, 168px);
  --page-pad: clamp(22px, 6vw, 96px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  object-fit: cover;
}

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

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

button {
  cursor: pointer;
}

::selection {
  background: rgba(166, 124, 82, 0.28);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 2000;
  transform: translateY(-140%);
  background: var(--ivory);
  color: var(--espresso);
  padding: 10px 14px;
  border-radius: 6px;
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
.brand-name,
.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  font-size: clamp(4rem, 7.9vw, 8.9rem);
  line-height: 0.88;
}

h2 {
  font-size: clamp(2.6rem, 5.4vw, 5.7rem);
  line-height: 0.95;
}

h3 {
  font-size: clamp(1.75rem, 2.7vw, 2.65rem);
  line-height: 1;
}

p {
  color: var(--ink-soft);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--taupe);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px var(--page-pad);
  color: var(--ivory);
  border-bottom: 1px solid rgba(248, 245, 241, 0.14);
  transition: background 0.35s ease, color 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled,
.site-header.nav-active {
  background: rgba(248, 245, 241, 0.95);
  color: var(--espresso);
  border-color: rgba(45, 33, 28, 0.08);
  box-shadow: 0 10px 35px rgba(45, 33, 28, 0.07);
  backdrop-filter: blur(22px);
}

.site-header.scrolled {
  padding-top: 15px;
  padding-bottom: 15px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 224px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand-name {
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  line-height: 1;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 34px);
}

.primary-nav a,
.header-cta,
.menu-btn,
.btn,
.text-link,
.sticky-book {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  opacity: 0.84;
  transition: opacity 0.25s ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  opacity: 1;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 13px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--ivory);
  color: var(--espresso);
  transform: translateY(-2px);
}

.site-header.scrolled .header-cta:hover,
.site-header.scrolled .header-cta:focus-visible,
.site-header.nav-active .header-cta:hover,
.site-header.nav-active .header-cta:focus-visible {
  background: var(--espresso);
  color: var(--ivory);
}

.menu-btn {
  display: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 12px 16px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 170px var(--page-pad) 108px;
  color: var(--ivory);
  isolation: isolate;
  overflow: hidden;
}

.hero-video,
.hero-fallback,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-video {
  height: 110%;
  object-fit: cover;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.04);
}

.hero-fallback {
  z-index: -4;
  background: url("assets/images/Superseded/salon4.jpg") center/cover no-repeat;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 11, 9, 0.78) 0%, rgba(14, 11, 9, 0.42) 45%, rgba(14, 11, 9, 0.1) 100%),
    linear-gradient(180deg, rgba(14, 11, 9, 0.24) 0%, rgba(14, 11, 9, 0.1) 42%, rgba(14, 11, 9, 0.76) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.92fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: end;
  width: min(100%, 1240px);
}

.hero-walkthrough,
.rental-walkthrough {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #2d211c;
}

.walkthrough-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #2d211c;
}

.hero-walkthrough .walkthrough-video {
  min-height: 220px;
}

.rental-image .rental-walkthrough {
  height: min(72vw, 760px);
  min-height: 520px;
}

.rental-image .walkthrough-video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  aspect-ratio: auto;
  object-fit: cover;
}

.walkthrough-caption {
  padding: 12px 16px;
  background: rgba(14, 11, 9, 0.78);
  color: rgba(248, 245, 241, 0.84);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-content {
  width: auto;
}

.hero-text {
  max-width: 705px;
  margin-top: 34px;
  color: rgba(248, 245, 241, 0.84);
  font-size: clamp(1.06rem, 1.5vw, 1.35rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 24px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn.primary {
  border: 1px solid var(--bronze);
  background: var(--bronze);
  color: var(--ivory);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: #8e6845;
  border-color: #8e6845;
}

.btn.ghost {
  border: 1px solid rgba(248, 245, 241, 0.56);
  color: var(--ivory);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: var(--ivory);
  color: var(--espresso);
}

.hero-scroll {
  position: absolute;
  right: var(--page-pad);
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(248, 245, 241, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll span {
  display: block;
  width: 56px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: var(--section-pad) var(--page-pad);
}

.section-header {
  margin-bottom: clamp(54px, 7vw, 96px);
}

.section-header.centered {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header.centered p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--white-soft);
}

.section-header.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(38px, 8vw, 112px);
  align-items: end;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.8fr);
  gap: clamp(42px, 8vw, 126px);
  align-items: end;
  background: var(--ivory);
}

.section-kicker h2 {
  max-width: 980px;
}

.intro-copy p {
  max-width: 620px;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.stat-row div {
  padding-top: 18px;
  border-top: 1px solid rgba(45, 33, 28, 0.18);
}

.stat-row strong {
  display: block;
  color: var(--espresso);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
}

.stat-row span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  background: linear-gradient(90deg, var(--linen), var(--cream));
}

.editorial-media img,
.about-image img,
.rental-image img {
  height: min(72vw, 760px);
  min-height: 520px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.editorial-copy p:not(.eyebrow),
.about-copy p:not(.eyebrow),
.haircare-copy p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 30px;
}

.text-link {
  position: relative;
  display: inline-flex;
  margin-top: 36px;
  color: var(--espresso);
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--bronze);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(0.55);
}

.dark-section {
  background: var(--espresso);
  color: var(--ivory);
}

.dark-section p {
  color: var(--white-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  overflow: hidden;
  border: 1px solid rgba(248, 245, 241, 0.1);
  border-radius: 8px;
  background: rgba(248, 245, 241, 0.045);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(183, 163, 143, 0.36);
  background: rgba(248, 245, 241, 0.07);
}

.service-card img {
  height: 340px;
  transition: transform 0.65s ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card div {
  padding: 30px;
}

.card-index {
  display: block;
  margin-bottom: 24px;
  color: var(--taupe);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.service-card h3 {
  margin-bottom: 18px;
}

.service-card p {
  font-size: 0.95rem;
}

details {
  margin-top: 24px;
}

summary {
  color: var(--taupe);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

details p {
  margin-top: 14px;
}

.rentals {
  background:
    linear-gradient(180deg, var(--cream), var(--ivory) 58%),
    var(--cream);
}

.rental-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: clamp(38px, 8vw, 104px);
  align-items: end;
  margin-bottom: clamp(58px, 8vw, 104px);
}

.rental-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.74fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.rental-cards {
  display: grid;
  gap: 18px;
}

.rental-card,
.feature-panel,
.product-grid article,
.testimonial-card {
  border-radius: 8px;
}

.rental-card {
  padding: clamp(28px, 4vw, 42px);
  background: rgba(255, 252, 247, 0.74);
  border: 1px solid rgba(45, 33, 28, 0.08);
  box-shadow: 0 18px 60px rgba(45, 33, 28, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rental-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(45, 33, 28, 0.11);
}

.icon-pill {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(166, 124, 82, 0.42);
  border-radius: 50%;
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rental-card h3,
.feature-panel h3,
.product-grid h3 {
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(38px, 6vw, 76px);
}

.feature-panel {
  padding: 34px;
  border-top: 1px solid rgba(45, 33, 28, 0.16);
  background: rgba(245, 242, 238, 0.62);
}

.gallery {
  background: var(--ivory);
}

.masonry-gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 180px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f5f1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.03);
}

.gallery-item.tall {
  grid-row: span 3;
}

.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:not(.tall):not(.wide) {
  grid-row: span 2;
}

.testimonial-controls {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.testimonial-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(248, 245, 241, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.testimonial-controls button:hover,
.testimonial-controls button:focus-visible {
  background: var(--ivory);
  color: var(--espresso);
  transform: translateY(-2px);
}

.testimonial-track {
  position: relative;
  min-height: 310px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: clamp(34px, 7vw, 86px);
  border: 1px solid rgba(248, 245, 241, 0.1);
  background:
    linear-gradient(135deg, rgba(248, 245, 241, 0.08), rgba(183, 163, 143, 0.06)),
    var(--chocolate);
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonial-card::before {
  content: "\"";
  position: absolute;
  top: 18px;
  right: clamp(28px, 5vw, 64px);
  color: rgba(183, 163, 143, 0.22);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(8rem, 14vw, 15rem);
  line-height: 0.8;
}

.testimonial-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.stars {
  margin-bottom: 22px;
  color: var(--bronze);
  letter-spacing: 0.18em;
}

.testimonial-card p {
  max-width: 980px;
  color: var(--ivory);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.02;
}

.testimonial-card span {
  display: block;
  margin-top: 28px;
  color: var(--taupe);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.haircare {
  background: linear-gradient(180deg, var(--linen), var(--cream));
}

.haircare-layout,
.about {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 116px);
  align-items: center;
}

.haircare-media {
  position: relative;
  min-height: min(68vw, 760px);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.haircare-media video,
.haircare-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.haircare-media video + img {
  z-index: -1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.product-grid article {
  padding: 28px;
  background: rgba(248, 245, 241, 0.72);
  border: 1px solid rgba(45, 33, 28, 0.08);
}

.product-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.about {
  background: var(--ivory);
}

.about-image {
  order: 2;
}

.about-copy {
  order: 1;
}

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

.timeline div {
  padding: 18px 0;
  border-top: 1px solid rgba(45, 33, 28, 0.16);
}

.timeline strong {
  display: block;
  color: var(--espresso);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.timeline span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.contact {
  background: var(--cream);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(42px, 8vw, 104px);
  padding: clamp(34px, 6vw, 80px);
  border-radius: 8px;
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.contact-copy p {
  margin-top: 26px;
  color: var(--white-soft);
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 42px;
  color: var(--ivory);
}

.contact-details a,
.contact-details span {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(248, 245, 241, 0.12);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  color: var(--taupe);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(248, 245, 241, 0.18);
  border-radius: 8px;
  background: rgba(248, 245, 241, 0.06);
  color: var(--ivory);
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(183, 163, 143, 0.78);
  background: rgba(248, 245, 241, 0.09);
}

.contact-form option {
  color: var(--espresso);
}

.contact-form textarea {
  resize: vertical;
}

.map-frame {
  height: clamp(320px, 42vw, 520px);
  margin-top: 24px;
  overflow: hidden;
  border-radius: 8px;
  filter: saturate(0.8) contrast(0.96);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.sticky-book {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 245, 241, 0.2);
  border-radius: 999px;
  background: var(--espresso);
  color: var(--ivory);
  padding: 16px 22px;
  box-shadow: 0 16px 45px rgba(45, 33, 28, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.sticky-book.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-book:hover,
.sticky-book:focus-visible {
  transform: translateY(-3px);
  background: var(--bronze);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  background: #201713;
  color: var(--ivory);
  padding: 48px var(--page-pad) 54px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.footer p,
.footer-meta {
  color: rgba(248, 245, 241, 0.62);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(248, 245, 241, 0.14);
  border-radius: 50%;
  color: var(--ivory);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: var(--ivory);
  color: var(--espresso);
  transform: translateY(-2px);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 245, 241, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-video {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .primary-nav {
    position: fixed;
    inset: 72px var(--page-pad) auto;
    display: grid;
    gap: 0;
    max-height: calc(100svh - 96px);
    overflow-y: auto;
    border-radius: 8px;
    background: var(--ivory);
    color: var(--espresso);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .primary-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(45, 33, 28, 0.08);
  }

  .primary-nav a::after {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .menu-btn {
    display: inline-flex;
    justify-self: end;
  }

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

  .masonry-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(3.45rem, 14vw, 6.8rem);
  }

  .site-header {
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    max-width: 160px;
    white-space: normal;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding-top: 150px;
    padding-bottom: 92px;
  }

  .hero-scroll {
    display: none;
  }

  .intro,
  .editorial,
  .section-header.split,
  .rental-hero,
  .rental-layout,
  .feature-grid,
  .haircare-layout,
  .about,
  .contact-panel,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-walkthrough .walkthrough-video {
    min-height: 0;
  }

  .editorial-media img,
  .about-image img,
  .rental-image img,
  .rental-image .rental-walkthrough,
  .rental-image .walkthrough-video {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .haircare-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .about-image,
  .about-copy {
    order: initial;
  }

  .testimonial-controls,
  .footer-links {
    justify-content: flex-start;
  }

  .footer-meta {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  :root {
    --page-pad: 20px;
    --section-pad: 86px;
  }

  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .hero {
    padding-bottom: 82px;
  }

  .hero-actions,
  .stat-row,
  .product-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .stat-row,
  .product-grid,
  .timeline {
    display: grid;
  }

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

  .service-card img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .masonry-gallery {
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide,
  .gallery-item:not(.tall):not(.wide) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .testimonial-track {
    min-height: 390px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .contact-panel {
    padding: 30px 22px;
  }

  .sticky-book {
    right: 18px;
    bottom: 18px;
    min-height: 48px;
    padding: 14px 18px;
    font-size: 0.68rem;
  }
}
