/* ---------- tokens ---------- */
:root {
  --bg: #0a0a0a;
  --fg: #f4f2ec;
  --fg-dim: #a8a49b;
  --line: #2a2a28;
  --yellow: #e8c547;
  --green: #6fdc8c;
  --panel-inactive-filter: grayscale(0.9) brightness(0.55);
  --panel-active-filter: grayscale(0) brightness(1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.header-left, .header-right {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header-left .job-title { color: var(--fg); }

.header-location { color: var(--fg-dim); }

.header-right a { color: var(--fg-dim); transition: color 0.2s ease; }
.header-right a:hover, .header-right a:focus-visible { color: var(--fg); }

.icon-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.dot { opacity: 0.5; }

.header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.header-center .logo {
  display: block;
  line-height: 0;
}

.logo-img {
  height: clamp(42px, 5.1vw, 57px);
  width: auto;
  display: block;
}

/* ---------- hero ---------- */
.hero {
  padding: calc(var(--header-h) + 20px) clamp(12px, 1.6vw, 28px) 56px;
  max-width: 1360px;
  margin: 0 auto;
  text-align: center;
}

.hand-icon {
  display: block;
  height: clamp(96px, 12vw, 144px);
  width: auto;
  margin: 0 auto 28px;
}

.location {
  font-size: 13px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 32px;
}

.intro {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 33px);
  line-height: 1.45;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}

.credibility {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.7;
}

.hl-yellow { color: var(--yellow); font-weight: 600; }
.hl-green { color: var(--green); font-weight: 600; }

/* ---------- KPI strip ---------- */
.kpi-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kpi {
  flex: 1 1 200px;
  background: var(--bg);
  padding: 32px clamp(16px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.kpi-stat {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--fg);
}

.kpi-label {
  font-size: 13.5px;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* ---------- work / filmstrip ---------- */
.work {
  padding: 56px clamp(16px, 3vw, 48px) 96px;
}

.work-heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  margin: 0 0 28px;
  font-weight: 600;
  text-align: center;
}

.filmstrip {
  display: flex;
  gap: 6px;
  height: min(56vh, 520px);
  min-height: 320px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 90px;
  border-radius: 4px;
  overflow: hidden;
  filter: var(--panel-inactive-filter);
  transition: flex-grow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.5s ease,
              min-width 0.5s ease;
  cursor: default;
  scroll-snap-align: start;
}

.panel.active {
  flex-grow: 5;
  filter: var(--panel-active-filter);
  min-width: 220px;
}

.panel-img,
.panel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.panel-img.crop-top,
.panel-video.crop-top {
  object-position: center 38%;
}

.panel-img.crop-bottom,
.panel-video.crop-bottom {
  object-position: center bottom;
}

.panel-video {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.panel.active .panel-video {
  opacity: 1;
}

.caption {
  margin-top: 36px;
  min-height: 130px;
  text-align: center;
}

.caption-category {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 10px;
  transition: opacity 0.2s ease;
}

.caption-project {
  font-size: 14px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.caption-desc {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--fg-dim);
  max-width: 620px;
  line-height: 1.6;
  margin: 0 auto;
}

/* ---------- about ---------- */
.about-hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 20px) clamp(20px, 4vw, 56px) 28px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.about-photos {
  display: flex;
  gap: 10px;
  height: min(22vh, 220px);
  width: 100%;
  margin: 0 0 24px;
}

.about-photo {
  flex: 1 1 0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #171715;
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  font-size: clamp(14px, 1.3vw, 16.5px);
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.about-text p { margin: 0 0 12px; }
.about-text p:last-child { margin-bottom: 0; }

.about-back {
  margin-top: 22px;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  :root { --header-h: 112px; }

  .site-header {
    flex-wrap: wrap;
    align-content: center;
    row-gap: 4px;
    padding: 10px 16px;
  }

  .header-center {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    order: -1;
    flex-basis: 100%;
    text-align: center;
  }

  .header-center .logo {
    display: inline-block;
  }

  .logo-img { height: 36px; }

  .header-left { order: 1; flex: 1; }
  .header-right { order: 2; justify-content: flex-end; }

  .header-left .job-title { font-size: 11px; }
  .header-right { font-size: 11px; }

  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hand-icon { height: 81px; margin-bottom: 14px; }

  .filmstrip { height: 42vh; min-height: 260px; }
  .panel.active { flex-grow: 3; min-width: 140px; }

  .about-hero { min-height: auto; padding-top: calc(var(--header-h) + 16px); }
  .about-photos { flex-direction: row; height: 26vh; min-height: 140px; }
  .about-text { text-align: left; }
}
