/* User-requested rococo artwork and image-based section handoffs. */
.page{--hero-background:#c3b99e}
.rococo-frame{position:absolute;inset:0 0 74px;z-index:0;pointer-events:none}
.rococo-frame img{width:100%;height:100%;object-fit:fill;mask-image:linear-gradient(#000 98.5%,transparent)}
.hero-oval{display:none}
.hero{padding-top:140px;padding-bottom:210px;background:var(--hero-background)}
.hero-content{z-index:1}
.hero-brand img{width:220px;margin:auto}
.hero h1{max-width:76%;margin-left:auto;margin-right:auto}
.hero-copy,.hero-note{max-width:72%;margin-left:auto;margin-right:auto}
.hero .cta{width:72%;font-size:18px}
.brand-word img{width:185px}
.closing-brand img{width:230px;margin:auto}
.footer-brand img{width:125px;margin:auto}
.eyebrow img{width:83px}
.eyebrow:has(img){line-height:1}
.image-handoff{position:relative;z-index:2}
.handoff-values{margin-top:-67px;padding-bottom:37px}
.handoff-values .values-photos{margin-bottom:0}
.values-photos figure > .crop { aspect-ratio: 1 !important; }
/* Only the original composite needs to start at the photo row. */
.values-photos figure > .crop > img[src$="/values-art.webp"] {
  top: 0;
  transform: translateY(-23.1%);
}
.values-photos figure > .crop > img:not([src$="/values-art.webp"]) {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.values{padding-top:18px;padding-bottom:40px}
.handoff-guide{padding:18px 0 30px}
.handoff-guide .guide-photo{border-radius:0;max-width:100%}
.guide{padding-top:24px;padding-bottom:84px}
.wishes-heading-photo>.crop>img{width:260%;left:-135.2%;top:0}
.wish-list{padding-bottom:94px}
.consult-main{position:relative;isolation:isolate;padding-top:0;display:flow-root}
.consult-main .consult-circle{position:relative;z-index:2;margin-top:-52px;margin-bottom:40px}
.designs{padding-top:78px;padding-bottom:100px;border-top:0}
.faq-heading{padding-top:0;display:flow-root}
.salon-info{padding-bottom:88px}
.closing{padding-top:0}
.closing-content{display:flow-root}
.closing-photo{position:relative;overflow:visible;margin-top:-43px;margin-bottom:30px}
.closing h2{margin-top:0}
.decor-scene{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:4;contain:paint}
.bird-anchor,.bird-flight,.bird-sprite,.petal{position:absolute;pointer-events:none}
.bird-anchor{transform:translate(-50%,-50%)}
.bird-flight,.bird-sprite{inset:0}
.bird-sprite,.petal{background-repeat:no-repeat;background-size:300% 200%;backface-visibility:hidden}
.bird-flight{transform-origin:50% 55%;will-change:transform}
.petal{opacity:0;transform-origin:50% 50%;will-change:transform,opacity}
.petal-0{background-position:0 100%}.petal-1{background-position:50% 100%}.petal-2{background-position:100% 100%}
.motion-controls{min-height:44px;margin:15px auto 0;text-align:center}
.motion-toggle{padding:5px 12px;min-height:44px;background:transparent;border:0;border-bottom:1px solid var(--green);font-size:13px;line-height:1.6;letter-spacing:.02em}
.motion-toggle:hover{color:#243f37}
.hero .motion-toggle{border-bottom:0;text-decoration:underline;text-underline-offset:4px;padding-left:6px;padding-right:6px;max-width:60%}
.decor-scene[hidden]{display:none}
@media(max-width:600px){
 .hero{padding-top:115px;padding-bottom:200px}
 .rococo-frame{bottom:62px}
 .hero-brand img{width:180px}
 .hero h1{font-size:36px}
 .hero .cta{width:68%;font-size:16px}
 .closing-brand img{width:190px}
 .eyebrow img{width:74px}
 .handoff-values{margin-top:-55px;padding-bottom:31px}
 .values{padding-top:14px;padding-bottom:28px}
 .handoff-guide{padding-top:10px;padding-bottom:22px}
 .guide{padding-top:20px;padding-bottom:70px}
 .wishes-heading-photo>.crop>img{width:310%;left:-161.2%;top:0}
 .wish-list{padding-bottom:85px}
 .consult-main{padding-top:0}
 .consult-main .consult-circle{margin-top:-48px;margin-bottom:34px}
 .designs{padding-top:63px;padding-bottom:88px}
 .faq-heading{padding-top:0}
 .salon-info{padding-bottom:76px}
 .closing{padding-top:0}
 .closing-photo{margin-top:-36px;margin-bottom:27px}
}
@media(prefers-reduced-motion:reduce){.decor-scene,.motion-toggle{display:none!important}}

.cta {
  position: relative;
  gap: 9px;
  min-height: 64px;
  padding: 10px 14px;
  border: 0;
  box-shadow: none;
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
.hero .cta { z-index: 1; }
.cta:active { transform: translateY(1px); }
.cta-label { min-width: 0; }
.nav-rail .cta { min-height: 48px; }
.mobile-booking .cta { min-height: 56px; box-shadow: none; }
@media(max-width:600px){
 .hero{height:min(100svh,860px);min-height:540px;padding:clamp(62px,9svh,80px) 0 clamp(90px,14svh,126px)}
 .rococo-frame{inset:0}
 .hero-content{position:static;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:center}
 .hero-content>header{position:relative;z-index:1;width:100%}
 .hero-brand{font-size:0;padding-left:0;line-height:1}
 .hero-brand img{width:clamp(130px,20svh,170px)}
 .hero-label{font-size:12px;line-height:1.3;letter-spacing:.32em;margin-top:0}
 .hero h1{font-size:clamp(26px,4.2svh,34px);line-height:1.45;max-width:78%;margin-top:clamp(8px,1.4svh,12px)}
 .hero-copy{font-size:16px;line-height:1.5;max-width:80%;margin-top:clamp(7px,1.2svh,11px)}
 .hero-copy span{font-size:16px;line-height:1.5;margin-top:0}
 .hero-frame{flex-shrink:0;width:min(78%,clamp(180px,calc(80svh - 340px),320px));margin:8px auto}
 .hero .cta{width:72%;min-height:60px;font-size:16px;margin:0 auto;flex-shrink:0;padding:10px 12px;gap:7px;white-space:nowrap}
 .hero-afterword{position:absolute;top:100%;left:0;width:100%;padding:4px 22px 10px;background:var(--hero-background);z-index:2}
 .hero-afterword .hero-note{max-width:100%;line-height:1.5;margin:3px auto 0}
 .hero-afterword .motion-controls{width:100%;margin:6px auto 0;min-height:44px}
 .hero-afterword .motion-toggle{max-width:100%}
 .handoff-values{margin-top:0;padding-top:94px;pointer-events:none}
}
@media(prefers-reduced-motion:reduce){.cta:active{transform:none}}

.content-section{position:relative;isolation:isolate;display:flow-root}
.hero-followup-space{display:none}
.values{padding-top:30px;padding-bottom:48px}
.values .handoff-values{margin:0;padding:0 20px 44px;pointer-events:none}
.guide{padding-top:30px;padding-bottom:60px}
.guide .handoff-guide{padding:0 0 28px;background:none}
.wishes-heading {
  display: grid;
  grid-template-areas: 'heading';
  min-height: 0;
  padding-top: 32px;
  padding-bottom: 20px;
  overflow: visible;
  background: none;
}
.wishes-heading-photo {
  position: relative;
  z-index: 0;
  inset: auto;
  grid-area: heading;
  justify-self: end;
  width: 64%;
  height: 220px;
}
.wishes-heading h2 {
  z-index: 1;
  grid-area: heading;
  justify-self: start;
  align-self: end;
  margin: 0 0 18px;
}
.wish-list{padding-bottom:48px}
.consult-main{padding-top:34px}
.consult-main .consult-circle{margin-top:0;margin-bottom:36px}
.designs{padding-top:48px;padding-bottom:48px}
.faq-heading{padding-top:34px}
.faq .answer { align-items: flex-start; }
.faq .answer > .faq-photo { width: clamp(62px, 18vw, 92px); }
.faq .faq-photo > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.salon-info{padding-bottom:46px}
.closing{padding-top:34px;padding-bottom:42px}
.closing-photo{margin-top:0;margin-bottom:30px}
@media(max-width:600px){
 .hero-followup-space{display:block;height:94px;background:var(--hero-background);pointer-events:none}
 .values{display:grid;padding-top:26px;padding-bottom:40px}
 .values > h2 { grid-row: 1; }
 .values .handoff-values{margin:0;padding:0 18px 40px}
 .guide{padding-top:28px;padding-bottom:48px}
 .guide .handoff-guide{padding:0 0 24px}
 .wishes-heading{padding-top:28px;padding-bottom:16px;background:none}
 .wishes-heading-photo{width:max(65%, calc(100% - 154px));height:190px}
 .wish-list{padding-left:20px;padding-right:20px;padding-bottom:42px}
 .consult-main{padding-top:30px}
 .consult-main .consult-circle{margin-top:0;margin-bottom:32px}
 .designs{padding-top:40px;padding-bottom:44px}
 .faq-heading{padding-top:28px}
 .salon-info{padding-bottom:40px}
 .closing{padding-top:28px;padding-bottom:36px}
 .closing-photo{margin-top:0;margin-bottom:39px}
}

/* Replacement photographs are continuous originals, clipped only by CSS. */
.wishes-heading-photo>.standalone-photo{width:100%;height:100%;object-fit:cover;object-position:50% 38%;position:static}
.wish-photo.native-circle{aspect-ratio:1;border-radius:50%;overflow:hidden}
.wish-photo.native-circle>img{width:100%;height:100%;object-fit:cover;object-position:center;position:static}
.hero-frame>.crop>.standalone-photo{position:static;width:100%;height:100%;max-width:100%;object-fit:cover}
.salon-info dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.salon-info dd{white-space:nowrap}
.closing-phrase{white-space:nowrap}
.closing h2{text-wrap:wrap}
@media(max-width:600px){.closing h2{font-size:clamp(22px,6.4vw,26px)}}

/* Capsule centers follow the photograph's true circumference. */
.consult-circle{--photo-inset:25px;--tag-diagonal-inset:17.67767px;border:0;padding:var(--photo-inset)}
.consult-tag{transform:translate(-50%,-50%)}
.tag-one{left:calc(14.64466% + var(--tag-diagonal-inset));top:calc(14.64466% + var(--tag-diagonal-inset))}
.tag-two{left:calc(100% - var(--photo-inset));right:auto;top:50%}
.tag-three{left:50%;top:calc(100% - var(--photo-inset));bottom:auto}
/* Smooth alpha shoulders replace the abrupt three-stop fades. */
.page{--photo-fade-y:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.025) 2%,rgba(0,0,0,.1) 4%,rgba(0,0,0,.25) 6%,rgba(0,0,0,.5) 8%,rgba(0,0,0,.75) 10%,rgba(0,0,0,.9) 12%,rgba(0,0,0,.975) 14%,#000 16%,#000 84%,rgba(0,0,0,.975) 86%,rgba(0,0,0,.9) 88%,rgba(0,0,0,.75) 90%,rgba(0,0,0,.5) 92%,rgba(0,0,0,.25) 94%,rgba(0,0,0,.1) 96%,rgba(0,0,0,.025) 98%,transparent 100%);--photo-fade-x:linear-gradient(to right,transparent 0%,rgba(0,0,0,.1) 3%,rgba(0,0,0,.5) 6%,rgba(0,0,0,.9) 9%,#000 12%,#000 88%,rgba(0,0,0,.9) 91%,rgba(0,0,0,.5) 94%,rgba(0,0,0,.1) 97%,transparent 100%)}
.wishes-heading-photo{mask-image:var(--photo-fade-y)}
.wishes-heading-photo>.standalone-photo{mask-image:var(--photo-fade-x)}
.bird-sprite[data-facing="right"]{transform:scaleX(-1)}
@media(max-width:600px){
 .consult-circle{--photo-inset:18px;--tag-diagonal-inset:12.72792px}
}
@media(prefers-reduced-motion:reduce){
 [data-decor-scene] .decor-scene:not([hidden]){display:block!important}
 .decor-scene .petal{display:none}
}

/* mato-button-depth: retain the green carved material and legible type. */
.consult-design{margin-top:28px;padding:12px 20px;font-size:18px;gap:12px}
.carousel-controls{gap:8px}
.page-dots{gap:0}
.page-dot{width:44px;height:48px;flex-shrink:0}
.page-dot::before{left:11px;right:11px}
.carousel-position{display:none}
@media(max-width:600px){
 .wish-list{padding-top:24px}
 .consult-design{font-size:16px;gap:10px}
 .carousel-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;align-items:center}
 .carousel-arrow{width:44px;height:48px}
 .page-dots{display:grid;grid-template-columns:repeat(5,44px);justify-content:center;grid-column:1/-1;grid-row:2}
 .carousel-arrow.next{grid-column:3;grid-row:1}
 .carousel-arrow.prev{grid-column:1;grid-row:1}
 .carousel-position{display:block;grid-column:2;grid-row:1;font-size:16px;letter-spacing:.08em}
}

.steps li > span, .hero .salon-snapshot .fact-number {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* Plain ivory circles bring the salon facts into the first view. */
.hero .salon-snapshot {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: 0 auto;
  font-family: var(--serif);
}
.hero .floral-bottom {
  width: clamp(84px, 26%, 150px);
  right: -7%;
  bottom: 6%;
}
.hero .salon-snapshot dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 14px);
  margin: 0;
  text-align: center;
}
.hero .salon-snapshot dl > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: clamp(84px, 24vw, 94px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ivory);
}
.hero .salon-snapshot dt {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}
.hero .salon-snapshot dd {
  margin: 4px 0 0;
  white-space: nowrap;
  font-size: clamp(15px, 4.1vw, 17px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
@media (min-width: 601px) {
  .hero { padding: clamp(83px, 10.8svh, 118px) 0 90px; }
  .rococo-frame { bottom: 40px; }
  .hero-brand { font-size: 0; line-height: 1; padding-left: 0; margin-top: 6px; }
  .hero-brand img { width: clamp(165px, 19svh, 185px); }
  .hero-label { font-size: 14px; line-height: 1.35; margin-top: 0; }
  .hero h1 { font-size: clamp(36px, 4.6svh, 46px); line-height: 1.35; margin-top: clamp(14px, 1.8svh, 18px); }
  .hero-copy { font-size: 17px; margin-top: 12px; line-height: 1.45; }
  .hero-copy span { margin-top: 0; }
  .hero-frame { width: min(76%, 440px, 40svh); margin: clamp(16px, 2svh, 24px) auto 10px; }
  .hero .salon-snapshot dl > div { width: clamp(100px, 11.5svh, 108px); }
  .hero .salon-snapshot dt { font-size: 15px; }
  .hero .salon-snapshot dd { font-size: clamp(17px, 2svh, 19px); }
  .hero .cta { margin-top: 16px; width: min(66%, 390px); }
}
@media (max-width: 600px) {
  .hero { padding: clamp(50px, 10svh, 88px) 0 clamp(54px, 9svh, 84px); }
  .hero-content { gap: 23px; }
  .hero-brand { margin-top: clamp(4px, .7svh, 8px); }
  .hero h1 { font-size: clamp(24px, 4.1svh, 34px); line-height: 1.34; margin-top: clamp(9px, 1.65svh, 15px); }
  .hero-copy { margin-top: clamp(8px, 1.35svh, 12px); }
  .hero-copy, .hero-copy span { line-height: 1.4; }
  .hero-frame {
    width: min(78%, clamp(162px, calc(71svh - 244px), 304px));
    margin: 0 auto;
  }
  .hero .salon-snapshot { flex-shrink: 0; }
}
@media (max-width: 600px) and (max-height: 590px) {
  .hero .hero-copy, .hero .hero-copy span { line-height: 1.32; }
  .hero .hero-frame { padding: 3px; }
  .hero .cta { width: 66%; min-height: 56px; }
}

.hero .hero-frame { position: relative; z-index: 1; }

.texture-feature {
  position: relative;
  margin: 24px 20px 0;
  container-type: inline-size;
}
.texture-feature-photo { display: block; width: 100%; height: auto; }
.texture-feature .texture-copy {
  position: absolute;
  inset: auto 0 clamp(16px, 9cqw, 52px);
  padding: 0 clamp(18px, 7cqw, 42px);
}
.texture-feature .texture-copy h2 {
  font-size: clamp(22px, 6.3cqw, 35px);
  line-height: 1.4;
  margin-bottom: clamp(7px, 2cqw, 12px);
}
.texture-copy p { font-size: clamp(15px, 3.3cqw, 18px); line-height: 1.55; }

.consultation { padding-bottom: 30px; }

.lpm-ready #wishes .wish-list[data-lpe-motion="stagger"]:not(.lpm-in) > .wish {
  translate: -12px 0;
}

@media (max-width: 350px) {
  .hero .motion-toggle {
    translate: min(109px, calc(50vw - 74px)) 18px !important;
  }
  .closing .motion-toggle {
    translate: max(-98px, calc(80px - 50vw)) 28px !important;
  }
}

@media (max-width: 600px) {
  .texture-feature { margin: 18px 18px 0; }
}

.consultation:has(+ .texture-section) { padding-bottom: 0; }
.texture-section {
  position: relative;
  display: flow-root;
  padding-bottom: 30px;
}

/* The supplied wallpaper keeps its native proportions across both orientations. */
.hero {
  background: var(--hero-background) url("images/hero-rococo-wallpaper-v2.webp") center / cover no-repeat;
}

@media (max-width: 1120px) {
  .hero .rococo-frame {
    inset: 26px 0 30px;
    width: 83%;
    margin-inline: auto;
  }
  .hero .rococo-frame img { object-fit: contain; mask-image: none; }
}

@media (max-width: 600px) {
  .hero {
    --hero-mobile-height: clamp(540px, 100svh, 860px);
    height: var(--hero-mobile-height);
    padding-top: clamp(54px, 12svh, 100px);
    padding-bottom: clamp(36px, 8svh, 72px);
    background-image: none;
  }
  .hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: var(--hero-mobile-height);
    height: 100vw;
    transform: translate(-50%, -50%) rotate(90deg);
    background: url("images/hero-rococo-wallpaper-v2.webp") center / cover no-repeat;
    pointer-events: none;
  }
  .hero .rococo-frame { display: none; }
  .hero .floral-corner { visibility: hidden; }
  .hero .salon-snapshot { margin-top: 4px; }
  .hero .hero-frame {
    width: clamp(110px, calc(27svh - 46px), 184px);
    margin-block: 28px 15px;
    padding: 0;
    aspect-ratio: 1;
  }
}

@media (max-width: 600px) and (max-height: 740px) {
  .hero .hero-frame { margin-block: 4px; }
}

@media (max-width: 600px) and (max-height: 590px) {
  .hero {
    --hero-mobile-height: max(568px, 100svh);
    padding-block: 39px 35px;
  }
  .hero .hero-frame {
    width: clamp(90px, calc(27svh - 62px), 98px);
  }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .hero #hero-title { translate: 0 5px !important; }
}

@media (min-width: 601px) {
  .guide-photo > .crop { aspect-ratio: 1 !important; }
  /* Keep the selected square crop anchored to the phone photo. */
  .guide-photo > .crop > img {
    --image-width: 258.55422%;
    --image-left: -87.22892%;
    --image-top: -177.83133%;
  }
}

.page > .designs { --wallpaper-base: var(--surround); }
.page > .consultation { --wallpaper-base: var(--mint); }
.page > .guide { --wallpaper-base: var(--ivory); }
.page > .faq { --wallpaper-base: var(--surround); }
.page > :is(.designs, .consultation, .guide, .faq) {
  --wallpaper-tint: color-mix(in srgb, var(--wallpaper-base) 79%, transparent);
  background-color: var(--wallpaper-base);
  background-image:
    linear-gradient(var(--wallpaper-tint), var(--wallpaper-tint)),
    url("images/section-rococo-wallpaper-v1.webp");
  background-position: center top;
  background-size: auto, clamp(560px, 64vw, 880px) auto;
  background-repeat: no-repeat, repeat;
}
.page > .consultation > .consult-main { background-color: transparent; }

@media (max-width: 600px) {
  .page > :is(.designs, .consultation, .guide, .faq) {
    --wallpaper-tint: color-mix(in srgb, var(--wallpaper-base) 83%, transparent);
  }
}

/* Editor glow supplies the CTA filter. Use the same play/pause state as the birds. */
.cta[data-lpe-motion="glow"][data-cta-motion]:not([data-cta-motion="playing"]) {
  animation-play-state: paused;
}

/* Keep the approved offset on the copy from putting it under the following button. */
@media (min-width: 601px) {
  .closing-content > p.closing-copy + .cta { margin-top: 41px; }
}

@media (min-width: 601px) and (prefers-reduced-motion: reduce) {
  .closing-content > p.closing-copy + .cta { margin-top: 79px; }
}

/* A warm halo follows the actual letterforms over the Rococo wallpaper. */
.hero .hero-label { text-shadow: 0 0 3px rgba(255, 249, 233, .58); }
.hero #hero-title { text-shadow: 0 0 5px rgba(255, 249, 233, .48); }
.hero .hero-brand > img { filter: drop-shadow(0 0 3px rgba(255, 249, 233, .55)); }

/* Keep the confirmed wide photo and its labels inside narrower PC layouts. */
@media (min-width: 601px) and (max-width: 1279px) {
  .consult-main .consult-circle {
    width: min(100%, 644px);
    padding: 0;
  }
  .consult-circle > .consult-photo {
    width: 100% !important;
    aspect-ratio: 726 / 554;
    margin: 0 !important;
    padding: 0 !important;
    translate: none !important;
    border-radius: 0;
  }
  .consult-photo > img {
    width: 100% !important;
    translate: none !important;
  }
  .consult-circle .tag-one {
    left: 14.5%;
    top: 19%;
    transform: translate(-50%, -50%) !important;
  }
  .consult-circle .tag-two { left: 88%; top: 52%; }
  .consult-circle .tag-three {
    left: 41.5%;
    top: 90%;
    transform: translate(-50%, -50%) !important;
  }
}

@media (min-width: 1121px) and (max-width: 1279px) {
  .page .consult-main .consult-circle { width: min(100%, 644px); }
}


#reservation {
  background: #c6bea1 url("images/closing-rococo-wallpaper-v1.webp") center top / cover no-repeat;
}

@media (min-width: 601px) and (max-width: 1120px) {
  .hero .salon-snapshot { margin-top: 9px; }
  /* Reserve space below the CTA for the bird in the single-column layout. */
  #reservation { padding-bottom: 110px; }
}

@media (max-width: 600px) {
  #reservation { padding-bottom: 55px; }
}

@media (max-width: 600px) and (max-height: 740px) {
  /* Keep the booking button below the facts on shorter phone screens. */
  #top .hero-content > .cta { translate: 0 6px !important; }
}


@media (max-width: 350px) {
  #top .hero-copy { max-width: calc(100% - 24px); }
}

@media (min-width: 601px) and (prefers-reduced-motion: reduce) {
  #top #hero-title { translate: 0 1px !important; }
}
