:root {
  --bg: #080808;
  --bg-2: #0c0c0c;
  --surface: #151515;
  --text: #f5f5f5;
  --muted: #989898;
  --line: rgba(245,245,245,.12);
  --accent: #d6ff3f;
  --display: "Syne", sans-serif;
  --sans: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin: 0; }
p { margin: 0; }
.nav, main, .site-footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8,8,8,.86);
  backdrop-filter: blur(12px);
}
.logo { text-decoration: none; font-family: var(--display); font-size: 22px; display: flex; align-items: center; }
.logo img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; color: var(--text); border: 1px solid var(--line); padding: 8px 12px; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #111;
  text-decoration: none;
  border: 0;
  padding: 14px 18px;
  font: 600 14px/1 var(--sans);
  cursor: pointer;
}
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-small { padding: 10px 12px; }
.hero, .page-intro { padding: 12vh 0 8vh; }
.hero h1, .page-intro h1 { font-size: clamp(48px, 8vw, 104px); max-width: 14ch; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.lead { max-width: 46rem; color: var(--muted); font-size: 20px; margin-top: 24px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.block { padding: 72px 0; border-top: 1px solid var(--line); }
.block-head { display: flex; gap: 16px; align-items: baseline; margin-bottom: 32px; }
.block-head span { color: var(--muted); font-size: 13px; }
.block-head h2, .page-intro + .block h2 { font-size: clamp(32px, 4vw, 48px); }
.work-list { display: grid; gap: 28px; }
.work-card { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; text-decoration: none; padding: 22px 0; border-top: 1px solid var(--line); }
.work-visual {
  aspect-ratio: 16 / 10;
  background: #0c0c0c;
  border: 1px solid var(--line);
  display: grid;
  padding: 10px;
  overflow: hidden;
}
.work-visual span { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; align-self: end; }
.work-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.home-work .work-visual:not(.is-mark) { position: relative; }
.home-work .work-visual:not(.is-mark)::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: linear-gradient(180deg, rgba(8,8,8,.35), rgba(8,8,8,.72));
  pointer-events: none;
}
.work-visual.is-mark { place-items: center; }
.work-visual.is-mark img { width: 64px; height: 64px; object-fit: contain; border-radius: 16px; }
.work-copy h3 { font-size: 32px; margin-bottom: 10px; }
.work-copy p, .work-copy small { color: var(--muted); display: block; margin-top: 8px; }
.work-card:hover h3 { color: var(--accent); }
.cap-grid, .stack, .product-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-grid article, .stack div, .product-card {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  text-decoration: none;
}
.cap-grid h3, .product-card h2, .product-card h3 { font-size: 24px; margin: 8px 0; }
.cap-grid p, .stack p, .product-card p { color: var(--muted); }
.product-card em { font-style: normal; color: var(--accent); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.product-card img { width: 48px; height: 48px; object-fit: contain; background: #fff; }
.insight-list { display: grid; }
.insight-list a { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.insight-list img { width: 200px; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; background: #0c0c0c; border: 1px solid var(--line); }
.insight-copy { display: grid; gap: 6px; }
.insight-list small, .insight-copy > span { color: var(--muted); }
.cta-band { padding: 80px 0 100px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.cta-band h2 { font-size: clamp(40px, 6vw, 80px); max-width: 10ch; }
.case { padding: 8vh 0 12vh; }
.case h1 { font-size: clamp(42px, 6vw, 84px); max-width: 16ch; }
.facts, .studio-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 36px 0; }
.facts div, .studio-facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.facts dt, .studio-facts dt { color: var(--muted); font-size: 13px; }
.facts dd, .studio-facts dd { margin: 6px 0 0; font-family: var(--display); font-size: 22px; }
.case section { margin-top: 48px; max-width: 46rem; }
.case h2 { font-size: 32px; margin-bottom: 12px; }
.prose { color: #ddd; }
.prose p, .case li { margin: 10px 0; }
.case-cover, .shot-row img { margin-top: 28px; background: #0c0c0c; border: 1px solid var(--line); }
.case-cover:not(.is-mark) { width: 280px; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.case-cover.is-mark { width: 72px; height: 72px; object-fit: contain; border-radius: 16px; }
.shot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-list article { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.service-list span { color: var(--muted); }
.service-list small { color: var(--accent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.steps { margin: 0; padding-left: 18px; }
.steps li { margin: 8px 0; }
.cats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.cats a { color: var(--muted); }
.contact-form { display: grid; gap: 14px; max-width: 640px; padding-bottom: 80px; }
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
input, textarea, select {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 12px;
  font: 16px/1.4 var(--sans);
}
.hp { position: absolute; left: -9999px; }
.notice { padding: 18px 0 80px; }
.notice.error { color: #ffb4a8; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 14px; }
.product-logo { width: 72px; height: 72px; object-fit: contain; background: #fff; margin: 24px 0; }
.maint { min-height: 100vh; display: grid; align-content: center; width: min(760px, calc(100% - 40px)); }
.maint h1 { font-size: clamp(48px, 8vw, 88px); }
.reveal { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; inset: 84px 0 auto; background: var(--bg); padding: 12px 20px 24px; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .work-card, .cap-grid, .stack, .product-row, .facts, .split, .shot-row, .cta-band, .site-footer { grid-template-columns: 1fr; display: grid; }
  .work-visual { width: 220px; }
  .insight-list a { grid-template-columns: 140px 1fr; gap: 14px; }
  .insight-list img { width: 140px; }
  .hero, .page-intro { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}
