.homepage { --page-width: 80rem; }
.homepage .profile-panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.homepage .profile-opening { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.homepage .profile-opening .soundcloud-section { grid-column: 1; grid-row: 1; align-self: stretch; display: flex; flex-direction: column; }
.homepage .soundcloud-section > .pane-editor { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.homepage .soundcloud-section .soundcloud-player { flex: 1; height: 100%; min-height: 450px; }
.homepage .work { grid-column: 2; grid-row: 1; display: block; margin: 64px 0 0; padding: 30px; }
.homepage .work .link-group { margin: 0; }
.homepage .work .link-group + .link-group { margin-top: 28px; }
.homepage .work .section-heading { flex-wrap: wrap; }
.homepage .game-links { display: block; }
/* The original full-width anchors and separators remain the hit targets. */
html:not([data-glass-buttons="off"]) .homepage .work .project-link {
  position: relative; isolation: isolate; padding: 16px 14px; min-height: 88px;
  background: none; transition: none;
}
html:not([data-glass-buttons="off"]) .homepage .work .project-link::before {
  content: ''; position: absolute; inset: 6px 0; z-index: -1; pointer-events: none;
  border: 1px solid rgba(214, 204, 237, .24); border-radius: 14px;
  background: linear-gradient(155deg, rgba(224, 217, 246, .08), rgba(112, 101, 135, .035) 48%, rgba(157, 141, 183, .05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(0,0,0,.32), 0 4px 10px rgba(0,0,0,.16);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
html:not([data-glass-buttons="off"]) .homepage .work .project-link:is(:hover,:focus-visible)::before {
  border-color: rgba(226, 208, 249, .5); background-color: rgba(209,186,243,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.28), 0 4px 12px rgba(0,0,0,.2);
}
html:not([data-glass-buttons="off"]) .homepage .work .project-link:focus-visible {
  outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .homepage .work .project-link::before { transition: none !important; }
}
@media (forced-colors: active) {
  html:not([data-glass-buttons="off"]) .homepage .work .project-link::before {
    background: Canvas; border-color: CanvasText; box-shadow: none;
  }
}
.homepage .music-note { grid-template-columns: minmax(0, 1fr); }
.homepage .music-pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; width: min(1060px, calc(100% - 96px)); }
.homepage .music-copy { grid-column: 1; }
.homepage .music-players { display: grid; grid-column: 2; gap: 24px; min-width: 0; }
.homepage .music-player { margin-top: 0; }
.homepage .music-tools { margin-top: 16px; width: min(1060px, calc(100% - 96px)); margin-left: auto; }
.homepage .tools-introduction { width: min(100%, 720px); margin: 0 0 28px; padding: 26px 30px; }
.homepage .tools-intro { max-width: 68ch; }
/* One more horizontal step after the tools introduction, inside the stage. */
.homepage .tool-groups { --tools-step: clamp(32px, 4vw, 64px); grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - var(--tools-step)); margin-left: var(--tools-step); }
.homepage .tool-group:first-child { grid-column: 1; }
.homepage .tool-group:last-child { grid-column: 2; margin-top: 0; }
.homepage .domain-note { width: min(100%, 560px); justify-self: center; padding: 24px 28px; margin-top: calc(96px - 24px); }
.homepage .domain-note h3 { font-size: 1.125rem; margin: 0 0 8px; }
.homepage .domain-note p { font-size: 1rem; line-height: 1.6; }
.homepage .ornate-divider { height: 104px; min-height: 104px; margin-block: 64px; background: transparent; color: #ffffffbb; --glass-edge: #ffffffbb; }
.divider-engraving { display: block; width: 100%; height: 104px; filter: drop-shadow(0 0 3px #ffffff66); }
.ornate-divider[data-pane-ready] > .divider-engraving { visibility: hidden; }
.ornate-divider .pane-outline path { stroke-width: 2; }
.ornate-divider .pane-outline { filter: drop-shadow(0 0 3px #ffffff66); }
@media (max-width: 1100px) {
  .homepage { --page-width: 44rem; }
  .homepage .music-pair > *, .homepage .tool-group:first-child, .homepage .tool-group:last-child { grid-column: 1; }
  .homepage .music-note, .homepage .music-pair, .homepage .tool-groups { grid-template-columns: minmax(0, 1fr); }
  .homepage .music-pair, .homepage .music-tools, .homepage .tool-groups { width: 100%; margin-left: 0; }
  .homepage .music-player, .homepage .tool-group:last-child { margin-top: 0; }
}
@media (max-width: 850px) {
  .homepage .profile-panel { gap: 28px; }
  .homepage .profile-opening { grid-template-columns: minmax(0, 1fr); }
  .homepage .profile-opening > .soundcloud-section, .homepage .work { grid-column: 1; grid-row: auto; }
  .homepage .soundcloud-section .soundcloud-player { flex: none; height: 450px; }
  .homepage .work { margin: 0; padding: 26px; }
  .homepage .domain-note { margin-top: calc(56px - 24px); }
  .homepage .ornate-divider { margin-block: 40px; }
  .homepage .tools-introduction, .homepage .domain-note { padding: 22px; }
}
