:root {
  --ink: #171714;
  --paper: #f4f1ea;
  --paper-deep: #e7e2d8;
  --orange: #ff5c35;
  --acid: #d8f04a;
  --blue: #3d6bf2;
  --line: rgba(23, 23, 20, 0.18);
  --muted: #66655f;
  --shell: min(1240px, calc(100vw - 64px));
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(92px, 12vw, 170px); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 16px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 82px; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, height .25s; }
.site-header.scrolled { height: 70px; background: rgba(244, 241, 234, .92); border-color: var(--line); backdrop-filter: blur(16px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { position: relative; display: grid; grid-template-columns: repeat(3, 8px); align-items: end; gap: 3px; width: 30px; height: 30px; padding: 4px; background: var(--ink); border-radius: 50%; transform: rotate(-12deg); }
.brand-mark span { display: block; width: 8px; background: var(--paper); border-radius: 5px; }
.brand-mark span:nth-child(1) { height: 8px; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 12px; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 17px; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; font-size: 7px; letter-spacing: .3em; }
.main-nav { display: flex; gap: 36px; align-items: center; }
.main-nav a { position: relative; font-size: 13px; text-decoration: none; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--ink); transition: right .25s; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.menu-button { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 12px 8px; cursor: pointer; }
.menu-button span { display: block; width: 100%; height: 1px; background: var(--ink); transition: transform .25s; }
.menu-button span + span { margin-top: 9px; }

.hero { position: relative; min-height: 100vh; padding-top: 82px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { min-height: calc(100vh - 140px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding-block: 70px 100px; }
.eyebrow, .kicker { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow { display: flex; gap: 18px; align-items: center; margin-bottom: 34px; }
.eyebrow span { color: var(--orange); }
.hero h1 { max-width: 760px; font-size: clamp(56px, 7.3vw, 112px); font-weight: 650; line-height: .95; letter-spacing: -.075em; }
.hero h1 em, .contact h2 em { color: var(--orange); font-family: var(--serif); font-weight: 400; }
.hero-lead { max-width: 560px; margin-top: 34px; color: var(--muted); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 40px; }
.button { display: inline-flex; gap: 44px; align-items: center; padding: 15px 20px; border: 1px solid var(--ink); text-decoration: none; font-size: 13px; transition: transform .25s, background .25s, color .25s; }
.button-dark { background: var(--ink); color: #fff; }
.button:hover { transform: translateY(-3px); background: var(--orange); border-color: var(--orange); }
.text-link { font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.time-disc { position: relative; z-index: 2; display: grid; place-items: center; width: min(33vw, 440px); aspect-ratio: 1; border-radius: 50%; background: var(--orange); box-shadow: 30px 34px 0 var(--acid); }
.disc-label { position: absolute; top: 42px; font-size: 10px; font-weight: 700; letter-spacing: .28em; }
.disc-number { color: var(--paper); font-family: var(--serif); font-size: clamp(120px, 14vw, 210px); font-style: italic; line-height: 1; letter-spacing: -.12em; transform: translateX(-8px); }
.disc-hand { position: absolute; width: 3px; height: 34%; background: var(--ink); bottom: 50%; transform-origin: bottom; transform: rotate(42deg); }
.disc-dot { position: absolute; width: 14px; height: 14px; border: 4px solid var(--paper); border-radius: 50%; background: var(--ink); }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 86%; aspect-ratio: 1; }
.orbit-two { width: 106%; aspect-ratio: 1; border-style: dashed; animation: rotate 40s linear infinite; }
.art-note { position: absolute; z-index: 3; font-size: 9px; line-height: 1.4; letter-spacing: .16em; }
.note-top { top: 11%; right: 0; }
.note-bottom { left: 2%; bottom: 12%; }
.hero-ticker { position: absolute; bottom: 0; width: 100%; overflow: hidden; padding: 15px 0; background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: .22em; white-space: nowrap; }
.hero-ticker div { width: max-content; animation: ticker 25s linear infinite; }

.intro { display: grid; grid-template-columns: 1fr 3fr; gap: 60px; }
.section-index { font-size: 10px; font-weight: 700; letter-spacing: .18em; padding-top: 12px; }
.kicker { color: var(--orange); margin-bottom: 26px; }
.intro h2, .section-heading h2 { font-size: clamp(40px, 5.3vw, 74px); font-weight: 500; line-height: 1.15; letter-spacing: -.055em; }
.intro-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px; margin-top: 66px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

.portfolio { background: var(--ink); color: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 70px; }
.section-heading .kicker { color: var(--acid); }
.section-heading h2 { font-family: var(--serif); font-style: italic; font-weight: 400; }
.section-note { max-width: 260px; color: #a7a69e; font-size: 13px; text-align: right; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 70px 22px; }
.project-card { grid-column: span 5; }
.project-card:nth-child(2), .project-card:nth-child(4) { grid-column-start: 8; }
.project-wide { grid-column: span 7; }
.project-card a { display: block; text-decoration: none; }
.project-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.project-media::before { content: ''; position: absolute; width: 70%; height: 70%; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }
.project-media img { position: relative; z-index: 1; width: min(58%, 330px); aspect-ratio: 1; object-fit: cover; border-radius: 24%; box-shadow: 0 26px 70px rgba(0,0,0,.32); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.06) rotate(2deg); }
.rose { background: #ed928b; }
.blue { background: #7699f0; }
.yellow { background: #e3cf55; }
.green { background: #7bbc8b; }
.project-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; }
.project-meta > div { display: flex; align-items: baseline; gap: 13px; }
.project-meta span, .project-meta p { color: #92928c; font-size: 9px; letter-spacing: .12em; }
.project-meta h3 { font-size: 18px; font-weight: 500; }

.principles { display: grid; grid-template-columns: 1fr 3fr; gap: 60px; }
.principle-list { border-top: 1px solid var(--ink); }
.principle { display: grid; grid-template-columns: 70px 1fr 1.5fr; align-items: center; gap: 30px; min-height: 150px; border-bottom: 1px solid var(--line); }
.principle > span { font-size: 10px; }
.principle h3 { font-family: var(--serif); font-size: 36px; font-weight: 400; font-style: italic; }
.principle p { max-width: 390px; color: var(--muted); font-size: 14px; }

.contact { background: var(--orange); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: end; }
.contact .kicker { color: var(--ink); }
.contact h2 { font-size: clamp(54px, 7vw, 100px); font-weight: 600; line-height: .95; letter-spacing: -.07em; }
.contact h2 em { color: var(--paper); }
.mail-link { display: inline-flex; gap: 70px; margin-top: 46px; padding-bottom: 7px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: clamp(14px, 1.5vw, 19px); }
.contact-details { font-style: normal; border-top: 1px solid rgba(23,23,20,.45); }
.contact-details div { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(23,23,20,.28); }
.contact-details span { font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.contact-details p { font-size: 13px; line-height: 1.8; }

.site-footer { padding: 42px 0; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.brand-footer .brand-mark { background: var(--paper); }
.brand-footer .brand-mark span { background: var(--ink); }
.footer-grid > p { color: #8b8b85; font-size: 10px; }
.footer-links { justify-self: end; display: flex; gap: 24px; }
.footer-links a { color: #b7b6af; font-size: 11px; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@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) {
  :root { --shell: min(100% - 40px, 720px); }
  .site-header, .site-header.scrolled { height: 68px; }
  .menu-button { display: block; position: relative; z-index: 52; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 51; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: 90px 10vw; background: var(--acid); transform: translateX(100%); transition: transform .35s ease; }
  .main-nav.open { transform: none; }
  .main-nav a { font-family: var(--serif); font-size: 40px; font-style: italic; }
  .hero { padding-top: 68px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 90px 110px; }
  .hero-copy { z-index: 4; }
  .hero h1 { font-size: clamp(54px, 15vw, 86px); }
  .hero-art { position: absolute; right: -22%; bottom: 60px; width: 70vw; min-height: 70vw; opacity: .26; }
  .time-disc { width: 60vw; }
  .intro, .principles { grid-template-columns: 1fr; }
  .intro-columns { gap: 28px; }
  .project-grid { gap-block: 50px; }
  .project-card, .project-wide, .project-card:nth-child(2), .project-card:nth-child(4) { grid-column: span 6; }
  .contact-grid { grid-template-columns: 1fr; gap: 76px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .section { padding-block: 88px; }
  .hero-grid { min-height: 760px; }
  .hero h1 { letter-spacing: -.065em; }
  .hero-lead { max-width: 88%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .section-index { display: none; }
  .intro h2, .section-heading h2 { font-size: 40px; }
  .intro-columns { grid-template-columns: 1fr; margin-top: 46px; }
  .section-heading { display: block; margin-bottom: 46px; }
  .section-note { margin-top: 24px; text-align: left; }
  .project-grid { display: block; }
  .project-card + .project-card { margin-top: 48px; }
  .project-media { aspect-ratio: 1.12; }
  .project-meta { align-items: start; }
  .project-meta p { text-align: right; }
  .principle { grid-template-columns: 42px 1fr; gap: 10px; padding: 26px 0; }
  .principle p { grid-column: 2; }
  .contact h2 { font-size: 54px; }
  .mail-link { gap: 18px; }
  .contact-details div { grid-template-columns: 58px 1fr; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > p { grid-column: 1 / -1; grid-row: 2; }
}

/* 独立法律页沿用主站品牌，但以高可读性的正文排版为主。 */
.legal-page { min-height: 100vh; padding: 150px 0 110px; }
.legal-wrap { width: min(820px, calc(100vw - 40px)); margin-inline: auto; }
.legal-kicker { color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.legal-page h1 { margin: 16px 0 20px; font-family: var(--serif); font-size: clamp(48px, 7vw, 78px); font-weight: 400; font-style: italic; line-height: 1; }
.legal-updated { padding-bottom: 34px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.legal-copy { padding-top: 20px; }
.legal-copy section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.legal-copy h2 { margin-bottom: 13px; font-size: 18px; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.legal-copy ul { padding-left: 20px; }
.legal-back { display: inline-block; margin-top: 38px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 13px; text-decoration: none; }
