/* About page only: photo, statement, tabs, bio, CV */

/* Light theme just for this page -- overrides base.css's dark tokens, which
   cascades into every rule that reads var(--ink)/var(--ink-dim)/var(--bg),
   nav and footer included. */
:root {
  --bg: #f6f4ef;
  --ink: #141413;
  --ink-dim: rgba(20, 20, 19, 0.55);
  --ink-faint: rgba(20, 20, 19, 0.35);
}

body { background: var(--bg); }

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 32px 120px;
}

/* PHOTO — now a looping video ("Winter Dance"), rotated 90° clockwise.
   The video is sized/positioned against .photo-inner, which keeps the
   *original* portrait ratio (1365/1946) so the swap-and-cover math below
   stays exact — .photo itself is shortened (1365/1810) to crop away a
   black bar baked into the footage plus the gap that dodging it opens up
   at the top, without zooming/distorting the video. .photo-inner is
   bottom-anchored so the excess height sticks out above .photo's edge,
   where overflow:hidden clips it — see about.js for why this needs a
   separate inner element instead of just resizing .photo directly. */
.photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1365 / 1810;
  overflow: hidden;
  border: 0.5px solid rgba(var(--neon-rgb),0.15);
  margin-bottom: 24px;
}
.photo-inner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1365 / 1946;
}
.photo video {
  position: absolute;
  top: 50%;
  left: 50%;
  object-fit: cover;
  /* object-position's x-axis maps to the screen's bottom after the 90°
     rotation below — 100% shows all the way down to the frame's bottom
     edge (feet/rock), right up to where the footage's own black bar
     starts; the translateY below pushes that bar out past the bottom. */
  object-position: 100% 50%;
  transform: translate(-50%, -40%) rotate(90deg);
}

/* STATEMENT */
.statement {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* TABS */
.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  padding-bottom: 0;
}

.tabs span {
  font-size: 15px;
  color: var(--ink-faint);
  cursor: pointer;
  margin-right: 20px;
  padding-bottom: 8px;
  margin-bottom: -1px;
  transition: color 0.2s;
}

.tabs span.active {
  color: var(--ink);
}

.tabs span:hover { color: var(--ink); }

/* TAB CONTENT — height-animated crossfade between bio+cv and contact */
.tab-content {
  position: relative;
  overflow: hidden;
  transition: height 0.35s ease;
}

.tab-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.tab-view.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* BIO inline */
.bio {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 40px;
  padding-top: 16px;
}
.bio-group { margin-bottom: 22px; }
.bio-group:last-child { margin-bottom: 0; }
.bio p { margin-bottom: 8px; }
.bio p:last-child { margin-bottom: 0; }
.bio strong { font-weight: 700; }

/* CONTACT panel */
.contact-panel {
  font-size: 16px;
  line-height: 1.65;
  padding-top: 16px;
  margin-bottom: 40px;
}

/* CV */
.cv-section { margin-top: 44px; }

.cv-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}

.cv-entries { font-size: 15px; line-height: 1.65; }
.cv-entries p {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  margin-bottom: 12px;
}
.cv-entries p:last-child { margin-bottom: 0; }
.cv-entries strong { font-weight: 700; }
.cv-entries em { font-style: italic; }

/* Collections has no year column — plain single-column list */
.cv-entries.plain p { display: block; }
