/* The canonical goldwork takes the stage; the room stays mounted underneath. */
:root {
  --salon-splash-black: #030403;
  --salon-splash-gold: #d8b76d;
  --salon-splash-metal-light: #fff4d4;
  --salon-splash-metal-mid: #eed397;
  --salon-splash-metal-low: #bc914b;
  --salon-splash-metal-dark: #92703a;
  --salon-splash-ivory: #f0ddb1;
  --salon-splash-muted: #bcaa86;
  --salon-splash-control: color-mix(in srgb, var(--salon-splash-black) 72%, transparent);
  --salon-splash-hover: color-mix(in srgb, var(--salon-splash-gold) 12%, var(--salon-splash-black));
}

.salon-brand-splash {
  --salon-splash-ready: 1;
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--salon-splash-black);
  color: var(--salon-splash-gold);
  isolation: isolate;
  box-shadow: none;
}

.salon-brand-splash::backdrop { background: var(--salon-splash-black); }
.salon-brand-splash[open] { display: grid; place-items: center; }
.salon-brand-splash * { box-sizing: border-box; }
.salon-brand-splash [hidden] { display: none !important; }

.salon-splash-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vh, 42px);
  width: min(790px, calc(100% - 56px));
  text-align: center;
  transform: translateY(-1.5vh);
}

.salon-splash-portal {
  width: clamp(196px, 23vw, 310px);
  flex-shrink: 0;
  animation: salon-architecture-reveal 2.8s cubic-bezier(.18, .65, .24, 1) both;
}

.salon-splash-portal > svg,
.salon-splash-portal > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 49dvh;
  object-fit: contain;
  overflow: visible;
}

.salon-splash-goldwork > path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: salon-portal-trace 1.45s cubic-bezier(.22, .61, .36, 1) both;
}

.salon-splash-goldwork > .salon-splash-inner-arch { animation-delay: .12s; }
.salon-splash-goldwork > .salon-splash-plinth { animation-delay: .32s; }
.salon-splash-goldwork > .salon-splash-diamond { animation-delay: .45s; }
.salon-splash-goldwork > .salon-splash-cut { animation-delay: .66s; }
.salon-splash-goldwork > .salon-splash-hallmark { animation-delay: .78s; }

.salon-splash-facets { fill: var(--salon-splash-gold); }
.salon-splash-facets > path { opacity: .12; animation: salon-facet-light 1.3s .88s both; }
.salon-splash-facets > path:nth-child(2) { fill: var(--salon-splash-metal-light); animation-delay: 1.02s; }
.salon-splash-facets > path:nth-child(3) { animation-delay: 1.16s; }
.salon-splash-engraving-light { pointer-events: none; }
.salon-splash-engraving-light > path { stroke-dasharray: .1 .9; opacity: 0; animation: salon-metal-pass 1.65s 1.02s both; }
.salon-splash-engraving-light > path:last-child { animation-delay: 1.28s; }
.salon-splash-portal > img { animation: salon-word-reveal 1.2s .1s both; }
.salon-splash-wordmark { width: 100%; min-width: 0; }

.salon-splash-wordmark > #salon-splash-name {
  margin: 0;
  padding-left: .21em;
  color: var(--salon-splash-ivory);
  font: 400 clamp(34px, 5.1vw, 72px)/1.08 var(--brand-serif, "Bodoni Moda", Georgia, serif);
  letter-spacing: .21em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  animation: salon-word-reveal 1.15s .7s both;
}

.salon-splash-enter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--salon-splash-control);
  color: var(--salon-splash-ivory);
  font: 400 12px/1.4 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  touch-action: manipulation;
}

.salon-splash-enter svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .2s; }
.salon-splash-enter:hover svg { transform: translateX(3px); }
.salon-splash-enter:focus-visible { outline: 2px solid var(--salon-splash-metal-mid); outline-offset: 5px; }

/* Full brand in the header, without an extra caption beneath its name. */
.site-header .salon-brand-lockup,
.home-mode .site-header .salon-brand-lockup { display: inline-flex; align-items: center; gap: 13px; min-width: 0; flex-shrink: 0; text-decoration: none; }
.site-header .salon-brand-lockup .brand-mark,
.home-mode .site-header .salon-brand-lockup .brand-mark { display: block; width: 37px; height: 44px; object-fit: contain; }
.site-header .salon-brand-lockup .brand-wordmark,
.home-mode .site-header .salon-brand-lockup .brand-wordmark { display: block; min-width: 0; }
.site-header .salon-brand-lockup .brand-wordmark > [data-brand] { font: 400 23px/1.15 var(--brand-serif, "Bodoni Moda", Georgia, serif); letter-spacing: .2em; color: var(--salon-splash-ivory); white-space: nowrap; }
.site-header .salon-brand-lockup .brand-wordmark > small { display: none; }
.site-header .salon-brand-lockup:focus-visible { outline: 2px solid var(--salon-splash-metal-mid); outline-offset: 7px; }

