/* Concept 3 — editorial motion for the blue gallery */
:root {
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --motion-fast: 520ms;
  --motion-slow: 980ms;
}

body.motion-ready .hero h1,
body.motion-ready .hero .name,
body.motion-ready .hero .hero-tagline,
body.motion-ready .hero .desc,
body.motion-ready .hero .cta,
body.motion-ready .hero .foot {
  opacity: 0;
  transform: translateY(28px);
}

body.motion-loaded .hero h1,
body.motion-loaded .hero .name,
body.motion-loaded .hero .hero-tagline,
body.motion-loaded .hero .desc,
body.motion-loaded .hero .cta,
body.motion-loaded .hero .foot {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease);
}

body.motion-loaded .hero h1 { transition-delay: 90ms; }
body.motion-loaded .hero .name { transition-delay: 30ms; }
body.motion-loaded .hero .hero-tagline { transition-delay: 150ms; }
body.motion-loaded .hero .desc { transition-delay: 180ms; }
body.motion-loaded .hero .cta { transition-delay: 260ms; }
body.motion-loaded .hero .foot { transition-delay: 360ms; }

/* Concept 3 cover: a composed salon still-life instead of a floating artwork card. */
.editorial-cover {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 64px);
  padding-block: 0;
  overflow: hidden;
  background: #0d2030;
}

.editorial-cover .hero-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #0d2030;
}

.editorial-cover .hero-scene img {
  --parallax-y: 0px;
  width: 100%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.015);
  filter: saturate(.92) contrast(1.03);
  will-change: transform;
}

.editorial-cover .wrap {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 650px) 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.editorial-cover .bar {
  align-self: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(241, 237, 228, .34);
}

.editorial-cover .main {
  position: relative;
  grid-column: 1;
  align-self: center;
  max-width: 640px;
  padding: clamp(22px, 3vw, 40px) clamp(20px, 3vw, 38px) clamp(24px, 3vw, 38px);
  border-left: 1px solid rgba(241, 237, 228, .55);
}

.editorial-cover .name {
  margin: 0 0 20px;
  font-family: 'Onest', 'Onest Fallback', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(241, 237, 228, .72);
}

.editorial-cover h1 {
  max-width: 6.4em;
  font-size: clamp(72px, 8.2vw, 126px);
  line-height: .72;
  letter-spacing: -.055em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .2);
}

.editorial-cover h1 i {
  padding-left: .34em;
  color: var(--bone);
}

.editorial-cover .hero-tagline {
  max-width: 17em;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 37px);
  font-style: italic;
  line-height: 1.02;
  color: var(--bone);
}

.editorial-cover .desc {
  max-width: 52ch;
  margin-top: 20px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  color: rgba(241, 237, 228, .8);
}

.editorial-cover .cta2 {
  margin-top: 26px;
}

.editorial-cover .btn {
  padding: 15px 20px;
  font-size: 10px;
}

.editorial-cover .facts {
  max-width: 62ch;
  margin-top: 16px;
  font-size: 9px;
  line-height: 1.65;
  color: rgba(241, 237, 228, .66);
}

.editorial-cover .foot {
  align-self: end;
  grid-column: 1 / -1;
}

.hero h1 {
  text-wrap: pretty;
}

.hero h1 i {
  display: inline-block;
  color: rgba(241, 237, 228, .76);
  transform: translateX(.08em);
}

.mat .frame,
.meet .pic {
  overflow: hidden;
}

.mat img,
.meet .pic img {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.045);
  transition: transform 900ms var(--motion-ease), filter 700ms ease;
  will-change: transform;
}

.mat:hover img,
.meet .pic:hover img {
  transform: translate3d(0, var(--parallax-y), 0) scale(1.085);
  filter: saturate(1.06) contrast(1.025);
}

body.motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(34px);
  clip-path: inset(0 0 22% 0);
}

body.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition: opacity 760ms var(--motion-ease), transform 860ms var(--motion-ease), clip-path 920ms var(--motion-ease);
}

body.motion-ready .motion-reveal:nth-child(2) { transition-delay: 70ms; }
body.motion-ready .motion-reveal:nth-child(3) { transition-delay: 130ms; }
body.motion-ready .motion-reveal:nth-child(4) { transition-delay: 190ms; }

.sec-title,
.contact h2,
.meet h2 {
  text-wrap: pretty;
}

.grid6 > div,
.three > div,
.step,
.vs > div,
.faq details {
  transition: background-color 280ms ease, transform 420ms var(--motion-ease), padding-left 420ms var(--motion-ease);
}

