/* ============================================================
 * About — Origin (Teaser · Director's Journey · Timeline)
 * Added beneath the compass. Inherits the brass-on-black system
 * + shared helpers (.ab-eyebrow, .ab-textured) from about.css.
 * ============================================================ */

/* shared rule divider used across these sections */
.ao-rule { width: 1px; height: 60px; margin: 0 auto; background: linear-gradient(180deg, var(--c-hairline), transparent); }

/* ---- shared cinematic CTA (matches the compass CTA) ---- */
.ao-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #E8C98A; background: transparent;
  border: 1px solid rgba(201,162,75,0.5); border-radius: 2px;
  padding: 15px 28px; cursor: pointer; text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, gap .25s ease;
}
.ao-cta:hover { background: linear-gradient(180deg, #F4D58E, #B4823E); color: #1A1206; border-color: transparent; gap: 17px; }

/* ---------- play-O button (replaces the "O" in the headline) ---------- */
.ao-play-o {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1em;
  width: 0.86em; height: 0.86em; padding: 0; margin: 0 0.02em;
  vertical-align: -0.06em;
  background: none; border: none; cursor: pointer;
  transition: transform .3s ease, filter .3s ease;
  filter: drop-shadow(0 0 0 rgba(232,183,119,0));
}
.ao-play-o__svg { width: 100%; height: 100%; display: block; }
.ao-play-o:hover, .ao-play-o:focus-visible {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(232,183,119,0.55));
  outline: none;
}

/* ---------- video modal ---------- */
.ao-vmodal {
  position: fixed; inset: 0; z-index: 9900;
  background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
}
.ao-vmodal__x {
  position: fixed; top: 28px; right: 36px; z-index: 9901;
  background: none; border: none; cursor: pointer;
  font-size: 38px; line-height: 1; color: rgba(232,183,119,0.75);
  transition: color .2s;
}
.ao-vmodal__x:hover { color: #f5ede3; }
.ao-vmodal__frame {
  width: min(860px, 92vw); aspect-ratio: 16/9;
  background: #080503; border: 1px solid rgba(180,130,60,0.3); border-radius: 4px;
  overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.ao-vmodal__frame iframe,
.ao-vmodal__frame video { width: 100%; height: 100%; border: none; display: block; }
.ao-vmodal__placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  color: rgba(245,237,227,0.5);
}
.ao-vmodal__placeholder p { font-family: var(--font-body); font-size: 15px; margin: 0; }
.ao-vmodal__placeholder code { color: rgba(232,183,119,0.8); font-size: 13px; }

/* ============================================================
 *  TEASER — "The boy who reached for the camera."
 * ============================================================ */
.ao-teaser {
  position: relative; overflow: hidden;
  height: auto; min-height: 106vh;
  display: flex; flex-direction: column;
  padding: clamp(86px, 11vh, 140px) clamp(24px, 6vw, 120px) clamp(40px, 6vh, 80px);
  background: radial-gradient(125% 100% at 50% 0%, #1a140d 0%, #0d0a07 46%, #050301 100%);
}
/* faint photo-collage texture behind everything */
.ao-teaser__collage {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/about-collage.jpg") center / cover no-repeat;
  filter: grayscale(1) contrast(0.95) brightness(0.95);
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 35%, #000 0%, rgba(0,0,0,0.45) 60%, transparent 100%);
          mask-image: radial-gradient(120% 100% at 50% 35%, #000 0%, rgba(0,0,0,0.45) 60%, transparent 100%);
}
/* Ted — cut-out figure centered on the dark gradient */
.ao-teaser__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("assets/ted-camera.png");
  background-repeat: no-repeat;
  background-position: 40% 50%;
  background-size: auto 134%;
  opacity: 0.92;
}
.ao-teaser__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,3,1,0.5) 0%, rgba(5,3,1,0.18) 20%, rgba(5,3,1,0.5) 50%, rgba(5,3,1,0.92) 100%),
    radial-gradient(120% 82% at 50% 58%, rgba(0,0,0,0) 34%, rgba(5,3,1,0.55) 100%);
}
/* camera flash — a soft, gentle full-screen glow that eases in and out
   (no hard strobe — safe for photosensitivity). */
