:root {
  color-scheme: light;
  --ink: #3c3c43;
  --muted: #666a70;
  --line: #e3e5e9;
  --blue: #3451b2;
  --sidebar: 232px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: white; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 1rem; top: -5rem; background: white; padding: .7rem 1rem; z-index: 10; }
.skip:focus { top: .5rem; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); display: flex; flex-direction: column; background: #f6f6f7; border-right: 1px solid var(--line); padding: 32px 18px 22px; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 11px; padding: 2px 12px; font-size: 19px; font-weight: 650; letter-spacing: .02em; }
.sidebar nav { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow-y: auto; padding: 0 3px; }
.nav-title { font-size: 11px; letter-spacing: .16em; color: #787d84; margin: 48px 12px 12px; }
.local-nav a, .notes { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 44px; border-radius: 6px; font-size: 14px; color: #656a70; }
.local-nav a { margin: 4px 0; }
.local-nav a:hover, .notes:hover { color: var(--ink); background: #fff; }
.local-nav a[aria-current] { background: #eaeef6; color: var(--blue); font-weight: 600; }
.notes { margin-top: auto; border-top: 1px solid var(--line); border-radius: 0; }
.out { width: 14px; height: 14px; margin-left: auto; }
main { margin-left: var(--sidebar); padding: 0 clamp(28px, 5vw, 86px); }
main > * { max-width: 1040px; margin-inline: auto; }
section[id] { scroll-margin-top: 24px; }
.hero { padding: clamp(48px, 6vw, 88px) 0 clamp(38px, 4.2vw, 66px); }
h1 { font-size: clamp(38px, 4.4vw, 66px); line-height: 1.15; letter-spacing: -.043em; color: #303137; font-weight: 650; }
.hero p { margin-top: 19px; font-size: 16px; line-height: 1.85; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 23px; }
.primary, .secondary { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; font-size: 14px; font-weight: 550; }
.primary { gap: 10px; padding: 8px 16px; color: white; background: var(--blue); border-radius: 5px; }
.primary:hover { background: #293f91; }
.secondary, .text-link { color: var(--blue); }
.secondary:hover, .text-link:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.section { padding: 27px 0 40px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
h2 { color: #33353b; font-size: 22px; line-height: 1.4; font-weight: 640; letter-spacing: -.025em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.text-link svg { width: 14px; height: 14px; }
.gallery { display: grid; grid-template-columns: 2.18fr 1fr; gap: 16px 22px; }
.project { min-width: 0; display: block; align-self: start; }
.project-main { grid-row: span 2; }
.project img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.project span { display: block; margin-top: 7px; font-size: 14px; font-weight: 550; }
.project:hover span, .project:focus-visible span { color: var(--blue); }
.project:hover img, .project:focus-visible img { border-color: #a3b0d4; }
.study { display: grid; grid-template-columns: 1.14fr 1fr; align-items: start; gap: clamp(22px,5vw,64px); }
.study p, .service-grid p { margin: 10px 0 13px; line-height: 1.9; color: var(--muted); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
caption { padding: 9px 12px; text-align: left; font-size: 12px; color: var(--muted); background: #f6f6f7; border-radius: 4px; }
th, td { border-bottom: 1px solid var(--line); padding: 7px 12px; font-weight: 400; }
th { white-space: nowrap; color: var(--muted); }
td { font-variant-numeric: tabular-nums; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.service-grid article + article { border-left: 1px solid var(--line); padding-left: 30px; }
footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 17px 0 32px; font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) { :root { --sidebar: 205px; } main { padding-inline: 32px; } .gallery { column-gap: 16px; } }
@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  .sidebar { position: sticky; inset: 0 0 auto; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: #fafafa; }
  .bar { height: 58px; display: flex; justify-content: space-between; align-items: center; padding: 0 19px; }
  .brand { font-size: 17px; padding: 0; } .brand img { width: 22px; }
  .menu-toggle { border: 0; background: transparent; font-size: 13px; min-height: 44px; padding: 8px; }
  .menu-toggle span { margin-left: 4px; }
  .sidebar nav { padding: 0 18px 12px; max-height: 65vh; background: #fafafa; }
  .sidebar[data-ready] nav { position: absolute; inset: 100% 0 auto; border-bottom: 1px solid var(--line); }
  .sidebar[data-ready]:not([data-open]) nav { display: none; }
  .nav-title { display: none; }
  .notes { margin-top: 6px; }
  main { margin: 0; padding: 0 20px; }
  section[id] { scroll-margin-top: 4px; }
  .hero { padding: 38px 0 34px; }
  h1 { font-size: clamp(34px,8vw,50px); }
  .hero p { font-size: 15px; margin-top: 15px; }
  .desktop-break { display: none; }
  .section { padding: 23px 0 31px; }
  .section-heading { margin-bottom: 16px; }
  .gallery, .study, .service-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .project-main { grid-row: auto; }
  .service-grid article + article { border-left: 0; border-top: 1px solid var(--line); padding: 19px 0 0; }
  h2 { font-size: 20px; } h3 { font-size: 18px; }
}
@media (min-width: 761px) { .menu-toggle { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
