.head-band {
  padding: 160px 32px 60px;
  max-width: 1760px;
  margin: 0 auto;
}
.head-band .l {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.head-band h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.head-band h1 em {
  font-style: italic;
}

.filter-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 44px 32px 22px;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.filter-bar .filters {
  max-width: 1760px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-bar button {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  color: var(--ink-2);
  transition:
    color 0.3s,
    border-color 0.3s;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
  font-family: inherit;
}
.filter-bar button.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.filter-bar .count {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.grid {
  padding: 80px 32px 140px;
  max-width: 1760px;
  margin: 0 auto;
  column-count: 3;
  column-gap: 24px;
  column-fill: balance;
}
.card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #1a1814;
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  margin: 0 0 24px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.card.lg {
  aspect-ratio: 16/10;
}
.card.md {
  aspect-ratio: 4/3;
}
.card.sm {
  aspect-ratio: 3/4;
}
.card.tall {
  aspect-ratio: 2/3;
}
.card.wide {
  aspect-ratio: 16/9;
}
.card .scene {
  position: absolute;
  inset: 0;
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card .scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) contrast(1.02);
}
.card:hover .scene {
  transform: scale(1.05);
}
.card .meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #f1ece2;
  background: rgba(26, 24, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
  gap: 24px;
}
.card .meta::before {
  display: none;
}
.card .meta .l {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.1;
}
.card .meta .l em {
  font-style: italic;
}
.card .meta .l small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
  margin-top: 6px;
  opacity: 0.75;
}
.card .meta .yr {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  align-self: flex-end;
  white-space: nowrap;
  opacity: 0.8;
}
.card .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f1ece2;
  background: rgba(26, 24, 20, 0.72);
  padding: 6px 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3;
}
.card[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .head-band {
    grid-template-columns: 1fr;
    padding: 120px 20px 40px;
  }
  .filter-bar {
    padding: 28px 20px 16px;
  }
  .grid {
    padding: 48px 20px 100px;
    column-count: 2;
    column-gap: 20px;
  }
  .card {
    margin-bottom: 20px;
  }
}
@media (max-width: 600px) {
  .grid {
    column-count: 1;
  }
}