.ao-teaser__flash {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at 35% 34%, rgba(255,253,245,0.66) 0%, rgba(255,247,224,0.3) 18%, transparent 46%),
    rgba(255,250,238,0.32);
  mix-blend-mode: screen; opacity: 0;
  animation: aoFlash 5.5s ease-in-out infinite;
}
@keyframes aoFlash {
  0%, 82%  { opacity: 0; }
  90%      { opacity: 0.7; }    /* gentle but clearly visible swell */
  100%     { opacity: 0; }      /* slow ease back out */
}
@media (prefers-reduced-motion: reduce) {
  .ao-teaser__flash { animation: none; opacity: 0; }
}
.ao-teaser__reticles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ao-teaser__reticles .r { position: absolute; width: 42px; height: 42px; border-color: rgba(255,234,202,0.78); }
.ao-teaser__reticles .tl { top: clamp(96px, 12vh, 150px); left: clamp(24px, 4vw, 80px); border-top: 2px solid; border-left: 2px solid; }
.ao-teaser__reticles .tr { top: clamp(96px, 12vh, 150px); right: clamp(24px, 4vw, 80px); border-top: 2px solid; border-right: 2px solid; }
.ao-teaser__reticles .bl { bottom: clamp(36px, 5vh, 70px); left: clamp(24px, 4vw, 80px); border-bottom: 2px solid; border-left: 2px solid; }
.ao-teaser__reticles .br { bottom: clamp(36px, 5vh, 70px); right: clamp(24px, 4vw, 80px); border-bottom: 2px solid; border-right: 2px solid; }
.ao-teaser__inner {
  position: relative; z-index: 3;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; text-align: center;
  max-width: 1280px; margin: 0 auto; padding-bottom: clamp(44px, 7vh, 92px);
}
.ao-teaser__inner .ao-teaser__headline { max-width: none; }
.ao-teaser__inner .ao-teaser__body { max-width: min(94vw, 1480px); }
.ao-teaser__body > p:not(.ao-teaser__bio) { max-width: 760px; margin-left: auto; margin-right: auto; }
.ao-teaser__inner .ao-cta { align-self: center; margin-top: 32px; }
.ao-teaser__eyebrow { margin-bottom: 22px; }
.ao-teaser__headline {
  display: flex; flex-direction: column; align-items: center;
  margin: 0 0 22px; text-transform: uppercase; line-height: 0.84;
}
.ao-th-serif {
  display: block;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.3vw, 78px); line-height: 0.92; letter-spacing: 0.012em;
}
.ao-th-sans {
  display: block;
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(38px, 5.2vw, 94px); line-height: 0.9; letter-spacing: -0.012em;
  color: #FBF3E4; text-shadow: 0 6px 26px rgba(0,0,0,0.55);
}
.ao-teaser__body { margin: 0 0 16px; max-width: 840px; }
.ao-teaser__body p {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(15px, 1.12vw, 19px); line-height: 1.58;
  color: rgba(255,255,255,0.9); margin: 0 0 13px; text-wrap: pretty;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}
.ao-teaser__body p:last-child { margin-bottom: 0; }
.ao-teaser__bio {
  font-size: clamp(15px, 1.08vw, 19px) !important;
  line-height: 1.55; max-width: min(90vw, 1020px); margin: 0 auto !important;
  color: rgba(255,255,255,0.82) !important;
  text-wrap: balance;
}
.ao-q { font-family: var(--font-display); font-style: italic; font-size: 1.35em; }
.ao-teaser__kicker {
  font-family: var(--font-body); font-style: normal; font-weight: 700;
  font-size: clamp(17px, 1.4vw, 23px); color: var(--c-cream);
  margin: 2px 0 22px; text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}
