@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f5f3ed;
  --surface: #ebe8df;
  --text: #20221e;
  --muted: #6f7169;
  --line: rgba(32, 34, 30, 0.16);
  --accent: #e65f3d;
  --accent-hover: #ca4526;
  --sage: #d7e0cb;
  --sage-ink: #25332a;
  --header-bg: rgba(245, 243, 237, 0.88);
  --shadow: 0 24px 70px rgba(40, 43, 35, 0.1);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #181a17;
  --surface: #232620;
  --text: #efeee8;
  --muted: #a6a99f;
  --line: rgba(239, 238, 232, 0.16);
  --accent: #f07a58;
  --accent-hover: #ff9475;
  --sage: #313c32;
  --sage-ink: #e2e9db;
  --header-bg: rgba(24, 26, 23, 0.88);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 240ms ease, color 240ms ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  z-index: 10;
  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='.12'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.site-shell { overflow: hidden; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 18px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.6px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #fff; font-size: 19px; font-weight: 800; }
.brand-dot { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.header-nav > a { position: relative; padding-block: 10px; color: var(--muted); transition: color 180ms ease; }
.header-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--accent); transition: right 180ms ease; }
.header-nav > a:hover { color: var(--text); }
.header-nav > a:hover::after { right: 0; }
.theme-toggle { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.theme-toggle:hover { background: var(--surface); transform: rotate(8deg); }
.theme-toggle svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.moon-icon, :root[data-theme="dark"] .sun-icon { display: none; }
:root[data-theme="dark"] .moon-icon { display: block; }

.hero { min-height: calc(100svh - 92px); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr); gap: 64px; align-items: center; padding-block: 64px 88px; position: relative; }
.hero-copy { padding-bottom: 22px; }
.eyebrow, .section-kicker { margin: 0; font-size: 11px; line-height: 1.4; font-weight: 650; letter-spacing: 2px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 12%, transparent); }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(64px, 7.1vw, 104px); letter-spacing: -0.065em; line-height: 1.14; margin: 30px 0 28px; }
h1 .name { white-space: nowrap; }
.accent { color: var(--accent); }
.hero-intro { color: var(--muted); font-size: 16px; line-height: 1.9; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.button { min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border-radius: 100px; font-size: 14px; font-weight: 600; transition: background 180ms ease, transform 180ms ease; }
.button svg, .arrow-link svg, .project-link svg, .footer-domain svg, .back-to-top svg { width: 18px; height: 18px; }
.button-primary { background: var(--text); color: var(--bg); }
.button-primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; padding-block: 12px; }
.arrow-link svg, .project-link svg, .footer-domain svg { transition: transform 180ms ease; }
.arrow-link:hover svg, .project-card:hover .project-link svg, .footer-domain:hover svg { transform: translate(3px, -3px); }

