:root {
  color-scheme: light;
  --bg: #f5f8ff;
  --bg-soft: rgba(255, 255, 255, 0.42);
  --bg-strong: rgba(255, 255, 255, 0.58);
  --ink: #111827;
  --muted: #5f6b7a;
  --line: rgba(255, 255, 255, 0.62);
  --line-dark: rgba(17, 24, 39, 0.1);
  --teal: #26a69a;
  --teal-deep: #086d68;
  --coral: #ff7a66;
  --amber: #d59b32;
  --blue: #4c7dff;
  --violet: #8b7dff;
  --glass: rgba(255, 255, 255, 0.44);
  --glass-strong: rgba(255, 255, 255, 0.68);
  --glass-faint: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 80px rgba(42, 59, 89, 0.16);
  --shadow-soft: 0 12px 34px rgba(42, 59, 89, 0.1);
  --radius: 8px;
  --max: 1160px;
  --header-height: 72px;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-display:
    "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI",
    "Microsoft YaHei", sans-serif;
  --font-art:
    "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI",
    "Microsoft YaHei", sans-serif;
  font-family:
    var(--font-sans);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e121b;
  --bg-soft: rgba(24, 31, 45, 0.48);
  --bg-strong: rgba(31, 40, 58, 0.62);
  --ink: #f4f7fb;
  --muted: #aab7c8;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(255, 255, 255, 0.1);
  --teal: #67e0d2;
  --teal-deep: #b4fff6;
  --coral: #ff9a88;
  --amber: #f3c36e;
  --blue: #8fb1ff;
  --violet: #b8adff;
  --glass: rgba(28, 36, 54, 0.48);
  --glass-strong: rgba(35, 45, 67, 0.72);
  --glass-faint: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(76, 125, 255, 0.12), transparent 31%),
    linear-gradient(238deg, rgba(38, 166, 154, 0.14), transparent 38%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 42%, #f8fbff 100%);
}

[data-theme="dark"] body {
  background:
    linear-gradient(120deg, rgba(76, 125, 255, 0.16), transparent 34%),
    linear-gradient(238deg, rgba(38, 166, 154, 0.12), transparent 42%),
    linear-gradient(180deg, #0e121b 0%, #141b2a 54%, #10141f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--coral), var(--amber));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--ink);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header[data-elevated="true"] {
  background: color-mix(in srgb, var(--glass-strong) 76%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.18)),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), var(--shadow-soft);
  font-weight: 800;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  font-size: 0.94rem;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), var(--shadow-soft);
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  background: var(--glass-strong);
}

.icon-button svg,
.button svg,
.tab-button svg,
.skill-icon svg,
.action-card svg,
.top-link svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, 86vh);
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-background {
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.76) 0%, rgba(225, 239, 255, 0.82) 32%, rgba(241, 253, 250, 0.9) 64%, rgba(255, 247, 235, 0.82) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
}

[data-theme="dark"] .hero-background {
  background:
    linear-gradient(118deg, rgba(14, 18, 27, 0.96) 0%, rgba(25, 35, 60, 0.94) 35%, rgba(16, 49, 55, 0.9) 68%, rgba(45, 34, 54, 0.88) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
}

.hero-background::before,
.hero-background::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  height: 220px;
  transform: rotate(-8deg);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  filter: blur(2px);
}

.hero-background::before {
  top: 90px;
}

.hero-background::after {
  bottom: 74px;
  transform: rotate(7deg);
  opacity: 0.66;
}

.glass-sheet,
.liquid-line {
  position: absolute;
  display: block;
  pointer-events: none;
}

.glass-sheet {
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -28px 60px rgba(255, 255, 255, 0.16),
    0 28px 100px rgba(76, 125, 255, 0.16);
  backdrop-filter: blur(32px) saturate(175%);
  -webkit-backdrop-filter: blur(32px) saturate(175%);
}

.sheet-one {
  width: min(38vw, 520px);
  height: 280px;
  right: 8%;
  top: 118px;
  transform: rotate(-10deg);
}

.sheet-two {
  width: min(46vw, 620px);
  height: 230px;
  left: 46%;
  bottom: 108px;
  transform: rotate(8deg);
}

.sheet-three {
  width: 290px;
  height: 180px;
  left: 8%;
  top: 136px;
  transform: rotate(13deg);
  opacity: 0.72;
}

.liquid-line {
  left: -10%;
  right: -10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 125, 255, 0.42), rgba(38, 166, 154, 0.46), transparent);
  box-shadow: 0 0 26px rgba(76, 125, 255, 0.22);
}

.line-one {
  top: 36%;
  transform: rotate(-5deg);
}

.line-two {
  top: 58%;
  transform: rotate(4deg);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(245, 248, 255, 0.42) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.22) 52%, rgba(255, 255, 255, 0.55));
}

[data-theme="dark"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(14, 18, 27, 0.1), rgba(14, 18, 27, 0.42) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(14, 18, 27, 0.6), rgba(14, 18, 27, 0.18) 52%, rgba(14, 18, 27, 0.42));
}

.hero-content {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 76px) 0 150px;
  color: var(--ink);
}