/* portrait frame */
.ao-teaser__media { position: relative; }
.ao-frame-art {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(209,157,99,0.45);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(0,0,0,0.4);
}
.ao-frame-art image-slot { width: 100%; height: 100%; display: block; }
.ao-frame-art__vig { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -120px 120px -60px rgba(5,3,1,0.9), inset 0 0 60px rgba(5,3,1,0.5); }
.ao-frame-art__reticle { position: absolute; width: 26px; height: 26px; border-color: rgba(255,234,202,0.7); pointer-events: none; }
.ao-frame-art__reticle.tl { top: 16px; left: 16px; border-top: 1.5px solid; border-left: 1.5px solid; }
.ao-frame-art__reticle.br { bottom: 16px; right: 16px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

/* ============================================================
 *  ORIGIN STORY — "The Director's Journey"
 * ============================================================ */
.ao-story {
  position: relative; overflow: hidden;
  padding: clamp(90px, 12vh, 150px) clamp(24px, 6vw, 120px);
  background: #060402;
}
.ao-story--light {
  position: relative;
  background: url("assets/about-director-lens.jpg") left center / cover no-repeat;
  background-color: #EFE7D7;
}
.ao-story--light::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.ao-story--light > * { position: relative; z-index: 1; }
/* On narrower screens (laptops, resized windows) the lens background scales up under
   cover and creeps into the left copy column. Strengthen the cream wash earlier so the
   text always sits on a readable cream field while the lens still shows at the edge. */
/* responsive — keep text off the lens */@media (max-width: 1800px) {
  .ao-story__grid { padding-left: clamp(60px, 9vw, 180px); }
}
@media (max-width: 1100px) {
  .ao-story__grid { padding-left: 0; }
}
.ao-story__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 5vw, 96px); align-items: center;
  max-width: 1340px; margin: 0 auto;
}
.ao-story__copy { max-width: 560px; }
.ao-story__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 68px); line-height: 0.98;
  text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 16px;
  filter: none;
}
.ao-story__sub {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(20px, 2vw, 30px); margin: 0 0 26px;
}
.ao-story--light .ao-story__sub { color: #6A4A22; }
.ao-story__body p {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(16px, 1.18vw, 20px); line-height: 1.62;
  margin: 0 0 16px; text-wrap: pretty;
}
.ao-story--light .ao-story__body p { color: rgba(46,28,12,0.74); }

/* ---- scattered polaroid photo-collage ---- */
.ao-collage { position: relative; width: 100%; aspect-ratio: 1 / 1.02; }
.ao-col { position: absolute; margin: 0; }
.ao-col__frame {
  position: relative; width: 100%; height: 100%;
  border-radius: 3px; overflow: hidden;
  background: linear-gradient(160deg, #FEFCF7 0%, #F4EEE1 100%);
  padding: 5%;
  box-shadow: 0 26px 52px rgba(40,24,8,0.4), 0 2px 4px rgba(40,24,8,0.25);
  transition: transform .55s cubic-bezier(0.16,1,0.3,1), box-shadow .55s ease;
}
.ao-col image-slot {
  width: 100%; height: 100%; display: block;
  background: #c8bca6; border-radius: 1px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.ao-col__img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  background: #c8bca6; border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.ao-col:hover { z-index: 9; }
.ao-col:hover .ao-col__frame { transform: scale(1.04) rotate(0deg); box-shadow: 0 40px 70px rgba(40,24,8,0.5), 0 2px 4px rgba(40,24,8,0.25); }
/* layered, slightly-tilted stills — a director's contact sheet */
.ao-col--main   { width: 56%; top: 3%;  left: 5%;  aspect-ratio: 4 / 5; transform: rotate(-2.5deg); z-index: 3; }
.ao-col--arch   { width: 40%; top: 0;   right: 3%; aspect-ratio: 3 / 4; transform: rotate(4deg);    z-index: 2; }
.ao-col--bts    { width: 49%; bottom: 1%; left: 0;  aspect-ratio: 4 / 3; transform: rotate(3deg);    z-index: 4; }
.ao-col--studio { width: 33%; bottom: 8%; right: 5%; aspect-ratio: 1 / 1; transform: rotate(-3.5deg); z-index: 5; }

/* ============================================================
 *  TIMELINE — "The Road Here"  (interactive film reel)
 * ============================================================ */
.ao-timeline {
  position: relative; overflow: hidden;
  padding: clamp(90px, 12vh, 150px) 0 clamp(70px, 9vh, 120px);
  background:
    linear-gradient(180deg, rgba(5,3,1,0.72) 0%, rgba(5,3,1,0.42) 30%, rgba(5,3,1,0.42) 70%, rgba(5,3,1,0.85) 100%),
    url("assets/about/timeline-topo-bg.jpg") center / cover no-repeat,
    #050301;
}
/* faint film grain over the whole chart */
.ao-timeline__grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(120% 90% at 50% 40%, rgba(240,196,120,0.06) 0%, transparent 55%);
}
.ao-timeline__head { position: relative; z-index: 3; max-width: 880px; margin: 0 auto clamp(30px,4vh,52px); text-align: center; padding: 0 24px; }
.ao-timeline__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 72px); line-height: 0.98;
  text-transform: uppercase; letter-spacing: 0.01em; margin: 16px 0 14px;
}
.ao-timeline__sub {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(20px, 2vw, 30px); color: var(--c-cream); margin: 0 0 24px;
}
.ao-timeline__body {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(15px, 1.1vw, 19px); line-height: 1.6;
  color: rgba(255,255,255,0.78); max-width: 1000px; margin: 0 auto; text-wrap: pretty;
}

