/* Karl Kimbrough portfolio: same look as the original site, lighter build. */
:root {
  --bg: #2A2A2A;
  --card: #444;
  --muted: #888;
  --dim: #666;
  --soft: #ccc;
  --accent: #4CAF50;
  --display: 'Bebas Neue', Impact, 'Arial Narrow Bold', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background: var(--bg); color: #fff; overflow-x: hidden; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- atmosphere ---------- */
#grain { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 6s ease; }
#grain.on { opacity: .06; }
#grain video { width: 100%; height: 100%; object-fit: cover; }
#bokeh { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bokeh-particle {
  position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 70%);
  opacity: 0; animation: drift var(--duration) ease-in-out var(--delay) forwards;
}
@keyframes drift {
  0% { transform: translate(var(--sx), var(--sy)); opacity: 0; }
  20%, 80% { opacity: var(--o); }
  100% { transform: translate(var(--ex), var(--ey)); opacity: 0; }
}

/* ---------- splash (first visit per session only) ---------- */
#splash { position: fixed; inset: 0; z-index: 1000; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity .8s ease; }
#splash.out { opacity: 0; pointer-events: none; }
#splash[hidden] { display: none; }
.splash-text { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; text-align: center; }
.splash-text.in { opacity: 1; transform: none; }
#splash-title { font-family: var(--display); font-size: 48px; text-transform: uppercase; }
#splash-presents { font-family: 'Open Sans', sans-serif; font-size: 24px; margin-top: 12px; color: var(--soft); }
#splash-name { font-family: var(--display); font-size: 60px; margin-top: 12px; text-transform: uppercase; }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; height: 100px; padding: 0 30px; background: #000; z-index: 500; display: flex; align-items: center; overflow: hidden; }
.header-eyes { position: absolute; top: 50%; left: 50%; height: 840px; transform: translate(calc(-50% + 288px), calc(-50% + 55px)); opacity: .5; pointer-events: none; }
.header-content { position: relative; z-index: 2; display: flex; align-items: center; min-width: 0; }
.logo-text { font-family: var(--display); font-size: 38px; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.separator { color: var(--dim); margin: 0 15px 0 5px; transform: translateY(-3px); }
.sub-text { font-family: var(--display); font-size: 21px; letter-spacing: .02em; white-space: nowrap; }
.logo-contact { position: relative; z-index: 2; margin-left: auto; display: flex; align-items: center; gap: 10px; }
.logo-contact img { width: 60px; height: 60px; opacity: .85; transition: transform .2s, opacity .3s; }
.logo-contact:hover img { transform: scale(1.05); opacity: 1; }
.contact-link { font-size: 13px; letter-spacing: 1px; opacity: 0; transform: translateX(-10px); transition: all .3s ease; }
.logo-contact:hover .contact-link, .logo-contact:focus-visible .contact-link { opacity: .85; transform: none; }

/* ---------- top row of tall cards ---------- */
main { position: relative; z-index: 1; padding-top: 120px; }
.reel { position: relative; }
.reel-track {
  display: flex; gap: 20px; height: 440px; padding: 20px 60px; align-items: center;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.panel {
  flex: 0 0 204px; height: 400px; border-radius: 12px; overflow: hidden; position: relative; background: var(--card);
  scroll-snap-align: center; transition: flex-basis .5s cubic-bezier(.4,0,.2,1), transform .3s ease; text-align: left;
}
.panel:not(.active):hover { transform: scale(1.02); }
.panel img, .panel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.panel.fit-poster .backdrop { filter: blur(16px) brightness(.45) saturate(1.2); transform: scale(1.2); }
.panel.fit-poster .art { object-fit: contain; object-position: top center; background: none; }
.panel.fit-contain img { object-fit: contain; padding: 24px 14px 110px; background: radial-gradient(120% 80% at 50% 30%, #3a3a3a, #111); }
/* deep fade so the credit text always separates from busy poster art */
.panel::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.86) 100%); pointer-events: none; z-index: 1; transition: opacity .3s; }
.panel-content { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; font-family: var(--display); text-shadow: 0 1px 2px rgba(0,0,0,.2); transition: opacity .3s; pointer-events: none; }
.panel-title { font-size: 24px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.panel-subtitle { font-size: 15px; line-height: 1; letter-spacing: .02em; margin-top: 4px; opacity: .75; text-transform: uppercase; }
.panel-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--display); font-size: 14px; letter-spacing: .08em; padding: 4px 8px 2px; border-radius: 4px; background: var(--accent); color: #0b1a0c; }
.panel.active { flex-basis: min(711px, 86vw); cursor: default; }
.panel.active::after, .panel.active .panel-content, .panel.active .panel-tag { opacity: 0; }
.panel.active video { object-fit: contain; z-index: 3; }
.panel-close { position: absolute; top: 10px; right: 10px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.6); font-size: 22px; line-height: 1; display: none; }
.panel.active .panel-close { display: block; }