.grid6 > div:hover,
.three > div:hover,
.step:hover,
.vs > div:hover,
.faq details:hover {
  background: rgba(41, 64, 137, .045);
  transform: translateY(-3px);
}

.blue .faq details:hover,
.faq.blue details:hover {
  background: rgba(241, 237, 228, .045);
}

.btn {
  box-shadow: 0 0 0 rgba(20, 20, 20, 0);
  transition: background .25s ease-out, color .25s ease-out, transform 360ms var(--motion-ease), box-shadow 360ms var(--motion-ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: 7px 7px 0 rgba(20, 20, 20, .22);
}

.blue .btn:hover,
.blue .btn:focus-visible {
  box-shadow: 7px 7px 0 rgba(241, 237, 228, .22);
}

.motion-rail {
  position: fixed;
  z-index: 8;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 9px 10px 9px 18px;
  border-left: 1px solid rgba(241, 237, 228, .58);
  background: rgba(41, 64, 137, .9);
  backdrop-filter: blur(7px);
  box-shadow: 0 12px 28px rgba(8, 14, 40, .16);
}

.motion-rail a {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  color: rgba(241, 237, 228, .64);
  text-decoration: none;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color 220ms ease, transform 300ms var(--motion-ease);
}

.motion-rail a::before {
  content: "";
  position: absolute;
  left: -18px;
  width: 7px;
  height: 1px;
  background: currentColor;
  transition: width 300ms var(--motion-ease), background 220ms ease;
}

.motion-rail a span:first-child {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
}

.motion-rail a.is-active {
  color: var(--bone);
  transform: translateX(-5px);
}

.motion-rail a.is-active::before {
  width: 16px;
}

.motion-scroll-cue {
  position: absolute;
  right: clamp(20px, 5vw, 56px);
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(241, 237, 228, .68);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.motion-scroll-cue::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: editorial-line 2.4s var(--motion-ease) infinite;
}

@keyframes editorial-line {
  0%, 15% { transform: scaleX(.08); opacity: .45; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

@media (max-width: 1400px) {
  .motion-rail { display: none; }
}

@media (max-width: 900px) {
  .motion-scroll-cue { display: none; }
  .editorial-cover,
  .editorial-cover .wrap {
    min-height: calc(100svh - 64px);
  }
  .editorial-cover .hero-scene img {
    height: 100%;
    object-position: 54% center;
  }
  .editorial-cover .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .editorial-cover .bar { grid-column: 1; }
  .editorial-cover .main {
    max-width: min(620px, 100%);
    padding: 24px 22px 26px;
    background: rgba(9, 24, 39, .84);
  }
  .editorial-cover h1 {
    font-size: clamp(58px, 16vw, 92px);
  }
  .grid6 > div:hover,
  .three > div:hover,
  .step:hover,
  .vs > div:hover,
  .faq details:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.motion-ready .hero h1,
  body.motion-ready .hero .name,
  body.motion-ready .hero .hero-tagline,
  body.motion-ready .hero .desc,
  body.motion-ready .hero .cta,
  body.motion-ready .hero .foot,
  body.motion-ready .motion-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
  .mat img,
  .meet .pic img,
  .btn,
  .motion-rail a { transition: none; }
  .motion-scroll-cue::after { animation: none; }
}

/* Modern editorial layer — cobalt inserts, utility type and deliberate art collisions. */
:root {
  --electric-blue: #3159ff;
  --electric-blue-dark: #2345d8;
}

.editorial-cover .hero-scene img {
  object-position: 70% center;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.18);
}

.season-flag {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  width: min(380px, 100%);
  padding: clamp(24px, 3vw, 42px);
  color: #fff;
  background: var(--electric-blue);
  box-shadow: 18px 18px 0 rgba(3, 15, 28, .28);
  transform: rotate(1.2deg);
}

.season-flag::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .38);
  pointer-events: none;
}

