:root {
  color-scheme: light;
  font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif;
  color: #172532;
  background: #efefea;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #731e2b; outline-offset: 3px; }
button:disabled { cursor: default; }
header {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 12px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid #d0d6d5;
  background: #efefea;
  z-index: 2;
}
.identity { display: flex; align-items: center; gap: 20px; min-width: 0; }
.brand-logo { display: block; width: 145px; height: 58px; object-fit: contain; flex: 0 0 auto; }
.identity-text { display: grid; gap: 3px; border-left: 1px solid #bcc5c8; padding-left: 19px; min-width: 0; }
.identity-text span, .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #667784; }
.identity-text strong { overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
nav { display: flex; gap: 0; border: 1px solid #aab5ba; }
nav button { min-height: 44px; padding: 10px 19px; color: #172532; background: transparent; border: 0; font-size: 14px; font-weight: 700; white-space: nowrap; }
nav button + button { border-left: 1px solid #aab5ba; }
nav button:hover, nav button[aria-pressed="true"] { color: #efefea; background: #172532; }
#reset { min-height: 44px; padding: 10px 16px; color: #172532; background: transparent; border: 1px solid #aab5ba; font-size: 14px; font-weight: 700; white-space: nowrap; visibility: hidden; }
.viewing #reset { visibility: visible; }
#reset:disabled { opacity: .55; }
#reset:not(:disabled):hover { border-color: #172532; }
#stage { position: relative; min-height: 0; }
#welcome { width: min(100%, 1160px); margin: 0 auto; padding: clamp(48px, 10vh, 120px) clamp(20px, 4vw, 64px) 64px; }
.intro { max-width: 830px; }
h1 { margin: 15px 0 12px; font-size: clamp(40px, 5.4vw, 78px); font-weight: 650; line-height: 1.04; letter-spacing: -.045em; }
.intro p { margin: 0; font-size: clamp(16px, 1.5vw, 20px); color: #425562; line-height: 1.5; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 9vh, 96px); }
.choices button { min-height: 186px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px 28px; text-align: left; color: #172532; background: #fff; border: 1px solid #ccd4d4; border-bottom: 3px solid #731e2b; transition: border-color .2s, transform .2s, box-shadow .2s; }
.choices button:hover { border-color: #731e2b; box-shadow: 0 18px 35px #17253218; transform: translateY(-2px); }
.choice-number { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #731e2b; }
.choices strong { margin-top: auto; font-size: clamp(24px, 2.2vw, 31px); font-weight: 650; line-height: 1.1; }
.choice-description { margin-top: 6px; font-size: 14px; color: #667784; }
.viewing #stage { background: #0b1118; }
#viewport { position: absolute; inset: 0; display: none; }
#viewport.active { display: block; }
iframe { width: 100%; height: 100%; border: 0; background: #0b1118; }
#notice { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 10px 18px; color: #fff; background: #172532ee; border: 1px solid #667784; z-index: 1; }
#notice p { max-width: 520px; margin: 0; line-height: 1.4; }
#retry { margin-top: 10px; padding: 8px 12px; color: #172532; background: #efefea; border: 0; }
footer { display: none; justify-content: space-between; gap: 16px; padding: 9px clamp(20px, 4vw, 64px); color: #aebbc3; background: #172532; font-size: 12px; }
.viewing footer { display: flex; }
[hidden] { display: none !important; }
@media (max-width: 900px) {
  header { grid-template-columns: 1fr auto; gap: 10px; padding: 10px 20px; }
  nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  nav button { flex: 1; }
  #reset { grid-column: 2; grid-row: 1; }
}
@media (max-width: 600px) {
  header { min-height: 0; padding: 8px 14px 10px; }
  .brand-logo { width: 111px; height: 45px; }
  .identity { gap: 10px; }
  .identity-text { padding-left: 10px; }
  .identity-text span { font-size: 9px; }
  .identity-text strong { max-width: 150px; font-size: 11px; }
  nav button, #reset { min-height: 40px; padding: 8px; font-size: 12px; }
  #welcome { padding: 46px 20px 48px; }
  .choices { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .choices button { min-height: 128px; padding: 17px 20px; }
  footer { padding: 8px 14px; }
  .viewing footer { display: none; }
}
