/* Approved October 20 artwork. These rules replace old logo crops and room compositions. */
:root { --header-h: 72px; }
body { isolation: isolate; }
.site-header { position: relative; top: auto; background: #070b17f5; }
.backdrop { background: radial-gradient(ellipse at 0 12%, #00caff22, transparent 42%), radial-gradient(ellipse at 100% 48%, #a540ff24, transparent 40%), radial-gradient(ellipse at 6% 90%, #ff940016, transparent 38%), var(--bg); }
.backdrop::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #05060f22, #05060fe8 20%, #05060ff5 50%, #05060fe8 80%, #05060f22), url('/assets/neon-20261020/studio-banner-1600.webp') center / cover no-repeat; opacity: .3; filter: saturate(.8); }
.ambient-scene { position: fixed; inset: 0; z-index: -9; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% 0, #7044b910, transparent 65%); }
.ambient-scene span { --drift: 22px; position: absolute; top: -10%; left: 3%; width: 9px; height: 19px; border-radius: 80% 0 80% 0; background: #67ddbb; opacity: 0; box-shadow: 0 0 12px #00f3ff55; animation: ambient-fall 26s linear infinite; }
.ambient-scene span:nth-child(2n) { border-radius: 50%; width: 3px; height: 3px; background: #83dbff; }
.ambient-scene span:nth-child(3n) { background: #c278ff; box-shadow: 0 0 14px #bb42ff88; --drift: -70px; }
.ambient-scene span:nth-child(4n) { background: #ffb75c; }
.ambient-scene span:nth-child(2) { left: 12%; animation-delay: -9s; animation-duration: 34s; }
.ambient-scene span:nth-child(3) { left: 24%; animation-delay: -19s; }
.ambient-scene span:nth-child(4) { left: 35%; animation-delay: -4s; animation-duration: 31s; }
.ambient-scene span:nth-child(5) { left: 45%; animation-delay: -14s; animation-duration: 38s; }
.ambient-scene span:nth-child(6) { left: 54%; animation-delay: -22s; }
.ambient-scene span:nth-child(7) { left: 65%; animation-delay: -6s; animation-duration: 35s; }
.ambient-scene span:nth-child(8) { left: 75%; animation-delay: -15s; }
.ambient-scene span:nth-child(9) { left: 84%; animation-delay: -11s; animation-duration: 33s; }
.ambient-scene span:nth-child(10) { left: 90%; animation-delay: -23s; }
.ambient-scene span:nth-child(11) { left: 95%; animation-delay: -7s; animation-duration: 36s; }
.ambient-scene span:nth-child(12) { left: 98%; animation-delay: -18s; }
.ambient-scene span:nth-child(3) { left: 1%; --drift: 28px; }
.ambient-scene span:nth-child(5) { left: 5%; }
.ambient-scene span:nth-child(7) { left: 94%; --drift: -22px; }
.ambient-scene span:nth-child(9) { left: 96%; --drift: -28px; }
@keyframes ambient-fall { 0% { transform: translate3d(0, -5vh, 0) rotate(0deg); opacity: 0; } 12%, 85% { opacity: .42; } 100% { transform: translate3d(var(--drift), 115vh, 0) rotate(290deg); opacity: 0; } }
@media (max-width: 699px) { .ambient-scene span:nth-child(n+7) { display: none; } }
@media (prefers-reduced-motion: reduce) { .ambient-scene span { animation: none; display: none; } }
.stream-stage iframe:focus { outline: 3px solid var(--cyan); outline-offset: -3px; }
.stream-stage:focus-within { outline: 3px solid var(--cyan); outline-offset: -3px; }
.brand { flex-shrink: 0; gap: 12px; margin-right: 10px; }
.brand img { width: 54px; height: 54px; object-fit: contain; margin: 0; }
.w-gamers { background-image: linear-gradient(100deg, #70ecff, #b3a0ff 48%, #f877ec); }
.portal-hero { display: block; min-height: 0; background: radial-gradient(ellipse at 80% 50%, #461d5433, transparent 65%), #050610; }
.portal-hero::before { content: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(24px, 3vw, 56px); align-items: center; padding-block: 32px; }
.hero-copy { max-width: 590px; min-width: 0; }
.hero-copy h1 { font-size: clamp(1.9rem, 2.4vw, 3rem); line-height: 1.12; }
.hero-copy .eyebrow { letter-spacing: .15em; font-size: .7rem; }
.hero-copy .lede { max-width: 54ch; font-size: .98rem; }
.hero-copy .actions { gap: 10px; }
.hero-copy .btn { padding-inline: 16px; font-size: .88rem; }
.hero-art, .page-art { display: block; min-width: 0; overflow: hidden; border: 1px solid #8b5ecd55; border-radius: 18px; background: #100b24; box-shadow: 0 12px 42px #0007, 0 0 35px #c442f018; }
.hero-art img, .page-art img { display: block; position: static; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.home-dashboard { gap: 20px; padding-block: 22px 32px; }
.dash-row { gap: 20px; align-items: stretch; }
.stream-body { gap: 18px; padding: 16px; align-items: start; }
.streamer { min-width: 0; padding: 2px 0; gap: 13px; }
.streamer-id { gap: 12px; min-width: 0; }
.streamer-avatar { display: block; width: 58px; height: 58px; flex: 0 0 58px; border: 0; box-shadow: none; background: transparent; overflow: visible; }
.streamer-avatar img { width: 100%; height: 100%; max-width: 100%; margin: 0; object-fit: contain; }
.streamer-id > div { min-width: 0; }
.streamer-id h3 { font-size: 1.25rem; overflow-wrap: anywhere; }
.streamer-id p { font-size: .68rem; letter-spacing: .075em; }
.streamer .btn-block { font-size: .82rem; gap: 8px; padding-inline: 12px; }
[data-dock-size="compact"] .stream-dock .stream-tabs,
[data-dock-size="compact"] .stream-dock:not(:has(.stream-stage.loaded)) .stream-tabs { position: static; border-bottom: 1px solid var(--line); background: #0b1120; justify-content: flex-start; }
[data-dock-size="compact"] .stream-stage { aspect-ratio: auto; min-height: 246px; }
[data-dock-size="compact"] .consent { padding: 36px 14px 16px; }
.stage-cover { object-fit: cover; object-position: center; }
.stage-tag { z-index: 1; font-size: .62rem; }
.radio-body { padding: 16px 16px 0; }
.radio-cover { background: #080a18; border: 0; box-shadow: none; }
.radio-cover img { object-fit: contain; }
.radio-console { grid-template-columns: 82px minmax(0,1fr) auto; gap: 14px; }
.radio-console .now-label { font-size: .7rem; }
.radio-console .now-track { font-size: 1rem; overflow-wrap: anywhere; }
.radio-facts li { gap: 8px; }
.panel-heading { padding-inline: 16px; min-height: 48px; }
.forum-body { gap: 24px; padding: 18px; }
.project-grid { gap: 14px; padding: 16px 16px 0; }
.project { min-width: 0; }
.project-copy { overflow-wrap: anywhere; }
.project-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid:has(> :nth-child(4)) .project.is-planned { grid-column: 1 / -1; min-height: 88px; }
.project-grid:has(> :nth-child(4)) .project.is-planned .project-art { width: 40%; }
.project-grid:has(> :nth-child(4)) .project.is-planned .project-copy { max-width: 75%; }
.update img { object-fit: contain; background: #0a0918; }
.footer-brand img { object-fit: contain; width: 76px; height: 76px; }
.page-hero::before { background: radial-gradient(ellipse at 85% 40%, #5d267b33, transparent 65%), linear-gradient(120deg, #060915, #0c0b1a); }
.page-hero.has-banner { padding-block: 28px; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.3fr); gap: 40px; align-items: center; }
.page-hero-copy { min-width: 0; }
.page-hero-copy h1 { max-width: none; }
.page-hero-copy .lede { margin-bottom: 0; }
.radio-hero { padding-block: 26px; }
.radio-hero-inner { display: grid; grid-template-columns: minmax(0,1fr) 200px; gap: 40px; align-items: center; }
.radio-hero-art { width: 200px; height: 200px; object-fit: contain; justify-self: end; }
.wv-portrait img { position: static; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.wv-portrait { border: 0; background: transparent; border-radius: 0; box-shadow: none; }
.site-nav > ul > li:nth-last-child(-n+2) .mega-panel { left: auto; right: 0; }
/* Carry the studio panel rhythm through every portal destination. */
.page-hero { border-bottom-color: color-mix(in srgb, var(--accent, var(--cyan)) 30%, var(--line)); }
.page-hero::before { background: radial-gradient(ellipse at 85% 25%, color-mix(in srgb, var(--accent, var(--purple)) 12%, transparent), transparent 64%), linear-gradient(120deg, #060915, #0c0b1a); }
.page-hero .kicker { color: var(--accent-soft, var(--cyan-soft)); }
.page-hero .lede { max-width: 62ch; line-height: 1.7; }
.section-head h2 { max-width: 28ch; text-wrap: balance; }
.info-grid, .wv-panels, .community-grid, .radio-stage { align-items: stretch; gap: 20px; }
.info-grid > *, .wv-panels > *, .community-grid > *, .radio-stage > * { min-width: 0; }
.info-card, .wv-panel, .place, .now-card, .cta-row { background: linear-gradient(145deg, rgba(17, 26, 45, .96), rgba(6, 12, 24, .97)); box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 12px 32px rgba(0, 0, 0, .18); }
.info-card h2, .place h2, .wv-panel h3 { line-height: 1.25; text-wrap: balance; }
.info-card p, .place p:not(.chip), .wv-panel p { line-height: 1.65; }
.wv-panel > .actions:last-child, .wv-panel > .btn:last-child { margin-top: auto; }
.place { gap: 14px; }
.place-icon { box-sizing: content-box; padding: 12px; border: 1px solid color-mix(in srgb, var(--accent, var(--cyan)) 28%, transparent); border-radius: 15px; background: color-mix(in srgb, var(--accent, var(--cyan)) 8%, transparent); }
.place .btn { width: 100%; }
.policy-document section { box-shadow: inset 0 1px rgba(255, 255, 255, .035); }
.policy-document p, .policy-document li { max-width: 85ch; line-height: 1.75; }
.service-card { padding-right: 38px; }
@media (max-width: 699px) {
  .section { padding-block: 30px; }
  .info-grid, .wv-panels, .community-grid, .radio-stage { gap: 14px; }
  .info-card, .wv-panel, .place { padding: 20px; }
  .cta-row { gap: 18px; padding: 22px; }
  .cta-row > .btn { width: 100%; }
  .trait-groups { grid-template-columns: minmax(0, 1fr); }
}
/* A quiet neon rim at rest, with a clearer glow for pointer and keyboard interaction. */
:is(.dashboard-panel, .info-card, .wv-panel, .place, .project, .service-card, .now-card) {
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 38%, var(--line));
  box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 12px 32px #0005, 0 0 14px color-mix(in srgb, var(--accent, var(--cyan)) 8%, transparent);
  transition: border-color .18s ease, box-shadow .18s ease;
}
:is(.dashboard-panel, .info-card, .wv-panel, .place, .project, .service-card, .now-card):focus-within {
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 75%, #fff);
  box-shadow: inset 0 1px #ffffff0c, 0 12px 32px #0005, 0 0 24px color-mix(in srgb, var(--accent, var(--cyan)) 20%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  :is(.dashboard-panel, .info-card, .wv-panel, .place, .project, .service-card, .now-card):hover {
    transform: none;
    border-color: color-mix(in srgb, var(--accent, var(--cyan)) 70%, var(--line));
    box-shadow: inset 0 1px #ffffff0c, 0 16px 36px #0006, 0 0 26px color-mix(in srgb, var(--accent, var(--cyan)) 18%, transparent);
  }
}
.nav-mega > summary, .site-nav > ul > li > a, .menu-toggle { transition: background-color .16s ease, box-shadow .16s ease; }
.nav-mega[open] > summary, .nav-mega > summary:focus-visible, .site-nav > ul > li > a:focus-visible {
  color: #fff; background: color-mix(in srgb, var(--accent, var(--cyan)) 12%, var(--surface));
  box-shadow: inset 0 -2px var(--accent, var(--cyan)), 0 0 16px color-mix(in srgb, var(--accent, var(--cyan)) 12%, transparent);
}
.mega-panel { max-width: calc(100vw - 32px); border-color: color-mix(in srgb, var(--accent, var(--cyan)) 50%, var(--line)); background: linear-gradient(145deg, #11182afc, #060915fc); box-shadow: 0 24px 60px #000a, 0 0 24px color-mix(in srgb, var(--accent, var(--cyan)) 14%, transparent); }
.mega-panel a { border: 1px solid transparent; transition: border-color .16s ease, background-color .16s ease; }
.mega-panel a:is(:hover, :focus-visible) { border-color: color-mix(in srgb, var(--accent, var(--cyan)) 45%, transparent); background: color-mix(in srgb, var(--accent, var(--cyan)) 10%, transparent); color: #fff; }
.mega-panel small { color: #b2bccb; }
@media (max-width: 899px) {
  .site-nav { background: #060915fa; border-bottom-color: #33e6ff66; overscroll-behavior: contain; }
  .site-nav ul { gap: 9px; }
  .nav-mega > summary { justify-content: space-between; }
  .mega-panel { max-width: 100%; padding: 8px; border-radius: 12px; box-shadow: inset 0 1px #ffffff08; }
  .mega-panel a { min-height: 64px; padding: 12px 14px; }
  .menu-toggle[aria-expanded="true"] { border-color: var(--cyan); box-shadow: 0 0 16px #33e6ff25; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.dashboard-panel, .info-card, .wv-panel, .place, .project, .service-card, .now-card), .nav-mega > summary, .site-nav > ul > li > a, .menu-toggle, .mega-panel a { transition: none; }
}
.utility-menu div { max-height: min(70vh, 540px); overflow-y: auto; }
.utility-inner { gap: 18px; flex-wrap: wrap; }
.utility-shortcuts { display: flex; align-items: center; gap: 15px; }
.utility-shortcuts a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; color: #d2dbea; font-weight: 650; font-size: .73rem; }
.utility-shortcuts a:hover { color: var(--cyan-soft); }
.utility-here { font-size: .71rem; }
.utility-controls { margin-left: auto; gap: 15px; font-size: .71rem; }
.utility-controls .utility-label { display: none; }
.radio-dock { padding-bottom: env(safe-area-inset-bottom, 0px); }
body { padding-bottom: var(--dock-h); }
.standalone { padding-bottom: 0; }
@container (min-width: 740px) { .stream-body { grid-template-columns: minmax(404px,1.2fr) minmax(0,1fr); } }
@container (min-width: 660px) and (max-width: 739px) { .stream-body { grid-template-columns: minmax(0,1fr); } }
@media (min-width: 1180px) { .dash-row { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); } }
@container (min-width: 1400px) { .project-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 900px) and (max-width: 1100px) { .brand-word { font-size: 1.1rem; } .header-inner { gap: 10px; } .site-nav > ul > li > a, .nav-mega > summary { padding-inline: 10px; } }
@media (max-width: 1199px) { .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px; } .hero-copy h1 { font-size: 1.9rem; } }
@media (max-width: 899px) {
  :root { --header-h: 72px; }
  .hero-inner, .page-hero-inner { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hero-art, .page-art { grid-row: 1; }
  .hero-copy { max-width: 680px; }
  .hero-copy h1 { font-size: clamp(1.9rem,4.7vw,2.7rem); max-width: 24ch; }
  .hero-copy .lede { max-width: 60ch; }
  .page-hero { padding-block: 30px; }
  .radio-hero-inner { grid-template-columns: minmax(0,1fr) 150px; gap: 22px; }
  .radio-hero-art { width: 150px; height: 150px; }
  .page-hero-inner .page-art { max-width: 100%; }
  .panel-heading h2 { font-size: .8rem; letter-spacing: .055em; }
  .utility-inner { gap: 0 14px; }
  .utility-shortcuts { order: 3; width: 100%; justify-content: space-between; gap: 10px; border-top: 1px solid #ffffff0f; }
  .utility-shortcuts a { min-height: 40px; font-size: .7rem; }
}
@media (max-width: 699px) {
  .portal-hero { min-height: 0; }
  .hero-inner { padding-top: 18px; padding-bottom: 24px; gap: 22px; }
  .hero-copy .eyebrow { font-size: .63rem; letter-spacing: .1em; }
  .hero-copy .actions .btn { flex: 1 1 auto; min-height: 46px; }
  .hero-copy .actions .btn:last-child { flex-basis: 100%; }
  .hero-art, .page-art { border-radius: 12px; }
  .home-dashboard { gap: 16px; padding-block: 16px 24px; }
  .stream-body { padding: 12px; }
  [data-dock-size="compact"] .stream-stage { min-height: 310px; }
  .radio-console { grid-template-columns: 66px minmax(0,1fr) 44px; gap: 10px; }
  .radio-console .play-btn { width: 44px; height: 44px; }
  .radio-body { padding-inline: 12px; }
  .radio-volume { gap: 8px; }
  .radio-facts li { gap: 2px; }
  .radio-facts span { font-size: .8rem; }
  .radio-hero-inner { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .radio-hero-art { grid-row: 1; width: 156px; height: 156px; justify-self: start; }
  .panel-heading { gap: 10px; padding-inline: 12px; }
  .panel-heading > a { font-size: .72rem; }
  .brand-word { font-size: 1.05rem; }
  .brand { gap: 9px; }
  .brand img { width: 48px; height: 48px; }
  .menu-toggle { padding-inline: 12px; gap: 5px; }
  .header-inner { gap: 8px; }
  .dock-inner { gap: 8px; }
  .dock-inner > .radio-wave { display: none; }
  .project-grid { padding: 12px 12px 0; }
  .project-grid:has(> :nth-child(4)) { grid-template-columns: minmax(0,1fr); }
  .footer-brand img { width: 66px; height: 66px; }
}
@media (max-width: 1199px) and (min-width: 900px) { .utility-here { display: none; } }
@media (max-width: 369px) { .utility-shortcuts { gap: 8px; flex-wrap: wrap; justify-content: flex-start; } .utility-shortcuts a { min-height: 36px; } .brand-word { font-size: .95rem; } .menu-toggle { padding-inline: 10px; } }
@media (prefers-reduced-motion: reduce) { .hero-art, .page-art { transition: none; } }

/* October 22 design recovery: preserve the current integrations while restoring
   the richer October 19 reference composition and breathing room. */
:root {
  --recovered-wrap: calc(100vw - 200px);
  --section-space: clamp(28px, 3vw, 48px);
}

.backdrop::before {
  background:
    linear-gradient(90deg, rgba(3, 6, 15, .24), rgba(3, 6, 15, .9) 24%, rgba(3, 6, 15, .96) 50%, rgba(3, 6, 15, .9) 76%, rgba(3, 6, 15, .24)),
    url('/assets/scenes/giantgamers-neon-garden-v1.webp') center top / cover no-repeat;
  opacity: .62;
  filter: saturate(.9) contrast(1.05);
}

@media (min-width: 1101px) {
  :root { --wrap: var(--recovered-wrap); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(4, 8, 19, .9);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .26);
  backdrop-filter: blur(18px) saturate(1.2);
}

.portal-hero {
  min-height: clamp(390px, 34vw, 520px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 40%, rgba(173, 70, 255, .2), transparent 35%),
    linear-gradient(115deg, rgba(3, 7, 18, .98) 0 36%, rgba(4, 8, 20, .72) 58%, rgba(4, 8, 20, .2));
  border-bottom: 1px solid rgba(51, 230, 255, .32);
  box-shadow: inset 0 -40px 80px rgba(0, 0, 0, .38);
}

.hero-inner {
  grid-template-columns: minmax(360px, .82fr) minmax(540px, 1.35fr);
  gap: clamp(36px, 5vw, 84px);
  min-height: inherit;
  padding-block: clamp(42px, 5vw, 72px);
}

.hero-copy { max-width: 680px; }
.hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-copy .lede {
  max-width: 58ch;
  margin-bottom: 26px;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.72;
}
.hero-copy .actions { gap: 14px; }
.hero-copy .btn { min-height: 48px; padding-inline: 22px; font-size: .94rem; }

.hero-art {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero-art img {
  width: min(100%, 980px);
  margin-left: auto;
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, .55)) drop-shadow(0 0 26px rgba(187, 66, 255, .26));
}

.home-dashboard {
  gap: var(--section-space);
  padding-block: clamp(34px, 4vw, 60px) clamp(120px, 10vw, 160px);
}
.dash-row { gap: clamp(22px, 2.2vw, 36px); }
.dashboard-panel {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 23, 42, .96), rgba(5, 10, 24, .97));
}
.panel-heading { min-height: 58px; padding-inline: 22px; }
.panel-heading h2 { font-size: .92rem; letter-spacing: .09em; }
.stream-body, .radio-body { padding: 22px; }
.forum-body { gap: clamp(28px, 3vw, 52px); padding: 26px; }

.project-grid:has(> :nth-child(4)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 22px 22px 4px;
}
.project {
  align-items: end;
  min-height: clamp(210px, 17vw, 290px);
  padding: 28px;
  border-radius: 16px;
}
.project-art {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}
.project::before {
  background:
    linear-gradient(0deg, rgba(4, 8, 18, .98) 0, rgba(4, 8, 18, .82) 42%, rgba(4, 8, 18, .08) 100%),
    linear-gradient(90deg, rgba(4, 8, 18, .7), transparent 72%);
}
.project-copy { max-width: 86%; }
.project h3 { margin-bottom: 8px; font-size: clamp(1.3rem, 1.6vw, 1.75rem); }
.project p { max-width: 48ch; margin-bottom: 8px; font-size: .96rem; line-height: 1.55; }
.project .text-link { font-size: .9rem; }
.project-grid:has(> :nth-child(4)) .project.is-planned {
  grid-column: 1 / -1;
  min-height: 150px;
}
.project-grid:has(> :nth-child(4)) .project.is-planned .project-art { width: 100%; }
.project-grid:has(> :nth-child(4)) .project.is-planned .project-copy { max-width: 62%; }
@media (hover: hover) and (pointer: fine) {
  .project:hover .project-art { transform: scale(1.035); filter: saturate(1.08) brightness(1.06); }
}

.launch-strip { margin: 18px 22px 22px; }
.update-grid { gap: 18px; padding: 22px; }
.update { min-height: 150px; padding: 18px; }

.radio-dock {
  inset: auto max(22px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) auto;
  width: min(620px, calc(100vw - 44px));
  border: 1px solid rgba(51, 230, 255, .38);
  border-radius: 18px;
  background: rgba(5, 10, 23, .94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .58), 0 0 28px rgba(51, 230, 255, .11);
  backdrop-filter: blur(18px) saturate(1.2);
}
.radio-dock::before { border-radius: 18px 18px 0 0; }
.dock-inner { min-height: 74px; padding-inline: 16px; }
body { padding-bottom: var(--dock-h); }

@media (max-width: 1199px) {
  :root { --wrap: min(100%, 1100px); }
  .hero-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .hero-copy h1 { font-size: clamp(2.45rem, 5vw, 3.8rem); }
}

@media (max-width: 899px) {
  .site-header { position: relative; top: auto; }
  .portal-hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: 30px 42px; }
  .hero-art { grid-row: 1; }
  .hero-art img { width: 100%; margin-inline: auto; }
  .hero-copy h1 { max-width: 18ch; font-size: clamp(2.35rem, 7.8vw, 3.7rem); }
  .project-grid:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
  .project { min-height: 230px; }
  .project-grid:has(> :nth-child(4)) .project.is-planned { min-height: 170px; }
}

@media (max-width: 699px) {
  .backdrop::before {
    background:
      linear-gradient(rgba(3, 6, 15, .9), rgba(3, 6, 15, .97)),
      url('/assets/scenes/giantgamers-neon-garden-v1.webp') center top / auto 100vh no-repeat;
    opacity: .55;
  }
  .hero-copy h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .hero-copy .lede { font-size: 1rem; }
  .dashboard-panel { border-radius: 14px; }
  .project-grid:has(> :nth-child(4)) { padding: 14px 14px 2px; gap: 14px; }
  .project { min-height: 250px; padding: 22px; }
  .project-copy { max-width: 100%; }
  .project-grid:has(> :nth-child(4)) .project.is-planned .project-copy { max-width: 100%; }
  .radio-dock {
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 16px);
    border-radius: 14px;
  }
  .dock-inner { min-height: 68px; padding-inline: 10px; }
  body { padding-bottom: var(--dock-h); }
}

@media (prefers-reduced-motion: reduce) {
  .project-art { transition: none; }
}