.season-flag strong {
  display: block;
  margin: 28px 0 22px;
  font-family: 'Onest', 'Onest Fallback', sans-serif;
  font-size: clamp(30px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .86;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.season-flag p {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.35;
  color: #fff;
}

.season-flag-note {
  display: block;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .44);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.15;
}

body.motion-ready .season-flag {
  opacity: 0;
  transform: translateY(28px) rotate(1.2deg);
}

body.motion-loaded .season-flag {
  opacity: 1;
  transform: translateY(0) rotate(1.2deg);
  transition: opacity var(--motion-slow) var(--motion-ease) 220ms, transform var(--motion-slow) var(--motion-ease) 220ms;
}

main > section:not(.hero) .utility-title {
  max-width: 13ch;
  font-family: 'Onest', 'Onest Fallback', sans-serif;
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .95;
}

.season::after,
.enter::after {
  content: none;
}

.season .wrap {
  position: relative;
}

.season .intro {
  max-width: 66ch;
}

.program-index {
  display: block;
  margin-bottom: 56px;
  font-family: 'Onest', 'Onest Fallback', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--electric-blue);
}

.season .three {
  border-top-color: rgba(49, 89, 255, .7);
}

.season .three > div {
  min-height: 410px;
  display: flex;
  flex-direction: column;
}

.season .three h3 {
  font-family: 'Onest', 'Onest Fallback', sans-serif;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--salon-ivory);
}

.season .three .ex {
  margin-top: auto;
  padding-top: 32px;
}

.editorial-art {
  position: relative;
  overflow: visible;
}

.editorial-art .frame {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: 16px 16px 0 var(--electric-blue) !important;
  transform: rotate(-1.2deg);
}

.editorial-art img,
main > section:not(.hero) .editorial-art img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(.96) contrast(1.03) brightness(.92);
}

.editorial-art:hover .frame {
  transform: translate(-4px, -4px) rotate(-1.2deg) !important;
  box-shadow: 24px 24px 0 var(--electric-blue) !important;
}

.art-index {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: -18px;
  min-width: 58px;
  padding: 12px 14px;
  background: var(--electric-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
}

.deconstructed-art {
  --caption-band: 72px;
  position: relative;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: var(--electric-blue);
}

.art-fragment {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

.art-fragment img {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.08);
}

.fragment-a {
  inset: 5% 27% 30% 4%;
  transform: rotate(-3deg);
}

.fragment-a img {
  object-position: 18% center;
  transform: scale(1.18);
}

.fragment-b {
  inset: 22% 3% 8% 46%;
  bottom: calc(var(--caption-band) + 3%);
  transform: rotate(2.5deg);
}

.fragment-b img {
  object-position: 82% center;
  transform: scale(1.25);
}

.fragment-c {
  inset: 58% 46% 3% 13%;
  bottom: calc(var(--caption-band) + 10px);
  border: 8px solid var(--salon-ivory);
  transform: rotate(5deg);
}

.fragment-c img {
  object-position: 48% 84%;
  transform: scale(1.38);
}

.deconstructed-art .art-index {
  top: 32px;
  left: 32px;
}

.deconstructed-art figcaption {
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: var(--caption-band);
  padding: 16px 22px;
  margin: 0;
  display: flex;
  align-items: center;
  background: var(--salon-night);
  border-top: 1px solid var(--salon-line);
  color: #fff;
  text-shadow: none;
}

@media (max-width: 900px) {
  .editorial-cover .hero-scene img {
    object-position: 68% center;
    transform: translate3d(0, var(--parallax-y), 0) scale(1.26);
  }

  .season-flag {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    width: min(430px, calc(100% - 18px));
    margin-bottom: 12px;
  }

  .program-index {
    margin-bottom: 24px;
  }

  .season .three > div {
    min-height: 0;
  }

  .season .three .ex {
    margin-top: 12px;
    padding-top: 12px;
  }

  .deconstructed-art {
    min-height: 560px;
  }
}

@media (max-width: 600px) {
  .season-flag strong {
    font-size: 32px;
  }

  .deconstructed-art {
    --caption-band: 92px;
    min-height: 480px;
  }

}

@media (prefers-reduced-motion: reduce) {
  body.motion-ready .season-flag,
  body.motion-loaded .season-flag {
    opacity: 1;
    transform: rotate(1.2deg);
    transition: none;
  }
}

/* Keep the manifesto readable, but align it with the page's shared left grid. */
.manifest .wrap {
  max-width: 1240px;
}

.manifest .wrap > * {
  max-width: 788px;
}

/* One continuous midnight salon — the hero palette carried through the page. */
:root {
  --salon-night: #0d2030;
  --salon-night-soft: #11283c;
  --salon-night-raised: #183249;
  --salon-ivory: #f1ede4;
  --salon-muted: rgba(241, 237, 228, .68);
  --salon-line: rgba(241, 237, 228, .18);
  --salon-gold: #c8a66a;
  --salon-gold-soft: rgba(200, 166, 106, .38);
  --salon-wall: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'><filter id='w'><feTurbulence type='fractalNoise' baseFrequency='.022' numOctaves='4' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .84  0 0 0 0 .9  0 0 0 0 .96  0 0 0 .13 0'/></filter><rect width='100%25' height='100%25' filter='url(%23w)'/></svg>");
}

body {
  background: var(--salon-night);
}

main > section:not(.hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--salon-night) !important;
  color: var(--salon-ivory);
  box-shadow: inset 0 1px 0 var(--salon-line);
}