/* title card the site draws when there's no poster yet */
.titlecard { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(120% 80% at 30% 20%, #555 0%, #2b2b2b 55%, #151515 100%); }
.titlecard span { font-family: var(--display); font-size: 44px; line-height: .95; text-align: center; text-transform: uppercase; opacity: .9; }
.banner .titlecard { background: linear-gradient(100deg, #151515 0%, #3a3a3a 60%, #4a4a4a 100%); }
.t-item.alt .banner .titlecard { background: linear-gradient(260deg, #151515 0%, #3a3a3a 60%, #4a4a4a 100%); }

.reel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 80px; font-size: 44px; color: rgba(255,255,255,.7); background: linear-gradient(90deg, rgba(42,42,42,.9), transparent); }
.reel-arrow.right { right: 0; background: linear-gradient(270deg, rgba(42,42,42,.9), transparent); }
.reel-arrow.left { left: 0; }
.reel-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ---------- tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 48px; margin: 36px 0 28px; flex-wrap: wrap; }
.tabs > * { font-family: var(--display); font-size: 24px; color: var(--dim); padding: 10px 20px; position: relative; transition: color .2s; cursor: pointer; }
.tabs > *:hover { color: #aaa; }
.tabs .active { color: #fff; }
.tabs .active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }

/* ---------- timeline ---------- */
.timeline { position: relative; max-width: 1200px; margin: 0 auto 80px; padding: 10px 0 40px; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(rgba(255,255,255,.3), transparent); }
.t-item { position: relative; width: 50%; padding: 10px 40px; }
.t-item.alt { margin-left: 50%; }
.t-dot { position: absolute; top: 50%; right: -8px; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--dim); transition: background .3s; }
.t-item.alt .t-dot { right: auto; left: -8px; }
.t-item:hover .t-dot { background: #fff; }
.t-date { position: absolute; top: 50%; transform: translateY(-50%); left: calc(100% + 30px); width: 360px; font-size: 13.4px; color: var(--muted); }
.t-item.alt .t-date { left: auto; right: calc(100% + 30px); text-align: right; }
.banner {
  display: block; width: 100%; height: 140px; border-radius: 8px; overflow: hidden; position: relative; background: #000; text-align: right; padding: 20px;
  transition: height .5s cubic-bezier(.4,0,.2,1), box-shadow .3s; cursor: pointer;
}
.t-item.alt .banner { text-align: left; }
.banner:hover { box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
/* a soft scrim on whichever side the text sits */
.banner::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(270deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 35%, rgba(0,0,0,0) 58%); }
.t-item.alt .banner::before { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 35%, rgba(0,0,0,0) 58%); }
.banner.active::before { display: none; }
.banner.clean::before { display: none; }
.t-item .banner.composed::before { opacity: .45; }
.banner.clean .b-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.t-credit { display: block; color: var(--soft); font-size: 14px; line-height: 1.5; margin-bottom: 6px; }
.t-item.text-left .banner { text-align: left; }
.t-item.text-left .banner::before { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 35%, rgba(0,0,0,0) 58%); }
.t-item.text-right .banner { text-align: right; }
.t-item.text-right .banner::before { background: linear-gradient(270deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 35%, rgba(0,0,0,0) 58%); }
.t-item.text-left .banner.side img { left: auto; right: 0; -webkit-mask-image: linear-gradient(270deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); mask-image: linear-gradient(270deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); }
.t-item.text-right .banner.side img { left: 0; right: auto; -webkit-mask-image: linear-gradient(90deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); mask-image: linear-gradient(90deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); }
/* "side" banners: the photo slides away from the text and fades out underneath it */
.banner.side img { width: 82%; right: auto; left: 0; -webkit-mask-image: linear-gradient(90deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); mask-image: linear-gradient(90deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); }
.t-item.alt .banner.side img { left: auto; right: 0; -webkit-mask-image: linear-gradient(270deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); mask-image: linear-gradient(270deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); }
.banner .b-text { position: relative; z-index: 2; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.banner h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; letter-spacing: .02em; margin-bottom: 10px; text-transform: uppercase; }
.banner p { font-size: 14px; color: var(--soft); letter-spacing: .02em; }
.banner.no-clip { cursor: default; }
.banner.active { height: auto; aspect-ratio: 16 / 9; padding: 0; }
.banner.active img, .banner.active .b-text, .banner.active .titlecard { display: none; }
.banner video { width: 100%; height: 100%; display: block; background: #000; }
/* ---------- about (the long page) ---------- */
.green { color: var(--accent); }
.dim { color: var(--muted); }
.about { max-width: 1000px; margin: 0 auto 80px; padding: 0 24px; }
.ab-hero { position: relative; border-radius: 12px; overflow: hidden; background: #000; min-height: 220px; display: flex; align-items: flex-end; margin-bottom: 36px; }
.ab-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.ab-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.75) 100%); }   /* keep the face clear; darken only behind the name */
.ab-hero-text { position: relative; z-index: 1; margin-left: auto; padding: 28px 32px; text-align: right; }
.ab-hero h2 { font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.ab-hero p { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.ab-h { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: .04em; margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(76,175,80,.35); text-transform: uppercase; }
.ab-p { color: var(--soft); line-height: 1.75; margin-bottom: 14px; font-size: 16px; }
.ab-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab-card { background: #1c1c1c; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.ab-card-img { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ab-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ab-net { position: absolute; top: 10px; left: 10px; font-family: var(--display); font-size: 14px; letter-spacing: .08em; background: rgba(0,0,0,.7); padding: 3px 8px 1px; border-radius: 4px; }
.ab-card-body { padding: 16px 18px 18px; }
.ab-card h4, .ab-hl h4, .ab-facts h4 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; }
.ab-role { color: var(--accent); font-size: 13px; margin: 4px 0 10px; }
.ab-card p, .ab-hl p { color: var(--soft); font-size: 14px; line-height: 1.6; }
.ab-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab-hl { background: #1c1c1c; border-radius: 10px; padding: 0 0 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.ab-hl-img { aspect-ratio: 16 / 9; background: #000; margin-bottom: 14px; }
.ab-hl-img img { width: 100%; height: 100%; object-fit: cover; }
.ab-hl h4, .ab-hl p, .ab-hl .ab-year { padding: 0 18px; }
.ab-year { font-family: var(--display); color: var(--accent); font-size: 18px; letter-spacing: .06em; margin-top: 8px; }
.ab-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; margin-top: 22px; }
.ab-facts ul, .ab-recent ul { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.ab-facts li, .ab-recent li { color: var(--soft); font-size: 14px; line-height: 1.5; padding-left: 14px; position: relative; }
.ab-facts li::before, .ab-recent li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.ab-recent { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ab-quote { margin: 48px auto 10px; max-width: 640px; text-align: center; font-family: var(--display); font-size: 34px; line-height: 1.15; letter-spacing: .02em; }
.ab-quote cite { display: block; font-family: 'Open Sans', sans-serif; font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-top: 12px; }

/* ---------- pop-up sheets (resume, vault) ---------- */
body.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 1500; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); overflow-y: auto; padding: 40px 16px; }
.sheet[hidden] { display: none; }
.sheet-box { position: relative; max-width: 980px; margin: 0 auto; background: #232323; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 36px 40px 40px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.sheet-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 24px; line-height: 1; }
.sheet-close:hover { background: rgba(255,255,255,.16); }
.rs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; padding-right: 40px; }
.rs-head h2 { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.rs-head p { font-size: 14px; margin-top: 6px; }
.rs-head a { color: #ddd; }
.rs-btns { display: flex; gap: 10px; }
.rs-btn { font-family: var(--display); font-size: 18px; letter-spacing: .06em; padding: 8px 16px 6px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; }
.rs-btn:hover { border-color: #fff; }
.green-btn { border-color: rgba(76,175,80,.6); color: var(--accent) !important; }
.rs-list { display: grid; }
.rs-row { display: grid; grid-template-columns: 2.2fr 1.1fr 1.7fr; gap: 14px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14px; }
.rs-show { font-family: var(--display); font-size: 19px; letter-spacing: .03em; text-transform: uppercase; }
.rs-net { color: var(--muted); }
.rs-role { color: var(--soft); }
.rs-note { color: var(--muted); font-size: 13px; margin-top: 6px; }
.eyebrow { font-family: var(--display); font-size: 16px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.vault h2 { font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; margin: 4px 0 12px; text-transform: uppercase; }
.vault-list { display: grid; gap: 2px; margin-top: 18px; }
.vault-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.vault-year { font-family: var(--display); font-size: 22px; color: var(--accent); }
.vault-row h4 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
.vault-row p { color: var(--muted); font-size: 13px; margin-top: 3px; }
.vault-tag { font-family: var(--display); font-size: 14px; letter-spacing: .08em; color: var(--dim); }
.vault-key { opacity: .35; transition: opacity .3s; display: inline-flex; }
.vault-key:hover { opacity: .7; }
.sub-text { cursor: pointer; }

/* fade-in is decoration only: items are visible even if JS or the observer never runs */
.js .t-item.pre { opacity: 0; transform: translateY(16px); }
.t-item { transition: opacity .6s ease, transform .6s ease; }

/* ---------- footer + contact ---------- */
.footer { position: relative; z-index: 1; display: flex; justify-content: center; gap: 28px; padding: 30px 16px 50px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.footer a:hover { color: #fff; }
.contact-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.7); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; }
.contact-modal[hidden] { display: none; }
.contact-box { background: rgba(0,0,0,.92); border: 1px solid rgba(76,175,80,.3); border-radius: 8px; padding: 22px 30px; width: min(320px, calc(100vw - 32px)); text-align: center; display: grid; gap: 15px; }
.contact-box p { font-size: 14px; }
.contact-box a { color: rgba(76,175,80,.85); font-size: 16px; }
.contact-box a:hover { color: var(--accent); }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .header { height: 72px; padding: 0 16px; }
  .header-eyes { height: 520px; transform: translate(calc(-50% + 120px), calc(-50% + 30px)); }
  .logo-text { font-size: 28px; }
  .separator { margin: 0 8px 0 4px; }
  .sub-text { font-size: 16px; }
  .logo-contact img { width: 44px; height: 44px; }
  .contact-link { display: none; }
  main { padding-top: 84px; }
  .reel-track { height: 360px; padding: 10px 16px; gap: 14px; }
  .panel { flex-basis: 170px; height: 330px; }
  .panel.active { flex-basis: calc(100vw - 32px); height: calc((100vw - 32px) * 9 / 16 + 40px); }
  .reel-arrow { display: none; }
  .tabs { gap: 2px; margin: 24px 0 16px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs > * { font-size: 20px; padding: 8px 10px; flex: 0 0 auto; }
  .about { padding: 0 16px; }
  .ab-hero { min-height: 170px; }
  .ab-hero-text { padding: 18px; }
  .ab-hero h2 { font-size: 40px; }
  .ab-featured, .ab-highlights, .ab-facts, .ab-recent { grid-template-columns: 1fr; }
  .ab-quote { font-size: 27px; }
  .sheet { padding: 0; }
  .sheet-box { border-radius: 0; min-height: 100%; padding: 56px 18px 40px; border: 0; }
  .rs-head { padding-right: 0; }
  .rs-head h2 { font-size: 40px; }
  .rs-row { grid-template-columns: 1fr; gap: 1px; padding: 10px 0; }
  .vault h2 { font-size: 44px; }
  .vault-row { grid-template-columns: 50px 1fr; }
  .vault-tag { display: none; }
  .timeline { padding: 0 16px 30px; }
  .timeline::before { left: 16px; }
  .t-item, .t-item.alt { width: 100%; margin-left: 0; padding: 0 0 26px 24px; }
  .t-dot, .t-item.alt .t-dot { left: -7px; right: auto; top: 70px; margin-top: 0; width: 14px; height: 14px; }
  .t-date, .t-item.alt .t-date { position: static; transform: none; width: auto; text-align: left; margin-top: 8px; font-size: 12.5px; }
  .banner, .t-item.alt .banner { height: 120px; text-align: right; padding: 14px 16px; }
  .t-item.alt .banner::before { background: linear-gradient(270deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 35%, rgba(0,0,0,0) 58%); }
  .t-item.alt .banner.side img { left: 0; right: auto; -webkit-mask-image: linear-gradient(90deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); mask-image: linear-gradient(90deg, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); }
  .banner h3 { font-size: 21px; margin-bottom: 6px; }
  .banner p { font-size: 12.5px; }
  #splash-title { font-size: 32px; } #splash-presents { font-size: 20px; } #splash-name { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  #bokeh { display: none; }
}
.tab-intro { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: -8px 0 26px; }
/* poster lightbox */
.poster-sheet { display: flex; align-items: center; justify-content: center; padding: 24px; }
.poster-sheet[hidden] { display: none; }
.poster-box { position: relative; text-align: center; }
.poster-box img { display: block; max-width: min(92vw, 900px); max-height: 86vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.poster-box p { font-family: var(--display); font-size: 20px; letter-spacing: .06em; margin-top: 12px; color: var(--soft); text-transform: uppercase; }
.poster-box .sheet-close { position: absolute; top: -14px; right: -14px; background: rgba(30,30,30,.9); }
.banner.has-poster { cursor: zoom-in; }
/* section spines in the top row */
.reel-divider { flex: 0 0 64px; height: 400px; position: relative; display: flex; align-items: center; justify-content: center; }
.reel-divider::before { content: ''; position: absolute; top: 24px; bottom: 24px; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(transparent, var(--accent) 18%, var(--accent) 82%, transparent); opacity: .8; }
.reel-divider span { position: relative; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-size: 30px; letter-spacing: .28em; color: var(--accent); background: var(--bg); padding: 18px 0; }
@media (max-width: 760px) { .reel-divider { flex-basis: 38px; height: 330px; } .reel-divider span { font-size: 17px; } }
/* decorative background videos: never show the browser's play button (iPhone Low Power Mode) */
video.deco::-webkit-media-controls, video.deco::-webkit-media-controls-start-playback-button,
video.deco::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
video.deco { pointer-events: none; }

/* bonus: a small easter-egg tile under a card's credits */
.t-bonus { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 6px 10px 6px 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; color: var(--muted); font: inherit; font-size: 11.5px; line-height: 1.35; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.t-bonus:hover { background: rgba(255,255,255,.08); border-color: rgba(214,200,72,.5); }
.t-bonus img { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; flex: none; }
.t-bonus em { display: block; font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #d6c848; }
.t-bonus strong { display: block; font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .05em; color: var(--soft); }
.t-item.alt .t-bonus { margin-left: auto; }
.poster-box video { display: block; max-width: min(92vw, 900px); max-height: 80vh; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.6); background: #000; }
.t-item.has-bonus { min-height: 190px; }
@media (max-width: 760px) { .t-item.has-bonus { min-height: 0; } }
.t-bonus i { display: block; margin-top: 2px; font-style: italic; color: var(--soft); opacity: .8; }
.ab-facts li a { color: var(--soft); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ab-facts li a:hover { color: #fff; }
/* phones can refuse to autoplay (Low Power Mode): keep a video invisible until it is really playing, so
   nobody ever sees a play button; the header shows a still of the eyes underneath until then */
video.deco { visibility: hidden; }
video.deco.playing { visibility: visible; }

/* phones: the picture shows whole (no text on top, no blur) and the words sit underneath it */
.m-only { display: none; }
@media (max-width: 760px) {
  .t-item.has-img .banner { height: auto; aspect-ratio: 2080 / 560; padding: 0; }
  .t-item.has-phone .banner { aspect-ratio: 5 / 2; }
  .t-item.has-img .banner::before { display: none; }
  .t-item.has-img .banner .b-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .t-item.has-img .m-only { display: block; }
  .t-item .t-credit { font-size: 13.5px; margin-bottom: 4px; }
  .t-item .t-credit b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; color: #fff; margin-bottom: 2px; }
  .t-dot, .t-item.alt .t-dot { top: 40px; }
}

/* phones: smaller top-row cards (same shape) so more titles show, free flick scrolling */
@media (max-width: 760px) {
  .reel-track { height: 250px; scroll-snap-type: none; gap: 10px; }
  .panel { flex-basis: 116px; height: 225px; }
  .panel-content { left: 12px; right: 12px; bottom: 12px; }
  .panel-title { font-size: 16.5px; }
  .panel-subtitle { font-size: 10.5px; }
  .panel-tag { top: 10px; left: 10px; font-size: 11px; padding: 3px 6px 1px; }
  .reel-divider { flex-basis: 30px; height: 225px; }
  .reel-divider span { font-size: 14px; }
}

/* phones: the poster pop-up's X sits fixed in the corner, big enough to see and tap */
@media (max-width: 760px) {
  .poster-box .sheet-close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; font-size: 30px; line-height: 44px; border-radius: 50%; background: rgba(0,0,0,.75); border: 1px solid rgba(255,255,255,.35); color: #fff; z-index: 10; }
  .poster-box img { max-width: 94vw; max-height: 78vh; }
}
/* phones: every picture fills its card edge to edge, with no fades or masks left over from the desktop layout */
@media (max-width: 760px) {
  .t-item.has-phone .banner img, .t-item.has-phone .banner.side img { position: absolute; inset: 0; left: 0; right: auto; width: 100% !important; height: 100%; object-fit: cover; object-position: center !important; -webkit-mask-image: none !important; mask-image: none !important; }
  .t-item.has-img .banner.composed::before, .t-item.has-img .banner::after { display: none; }
  /* About: the photo on its own, the name and titles underneath, so nothing covers the face */
  .ab-hero { display: block; min-height: 0; background: none; overflow: visible; }
  .ab-hero img { position: relative; display: block; height: auto; aspect-ratio: 4 / 3; border-radius: 12px; object-fit: cover; object-position: 8% 35%; }
  .ab-hero::after { display: none; }
  .ab-hero-text { margin: 0; padding: 14px 2px 0; text-align: left; }
  .ab-hero h2 { font-size: 40px; }
}
.header.eyes-live .eyes-still { display: none; }
/* phones: a smaller title with Karl's name stacked under it, so neither sits on the eyes */
@media (max-width: 760px) {
  .header-content { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
  .logo-text { font-size: 22px; }
  .header-content .separator { display: none; }
  .sub-text { font-size: 14px; letter-spacing: .06em; color: var(--soft); padding: 0; }
}
/* phones: a shorter header (eyes stay put, less nose), a smaller logo, and a tighter gap above the tabs */
@media (max-width: 760px) {
  .header { height: 58px; }
  .header-eyes { transform: translate(calc(-50% + 120px), calc(-50% + 37px)); }
  .logo-contact img { width: 36px; height: 36px; }
  main { padding-top: 66px; }
  .reel-track { padding-bottom: 4px; }
  .reel-note { margin-top: 0; font-size: 12px; }
  .tabs { margin: 10px 0 14px; }
}
