:root {
  color-scheme: dark;
  --ink: #100d13;
  --ink-raised: #19131d;
  --ink-soft: #211a26;
  --paper: #f0e9e2;
  --muted: #aaa0ad;
  --line: rgba(235, 222, 237, 0.16);
  --red: #ef463f;
  --red-deep: #7d242f;
  --violet: #9c76e8;
  --violet-pale: #d3bdf9;
  --signal: #b6e2c5;
  --mono: 'DM Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
  --serif: 'Spectral', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(circle, rgba(224, 213, 230, 0.35) 0.7px, transparent 0.9px),
    linear-gradient(135deg, rgba(72, 30, 55, 0.2), transparent 42%);
  background-size: 41px 41px, 100% 100%;
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: '';
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 13, 19, 0.12), var(--ink) 88%);
}

::selection {
  color: var(--paper);
  background: var(--red-deep);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 13, 19, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--red);
  color: var(--paper);
  background: linear-gradient(145deg, rgba(239, 70, 63, 0.26), rgba(156, 118, 232, 0.18));
  font-family: var(--mono);
  font-size: 0.88rem;
}

.brand-name {
  color: var(--paper);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
}

.brand-tag {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--paper);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn::after {
  content: '↗';
  font-family: var(--mono);
  font-size: 0.95rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff8f1;
  background: var(--red);
}

.btn-primary:hover {
  background: #ff5b50;
}

.btn-secondary {
  border-color: var(--line);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.025);
}

.btn-secondary:hover {
  border-color: var(--violet);
  background: rgba(156, 118, 232, 0.1);
}

.hero {
  position: relative;
  display: flex;
  min-height: 690px;
  align-items: center;
  padding: 80px 0 72px;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  top: 12%;
  right: -9%;
  z-index: -1;
  width: 55%;
  height: 74%;
  content: '';
  border: 1px solid rgba(156, 118, 232, 0.12);
  transform: skewY(-12deg);
  background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(156, 118, 232, 0.035) 19px 20px);
  mask-image: linear-gradient(90deg, transparent, #000 45%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--violet-pale);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 1px;
  content: '';
  background: var(--red);
}

.hero-copy h1 {
  max-width: 700px;
  font-size: 76px;
  font-weight: 500;
  line-height: 0.99;
}

.hero-copy h1 span {
  display: block;
  color: var(--violet-pale);
  font-style: italic;
}