main > section:not(.hero)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .72;
  background-image:
    radial-gradient(circle at 14% 8%, rgba(241, 237, 228, .075), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(1, 8, 16, .28), transparent 44%),
    var(--salon-wall);
  background-size: 100% 100%, 100% 100%, 360px 360px;
  background-blend-mode: screen, multiply, soft-light;
  mix-blend-mode: soft-light;
}

main > section:not(.hero) > .wrap,
main > section.meet > * {
  position: relative;
  z-index: 2;
}

main > .season,
main > .check,
main > .manifest {
  background: var(--salon-night-soft) !important;
}

/* A restrained fragment of the hero's gilded frame closes the season chapter. */
.season::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -70px;
  right: -72px;
  width: clamp(260px, 31vw, 470px);
  height: calc(100% + 140px);
  pointer-events: none;
  opacity: .18;
  background: url("img/hero-editorial-v2.png") right top / 900px auto no-repeat;
  filter: saturate(.72) contrast(1.06) brightness(.92);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, #000 62%, transparent 100%);
  mask-composite: intersect;
}

/* The sculpture acts as a quiet guardian at the entry ritual. */
.enter::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -8px;
  bottom: 4%;
  width: clamp(160px, 18vw, 250px);
  height: clamp(340px, 40vw, 500px);
  pointer-events: none;
  opacity: .2;
  background: url("img/hero-editorial-v2.png") left -500px / 1600px auto no-repeat;
  filter: saturate(.42) contrast(1.06) brightness(1.08);
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 100%), linear-gradient(180deg, transparent, #000 14%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 42%, transparent 100%), linear-gradient(180deg, transparent, #000 14%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

/* Window-like sunlight echoes the diagonal glow of the first screen. */
.check::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -18% -12% -18% 42%;
  pointer-events: none;
  opacity: .8;
  background:
    linear-gradient(116deg, transparent 0 39%, rgba(246, 219, 165, .08) 39.5% 45%, transparent 45.5%),
    linear-gradient(116deg, transparent 0 57%, rgba(246, 219, 165, .055) 57.5% 61%, transparent 61.5%),
    radial-gradient(ellipse at 64% 44%, rgba(230, 201, 146, .08), transparent 48%);
  filter: blur(.4px);
  transform: translate3d(0, 0, 0);
  animation: gallery-sun-breathe 10s ease-in-out infinite;
}

@keyframes gallery-sun-breathe {
  0%, 100% { opacity: .58; transform: translate3d(0, 0, 0); }
  50% { opacity: .92; transform: translate3d(-8px, 5px, 0); }
}

main > section:not(.hero) .sec-title,
main > section:not(.hero) h2,
main > section:not(.hero) h3,
main > section:not(.hero) .lead,
main > section:not(.hero) .it,
main > section:not(.hero) dt,
main > section:not(.hero) .step .t,
main > section:not(.hero) .check .after,
main > section:not(.hero) .vs p.here,
main > section:not(.hero) .three h3,
main > section:not(.hero) .mtext h3 {
  color: var(--salon-ivory);
}

main > section:not(.hero) p,
main > section:not(.hero) dd,
main > section:not(.hero) .intro,
main > section:not(.hero) .ex,
main > section:not(.hero) .note,
main > section:not(.hero) .label,
main > section:not(.hero) .part span,
main > section:not(.hero) .mtext dd {
  color: var(--salon-muted);
}

main > section:not(.hero) .eyebrow,
main > section:not(.hero) .grid6 .n,
main > section:not(.hero) .step .n,
main > section:not(.hero) .three .ex span,
main > section:not(.hero) .vs .part.here span,
main > section:not(.hero) .link {
  color: var(--salon-gold);
}

main > section:not(.hero) .sec-title {
  position: relative;
  padding-bottom: 24px;
}

main > section:not(.hero) .sec-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(130px, 36%);
  height: 1px;
  background: var(--salon-gold);
  transform: scaleX(.14);
  transform-origin: left;
  opacity: .55;
  transition: transform 1.1s var(--motion-ease), opacity .8s ease;
}