.timeline {
  padding: 120px 32px 100px;
  max-width: 1480px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.timeline__head {
  text-align: center;
  margin-bottom: 60px;
}
.timeline__head .l {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.timeline__head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.timeline__head h2 em {
  font-style: italic;
}
.timeline__chart {
  width: 100%;
}
.timeline__chart svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--ink);
}
.t-axis-y {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  fill: var(--ink-2);
  letter-spacing: -0.005em;
}
.t-axis-x {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  fill: var(--ink-3);
  letter-spacing: -0.005em;
  text-anchor: middle;
}
.t-axis-yr {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: var(--ink-3);
  text-anchor: middle;
}
.t-axis-line {
  stroke: var(--rule);
  stroke-width: 1;
  fill: none;
}
.t-axis-yr,
.t-axis-x,
.t-axis-y {
  opacity: 0;
  transition: opacity 0.8s ease 1.6s;
}
.timeline.is-revealed .t-axis-yr,
.timeline.is-revealed .t-axis-x,
.timeline.is-revealed .t-axis-y {
  opacity: 1;
}
.t-line {
  stroke: var(--ink);
  stroke-width: 1.6;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1300;
  stroke-dashoffset: 1300;
  transition: stroke-dashoffset 2.6s cubic-bezier(0.65, 0.05, 0.36, 1) 0.2s;
}
.timeline.is-revealed .t-line {
  stroke-dashoffset: 0;
}
.t-edu-line {
  stroke: var(--ink-3);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 2 4;
  opacity: 0;
  transition: opacity 0.8s ease 1.4s;
}
.t-edu-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  font-weight: 300;
  fill: var(--ink-2);
  letter-spacing: -0.005em;
  opacity: 0;
  transition: opacity 0.8s ease 1.4s;
}
.timeline.is-revealed .t-edu-line,
.timeline.is-revealed .t-edu-text {
  opacity: 1;
}
.t-point {
  cursor: default;
}
.t-point .t-dot {
  fill: var(--ink);
  r: 0;
  transition: r 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.timeline.is-revealed .t-point .t-dot {
  r: 5;
}
.t-point:hover .t-dot {
  r: 8;
}
.t-point .t-label-bg {
  fill: var(--ink);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.t-point .t-label-text {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  fill: var(--paper);
  text-anchor: middle;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.timeline.is-revealed .t-point .t-label-bg,
.timeline.is-revealed .t-point .t-label-text {
  opacity: 1;
}
.timeline.is-revealed .t-point:nth-of-type(1) .t-dot {
  transition-delay: 1.4s;
}
.timeline.is-revealed .t-point:nth-of-type(2) .t-dot {
  transition-delay: 1.55s;
}
.timeline.is-revealed .t-point:nth-of-type(3) .t-dot {
  transition-delay: 1.7s;
}
.timeline.is-revealed .t-point:nth-of-type(4) .t-dot {
  transition-delay: 1.85s;
}
.timeline.is-revealed .t-point:nth-of-type(5) .t-dot {
  transition-delay: 2s;
}
.timeline.is-revealed .t-point:nth-of-type(6) .t-dot {
  transition-delay: 2.15s;
}
.timeline.is-revealed .t-point:nth-of-type(7) .t-dot {
  transition-delay: 2.3s;
}
.timeline.is-revealed .t-point:nth-of-type(8) .t-dot {
  transition-delay: 2.45s;
}
.timeline.is-revealed .t-point:nth-of-type(1) .t-label-bg,
.timeline.is-revealed .t-point:nth-of-type(1) .t-label-text {
  transition-delay: 1.6s;
}
.timeline.is-revealed .t-point:nth-of-type(2) .t-label-bg,
.timeline.is-revealed .t-point:nth-of-type(2) .t-label-text {
  transition-delay: 1.75s;
}
.timeline.is-revealed .t-point:nth-of-type(3) .t-label-bg,
.timeline.is-revealed .t-point:nth-of-type(3) .t-label-text {
  transition-delay: 1.9s;
}
.timeline.is-revealed .t-point:nth-of-type(4) .t-label-bg,
.timeline.is-revealed .t-point:nth-of-type(4) .t-label-text {
  transition-delay: 2.05s;
}
.timeline.is-revealed .t-point:nth-of-type(5) .t-label-bg,
.timeline.is-revealed .t-point:nth-of-type(5) .t-label-text {
  transition-delay: 2.2s;
}
.timeline.is-revealed .t-point:nth-of-type(6) .t-label-bg,
.timeline.is-revealed .t-point:nth-of-type(6) .t-label-text {
  transition-delay: 2.35s;
}
.timeline.is-revealed .t-point:nth-of-type(7) .t-label-bg,
.timeline.is-revealed .t-point:nth-of-type(7) .t-label-text {
  transition-delay: 2.5s;
}
.timeline.is-revealed .t-point:nth-of-type(8) .t-label-bg,
.timeline.is-revealed .t-point:nth-of-type(8) .t-label-text {
  transition-delay: 2.65s;
}
@media (prefers-reduced-motion: reduce) {
  .t-line {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    transition: none;
  }
  .t-point .t-dot {
    r: 5;
  }
  .t-point .t-label-bg,
  .t-point .t-label-text {
    opacity: 1;
    transition: none;
  }
  .t-axis-yr,
  .t-axis-x,
  .t-axis-y,
  .t-edu-line,
  .t-edu-text {
    opacity: 1;
    transition: none;
  }
}
@media (max-width: 700px) {
  .timeline {
    padding: 80px 20px 60px;
  }
  .timeline__head {
    margin-bottom: 32px;
  }
  .t-axis-y {
    font-size: 13px;
  }
  .t-axis-yr {
    font-size: 8px;
  }
  .t-point .t-label-text {
    font-size: 7px;
  }
}

/* ─── TIMELINE RAIL (mobile alternative to SVG chart) ─── */
.timeline__rail {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline__rail::before {
  content: "";
  position: absolute;
  left: 64px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--rule);
}
.tl-item {
  position: relative;
  padding: 0 0 30px 92px;
  min-height: 44px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-year {
  position: absolute;
  left: 0;
  top: 4px;
  width: 50px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink-2);
  text-align: right;
  letter-spacing: -0.005em;
}
.tl-region {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.tl-role {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tl-role em {
  font-style: italic;
}
.tl-org {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
}
.tl-item.tl-edu::before {
  background: var(--bg);
  border: 1px solid var(--ink-2);
  width: 8px;
  height: 8px;
  left: 60.5px;
  top: 8.5px;
}
.tl-item.tl-edu .tl-role {
  font-style: italic;
  color: var(--ink-2);
  font-size: 17px;
}
@media (max-width: 700px) {
  .timeline__chart {
    display: none;
  }
  .timeline__rail {
    display: block;
  }
}
