:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --ink: #232b26;
  --muted: #687067;
  --accent: #bd4628;
  --orange: #da5935;
  --line: #dadcd2;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
::selection { background: #eac2a9; color: var(--ink); }
figure, p, h1, h2, h3 { margin: 0; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; stroke-width: 1.6; flex: 0 0 auto; }
.page-shell { width: min(1160px, calc(100% - 112px)); margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; background: var(--ink); color: white; padding: 12px 20px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.accent { color: var(--accent); }

.site-header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 26px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-size: 34px; font-weight: 700; letter-spacing: -1.8px; line-height: 1.2; }
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: 34px; margin-left: 80px; }
.site-header nav a { display: flex; align-items: center; gap: 7px; padding: 12px 0; color: #545b53; font-size: 13px; transition: color .2s; }
.site-header nav a:hover { color: var(--accent); }
.nav-dot { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
.header-note { display: flex; align-items: center; gap: 16px; font: 10px var(--mono); letter-spacing: .4px; color: var(--muted); }
.header-note span { font-size: 21px; color: var(--ink); }

.hero { padding-top: 66px; }
.hero-main { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 35px; }
.hero-copy { padding: 12px 0 22px; animation: enter .6s ease-out both; }
.eyebrow { font-size: 11px; letter-spacing: 2px; display: flex; align-items: center; gap: 9px; color: #4f6353; margin-bottom: 33px; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #6c8062; }
.hero-greeting { font-size: 23px; letter-spacing: 3px; font-weight: 400; }
h1 { font-family: var(--serif); font-size: clamp(96px, 10.6vw, 142px); line-height: 1.02; letter-spacing: -9px; font-weight: 400; display: flex; align-items: center; margin: 4px 0 22px -6px; }
.name-period { color: var(--orange); }
.hero-star { width: 45px; height: 45px; stroke-width: 3; color: var(--orange); align-self: flex-start; margin: 22px 0 0 28px; transform: rotate(12deg); }
.hero-ambition { font-size: clamp(21px, 2vw, 28px); letter-spacing: 1px; font-weight: 600; margin-bottom: 22px; }
.hero-ambition span { position: relative; z-index: 0; }
.hero-ambition span::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 9px; border-top: 2px solid var(--orange); border-radius: 50%; transform: rotate(-2deg); z-index: -1; }
.hero-description { font-size: 14px; color: var(--muted); line-height: 1.95; letter-spacing: .5px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 14px 21px; border-radius: 3px; font-size: 13px; transition: background .2s, transform .2s; }
.button:hover { background: #3e4b40; transform: translateY(-2px); }
.button .icon { width: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; padding: 12px 0; border-bottom: 1px solid transparent; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link span { font-size: 20px; }
.hero-illustration { margin: 5px -6px 0 0; animation: enter .8s .1s ease-out both; }
.hero-illustration img { display: block; width: 100%; height: auto; }
.hero-illustration figcaption { display: flex; justify-content: center; align-items: center; gap: 14px; padding-top: 3px; font-size: 12px; letter-spacing: 2px; color: var(--muted); transform: rotate(-3deg); }
.hero-illustration figcaption span { font-size: 28px; font-family: var(--serif); color: var(--orange); }
.hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 45px 0 29px; border-bottom: 1px solid var(--line); }
.interest-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.interest-tags a { border: 1px solid var(--line); padding: 6px 14px; border-radius: 30px; font-size: 11px; color: #596257; transition: border-color .2s, color .2s; }
.interest-tags a:hover { color: var(--accent); border-color: var(--accent); }
.scroll-note { display: flex; align-items: center; gap: 22px; font: 10px var(--mono); letter-spacing: 1px; color: var(--muted); padding: 5px 0; }
.scroll-note .icon { width: 18px; height: 23px; }

.life-section { padding: 86px 0 89px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 38px; }
.section-kicker { font: 10px var(--mono); letter-spacing: 1.6px; color: var(--muted); margin-bottom: 18px; }
.section-kicker span { color: var(--accent); margin-right: 8px; }
h2 { font-size: clamp(25px, 2.7vw, 34px); font-weight: 500; letter-spacing: 1px; line-height: 1.5; }
.section-description { color: var(--muted); font-size: 12px; line-height: 1.9; padding-bottom: 5px; letter-spacing: .5px; }
.interest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.interest-item { scroll-margin-top: 30px; }
.interest-visual { height: 143px; border-radius: 3px; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 22px; overflow: hidden; }
.interest-visual svg { width: 94px; height: 94px; stroke-width: 1.55; transition: transform .35s; }
.interest-item:hover .interest-visual svg { transform: rotate(-5deg) translateY(-2px); }
.basketball-visual { color: #9d4e31; background: #efdfd2; }
.travel-visual { color: #54654e; background: #e0e5d8; }
.photography-visual { color: #78643e; background: #eee5ce; }
.coding-visual { color: #536564; background: #dfe6e2; }
.interest-number { position: absolute; top: 13px; left: 14px; font: 9px var(--mono); opacity: .8; }
.interest-english { font: 9px var(--mono); letter-spacing: 1.6px; color: var(--muted); margin-bottom: 9px; }
h3 { font-size: 20px; font-weight: 500; margin-bottom: 11px; letter-spacing: 1px; }
.interest-description { color: var(--muted); font-size: 12px; line-height: 1.9; }
.interest-footnote { display: block; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px; font-size: 10px; letter-spacing: .5px; color: var(--muted); }

.moments-section { border-top: 1px solid var(--line); padding: 77px 0 54px; }
.coming-soon { flex-shrink: 0; display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: 1px; border: 1px solid var(--line); border-radius: 30px; padding: 8px 12px; margin-bottom: 9px; color: var(--muted); }
.coming-soon .status-dot { width: 5px; height: 5px; background: var(--orange); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.photo-frame { background: #fbfaf6; padding: 12px; border: 1px solid #dfdfd4; }
.photo-space { aspect-ratio: 4 / 4.7; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 19px; background: #e8e9e0; }
.photo-space-two { background: #eee6dc; }
.photo-space-three { background: #e8e8df; }
.photo-icon { width: 64px; height: 64px; stroke-width: 1; color: #848c79; }
.photo-space-two .photo-icon { color: #a08a76; }
.photo-space-three .photo-icon { color: #8b8b77; }
.photo-placeholder-label { font-size: 11px; letter-spacing: 1px; color: #565e52; }
.frame-corner { position: absolute; width: 15px; height: 15px; border-color: #b3b8a5; border-style: solid; }
.corner-tl { left: 20px; top: 20px; border-width: 1px 0 0 1px; }
.corner-tr { right: 20px; top: 20px; border-width: 1px 1px 0 0; }
.corner-bl { left: 20px; bottom: 20px; border-width: 0 0 1px 1px; }
.corner-br { right: 20px; bottom: 20px; border-width: 0 1px 1px 0; }
.photo-frame figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 3px 10px; font-size: 11px; letter-spacing: .5px; }
.photo-index { font: 8px var(--mono); color: var(--muted); letter-spacing: 1px; }
.photo-note { margin-top: 29px; display: flex; align-items: center; justify-content: center; gap: 13px; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.photo-note svg { width: 17px; height: 17px; stroke-width: 3; color: var(--orange); }
.photo-space img { display: block; width: 100%; height: 100%; object-fit: cover; }

.closing-note { text-align: center; margin: 42px 0 55px; padding: 52px 20px 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing-note .section-kicker { margin-bottom: 20px; }
.closing-title { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.8; letter-spacing: 2px; font-weight: 400; }
.closing-signature { display: block; font-family: var(--serif); font-style: italic; font-size: 30px; letter-spacing: -1px; color: var(--accent); margin-top: 21px; transform: rotate(-6deg); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 36px; }
.site-footer .wordmark { font-size: 28px; }
.site-footer p { color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.back-top { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 11px; color: var(--muted); }
.back-top:hover { color: var(--accent); }
.back-top span { font-size: 21px; }

@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) {
  .hero { padding-top: 78px; }
  .hero-footer { padding-top: 55px; }
}

@media (max-width: 1050px) {
  .page-shell { width: calc(100% - 72px); }
  .header-note { display: none; }
  .site-header nav { margin-left: 0; }
  .hero-main { gap: 8px; }
  .hero-star { width: 32px; height: 32px; margin-left: 17px; }
  .hero-actions { gap: 19px; }
  .hero-illustration { margin-right: -10px; }
  .interest-grid { gap: 20px; }
  .photo-grid { gap: 18px; }
  .photo-frame figcaption { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 760px) {
  .page-shell { width: calc(100% - 44px); }
  .site-header { min-height: 82px; gap: 20px; }
  .wordmark { font-size: 30px; }
  .site-header nav { gap: 22px; }
  .site-header nav a { font-size: 11px; }
  .nav-dot { display: none; }
  .hero { padding-top: 43px; }
  .hero-main { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .hero-copy { padding: 0; min-width: 0; }
  .eyebrow { margin-bottom: 25px; font-size: 10px; }
  .hero-greeting { font-size: 21px; }
  h1 { font-size: clamp(100px, 19vw, 142px); letter-spacing: -6px; margin-left: -4px; margin-bottom: 19px; }
  .hero-star { width: 38px; height: 38px; margin-top: 20px; margin-left: 25px; }
  .hero-ambition { font-size: 24px; margin-bottom: 19px; }
  .hero-description { font-size: 13px; }
  .hero-actions { margin-top: 26px; }
  .hero-illustration { width: min(100%, 450px); justify-self: center; margin: 0; }
  .hero-illustration figcaption { font-size: 11px; padding: 0; margin-top: -8px; }
  .hero-footer { padding: 31px 0 25px; }
  .scroll-note { font-size: 0; gap: 0; }
  .interest-tags { gap: 7px; }
  .interest-tags a { padding: 6px 11px; font-size: 10px; }
  .life-section { padding: 55px 0 53px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-kicker { font-size: 9px; margin-bottom: 13px; letter-spacing: 1.2px; }
  h2 { font-size: 27px; letter-spacing: .3px; }
  .section-description { margin-top: 14px; font-size: 12px; }
  .section-description br { display: none; }
  .interest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; row-gap: 32px; }
  .interest-visual { height: 144px; margin-bottom: 17px; }
  .interest-footnote { font-size: 10px; line-height: 1.6; margin-top: 17px; padding-top: 12px; }
  .moments-section { padding: 53px 0 30px; }
  .coming-soon { display: inline-flex; margin: 17px 0 0; }
  .photo-grid { gap: 14px; }
  .photo-frame { padding: 7px; }
  .photo-space { aspect-ratio: 3 / 4; }
  .photo-placeholder-label { writing-mode: vertical-rl; font-size: 10px; letter-spacing: 2px; }
  .photo-icon { width: 35px; height: 35px; }
  .photo-space { gap: 9px; }
  .frame-corner { width: 8px; height: 8px; }
  .corner-tl, .corner-bl { left: 9px; }
  .corner-tr, .corner-br { right: 9px; }
  .corner-tl, .corner-tr { top: 9px; }
  .corner-bl, .corner-br { bottom: 9px; }
  .photo-frame figcaption { padding: 12px 0 4px; font-size: 10px; }
  .photo-index { font-size: 7px; }
  .photo-note { font-size: 10px; letter-spacing: .3px; gap: 7px; }
  .closing-note { margin: 23px 0 29px; padding: 35px 8px 32px; }
  .closing-title { font-size: 23px; letter-spacing: 1px; }
  .site-footer { padding-bottom: 25px; }
  .site-footer .wordmark { font-size: 25px; }
  .site-footer p { font-size: 9px; letter-spacing: 0; }
  .back-top { font-size: 10px; gap: 7px; }
}

@media (max-width: 420px) {
  .site-header nav { gap: 16px; }
  .site-header { gap: 13px; }
  h1 { font-size: clamp(82px, 26vw, 104px); letter-spacing: -5px; }
  .hero-star { width: 30px; height: 30px; margin: 18px 0 0 17px; }
  .hero-actions { flex-wrap: wrap; gap: 10px 18px; }
  .interest-grid { gap: 29px 17px; }
  .interest-visual { height: 124px; }
  .interest-visual svg { width: 83px; height: 83px; }
  .interest-description { font-size: 11px; }
  .photo-grid { grid-template-columns: 1fr; gap: 20px; }
  .photo-frame { padding: 11px; }
  .photo-space { aspect-ratio: 4 / 3; gap: 17px; }
  .photo-placeholder-label { writing-mode: horizontal-tb; font-size: 11px; letter-spacing: 1px; }
  .photo-icon { width: 54px; height: 54px; }
  .photo-frame figcaption { padding: 17px 3px 8px; font-size: 11px; }
  .photo-index { font-size: 8px; }
  .frame-corner { width: 12px; height: 12px; }
  .corner-tl, .corner-bl { left: 17px; }
  .corner-tr, .corner-br { right: 17px; }
  .corner-tl, .corner-tr { top: 17px; }
  .corner-bl, .corner-br { bottom: 17px; }
  .site-footer { gap: 12px; }
}

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