/* ---- cartographer's ephemera ---- */
.ao-note {
  position: absolute; z-index: 2; pointer-events: none;
  font-family: "Caveat", var(--font-display), cursive;
  font-size: clamp(18px, 1.5vw, 26px); line-height: 1.15;
  color: rgba(232,183,119,0.6); transform: rotate(-7deg);
}
.ao-note--a { top: clamp(120px, 15vh, 200px); right: clamp(30px, 8vw, 150px); text-align: center; }
.ao-note--b { bottom: clamp(30px, 6vh, 80px); left: clamp(24px, 4vw, 70px); transform: rotate(-5deg); }
.ao-stamp {
  position: absolute; z-index: 2; pointer-events: none;
  right: clamp(24px, 5vw, 90px); bottom: clamp(30px, 6vh, 84px);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 20px; transform: rotate(-4deg);
  border: 1.5px solid rgba(214,162,74,0.4); border-radius: 4px;
  color: rgba(232,183,119,0.62);
}
.ao-stamp__title { font-family: "Caveat", var(--font-display), cursive; font-size: clamp(20px, 1.7vw, 30px); letter-spacing: 0.02em; }
.ao-stamp__no { font-family: var(--font-sans); font-weight: 700; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; }
.ao-scale {
  position: absolute; z-index: 2; pointer-events: none;
  left: clamp(24px, 4vw, 70px); bottom: clamp(80px, 12vh, 150px);
  display: flex; flex-direction: column; gap: 6px;
  color: rgba(232,183,119,0.45);
}
.ao-scale__label { font-family: var(--font-sans); font-weight: 700; font-size: 10px; letter-spacing: 0.2em; }
.ao-scale__bar {
  width: 160px; height: 8px;
  background: repeating-linear-gradient(90deg, rgba(232,183,119,0.55) 0 20px, transparent 20px 40px);
  border: 1px solid rgba(232,183,119,0.45); border-top: 0;
}
@media (max-width: 1100px) { .ao-note, .ao-stamp, .ao-scale { display: none; } }

