:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #686868;
  --paper: #f7f5f0;
  --panel: #ffffff;
  --line: #dedbd2;
  --accent: #a83228;
  --accent-2: #1f6b73;
  --shadow: 0 18px 60px rgba(23, 23, 23, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  mix-blend-mode: difference;
}
.brand { font-weight: 800; }
nav { display: flex; gap: 22px; font-size: 14px; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}
.hero-media, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media { object-fit: cover; }
.hero-shade {
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.26) 38%, rgba(0,0,0,.74));
}
.hero-content {
  position: relative;
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18vh 0 9vh;
  color: #fff;
}
.kicker, .eyebrow, .section-heading p {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--accent-2);
}
.hero .kicker { color: #fff; opacity: .78; }
h1 {
  margin: 0;
  font-size: clamp(64px, 10vw, 148px);
  line-height: .92;
  letter-spacing: 0;
}
.intro {
  max-width: 640px;
  margin: 26px 0 0;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.primary-link, .ghost-link {
  min-height: 46px;
  border-radius: 6px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
}
.primary-link { background: var(--accent); color: #fff; }
.ghost-link { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }

.overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.overview div {
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}
.overview strong { display: block; font-size: clamp(30px, 5vw, 58px); line-height: 1; }
.overview span { display: block; margin-top: 8px; color: var(--muted); }

.section-heading, .profile, .contact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.section-heading { padding: 86px 0 22px; }
h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}
.filters {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
}
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.work-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 94px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.work-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #ddd;
  overflow: hidden;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  cursor: pointer;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.work-card:hover img { transform: scale(1.045); }
.play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.play::before {
  content: "";
  border-left: 12px solid currentColor;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.card-body { padding: 16px; }
.meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.card-body h3 {
  margin: 10px 0 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.profile {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 86px);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.profile p, .contact p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.profile .eyebrow, .contact .eyebrow { color: var(--accent); margin-bottom: 12px; }
.contact {
  padding: 68px 0 92px;
  border-top: 1px solid var(--line);
}
.contact h2 { margin-bottom: 18px; }
.contact .primary-link { margin-top: 24px; }

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink); }

.viewer {
  width: min(1100px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #101010;
  color: #fff;
  box-shadow: var(--shadow);
}
.viewer::backdrop { background: rgba(0,0,0,.72); }
.viewer video {
  display: block;
  width: 100%;
  max-height: 72vh;
  background: #000;
}
.close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  cursor: pointer;
}
.viewer-meta { padding: 18px 20px 22px; }
.viewer-meta h3 { margin: 0 0 6px; }
.viewer-meta p { margin: 0; color: rgba(255,255,255,.68); }

@media (max-width: 840px) {
  .site-header { padding: 14px 18px; }
  nav { gap: 14px; }
  .hero { min-height: 88vh; }
  .overview { grid-template-columns: 1fr; }
  .overview div { border-right: 0; border-bottom: 1px solid var(--line); }
  .work-grid { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; padding: 52px 0; }
  .site-footer { flex-direction: column; }
}