body.motion-ready main > section:not(.hero) .sec-title.is-visible::after,
body:not(.motion-ready) main > section:not(.hero) .sec-title::after {
  transform: scaleX(1);
  opacity: 1;
}

main > section:not(.hero) .grid6,
main > section:not(.hero) .three,
main > section:not(.hero) .check ul,
main > section:not(.hero) .check .no,
main > section:not(.hero) .vs,
main > section:not(.hero) .pair,
main > section:not(.hero) .mtext dl,
main > section:not(.hero) .contact .note {
  border-color: var(--salon-line);
}

main > section:not(.hero) .grid6 > div,
main > section:not(.hero) .three > div,
main > section:not(.hero) .step,
main > section:not(.hero) .check li,
main > section:not(.hero) .check .no li,
main > section:not(.hero) .vs > div,
main > section:not(.hero) .pair span,
main > section:not(.hero) .mtext dt,
main > section:not(.hero) .mtext dd,
main > section:not(.hero) .faq details {
  border-color: var(--salon-line);
}

main > section:not(.hero) .grid6 > div:hover,
main > section:not(.hero) .three > div:hover,
main > section:not(.hero) .step:hover,
main > section:not(.hero) .vs > div:hover,
main > section:not(.hero) .faq details:hover,
main > section:not(.hero) .check li:hover {
  background: rgba(241, 237, 228, .045);
}

main > section:not(.hero) .grid6 > div,
main > section:not(.hero) .three > div,
main > section:not(.hero) .step,
main > section:not(.hero) .vs > div,
main > section:not(.hero) .faq details,
main > section:not(.hero) .check li {
  transition: background-color 320ms ease, transform 460ms var(--motion-ease), border-color 320ms ease, box-shadow 460ms var(--motion-ease);
}

main > section:not(.hero) .grid6 > div:hover,
main > section:not(.hero) .three > div:hover,
main > section:not(.hero) .step:hover,
main > section:not(.hero) .vs > div:hover,
main > section:not(.hero) .faq details:hover {
  transform: translateY(-4px);
  border-color: var(--salon-gold-soft);
  box-shadow: 0 18px 34px rgba(2, 9, 18, .16);
}

main > section:not(.hero) .check li::before {
  border-color: var(--salon-gold);
}

main > section:not(.hero) .check .no li::before,
main > section:not(.hero) .notfor li::before {
  background: var(--salon-gold);
}

main > section:not(.hero) .btn {
  background: var(--salon-ivory);
  color: var(--salon-night);
  border-color: var(--salon-ivory);
}

main > section:not(.hero) .btn:hover,
main > section:not(.hero) .btn:focus-visible {
  background: transparent;
  color: var(--salon-ivory);
  border-color: var(--salon-ivory);
  box-shadow: 7px 7px 0 var(--salon-gold-soft);
}

main > section:not(.hero) .btn.ghost,
main > section:not(.hero) .btn.ghost-dark {
  background: transparent;
  color: var(--salon-ivory);
  border-color: rgba(241, 237, 228, .58);
}

main > section:not(.hero) .btn.ghost:hover,
main > section:not(.hero) .btn.ghost-dark:hover,
main > section:not(.hero) .btn.ghost:focus-visible,
main > section:not(.hero) .btn.ghost-dark:focus-visible {
  background: var(--salon-ivory);
  color: var(--salon-night);
}

main > section:not(.hero) .mat .frame {
  padding: clamp(9px, 1vw, 14px);
  background: #071827;
  border: 1px solid var(--salon-gold-soft);
  box-shadow: 0 30px 65px rgba(1, 7, 15, .38), 0 0 0 1px rgba(241, 237, 228, .05);
  transition: border-color 500ms ease, box-shadow 700ms ease, transform 700ms var(--motion-ease);
}

main > section:not(.hero) .mat:hover .frame {
  border-color: var(--salon-gold);
  box-shadow: 0 38px 78px rgba(1, 7, 15, .52), 0 0 0 1px rgba(200, 166, 106, .22);
  transform: translateY(-5px);
}

main > section:not(.hero) .mat img,
main > section:not(.hero) .meet .pic img {
  filter: saturate(.72) contrast(1.08) brightness(.8);
}

main > section:not(.hero) .mat:hover img,
main > section:not(.hero) .meet .pic:hover img {
  filter: saturate(1.02) contrast(1.04) brightness(.96);
}

