:root {
  color-scheme: light;
  --ink: #17211b;
  --paper: #f4f0e7;
  --accent: #e4572e;
  --line: rgba(23, 33, 27, 0.2);
  font-family: Inter, "Noto Sans TC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }

.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem); border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; text-decoration: none; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { font-size: .9rem; text-decoration: none; }

.hero { min-height: 78vh; padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 8vw, 8rem); }
.eyebrow, .section-number { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
h1 { max-width: 900px; margin: 1rem 0; font-size: clamp(4rem, 12vw, 10rem); line-height: .85; letter-spacing: -.07em; }
h1 span { color: var(--accent); }
.intro { max-width: 560px; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.7; }
.button { display: inline-block; margin-top: 1.5rem; padding: .9rem 1.25rem; background: var(--ink); color: var(--paper); text-decoration: none; }

.section { display: grid; grid-template-columns: minmax(70px, 1fr) 4fr; gap: 2rem; padding: 6rem clamp(1.25rem, 8vw, 8rem); border-top: 1px solid var(--line); }
.section h2, .contact h2 { margin: 0 0 1rem; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.05em; }
.section > div > p { max-width: 700px; font-size: 1.15rem; line-height: 1.8; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.project-card { min-height: 240px; padding: 1.5rem; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.project-card p { margin-bottom: auto; color: var(--accent); font-size: .75rem; font-weight: 800; }
.project-card h3 { margin: 0 0 .5rem; font-size: 1.7rem; }

.contact { padding: 8rem clamp(1.25rem, 8vw, 8rem); background: var(--ink); color: var(--paper); }
.contact p { color: #f0a58d; }
.contact a { font-size: clamp(1.1rem, 3vw, 2rem); }
footer { padding: 1.5rem clamp(1.25rem, 5vw, 5rem); }

@media (max-width: 650px) {
  .site-header { align-items: flex-start; }
  nav { flex-direction: column; gap: .4rem; }
  .section { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
}
