:root {
  color-scheme: dark;
  --cosmos: #10213b;
  --cosmos-deep: #09162a;
  --ink: #eaf1ff;
  --primary: #426cf5;
  --primary-bright: #6789ff;
  --cold-accent: #bde4f4;
  --gold: #d8b861;
  --orbit-line: #6383ad;
  --muted: #9eb1cd;
  --muted-strong: #bdcce0;
  --paper: #eaf1ff;
  --paper-field: #f8fbff;
  --paper-line: #c7d3e5;
  --paper-muted: #52647c;
  --paper-ink: #10213b;
  --danger: #9e3441;
  --success: #55a480;
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: clip;
  background: var(--cosmos);
}

button,
input {
  font: inherit;
}

button,
a,
input,
label {
  touch-action: manipulation;
}

button {
  border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.kiosk-shell {
  position: fixed;
  inset: 0;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  min-width: 1120px;
  min-height: 640px;
  overflow: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 44%, rgba(66, 108, 245, 0.2), transparent 28%),
    linear-gradient(112deg, rgba(189, 228, 244, 0.045), transparent 33%),
    var(--cosmos);
}

.sky-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(189, 228, 244, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189, 228, 244, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.ambient {
  position: absolute;
  z-index: -2;
  width: 30vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
}

.ambient--a {
  top: 12%;
  right: 5%;
  background: #426cf5;
}

.ambient--b {
  right: 25%;
  bottom: -28%;
  background: #bde4f4;
  opacity: 0.08;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 0.92fr) minmax(480px, 1.65fr);
  align-items: center;
  height: 72px;
  border-bottom: 1px solid rgba(189, 228, 244, 0.17);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-left: clamp(28px, 3.2vw, 62px);
  color: #f7faff;
  font-size: 15px;
  font-weight: 740;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--cosmos);
  background: var(--cold-accent);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 17px;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 500 9px/1 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__status {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 100%;
  padding: 0 clamp(24px, 2.1vw, 42px);
  color: var(--muted-strong);
  font: 600 11px/1 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 1px solid rgba(189, 228, 244, 0.1);
  border-right: 1px solid rgba(189, 228, 244, 0.1);
}

.status-light {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(85, 164, 128, 0.14);
}

.topbar__meta {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding: 0 clamp(30px, 3vw, 58px);
  color: #7d91ad;
  font: 550 10px/1 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.08em;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 0.92fr) minmax(480px, 1.65fr);
  height: calc(100dvh - 72px);
  min-height: 0;
}

.story-panel,
.control-panel,
.visual-panel {
  min-width: 0;
  min-height: 0;
}

.story-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(28px, 4.1vh, 48px) clamp(28px, 3.2vw, 62px) clamp(24px, 3.8vh, 48px);
  border-right: 1px solid rgba(189, 228, 244, 0.17);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font: 650 11px/1.2 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-panel h1 {
  max-width: 610px;
  margin: clamp(22px, 3vh, 34px) 0 clamp(22px, 3vh, 32px);
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
  font-size: clamp(42px, 3.5vw, 70px);
  font-weight: 350;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.story-panel h1 em {
  color: var(--cold-accent);
  font-family: Georgia, serif;
  font-size: 0.82em;
  font-weight: 400;
}

.story-panel__lead {
  max-width: 470px;
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(13px, 0.86vw, 17px);
  line-height: 1.55;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: auto 0 clamp(22px, 3vh, 36px);
  padding: 0;
  list-style: none;
}

.progress li {
  position: relative;
  padding-top: 13px;
  color: #7890af;
  font: 600 10px/1 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid #38506e;
  transition: color 180ms ease, border-color 180ms ease;
}

.progress li::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: #38506e;
  border-radius: 50%;
}

.progress li span {
  display: block;
  margin-bottom: 8px;
}

.progress li b {
  font: inherit;
}

.progress li.is-done {
  color: #a5bad5;
  border-color: #7899c2;
}

.progress li.is-current {
  color: var(--gold);
  border-color: var(--gold);
}

.progress li.is-current::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 184, 97, 0.17);
}

.legal-note {
  max-width: 470px;
  margin: 0;
  color: #8ba0bc;
  font-size: 11px;
  line-height: 1.5;
}

.control-panel {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(18px, 2vw, 36px);
  color: var(--paper-ink);
  border-right: 1px solid rgba(189, 228, 244, 0.1);
}

.screen {
  display: none;
  width: 100%;
  max-height: 100%;
  min-width: 0;
  padding: clamp(24px, 2.2vw, 40px);
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2);
  scrollbar-width: thin;
}

