.landing {
  --field: #181120;
  --frame: #261b34;
  --frame-border: #49385e;
  --frost: #d5baff;
  --soft: #c8bdd6;
  background: #100c19;
  color: #fbf7ff;
}
html { scroll-behavior: smooth; }
.page { width: min(1296px, calc(100% - 90px)); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
a { text-underline-offset: .25em; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 4; padding: 10px; background: var(--paper); }
.skip:not(:focus) { clip-path: inset(50%); }

.masthead, .footer { display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.masthead { min-height: 74px; border-bottom: 1px solid #342740; }
.masthead nav, .masthead-actions, .footer nav { display: flex; align-items: center; gap: clamp(14px, 2.8vw, 31px); }
.masthead a:not(.button):not(.brand), .footer a:not(.brand) { color: var(--soft); font-size: .9375rem; font-weight: 550; text-decoration: none; }
.masthead a:not(.button):hover, .footer a:hover { color: #fff; }
.masthead .button { min-height: 42px; }
.masthead .brand-mark, .footer .brand-mark { background: #302040; }

.arena {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .81fr) minmax(0, 1.34fr);
  align-items: stretch;
  gap: clamp(23px, 3.5vw, 58px);
  padding-block: clamp(30px, 5vw, 69px) clamp(40px, 6vw, 84px);
}
.arena-light {
  position: absolute;
  z-index: -3;
  inset: 0 -2% 0;
  overflow: hidden;
  mask-image: radial-gradient(ellipse at 54% 47%, #000 40%, transparent 78%);
  pointer-events: none;
}
.arena-light::before {
  position: absolute;
  inset: -8% -6% -5%;
  background:
    radial-gradient(ellipse at 70% 51%, #622ba953, transparent 55%),
    radial-gradient(ellipse at 25% 80%, #47226e45, transparent 50%);
  content: "";
}
.arena-light::after {
  position: absolute;
  inset: -30% -10% -20% 28%;
  background:
    repeating-linear-gradient(90deg, #9e70df36 0 1px, transparent 1px 62px),
    repeating-linear-gradient(0deg, #9e70df36 0 1px, transparent 1px 62px);
  mask-image: radial-gradient(ellipse at 64% 53%, #000d, transparent 61%);
  content: "";
  transform: rotate(-19deg) skewX(-8deg);
}
.opening { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 135px; }
.opening-copy { position: relative; z-index: 1; padding-top: clamp(12px, 3vw, 46px); }
.opening h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.45rem, 4.75vw, 4.9rem);
  font-weight: 650;
  letter-spacing: -.08em;
  line-height: .99;
}
.opening h1 em {
  display: block;
  margin-top: .035em;
  color: #d4b2fc;
  font: italic 400 1.14em/.88 var(--display);
  letter-spacing: -.035em;
  text-shadow: 0 6px 45px #914ee844;
}
.opening-copy > p { max-width: 35ch; margin-top: 23px; color: var(--soft); font-size: clamp(1.02rem, 1.45vw, 1.17rem); line-height: 1.6; }
.opening-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 24px; }
.opening-actions .button { min-height: 50px; }
.arena-knight {
  position: absolute;
  z-index: -1;
  inset: auto -40px -31px auto;
  width: min(128%, 570px);
  height: 285px;
  object-fit: cover;
  object-position: 56% 44%;
  opacity: .71;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 72% 70%, #000 14%, #000c 39%, transparent 70%);
  animation: float-in 1.4s cubic-bezier(.2,.62,.38,1) both;
}

.experience { min-width: 0; scroll-margin-top: 14px; }
.studio {
  overflow: hidden;
  border: 1px solid #8062a2;
  border-radius: 19px;
  background: linear-gradient(145deg, #281b3c, #181020 53%);
  color: var(--ink);
  box-shadow: 0 20px 90px #07030c9c, 0 0 45px #6d3ab13b, inset 0 1px #e0c2ff38;
  transition: box-shadow 230ms ease, border-color 230ms ease;
}
.studio[data-mode="compare"] { border-color: #bf98ee; box-shadow: 0 20px 85px #07030ca8, 0 0 59px #8d45d15c; }
.studio-head, .studio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 9px clamp(12px, 1.5vw, 19px);
  color: var(--soft);
  font-size: .875rem;
}
.studio-head { border-bottom: 1px solid var(--frame-border); }
.studio-head > div { display: flex; align-items: center; gap: 9px; }
.studio-head h2 { color: #fff; font-size: 1rem; font-weight: 650; letter-spacing: -.02em; }
.studio-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #745099;
  border-radius: 7px;
  background: #382451;
  color: #e1c6ff;
  font: 1.19rem Georgia, serif;
}
.studio-foot { min-height: 42px; border-top: 1px solid var(--frame-border); }
.scenarios {
  display: flex;
  gap: 6px;
  margin: 12px clamp(12px, 1.5vw, 19px) 0;
  padding: 4px;
  border: 1px solid #493359;
  border-radius: 10px;
  background: #120b1b9c;
}
.scenarios button {
  flex: 1;
  min-height: 39px;
  padding: 6px 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--soft);
  font-size: .875rem;
  font-weight: 600;
}
.scenarios button:hover:not(:disabled) { color: #fff; }
.scenarios button[aria-pressed="true"] { border-color: #8063a0; background: #43305d; color: #fbf4ff; }
.studio-content {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(225px, .92fr);
  gap: clamp(13px, 1.65vw, 25px);
  padding: clamp(12px, 1.5vw, 19px);
}
.board-side { min-width: 0; }
.lesson-controls { display: grid; gap: 7px; }
.lesson-controls .board-util { justify-content: flex-end; gap: 3px 13px; }
.lesson-controls summary, .lesson-controls .link-button {
  color: var(--soft); font-size: .78rem; min-height: 32px; padding: 5px 0; font-weight: 550;
}
.lesson-controls .board-util .link-button:hover, .lesson-controls summary:hover { color: var(--frost); }
.lesson-controls .board-util #lesson-live { color: var(--frost); font-weight: 750; }
.lesson-controls .board-move-list { max-height: 12rem; }
.board-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 7px; color: var(--soft); font-size: .875rem; }
.board-meta > span:first-child { color: var(--ink); font-weight: 650; }
.board-meta.lower { margin: 7px 0 0; }
#to-move { font-weight: 550; }
.studio[data-mode="try"] #to-move { color: #ead6ff; }
.board-stage { position: relative; }
.board-note { position: absolute; inset: auto 8px 8px; padding: 9px; border-radius: 6px; background: var(--field); }
.board {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: repeating-conic-gradient(#ddd0ed 0% 25%, #8b73a7 0% 50%) 50% / 25% 25%;
  box-shadow: 0 6px 18px #0a05127a;
}
.play-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
}
.play-square {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #ddd0ed;
  color: #403050;
  touch-action: none;
}
.play-square.dark { background: #8b73a7; color: #1c1228; }
.play-square[aria-disabled="true"] { cursor: default; }
.play-square[data-movable] { cursor: grab; }
.play-square[data-movable]:active { cursor: grabbing; }
.play-square.last-move { background: #c9adef; color: #241335; }
.play-square.hint-square, .play-square.selected { background: #f0d498; color: #3e2c13; }
.play-square.in-check { background: #dd9cad; color: #432131; }
.studio .play-square:focus-visible { outline: 3px solid #36125a; outline-offset: -4px; z-index: 2; }
.play-square.move-target::after, .play-square.capture-target::after {
  position: absolute;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #371c5494;
  content: "";
}
.play-square.capture-target::after { width: 84%; border: 4px solid #371c5494; background: transparent; }
.chess-piece, .drag-piece {
  position: relative;
  display: block;
  z-index: 1;
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px #25143570);
  pointer-events: none;
  user-select: none;
}
.play-square > .chess-piece {
  position: absolute;
  inset: 0;
  margin: auto;
}
.drag-origin { opacity: .3; }
.drag-piece { position: absolute; z-index: 3; height: 12.5%; }
.file-coordinate, .rank-coordinate {
  position: absolute;
  z-index: 2;
  font-size: clamp(.6rem, .95vw, .75rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.rank-coordinate { top: 3px; left: 4px; }
.file-coordinate { bottom: 3px; right: 4px; }
.board-markings { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.studio[data-mode="compare"] .board-markings line {
  stroke-dasharray: 9;
  animation: draw-line 510ms ease-out both;
}
.studio[data-mode="compare"] .board-markings line:nth-child(2) { animation-delay: 80ms; }
.studio[data-mode="compare"] .board-markings line:nth-child(3) { animation-delay: 155ms; }
.promotion-layer { position: absolute; inset: 0; pointer-events: none; }
.promotion-dialog {
  position: absolute;
  z-index: 4;
  inset: 50% auto auto 50%;
  width: min(90%, 240px);
  padding: 13px;
  border-radius: 8px;
  background: var(--frame);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.promotion-dialog > div { display: flex; margin-block: 7px; }
.promotion-dialog button { padding: 2px; border: 1px solid var(--frame-border); background: #ddd0ed; }
.promotion-dialog .chess-piece { width: 100%; }

.lesson-side { min-width: 0; }
.lesson-stages {
  display: flex;
  gap: 8px 13px;
  flex-wrap: wrap;
  margin: 0;
  padding: 3px 0 9px;
  border-bottom: 1px solid var(--frame-border);
  color: var(--soft);
  font-size: .875rem;
  list-style: none;
}
.lesson-stages li { display: inline-flex; align-items: center; gap: 5px; }
.lesson-stages li > span { width: 6px; height: 6px; border: 1px solid #b09bbf; border-radius: 50%; }
.lesson-stages li[aria-current="step"] { color: #ebd3ff; font-weight: 650; }
.lesson-stages li[aria-current="step"] > span { border-color: var(--frost); background: var(--frost); box-shadow: 0 0 7px #b989ec; }
.stage-panel { padding-top: clamp(13px, 2vw, 27px); animation: settle 290ms ease-out both; }
.lesson-label { color: var(--frost); font-size: .875rem; font-weight: 650; }
.stage-panel h3 {
  margin-block: 6px 9px;
  font: 400 clamp(2rem, 3.2vw, 2.95rem)/.94 var(--display);
  letter-spacing: -.02em;
}
.stage-panel > p:not(.lesson-label), .load-error { color: var(--soft); line-height: 1.46; }
.position-comparison { margin-block: 12px; }
.position-comparison > p { margin-bottom: 6px; color: var(--soft); font-size: .875rem; }
.move-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.move-compare button, .line-nav button {
  padding: 7px 8px;
  border: 1px solid var(--frame-border);
  border-radius: 7px;
  background: #291e38;
  color: #f7efff;
  text-align: left;
}
.move-compare button:hover:not(:disabled), .line-nav button:hover { border-color: #ab84ce; }
.move-compare button[aria-pressed="true"], .line-nav button[aria-pressed="true"] { border-color: #c395ec; background: #493063; }
.move-compare span, .move-compare strong { display: block; }
.move-compare span { color: var(--soft); font-size: .875rem; }
.move-compare strong { margin-top: 3px; font-size: .9375rem; }
.move-compare button::after { display: block; width: 15%; height: 3px; margin-top: 6px; border-radius: 5px; background: #b791e4; content: ""; }
.move-compare button[data-review-frame="1"]::after,
.studio[data-lesson="finish"] .move-compare button::after { width: 95%; background: #d6b5fe; }
.move-compare button[aria-pressed="true"]::after { animation: grow-in 430ms ease-out both; transform-origin: left; }
.stage-panel .button { min-height: 42px; padding-inline: 13px; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 10px; }
.link-button { min-height: 42px; padding: 5px 3px; border: 0; background: transparent; color: var(--soft); text-decoration: underline; text-underline-offset: .24em; }
.link-button:hover:not(:disabled) { color: #fff; }
.lesson-feedback {
  margin-top: 9px;
  padding: 9px 11px;
  border: 1px solid var(--frame-border);
  border-radius: 8px;
  background: #151020;
  color: #e7d9f4;
  font-size: .875rem;
  line-height: 1.45;
}
.lesson-feedback:empty { margin: 0; }
.attempt-summary {
  display: grid;
  gap: 7px;
  margin-block: 12px;
  padding: 11px 13px;
  border: 1px solid var(--frame-border);
  border-radius: 10px;
  background: #1e142d;
  color: #f4eaff;
  font-size: .875rem;
  line-height: 1.5;
}
.attempt-summary > p + p { color: var(--soft); }
.attempt-summary strong { display: block; color: var(--frost); font-variant-numeric: tabular-nums; }
.attempt-summary .line-nav { margin-top: 1px; }
.attempt-summary .line-nav button { font: inherit; }
.line-label { margin-top: 13px; font-size: .85rem; }
.line-label + .line-nav { margin-top: 5px; }
.line-nav { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 11px; }
.line-nav button { min-height: 37px; font: .875rem ui-monospace, monospace; }
.next-cta { margin-top: 11px; }
.load-error { padding-top: 14px; }

.game-story, .product-tour, .training-modes, .progress-story {
  position: relative;
  padding-block: clamp(47px, 7.6vw, 104px);
  border-top: 1px solid #3e2c4d;
  scroll-margin-top: 16px;
}

.game-story, .progress-story {
  display: grid;
  align-items: center;
  gap: clamp(27px, 5.2vw, 74px);
}
.game-story { grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); }
.progress-story { grid-template-columns: minmax(275px, .69fr) minmax(0, 1.31fr); }
.game-story h2, .section-heading h2, .modes-photo h2, .progress-story h2,
.closing h2, .puzzle-page h1, .information h1 {
  font: 400 clamp(3.85rem, 6.55vw, 6.8rem)/.88 var(--display);
  letter-spacing: -.027em;
  text-wrap: balance;
}
.game-story h2 em, .section-heading h2 em, .modes-photo h2 em, .progress-story h2 em {
  color: var(--frost);
}
.story-copy > p, .section-heading > p, .modes-photo p, .progress-copy > p, .questions p {
  max-width: 47ch;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.6;
}
.story-copy > p, .progress-copy > p { margin-top: 16px; }

.story-photo {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.14;
  border: 1px solid #624b72;
  border-radius: 17px;
  background: #241a30;
  box-shadow: 0 19px 55px #0805107b;
}
.story-photo img, .modes-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-photo img { object-position: 61% 54%; }
.story-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #1b0e2640, transparent 57%);
  content: "";
  pointer-events: none;
}
.story-photo.entered img, .modes-photo.entered img { animation: photo-enter 1.5s cubic-bezier(.18,.68,.3,1) both; }

.game-flow {
  position: relative;
  display: grid;
  gap: 1px;
  margin: 24px 0 19px;
  padding: 0;
  list-style: none;
}
.game-flow::before {
  position: absolute;
  top: 21px;
  bottom: 34px;
  left: 17px;
  width: 1px;
  background: linear-gradient(#b994ed, #72558166);
  content: "";
}
.game-flow.entered::before { animation: flow-enter 900ms ease-out both; transform-origin: top; }
.game-flow li {
  z-index: 1;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-block: 10px;
}
.flow-icon, .mode-piece {
  display: grid;
  place-items: center;
  color: #e1c7fc;
  background: #38264e;
  border: 1px solid #74528e;
  font: 1.35rem/1 Georgia, serif;
}
.flow-icon { width: 35px; height: 35px; border-radius: 10px; }
.game-flow li strong { display: block; margin-bottom: 3px; }
.game-flow li p, .mode-list p { color: var(--soft); line-height: 1.5; }
.text-cta { color: #e4c8ff; font-weight: 650; }
.text-cta:hover { color: white; }

.product-tour { isolation: isolate; }
.product-tour::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 61% 44%, #51317647, transparent 70%);
  content: "";
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  align-items: end;
  gap: 17px 34px;
  margin-bottom: 29px;
}
.tour-layout {
  display: grid;
  grid-template-columns: minmax(237px, .39fr) minmax(0, 1.24fr);
  align-items: start;
  gap: clamp(17px, 3.1vw, 43px);
}
.tour-steps { display: grid; gap: 8px; }
.tour-steps button {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 4px;
  min-height: 84px;
  padding: 12px 15px;
  border: 1px solid #574069;
  border-radius: 10px;
  background: #20172d;
  color: #f9f2ff;
  text-align: left;
  transition: background-color 170ms, border-color 170ms, transform 170ms;
}
.tour-steps button:not(:disabled):hover { border-color: #b08ad7; transform: translateX(3px); }
.tour-steps button[aria-pressed="true"] {
  border-color: #ba94e2;
  background: linear-gradient(130deg, #4c306c, #302140);
  box-shadow: inset 3px 0 #d3b0f6;
}
.tour-steps span { font-size: 1.06rem; font-weight: 650; }
.tour-steps small { color: #d8c9e5; font-size: .875rem; line-height: 1.36; }
.tour-play { margin-top: 13px; min-height: 44px; }
.tour-stage { min-width: 0; }
.tour-view, .progress-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #775b92;
  border-radius: 15px;
  background: #221930;
  box-shadow: 0 21px 56px #06030eaa;
}
.tour-view:not([hidden]) { animation: panel-enter 420ms cubic-bezier(.2,.7,.32,1) both; }
.tour-image { background: #100c19; overflow: hidden; }
.tour-view img, .progress-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 820;
  object-fit: cover;
}
.tour-view figcaption, .progress-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 9px;
  padding: 12px 15px;
  color: #eee3f9;
  font-size: .92rem;
  font-weight: 550;
}
.tour-view figcaption span, .progress-figure figcaption span { color: var(--soft); font-weight: 400; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.modes-photo {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(285px, 39vw, 480px);
  overflow: hidden;
  padding: clamp(18px, 4.5vw, 53px);
  border: 1px solid #755887;
  border-radius: 17px;
  background: #23182d;
}
.modes-photo img {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 76%;
  object-position: 67% 56%;
}
.modes-photo::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #12081cf1 4%, #180d25c9 34%, #170c250a 76%),
              linear-gradient(0deg, #170c24a6, transparent 55%);
  content: "";
}
.modes-photo h2 { max-width: 11ch; }
.modes-photo p { max-width: 37ch; margin-top: 13px; color: #f0e6f7; }
.mode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-block: 18px 19px;
}
.mode-list article {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 159px;
  padding: clamp(15px, 2.25vw, 26px);
  border: 1px solid #503b63;
  border-radius: 12px;
  background: linear-gradient(160deg, #2a1c3a, #1a1325 80%);
}
.mode-list.entered article { animation: tile-enter 460ms ease-out both; }
.mode-list.entered article:nth-child(2n) { animation-delay: 95ms; }
.mode-list.entered article:nth-child(3n) { animation-delay: 150ms; }
.mode-piece { width: 34px; height: 34px; border-radius: 8px; margin-bottom: 7px; }
.mode-list h3 { font-size: 1.12rem; letter-spacing: -.023em; }
.progress-copy h2 { max-width: 8.5ch; }
.progress-copy ul { margin: 16px 0 22px; padding-inline-start: 19px; color: var(--soft); line-height: 1.56; }
.progress-copy li + li { margin-top: 8px; }
.progress-copy li::marker { color: var(--frost); }
.progress-figure.entered { animation: tile-enter 640ms ease-out; }
.questions { display: grid; grid-template-columns: minmax(0, .73fr) minmax(0, 1.12fr); gap: 24px; padding-block: 30px 57px; border-top: 1px solid #3e2c4d; }
.questions h2 { max-width: 17ch; font: 400 clamp(2.5rem, 4vw, 3.7rem)/.95 var(--display); }
.questions details { border-bottom: 1px solid #3e2c4d; }
.questions summary { padding-block: 14px; cursor: pointer; font-weight: 600; }
.questions summary:hover { color: var(--frost); }
.questions p { padding-bottom: 15px; }
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 53px;
  padding: clamp(24px, 5vw, 62px);
  border: 1px solid #715287;
  border-radius: 17px;
  background: #1d122a;
}
.closing::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 63%;
  background: linear-gradient(90deg, #1d122a, #1d122a28 70%), url("./knight-study.jpg") 67% 49% / cover no-repeat;
  content: "";
}
.closing h2 { max-width: 12ch; margin-bottom: 17px; }
.footer { min-height: 80px; padding-block: 15px; border-top: 1px solid #3e2c4d; color: var(--soft); font-size: .875rem; }
.footer .brand { color: var(--ink); }
.puzzle-page, .information { padding-block: 34px 58px; }
.puzzle-page h1, .information h1 { margin-bottom: 22px; }
.puzzle-studio { max-width: 550px; }
.puzzle-inner { padding: clamp(12px, 2.5vw, 25px); }
.puzzle-inner #turn { margin-block: 12px 5px; font-weight: 650; }
.puzzle-inner #feedback { color: var(--soft); min-height: 1.5em; }
.information { max-width: 720px; }
.information section { margin-top: 20px; }
.information p { margin-top: 6px; color: var(--soft); line-height: 1.62; }
@keyframes float-in { from { transform: translate(12px, 15px) scale(1.025); } to { transform: translate(0, 0) scale(1); } }
@keyframes settle { from { transform: translateY(6px); } to { transform: translateY(0); } }
@keyframes grow-in { from { transform: scaleX(.24); } to { transform: scaleX(1); } }
@keyframes draw-line { from { stroke-dashoffset: 9; } to { stroke-dashoffset: 0; } }

@media (max-width: 1150px) {
  .page { width: calc(100% - 54px); }
  .arena { grid-template-columns: minmax(0,.75fr) minmax(0,1.55fr); gap: 20px; }
}
@keyframes photo-enter { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes flow-enter { from { transform: scaleY(.24); } to { transform: scaleY(1); } }
@keyframes panel-enter { from { opacity: .65; transform: translateX(7px); } to { opacity: 1; transform: translateX(0); } }
@keyframes tile-enter { from { opacity: .75; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 930px) {
  .arena { grid-template-columns: minmax(0, 1fr); }
  .opening { min-height: 324px; padding-bottom: 20px; }
  .opening h1 { max-width: 15ch; font-size: clamp(3.75rem, 7vw, 5.5rem); }
  .opening-copy { padding-top: 0; }
  .arena-knight { inset: 0 -42px 0 auto; width: 76%; height: 100%; object-position: 76% 42%; opacity: .65; }
  .studio-content { grid-template-columns: minmax(0, 1.15fr) minmax(230px, .92fr); }
  .game-story, .progress-story { gap: 20px; }
}
@media (max-width: 650px) {
  .page { width: calc(100% - 32px); }
  .masthead { min-height: 62px; }
  .masthead nav { display: none; }
  .masthead .brand { font-size: 1.03rem; gap: 7px; }
  .masthead .brand-mark { width: 32px; height: 32px; font-size: 1.4rem; }
  .masthead-actions { gap: 9px; }
  .masthead .button { min-height: 38px; padding-inline: 8px; font-size: .875rem; }
  .masthead a:not(.button):not(.brand) { font-size: .875rem; }
  .arena { gap: 13px; }
  .opening { min-height: 0; padding-bottom: 12px; }
  .opening h1 { max-width: 11ch; font-size: clamp(3.05rem, 10.8vw, 4.5rem); }
  .opening-copy > p { margin-top: 16px; }
  .opening-actions { margin-top: 17px; }
  .opening-actions .button { min-height: 45px; padding-inline: 11px; }
  .arena-knight { inset: auto -13% -8px auto; width: 78%; height: 70%; opacity: .34; }
  .studio-content, .game-story, .progress-story, .section-heading, .tour-layout, .questions { grid-template-columns: minmax(0, 1fr); }
  .studio-content { gap: 15px; }
  .stage-panel { padding-top: 13px; }
  .story-photo { aspect-ratio: 1.5; }
  .tour-layout { gap: 12px; }
  .tour-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .tour-steps button { min-height: 53px; align-content: center; padding: 7px 8px; }
  .tour-steps span { font-size: .875rem; }
  .tour-steps small { display: none; }
  .tour-play { margin-top: 8px; }
  .modes-photo img { width: 100%; }
  .mode-list { grid-template-columns: minmax(0, 1fr); }
  .mode-list article { min-height: 0; }
  .modes-photo::after { background: linear-gradient(0deg, #14091df2, #170c2590 45%, transparent 81%); }
  .closing::after { width: 80%; opacity: .68; }
  .footer { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 365px) {
  .page { width: calc(100% - 26px); }
  .masthead { gap: 7px; }
  .masthead .brand-mark { display: none; }
  .studio-head, .studio-foot { font-size: .8125rem; }
}