.hero-visual { position: relative; width: 100%; max-width: 450px; justify-self: end; }
.visual-card { aspect-ratio: 0.87; position: relative; overflow: hidden; background: var(--sage); color: var(--sage-ink); border-radius: 3px 3px 70px 3px; box-shadow: var(--shadow); transition: background-color 240ms ease; }
.card-topline { position: absolute; z-index: 2; top: 28px; left: 30px; right: 30px; display: flex; justify-content: space-between; font-size: 9px; font-weight: 650; letter-spacing: 1.8px; }
.monogram { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); font-family: Georgia, "Times New Roman", serif; font-size: clamp(230px, 24vw, 350px); line-height: 1; font-weight: 400; letter-spacing: -0.12em; z-index: 1; }
.orbit { position: absolute; border: 1px solid currentColor; border-radius: 50%; opacity: 0.22; left: 50%; top: 47%; transform: translate(-50%, -50%) rotate(-22deg); }
.orbit-outer { width: 116%; aspect-ratio: 1; }
.orbit-inner { width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(35deg) scaleY(0.72); }
.orbit-dot { width: 14px; height: 14px; border-radius: 50%; position: absolute; background: var(--accent); top: 17%; right: 17%; box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 12%, transparent); }
.vertical-note { position: absolute; right: 25px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); font-size: 8px; letter-spacing: 2.5px; opacity: 0.68; }
.card-caption { position: absolute; left: 30px; right: 30px; bottom: 28px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 2px; }
.visual-sticker { position: absolute; width: 112px; height: 112px; border-radius: 50%; background: var(--accent); color: #fff; left: -42px; bottom: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; line-height: 1.25; font-weight: 750; letter-spacing: 0.8px; transform: rotate(-12deg); box-shadow: 0 14px 35px color-mix(in srgb, var(--accent) 25%, transparent); }
.visual-sticker svg { width: 25px; height: 25px; margin-top: 5px; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; letter-spacing: 1.8px; }
.scroll-label { display: inline-flex; align-items: center; gap: 12px; }
.scroll-line { width: 35px; height: 1px; background: var(--muted); }

.section { padding-block: 130px; border-top: 1px solid var(--line); }
.section-kicker { color: var(--muted); display: flex; align-items: center; gap: 16px; }
.section-kicker > span { color: var(--accent); font-size: 10px; letter-spacing: 0; }
.section h2, .site-footer h2 { font-family: var(--serif); font-size: clamp(38px, 4.1vw, 58px); font-weight: 600; line-height: 1.35; letter-spacing: -0.045em; margin: 26px 0 0; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-lead { font-size: 24px; line-height: 1.65; letter-spacing: -0.02em; margin: 0 0 22px; }
.about-description { color: var(--muted); font-size: 15px; line-height: 2; max-width: 470px; margin: 0; }
.principles { list-style: none; margin: 48px 0 0; padding: 0; }
.principles li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding-block: 22px; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principle-number { font-size: 10px; color: var(--accent); padding-top: 5px; }
.principles h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.principles p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0; }

.project-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 54px; }
.project-heading h2 { margin: 0; }
.project-card { display: grid; grid-template-columns: 0.84fr 1.16fr; min-height: 560px; background: #1d3029; color: #f1f3ed; border-radius: 4px 4px 70px 4px; overflow: hidden; }
.project-info { padding: 44px 24px 44px 44px; display: flex; flex-direction: column; justify-content: space-between; }
.project-label { display: flex; align-items: center; gap: 9px; font-size: 9px; letter-spacing: 1.7px; color: #b3bcb3; }
.project-dot { width: 6px; height: 6px; background: #cde99f; border-radius: 50%; }
.project-info h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 5.8vw, 78px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.98; margin: 40px 0 26px; }
.project-period { color: #cde99f; }
.project-info p { font-size: 14px; line-height: 1.9; color: #bfc7bf; margin: 0; }
.project-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; width: fit-content; padding-bottom: 7px; border-bottom: 1px solid rgba(241, 243, 237, 0.45); }
.project-art { padding: 44px 44px 44px 24px; display: flex; }
.bio-window { background: #e7eddf; color: #203128; flex: 1; display: flex; flex-direction: column; border-radius: 2px 2px 38px 2px; overflow: hidden; transition: transform 350ms cubic-bezier(.2,.7,.2,1); }
.project-card:hover .bio-window { transform: translateY(-6px) rotate(0.5deg); }
.bio-window-top, .bio-window-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; font-size: 9px; letter-spacing: 1.5px; }
.mini-brand { font-size: 14px; font-weight: 700; letter-spacing: -0.5px; }
.mini-brand span { color: #6b8947; }
.window-pill { border: 1px solid rgba(32, 49, 40, 0.24); padding: 6px 9px; border-radius: 30px; font-size: 7px; }
.bio-display { flex: 1; position: relative; padding: 34px 28px; overflow: hidden; }
.bio-overline { font-size: 8px; letter-spacing: 2px; }
.bio-title { position: relative; z-index: 2; display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 4.4vw, 66px); line-height: 0.95; letter-spacing: -0.045em; margin-top: 25px; }
.bio-title em { font-weight: 400; color: #58733e; }
.bio-rings { position: absolute; width: 280px; height: 280px; right: -66px; bottom: -58px; display: grid; place-items: center; }
.bio-rings i { position: absolute; inset: 0; border: 1px solid #77915e; border-radius: 50%; opacity: 0.55; }
.bio-rings i:nth-child(2) { inset: 30px; }
.bio-rings i:nth-child(3) { inset: 60px; }
.bio-rings b { font-family: Georgia, serif; font-size: 110px; font-weight: 400; color: #58733e; }
.bio-window-bottom { border-top: 1px solid rgba(32, 49, 40, 0.16); }
.bio-window-bottom span:last-child { font-size: 20px; }

.site-footer { padding-block: 110px 0; }
.footer-main { position: relative; padding-bottom: 100px; }
.footer-domain { position: absolute; right: 0; bottom: 110px; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.footer-bottom { min-height: 86px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: var(--muted); font-size: 11px; }
.footer-bottom p:nth-child(2) { text-align: center; }
.back-to-top { justify-self: end; display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.back-to-top svg { width: 16px; height: 16px; transition: transform 180ms ease; }
.back-to-top:hover svg { transform: translateY(-3px); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1500px) {
  .hero { padding-block: 80px 100px; }
  .hero-visual { max-width: 480px; }
}

@media (max-width: 1000px) {
  .container { width: min(100% - 56px, 1200px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(310px, 0.76fr); gap: 40px; }
  h1 { font-size: clamp(58px, 7.6vw, 80px); }
  .hero-intro { font-size: 14px; }
  .visual-sticker { width: 92px; height: 92px; left: -28px; font-size: 11px; }
  .about { gap: 56px; }
  .project-card { grid-template-columns: 0.9fr 1.1fr; min-height: 510px; }
  .project-info { padding: 34px 16px 34px 34px; }
  .project-art { padding: 34px 34px 34px 16px; }
  .bio-display { padding: 28px 20px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 30px; }
  .container { width: calc(100% - 40px); }
  .site-header { height: 76px; }
  .brand { font-size: 18px; gap: 10px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 9px; font-size: 17px; }
  .header-nav { gap: 20px; font-size: 13px; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 58px; padding-block: 62px 94px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  h1 { font-size: clamp(56px, 16vw, 82px); margin-block: 26px 24px; }
  .hero-intro { font-size: 15px; }
  .hero-actions { margin-top: 30px; gap: 24px; }
  .button { min-height: 48px; padding-inline: 21px; gap: 22px; }
  .arrow-link { font-size: 13px; }
  .hero-visual { width: calc(100% - 22px); max-width: 440px; justify-self: end; }
  .visual-card { border-radius: 3px 3px 54px 3px; }
  .monogram { font-size: clamp(240px, 82vw, 340px); }
  .visual-sticker { left: -24px; bottom: 40px; }
  .hero-coordinate { display: none; }
  .hero-foot { bottom: 30px; }
  .section { padding-block: 88px; }
  .section h2, .site-footer h2 { font-size: clamp(36px, 10vw, 48px); }
  .about { grid-template-columns: 1fr; gap: 52px; }
  .about-lead { font-size: 22px; }
  .about-description { font-size: 14px; }
  .principles { margin-top: 36px; }
  .project-heading { display: block; margin-bottom: 36px; }
  .project-heading h2 { margin-top: 24px; }
  .project-card { grid-template-columns: 1fr; border-radius: 4px 4px 50px 4px; }
  .project-info { min-height: 470px; padding: 30px; }
  .project-info h3 { font-size: 66px; }
  .project-art { padding: 0 30px 30px; min-height: 440px; }
  .bio-window-top, .bio-window-bottom { padding: 20px; }
  .bio-display { padding: 26px 20px; }
  .bio-title { font-size: 56px; }
  .site-footer { padding-top: 86px; }
  .footer-main { padding-bottom: 76px; }
  .footer-domain { position: static; margin-top: 36px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 10px; min-height: 100px; }
  .footer-bottom p:nth-child(2) { display: none; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .site-header { gap: 10px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; font-size: 16px; }
  .header-nav { gap: 10px; font-size: 12px; }
  .theme-toggle { width: 32px; height: 32px; flex-shrink: 0; }
  .hero-actions { gap: 18px; }
  .button { padding-inline: 18px; gap: 16px; }
  .project-info { padding: 26px; }
  .project-art { padding: 0 26px 26px; }
}

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