.screen.is-active {
  display: block;
  animation: reveal-screen 320ms ease both;
}

@keyframes reveal-screen {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.screen-heading__index {
  display: block;
  margin-bottom: clamp(22px, 3vh, 38px);
  color: #6a7c94;
  font: 700 10px/1 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.screen-heading p {
  margin: 0 0 9px;
  color: #6a7c94;
  font-size: 12px;
}

.screen-heading h2,
.print-controls h2 {
  margin: 0;
  color: var(--paper-ink);
  font-family: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
  font-size: clamp(31px, 2.3vw, 46px);
  font-weight: 420;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.screen-copy {
  margin: clamp(26px, 4vh, 44px) 0;
  color: #5c6e85;
  font-size: 15px;
  line-height: 1.55;
}

.primary-button,
.secondary-button,
.text-button {
  min-height: 54px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 0 20px;
  color: #fff;
  background: var(--primary);
  font-weight: 680;
}

.primary-button:hover {
  background: #345de3;
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: wait;
  opacity: 0.52;
  transform: none;
}

.primary-button span:last-child {
  font-size: 22px;
}

.secondary-button {
  width: 100%;
  margin-top: 10px;
  color: var(--paper-ink);
  background: transparent;
  border: 1px solid var(--paper-line);
  font-weight: 650;
}

.text-button {
  padding: 0 18px;
  color: #5d6f87;
  background: transparent;
  font-weight: 650;
}

.privacy-note {
  display: block;
  margin-top: 18px;
  color: #74859b;
  font-size: 11px;
  line-height: 1.45;
}

.input-field {
  position: relative;
  display: block;
  margin-top: 13px;
  padding: 13px 15px 11px;
  background: var(--paper-field);
  border: 1px solid var(--paper-line);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(66, 108, 245, 0.1);
}

.input-field > span {
  display: block;
  margin-bottom: 5px;
  color: #64758b;
  font-size: 11px;
}

.input-field input {
  width: 100%;
  padding: 4px 0;
  color: var(--paper-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: clamp(18px, 1.3vw, 23px);
  font-weight: 650;
}

.input-field input::placeholder {
  color: #99a7b8;
  font-weight: 500;
}

.input-field small {
  display: block;
  min-height: 14px;
  margin-top: 5px;
  color: #74859b;
  font-size: 10px;
}

.input-field--hero {
  margin-top: clamp(24px, 4vh, 42px);
}

.input-field--hero input {
  font-size: clamp(25px, 2.1vw, 38px);
}

.switch-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  cursor: pointer;
  border: 1px solid var(--paper-line);
}

.switch-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  background: #b5c1d1;
  border-radius: 999px;
  transition: background 160ms ease;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  content: "";
  background: #fff;
  border-radius: 50%;
  transition: transform 160ms ease;
}

.switch-row input:checked + .switch {
  background: var(--primary);
}

.switch-row input:checked + .switch::after {
  transform: translateX(18px);
}

.switch-row input:focus-visible + .switch {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.switch-row > span:last-child b,
.switch-row > span:last-child small {
  display: block;
}

.switch-row b {
  color: var(--paper-ink);
  font-size: 13px;
}

.switch-row small {
  margin-top: 4px;
  color: #6b7b90;
  font-size: 10px;
}

.form-error {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 11px;
  font-weight: 650;
}

.form-actions {
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr);
  gap: 10px;
  margin-top: clamp(18px, 3vh, 30px);
}

.data-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 16px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}

.data-review > div {
  min-width: 0;
  padding: 11px 13px;
  background: #dce8f7;
}

.data-review span,
.data-review strong {
  display: block;
}

.data-review span {
  margin-bottom: 4px;
  color: #657991;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.data-review strong {
  overflow: hidden;
  color: var(--paper-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generation-screen {
  color: var(--ink);
  background: rgba(10, 25, 47, 0.94);
  border: 1px solid rgba(189, 228, 244, 0.2);
}

.generation-screen .screen-heading h2 {
  color: var(--ink);
}

.generation-screen .screen-heading p,
.generation-screen .screen-heading__index {
  color: var(--muted);
}

.calibration {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 48px;
  margin: 34px 0 26px;
}

.calibration span {
  width: 5px;
  height: 12px;
  background: var(--primary-bright);
  animation: calibrate 1s ease-in-out infinite alternate;
}

.calibration span:nth-child(2) { animation-delay: 120ms; }
.calibration span:nth-child(3) { animation-delay: 240ms; }
.calibration span:nth-child(4) { animation-delay: 360ms; }
.calibration span:nth-child(5) { animation-delay: 480ms; }

@keyframes calibrate {
  to { height: 46px; background: var(--gold); }
}

.generation-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.generation-log li {
  position: relative;
  padding: 12px 0 12px 26px;
  color: #7d91ad;
  font: 550 11px/1.25 "Cascadia Mono", Consolas, monospace;
  border-top: 1px solid rgba(189, 228, 244, 0.1);
}

.generation-log li::before {
  position: absolute;
  top: 15px;
  left: 3px;
  width: 7px;
  height: 7px;
  content: "";
  background: #38506e;
  border-radius: 50%;
}

.generation-log li.is-active {
  color: var(--cold-accent);
}

.generation-log li.is-active::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 184, 97, 0.14);
}

.generation-log li.is-done {
  color: #a5bad5;
}

.generation-log li.is-done::before {
  background: var(--success);
}

.result-screen {
  padding-top: clamp(22px, 2.5vw, 36px);
  padding-bottom: clamp(22px, 2.5vw, 36px);
}

.screen-heading--result .screen-heading__index {
  margin-bottom: 18px;
  color: #48705e;
}

.result-summary {
  margin: 18px 0 14px;
  color: #4e6179;
  font-size: 13px;
  line-height: 1.48;
}

.strength-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.strength-list li {
  position: relative;
  padding: 9px 0 9px 21px;
  color: var(--paper-ink);
  font-size: 11px;
  line-height: 1.35;
  border-top: 1px solid var(--paper-line);
}

.strength-list li::before {
  position: absolute;
  top: 13px;
  left: 3px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.result-screen blockquote {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: #375274;
  background: #dce8f7;
  border-left: 3px solid var(--primary);
  font-family: Georgia, serif;
  font-size: 12px;
  line-height: 1.4;
}

.form-actions--result {
  margin-top: 16px;
}

.visual-panel {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.coordinates {
  position: absolute;
  top: 26px;
  left: clamp(24px, 3vw, 58px);
  right: clamp(24px, 3vw, 58px);
  display: flex;
  justify-content: space-between;
  color: #8398b4;
  font: 550 10px/1 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.08em;
}

.chart-shell {
  position: relative;
  width: min(42vw, 68vh, 680px);
  aspect-ratio: 1;
  filter: drop-shadow(0 18px 50px rgba(4, 9, 25, 0.32));
}

#natal-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 21%;
  aspect-ratio: 1;
  color: var(--ink);
  background: rgba(66, 108, 245, 0.13);
  border: 1px solid rgba(66, 108, 245, 0.78);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.chart-core span,
.chart-core small {
  font: 600 clamp(7px, 0.55vw, 10px)/1 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.08em;
}

.chart-core strong {
  margin: 6px 0;
  color: var(--cold-accent);
  font: 600 clamp(14px, 1.3vw, 23px)/1 "Cascadia Mono", Consolas, monospace;
}

.chart-core small {
  max-width: 80%;
  overflow: hidden;
  color: #8ea3bf;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card {
  position: absolute;
  right: clamp(24px, 3vw, 58px);
  bottom: clamp(34px, 5vh, 62px);
  display: grid;
  grid-template-columns: 92px minmax(180px, 290px);
  gap: 18px;
  max-width: 430px;
  padding: 18px 20px;
  background: rgba(16, 33, 59, 0.88);
  border: 1px solid rgba(189, 228, 244, 0.28);
  backdrop-filter: blur(12px);
}

.profile-card__index {
  color: var(--gold);
  font: 650 9px/1 "Cascadia Mono", Consolas, monospace;
}

.profile-card div span {
  display: block;
  margin-bottom: 6px;
  color: #8da2be;
  font-size: 10px;
}

.profile-card strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.32;
}

.engine-note {
  position: absolute;
  left: clamp(24px, 3vw, 58px);
  bottom: 25px;
  margin: 0;
  color: #8297b2;
  font: 550 9px/1 "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chart-ring,
.chart-spoke {
  fill: none;
  stroke: var(--orbit-line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.chart-ring--outer {
  stroke: var(--cold-accent);
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
}

.chart-ring--inner {
  opacity: 0.7;
}

.chart-spoke {
  opacity: 0.48;
}

.chart-aspect {
  fill: none;
  stroke: var(--primary-bright);
  stroke-width: 1.5;
  opacity: 0.68;
  vector-effect: non-scaling-stroke;
}

.chart-aspect[data-type="trine"],
.chart-aspect[data-type="sextile"] {
  stroke: var(--cold-accent);
}

.chart-aspect[data-type="square"],
.chart-aspect[data-type="opposition"] {
  stroke: var(--gold);
}

.chart-sign {
  fill: #d9e9f8;
  font: 25px Georgia, serif;
  text-anchor: middle;
  dominant-baseline: middle;
}

.chart-planet-dot {
  fill: var(--gold);
  stroke: var(--cosmos);
  stroke-width: 4;
}

.chart-planet-label {
  fill: var(--gold);
  font: 22px Georgia, serif;
  text-anchor: middle;
  dominant-baseline: middle;
}

.chart-planet-label--muted {
  fill: var(--cold-accent);
  font-size: 17px;
}

.print-dialog {
  width: min(1040px, calc(100vw - 72px));
  max-width: none;
  padding: 0;
  color: var(--paper-ink);
  background: var(--paper);
  border: 0;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.52);
}

.print-dialog::backdrop {
  background: rgba(4, 10, 22, 0.78);
  backdrop-filter: blur(8px);
}

.print-dialog__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(390px, 1fr);
  min-height: min(760px, calc(100vh - 72px));
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--paper-ink);
  background: rgba(234, 241, 255, 0.9);
  border: 1px solid var(--paper-line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
}

.print-preview {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 34px;
  background: #cdd9ea;
}

.print-preview img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 142px);
  aspect-ratio: 2 / 3;
  object-fit: contain;
  box-shadow: 0 22px 60px rgba(16, 33, 59, 0.25);
}

.print-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(38px, 5vw, 74px);
}