.salon-entry-characters { position: absolute; inset: 0; background: var(--salon-splash-black); }
.salon-entry-poster,
.salon-entry-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--salon-splash-black); }
.salon-entry-video { opacity: 0; transition: opacity .5s ease; }
.salon-entry-has-video .salon-entry-video { opacity: 1; }
.salon-entry-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--salon-splash-control), transparent 22%, transparent 85%, var(--salon-splash-control)); }

.salon-entry-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  padding: max(24px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) 24px max(32px, env(safe-area-inset-left));
  pointer-events: none;
}

.salon-entry-actions { display: flex; align-items: center; gap: 9px; pointer-events: auto; }
.salon-entry-control { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 999px; background: var(--salon-splash-control); color: var(--salon-splash-ivory); font: 400 12px/1.4 ui-sans-serif, system-ui, sans-serif; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
.salon-entry-caption-control { width: 46px; padding: 10px; }
.salon-entry-caption-control > svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.salon-entry-caption-control[aria-pressed="true"] { color: var(--salon-splash-metal-light); background: var(--salon-splash-hover); }
.salon-entry-control:hover,
.salon-entry-actions .salon-splash-enter:hover { background: var(--salon-splash-hover); }
.salon-entry-control:focus-visible { outline: 2px solid var(--salon-splash-metal-mid); outline-offset: 4px; }
.salon-entry-status { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 4; width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--salon-splash-control); color: var(--salon-splash-ivory); font: 400 12px/1.5 ui-sans-serif, system-ui, sans-serif; text-align: center; }
.salon-entry-status:empty { display: none; }
.salon-entry-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.salon-entry-is-hidden * { animation-play-state: paused !important; }

@keyframes salon-architecture-reveal {
  from { opacity: .3; transform: perspective(900px) translateY(18px) rotateY(-12deg) scale(.85); }
  65% { opacity: 1; }
  to { opacity: 1; transform: perspective(900px) translateY(0) rotateY(0) scale(1); }
}
@keyframes salon-portal-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes salon-word-reveal { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes salon-facet-light { 0% { opacity: 0; } 58% { opacity: .45; } 100% { opacity: .12; } }
@keyframes salon-metal-pass { 0% { opacity: 0; stroke-dashoffset: 1.15; } 16%, 68% { opacity: .9; } 100% { opacity: 0; stroke-dashoffset: -.15; } }

@media (min-width: 781px) and (max-width: 1100px) {
  .site-header.salon-brand-header { gap: 18px; }
  .site-header .salon-brand-lockup,
  .home-mode .site-header .salon-brand-lockup { gap: 9px; }
  .site-header .salon-brand-lockup .brand-mark,
  .home-mode .site-header .salon-brand-lockup .brand-mark { width: 29px; height: 36px; }
  .site-header .salon-brand-lockup .brand-wordmark > [data-brand] { font-size: 19px; letter-spacing: .15em; }
}
@media (max-width: 780px) {
  .site-header .salon-brand-lockup,
  .home-mode .site-header .salon-brand-lockup { gap: 10px; }
  .site-header .salon-brand-lockup .brand-mark,
  .home-mode .site-header .salon-brand-lockup .brand-mark { width: 29px; height: 36px; }
  .site-header .salon-brand-lockup .brand-wordmark > [data-brand] { font-size: 20px; letter-spacing: .15em; }
  .salon-splash-portal { width: clamp(190px, 54vw, 270px); }
  .salon-splash-wordmark > #salon-splash-name { font-size: clamp(32px, 9vw, 56px); }
}
@media (max-width: 600px) {
  .salon-entry-topline { padding: max(16px, env(safe-area-inset-top)) 12px 16px; }
  .salon-entry-actions { gap: 3px; }
  .salon-entry-control { min-width: 44px; min-height: 44px; padding: 9px; font-size: 10px; }
  .salon-entry-caption-control { width: 44px; }
  .salon-entry-actions .salon-splash-enter { min-height: 44px; gap: 10px; padding: 9px 12px; font-size: 10px; }
  .salon-entry-shade { background: linear-gradient(180deg, var(--salon-splash-control), transparent 20%, transparent 85%, var(--salon-splash-control)); }
}
@media (max-width: 360px) {
  .site-header .salon-brand-lockup,
  .home-mode .site-header .salon-brand-lockup { gap: 7px; }
  .site-header .salon-brand-lockup .brand-wordmark > [data-brand] { font-size: 17px; }
  .site-header .salon-brand-lockup .brand-mark,
  .home-mode .site-header .salon-brand-lockup .brand-mark { width: 25px; height: 31px; }
}
@media (max-height: 500px) {
  .salon-splash-stage { flex-direction: row; justify-content: center; gap: 36px; width: min(650px, calc(100% - 60px)); }
  .salon-splash-portal { width: 180px; }
  .salon-splash-portal > svg,
  .salon-splash-portal > img { max-height: 64dvh; }
  .salon-splash-wordmark { width: auto; }
  .salon-splash-wordmark > #salon-splash-name { font-size: 38px; }
  .salon-entry-topline { padding: 12px 20px; }
}
.salon-entry-reduced * { animation: none !important; transition: none !important; }
.salon-entry-reduced .salon-splash-goldwork > path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .salon-brand-splash * { animation: none !important; transition: none !important; }
  .salon-splash-goldwork > path { stroke-dashoffset: 0; }
}
