:root {
  color-scheme: light;
  --ink: #15191f;
  --muted: #5e6975;
  --line: #dce3e6;
  --surface: #ffffff;
  --wash: #f3f6f4;
  --mist: #e6efec;
  --accent: #0d766f;
  --accent-dark: #084a46;
  --signal: #b45309;
  --danger: #9f1239;
  --shadow: 0 22px 60px rgba(21, 25, 31, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(230, 239, 236, 0.8), transparent 42rem),
    radial-gradient(circle at top left, rgba(180, 83, 9, 0.12), transparent 28rem),
    var(--wash);
}

.image-listener-page {
  overflow: hidden;
  background: #150806;
}

.image-listener-shell {
  position: fixed;
  inset: 0;
  width: 100%;
  margin: 0;
}

.image-listener-figure,
.stage-scene {
  position: absolute;
  inset: 0;
  margin: 0;
  background: #150806;
}

.stage-scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  user-select: none;
}

.threshold {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  color: rgba(236, 242, 247, 0.94);
  background:
    radial-gradient(circle at center, rgba(6, 10, 16, 0.32), rgba(2, 3, 7, 0.74) 64%),
    rgba(2, 3, 7, 0.34);
}

.threshold[hidden] {
  display: none;
}

.threshold-panel {
  width: min(28rem, 100%);
  padding: 1.25rem;
  border: 1px solid rgba(160, 177, 196, 0.26);
  background: rgba(4, 7, 12, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(16px);
}

.threshold-kicker {
  margin: 0 0 0.4rem;
  color: rgba(177, 194, 214, 0.76);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.threshold h1 {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.threshold p,
.threshold li {
  color: rgba(226, 234, 242, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
}

.threshold p {
  margin: 0;
}

.threshold ul {
  margin: 1rem 0 1.15rem;
  padding-left: 1.15rem;
}

.threshold li + li {
  margin-top: 0.42rem;
}

.threshold-button {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(236, 242, 247, 0.72);
  border-radius: 0;
  color: #05070a;
  background: rgba(236, 242, 247, 0.94);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
}

.threshold-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.world-drawer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  max-height: min(54vh, 30rem);
  color: rgba(233, 240, 247, 0.94);
  background: rgba(4, 7, 12, 0.84);
  border-top: 1px solid rgba(164, 184, 207, 0.24);
  box-shadow: 0 -18px 70px rgba(0, 0, 0, 0.44);
  transform: translateY(calc(100% - 3.25rem));
  transition: transform 220ms ease;
  backdrop-filter: blur(18px);
}

.world-drawer[data-open="true"] {
  transform: translateY(0);
}

.world-drawer-toggle {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  border: 0;
  border-bottom: 1px solid rgba(164, 184, 207, 0.18);
  color: rgba(245, 249, 253, 0.96);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.world-drawer-toggle::before {
  display: block;
  width: 3rem;
  height: 0.22rem;
  margin: 0 auto 0.48rem;
  background: rgba(190, 207, 226, 0.7);
  content: "";
}

.world-drawer-body {
  max-width: 62rem;
  max-height: calc(min(54vh, 30rem) - 3.25rem);
  margin: 0 auto;
  overflow-y: auto;
  padding: 1rem max(1rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-right));
}

.world-drawer h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.world-drawer p {
  margin: 0.45rem 0 0;
  color: rgba(196, 211, 228, 0.78);
  font-size: 0.86rem;
  line-height: 1.4;
}

.world-drawer pre {
  margin: 0.9rem 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: rgba(234, 240, 247, 0.9);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.52;
}

.dev-text-input {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(164, 184, 207, 0.18);
}

.dev-text-input[hidden] {
  display: none;
}

.dev-text-input label {
  color: rgba(196, 211, 228, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dev-text-input textarea {
  width: 100%;
  min-height: 6rem;
  resize: vertical;
  border: 1px solid rgba(164, 184, 207, 0.28);
  border-radius: 0;
  padding: 0.7rem;
  color: rgba(245, 249, 253, 0.96);
  background: rgba(2, 5, 10, 0.72);
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.4;
}

.dev-text-input button {
  justify-self: start;
  min-height: 2.45rem;
  border: 1px solid rgba(236, 242, 247, 0.58);
  border-radius: 0;
  padding: 0 0.95rem;
  color: #05070a;
  background: rgba(236, 242, 247, 0.92);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
}

.dev-text-input button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.image-listener-figure > picture,
.image-listener-figure > picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.image-listener-figure > picture img {
  object-fit: cover;
}

.mirror-projection {
  position: absolute;
  left: 50%;
  top: 13.4%;
  z-index: 1;
  width: min(22.5vw, 20rem);
  aspect-ratio: 10 / 13;
  transform: translateX(-50%);
  background-image: var(--mirror-image, none);
  background-position: center;
  background-size: cover;
  mask-image: url("assets/mirror-mask.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-image: url("assets/mirror-mask.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  pointer-events: none;
}

.image-listener-figure .microphone-overlay {
  position: absolute;
  left: 50%;
  bottom: 1.4%;
  z-index: 2;
  width: auto;
  height: min(76vh, 44rem);
  transform: translateX(-50%);
  object-fit: contain;
  pointer-events: none;
}

.listener-runtime {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(1rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(21, 25, 31, 0.08);
  background: rgba(243, 246, 244, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 900;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

nav a,
.button {
  border-radius: 8px;
  padding: 0.62rem 0.8rem;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none;
}

nav a:hover,
.button:hover {
  color: var(--accent-dark);
  background: rgba(13, 118, 111, 0.09);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  gap: 1.5rem;
  min-height: calc(100vh - 4rem);
  padding: 3rem 0 1.5rem;
  align-items: stretch;
}

.hero-copy,
.podium-figure,
.core-question,
.architecture,
.deployment,
.reflection,
.collaborators {
  border: 1px solid rgba(21, 25, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 34rem;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.55rem;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.lede {
  max-width: 46rem;
  color: #34404b;
  font-size: 1.14rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  background: #fff;
}

.button-primary {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  color: #fff;
  background: var(--accent-dark);
}

button {
  font: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.podium-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 34rem;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.92), transparent 22rem),
    linear-gradient(180deg, rgba(8, 74, 70, 0.08), rgba(8, 74, 70, 0.86)),
    linear-gradient(135deg, #dce6e3, #f6f7f3 48%, #8fb1aa);
}

.image-figure {
  background: #150806;
}

.image-figure > picture,
.image-figure > picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.image-figure > picture {
  position: absolute;
  inset: 0;
}

.image-figure > picture img {
  object-fit: cover;
}

.image-figure .mirror-projection {
  top: 11.8%;
  width: min(23vw, 17rem);
}

.image-figure .microphone-overlay {
  width: auto;
  height: min(72%, 34rem);
  bottom: 3%;
  object-fit: contain;
}

.image-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 34%, rgba(0, 0, 0, 0.32)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.34));
}

.stage-light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 26%, rgba(255, 255, 255, 0.5), transparent 24rem),
    linear-gradient(90deg, rgba(21, 25, 31, 0.18), transparent 24%, transparent 76%, rgba(21, 25, 31, 0.18));
}

.stage-light::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 13%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
}

.microphone {
  position: absolute;
  left: 50%;
  top: 17%;
  z-index: 2;
  width: 8.5rem;
  height: 17rem;
  transform: translateX(-50%);
}

.mic-head {
  position: absolute;
  left: 50%;
  top: 0;
  width: 7rem;
  height: 9rem;
  transform: translateX(-50%);
  border: 0.42rem solid #1f2933;
  border-radius: 4rem 4rem 3rem 3rem;
  background:
    repeating-linear-gradient(90deg, transparent 0 0.7rem, rgba(255, 255, 255, 0.42) 0.7rem 0.95rem),
    linear-gradient(180deg, #6f7f86, #2a3439 62%, #15191f);
  box-shadow:
    inset 0 0.9rem 1.8rem rgba(255, 255, 255, 0.38),
    0 1rem 2.5rem rgba(21, 25, 31, 0.34);
}

.mic-head::before,
.mic-head::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.mic-head::before {
  top: 2.1rem;
}

.mic-head::after {
  top: 4.2rem;
}

.mic-band {
  position: absolute;
  left: 50%;
  top: 7.85rem;
  width: 8.2rem;
  height: 1.1rem;
  transform: translateX(-50%);
  border: 0.28rem solid #15191f;
  border-radius: 999px;
  background: #d8dee0;
}

.mic-stem {
  position: absolute;
  left: 50%;
  top: 8.7rem;
  width: 0.9rem;
  height: 9rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #161b20, #65757c 50%, #161b20);
}

.podium {
  position: absolute;
  left: 50%;
  bottom: 13%;
  z-index: 1;
  width: min(74%, 27rem);
  height: 16rem;
  transform: translateX(-50%);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  border-radius: 8px 8px 3px 3px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 28%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, #7b4d2d, #4b2d1b);
  box-shadow: 0 2rem 3.2rem rgba(21, 25, 31, 0.34);
}

.podium::before {
  content: "";
  position: absolute;
  inset: 1rem 1.15rem auto;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.podium-badge {
  position: absolute;
  left: 50%;
  top: 4.1rem;
  display: grid;
  place-items: center;
  width: 5.4rem;
  height: 5.4rem;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(8, 74, 70, 0.72);
  font-weight: 900;
  font-size: 1.2rem;
}

figcaption {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.25rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 850;
}

.core-question {
  margin: 1.5rem 0;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: var(--accent-dark);
  color: #fff;
}

.core-question p {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
  text-transform: uppercase;
}

.core-question h2 {
  max-width: 20ch;
  margin: 0;
}

.section-grid,
.architecture-page-hero,
.architecture-map,
.architecture,
.deployment,
.reflection,
.collaborators {
  margin: 1.5rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.architecture-page-hero {
  margin-top: 2rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 74, 70, 0.96), rgba(21, 25, 31, 0.94)),
    var(--accent-dark);
}

.architecture-page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.architecture-page-hero .eyebrow,
.architecture-page-hero .lede {
  color: rgba(236, 247, 244, 0.82);
}

.architecture-map {
  border: 1px solid rgba(21, 25, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.architecture-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.architecture-columns .info-card {
  min-height: 100%;
}

.model-examples {
  display: grid;
  gap: 1rem;
}

.model-example {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(21, 25, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.model-example pre {
  min-height: 100%;
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid rgba(21, 25, 31, 0.08);
  border-radius: 6px;
  padding: 0.85rem;
  color: #dce7ee;
  background: #071017;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
}

.model-example code {
  font: inherit;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: 1.25rem;
  align-items: start;
}

.section-intro p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.info-card {
  min-height: 13rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--surface);
}

.info-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  min-height: 10rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3rem 1rem 1rem;
  background: #fff;
  color: var(--muted);
  line-height: 1.5;
}

.timeline li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--signal);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.review-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.review-panel > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.52rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
}

.check-list.danger li::before {
  background: var(--danger);
}

.reflection {
  background: #15191f;
  color: #fff;
}

.reflection .eyebrow {
  color: #94d8d2;
}

blockquote {
  max-width: 58rem;
  margin: 1rem 0 0;
  border-left: 4px solid #94d8d2;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
  line-height: 1.65;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pill-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

.booth-page {
  background:
    linear-gradient(180deg, rgba(8, 74, 70, 0.12), transparent 34rem),
    var(--wash);
}

.interface-header {
  position: static;
}

.interface-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: 1rem;
  min-height: calc(100vh - 4.5rem);
  padding: 1rem 0;
  align-items: stretch;
}

.interface-stage {
  display: grid;
  grid-template-rows: minmax(24rem, 1fr) auto;
  gap: 1rem;
}

.interface-stage .podium-figure {
  min-height: 0;
}

.interface-stage .image-figure {
  min-height: clamp(28rem, calc(100vh - 13rem), 52rem);
}

.prompt-panel {
  border: 1px solid rgba(21, 25, 31, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--accent-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.prompt-panel h2 {
  font-size: 1.3rem;
}

.prompt-panel p {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 820;
  line-height: 1.25;
}

.booth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 1rem;
  min-height: 100vh;
  padding: 1rem 0;
  align-items: stretch;
}

.booth-panel,
.booth-aside {
  border: 1px solid rgba(21, 25, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.booth-panel {
  padding: clamp(1.25rem, 4vw, 3rem);
}

.booth-panel h1 {
  max-width: 10ch;
}

.booth-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background: var(--accent-dark);
  color: #fff;
}

.booth-aside p {
  font-size: 1.45rem;
  font-weight: 820;
  line-height: 1.25;
}

.booth-aside .button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.boundary-notice,
.recorder,
.recording-review {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
}

.boundary-notice h2,
.recording-review h2 {
  font-size: 1.3rem;
}

.boundary-notice ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.5;
}

.consent-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
  font-weight: 800;
}

.consent-row input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--accent);
}

.meter {
  height: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mist);
}

.meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 80ms linear;
}

.recorder-status,
.recorder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.recorder-status strong {
  font-size: 2rem;
}

.danger-button {
  border-color: rgba(159, 18, 57, 0.24);
  color: var(--danger);
}

.danger-button:hover {
  color: #fff;
  background: var(--danger);
}

.recording-review audio {
  display: block;
  width: 100%;
  margin-bottom: 0.85rem;
}

.booth-message {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 1100px) {
  .hero-section,
  .section-grid,
  .interface-shell,
  .booth-shell,
  .review-panel {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 0;
  }

  .podium-figure {
    min-height: 32rem;
  }

  .interface-stage {
    grid-template-rows: minmax(28rem, auto) auto;
  }

  .microphone {
    top: 12%;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-columns {
    grid-template-columns: 1fr;
  }

  .model-example {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  main,
  footer {
    width: min(100% - 1rem, 1180px);
  }

  .hero-section {
    gap: 0.75rem;
    padding-top: 0.75rem;
  }

  .hero-copy,
  .podium-figure,
  .core-question,
  .architecture-page-hero,
  .architecture-map,
  .architecture,
  .deployment,
  .reflection,
  .collaborators,
  .booth-panel,
  .booth-aside {
    border-radius: 6px;
  }

  .hero-copy {
    min-height: 0;
    padding: 1.1rem;
  }

  h1 {
    max-width: 12ch;
    font-size: 3.05rem;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.5;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .podium-figure {
    min-height: 28rem;
  }

  .interface-shell {
    min-height: 0;
    padding-top: 0.75rem;
  }

  .interface-stage {
    grid-template-rows: auto auto;
    gap: 0.75rem;
  }

  .interface-stage .image-figure {
    min-height: 34rem;
  }

  .mirror-projection {
    top: 12.2%;
    width: min(48vw, 17rem);
  }

  .microphone-overlay {
    bottom: 1%;
    height: min(70vh, 38rem);
  }

  .prompt-panel {
    border-radius: 6px;
  }

  .prompt-panel p {
    font-size: 1.08rem;
  }

  .microphone {
    top: 10%;
    transform: translateX(-50%) scale(0.82);
    transform-origin: top center;
  }

  .podium {
    bottom: 15%;
    width: min(84%, 21rem);
    height: 12.5rem;
  }

  .podium-badge {
    top: 3.25rem;
    width: 4.2rem;
    height: 4.2rem;
  }

  figcaption {
    padding: 1rem;
    font-size: 1rem;
  }

  .card-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 2.55rem;
  }

  .podium-figure {
    min-height: 25rem;
  }

  .interface-stage .image-figure {
    min-height: 31rem;
  }

  .mirror-projection {
    width: min(52vw, 15rem);
  }

  .microphone {
    transform: translateX(-50%) scale(0.7);
  }

  .podium {
    width: min(88%, 18rem);
    height: 10.75rem;
  }

  .podium-badge {
    top: 2.7rem;
  }

  .booth-aside p {
    font-size: 1.2rem;
  }
}
