.editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(1rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}
.editorial-heading > p {
  max-width: 34ch;
  margin: 0 0 .8rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
}
.editorial-heading h2 { margin-bottom: 0; }
.overview {
  gap: clamp(.8rem, 2.6vw, 2rem);
  align-items: start;
}
.overview-card {
  display: block;
  overflow: visible;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
}
.overview-card:nth-child(2) { margin-top: clamp(1.1rem, 6vw, 5.5rem); }
.overview-card:nth-child(3) { margin-top: clamp(.5rem, 2.8vw, 2.5rem); }
.overview-card::before { content: none; }
.overview-image, .style-image, .portrait-photo {
  overflow: hidden;
  background: #252424;
  isolation: isolate;
}
.overview-image { aspect-ratio: 4 / 4.8; }
.overview-card .overview-image img,
.style-image img {
  position: static;
  width: 100%;
  height: 100%;
  transform: scale(1.16) translateY(var(--editorial-pan, 0px));
}
.overview-card > span {
  position: relative;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.overview-card small { color: var(--muted); }
.overview-card:hover strong { color: var(--accent); }

.feature-services {
  background: linear-gradient(180deg, #1f2022, #18191b 38%, #212020);
}
#featured-services, #team {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.4rem, 8vw, 7rem);
}
.style-story, .portrait-story {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  grid-template-areas: "photo copy";
  align-items: center;
  gap: clamp(1.8rem, 7vw, 7rem);
  scroll-margin-top: 1.5rem;
}
.style-story:nth-child(even), .portrait-story:nth-child(even) {
  grid-template-areas: "copy photo";
}
.style-image, .portrait-photo { grid-area: photo; }
.style-copy, .portrait-copy { grid-area: copy; }
.style-image { aspect-ratio: 1.22; }
.style-copy h3, .portrait-copy h3 {
  margin: 0 0 .75rem;
  font-size: clamp(2.3rem, 4.85vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.style-copy > p, .portrait-copy > p:last-child {
  max-width: 47ch;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.17rem);
}
.style-prices { display: grid; margin-top: 1.5rem; }
.style-prices button {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  align-items: center;
  padding: .8rem .1rem;
  color: var(--ink);
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
}
.style-prices button:hover { background: #ffffff0d; }
.style-prices strong { color: var(--accent); white-space: nowrap; }
.portrait-story {
  padding-bottom: clamp(1.7rem, 4.5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.portrait-photo {
  width: min(100%, 365px);
  aspect-ratio: 4 / 5;
  justify-self: center;
}
.team .portrait-photo img {
  width: 100%;
  height: 100%;
  object-position: center 35%;
  transform: scale(1.10) translateY(calc(var(--editorial-pan, 0px) * .46));
}
.portrait-copy .overline { color: var(--accent); margin: 0 0 .8rem; }

.room-gallery { background: #101112; }
.gallery-intro { padding-bottom: clamp(2rem, 5vw, 4rem); }
.gallery-intro > p:last-child { max-width: 44ch; color: var(--muted); }
.gallery-outro { padding-block: 1.7rem 3.3rem; }
 .room-track { width: 100%; }
.room-track.room-scroll { height: calc(100svh + var(--gallery-steps, 5) * clamp(240px, 53svh, 430px)); }
.room-stage {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0 max(.7rem, env(safe-area-inset-bottom));
  background: #161719;
}
.room-scroll .room-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.salon-photo-backdrop { position: absolute; inset: 0; z-index: -1; }
.salon-photo-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.room-scroll .salon-photo-backdrop img {
  transform: scale(var(--room-scale, 1.045)) translateX(var(--room-shift, 2.5%));
}
.salon-photo-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0b0b0bb0, #0b0b0b19 38%, transparent 65%, #0b0b0be5);
}
.room-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%, 15rem),1fr));
  gap: 1rem;
  padding: 1rem;
}
.room-card {
  border: 1px solid #d4c8ad80;
  border-radius: 5px;
  overflow: hidden;
  background: #202021;
  box-shadow: 0 16px 48px #0a090964;
  min-width: 0;
}
.room-card button {
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}
.room-card button:focus-visible { outline-offset: -5px; }
.room-card img { width: 100%; height: 100%; min-height: 0; max-height: 25rem; object-fit: cover; }
.room-card strong {
  padding: .64rem .9rem;
  color: var(--ink);
  background: linear-gradient(90deg,#171719,#262422);
  font: 500 clamp(1.05rem,2.2vw,1.55rem)/1.22 Georgia,serif;
}
.room-scroll .room-cards { margin: .75rem 0 .5rem; padding: 0; display: block; position: relative; container-type: size; }
.room-scroll .room-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72vw, 26rem);
  height: min(100%, 31rem);
  transform: translate(calc(-50% + var(--card-x, 0px)), -50%) scale(var(--card-scale, 1)) rotateY(var(--card-angle, 0deg));
  visibility: var(--card-visibility, hidden);
  z-index: var(--card-order, 0);
}
.room-scroll .room-card img { max-height: none; }
.room-controls { display: flex; align-items: center; justify-content: center; gap: .85rem; margin: 0 auto; padding-inline: .6rem; }
.room-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #191a1c;
  color: var(--ink);
  font-size: 1.65rem;
}
.room-controls button:disabled { opacity: .45; cursor: default; }
.room-position { width: min(16rem, 57vw); text-align: center; font-size: .86rem; }
.room-position p { margin: 0; }
.room-position progress { display: block; width: 100%; height: .35rem; margin-top: .3rem; }
.salon-return .salon-enter { position: relative; animation: entrance-glow 2.2s ease-in-out infinite; }
@keyframes entrance-glow {
  0%, 100% { box-shadow: 0 0 0 0 #e9da9e5f, 0 3px 18px #e9da9e38; }
  55% { box-shadow: 0 0 0 10px #e9da9e00, 0 5px 36px #e9da9eab; }
}
@media (prefers-reduced-motion: reduce) { .salon-return .salon-enter { animation: none; } }
@media (prefers-reduced-motion: no-preference) {
  .overview-image, .style-image {
    clip-path: inset(calc(var(--editorial-entry, 0) * 17%) 0 0 0);
  }
  .overview-card > span, .style-copy, .portrait-copy {
    transform: translateY(calc(var(--editorial-entry, 0) * 56px));
    opacity: calc(1 - var(--editorial-entry, 0) * .6);
  }
  .portrait-photo {
    clip-path: inset(0 calc(var(--editorial-entry, 0) * 14%) 0 0);
  }
  .portrait-story:nth-child(even) .portrait-photo {
    clip-path: inset(0 0 0 calc(var(--editorial-entry, 0) * 14%));
  }
}
@media (max-width: 680px) {
  .editorial-heading { grid-template-columns: minmax(0, 1fr); }
  .editorial-heading { gap: .85rem; }
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-card:last-child { aspect-ratio: auto; margin: .25rem 0 0; }
  .overview-card:last-child .overview-image { aspect-ratio: 1.9; }
  .style-story, .portrait-story { gap: 1rem; }
  .portrait-photo { width: min(100%, 310px); }
  .portrait-copy h3, .style-copy h3 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .overview-card .overview-image img, .style-image img, .team .portrait-photo img { transform: none; }
}

/* Editorial type and protected reading widths at desktop and phone sizes. */
#salon-site, .cinema { overflow-x: clip; }
#salon-site h1, #salon-site h2, .management h1, .cinema h2, .install-layout h2 {
  letter-spacing: -.048em;
  overflow-wrap: break-word;
  line-height: 1.13;
}
#salon-site h1 { font-size: clamp(3.15rem, 7.7vw, 7rem); }
#salon-site h2 { font-size: clamp(2.05rem, 4.65vw, 4.15rem); }
.cinema h2, .install-layout h2 { font-size: clamp(1.9rem, 4.3vw, 3.65rem); }
.cinema-content { width: min(660px, 100%); }
.cinema .guide-scene > h2 { margin-bottom: .7em; }
.style-copy h3, #team .portrait-copy h3 {
  font-size: clamp(1.75rem, 3.35vw, 3.15rem);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0 0 .48em;
}
.style-copy, .portrait-copy, .editorial-heading > *, .contact > * {
  min-width: 0;
}
.portrait-copy {
  width: 100%;
  padding-inline: clamp(.3rem, 1.5vw, 1.35rem);
}
.portrait-copy p { overflow-wrap: break-word; }
#team .portrait-story { min-width: 0; }
#team .portrait-copy { opacity: 1; transform: none; }
#salon-site [data-scroll="title"] { clip-path: none; }
@media (max-width: 680px) {
  #salon-site h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
  #salon-site h2 { font-size: clamp(1.95rem, 8vw, 2.85rem); }
  #team .portrait-copy { padding-inline: .2rem; }
  .salon-photo-backdrop img { object-position: 50% 56%; }
  .room-scroll .room-card { width: min(83vw, 26rem); height: min(100%, 30rem); }
  .cinema { align-items: center; padding-block: 1.3rem; }
  .cinema .guide-fields { margin-block: .7rem; }
  .cinema .guide-service { grid-template-columns: minmax(85px, .55fr) minmax(0, 1fr); }
}

