:root {
  --paper: #f4f1e8;
  --paper-deep: #e9e4d8;
  --ink: #12192a;
  --ink-soft: #3c4350;
  --muted: #73766f;
  --line: rgba(18, 25, 42, 0.18);
  --blue: #2f5cff;
  --blue-soft: #cbd6ff;
  --coral: #ff6b4a;
  --white: #fffdf7;
  --shadow: 0 28px 80px rgba(18, 25, 42, 0.17);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  z-index: 99;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 10px 14px; background: var(--ink); color: var(--white);
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(244, 241, 232, 0.88);
  backdrop-filter: blur(18px) saturate(135%);
  border-bottom: 1px solid var(--line);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.05; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; color: var(--white); background: var(--ink);
  font-family: var(--serif); font-size: 20px; font-style: italic;
  box-shadow: inset -8px -5px 0 var(--blue);
}
.brand strong { display: block; font-size: 15px; letter-spacing: .02em; }
.brand small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { position: relative; font-size: 14px; font-weight: 650; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px;
  height: 2px; background: var(--blue); transition: right .24s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .78fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: center;
  padding-block: 72px 82px;
}
.eyebrow, .section-index {
  margin: 0 0 28px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 750;
  color: var(--muted);
}
.eyebrow span { color: var(--blue); margin-right: 8px; }
.hero h1, .section-heading h2, .closing h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero h1 { margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .99; }
.hero h1 span { color: var(--blue); font-style: italic; }
.hero-lead { max-width: 610px; margin: 30px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.9; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 750; font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 10px 24px rgba(18, 25, 42, .16); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18, 25, 42, .25); background: var(--blue); }
.text-link { font-size: 14px; font-weight: 750; border-bottom: 1px solid var(--ink); padding-block: 5px; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.identity-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 38px 0 0; list-style: none; }
.identity-list li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; color: var(--ink-soft); font-size: 13px; background: rgba(255, 255, 255, .28); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 430px); }
.visual-frame {
  position: relative; overflow: hidden; border-radius: 210px 210px 24px 24px;
  background: var(--blue-soft); box-shadow: var(--shadow); aspect-ratio: 4/5;
  border: 1px solid rgba(18, 25, 42, .12);
}
.visual-frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  pointer-events: none;
}
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.visual-caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  padding: 16px 18px; display: flex; justify-content: space-between; align-items: end;
  color: var(--white); background: rgba(18, 25, 42, .82); border-radius: 14px;
  backdrop-filter: blur(10px);
}
.visual-caption > span { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--coral); }
.visual-caption p { margin: 0; text-align: right; font-size: 10px; letter-spacing: .16em; }
.visual-caption b { display: block; margin-top: 5px; font-size: 13px; letter-spacing: .04em; }
.orbit-note {
  position: absolute; width: 92px; height: 92px; right: -22px; top: 18%;
  display: grid; place-items: center; text-align: center; border-radius: 50%;
  color: var(--ink); background: var(--coral); font-size: 10px; font-weight: 850;
  letter-spacing: .14em; line-height: 1.35; transform: rotate(9deg);
}