/* ---- the journey: a straight glowing star line ---- */
.ao-route {
  position: relative; z-index: 3;
  max-width: 1620px; margin: 0 auto clamp(12px,1.6vh,20px);
  padding: 0 clamp(50px, 6vw, 120px);
}
.ao-route__track { position: relative; width: 100%; height: 74px; }
/* the line sits at the star band (top: 26px) */
.ao-route__line {
  position: absolute; top: 26px; height: 1px; transform: translateY(-50%);
  pointer-events: none;
}
.ao-route__line--solid {
  left: 0;
  background: linear-gradient(90deg, rgba(240,196,120,0.3), #E8B769 45%, #FBE6B8);
  box-shadow: 0 0 6px rgba(240,196,120,0.6);
}
.ao-route__line--dashed {
  right: 0;
  background: repeating-linear-gradient(90deg, rgba(240,196,120,0.7) 0 2px, transparent 2px 9px);
}
.ao-tick {
  position: absolute; top: 26px; transform: translateX(-50%);
  width: 0; height: 0;
  cursor: pointer; background: none; border: 0; padding: 0;
  font-family: var(--font-sans); font-weight: 600;
  color: rgba(232,183,119,0.7); white-space: nowrap;
  transition: color .3s ease;
}
.ao-tick__star {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 20px; height: 20px; display: block;
  color: #F6D48A;
  filter: drop-shadow(0 0 4px rgba(240,196,120,0.9));
  transition: width .4s ease, height .4s ease, color .4s ease, filter .4s ease;
}
.ao-tick__star svg { position: relative; z-index: 2; width: 100%; height: 100%; display: block; fill: currentColor; }
/* soft radial + ring glow behind the active star */
.ao-tick__glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 0; height: 0; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(240,196,120,0.55) 0%, rgba(240,196,120,0.12) 42%, transparent 68%);
  transition: opacity .4s ease;
}
.ao-tick:hover .ao-tick__star { color: #FBE6B8; filter: drop-shadow(0 0 6px rgba(240,196,120,1)); }
.ao-tick.is-visited .ao-tick__star { color: #F6D48A; }
.ao-tick.is-active .ao-tick__star {
  width: 34px; height: 34px; color: #FFF7E2;
  filter: drop-shadow(0 0 8px rgba(255,238,190,1)) drop-shadow(0 0 20px rgba(240,196,120,0.85));
  animation: aoStarTwinkle 3.4s ease-in-out infinite;
}
.ao-tick.is-active .ao-tick__glow {
  width: 92px; height: 92px; opacity: 1;
  animation: aoStarGlow 3.4s ease-in-out infinite;
}
/* crisp thin ring around the active star (matches the reference halo) */
.ao-tick.is-active::after {
  content: ""; position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(240,196,120,0.6);
  pointer-events: none;
  animation: aoRingPulse 3.4s ease-in-out infinite;
}
@keyframes aoStarTwinkle {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50%      { transform: translate(-50%, -50%) rotate(45deg) scale(1.08); }
}
@keyframes aoStarGlow {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}
@keyframes aoRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
  50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .ao-tick.is-active .ao-tick__star,
  .ao-tick.is-active .ao-tick__glow,
  .ao-tick.is-active::after { animation: none; }
}
.ao-tick__label {
  position: absolute; left: 50%; top: 26px; transform: translateX(-50%);
  text-align: center;
  font-size: clamp(12px, 0.95vw, 16px); letter-spacing: 0.03em;
  transition: color .3s ease, text-shadow .3s ease;
}
.ao-tick:hover { color: rgba(255,234,202,0.92); }
.ao-tick.is-visited { color: rgba(232,183,119,0.82); }
.ao-tick.is-active { color: #FFF1D2; }
.ao-tick.is-active .ao-tick__label { top: 34px; font-weight: 700; text-shadow: 0 0 14px rgba(240,196,120,0.55); }
@media (max-width: 900px) {
  .ao-route { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .ao-route::-webkit-scrollbar { display: none; }
  .ao-route__track { min-width: 900px; }
}

/* journey strip — cards ride over the shared topographic chart (no own panel) */
.ao-reelwrap {
  position: relative; z-index: 3;
  overflow: hidden;
  padding: 12px 0;
}
.ao-reel {
  position: relative; z-index: 1;
  display: flex; gap: clamp(40px, 4vw, 72px); align-items: flex-start;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 48px clamp(24px, 50vw, 50vw) 40px;   /* top room so the scaled active card's border isn't clipped */
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.ao-reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ao-reel::-webkit-scrollbar { display: none; }
.ao-frame { flex: 0 0 auto; width: clamp(440px, 40vw, 680px); scroll-snap-align: center; }
.ao-frame__card {
  position: relative;
  border: 1px solid rgba(201,162,75,0.45);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(10,7,4,0.12) 0%, rgba(7,5,3,0.2) 100%),
    url("assets/about/card-text-bg.jpg") center / cover no-repeat;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
  transition: opacity .5s ease, transform .5s cubic-bezier(0.16,1,0.3,1), box-shadow .5s ease, border-color .5s ease;
  opacity: 0.25;
}
.ao-frame.is-active .ao-frame__card {
  opacity: 1; transform: scale(1.1);
  border-color: rgba(240,196,120,0.7);
  box-shadow: 0 40px 90px rgba(0,0,0,0.65), 0 0 60px rgba(201,162,75,0.14);
}
/* (corner brackets removed — only the gold rounded border frames the card) */
.ao-frame__pic {
  position: relative; aspect-ratio: 16 / 8; overflow: hidden;
  border-radius: 11px 11px 0 0;
}
.ao-frame__pic image-slot { width: 100%; height: 100%; display: block; }
.ao-frame__img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* strong dark gradient from the top-left corner so the year reads on any image */
.ao-frame__pic::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(4,2,1,0.85) 0%, rgba(4,2,1,0.55) 16%, rgba(4,2,1,0.2) 32%, transparent 46%);
}
.ao-frame__year {
  position: absolute; left: clamp(18px, 1.6vw, 30px); top: clamp(12px, 1.3vw, 22px); z-index: 3;
  font-family: var(--font-body); font-weight: 200;
  font-size: clamp(38px, 3vw, 64px); line-height: 1; letter-spacing: 0.01em;
  color: #F6E4BE;
  text-shadow: 0 2px 18px rgba(0,0,0,0.75);
}
.ao-frame__pic-vig { position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 -60px 70px -40px rgba(5,3,1,0.7); }
/* thin gold seam between the image and the text area, fading at each edge */
.ao-frame__seam {
  display: block; height: 1px; margin: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(240,196,120,0.75) 18%, rgba(240,196,120,0.9) 50%, rgba(240,196,120,0.75) 82%, transparent 100%);
  box-shadow: 0 0 6px rgba(240,196,120,0.4);
}