/* Stacked layout for phones and for the narrow Sites preview on desktop. */
@media (max-width: 820px) {
  .style-story:nth-child(n), .portrait-story:nth-child(n) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "copy";
    gap: clamp(1rem, 3vw, 1.7rem);
  }
}

.room-booking-label {
  display: grid;
  gap: .2rem;
  padding: .65rem .9rem;
  background: linear-gradient(90deg,#171719,#262422);
}
.room-booking-label strong { padding: 0; background: none; }
.room-booking-label > span { color: var(--accent); font-size: .87rem; font-weight: 700; }
.room-card button:hover .room-booking-label { background: #35302a; }

.contact {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  gap: clamp(1.2rem, 4vw, 4rem);
}
.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1.45rem;
}
.contact-channel, .contact-location {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: #202124;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.contact-channel:hover, .contact-location:hover {
  border-color: var(--accent);
  background: #28272a;
}
.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  border: 1px solid #e9da9e55;
  border-radius: 50%;
  background: #e9da9e0e;
  color: var(--accent);
}
.contact-icon svg { width: 1.2rem; height: 1.2rem; }
.contact-channel-copy { min-width: 0; display: grid; gap: .1rem; overflow-wrap: anywhere; }
.contact-channel-copy > span { color: var(--muted); font-size: .82rem; }
.contact-channel-copy strong { font-size: .93rem; line-height: 1.35; }
.contact-side { display: grid; gap: .8rem; }
.contact-location {
  align-items: flex-start;
  padding: 1rem;
  border-color: #e9da9e55;
}
.contact-location strong { font-size: 1.08rem; }
.contact-faq { padding: .3rem .9rem; border: 1px solid var(--line); border-radius: .7rem; }
.contact-faq h3 { margin: .65rem 0; font-size: 1rem; }
.contact-faq details p { margin-bottom: 0; color: var(--muted); }
@media(max-width: 820px) { .contact { grid-template-columns: minmax(0,1fr); } }
@media(max-width: 480px) { .contact-channels { grid-template-columns: minmax(0,1fr); } }
@media(max-width: 720px) { footer .management-cta { font-size: .85rem; padding: .45rem .7rem; } }