.print-controls .eyebrow {
  color: #6a7c94;
}

.print-controls h2 {
  margin-top: 14px;
}

.print-controls dl {
  margin: 36px 0 26px;
}

.print-controls dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--paper-line);
}

.print-controls dt,
.print-controls dd {
  margin: 0;
  font-size: 12px;
}

.print-controls dt {
  color: #6b7c92;
}

.print-controls dd {
  color: var(--paper-ink);
  font-weight: 680;
}

.print-message {
  min-height: 42px;
  margin: 0 0 16px;
  color: #5a6c83;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-height: 850px) {
  .topbar { height: 60px; }
  .workspace { height: calc(100dvh - 60px); }
  .story-panel { padding-top: 26px; padding-bottom: 22px; }
  .story-panel h1 { margin: 18px 0; font-size: clamp(38px, 3.2vw, 60px); }
  .story-panel__lead { font-size: 13px; line-height: 1.42; }
  .progress { margin-bottom: 18px; }
  .legal-note { font-size: 10px; }
  .control-panel { padding-top: 16px; padding-bottom: 16px; }
  .screen { padding-top: 22px; padding-bottom: 22px; }
  .screen-heading__index { margin-bottom: 16px; }
  .screen-heading h2 { font-size: clamp(29px, 2.1vw, 39px); }
  .screen-copy { margin: 22px 0; font-size: 13px; }
  .input-field { margin-top: 9px; padding-top: 10px; padding-bottom: 8px; }
  .input-field--hero { margin-top: 20px; }
  .switch-row { margin-top: 12px; padding: 10px 12px; }
  .form-actions { margin-top: 13px; }
  .data-review { margin-top: 11px; }
  .coordinates { top: 18px; }
  .chart-shell { width: min(42vw, 67vh, 580px); }
  .profile-card { bottom: 36px; padding: 14px 16px; }
  .engine-note { bottom: 18px; }
  .result-summary { margin: 12px 0 9px; font-size: 12px; }
  .strength-list li { padding-top: 7px; padding-bottom: 7px; }
  .result-screen blockquote { margin-top: 9px; padding: 9px 12px; }
  .form-actions--result { margin-top: 10px; }
}

@media (max-width: 1440px) {
  .kiosk-shell { min-width: 1120px; }
  .topbar,
  .workspace { grid-template-columns: minmax(280px, 0.84fr) minmax(370px, 1fr) minmax(470px, 1.5fr); }
  .story-panel { padding-left: 30px; padding-right: 30px; }
  .brand { margin-left: 30px; }
  .story-panel h1 { font-size: clamp(40px, 3.3vw, 54px); }
  .screen { padding-left: 24px; padding-right: 24px; }
  .chart-shell { width: min(39vw, 68vh, 570px); }
  .profile-card { grid-template-columns: 76px minmax(160px, 230px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