.marquee { overflow: hidden; background: var(--blue); color: white; transform: rotate(-1deg) scale(1.02); }
.marquee div {
  width: max-content; display: flex; align-items: center; gap: 26px; padding: 15px 0;
  font-size: 13px; font-weight: 850; letter-spacing: .15em;
  animation: marquee 24s linear infinite;
}
.marquee i { color: var(--coral); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding-block: clamp(90px, 11vw, 150px); }
.section-heading { display: grid; grid-template-columns: .32fr 1fr; gap: 24px; align-items: start; margin-bottom: 68px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 5.5vw, 68px); line-height: 1.08; }
.about-grid { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.about-intro { max-width: 670px; }
.about-intro p { color: var(--ink-soft); font-size: 17px; line-height: 1.95; }
.about-intro .dropcap { margin-top: 0; color: var(--ink); font-size: clamp(21px, 2.2vw, 29px); line-height: 1.72; font-family: var(--serif); }
.dropcap::first-letter { float: left; color: var(--blue); font-size: 76px; line-height: .8; padding: 12px 11px 2px 0; }
.status-board { border-top: 1px solid var(--ink); }
.status-board > div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.status-board span { font-size: 11px; letter-spacing: .15em; color: var(--blue); font-weight: 800; }
.status-board strong { font-size: 15px; }

.section-dark { background: var(--ink); color: var(--white); }
.section-heading.light .section-index { color: var(--blue-soft); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.capability {
  min-height: 330px; padding: 28px; display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.16); border-radius: 22px;
  background: rgba(255,255,255,.045); transition: transform .25s ease, background .25s ease;
}
.capability:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.capability > span { color: var(--blue-soft); font-family: var(--serif); font-size: 18px; }
.capability .icon {
  width: 54px; height: 54px; margin: 46px 0 28px; display: grid; place-items: center;
  color: var(--ink); background: var(--coral); border-radius: 50%;
}
.icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.capability:nth-child(2) .icon { background: var(--blue-soft); }
.capability:nth-child(3) .icon { background: var(--white); }
.capability h3 { margin: auto 0 10px; font-size: 21px; }
.capability p { margin: 0; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.8; }
.work-strip { margin-top: 90px; }
.work-strip > p { margin-bottom: 24px; color: var(--blue-soft); font-size: 11px; letter-spacing: .18em; font-weight: 800; }
.work-row { display: flex; align-items: center; justify-content: space-between; padding: 21px 0; border-top: 1px solid rgba(255,255,255,.18); }
.work-row:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.work-row span { font-family: var(--serif); font-size: clamp(22px, 3vw, 38px); }
.work-row b { color: var(--coral); font-family: var(--serif); font-style: italic; }

.notes-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 16px; }
.note-card {
  position: relative; min-height: 260px; padding: 28px; border: 1px solid var(--line);
  border-radius: 20px; background: rgba(255,255,255,.32); overflow: hidden;
}
.note-card:nth-child(3) { grid-column: 2; }
.note-featured { grid-row: span 2; min-height: 536px; background: var(--blue); color: white; border-color: transparent; }
.note-featured::after {
  content: ""; position: absolute; width: 280px; height: 280px; right: -86px; bottom: -98px;
  border: 54px solid var(--coral); border-radius: 50%; opacity: .88;
}
.note-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.note-featured .note-meta { color: rgba(255,255,255,.7); }
.note-meta span { font-weight: 800; }
.note-card h3 { margin: 56px 0 0; max-width: 500px; font-family: var(--serif); font-size: clamp(24px, 3vw, 42px); font-weight: 500; line-height: 1.22; }
.note-card:not(.note-featured) h3 { font-size: 27px; margin-top: 38px; }
.note-card p { max-width: 540px; margin-top: 22px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.8; }
.note-number { position: absolute; left: 28px; bottom: 24px; color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.note-featured .note-number { color: rgba(255,255,255,.65); }

.life-section { padding-block: clamp(90px, 11vw, 150px); background: var(--paper-deep); }
.life-grid { display: grid; grid-template-columns: .9fr .78fr .7fr; gap: clamp(26px, 4vw, 58px); align-items: center; }
.life-section .section-heading { display: block; margin: 0; }
.life-section .section-heading h2 { margin-bottom: 28px; }
.life-copy { max-width: 520px; color: var(--ink-soft); line-height: 1.9; }
.life-poster {
  position: relative; min-height: 520px; padding: 36px 28px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white); background: var(--blue); border-radius: 180px 180px 18px 18px;
  box-shadow: var(--shadow);
}
.life-poster::before {
  content: ""; position: absolute; inset: 12% -35% auto; height: 160px;
  background: var(--coral); border-radius: 50%; transform: rotate(-12deg);
}
.life-poster p { position: relative; margin: -4px 0; font-family: var(--serif); font-size: clamp(52px, 6vw, 78px); font-style: italic; line-height: 1; letter-spacing: -.06em; }
.life-poster p:nth-child(2) { color: var(--ink); -webkit-text-stroke: 1px var(--white); margin-left: 16%; }
.life-poster p:nth-child(3) { margin-left: 5%; }
.life-poster span { position: absolute; left: 28px; bottom: 26px; font-size: 11px; letter-spacing: .15em; }
.life-list { margin: 0; padding: 0; list-style: none; }
.life-list li { padding: 20px 0; display: grid; grid-template-columns: 38px 1fr; border-bottom: 1px solid var(--line); }
.life-list li:first-child { border-top: 1px solid var(--ink); }
.life-list span { color: var(--blue); font-family: var(--serif); font-style: italic; }
.life-list b { font-size: 17px; }
.life-list small { grid-column: 2; color: var(--muted); font-size: 13px; margin-top: 3px; }

.closing { padding-block: clamp(100px, 14vw, 190px); text-align: center; }
.closing .section-index { color: var(--blue); }
.closing h2 { margin: 0 auto; max-width: 800px; font-size: clamp(46px, 7vw, 86px); line-height: 1; }
.closing > p:not(.section-index) { margin: 30px auto; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
.footer .shell { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer p { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr .72fr; gap: 38px; }
  .hero h1 { font-size: clamp(44px, 7vw, 68px); }
  .section-heading { grid-template-columns: 1fr; gap: 0; }
  .about-grid { grid-template-columns: 1fr .8fr; gap: 45px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 240px; }
  .capability .icon { margin: 28px 0 20px; }
  .life-grid { grid-template-columns: 1fr 1fr; }
  .life-section .section-heading { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .nav { height: 66px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; display: grid; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 18px 24px; border-top: 1px solid var(--line); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 54px 76px; }
  .hero-copy { order: 1; }
  .hero-visual { width: min(86%, 390px); justify-self: center; order: 2; }
  .hero-lead br { display: none; }
  .orbit-note { right: -18px; }
  .section { padding-block: 86px; }
  .section-heading { margin-bottom: 44px; }
  .about-grid, .notes-grid, .life-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 44px; }
  .note-card:nth-child(3) { grid-column: auto; }
  .note-featured { min-height: 450px; }
  .note-card:not(.note-featured) { min-height: 235px; }
  .life-section .section-heading { grid-column: auto; }
  .life-poster { width: min(88%, 390px); min-height: 470px; justify-self: center; }
  .footer .shell { padding-block: 30px; flex-direction: column; text-align: center; }
}

@media (max-width: 410px) {
  .hero h1 { font-size: 42px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .visual-frame { border-radius: 140px 140px 18px 18px; }
  .orbit-note { width: 78px; height: 78px; font-size: 9px; }
}