.management-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #d7bd72, var(--accent) 52%, #f8eabd);
  border-color: #fff1c48a;
  box-shadow: 0 .25rem 1rem #e9da9e38;
}
.management-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 30%, #fff9dcba 48%, transparent 65%);
  transform: translateX(-110%);
}
.management-cta:focus-visible { outline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .management-cta { animation: management-pulse 3s ease-in-out infinite; }
  .management-cta::before { animation: management-shine 3s ease-in-out infinite; }
}
@keyframes management-pulse {
  0%, 100% { transform: scale(.98); box-shadow: 0 .25rem .85rem #e9da9e38; }
  50% { transform: scale(1.05); box-shadow: 0 .25rem 1.15rem #e9da9e65; }
}
@keyframes management-shine {
  0%, 12% { transform: translateX(-110%); }
  64%, 100% { transform: translateX(110%); }
}

@media (prefers-reduced-motion: no-preference) {
  #team .portrait-story { --portrait-direction: 1; }
  #team .portrait-story:nth-child(even) { --portrait-direction: -1; }
  #team .portrait-photo {
    clip-path: inset(calc(var(--portrait-entry, 0) * 18%) calc(var(--portrait-entry, 0) * 12%));
  }
  #team .portrait-photo img {
    transform: translate(
      calc(var(--portrait-travel, 0) * var(--portrait-direction) * 6%),
      calc(var(--portrait-travel, 0) * 9%)
    ) scale(calc(1.22 + var(--portrait-entry, 0) * .23));
  }
}
