.shell[data-font="serif"] { --higgs-display: Georgia, "Times New Roman", serif; }
.shell[data-font="mono"] { --higgs-display: ui-monospace, Consolas, monospace; }
.shell[data-font="system"] { --higgs-display: system-ui, sans-serif; }
.shell[data-spacing="compact"] { --higgs-gutter: 1rem; }
.shell[data-spacing="regular"] { --higgs-gutter: clamp(1rem, 3vw, 2rem); }
.shell[data-spacing="wide"] { --higgs-gutter: clamp(1.25rem, 5vw, 3.5rem); }
.shell[data-font] h1,
.shell[data-font] h2 { font-family: var(--higgs-display); }
.shell[data-spacing] { --gutter: var(--higgs-gutter); }
.shell[data-spacing] main { gap: var(--higgs-gutter); }
.shell[data-button="outline"] main button:not([aria-pressed="true"]) { border: 1px solid currentColor; background: transparent; color: var(--text); }
.shell[data-button="solid"] main button:not([aria-pressed="true"]) { border: 1px solid var(--text); background: var(--text); color: var(--background); }
.shell[data-button="underline"] main button { text-decoration: underline; text-underline-offset: .25em; }

#site[data-theme="floating-world"] .artwork .object { border-radius: 50% 46% 59% 42%; }
#site[data-theme="sound-room"] .artwork .object { border-radius: 50%; background: repeating-radial-gradient(circle, var(--surface) 0 5%, var(--accent) 5% 5.35%); }
#site[data-theme="poster-wall"] .artwork .object { border-radius: 0; transform: rotate(-6deg); }
#site[data-theme="poster-wall"] .block { border-radius: 0; }
#site[data-theme="poster-wall"] .block-intro { box-shadow: inset .375rem 0 var(--accent); }
#site[data-theme="record-library"] .artwork .object { border-radius: 50%; background: repeating-radial-gradient(circle, var(--surface) 0 9%, var(--muted) 9% 9.4%); }
#site[data-theme="record-library"] .block-index { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-block-end: .5rem; scroll-snap-type: x proximity; }
#site[data-theme="record-library"] .block-index a { flex: 0 0 min(10rem, 70%); scroll-snap-align: start; }
#site[data-theme="urban-space"] .artwork .object { border-radius: 0; border: 3px solid var(--accent); }
#site[data-theme="water-flow"] .artwork .object { border-radius: 56% 44% 41% 59% / 42% 57% 43% 58%; }
#site[data-theme="water-flow"] #rhythm-pad:active { background: radial-gradient(ellipse, var(--surface), var(--background)); }
#site[data-theme="void"] .artwork .object { border-radius: 50%; border: 1px solid var(--muted); background: var(--background); }
#site[data-theme="void"] .block { box-shadow: none; background: transparent; border-block-end: 1px solid var(--surface); }

#site[data-theme="legacy-wix"] .site-header { background: #090b0b; }
#site[data-theme="legacy-wix"] .primary-nav a { text-underline-offset: .34em; }
#site[data-theme="legacy-wix"] main[data-route="home"] {
  grid-template-rows: minmax(12rem, 34vh) minmax(6rem, auto);
  padding-block-start: var(--gutter);
}
#site[data-theme="legacy-wix"] [data-route="home"] > :is(.block-intro, .block-content, .artwork) {
  grid-column: 1;
}
#site[data-theme="legacy-wix"] [data-route="home"] > .artwork {
  position: relative;
  grid-row: 1 / 3;
  align-self: stretch;
  margin: 0;
  background: #272122;
  pointer-events: none;
}
#site[data-theme="legacy-wix"] [data-route="home"] > .artwork::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(160deg, #1d24243f, #110a14bc 62%, #0b1213f5);
}
#site[data-theme="legacy-wix"] [data-route="home"] > .artwork img { height: 100%; }
#site[data-theme="legacy-wix"] [data-route="home"] > :is(.block-intro, .block-content) {
  z-index: 1;
  margin-inline: clamp(1rem, 5vw, 4.5rem);
  text-align: end;
  justify-self: end;
}
#site[data-theme="legacy-wix"] [data-route="home"] > .block-intro {
  grid-row: 1;
  align-self: end;
  padding: 0;
  border: 0;
  max-width: 21ch;
  font-size: clamp(1.05rem, 5vw, 4.6rem);
}
#site[data-theme="legacy-wix"] [data-route="home"] > .block-intro h1 {
  font-size: 1em;
  text-wrap: pretty;
  text-shadow: 0 2px 12px #100910;
}
#site[data-theme="legacy-wix"] [data-route="home"] > .block-content { grid-row: 2; color: #e8efec; }
#site[data-theme="legacy-wix"] [data-route="home"] > .higgs-features {
  padding: clamp(1rem, 3vw, 2.75rem);
  background: #193131;
}

@media (prefers-reduced-motion: reduce) {
  #site[data-theme="poster-wall"] .artwork .object { transform: none; }
  #site[data-theme="record-library"] .block-index { scroll-snap-type: none; }
}