.lead {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.system-trigger {
  border-color: rgba(239, 70, 63, 0.5);
  color: #ff8c80;
}

.system-trigger::before {
  width: 7px;
  height: 7px;
  content: '';
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.system-trigger::after {
  content: '';
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.mini-stats li {
  min-width: 140px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.mini-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.mini-stats strong {
  display: block;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.1;
}

.mini-stats span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
}

.hero-visual::before {
  position: absolute;
  inset: 6% 3% 6% 7%;
  content: '';
  border: 1px solid rgba(156, 118, 232, 0.3);
  transform: rotate(4deg);
}

.hero-visual::after {
  position: absolute;
  top: 13%;
  right: 3%;
  width: 70px;
  height: 70px;
  content: '';
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
}

.panel-floating {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 14px;
  border: 1px solid rgba(239, 70, 63, 0.45);
  background: rgba(20, 15, 23, 0.95);
  box-shadow: 18px 22px 0 rgba(125, 36, 47, 0.2), 0 32px 80px rgba(0, 0, 0, 0.5);
  transform: rotate(-2deg);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.yellow { background: #e8bd66; }
.dot.green { background: var(--signal); }

.story-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 30px 26px;
  background:
    linear-gradient(145deg, rgba(72, 39, 93, 0.68), transparent 58%),
    linear-gradient(180deg, rgba(33, 22, 38, 0.95), rgba(14, 12, 17, 0.98));
}

.story-card::after {
  position: absolute;
  right: -20px;
  bottom: -96px;
  width: 250px;
  aspect-ratio: 1;
  content: '';
  border: 1px solid rgba(211, 189, 249, 0.23);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(211, 189, 249, 0.025), 0 0 0 42px rgba(211, 189, 249, 0.025);
}

.story-tag {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.story-tag::before {
  content: '● ';
}

.story-card h3 {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin-top: 44px;
  font-size: 2.5rem;
}

.story-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.story-metrics div {
  padding: 14px 0 0;
}

.story-metrics div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.story-metrics span,
.progress-wrap label {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.story-metrics strong {
  display: block;
  margin-top: 3px;
  color: var(--paper);
  font-size: 0.9rem;
}

.progress-wrap {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.author-note-label {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.author-secret-trigger {
  display: flex;
  width: min(100%, 560px);
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(156, 118, 232, 0.42);
  background: linear-gradient(100deg, rgba(125, 36, 47, 0.18), rgba(156, 118, 232, 0.12));
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.author-secret-trigger:hover {
  transform: translateY(-2px);
  border-color: var(--violet);
  background: linear-gradient(100deg, rgba(125, 36, 47, 0.3), rgba(156, 118, 232, 0.2));
}

.secret-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(239, 70, 63, 0.7);
  color: #ff8c80;
  font-family: var(--mono);
  font-size: 1.1rem;
}

.secret-trigger-copy {
  display: grid;
  gap: 3px;
}

.secret-trigger-copy strong {
  font-size: 0.9rem;
}

.secret-trigger-arrow {
  margin-left: auto;
  color: var(--violet-pale);
  font-family: var(--mono);
}

.author-secret-dialog {
  width: min(900px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--paper);
}

.author-secret-dialog::backdrop {
  background: rgba(5, 6, 11, 0.84);
  backdrop-filter: blur(9px);
}

.author-secret-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid rgba(211, 189, 249, 0.42);
  background: var(--ink-raised);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.author-secret-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(16, 13, 19, 0.84);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 1.4rem;
  cursor: pointer;
}

.author-secret-portrait {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #17101d;
}

.author-secret-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.author-secret-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 44px;
  background: linear-gradient(145deg, rgba(125, 36, 47, 0.18), transparent 55%);
}

.author-secret-copy h2 {
  margin-top: 14px;
  color: var(--violet-pale);
  font-size: 3.2rem;
}

.author-secret-copy > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.12rem;
}

.author-secret-trigger:focus-visible,
.author-secret-close:focus-visible {
  outline: 2px solid var(--violet-pale);
  outline-offset: 3px;
}

.progress {
  height: 3px;
  margin-top: 7px;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--violet));
}

.floating-badge {
  position: absolute;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.67rem;
  text-transform: uppercase;
}

.badge-one {
  top: 12%;
  left: -1%;
  border-color: rgba(156, 118, 232, 0.6);
  color: var(--violet-pale);
}

.badge-two {
  right: 0;
  bottom: 11%;
  color: #ff8c80;
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 100px;
}

.section-copy h2,
.section-header h2 {
  max-width: 700px;
  font-size: 52px;
}

.about-text {
  display: grid;
  gap: 20px;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 48px;
}

.section-header h2 {
  max-width: 520px;
}

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

.program-track {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--violet-pale);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
}

.program-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 16px;
  align-content: start;
  min-height: 180px;
  padding: 25px 0 28px;
  border-top: 1px solid var(--line);
  background: transparent;
  transition: border-color 180ms ease, transform 180ms ease;
}

.program-card:hover {
  border-color: var(--violet);
  transform: translateX(4px);
}

.program-card .icon {
  grid-row: span 2;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.program-card h3 {
  font-size: 1.65rem;
}

.program-card p {
  max-width: 430px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.91rem;
}

.achievement-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 92px;
}

.achievement-visual {
  position: relative;
  padding: 22px 0 22px 22px;
}

.achievement-visual::before {
  position: absolute;
  inset: 0 22px 0 0;
  content: '';
  border: 1px solid rgba(156, 118, 232, 0.42);
}

.arena-card {
  position: relative;
  padding: 42px 32px;
  border: 1px solid rgba(239, 70, 63, 0.45);
  background:
    linear-gradient(145deg, rgba(125, 36, 47, 0.3), transparent 62%),
    var(--ink-raised);
}

.arena-label {
  color: var(--violet-pale);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.arena-card h3 {
  margin: 16px 0 28px;
  font-size: 2.8rem;
}

.arena-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arena-card li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.arena-card li::before {
  margin-right: 12px;
  color: var(--red);
  content: '↳';
  font-family: var(--mono);
}

.achievement .section-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 20px;
  color: var(--muted);
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.achievement-grid div {
  padding: 18px 14px 0 0;
}

.achievement-grid strong {
  display: block;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.achievement-grid span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.cta-panel {
  padding: 90px 0;
  border-bottom: 0;
}

.cta-box {
  position: relative;
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: 48px 56px;
  border: 1px solid rgba(239, 70, 63, 0.45);
  background: linear-gradient(110deg, rgba(125, 36, 47, 0.34), rgba(45, 28, 62, 0.52));
}

.cta-box::after {
  position: absolute;
  top: -110px;
  right: 11%;
  width: 320px;
  aspect-ratio: 1;
  content: '';
  border: 1px solid rgba(211, 189, 249, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(211, 189, 249, 0.025), 0 0 0 50px rgba(211, 189, 249, 0.025);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  max-width: 650px;
  font-size: 48px;
}

.footer {
  padding: 32px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(10, 8, 12, 0.74);
}

.footer-wrap {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
}

.footer-text {
  max-width: 480px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.87rem;
}

.contact-box {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-align: right;
}

.copyright {
  margin-top: 30px;
  color: #817984;
  font-family: var(--mono);
  font-size: 0.67rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.system-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 20px;
  opacity: 0;
  background: rgba(5, 8, 12, 0.82);
  backdrop-filter: blur(8px);
  transition: opacity 260ms ease, visibility 260ms ease;
}

.system-overlay.show {
  visibility: visible;
  opacity: 1;
}

.system-overlay.hide {
  visibility: hidden;
  opacity: 0;
}

.system-panel {
  position: relative;
  width: min(100%, 980px);
  min-height: 250px;
  overflow: hidden;
  padding: 44px 28px;
  border: 2px solid #d5f3ff;
  background: linear-gradient(145deg, #41b8df, #68d5ed 52%, #8de5f1);
  box-shadow: inset 0 0 0 6px rgba(230, 251, 255, 0.35), 0 0 48px rgba(74, 200, 247, 0.45);
  color: #fff;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 280ms ease, transform 280ms ease;
}

.system-panel::before {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 5px);
  animation: scanLines 220ms linear infinite;
}

.system-panel::after {
  position: absolute;
  inset: -20% 0;
  content: '';
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-120%);
  animation: sweep 1.5s ease-in-out infinite alternate;
}

.system-panel.active {
  opacity: 1;
  transform: scale(1);
  animation: panelFlicker 180ms steps(1, end) infinite alternate, glitch 180ms steps(1, end) 4;
}

.system-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

.frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
}

.frame-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.frame-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.frame-corner.br { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

.system-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 160px;
  place-items: center;
  text-align: center;
}

.system-message {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.system-message.visible {
  opacity: 1;
  transform: translateY(0);
  animation: textGlitch 220ms steps(1, end) infinite;
}

.message-prefix {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.system-message h2 {
  position: relative;
  color: #fff;
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(13, 56, 85, 0.28);
}

.system-message h2::before,
.system-message h2::after,
.system-message p::before,
.system-message p::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  opacity: 0;
  pointer-events: none;
}

.system-message h2::before,
.system-message p::before {
  color: rgba(255, 50, 84, 0.75);
  transform: translateX(-2px);
}

.system-message h2::after,
.system-message p::after {
  color: rgba(26, 105, 255, 0.7);
  transform: translateX(2px);
}

.system-panel.active .system-message h2::before,
.system-panel.active .system-message h2::after,
.system-panel.active .system-message p::before,
.system-panel.active .system-message p::after {
  opacity: 1;
}

.system-message p {
  position: relative;
  margin-top: 12px;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes glitch {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3px, 1px); }
  50% { transform: translate(3px, -1px); }
  75% { transform: translate(-1px, 2px); }
}

@keyframes textGlitch {
  0%, 100% { transform: translate(0, 0); filter: brightness(1); }
  25% { transform: translate(-2px, 1px); filter: brightness(1.2); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, 0); }
}

@keyframes panelFlicker {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(0.94); }
}

