/* Showroom discovery and cards */
.sx-discovery {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin: 26px 0;
}
.sx-discovery label {
  display: grid;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 390px;
  width: 100%;
}
.sx-discovery select {
  min-height: 48px;
  border: 1px solid #b4bfb2;
  border-radius: 8px;
  background: #fff;
  color: #213b2a;
  font: inherit;
  font-size: 0.9rem;
  padding: 12px 38px 12px 14px;
  width: 100%;
}
.sx-filter-status {
  max-width: 450px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #50614f;
  margin: 0;
}
.sx-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dcded8;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.sx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #18251d0c;
}
.sx-card-copy {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sx-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  margin: 8px 0 12px;
}
.sx-card-copy > p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.sx-kicker {
  font-size: 0.65rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: inherit;
}
.sx-sector-label {
  font-weight: 600;
  color: #3b493f;
}
.sx-devices {
  font-size: 0.75rem !important;
  color: #566451;
}
.sx-style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 5px 0;
}
.sx-style-tags span {
  font-size: 0.65rem;
  padding: 5px 9px;
  border-radius: 20px;
  background: #edf1e9;
  color: #3a523c;
}
.sx-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.sx-card-copy .sx-actions {
  margin-top: auto;
  padding-top: 12px;
}
.sx-actions button {
  min-height: 44px;
  border: 0;
  cursor: pointer;
  background: #213b2a;
  color: #fff;
  padding: 12px 15px;
  border-radius: 7px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
}
.sx-actions button + button {
  background: transparent;
  color: #213b2a;
  border: 1px solid #bac6b7;
}
.sx-actions button:hover,
.sx-card button:hover,
.demo-site button:hover {
  filter: brightness(0.94);
}
.sx-mini {
  --demo-accent: #c6d6ba;
  --demo-ink: #25382a;
  background: #f7f7f0;
  color: var(--demo-ink);
  padding: 24px;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.3;
  display: flex;
  flex-direction: column;
}
.sx-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.sx-mini-top > b {
  font-size: 1.15rem;
  letter-spacing: -0.06em;
}
.sx-mini-top > span {
  font-size: 0.5rem;
}
.sx-mini-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  flex: 1;
}
.sx-mini-body > div:first-child {
  position: relative;
  z-index: 1;
}
.sx-mini-body small {
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sx-mini-body strong {
  display: block;
  font-size: clamp(1.2rem, 2.1vw, 1.9rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 10px 0 16px;
  font-weight: 600;
  max-width: 9em;
}
.sx-mini-button {
  display: inline-block;
  font-size: 0.48rem;
  padding: 9px 10px;
  background: var(--demo-ink);
  color: #fff;
  border-radius: 3px;
}
.sx-mini-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #8886;
  padding-top: 12px;
  font-size: 0.48rem;
  line-height: 1.5;
}
/* Original vector scenes: no stock imagery, trackers, or generated client claims. */
.sx-art {
  position: relative;
  isolation: isolate;
  background: #d9dfcd;
  min-width: 0;
  aspect-ratio: 0.85;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sx-art svg {
  width: 100%;
  height: auto;
  display: block;
  flex: none;
  max-height: 100%;
  overflow: visible;
}
.sx-art-caption {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 5%;
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #26382b;
  line-height: 1.4;
}
.sx-mini .sx-art-caption {
  display: none;
}
.sx-art-architecture {
  background: #cdd5bc;
}
.sx-art-suite {
  background: #3d4239;
}
.sx-art-suite .sx-art-caption {
  color: #f5eddb;
}
.sx-art-fitness {
  background: #172820;
}
.sx-art-fitness .sx-art-caption {
  color: #f4f9df;
}
.sx-art-pastry {
  background: #dbc7ed;
}
.sx-art-business {
  background: #d7e5e6;
}
.sx-art-network {
  background: #101f29;
}
.sx-art-network .sx-art-caption {
  color: #d0efea;
}
.sx-art-food {
  background: #deae79;
}
.sx-art-boutique {
  background: #e7c7c7;
}
.sx-art-barber {
  background: #d3bea0;
}
.sx-luxury {
  background: #27221d;
  color: #e4d6bf;
}
.sx-luxury .sx-mini-button {
  background: #c5a56d;
  color: #27221d;
}
.sx-luxury h3,
.sx-luxury .sx-mini-body strong {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.sx-luxury .sx-art {
  border-radius: 46% 46% 0 0;
}
.sx-modern {
  background: #202b30;
  color: #f5f8ee;
}
.sx-modern .sx-mini-button {
  background: #b9f54a;
  color: #202b30;
}
.sx-modern h3,
.sx-modern .sx-mini-body strong {
  text-transform: uppercase;
  line-height: 0.98;
  font-weight: 850;
}
.sx-modern .sx-art {
  transform: rotate(-3deg);
}
.sx-creative {
  background: #e8dcff;
  color: #5531a0;
}
.sx-creative .sx-mini-button {
  border-radius: 40px;
}
.sx-creative .sx-art {
  border-radius: 38% 8% 30% 8%;
  transform: rotate(4deg);
}
.sx-corporate {
  background: #f3f7fa;
  color: #183b59;
}
.sx-corporate .sx-art {
  border-radius: 4px;
}
.sx-tech {
  background: #111a25;
  color: #d5f2ee;
}
.sx-tech .sx-mini-button {
  background: #7ce5e0;
  color: #111a25;
}
.sx-tech .sx-art {
  border: 1px solid #7ce5e044;
}
.sx-tech .demo-eyebrow,
.sx-tech .sx-mini-top {
  font-family: monospace;
}
.sx-food {
  background: #fff2df;
  color: #6d3427;
}
.sx-food h3,
.sx-food .sx-mini-body strong,
.sx-boutique h3,
.sx-boutique .sx-mini-body strong {
  font-family: Georgia, serif;
  font-weight: 400;
}
.sx-food .sx-art {
  border-radius: 50% 50% 8px 8px;
}
.sx-boutique {
  background: #f9f1f2;
  color: #4b303b;
}
.sx-boutique .sx-mini-body {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}
.sx-boutique .sx-mini-body > .sx-art {
  grid-row: 1;
  grid-column: 1;
}
.sx-boutique .sx-mini-body > div:first-child {
  grid-row: 1;
  grid-column: 2;
}
/* Sector discovery */
.sx-concept-tag {
  display: block;
  font-size: 0.7rem;
  color: #54624f;
  margin: 12px 0;
}
.sx-sector-copy h3 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 12px 0 20px;
}
.sx-sector-copy > p {
  line-height: 1.7;
}
.sx-sector-copy ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.sx-sector-copy li:before {
  content: '↗';
  display: inline-block;
  margin-right: 12px;
  color: #547259;
}
#sector-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#sector-picker button {
  background: transparent;
  border: 1px solid #aebca8;
  border-radius: 40px;
  min-height: 44px;
  padding: 11px 15px;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  color: inherit;
}
#sector-picker button[aria-pressed='true'] {
  background: #213b2a;
  color: #fff;
  border-color: #213b2a;
}
#sector-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}
#sector-demo .sx-mini-body strong {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}
#sector-demo .sx-mini {
  aspect-ratio: 1.2;
  padding: 35px;
}
#sector-demo .sx-mini-top b {
  font-size: 1.7rem;
}
#sector-demo .sx-mini-body {
  padding: 35px 0;
}
/* Modal chrome uses remaining viewport space, including small landscape screens. */
.sx-modal-open {
  overflow: hidden;
}
.sx-dialog {
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #edf0eb;
  width: min(1320px, 96vw);
  max-width: 96vw;
  height: 94dvh;
  max-height: 94dvh;
  color: #213b2a;
  box-shadow: 0 30px 90px #0005;
  overflow: hidden;
}
.sx-dialog[open] {
  display: flex;
  flex-direction: column;
}
.sx-dialog::backdrop {
  background: #112018c9;
  backdrop-filter: blur(5px);
}
.sx-dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 18px 25px;
  flex: none;
}
.sx-dialog-top h2 {
  font-size: 1.15rem;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 7px 0 0;
}
.sx-dialog-top h2 span {
  font-weight: 400;
  color: #596a54;
}
.sx-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #aebda9;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  flex: none;
  color: #213b2a;
}
.sx-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 10px 25px;
  border-bottom: 1px solid #c5d0bf;
  flex: none;
}
.sx-device-buttons {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.sx-toolbar button {
  min-height: 44px;
  font: inherit;
  font-size: 0.78rem;
  border: 0;
  border-radius: 5px;
  padding: 10px 12px;
  background: transparent;
  cursor: pointer;
  color: #213b2a;
}
.sx-toolbar button[aria-pressed='true'],
.sx-toolbar .sx-want-demo {
  background: #213b2a;
  color: #fff;
}
.sx-palette-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}
.sx-palette-label input {
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 3px;
  border: 1px solid #aebda9;
  border-radius: 5px;
  background: #fff;
}
.sx-device-note {
  order: 4;
  flex-basis: 100%;
  font-size: 0.7rem;
  color: #465d40;
  line-height: 1.5;
  margin: 0;
}
.sx-device-note[hidden] {
  display: none;
}
.sx-viewport-wrap {
  padding: 22px;
  overflow: auto;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
}
.sx-viewport {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  container-type: inline-size;
  box-shadow: 0 7px 30px #1d2c1e12;
}
.sx-viewport[data-device='tablet'] {
  width: 740px;
}
.sx-viewport[data-device='mobile'] {
  width: 375px;
}
/* Shared demo primitives */
.demo-site {
  background: #f7f7f0;
  color: var(--demo-ink);
  font-family: Arial, sans-serif;
  overflow: hidden;
}
.demo-site * {
  box-sizing: border-box;
}
.demo-site p {
  color: inherit;
}
.demo-site button {
  cursor: pointer;
  font: inherit;
  color: inherit;
  min-height: 44px;
}
.demo-header {
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #8885;
  gap: 20px;
}
.demo-header > b {
  font-size: 1.8rem;
  letter-spacing: -0.07em;
}
.demo-header nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.demo-header nav button {
  background: transparent;
  border: 0;
  padding: 9px 7px;
  font-size: 0.82rem;
}
.demo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 6%;
  padding: 55px 6% 65px;
  align-items: center;
}
.demo-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 600;
  line-height: 1.6;
}
.demo-hero h3 {
  font-size: clamp(2.2rem, 5.5cqi, 5rem);
  letter-spacing: -0.065em;
  line-height: 1.02;
  margin: 22px 0;
  max-width: 10em;
  overflow-wrap: anywhere;
}
.demo-hero p:not(.demo-eyebrow) {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 30em;
}
.demo-hero button,
.demo-contact button,
.demo-real-form button {
  background: var(--demo-accent);
  color: var(--demo-accent-text, var(--demo-ink));
  border: 0;
  padding: 15px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 12px;
  border-radius: 4px;
}
.demo-subnote {
  display: block;
  font-size: 0.75rem;
  line-height: 1.65;
  margin-top: 15px;
}
.demo-hero-art {
  min-height: 260px;
  max-height: 540px;
  aspect-ratio: 0.9;
}
.demo-ribbon {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 18px 5%;
  border-block: 1px solid #8885;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.demo-intro,
.demo-functional,
.demo-contact {
  padding: 65px 6%;
  scroll-margin-top: 15px;
}
.demo-intro > h3,
.demo-functional > h3,
.demo-contact > h3 {
  font-size: clamp(1.8rem, 4cqi, 3.1rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.demo-intro > p:not(.demo-eyebrow),
.demo-functional > p:not(.demo-eyebrow),
.demo-contact > p:not(.demo-eyebrow) {
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 52em;
}
.demo-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 35px;
}
.demo-value-grid article {
  padding-top: 20px;
  border-top: 1px solid #8885;
}
.demo-value-grid small {
  font-size: 0.75rem;
}
.demo-value-grid h4 {
  font-size: 1.05rem;
  margin: 16px 0 10px;
}
.demo-value-grid p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.demo-functional {
  border-block: 1px solid #8885;
  background: #88888808;
}
.demo-menu-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.demo-menu-tabs button {
  background: transparent;
  border: 1px solid #8887;
  border-radius: 30px;
  padding: 10px 16px;
  font-size: 0.88rem;
}
.demo-menu-tabs button[aria-pressed='true'] {
  background: var(--demo-accent);
  color: var(--demo-accent-text, var(--demo-ink));
  border-color: transparent;
}
.demo-menu-list {
  display: grid;
}
.demo-menu-list article {
  padding: 22px 0;
  border-bottom: 1px solid #8885;
  display: grid;
  gap: 7px;
}
.demo-menu-list b {
  font-size: 1.1rem;
}
.demo-menu-list span,
.demo-menu-list small {
  font-size: 0.88rem;
  line-height: 1.6;
}
.demo-menu-list article[hidden] {
  display: none;
}
.demo-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.demo-product-art {
  aspect-ratio: 1;
  background: #e5d7c6;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.demo-product-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.demo-product-art.art-1 {
  background: #d8ddcb;
}
.demo-product-art.art-2 {
  background: #e8d4d2;
}
.demo-product-art.art-1 svg {
  transform: scale(0.85) rotate(-5deg);
}
.demo-product-art.art-2 svg {
  transform: scale(1.1) rotate(7deg);
}
.demo-products h4 {
  font-size: 1rem;
  margin: 15px 0 10px;
}
.demo-products p {
  font-size: 0.85rem;
  line-height: 1.6;
}
.demo-products button,
.demo-reset {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 10px 0;
  font-size: 0.88rem;
}
.demo-reset {
  margin-top: 20px;
}
.demo-feedback {
  font-size: 0.88rem;
  line-height: 1.7;
  border: 1px solid #8887;
  padding: 15px;
  margin: 25px 0 0;
  border-radius: 5px;
  overflow-wrap: anywhere;
}
.demo-real-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  max-width: 650px;
}
.demo-real-form label {
  font-size: 0.88rem;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}
.demo-real-form input,
.demo-real-form select,
.demo-real-form textarea {
  width: 100%;
  min-width: 0;
  background: #fff;
  color: #22322a;
  padding: 12px;
  border: 1px solid #84917f;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  min-height: 46px;
}
.demo-real-form textarea {
  min-height: 90px;
  resize: vertical;
}
.demo-real-form button {
  justify-self: start;
  align-self: end;
}
.demo-real-form .demo-feedback {
  grid-column: 1/-1;
  margin: 0;
}
.demo-health-list {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.demo-health-list details {
  border: 1px solid #8887;
  padding: 18px;
}
.demo-health-list summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  min-height: 30px;
}
.demo-health-list p {
  font-size: 0.95rem;
  line-height: 1.7;
}
.demo-schedule {
  display: grid;
  gap: 8px;
}
.demo-schedule button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px;
  background: transparent;
  border: 1px solid #8887;
  text-align: left;
  font-size: 0.9rem;
}
.demo-footer {
  padding: 25px 6%;
  border-top: 1px solid #8885;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.demo-footer > b {
  font-size: 1.5rem;
  letter-spacing: -0.06em;
}
.demo-footer span {
  font-size: 0.75rem;
  line-height: 1.7;
  max-width: 28em;
}
/* Each art direction has its own editorial composition. */
.demo-site.sx-luxury {
  background: #27221d;
  color: #e4d6bf;
}
.demo-site.sx-luxury .demo-hero {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 12%;
  padding-block: 75px;
}
.demo-site.sx-luxury .demo-hero > div:first-child {
  max-width: 390px;
}
.demo-site.sx-luxury .demo-hero-art {
  border-radius: 50% 50% 0 0;
  aspect-ratio: 0.75;
}
.demo-site.sx-luxury .demo-intro {
  text-align: center;
}
.demo-site.sx-luxury .demo-intro > p {
  margin-inline: auto;
}
.demo-site.sx-luxury .demo-value-grid {
  text-align: left;
  gap: 45px;
}
.demo-site.sx-modern {
  background: #202b30;
  color: #f5f8ee;
}
.demo-site.sx-modern .demo-hero {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  padding-inline: 5%;
  gap: 2%;
}
.demo-site.sx-modern .demo-hero h3 {
  font-size: clamp(2.8rem, 7cqi, 6.4rem);
}
.demo-site.sx-modern .demo-ribbon {
  background: var(--demo-accent);
  color: var(--demo-accent-text);
  font-weight: 700;
  transform: rotate(-1deg);
}
.demo-site.sx-creative {
  background: #e8dcff;
  color: #5531a0;
}
.demo-site.sx-creative .demo-hero {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
  padding-block: 60px 35px;
}
.demo-site.sx-creative .demo-hero > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 80%;
  margin-inline: auto;
}
.demo-site.sx-creative .demo-hero h3 {
  max-width: 12em;
  margin-inline: auto;
  font-size: clamp(2.5rem, 7cqi, 6rem);
}
.demo-site.sx-creative .demo-hero p {
  margin-inline: auto;
}
.demo-site.sx-creative .demo-hero-art {
  width: 45%;
  aspect-ratio: 1.25;
  justify-self: end;
  margin-top: -20px;
  min-height: 0;
  transform: rotate(5deg);
}
.demo-site.sx-creative .demo-value-grid article {
  border: 1px solid #5531a05c;
  border-radius: 22px;
  padding: 25px;
  transform: rotate(-2deg);
}
.demo-site.sx-creative .demo-value-grid article:nth-child(2) {
  transform: rotate(2deg);
  margin-top: 20px;
}
.demo-site.sx-corporate {
  background: #f3f7fa;
  color: #183b59;
}
.demo-site.sx-corporate .demo-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 8%;
}
.demo-site.sx-corporate .demo-hero-art {
  aspect-ratio: 1.1;
}
.demo-site.sx-corporate .demo-ribbon {
  justify-content: stretch;
  padding: 0 6%;
  background: #183b59;
  color: #fff;
}
.demo-site.sx-corporate .demo-ribbon span {
  flex: 1;
  padding: 24px 15px;
  border-right: 1px solid #ffffff40;
}
.demo-site.sx-corporate .demo-value-grid {
  gap: 0;
  border: 1px solid #183b594f;
}
.demo-site.sx-corporate .demo-value-grid article {
  padding: 28px;
  border: 0;
  border-right: 1px solid #183b594f;
}
.demo-site.sx-tech {
  background: #111a25;
  color: #d5f2ee;
  font-family: 'Courier New', monospace;
}
.demo-site.sx-tech .demo-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2%;
  padding: 35px 4%;
}
.demo-site.sx-tech .demo-hero > div:first-child {
  border: 1px solid #7ce5e066;
  padding: 30px;
}
.demo-site.sx-tech .demo-hero-art {
  aspect-ratio: 1;
  min-height: 100%;
  border-radius: 0;
}
.demo-site.sx-tech .demo-value-grid article {
  border: 1px solid #7ce5e066;
  padding: 22px;
}
.demo-site.sx-tech .demo-intro,
.demo-site.sx-tech .demo-functional {
  margin: 20px;
  border: 1px solid #7ce5e066;
}
.demo-site.sx-food {
  background: #fff2df;
  color: #6d3427;
}
.demo-site.sx-food .demo-hero {
  gap: 9%;
}
.demo-site.sx-food .demo-hero-art {
  aspect-ratio: 1;
  min-height: 0;
}
.demo-site.sx-food .demo-hero h3 {
  font-size: clamp(2.7rem, 6.2cqi, 5.8rem);
}
.demo-site.sx-food .demo-ribbon {
  border-block: 3px double #6d342780;
  font-family: Georgia, serif;
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0;
}
.demo-site.sx-boutique {
  background: #f9f1f2;
  color: #4b303b;
}
.demo-site.sx-boutique .demo-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 7%;
  padding-top: 30px;
}
.demo-site.sx-boutique .demo-hero-art {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 0.8;
}
.demo-site.sx-boutique .demo-hero > div:first-child {
  grid-column: 2;
  grid-row: 1;
}
.demo-site.sx-boutique .demo-hero h3 {
  font-size: clamp(2.1rem, 5cqi, 4.7rem);
}
.demo-site.sx-boutique .demo-value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.demo-site.sx-boutique .demo-value-grid article:last-child {
  grid-column: 1/-1;
  max-width: 50%;
}
.demo-site.sx-creative .demo-hero button {
  border-radius: 30px;
}
/* Sector-specific examples */
.demo-sector-extra {
  margin-top: 45px;
  border-top: 1px solid #8885;
  padding-top: 35px;
}
.demo-sector-extra h4,
.demo-location h4 {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  margin: 15px 0;
}
.demo-sector-extra > p:not(.demo-eyebrow),
.demo-location p {
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 55em;
}
.demo-price-list {
  display: grid;
  margin: 25px 0 40px;
}
.demo-price-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #8885;
  font-size: 0.95rem;
}
.demo-price-list dd {
  margin: 0;
  white-space: nowrap;
}
.demo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 25px 0;
}
.demo-gallery figure {
  margin: 0;
  min-width: 0;
}
.demo-gallery-art {
  position: relative;
  aspect-ratio: 0.85;
  background: var(--demo-accent);
  overflow: hidden;
  border-radius: 35% 35% 0 0;
  isolation: isolate;
}
.demo-gallery-art:before,
.demo-gallery-art:after,
.demo-gallery-art span {
  content: '';
  position: absolute;
  display: block;
  background: var(--demo-ink);
}
.demo-gallery-art:before {
  width: 45%;
  height: 54%;
  left: 28%;
  top: 15%;
  border-radius: 50% 50% 35% 35%;
  opacity: 0.7;
}
.demo-gallery-art:after {
  width: 72%;
  height: 40%;
  left: 14%;
  bottom: -3%;
  border-radius: 50% 50% 0 0;
  opacity: 0.7;
}
.demo-gallery-art span {
  width: 47%;
  height: 22%;
  left: 27%;
  top: 10%;
  border-radius: 65% 60% 10% 0;
  transform: rotate(-12deg);
  opacity: 0.9;
  z-index: 2;
}
.demo-gallery-art.art-1:before {
  border-radius: 40% 40% 50% 50%;
  top: 20%;
}
.demo-gallery-art.art-1 span {
  top: 43%;
  height: 28%;
  border-radius: 0 0 50% 50%;
  width: 44%;
  left: 28%;
  transform: none;
}
.demo-gallery-art.art-2 span {
  width: 60%;
  height: 68%;
  border-radius: 50% 50% 10% 10%;
  left: 20%;
  top: 10%;
  transform: rotate(8deg);
}
.demo-gallery figcaption {
  font-size: 0.82rem;
  margin-top: 12px;
  line-height: 1.6;
}
.demo-food-art {
  aspect-ratio: 1;
  background: var(--demo-accent);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.demo-food-art:before {
  content: '';
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: #fff8;
  border: 9px double #fff9;
  box-shadow: 3px 7px 15px #0001;
}
.demo-food-art > span {
  position: relative;
  width: 47%;
  height: 47%;
  background: var(--demo-ink);
  opacity: 0.7;
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px #ffffff50;
}
.demo-food-art.food-art-1 > span {
  border-radius: 30% 60% 30% 60%;
  transform: rotate(35deg);
}
.demo-food-art.food-art-2 > span {
  border-radius: 4px;
  transform: rotate(-12deg);
  width: 38%;
  height: 38%;
}
.demo-products-note {
  border: 1px solid #8887;
  padding: 18px;
  margin-top: 25px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.demo-products-note summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 30px;
}
.demo-location {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
  padding: 45px 6%;
  border-bottom: 1px solid #8885;
}
.demo-map-art {
  aspect-ratio: 1.5;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  isolation: isolate;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      24deg,
      transparent,
      transparent 34px,
      #8882 35px,
      #8882 40px,
      transparent 41px
    ),
    repeating-linear-gradient(110deg, #8881, #8881 50px, #8883 51px, #8883 56px, #8881 57px);
  border: 1px solid #8885;
}
.demo-map-art > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--demo-accent);
  color: var(--demo-accent-text);
  font-size: 1.3rem;
}
.demo-map-art small {
  font-size: 0.65rem;
  padding: 7px 10px;
  background: var(--demo-accent);
  color: var(--demo-accent-text);
  letter-spacing: 0.1em;
}
/* Focus treatment stays on the palette's unchanged text/background surfaces. */
.sx-dialog :is(button, input, select, textarea, summary):focus-visible,
.sx-card button:focus-visible,
.sx-discovery select:focus-visible,
#sector-picker button:focus-visible {
  outline: 3px solid #417444;
  outline-offset: 3px;
}
.demo-site :is(button, input, select, textarea, summary):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
/* Responsive demo layout is based on the preview itself, not the host screen. */
@container (max-width:600px) {
  .demo-header {
    padding: 15px 6%;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .demo-header > b {
    font-size: 1.6rem;
  }
  .demo-header nav {
    width: 100%;
    gap: 2px 10px;
    justify-content: flex-start;
  }
  .demo-header nav button {
    font-size: 0.82rem;
    padding: 10px 3px;
  }
  .demo-hero,
  .demo-site.sx-luxury .demo-hero,
  .demo-site.sx-modern .demo-hero,
  .demo-site.sx-corporate .demo-hero,
  .demo-site.sx-tech .demo-hero,
  .demo-site.sx-food .demo-hero,
  .demo-site.sx-boutique .demo-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 6%;
  }
  .demo-hero h3,
  .demo-site.sx-modern .demo-hero h3,
  .demo-site.sx-food .demo-hero h3,
  .demo-site.sx-boutique .demo-hero h3 {
    font-size: clamp(2rem, 10cqi, 3rem);
    max-width: 10em;
  }
  .demo-hero-art,
  .demo-site.sx-luxury .demo-hero-art {
    min-height: 0;
    max-height: none;
    aspect-ratio: 1.1;
  }
  .demo-site.sx-creative .demo-hero {
    padding-block: 32px;
  }
  .demo-site.sx-creative .demo-hero > div:first-child {
    max-width: 100%;
  }
  .demo-site.sx-creative .demo-hero h3 {
    font-size: clamp(2rem, 10cqi, 3rem);
  }
  .demo-site.sx-creative .demo-hero-art {
    width: 80%;
    margin-top: 0;
    aspect-ratio: 1.1;
  }
  .demo-ribbon {
    font-size: 0.7rem;
    gap: 12px;
    line-height: 1.6;
    align-items: center;
    flex-wrap: wrap;
  }
  .demo-intro,
  .demo-functional,
  .demo-contact {
    padding: 38px 6%;
  }
  .demo-value-grid,
  .demo-site.sx-boutique .demo-value-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .demo-value-grid article {
    padding-top: 15px;
  }
  .demo-value-grid h4 {
    margin: 10px 0;
  }
  .demo-site.sx-creative .demo-value-grid article,
  .demo-site.sx-creative .demo-value-grid article:nth-child(2) {
    transform: none;
    margin-top: 0;
  }
  .demo-site.sx-corporate .demo-ribbon {
    padding: 0 4%;
    gap: 0;
    font-size: 0.68rem;
  }
  .demo-site.sx-corporate .demo-ribbon span {
    padding: 15px 8px;
    min-width: 85px;
  }
  .demo-site.sx-corporate .demo-value-grid article {
    padding: 22px;
  }
  .demo-site.sx-tech .demo-hero > div:first-child {
    padding: 20px;
  }
  .demo-site.sx-tech .demo-hero-art {
    min-height: 0;
    aspect-ratio: 1.1;
  }
  .demo-site.sx-tech .demo-intro,
  .demo-site.sx-tech .demo-functional {
    margin: 12px;
  }
  .demo-site.sx-boutique .demo-hero-art,
  .demo-site.sx-boutique .demo-hero > div:first-child {
    grid-column: auto;
    grid-row: auto;
  }
  .demo-site.sx-boutique .demo-value-grid article:last-child {
    grid-column: auto;
    max-width: none;
  }
  .demo-products,
  .demo-real-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo-products {
    gap: 30px;
  }
  .demo-product-art {
    aspect-ratio: 1.3;
  }
  .demo-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .demo-schedule button {
    gap: 10px;
    flex-wrap: wrap;
  }
  .demo-schedule b {
    max-width: 14em;
  }
  .demo-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .demo-gallery-art {
    aspect-ratio: 1.2;
  }
  .demo-food-art {
    aspect-ratio: 1.3;
  }
  .demo-price-list > div {
    font-size: 0.88rem;
    gap: 12px;
  }
  .demo-location {
    grid-template-columns: minmax(0, 1fr);
    padding: 35px 6%;
    gap: 22px;
  }
  .demo-map-art {
    aspect-ratio: 1.6;
  }
  .demo-products-note {
    padding: 15px;
  }
}
@media (max-width: 760px) {
  .sx-discovery {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .sx-discovery label {
    max-width: none;
  }
  #sector-demo {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  #sector-demo .sx-mini {
    padding: 24px;
    aspect-ratio: 1.15;
  }
  .sx-card-copy {
    padding: 20px;
  }
  .sx-mini-body strong {
    font-size: 1.65rem;
  }
  .sx-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .sx-dialog-top {
    padding: 12px 14px;
    gap: 10px;
  }
  .sx-dialog-top h2 {
    font-size: 1rem;
  }
  .sx-dialog-top .sx-kicker {
    font-size: 0.6rem !important;
    letter-spacing: 0.06em;
  }
  .sx-dialog-top h2 span {
    display: none;
  }
  .sx-toolbar {
    padding: 8px 12px;
    gap: 8px;
  }
  .sx-device-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sx-toolbar button {
    padding: 10px 7px;
    font-size: 0.76rem;
  }
  .sx-palette-label {
    font-size: 0.75rem;
    gap: 6px;
  }
  .sx-toolbar > .sx-want-demo {
    margin-left: auto;
    flex: 1;
    max-width: 220px;
  }
  .sx-viewport-wrap {
    padding: 10px;
  }
  .sx-mini-top > span {
    font-size: 0.48rem;
  }
}
@media (max-width: 360px) {
  .sx-mini {
    padding: 18px;
    aspect-ratio: 1.15;
  }
  .sx-mini-body {
    gap: 10px;
    padding: 18px 0;
  }
  .sx-mini-body strong {
    font-size: 1.3rem;
  }
  .sx-mini-top > span {
    display: none;
  }
  #sector-demo .sx-mini {
    padding: 20px;
  }
  #sector-demo .sx-mini-body strong {
    font-size: 1.6rem;
  }
  .sx-actions {
    align-items: stretch;
  }
  .sx-actions button {
    flex: 1 1 100%;
  }
  .sx-dialog-top .sx-kicker {
    font-size: 0.55rem !important;
  }
  .sx-device-note {
    font-size: 0.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sx-card {
    transition: none;
  }
  .sx-card:hover {
    transform: none;
  }
  .demo-site * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
