.suite {
  position: relative;
  isolation: isolate;
  margin: 0 0 clamp(2.4rem, 6vw, 5rem);
  padding: clamp(1.3rem, 3.1vw, 2.75rem) 0 1.55rem;
  color: #29180e;
}
.suite::before {
  position: absolute;
  z-index: -1;
  inset: 0 max(-1.4rem, -3vw) auto;
  height: 100%;
  border-radius: 2rem;
  background: radial-gradient(ellipse at 68% 64%, var(--stage-glow, #ffdca9) 0%, transparent 67%),
              linear-gradient(165deg, #fff9ec 25%, #fbf4e6 70%, #fffaf1);
  content: "";
  transition: background .55s ease;
}
.suite-intro { max-width: 72rem; margin-inline: auto; padding: 0 1rem; text-align: center; }
.suite-intro h1 {
  font-size: clamp(2.35rem, 6.1vw, 5.15rem);
  line-height: .99;
  letter-spacing: -.074em;
  text-wrap: balance;
}
.suite-intro p {
  max-width: 38rem;
  margin: clamp(.85rem, 2vw, 1.4rem) auto 0;
  color: #62462f;
  font-size: clamp(.97rem, 1.6vw, 1.19rem);
  line-height: 1.53;
  text-wrap: pretty;
}
.suite-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin: clamp(1.3rem, 3vw, 2.55rem) auto 0;
  padding-inline: .95rem;
}
.suite-categories { display: flex; flex-wrap: wrap; gap: .28rem; }
.suite-categories button, .suite-controls button {
  cursor: pointer;
  background: #fffdf6;
  color: #4c3321;
  border: 1px solid #debd91;
  font: inherit;
  font-weight: 680;
}
.suite-categories button {
  padding: .43rem .66rem;
  border-radius: 100px;
  font-size: clamp(.74rem, 1.15vw, .91rem);
  white-space: nowrap;
}
.suite-categories button:hover, .suite-controls button:hover { background: #ffedc9; }
.suite-categories button[aria-pressed="true"] { background: #ffcd77; color: #27180c; border-color: #ba782f; }
.suite-controls { display: flex; align-items: center; gap: .27rem; }
.suite-controls button { display: grid; place-items: center; border-radius: 50%; width: 2.4rem; height: 2.4rem; font-size: 1.4rem; line-height: 1; }
.suite-play span {
  width: .56rem;
  height: .67rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.suite-play[data-playing="true"] span {
  border-inline: .18rem solid currentColor;
  background: transparent;
  clip-path: none;
}
.suite-counter { font-size: .74rem; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 .13rem; }
.suite-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 26rem;
  margin-top: .35rem;
  padding-block: 1.5rem 1.85rem;
  overflow: hidden;
  perspective: 1200px;
  touch-action: pan-y;
}
[data-industry="salon"] { --theme: #982747; --surface: #f8d5da; --highlight: #ffd1d9; }
.suite-slide {
  position: relative;
  grid-area: 1 / 1;
  z-index: 0;
  align-self: center;
  width: 78%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(13rem, 1fr);
  gap: clamp(.55rem, 1.5vw, 1.25rem);
  opacity: 0;
  visibility: hidden;
  transform: scale(.68);
  transition: transform .67s cubic-bezier(.2,.72,.2,1), opacity .36s ease, visibility .36s;
}
.suite-slide[data-position="current"] { z-index: 2; opacity: 1; visibility: visible; transform: none; }
.suite-slide[data-position="previous"], .suite-slide[data-position="next"] { z-index: 1; opacity: .64; visibility: visible; }
.suite-slide[data-position="previous"] { transform: translateX(-77%) rotateY(34deg) scale(.77); }
.suite-slide[data-position="next"] { transform: translateX(77%) rotateY(-34deg) scale(.77); }
.suite-slide[inert] { pointer-events: none; }
.suite-slide[inert] .suite-app { display: none; }
.suite-slide[data-position="previous"] .suite-site { grid-column: 1 / -1; }
.suite-slide[data-position="next"] .suite-site { grid-column: 1 / -1; }
.suite-site, .suite-app {
  min-width: 0;
  border-radius: 1.1rem;
  border: 1px solid #4b2c1640;
  box-shadow: 0 1.3rem 2.6rem -1.15rem #4c280b62, 0 .2rem .55rem #4b2c1614;
  background: #fffdf8;
}
.suite-site { overflow: hidden; }
.suite-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .42rem .75rem;
  min-height: 1.85rem;
  background: #fffdfa;
  color: #604d3e;
  font-size: .68rem;
  font-weight: 700;
}
.suite-brand {
  padding: .65rem 1rem;
  color: #fffdf9;
  background: var(--theme);
  font-size: .88rem;
  font-weight: 840;
  letter-spacing: .08em;
}
.suite-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  isolation: isolate;
  min-height: clamp(17.5rem, 27vw, 23rem);
  background: var(--surface);
  color: var(--theme);
}
.suite-cover img {
  grid-area: 1 / 2;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.suite-copy { grid-area: 1 / 1; z-index: 1; align-self: center; padding: clamp(.75rem, 2.4vw, 2rem); }
.suite-copy h2 {
  font-size: clamp(1.45rem, 3.2vw, 3.55rem);
  font-family: Georgia, serif;
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.suite-copy p { max-width: 26ch; margin: .65rem 0 0; font-size: clamp(.75rem, 1.05vw, .94rem); line-height: 1.35; }
.suite-action, .suite-confirm, .suite-close {
  border: 1px solid transparent;
  border-radius: .35rem;
  cursor: pointer;
  padding: .55rem .75rem;
  background: var(--theme);
  color: #fffdf8;
  font: inherit;
  font-size: .79rem;
  font-weight: 750;
  text-align: start;
}
.suite-action { margin-top: .95rem; }
.suite-action:hover, .suite-confirm:hover { box-shadow: 0 0 0 2px var(--highlight), 0 0 0 3px var(--theme); }
.suite-action span { margin-inline-start: .25rem; }
.suite-app {
  align-self: center;
  padding: clamp(.75rem, 1.75vw, 1.45rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 15rem;
  border-top: .36rem solid var(--theme);
}
.suite-panel-label { color: #675345; font-size: .72rem; font-weight: 750; line-height: 1.35; }
.suite-panel-label small { display: block; margin-top: .25rem; font-size: .66rem; font-weight: 500; }
.suite-app h3 { margin: .7rem 0 .62rem; color: var(--theme); font-size: clamp(1rem, 1.7vw, 1.45rem); letter-spacing: -.045em; line-height: 1.05; }
.suite-inbox { display: grid; gap: .33rem; margin: 0; padding: 0; list-style: none; }
.suite-row {
  display: grid;
  gap: .15rem;
  padding: .44rem .55rem;
  border-radius: .36rem;
  border: 1px solid #69544024;
  color: #463427;
  font-size: .72rem;
  overflow-wrap: anywhere;
  line-height: 1.28;
}
.suite-new { background: var(--surface); color: var(--theme); }
.suite-new small { font-size: .7rem; font-weight: 630; }
.suite-use {
  align-self: flex-start;
  padding: .55rem .68rem;
  margin-top: .8rem;
  border-radius: .4rem;
  background: #f6dda9;
  color: #342112;
  text-decoration: none;
  font-size: .74rem;
  font-weight: 800;
}
.suite-use:hover { background: #ffca73; }
.suite-flow {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.05rem;
  transform: translateX(-50%);
  width: min(calc(100% - 1.35rem), 24rem);
  padding: .85rem;
  background: #fffdf8;
  color: #35251e;
  border: 2px solid var(--theme);
  border-radius: .7rem;
  box-shadow: 0 0 0 .35rem #37221420, 0 .6rem 2.5rem #24160855;
}
.suite-flow label { font-size: .78rem; font-weight: 700; }
.suite-flow select {
  width: 100%;
  display: block;
  margin-block: .34rem .65rem;
  padding: .5rem;
  border: 1px solid #947c63;
  border-radius: .35rem;
  background: #fff;
  color: #35251e;
  font: inherit;
}
.suite-flow > div { display: flex; flex-wrap: wrap; gap: .4rem; }
.suite-close { background: #fff; color: #453021; border-color: #947c63; }
.suite [hidden] { display: none; }
.suite :focus-visible { outline: 3px solid #965017; outline-offset: 3px; }
.suite-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.suite:has([data-active="garage"]) { --stage-glow: #cfe0ef; }
.suite:has([data-active="craft"]) { --stage-glow: #f1cfaf; }
.suite:has([data-active="field"]) { --stage-glow: #d8eaa5; }
.suite:has([data-active="restaurant"]) { --stage-glow: #ffc5ac; }
.suite:has([data-active="stay"]) { --stage-glow: #d1e4bb; }
.suite:has([data-active="association"]) { --stage-glow: #c9e4d7; }
.suite:has([data-active="training"]) { --stage-glow: #ddc3ff; }
.suite:has([data-active="studio"]) { --stage-glow: #ffd29e; }
.suite:has([data-active="professional"]) { --stage-glow: #cbd6ff; }
.suite:has([data-active="pets"]) { --stage-glow: #ffc6da; }
[data-industry="garage"], .sample-viewport[data-theme="garage"] { --theme: #123057; --surface: #e0eef8; --highlight: #cbe0ff; }
[data-industry="craft"], .sample-viewport[data-theme="craft"] { --theme: #703b2d; --surface: #f6ddc8; --highlight: #f0b999; }
[data-industry="field"], .sample-viewport[data-theme="field"] { --theme: #304d28; --surface: #eff5be; --highlight: #d8eb6b; }
[data-industry="restaurant"], .sample-viewport[data-theme="restaurant"] { --theme: #972c22; --surface: #ffe2ad; --highlight: #f7aa7e; }
[data-industry="stay"], .sample-viewport[data-theme="stay"] { --theme: #234636; --surface: #e0e7cc; --highlight: #bbdcae; }
[data-industry="association"], .sample-viewport[data-theme="association"] { --theme: #146052; --surface: #d9efe1; --highlight: #8ed2ba; }
[data-industry="training"], .sample-viewport[data-theme="training"] { --theme: #4d258e; --surface: #ede0ff; --highlight: #e3c6ff; }
[data-industry="studio"], .sample-viewport[data-theme="studio"] { --theme: #744019; --surface: #f5e4ba; --highlight: #f9d595; }
[data-industry="professional"], .sample-viewport[data-theme="professional"] { --theme: #292584; --surface: #e1e8ff; --highlight: #b8d9fb; }
[data-industry="pets"], .sample-viewport[data-theme="pets"] { --theme: #7a2659; --surface: #ffe0ef; --highlight: #ffcba9; }
[data-industry="salon"] img { object-position: 60% 45%; }
[data-industry="garage"] .suite-cover { grid-template-columns: 1fr 1.34fr; border-bottom: .47rem solid #31629c; }
[data-industry="garage"] .suite-copy :is(h2,h3), [data-industry="training"] .suite-copy :is(h2,h3) {
  font-family: "Arial Black", system-ui, sans-serif; font-weight: 930; text-transform: uppercase; letter-spacing: -.055em;
}
[data-industry="craft"] .suite-cover { grid-template-columns: 1.15fr 1fr; }
[data-industry="craft"] .suite-cover img, [data-industry="professional"] .suite-cover img { grid-area: 1 / 1; }
[data-industry="craft"] .suite-copy, [data-industry="professional"] .suite-copy { grid-area: 1 / 2; }
[data-industry="field"] .suite-brand, [data-industry="pets"] .suite-brand { color: var(--theme); background: var(--highlight); }
[data-industry="field"] .suite-cover img { width: 88%; height: 82%; align-self: center; border-radius: 40% 13% 35% 15%; }
[data-industry="field"] .suite-copy :is(h2,h3), [data-industry="pets"] .suite-copy :is(h2,h3) { font-family: system-ui, sans-serif; font-weight: 850; }
[data-industry="restaurant"] .suite-cover, [data-industry="stay"] .suite-cover { grid-template-columns: 1fr; }
[data-industry="restaurant"] .suite-cover img, [data-industry="stay"] .suite-cover img { grid-area: 1 / 1; }
[data-industry="restaurant"] .suite-copy, [data-industry="stay"] .suite-copy {
  align-self: end;
  margin: .85rem;
  width: fit-content;
  max-width: calc(100% - 1.7rem);
  border-radius: .46rem;
  background: var(--surface);
  box-shadow: 0 .25rem 1.65rem #20150939;
}
[data-industry="restaurant"] img { object-position: center 44%; }
[data-industry="restaurant"] .suite-copy { justify-self: end; text-align: right; }
[data-industry="restaurant"] .suite-copy p { margin-left: auto; }
[data-industry="stay"] .suite-brand { background: #eef0e0; color: var(--theme); }
[data-industry="stay"] .suite-copy { margin-bottom: 1.15rem; }
[data-industry="association"] .suite-cover { grid-template-columns: 1.2fr 1fr; }
[data-industry="association"] .suite-cover img { height: 79%; width: 90%; align-self: center; border-radius: .6rem; }
[data-industry="association"] .suite-copy { border-left: .3rem solid var(--highlight); margin-left: .8rem; }
[data-industry="training"] .suite-brand { border-bottom: .2rem solid #d7fa72; }
[data-industry="training"] .suite-cover img { clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }
[data-industry="studio"] .suite-brand { text-align: center; background: #fffbef; color: var(--theme); }
[data-industry="studio"] .suite-cover { grid-template-columns: .85fr 1.15fr; }
[data-industry="studio"] .suite-copy { text-align: center; }
[data-industry="professional"] .suite-cover { grid-template-columns: 1.16fr 1fr; }
[data-industry="professional"] .suite-copy h2 { font-style: italic; }
[data-industry="pets"] .suite-cover img { width: 89%; height: 83%; align-self: center; border-radius: 48% 48% 24% 24%; }
[data-industry="pets"] .suite-action, [data-industry="field"] .suite-action { border-radius: 2rem; }

@media (max-width: 900px) {
  .suite-slide { width: 86%; grid-template-columns: minmax(0, 2fr) minmax(11rem, 1fr); }
  .suite-slide[data-position="previous"] { transform: translateX(-83%) rotateY(30deg) scale(.78); }
  .suite-slide[data-position="next"] { transform: translateX(83%) rotateY(-30deg) scale(.78); }
  .suite-stage { min-height: 0; }
}
@media (max-width: 650px) {
  .suite { padding-top: 1.55rem; }
  .suite-control-row { flex-direction: column; gap: .55rem; padding-inline: 0; }
  .suite-categories { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding: .32rem; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .suite-stage { padding-block: .8rem 1.25rem; }
  .suite-slide { width: 94%; grid-template-columns: 1fr; gap: .62rem; }
  .suite-slide[data-position="previous"] { transform: translateX(-99%) rotateY(19deg) scale(.92); }
  .suite-slide[data-position="next"] { transform: translateX(99%) rotateY(-19deg) scale(.92); }
  .suite-app { min-height: 0; width: 90%; justify-self: center; }
  .suite-panel-label { display: flex; justify-content: space-between; gap: .4rem; }
  .suite-panel-label small { margin: 0; }
  .suite-app h3 { margin-block: .42rem; font-size: 1.04rem; }
  .suite-cover { min-height: 15rem; }
  .suite-copy h2 { font-size: clamp(1.4rem, 6vw, 2.25rem); }
  .suite-copy p { font-size: .77rem; }
  .suite-action { margin-top: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .suite-slide, .suite::before { transition: none; }
}

.sample-viewport .suite-cover { min-height: 13rem; }
.sample-viewport .suite-copy { padding: .85rem; }
.sample-viewport .suite-copy h3 { color: var(--theme); }
.sample-viewport .sample-action { background: var(--theme); }
.sample-viewport .suite-cover img { max-height: none; }
.sample-viewport[data-style="editorial"] .suite-cover { background: #fff7eb; }
.sample-viewport[data-style="editorial"] [data-industry]:not([data-industry="stay"], [data-industry="restaurant"]) .suite-cover img { grid-area: 1 / 1; }
.sample-viewport[data-style="editorial"] [data-industry]:not([data-industry="stay"], [data-industry="restaurant"]) .suite-copy { grid-area: 1 / 2; }
.sample-viewport[data-style="editorial"] :is([data-industry="stay"], [data-industry="restaurant"]) .suite-copy { grid-area: 1 / 1; }
.sample-viewport[data-style="editorial"] .suite-copy h3 { font-family: Georgia, serif; font-weight: 500; text-transform: none; }
@container (max-width: 14rem) {
  .sample-browser[data-industry] .suite-cover { grid-template-columns: 1fr; direction: ltr; }
  .sample-viewport[data-style][data-theme] .sample-browser[data-industry] .suite-cover img {
    position: static;
    grid-area: 1 / 1;
    height: 8rem;
    width: 100%;
    border-radius: 0;
    clip-path: none;
  }
  .sample-viewport[data-style][data-theme] .sample-browser[data-industry] .suite-copy {
    grid-area: 2 / 1;
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
    border: 0;
    text-align: start;
  }
  .sample-browser[data-industry] .suite-copy p { margin-left: 0; }
}

@media (max-width: 650px) {
  .top:has(+ main .suite) { gap: .3rem; }
  .top:has(+ main .suite) nav { gap: .55rem; }
  .top:has(+ main .suite) nav a { font-size: .77rem; }
  .top:has(+ main .suite) nav .button { padding: .42rem .56rem; }
}
