:root {
  color-scheme: light;
  --paper: #f0eee7;
  --ink: #20231f;
  --muted: #61645c;
  --accent: #ff623b;
  --line: #cecec3;
  --gutter: clamp(22px, 5.5vw, 88px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 6px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
a:hover { text-decoration: underline; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.9; overflow-wrap: anywhere; }
section[id] { scroll-margin-top: 28px; }
::selection { background: var(--accent); color: var(--ink); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px var(--gutter);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid #45483f;
}
.wordmark { font-size: 30px; font-weight: 800; letter-spacing: -1.8px; text-decoration: none; }
nav { display: flex; gap: clamp(22px, 3.5vw, 50px); }
nav a { font-size: 14px; text-decoration: none; padding: 10px 0; }

.hero { background: var(--ink); color: var(--paper); padding: 54px var(--gutter) 48px; }
.signal { display: flex; align-items: center; gap: 5px; width: 120px; height: 40px; margin-bottom: 44px; }
.signal i { width: 3px; height: 20%; background: var(--accent); }
.signal i:nth-child(3n) { height: 65%; }
.signal i:nth-child(4n) { height: 100%; }
.signal i:nth-child(5n) { height: 40%; }
h1 { max-width: 1000px; font-size: clamp(48px, 8.2vw, 124px); line-height: 1.17; font-weight: 650; letter-spacing: -.055em; text-wrap: balance; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 52px; }
.intro { max-width: 580px; font-size: clamp(16px, 1.4vw, 20px); color: #c9ccbf; }
.round-link { flex: 0 0 52px; height: 52px; border: 1px solid #777c6d; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 25px; }
.round-link:hover { background: var(--accent); color: var(--ink); text-decoration: none; border-color: var(--accent); }

.section-grid { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr); gap: 42px; padding: 80px var(--gutter); }
h2 { font-size: 18px; font-weight: 550; line-height: 1.6; }
.section-number { display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.about > p { max-width: 920px; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.85; letter-spacing: -.025em; }
.works { border-top: 1px solid var(--line); }
.work-list { display: grid; gap: 24px; }
.work-card { position: relative; border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 50px); background: #e8e7df; }
.work-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 40px; height: 3px; background: var(--accent); }
.work-index { display: block; font-size: 12px; color: var(--muted); margin-bottom: 32px; font-variant-numeric: tabular-nums; }
h3 { font-size: clamp(23px, 2.35vw, 34px); font-weight: 550; line-height: 1.5; letter-spacing: -.025em; text-wrap: pretty; }
.work-card p { margin-top: 23px; color: #4c5047; font-size: 16px; max-width: 760px; }

.live { background: var(--ink); color: var(--paper); }
.live .section-number { color: #a1a796; }
.live-list { list-style: none; margin: 0; padding: 0; }
.live-list li { padding: 28px 0; border-top: 1px solid #505449; }
.live-list li:last-child { border-bottom: 1px solid #505449; }
.live-list p { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.8; }
.live-list a { display: inline-flex; align-items: center; gap: 24px; color: #ff9475; font-size: 14px; min-height: 44px; margin-top: 12px; text-decoration: none; }
.live-list a:hover { text-decoration: underline; }
.live-list a span { font-size: 20px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px var(--gutter); border-top: 1px solid #505449; background: var(--ink); color: #bac0ad; font-size: 12px; }
footer a { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; text-decoration: none; }

@media (min-width: 1600px) {
  .hero, .section-grid { padding-left: max(var(--gutter), calc((100vw - 1440px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1440px) / 2)); }
}
@media (max-width: 700px) {
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .wordmark { font-size: 26px; }
  nav { gap: 22px; }
  .hero { padding-top: 38px; padding-bottom: 36px; }
  .signal { margin-bottom: 30px; }
  h1 { font-size: clamp(46px, 10.5vw, 72px); }
  .hero-bottom { margin-top: 36px; align-items: flex-start; gap: 20px; }
  .intro { font-size: 16px; }
  .round-link { flex-basis: 42px; height: 42px; font-size: 21px; }
  .section-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 48px; padding-bottom: 48px; }
  h2 { display: flex; align-items: baseline; gap: 16px; }
  .section-number { margin-bottom: 0; }
  .about > p { font-size: 21px; }
  .work-index { margin-bottom: 22px; }
  .work-card p { margin-top: 18px; }
  .live-list li { padding: 24px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
