/* ============================================================
   Ramon's Works — Editorial dark gallery
   ============================================================ */

:root {
  --ink: #0b0b0c;
  --ink-2: #121214;
  --ink-3: #1a1a1d;
  --paper: #efebe2;
  --paper-2: #e6e1d6;
  --text: #ece8e0;
  --text-dim: #a7a29a;
  --muted: #7e7970;
  --line: rgba(236, 232, 224, 0.14);
  --line-dark: rgba(20, 20, 20, 0.16);
  --accent: #c8a05a;
  --accent-soft: rgba(200, 160, 90, 0.14);
  --serif: "Didot", "Bodoni 72", "Playfair Display", "Times New Roman",
    "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: "Helvetica Neue", "Inter", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --script: "Snell Roundhand", "Apple Chancery", "Savoye LET", "Segoe Script",
    cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gut: clamp(20px, 4.2vw, 64px);
  --max: 1480px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

::selection { background: var(--accent); color: #141414; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.serif { font-family: var(--serif); font-weight: 400; }
.script { font-family: var(--script); font-weight: 400; }

.label {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.label .zh {
  letter-spacing: 0.12em;
  text-transform: none;
  margin-left: 0.4em;
  font-weight: 400;
}

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gut);
  transition: background 0.45s var(--ease), padding 0.45s var(--ease),
    border-color 0.45s var(--ease), backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(11, 11, 12, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.brand-logo {
  display: block;
  height: 40px;
  width: 139px;
  transition: opacity 0.3s;
}
.brand:hover .brand-logo { opacity: 0.85; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-desktop a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--text); }
.nav-desktop a:hover::after,
.nav-desktop a.active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  z-index: 2;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text);
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gut);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1.25;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mm-foot {
  margin-top: clamp(40px, 8vh, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-slides, .hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero-slide.active img { transform: scale(1.0); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,9,0.92) 0%, rgba(8,8,9,0.35) 38%, rgba(8,8,9,0.12) 62%, rgba(8,8,9,0.42) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 4vh, 48px);
}
.hero-eyebrow::before {
  content: "";
  width: 48px; height: 1px;
  background: var(--accent);
}
.hero-signature {
  font-family: var(--script);
  font-size: clamp(56px, 10.6vw, 140px);
  line-height: 0.95;
  color: var(--text);
  letter-spacing: 0.01em;
  margin-left: -0.04em;
  text-shadow: 0 4px 60px rgba(0,0,0,0.45);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5.6vw, 76px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.02em;
  margin-top: clamp(18px, 2.4vw, 38px);
}
.hero-sub {
  margin-top: 22px;
  max-width: 560px;
  color: var(--text-dim);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.9;
}
.hero-sub b { color: var(--text); font-weight: 500; }
.hero-actions {
  margin-top: clamp(28px, 4vh, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn.solid {
  background: var(--text);
  color: #131313;
  border-color: var(--text);
}
.btn.solid:hover { background: var(--accent); border-color: var(--accent); color: #141414; }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.hero-meta {
  position: absolute;
  right: var(--gut);
  bottom: clamp(52px, 9vh, 100px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}
.hero-count {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.hero-counter { display: flex; gap: 6px; align-items: center; }
.hero-counter i {
  display: block;
  width: 22px; height: 2px;
  background: rgba(236,232,224,0.24);
  transition: background 0.4s;
}
.hero-counter i.on { background: var(--accent); }
.hero-caption {
  position: absolute;
  left: var(--gut);
  bottom: 22px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236,232,224,0.5);
}
.hero-navline { display: flex; align-items: center; gap: 10px; }
.hero-nav {
  width: 40px; height: 40px; flex: none;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border: 1px solid rgba(236,232,224,0.28);
  border-radius: 50%;
  background: rgba(20,19,17,0.18);
  color: rgba(236,232,224,0.66);
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.hero-nav:hover {
  color: #fff;
  border-color: rgba(236,232,224,0.6);
  background: rgba(20,19,17,0.34);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(236,232,224,0.55);
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------------- Marquee ---------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 15px 0;
  background: var(--ink-2);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.marquee span::after {
  content: "◆";
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head .idx {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  display: block;
}
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.sec-head h2 .en {
  display: block;
  font-size: clamp(11px, 1vw, 13px);
  font-family: var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
.sec-head .more {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.sec-head .more:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------- Featured works ---------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-3);
  grid-column: span 4;
}
.work-card:nth-child(1) { grid-column: span 8; }
.work-card:nth-child(2) { grid-column: span 4; }
.work-card:nth-child(3) { grid-column: span 4; }
.work-card:nth-child(4) { grid-column: span 4; }
.work-card:nth-child(5) { grid-column: span 4; }
.work-card:nth-child(6) { grid-column: span 12; }
.work-card:nth-child(6) .ph { aspect-ratio: 21 / 9; }
.work-card:nth-child(7) { grid-column: span 6; }

.work-card .ph {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.work-card:nth-child(1) .ph { aspect-ratio: 16 / 9; }
.work-card .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease), filter 0.8s;
}
.work-card:hover .ph img { transform: scale(1.06); filter: brightness(0.82); }
.work-card .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,9,0.9), rgba(8,8,9,0.45) 38%, rgba(8,8,9,0.08) 62%, transparent 78%);
  opacity: 0.95;
  transition: opacity 0.5s;
}
.work-card:hover .ph::after { opacity: 1; }

.work-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(16px, 2vw, 28px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.work-card .idx {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 8px;
}
.work-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.25;
  color: var(--text);
  text-shadow: 0 1px 18px rgba(0,0,0,0.5);
}
.work-card .sub {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236,232,224,0.62);
}
.work-card .go {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(236,232,224,0.3);
  display: grid;
  place-items: center;
  color: var(--text);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s var(--ease), background 0.4s, color 0.4s;
}
.work-card:hover .go { opacity: 1; transform: none; background: var(--accent); color: #141414; border-color: var(--accent); }

/* ---------------- Archive ---------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  white-space: nowrap;
}
.chip small {
  font-size: 9px;
  color: var(--muted);
  margin-left: 6px;
  letter-spacing: 0.08em;
}
.chip:hover { color: var(--text); border-color: rgba(236,232,224,0.34); }
.chip.on { background: var(--text); color: #141414; border-color: var(--text); }
.chip.on small { color: rgba(20,20,20,0.6); }

.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 6px 2px;
  min-width: 180px;
}
.search input {
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.06em;
  width: 100%;
}
.search input::placeholder { color: var(--muted); }
.search svg { flex-shrink: 0; color: var(--muted); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 44px) clamp(14px, 1.8vw, 26px);
}
.works-grid:empty { min-height: 70vh; }
.filters:empty { min-height: 44px; }
.work-item { display: block; }
.work-item .ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-3);
  position: relative;
}
.work-item .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s;
}
.work-item:hover .ph img { transform: scale(1.05); filter: brightness(0.86); }
.work-item .cnt {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--text);
  background: rgba(8,8,9,0.55);
  padding: 5px 9px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s;
}
.work-item:hover .cnt { opacity: 1; }
.work-item .cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-top: 14px;
}
.work-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.35;
  transition: color 0.3s;
}
.work-item:hover h3 { color: var(--accent); }
.work-item .yr {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.work-item .tags {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.empty-note {
  padding: 64px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------------- Moving images ---------------- */
.film-head-band {
  position: relative;
  height: clamp(320px, 46vw, 520px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.film-head-band img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.7);
}
.film-head-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 2%, rgba(11,11,12,0.1) 70%);
}
.film-head-band .wrap { position: relative; z-index: 2; padding-bottom: clamp(32px, 5vw, 64px); }
.film-head-band h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.02;
}
.film-head-band p {
  margin-top: 16px;
  max-width: 520px;
  color: var(--text-dim);
}
.play-badge {
  position: absolute;
  right: var(--gut);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(76px, 9vw, 120px);
  height: clamp(76px, 9vw, 120px);
  border: 1px solid rgba(236,232,224,0.42);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.play-badge:hover { background: var(--accent); border-color: var(--accent); color: #141414; transform: translateY(-50%) scale(1.05); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 36px);
}
.video-card { display: block; text-align: left; width: 100%; }
.video-card .ph {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-3);
}
.video-card .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s;
}
.video-card:hover .ph img { transform: scale(1.04); filter: brightness(0.8); }
.video-card .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}
.video-card .play i {
  width: 68px; height: 68px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8,8,9,0.28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.4s, transform 0.5s var(--ease), border-color 0.4s;
  font-style: normal;
}
.video-card:hover .play i { background: var(--accent); border-color: var(--accent); transform: scale(1.08); color: #141414; }
.video-card .dur {
  position: absolute;
  right: 10px; bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(8,8,9,0.6);
  padding: 4px 8px;
}
.video-card .cap { padding-top: 14px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.video-card h3 { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.video-card .yr { font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }
.video-card .note { margin-top: 4px; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

.video-empty {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  border: 1px solid var(--line);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px);
  display: grid;
  gap: 18px;
  max-width: 760px;
}
.video-empty .big {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
}
.video-empty p { color: var(--text-dim); font-size: 13.5px; }
.video-empty .btn { justify-self: start; }

/* ---------------- About strip (paper) ---------------- */
.paper {
  background: var(--paper);
  color: #171614;
}
.paper .label { color: #8a8378; }
.paper .rule { background: var(--line-dark); }
.about-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}
.about-strip .portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d8d2c6;
}
.about-strip .portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.about-strip .portrait::after {
  content: "RARECORD — MEMENTO";
  position: absolute;
  left: 18px; bottom: 16px;
  font-size: 9px;
  letter-spacing: 0.26em;
  color: rgba(255,255,255,0.78);
}
.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin: 18px 0 22px;
}
.about-copy p { color: #44413b; font-size: 14.5px; line-height: 1.95; max-width: 46em; }
.about-copy p + p { margin-top: 14px; }
.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.about-facts div b {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}
.about-facts div span {
  display: block;
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8378;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  transition: color 0.3s, gap 0.3s var(--ease);
}
.link-arrow:hover { color: #9a7338; gap: 18px; }

/* ---------------- Services ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.service {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.service .no {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #9a7338;
  margin-bottom: auto;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  margin-top: 40px;
  line-height: 1.25;
}
.service .en {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a8378;
  margin-top: 8px;
}
.service p { margin-top: 16px; color: #44413b; font-size: 13.5px; line-height: 1.9; }

/* ---------------- Contact ---------------- */
.contact {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 120px) 0;
}
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5.2vw, 68px);
  font-weight: 400;
  line-height: 1.1;
}
.contact h2 em { font-style: normal; color: var(--accent); }
.contact-mail {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  transition: color 0.3s, border-color 0.3s;
}
.contact-mail:hover { color: var(--accent); border-color: var(--accent); }
.contact-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
}
.contact-side { display: grid; gap: 22px; }
.contact-side .label { margin-bottom: 4px; }
.contact-side a { font-size: 13px; color: var(--text-dim); transition: color 0.3s; display: block; }
.contact-side a:hover { color: var(--accent); }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 40px;
  font-size: 11px;
  color: var(--muted);
}
.foot-brand { display: flex; flex-direction: column; gap: 7px; }
.foot-brand .wm {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.012em;
  color: var(--text);
  transition: opacity 0.3s;
}
.foot-brand .wm em { font-style: italic; color: var(--accent); }
.foot-brand .sub {
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-brand:hover .wm { opacity: 0.85; }
.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-nav { display: flex; gap: 22px; }
.foot-nav a, .foot-social a { letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; transition: color 0.3s; }
.foot-nav a:hover, .foot-social a:hover { color: var(--text); }
.foot-social { display: flex; gap: 18px; }
.foot-legal {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #5f5b54;
}
.foot-legal a { color: #5f5b54; }
.foot-legal a:hover { color: var(--text-dim); }

/* ---------------- Page hero (sub pages) ---------------- */
.page-hero {
  padding: clamp(140px, 18vw, 210px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero .label { margin-bottom: 20px; display: block; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 110px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
}
.page-hero .lede {
  margin-top: 26px;
  max-width: 620px;
  color: var(--text-dim);
  font-size: 14.5px;
}
.page-hero .meta-row {
  margin-top: 32px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-hero .meta-row b { color: var(--text-dim); font-weight: 500; }

/* ---------------- Work detail ---------------- */
.work-detail { padding-top: 120px; }
.work-top { padding: 20px 0 clamp(36px, 5vw, 64px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s, gap 0.3s var(--ease);
}
.back-link:hover { color: var(--text); gap: 16px; }
.work-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 64px);
}
.work-head h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1.06;
  margin-top: 16px;
}
.work-head .desc { margin-top: 20px; color: var(--text-dim); font-size: 14.5px; max-width: 44em; }
.work-facts { display: grid; gap: 16px; }
.fact { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 11px; }
.fact dt { color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-size: 9.5px; padding-top: 2px; }
.fact dd { text-align: right; color: var(--text-dim); }
.gear { display: flex; flex-wrap: wrap; gap: 8px; }
.gear span {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.gallery { display: grid; gap: clamp(10px, 1.6vw, 22px); }
.gallery figure { position: relative; overflow: hidden; background: var(--ink-3); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; display: block; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.015); }
.gallery figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(236,232,224,0.7);
  text-transform: uppercase;
}
.work-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 90px);
  padding-top: 30px;
}
.work-nav a { max-width: 45%; }
.work-nav .k { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.work-nav .t { font-family: var(--serif); font-size: clamp(16px, 1.6vw, 22px); transition: color 0.3s; }
.work-nav a:hover .t { color: var(--accent); }
.work-nav .right { text-align: right; }

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6,6,7,0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  border: 1px solid rgba(236,232,224,0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lb-btn:hover { background: var(--accent); color: #141414; border-color: var(--accent); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

/* ---------------- Video modal ---------------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6,6,7,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal .frame {
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}
.video-modal video, .video-modal iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.video-modal .vm-title {
  position: absolute;
  left: 0; bottom: -34px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------------- About page ---------------- */
.about-page-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.about-page-grid .portrait { position: sticky; top: 110px; }
.about-page-grid .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bio p { color: var(--text-dim); font-size: 15px; line-height: 2; }
.bio p + p { margin-top: 18px; }
.bio .lead { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.5; color: var(--text); }
.socials { margin-top: 40px; display: grid; gap: 2px; }
.social-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  transition: padding 0.35s var(--ease), color 0.3s;
}
.social-row:last-child { border-bottom: 1px solid var(--line); }
.social-row .k { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.social-row .v { color: var(--text-dim); }
.social-row:hover { padding-left: 10px; }
.social-row:hover .v { color: var(--accent); }
.gear-list { margin-top: 40px; }
.gear-list h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 16px; }
.gear-list .chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(6, 1fr); }
  .work-card, .work-card:nth-child(1), .work-card:nth-child(2),
  .work-card:nth-child(6), .work-card:nth-child(7) { grid-column: span 3; }
  .work-card:nth-child(1) .ph { aspect-ratio: 4 / 3; }
  .work-card:nth-child(6) .ph { aspect-ratio: 4 / 3; }
  .work-card:nth-child(7) { display: none; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip .portrait { max-width: 480px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: auto; }
  .service h3 { margin-top: 24px; }
  .work-head { grid-template-columns: 1fr; align-items: start; }
  .about-page-grid { grid-template-columns: 1fr; }
  .about-page-grid .portrait { position: static; max-width: 420px; }
  .contact-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .scroll-hint { display: none; }
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .brand-logo { height: 32px; width: 111px; }
  .foot-brand .wm { font-size: 22px; }
  .foot-brand .sub { letter-spacing: 0.22em; }
  .hero { height: 74svh; min-height: 460px; padding-bottom: 0; }
  .hero-inner { padding-bottom: 26px; }
  .hero-meta { left: auto; right: var(--gut); bottom: 30px; align-items: center; }
  .hero-meta .hero-count, .hero-meta .hero-counter { display: none; }
  .hero-nav { width: 26px; height: 26px; }
  .hero-nav svg { width: 13px; height: 13px; }
  .hero-caption { bottom: 8px; font-size: 9px; letter-spacing: 0.12em; }
  .hero-sub { max-width: 100%; }
  .hero-actions { gap: 10px; }
  .section { padding: 44px 0; }
  .section.tight { padding: 36px 0; }
  .sec-head { margin-bottom: 26px; }
  .btn { padding: 12px 20px; font-size: 10px; }
  .featured-grid { grid-template-columns: 1fr; }
  .work-card, .work-card:nth-child(1), .work-card:nth-child(2),
  .work-card:nth-child(3), .work-card:nth-child(4), .work-card:nth-child(5),
  .work-card:nth-child(6), .work-card:nth-child(7) { grid-column: span 1; }
  .work-card:nth-child(1) .ph { aspect-ratio: 4 / 3; }
  .work-card:nth-child(6) .ph { aspect-ratio: 4 / 3; }
  .work-card:nth-child(7) { display: block; }
  .work-card .go { opacity: 1; transform: none; width: 38px; height: 38px; }
  .works-grid { grid-template-columns: 1fr; gap: 30px; }
  .filters { gap: 8px; margin-bottom: 28px; }
  .filters:empty { min-height: 84px; }
  .page-hero .meta-row { min-height: 65px; }
  .search { width: 100%; margin-left: 0; order: 9; }
  .video-grid { grid-template-columns: 1fr; }
  .sec-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .sec-head .more { padding-bottom: 4px; }
  .page-hero { padding-top: 118px; padding-bottom: 20px; }
  .work-detail { padding-top: 90px; }
  .work-nav .t { font-size: 15px; }
  .play-badge { width: 64px; height: 64px; right: 20px; }
  .film-head-band { height: 300px; }
  .contact-side { grid-template-columns: 1fr; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
  .foot-legal { flex-direction: column; gap: 6px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-btn { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-slide img { transform: none; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