.meet .txt {
  background-color: var(--salon-night-soft);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(241, 237, 228, .055), transparent 38%),
    var(--salon-wall);
  background-size: 100% 100%, 360px 360px;
  background-blend-mode: screen, soft-light;
}

.meet blockquote {
  background: rgba(241, 237, 228, .055);
  color: var(--salon-ivory);
  border-left: 1px solid var(--salon-gold);
  box-shadow: inset 18px 0 0 rgba(200, 166, 106, .035);
}

.faq summary::after {
  color: var(--salon-gold);
}

.mtext dl {
  border-top-color: var(--salon-gold-soft) !important;
}

.motion-rail {
  background: rgba(13, 32, 48, .92);
  border-left-color: var(--salon-gold-soft);
}

footer {
  background: #071827;
  background-image:
    linear-gradient(rgba(7, 24, 39, .9), rgba(7, 24, 39, .94)),
    var(--salon-wall);
  background-size: 100% 100%, 360px 360px;
  background-blend-mode: normal, soft-light;
  border-top: 1px solid var(--salon-line);
}

@media (max-width: 900px) {
  .season::after {
    right: -118px;
    width: 250px;
    opacity: .12;
    background-size: 720px auto;
  }

  .enter::after {
    left: auto;
    right: -28px;
    bottom: 0;
    width: 150px;
    height: 310px;
    opacity: .13;
    background-position: left -360px;
    background-size: 1160px auto;
  }

  .check::after {
    inset: -8% -55% -8% 20%;
    opacity: .62;
  }

  main > section:not(.hero) .grid6 > div:hover,
  main > section:not(.hero) .three > div:hover,
  main > section:not(.hero) .step:hover,
  main > section:not(.hero) .vs > div:hover,
  main > section:not(.hero) .faq details:hover,
  main > section:not(.hero) .check li:hover {
    transform: none;
    box-shadow: none;
  }

  .meet .txt {
    box-shadow: inset 0 1px 0 var(--salon-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .check::after {
    animation: none;
  }
}

/* Final alignment and legibility polish. */
.brand {
  align-items: center;
}

.brand b {
  align-items: center;
  line-height: 1;
}

.editorial-art > .art-index {
  top: 16px;
  left: 16px;
}

.editorial-art figcaption {
  margin-top: 32px;
}

.manifest .mdetails summary .link {
  color: var(--salon-gold);
}

/* Exhibits 02/03: rotate the whole construction, clip only the zoomed image. */
body.motion-ready .editorial-art.motion-reveal,
body.motion-ready .editorial-art.motion-reveal.is-visible {
  clip-path: none;
}

main > section.versus,
main > section.snob,
main > section.meet {
  overflow-x: clip;
  overflow-y: visible;
}

.exhibit__frame {
  position: relative;
  isolation: isolate;
  overflow: visible;
  transform: rotate(-1.2deg);
  transform-origin: center;
  transition: transform 700ms var(--motion-ease);
}

.exhibit__frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--electric-blue);
  transform: translate(16px, 16px);
  transition: transform 700ms var(--motion-ease);
}

.editorial-art .exhibit__media,
main > section:not(.hero) .editorial-art .exhibit__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.editorial-art:hover .exhibit__frame {
  transform: translate(-4px, -4px) rotate(-1.2deg);
}

.editorial-art:hover .exhibit__frame::before {
  transform: translate(24px, 24px);
}

.editorial-art:hover .exhibit__media {
  box-shadow: none !important;
  transform: none !important;
}

.exhibit__num {
  z-index: 2;
  top: 30px;
  left: -14px;
}

/* Keep every rotated Degas fragment clear of the fixed caption band. */
.fragment-b,
.fragment-c {
  bottom: calc(var(--caption-band) + 28px);
}

/* The generic reveal transform must not replace the collage's own rotations. */
body.motion-ready .art-fragment.motion-reveal,
body.motion-ready .art-fragment.motion-reveal.is-visible {
  opacity: 1;
  clip-path: none;
  transition: none;
}

body.motion-ready .fragment-a.motion-reveal,
body.motion-ready .fragment-a.motion-reveal.is-visible {
  transform: rotate(-3deg);
}

body.motion-ready .fragment-b.motion-reveal,
body.motion-ready .fragment-b.motion-reveal.is-visible {
  transform: rotate(2.5deg);
}

body.motion-ready .fragment-c.motion-reveal,
body.motion-ready .fragment-c.motion-reveal.is-visible {
  transform: rotate(5deg);
}
