/* ============================================
   KC Choo Photography — Design System
   Direction: Immersive Dark (Design 2)
   ============================================ */

:root {
  /* Color */
  --bg: #0a0a0c;
  --bg-elevated: #131316;
  --bg-card: #15151a;
  --ink: #f5f3ee;
  --ink-soft: #b6b3ad;
  --ink-mute: #6e6c68;
  --ink-dim: #4a4844;
  --rule: rgba(255, 255, 255, 0.08);
  --rule-strong: rgba(255, 255, 255, 0.18);
  --accent: #d4a55a;
  --accent-dim: #8e6e3a;
  --astro-tint: #c8e0ff;

  /* Type scale */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 10px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 19px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 48px;
  --text-4xl: 64px;
  --text-5xl: 84px;
  --text-6xl: 108px;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 14px;
  --space-4: 20px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  /* Layout */
  --page-px: 56px;
  --max-w: 1400px;

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 600ms;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Type utilities */
.display { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; line-height: 0.95; }
.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: var(--space-3);
}
.eyebrow::before {
  content: ""; width: 40px; height: 1px; background: var(--accent);
}
.meta-line { font-size: var(--text-xs); letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-mute); }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: var(--space-4) var(--page-px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header.transparent {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.brand {
  display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none;
}
.brand .name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.brand .tag {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--ink-soft);
  margin-top: 6px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
nav.primary { display: flex; gap: var(--space-5); align-items: center; }
nav.primary > .item { position: relative; }
nav.primary > .item > a, nav.primary > .item > button {
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  padding: 8px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  display: inline-flex; align-items: center; gap: 4px;
}
nav.primary > .item:hover > a, nav.primary > .item:hover > button { color: var(--accent); }
nav.primary .caret { font-size: 8px; color: var(--ink-mute); }
nav.primary .cta {
  padding: 10px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}
nav.primary .cta:hover { background: var(--accent); color: #1a1410; }

/* Dropdown menus */
nav.primary .dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  background: rgba(20, 20, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: var(--space-3) 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all var(--dur) var(--ease-out);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
nav.primary .item:hover .dropdown,
nav.primary .item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
nav.primary .dropdown a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 18px;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--ink-soft);
}
nav.primary .dropdown a:hover { color: var(--accent); background: rgba(212, 165, 90, 0.06); }
nav.primary .dropdown a .ct { font-size: 10px; color: var(--ink-mute); }
nav.primary .dropdown a:hover .ct { color: var(--accent-dim); }
nav.primary .dropdown .divider { height: 1px; background: var(--rule); margin: 6px 0; }

/* ============================================
   HERO (homepage)
   ============================================ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 700px;
  width: 100%;
  overflow: hidden;
  margin-top: -65px; /* tuck under sticky header */
}
.hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.0); }
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 12, 0.55) 0%,
    rgba(10, 10, 12, 0.05) 35%,
    rgba(10, 10, 12, 0.15) 65%,
    rgba(10, 10, 12, 0.95) 100%);
  z-index: 1;
}
.hero .vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10, 10, 12, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  left: var(--page-px); right: var(--page-px);
  bottom: var(--space-8);
  z-index: 2;
  display: flex; align-items: end; justify-content: space-between; gap: var(--space-7);
}
.hero-content .left { max-width: 720px; }
.hero-content .eyebrow { margin-bottom: var(--space-4); }
.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-6xl);
  line-height: 0.92;
  letter-spacing: -2.5px;
  margin-bottom: var(--space-4);
}
.hero-content h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-content p.lede {
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
  font-weight: 300;
}
.hero-content .right {
  display: flex; flex-direction: column; gap: 10px;
  min-width: 220px; text-align: right;
}
.hero-content .right .title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--ink);
}
.hero-content .right .loc { font-size: var(--text-sm); color: var(--ink-soft); letter-spacing: 0.05em; }

/* Hero rotation dots */
.hero-dots {
  position: absolute; bottom: var(--space-5); left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 24px; height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
  transition: background var(--dur-fast) var(--ease-standard);
}
.hero-dots button.active { background: var(--accent); }

/* ============================================
   SECTION primitives
   ============================================ */
.section {
  padding: var(--space-9) var(--page-px) var(--space-7);
  border-top: 1px solid var(--rule);
}
.section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--space-5);
}
.section-head .num {
  font-family: var(--font-display);
  font-style: italic; font-size: var(--text-md); color: var(--accent);
  margin-bottom: var(--space-3);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-4xl);
  letter-spacing: -1.5px;
  line-height: 1;
}
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.section-head .right { text-align: right; }
.section-head .right .label {
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.section-head .right .value { font-family: var(--font-display); font-size: var(--text-2xl); }

/* Page header (non-homepage) */
.page-header {
  padding: var(--space-9) var(--page-px) var(--space-7);
}
.page-header .eyebrow { margin-bottom: var(--space-3); }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-5xl);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: var(--space-4);
}
.page-header h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-header .lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 640px;
}

/* Breadcrumb */
.crumbs {
  padding: var(--space-4) var(--page-px) 0;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 10px; color: var(--ink-dim); }
.crumbs .current { color: var(--ink-soft); }

/* ============================================
   FILTER PILLS (locations / categories)
   ============================================ */
.pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: var(--space-6);
}
.pill {
  padding: 9px 18px;
  border: 1px solid var(--rule-strong);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--dur-fast) var(--ease-standard);
}
.pill:hover { border-color: var(--accent); color: var(--ink); }
.pill.active {
  background: var(--accent);
  color: #1a1410;
  border-color: var(--accent);
  font-weight: 500;
}
.pill .ct { font-size: 10px; opacity: 0.6; }
.pill.active .ct { opacity: 0.7; }

/* ============================================
   PHOTO GRIDS
   ============================================ */
.grid {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform var(--dur) var(--ease-out);
}
.card.tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.card.wide { aspect-ratio: 16 / 9; grid-column: span 2; }
.card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur) var(--ease-out);
}
.card:hover img { transform: scale(1.04); }
.card .info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}
.card .info .sp {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ink);
  line-height: 1.15;
}
.card .info .loc {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 6px;
}

/* Lightbox photo (single big image with caption) */
.photo-stack {
  display: flex; flex-direction: column; gap: var(--space-6);
}
.photo-stack figure { position: relative; }
.photo-stack figure img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.photo-stack figcaption {
  margin-top: var(--space-3);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--text-sm); color: var(--ink-soft);
}
.photo-stack figcaption .ix { font-family: var(--font-display); font-style: italic; color: var(--accent); }

/* ============================================
   LOCATION / CATEGORY index cards (with cover photo)
   ============================================ */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cover-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-elevated);
  display: block;
}
.cover-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
  filter: brightness(0.85);
}
.cover-card:hover img { transform: scale(1.05); filter: brightness(1); }
.cover-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.cover-card .label {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  z-index: 2;
}
.cover-card .label .name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
  margin-bottom: 8px;
}
.cover-card .label .ct {
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ============================================
   ASTRO section background
   ============================================ */
.astro-bg {
  background: radial-gradient(ellipse at top, #1a1a24 0%, #08080c 60%);
}
.astro-bg h2 em { color: var(--astro-tint); }

/* ============================================
   FEATURED block (homepage)
   ============================================ */
.featured-pair {
  display: grid; grid-template-columns: 2fr 1fr; gap: 18px;
}
.featured-pair .card.tall { aspect-ratio: 3/4; grid-row: span 2; }

/* ============================================
   BIO / TEXT page typography
   ============================================ */
.prose {
  max-width: 720px;
  font-size: var(--text-md);
  line-height: 1.8;
  color: var(--ink-soft);
}
.prose p + p { margin-top: var(--space-4); }
.prose h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--ink);
  line-height: 1.1;
}
.prose h2 em { font-style: italic; color: var(--accent); }
.prose blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  border-left: 2px solid var(--accent);
  padding-left: var(--space-4);
  margin: var(--space-5) 0;
  color: var(--ink);
}

/* ============================================
   AWARDS list
   ============================================ */
.awards-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.award {
  display: grid;
  grid-template-columns: 180px 1fr 240px;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.award:last-child { border-bottom: 1px solid var(--rule); }
.award .yr {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--accent);
  font-style: italic;
  line-height: 1;
}
.award .body .title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: 6px;
  line-height: 1.2;
}
.award .body .org {
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.award .body .ctx {
  font-size: var(--text-base);
  color: var(--ink-soft);
}
.award .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-elevated);
}
.award .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   PUBLICATIONS list
   ============================================ */
.pub-list { display: grid; gap: 0; }
.pub {
  display: grid;
  grid-template-columns: 100px 1fr 240px;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.pub:last-child { border-bottom: 1px solid var(--rule); }
.pub .yr { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--accent); }
.pub .title { font-family: var(--font-display); font-size: var(--text-lg); }
.pub .venue { font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); text-align: right; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: var(--space-7) var(--page-px) var(--space-6);
  border-top: 1px solid var(--rule);
  margin-top: var(--space-8);
}
.site-footer .row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.site-footer .col h4 {
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--space-3);
  font-weight: 500;
}
.site-footer .col a {
  display: block;
  font-size: var(--text-base);
  color: var(--ink-soft);
  padding: 4px 0;
}
.site-footer .col a:hover { color: var(--accent); }
.site-footer .brand-block .name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--ink);
  margin-bottom: 6px;
}
.site-footer .brand-block .tag {
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.site-footer .brand-block .desc {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  max-width: 320px;
  line-height: 1.55;
}
.site-footer .copy {
  border-top: 1px solid var(--rule);
  padding-top: var(--space-4);
  display: flex; justify-content: space-between;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --page-px: 32px; }
  nav.primary { gap: var(--space-4); }
  .hero-content h1 { font-size: 72px; }
  .section-head h2, .page-header h1 { font-size: 44px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
  .award { grid-template-columns: 100px 1fr 180px; }
}

@media (max-width: 720px) {
  :root { --page-px: 20px; --space-9: 80px; --space-8: 64px; }
  .site-header { padding: 16px 20px; }
  nav.primary { display: none; } /* mobile nav handled by toggle */
  .hero { min-height: 560px; }
  .hero-content { flex-direction: column; align-items: start; bottom: 56px; gap: var(--space-4); }
  .hero-content h1 { font-size: 56px; letter-spacing: -1.5px; }
  .hero-content .right { text-align: left; }
  .section-head h2, .page-header h1 { font-size: 36px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .cover-grid { grid-template-columns: 1fr; }
  .featured-pair { grid-template-columns: 1fr; }
  .award { grid-template-columns: 1fr; }
  .award .thumb { aspect-ratio: 16/9; }
  .site-footer .row { grid-template-columns: 1fr; }
}