@keyframes scanLines {
  from { transform: translateY(0); }
  to { transform: translateY(8px); }
}

@keyframes sweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 48px, 760px);
  }

  .hero {
    min-height: auto;
    padding: 78px 0 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy h1 {
    max-width: 700px;
    font-size: 64px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .two-col,
  .achievement-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .section-copy h2,
  .section-header h2 {
    font-size: 44px;
  }

  .section-header {
    align-items: start;
  }

  .nav {
    gap: 16px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 70px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .nav-wrap {
    min-height: 70px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 36px;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .brand-tag {
    font-size: 0.55rem;
  }

  .nav {
    display: none;
  }

  .nav-wrap > .btn {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.73rem;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .lead {
    margin-top: 20px;
    font-size: 0.94rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .hero-actions .system-trigger {
    grid-column: 1 / -1;
  }

  .mini-stats {
    margin-top: 32px;
  }

  .mini-stats li {
    min-width: 0;
    flex: 1;
    padding: 0 10px;
  }

  .mini-stats li:first-child {
    padding-left: 0;
  }

  .mini-stats strong {
    font-size: 1.45rem;
  }

  .mini-stats span {
    font-size: 0.56rem;
  }

  .hero-visual {
    min-height: 360px;
    margin-inline: 8px;
  }

  .panel-floating {
    padding: 9px;
  }

  .story-card {
    min-height: 280px;
    padding: 24px 18px;
  }

  .story-card h3 {
    margin-top: 38px;
    font-size: 2.1rem;
  }

  .floating-badge {
    font-size: 0.58rem;
  }

  .badge-one {
    left: -8px;
  }

  .section {
    padding: 78px 0;
  }

  .two-col,
  .achievement-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-copy h2,
  .section-header h2 {
    font-size: 38px;
  }

  .section-header {
    display: block;
    margin-bottom: 28px;
  }

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

  .program-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 150px;
  }

  .program-card h3 {
    font-size: 1.45rem;
  }

  .achievement-wrap {
    gap: 38px;
  }

  .achievement-visual {
    padding-left: 12px;
  }

  .arena-card {
    padding: 30px 22px;
  }

  .arena-card h3 {
    font-size: 2.3rem;
  }

  .achievement-grid {
    gap: 8px;
  }

  .achievement-grid div {
    padding-right: 5px;
  }

  .achievement-grid strong {
    font-size: 1.65rem;
  }

  .achievement-grid span {
    font-size: 0.55rem;
  }

  .cta-panel {
    padding: 55px 0;
  }

  .cta-box {
    display: grid;
    min-height: auto;
    gap: 25px;
    padding: 32px 24px;
  }

  .cta-box h2 {
    font-size: 36px;
  }

  .footer-wrap {
    display: grid;
    gap: 22px;
  }

  .contact-box {
    text-align: left;
  }

  .system-panel {
    min-height: 210px;
    padding: 34px 18px;
  }

  .system-message h2 {
    font-size: 32px;
  }

  .system-message p {
    font-size: 1rem;
  }

  .author-secret-trigger {
    gap: 10px;
    padding: 12px;
  }

  .author-note-label {
    font-size: 0.55rem;
  }

  .author-secret-dialog {
    max-height: calc(100vh - 24px);
  }

  .author-secret-panel {
    grid-template-columns: 1fr;
  }

  .author-secret-portrait {
    height: min(52vh, 390px);
  }

  .author-secret-portrait img {
    min-height: 0;
  }

  .author-secret-copy {
    padding: 26px 22px 30px;
  }

  .author-secret-copy h2 {
    font-size: 2.4rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