/* text area under the image — sits directly on the card's topo background */
.ao-frame__body {
  position: relative;
  padding: clamp(16px, 1.4vw, 24px);
}
.ao-frame__cap {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(18px, 1.3vw, 26px); line-height: 1.2;
  color: var(--c-cream); margin: 0; text-wrap: pretty;
}
.ao-frame__mark { flex: none; width: 22px; height: 22px; align-self: center; display: inline-flex; color: #F6D48A; }
.ao-frame__mark svg { display: block; width: 22px; height: 22px; fill: currentColor; filter: drop-shadow(0 0 5px rgba(240,196,120,0.9)) drop-shadow(0 0 12px rgba(240,196,120,0.6)); }
.ao-frame.is-active .ao-frame__mark { color: #FFF3D4; }
.ao-frame__desc {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(12px, 0.85vw, 15px); line-height: 1.6;
  color: rgba(245,237,227,0.72); margin: 12px 0 0; text-wrap: pretty;
}
.ao-frame__link { color: rgba(232,183,119,0.85); text-decoration: underline; text-underline-offset: 3px; }
.ao-frame__link:hover { color: #FAC288; }
.ao-frame__num {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,234,202,0.5); margin: 0 4px 8px;
}

.ao-frame:not(.is-active) .ao-frame__cap { color: var(--c-cream); }

/* map-travel trail threaded across the image/text seam of the reel */
.ao-trail { position: absolute; z-index: 5; pointer-events: none; display: none; }
.ao-trail svg { position: absolute; inset: 0; overflow: visible; }
.ao-trail__path {
  fill: none; stroke: #F2C57C; stroke-width: 2;
  stroke-dasharray: 2 10; stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(240,196,120,0.65));
  opacity: 0.85;
}
.ao-trail__dot {
  position: absolute; width: 0; height: 0; transform: translate(-50%, -50%);
}
.ao-trail__dot-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,196,120,0.5) 0%, rgba(240,196,120,0.1) 45%, transparent 70%);
}
.ao-trail__dot-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFF3D4, #E8B769 70%);
  box-shadow: 0 0 8px rgba(240,196,120,0.9);
}