.hero-content::before {
  content: "";
  position: absolute;
  left: max(18px, calc((100% - var(--max)) / 2));
  bottom: 106px;
  width: min(720px, calc(100% - 36px));
  height: min(440px, 64vh);
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.22)),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -38px 80px rgba(255, 255, 255, 0.18),
    var(--shadow);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 12px;
  color: var(--teal-deep);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero .eyebrow {
  max-width: 660px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-art);
  font-size: clamp(3.8rem, 9vw, 7.2rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-lead {
  width: min(650px, 100%);
  margin: 26px 0 0;
  font-size: clamp(1.08rem, 2.1vw, 1.46rem);
  line-height: 1.72;
  color: var(--muted);
  overflow-wrap: anywhere;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 750;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}

.hero-panel {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(var(--max), calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.hero-panel span {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  color: var(--ink);
  font-weight: 720;
  background: rgba(255, 255, 255, 0.16);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
}

.section-heading.centered {
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.focus-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 760;
}

.section-heading p:not(.section-kicker),
.focus-panel p,
.direction-panel p,
.skill-card p,
.timeline-item p,
.stat-card p,
.action-card p,
.principle-card p,
.rhythm-item p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.stat-card,
.timeline-item,
.skill-card,
.action-card,
.principle-card,
.rhythm-item,
.direction-panel,
.focus-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.16)),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
}

.stat-card {
  padding: 28px;
  min-height: 214px;
}

.stat-number {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.84;
  font-weight: 850;
}

.stat-card h3,
.timeline-item h3,
.skill-card h3,
.action-card h3,
.principle-card h3,
.rhythm-item strong {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.story-band,
.workwith-band {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.26), transparent 36%),
    var(--bg-soft);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark), transparent);
}

.timeline-item {
  position: relative;
  padding: 78px 22px 24px;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 20px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 4px solid var(--teal);
  z-index: 1;
  box-shadow: 0 0 24px rgba(38, 166, 154, 0.26);
}

.timeline-item.highlight {
  border-color: color-mix(in srgb, var(--coral) 44%, var(--line));
}

.timeline-item.highlight::before {
  border-color: var(--coral);
  box-shadow: 0 0 24px rgba(255, 122, 102, 0.28);
}

.timeline-year {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--muted);
  font-weight: 850;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: start;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.reverse .sticky-heading {
  order: 2;
}

.sticky-heading {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.skill-list {
  display: grid;
  gap: 16px;
}

.skill-card {
  padding: 26px;
}

.skill-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal-deep);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.skill-bar {
  height: 8px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  overflow: hidden;
}

.skill-bar span {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--coral));
}

.growth-band {
  background:
    linear-gradient(90deg, rgba(76, 125, 255, 0.09), transparent 45%),
    var(--bg);
}

.growth-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.growth-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.action-card {
  min-height: 244px;
  padding: 24px;
}

.action-card svg {
  margin-bottom: 30px;
  color: var(--coral);
}

.direction-shell {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.tab-list {
  display: grid;
  gap: 10px;
}

.tab-button {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)),
    var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-soft);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.tab-button:hover,
.tab-button.active {
  transform: translateX(2px);
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  background: var(--glass-strong);
}

.direction-panel {
  min-height: 360px;
  padding: clamp(24px, 4vw, 44px);
}

.direction-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  line-height: 1.1;
}

.direction-panel ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.direction-panel li {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink);
  font-weight: 720;
}

.rhythm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rhythm-item {
  padding: 24px;
}

.rhythm-item span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.rhythm-item strong {
  display: block;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.principle-card {
  padding: 24px;
  min-height: 236px;
}

.principle-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 850;
}

.focus {
  padding-top: 70px;
}

.focus-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist label {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.checklist label:has(input:checked) {
  border-color: color-mix(in srgb, var(--teal) 60%, var(--line));
  background: rgba(255, 255, 255, 0.5);
}

.checklist input {
  width: 19px;
  height: 19px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--glass-faint);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.footer-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer strong {
  font-size: 1.1rem;
}

.site-footer p {
  margin: 7px 0 0;
}

.top-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

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

@media (max-width: 940px) {
  .menu-button {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 8px;
    border-radius: 22px;
    transform-origin: top;
    transform: scaleY(0.96) translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    transform: scaleY(1) translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    padding-bottom: 184px;
  }

  .hero-content::before {
    height: min(500px, 70vh);
  }

  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
  }

  .snapshot-grid,
  .timeline,
  .growth-actions,
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .split-layout,
  .split-layout.reverse,
  .growth-layout,
  .direction-shell,
  .focus-panel {
    grid-template-columns: 1fr;
  }

  .reverse .sticky-heading {
    order: 0;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .sheet-one {
    width: 330px;
    height: 220px;
    right: -112px;
    top: 110px;
  }

  .sheet-two {
    width: 420px;
    height: 190px;
    left: 34px;
    bottom: 124px;
  }

  .sheet-three {
    left: -96px;
    top: 210px;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding-bottom: 194px;
  }

  .hero-content::before {
    left: 14px;
    bottom: 92px;
    width: calc(100% - 28px);
    height: 540px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 22vw, 5.2rem);
  }

  .hero .eyebrow {
    max-width: 92%;
    font-size: 0.7rem;
    line-height: 1.45;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    width: calc(100% - 28px);
    bottom: 18px;
  }

  .hero-panel span {
    min-height: 48px;
    font-size: 0.88rem;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
  }

  .snapshot-grid,
  .timeline,
  .growth-actions,
  .rhythm-list,
  .principle-grid,
  .direction-panel ul {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .skill-card,
  .action-card,
  .principle-card,
  .rhythm-item {
    padding: 22px;
  }

  .direction-panel {
    min-height: auto;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

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

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