:root {
  --paper: #f4f7f8;
  --ink: #1c2430;
  --muted: #5c6b7a;
  --accent: #4b7394;
  --accent-dark: #314c61;
  --line: #d5dee4;
  --soft: #e6f2f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
a:focus-visible, .button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(34px, 4vw, 52px); margin: 0 0 14px; }
h2 { font-size: 28px; margin: 0 0 8px; }
h3 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0 0 12px; }
main { flex: 1; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 4vw;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}
.brand img { width: 188px; height: auto; aspect-ratio: 444 / 71; }
.top nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }
.top nav a { color: var(--ink); font-size: 15px; }
.top nav a.here { color: var(--accent-dark); box-shadow: inset 0 -2px 0 var(--accent); }
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
}
.button:hover { background: #416380; color: #fff; }
.button.ghost { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.button.ghost:hover { background: var(--soft); color: var(--accent-dark); }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
main.wrap { padding: 48px 0 72px; }
.eyebrow { color: var(--accent-dark); font-size: 15px; margin: 0 0 8px; }
.lead { font-size: 18px; max-width: 62ch; }
.hero { padding: 48px 0 36px; background: linear-gradient(#fff, var(--paper)); }
.hero-grid, .split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.split.even { grid-template-columns: 1fr 1fr; align-items: start; }
.split.text-first { grid-template-columns: 1.05fr 0.95fr; }
.section { padding: 48px 0; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.frame {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(28, 36, 48, 0.08);
}
.frame img, .shot img { width: 100%; border-radius: 8px; background: #fff; }
.frame figcaption, .shot figcaption, .wide figcaption {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 4px 2px;
}
.wide { margin: 0; }
.wide img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts li { padding: 16px 18px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-size: 20px; font-weight: 600; color: var(--accent-dark); letter-spacing: -0.01em; }
.facts span { color: var(--muted); font-size: 14px; }
.principles .os { gap: 12px 20px; margin: 4px 0 12px; }
.principles .os-logo { width: 36px; height: 36px; }
.principles .os-logo svg { width: 30px; height: 30px; }
.more { margin: 22px 0 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 22px 0 0;
}
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.steps h3 { font-size: 17px; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.cases article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 10px;
}
.cases h3 { font-size: 18px; }
.cases p { color: var(--muted); font-size: 15px; }
.stage { margin: 28px 0 0; }
.stage img {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stage figcaption { color: var(--muted); font-size: 13px; padding: 8px 4px 0; }
.pair {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pair.flip { grid-template-columns: 0.85fr 1.35fr; }
.pair.flip img { order: 2; }
.pair img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pair h2 { font-size: 22px; }
.pair p { color: var(--muted); margin: 0; }
.frame img, .wide img, .stage img, .pair img {
  position: relative;
  transition: transform .4s;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .frame img:hover, .wide img:hover, .pair img:hover { transform: scale(1.12); z-index: 2; }
  .stage img:hover { transform: scale(1.04); z-index: 2; }
}
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
a.work {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 100%;
}
a.work:hover { color: var(--ink); border-color: var(--accent); }
a.work img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: left top;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
a.work div { padding: 16px 16px 18px; }
a.work h2 { font-size: 22px; }
a.work p { margin: 0; color: var(--muted); font-size: 15px; }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 22px;
}
.principles article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 8px;
}
.os {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  list-style: none;
  padding: 4px 0 0;
  margin: 8px 0 14px;
}
.os li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 72px; }
.os-logo { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; }
.os-logo svg { width: 48px; height: 48px; display: block; }
.os span:last-child { font-size: 14px; color: var(--ink); }
.roles { list-style: none; padding: 0; margin: 8px 0 28px; border-top: 1px solid var(--line); }
.roles li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.roles .state { color: var(--muted); }
.note {
  background: var(--soft);
  border-radius: 12px;
  padding: 16px 18px;
}
.examples { margin: 0 0 16px; padding-left: 1.2em; }
.examples li { margin: 0 0 8px; }
.prose { max-width: 72ch; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 72ch; }
.page { padding: 40px 0 72px; }
.page .prose { padding-top: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
address.plain { font-style: normal; line-height: 1.6; }
footer.site {
  background: var(--ink);
  color: #c5d0d8;
  padding: 28px 4vw 22px;
  font-size: 14px;
}
footer.site a { color: #fff; }
footer.site a:hover { color: #d5e6f0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.imp { margin: 0 0 8px; }
.copy { margin: 0; color: #9aabB6; }

@media (max-width: 900px) {
  .hero-grid, .split, .split.even, .split.text-first, .principles, .works, .pair, .pair.flip, .steps, .cases { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li:first-child { padding: 12px 12px 12px 0; border-left: 0; }
  .pair.flip img { order: 0; }
  .hero { padding-top: 28px; }
  .top { flex-wrap: wrap; }
  a.work img { height: 210px; }
  .roles li { flex-direction: column; gap: 4px; }
}