/* position dots beneath the active card */
.ao-dots {
  position: relative; z-index: 4;
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: clamp(18px, 2.4vh, 30px);
}
.ao-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(232,183,119,0.3);
  transition: background .3s ease, transform .3s ease, width .3s ease;
}
.ao-dot.is-active { width: 20px; border-radius: 3px; background: var(--grad-bronze); box-shadow: 0 0 10px rgba(240,196,120,0.7); }

/* (film sprockets removed — replaced by the map trail) */

/* nav arrows — overlaid on the strip itself, vertically centered on the active card */
.ao-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,8,6,0.62); color: #F0DCB0;
  border: 1px solid rgba(201,162,75,0.5);
  backdrop-filter: blur(3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .12s ease;
}
.ao-arrow:hover { background: rgba(74,19,13,0.85); border-color: #FBE6B8; color: #fff; }
.ao-arrow:active { transform: translateY(-50%) scale(0.94); }
.ao-arrow--prev { left: clamp(14px, 3vw, 48px); }
.ao-arrow--next { right: clamp(14px, 3vw, 48px); }

/* ============================================================
 *  3D PHOTO GALLERY — infinite depth fly-through (Three.js)
 * ============================================================ */
.ao-gallery3d {
  position: relative; z-index: 1;
  height: 560vh;
  background: #050301;
}
.ao-gallery3d__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 45%, #120d08 0%, #080503 55%, #050301 100%);
}
.ao-gallery3d__canvas { position: absolute; inset: 0; z-index: 1; }
.ao-gallery3d__canvas canvas { display: block; }
.ao-gallery3d__intro {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px; mix-blend-mode: screen; will-change: opacity;
}
.ao-gallery3d__eyebrow {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(11px, 0.9vw, 14px); letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255,234,202,0.72); margin: 0 0 16px;
}
.ao-gallery3d__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 5.4vw, 96px); line-height: 0.98;
  text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 18px;
}
.ao-gallery3d__sub {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(19px, 2vw, 30px); color: var(--c-cream); margin: 0;
}
/* fade-to-black ending with the origin-story copy */
.ao-gallery3d__end {
  position: absolute; inset: 0; z-index: 3; opacity: 0;
  display: flex; align-items: center; justify-content: center; padding: 0 24px;
  background:
    radial-gradient(120% 90% at 50% 50%, rgba(5,3,1,0.92) 0%, #050301 70%),
    #050301;
  will-change: opacity;
}
.ao-gallery3d__endcopy { max-width: 820px; text-align: center; }
.ao-gallery3d__endcopy p {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(17px, 1.5vw, 25px); line-height: 1.6;
  color: rgba(255,255,255,0.86); margin: 0 0 22px; text-wrap: pretty;
}
.ao-gallery3d__endcopy p:last-child { margin-bottom: 0; }
.ao-gallery3d__hint {
  position: absolute; left: 0; right: 0; bottom: clamp(22px, 4vh, 44px); z-index: 2;
  pointer-events: none; text-align: center;
  font-family: var(--font-sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,234,202,0.5); margin: 0;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .ao-teaser__grid { grid-template-columns: 1fr; gap: 40px; }
  .ao-teaser__media { max-width: 420px; }
  .ao-story__grid { grid-template-columns: 1fr; gap: 36px; }
  .ao-collage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .ao-col { position: relative; width: auto; top: auto; left: auto; right: auto; bottom: auto; transform: none; aspect-ratio: 4 / 3; }
  .ao-frame { width: 78vw; }
  .ao-reel { padding-left: 11vw; padding-right: 11vw; }
}
