:root {
  --bg: #0c0c0d;
  --surface: #161618;
  --text: #f2f0e9;
  --muted: #9b9a95;
  --line: rgba(242, 240, 233, 0.16);
  --accent: #ff6b35;
  --accent-soft: #ffb69b;
  --max: 1180px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f0e8;
  --surface: #e7e2d7;
  --text: #181818;
  --muted: #62605b;
  --line: rgba(24, 24, 24, 0.16);
  --accent: #e94f1d;
  --accent-soft: #943216;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  transition: background .35s ease, color .35s ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: #fff; }

main { overflow: hidden; }
.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 24px; font-weight: 800; letter-spacing: -.08em; justify-self: start; }
.brand span { color: var(--accent); }
nav { display: flex; gap: 38px; }
nav a { color: var(--muted); font-size: 13px; letter-spacing: .12em; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--text); }
.theme-toggle {
  justify-self: end;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.theme-toggle:hover, .theme-toggle:focus-visible { background: var(--surface); border-color: var(--accent); }

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 710px;
  margin: 0 auto;
  padding: 98px 0 86px;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 80px;
  align-items: center;
}
.eyebrow, .section-kicker {
  margin: 0 0 28px;
  color: var(--muted);
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .2em;
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 14%, transparent); }
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(64px, 7.3vw, 112px);
  line-height: .98;
  letter-spacing: -.075em;
  font-weight: 760;
}
h1 em, .closing em { color: var(--accent); font-family: Georgia, "Songti SC", serif; font-weight: 400; }
.hero-intro { max-width: 650px; margin: 42px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid var(--text); font-size: 13px; letter-spacing: .12em; }
.text-link span { color: var(--accent); font-size: 18px; }

.hero-card {
  position: relative;
  min-height: 450px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--accent) 6%, var(--bg)));
}
.hero-card::before { content: ""; position: absolute; inset: 20px; border: 1px solid var(--line); }
.orbit { position: absolute; left: 50%; top: 43%; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 50%; transform: translate(-50%, -50%) rotate(-20deg); }
.orbit-one { width: 260px; height: 155px; }
.orbit-two { width: 165px; height: 270px; transform: translate(-50%, -50%) rotate(48deg); }
.core { position: absolute; left: 50%; top: 43%; transform: translate(-50%, -50%); width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.06em; box-shadow: 0 0 80px color-mix(in srgb, var(--accent) 28%, transparent); }
.card-label { position: absolute; left: 42px; bottom: 38px; display: flex; flex-direction: column; gap: 8px; }
.card-label span, .card-index { color: var(--muted); font: 600 10px ui-monospace, monospace; letter-spacing: .18em; }
.card-label strong { font-size: 19px; line-height: 1.45; }
.card-index { position: absolute; right: 40px; bottom: 42px; }

.statement, .focus, .now, .closing {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.statement { padding: 120px 0 135px; display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.statement-text { max-width: 880px; margin: 0; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.28; letter-spacing: -.045em; }
.statement-text strong { color: var(--accent); font-family: Georgia, "Songti SC", serif; font-weight: 400; }

.focus { padding: 105px 0 125px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 70px; }
.section-heading h2, .now h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.05em; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.focus-card { min-height: 270px; padding: 30px 34px 35px 0; border-right: 1px solid var(--line); }
.focus-card + .focus-card { padding-left: 34px; }
.focus-card:last-child { border-right: 0; }
.focus-card > span { color: var(--accent); font: 700 11px ui-monospace, monospace; }
.focus-card h3 { margin: 70px 0 14px; font-size: 24px; }
.focus-card p { max-width: 300px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.now { padding: 115px 0 125px; display: grid; grid-template-columns: .85fr 1.5fr; gap: 80px; }
.now-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.now-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; min-height: 100px; border-bottom: 1px solid var(--line); }
.now-list span { color: var(--accent); font: 700 11px ui-monospace, monospace; }
.now-list strong { font-size: 19px; }
.now-list small { color: var(--muted); font-size: 13px; }

.closing { padding: 135px 0 85px; display: flex; align-items: end; justify-content: space-between; }
.closing p { margin: 0; font-size: clamp(55px, 8vw, 116px); line-height: 1; letter-spacing: -.07em; font-weight: 750; }
.closing a { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 24px; transition: transform .2s ease, background .2s ease; }
.closing a:hover { transform: translateY(-5px); background: var(--surface); }
footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 32px 0 42px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font: 600 10px ui-monospace, monospace; letter-spacing: .15em; }

@media (max-width: 820px) {
  .site-header { width: min(calc(100% - 32px), var(--max)); height: 76px; grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero, .statement, .focus, .now, .closing, footer { width: min(calc(100% - 32px), var(--max)); }
  .hero { min-height: 0; padding: 76px 0 64px; grid-template-columns: 1fr; gap: 58px; }
  h1 { font-size: clamp(56px, 17vw, 82px); }
  .hero-card { min-height: 390px; }
  .statement { padding: 85px 0 95px; grid-template-columns: 1fr; gap: 20px; }
  .section-heading { display: block; margin-bottom: 48px; }
  .focus { padding: 80px 0 95px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card, .focus-card + .focus-card { min-height: 220px; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .focus-card h3 { margin-top: 50px; }
  .now { padding: 85px 0 95px; grid-template-columns: 1fr; gap: 45px; }
  .now-list li { grid-template-columns: 38px 1fr; padding: 22px 0; }
  .now-list small { grid-column: 2; }
  .closing { padding: 95px 0 70px; align-items: center; }
  .closing a { width: 50px; height: 50px; flex: 0 0 50px; margin-left: 20px; }
  footer { flex-wrap: wrap; gap: 14px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
