/* Option C, "Light index". paf light "Hangar" theme (tokens in portal.css under .theme-hangar). Hero: two
   full-width strips of photos and cut-outs above and below the name; scrolling slides them in opposite
   directions. Cut-outs stand taller than their tiles and cross the tile edge. Body: an editorial index of the
   businesses in large Barlow Condensed rows, each with an image that shifts with parallax. Biography in two
   columns with credential figures in IBM Plex Mono. */

.topbar { background: rgb(230 231 233 / .9); }
.menu a { font: 600 18px/1 var(--display); letter-spacing: .08em; }
@media (max-width: 459px) { .menu { gap: 14px; } .menu a { font-size: 16px; } }

/* ---------- Hero with sliding strips ---------- */
.c-hero { position: relative; padding: calc(var(--header-h) + env(safe-area-inset-top) + 34px) 0 34px; }
.c-strip { position: relative; --th: clamp(150px, 21svh, 190px); height: var(--th); }
.c-track {
  position: absolute; left: 50%; top: 0; display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; width: max-content;
  transform: translate3d(calc(-50% + var(--dir, 1) * var(--p, 0) * 42vw), 0, 0); will-change: transform;
}
.c-strip.bottom .c-track { --dir: -1; }
.tile { position: relative; flex: none; width: calc(var(--th) * var(--r, 1)); height: var(--th); }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; }
.tile.photo { outline: 1px solid var(--line); }
.tile.cut { background: var(--gunmetal); }
.tile.cut.pale { background: #c9cdd3; }
.tile.cut.gold { background: var(--gold); }
.tile.cut img { /* taller than the tile: crosses its top edge, never clipped */
  position: absolute; left: 50%; bottom: 0; width: auto; max-width: none; height: var(--ch, 122%);
  transform: translateX(-50%); filter: drop-shadow(0 10px 12px rgb(20 24 31 / .35));
}
.tile.cut.wide img { height: auto; width: var(--cw, 104%); bottom: 8%; }
.tile.logo { display: grid; place-items: center; background: #fff; }
.tile.logo.dark { background: #0b0b0c; }
.tile.logo img { width: 78%; height: 78%; object-fit: contain; }
.tile figcaption, .tile .cap {
  position: absolute; left: 0; bottom: 0; padding: 3px 6px; background: var(--ink); color: var(--hangar-raised);
  font: 500 10px/14px var(--mono); text-transform: uppercase; letter-spacing: .04em;
}

.c-name { position: relative; z-index: 2; padding: 26px var(--gutter) 30px; max-width: 1400px; margin: 0 auto; }
.c-name h1 {
  margin: 0; font: 700 clamp(52px, 16.4vw, 150px)/.86 var(--display); letter-spacing: -.005em; text-transform: uppercase;
}
.c-name h1 span { display: block; }
.c-lede { margin: 14px 0 0; max-width: 38rem; font-size: 17px; line-height: 26px; color: var(--muted); }
.c-lede b { color: var(--ink); font-weight: 500; }

/* ---------- Index of businesses ---------- */
.c-sec { position: relative; max-width: 1240px; margin: 0 auto; padding: 72px var(--gutter) 40px; }
.c-head { display: grid; gap: 6px; margin-bottom: 26px; }
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ink); }
.row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(116px, 34vw, 150px);
  grid-template-areas: "num art" "title title" "line line" "links links";
  column-gap: 14px; padding: 22px 0 26px; border-top: 1px solid var(--ink);
}
.row-num { grid-area: num; align-self: start; font: 500 13px/18px var(--mono); color: var(--muted); }
.row-num b { display: block; margin-top: 4px; font: 500 13px/18px var(--mono); color: var(--ink); text-transform: uppercase; }
.row-title { grid-area: title; margin: 6px 0 10px; font: 700 clamp(44px, 12.6vw, 112px)/.88 var(--display); letter-spacing: -.005em; text-transform: uppercase; }
.row-title a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 6px no-repeat; transition: background-size .3s ease; }
.row-title a:hover, .row-title a:focus-visible { background-size: 100% 6px; }
.row-line { grid-area: line; margin: 0 0 14px; max-width: 40rem; font-size: 17px; line-height: 26px; }
.row-links { grid-area: links; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.row-title, .row-line, .row-links { position: relative; z-index: 2; } /* text stays above the moving art */
.row-art { /* the art moves with parallax; it may cross the row lines */
  grid-area: art; position: relative; height: clamp(110px, 32vw, 140px); pointer-events: none;
}
.row-art::before { /* slow: gold chevron */
  content: ""; position: absolute; z-index: 0; left: 6%; right: 6%; top: 30%; aspect-ratio: 2 / 1; background: var(--gold); clip-path: var(--chevron);
  transform: translate3d(0, calc(var(--p, 0) * -20px), 0);
}
.row-art img {
  position: absolute; z-index: 1; left: 50%; bottom: 0; width: auto; max-width: none; height: 150%;
  filter: drop-shadow(0 12px 14px rgb(20 24 31 / .3));
  transform: translate3d(-50%, calc(var(--p, 0) * 70px), 0); will-change: transform;
}
.row-art img.wide { height: auto; width: 150%; bottom: 4%; }
.row-art img.badge { height: auto; width: min(100%, 150px); bottom: 6%; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 0 0 2px var(--steel); filter: none; }
.row-art img.chip { z-index: 2; left: auto; right: -6%; bottom: -8%; height: 52%; transform: translate3d(0, calc(var(--p, 0) * 110px), 0) rotate(calc(var(--p, 0) * 40deg)); filter: drop-shadow(0 6px 8px rgb(20 24 31 / .3)); }

/* ---------- Biography ---------- */
.c-bio { display: grid; gap: 30px; border-top: 1px solid var(--line); }
.c-bio-text h2 { margin-bottom: 16px; }
.c-bio-text p { margin: 0 0 14px; }
.c-portrait { position: relative; margin: 0; }
.c-portrait img {
  width: 100%; border: 1px solid var(--line); box-shadow: 0 18px 30px rgb(20 24 31 / .18);
  transform: translate3d(0, calc(var(--p, 0) * 40px), 0);
}
.c-portrait figcaption { margin-top: 8px; font: 500 12px/16px var(--mono); color: var(--muted); }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.figs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 14px 12px 12px; background: var(--hangar-raised); }
.figs dd { margin: 0; font: 500 clamp(28px, 8.4vw, 44px)/1 var(--mono); letter-spacing: -.03em; color: var(--ink); }
.figs dt { margin-top: 8px; font: 500 12px/16px var(--mono); color: var(--muted); }
.figs .key { box-shadow: inset 0 3px 0 var(--gold); }
.orgs { margin: 18px 0 0; padding: 0; list-style: none; font: 500 13px/18px var(--mono); }
.orgs li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.orgs a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.venue { margin: 0; font-size: 15px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .c-hero { padding-top: calc(var(--header-h) + 40px); }
  .c-strip { --th: clamp(170px, 24svh, 240px); }
  .c-name { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: end; column-gap: 40px; padding: 30px var(--gutter) 34px; }
  .c-name h1 { font-size: clamp(88px, 8.6vw, 150px); }
  .c-name h1 span { display: inline; }
  .c-name .kicker { grid-column: 1 / -1; }
  .c-lede { margin: 0 0 8px; }
  .row { grid-template-columns: 80px minmax(0, 1fr) 340px; grid-template-areas: "num title art" "num line art" "num links art"; column-gap: 28px; padding: 34px 0 38px; align-items: start; }
  .row-title { margin-top: 0; }
  .row-art { height: 100%; min-height: 220px; }
  .row-art img { height: 128%; }
  .row-art img.wide { width: 118%; }
  .row-art::before { top: 26%; left: 14%; right: 14%; }
  .c-bio { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 64px; align-items: start; }
  .c-bio-side { display: grid; gap: 22px; }
  .figs dd { font-size: clamp(30px, 2.5vw, 38px); }
  .row-art img.badge { width: 200px; height: auto; bottom: auto; top: 0; }
}
