/* =========================================================
   Saanjhh Events — inner pages (About, Services, Events, Gallery, Contact)
   Loaded after styles.css, which holds tokens + shared chrome.
   ========================================================= */

.container { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(80px, 12vh, 140px); }
.section + .section { padding-top: 0; }
.kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 70px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  margin: 14px 0 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; color: var(--ivory);
}
.section-head h2 em { font-style: italic; }
.section-head p { margin: 20px 0 0; font-size: 1.04rem; line-height: 1.65; color: var(--muted); }
.section-head.center p { margin-inline: auto; max-width: 600px; }

/* ---------------- Reveal on scroll ---------------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1000ms cubic-bezier(.22,1,.36,1), transform 1200ms cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translate3d(-50px, 0, 0); }
[data-reveal="right"] { transform: translate3d(50px, 0, 0); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* arch-shaped image frame — echoes the mandap arch on the home page */
.arch-frame {
  position: relative; overflow: hidden; border-radius: 999px 999px 22px 22px; isolation: isolate;
  border: 1px solid rgba(214,176,106,.45); box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.arch-frame::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(241,217,164,.35); pointer-events: none; }
.arch-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1600ms cubic-bezier(.22,1,.36,1); }
.is-in .arch-frame img, .arch-frame.is-in img { transform: scale(1); }

/* ---------------- Page hero ---------------- */
.page-hero {
  position: relative; min-height: min(86vh, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate;
  padding: 150px var(--pad) clamp(56px, 9vh, 96px);
}
.page-hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: heroZoom 2400ms cubic-bezier(.22,1,.36,1) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 60%, rgba(11,7,9,.35), rgba(11,7,9,.8)),
    linear-gradient(180deg, rgba(11,7,9,.7) 0%, rgba(11,7,9,.2) 35%, rgba(11,7,9,.95) 100%);
}
.page-hero-arch { position: absolute; left: 50%; bottom: 0; z-index: -1; width: min(760px, 110vw); transform: translateX(-50%); opacity: .55; pointer-events: none; }
.page-hero-arch path { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: drawArch 2600ms 300ms cubic-bezier(.65,0,.35,1) forwards; }
@keyframes drawArch { to { stroke-dashoffset: 0; } }
.page-hero-inner { max-width: 980px; margin: 0 auto; text-align: center; }
.crumbs { display: inline-flex; gap: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--gold-soft); }
.page-hero h1 {
  margin: 18px 0 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(3.2rem, 9vw, 8rem); line-height: .95; color: var(--ivory);
  text-shadow: 0 18px 50px rgba(0,0,0,.55);
}
.page-hero h1 .gold { font-style: italic; }
.page-hero h1 .gold .w > span { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em .12em 0; }
.page-hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.page-hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordUp 1200ms cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--i) * 110ms + 250ms); }
@keyframes wordUp { to { transform: none; } }
.page-hero p.lead { max-width: 620px; margin: 24px auto 0; font-size: 1.08rem; line-height: 1.6; color: rgba(251,243,228,.86); opacity: 0; animation: fadeIn 1200ms 900ms ease forwards; }
.page-hero .script { display: block; margin-top: 10px; font-family: var(--f-script); font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--gold-soft); opacity: 0; animation: fadeIn 1200ms 700ms ease forwards; }

/* ---------------- Marquee ---------------- */
.marquee { overflow: hidden; border-block: 1px solid rgba(214,176,106,.2); background: #0e090b; padding-block: 22px; }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-style: italic; color: rgba(251,243,228,.8); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .9rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- About ---------------- */
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story-copy p { font-size: 1.06rem; line-height: 1.75; color: rgba(251,243,228,.8); margin: 0 0 18px; }
.story-copy p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-size: 4.6rem; line-height: .8; padding: 6px 12px 0 0; color: var(--gold-soft); }
.story-media { position: relative; }
.story-media .arch-frame { aspect-ratio: 4 / 5; }
.story-media .arch-frame.small { position: absolute; z-index: 2; width: 36%; aspect-ratio: 3 / 4; left: -14%; top: 34%; border-width: 4px; border-color: var(--night); }
.story-badge {
  position: absolute; right: -4%; top: 12%; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 30% 25%, #3a1620, #1b0b10); border: 1px solid var(--gold); box-shadow: 0 20px 50px rgba(0,0,0,.5);
  font-family: var(--f-script); font-size: 1.5rem; line-height: 1.05; color: var(--gold-soft); animation: floaty 6s ease-in-out infinite alternate;
}
@keyframes floaty { to { transform: translateY(-14px) rotate(4deg); } }

.meaning {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: 28px; overflow: hidden;
  background: radial-gradient(80% 120% at 0% 0%, rgba(214,176,106,.16), rgba(214,176,106,0) 60%), linear-gradient(135deg, #1c0d13, #0f080b);
  border: 1px solid rgba(214,176,106,.28);
}
.meaning-word { font-family: var(--f-display); font-size: clamp(4rem, 10vw, 8.5rem); line-height: 1; padding-bottom: .1em; }
.meaning h3 { margin: 0; font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; }
.meaning p { margin: 14px 0 0; line-height: 1.7; color: var(--muted); }
.meaning small { display: block; margin-top: 8px; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  position: relative; padding: 34px 26px 30px; border-radius: 22px; background: rgba(251,243,228,.03); border: 1px solid rgba(214,176,106,.2);
  transition: transform 500ms cubic-bezier(.22,1,.36,1), border-color 500ms, background 500ms;
}
.pillar:hover { transform: translateY(-8px); border-color: rgba(214,176,106,.6); background: rgba(214,176,106,.06); }
.pillar-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(214,176,106,.6); color: var(--gold-soft); }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { margin: 22px 0 0; font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; line-height: 1.05; }
.pillar p { margin: 12px 0 0; font-size: .94rem; line-height: 1.6; color: var(--muted); }

.process { position: relative; display: grid; gap: 0; max-width: 900px; margin-inline: auto; }
.process-line { position: absolute; left: 31px; top: 10px; bottom: 10px; width: 1px; background: rgba(214,176,106,.2); }
.process-line i { position: absolute; inset: 0 0 auto; height: var(--p, 0%); background: linear-gradient(180deg, var(--gold-soft), var(--gold)); box-shadow: 0 0 14px rgba(214,176,106,.6); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding-bottom: 46px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  font-family: var(--f-display); font-size: 1.5rem; color: var(--gold-soft); background: var(--night); border: 1px solid rgba(214,176,106,.5);
  transition: background 500ms, color 500ms, box-shadow 500ms;
}
.step.is-in .step-num { background: linear-gradient(135deg, #f6e3b4, #d6b06a 55%, #b88a45); color: var(--ink); box-shadow: 0 0 30px rgba(214,176,106,.45); }
.step h3 { margin: 10px 0 0; font-family: var(--f-display); font-size: 2rem; font-weight: 500; }
.step p { margin: 8px 0 0; line-height: 1.65; color: var(--muted); }

.founder {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; max-width: 900px; margin-inline: auto;
  padding: 36px; border-radius: 28px; background: rgba(251,243,228,.03); border: 1px solid rgba(214,176,106,.22);
}
.founder-mark { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 1px solid var(--gold); display: grid; place-items: center; background: #000; }
.founder-mark img { width: 100%; mix-blend-mode: screen; }
.founder blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-style: italic; line-height: 1.3; color: var(--ivory); }
.founder cite { display: block; margin-top: 16px; font-style: normal; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ---------------- Services ---------------- */
.svc-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.svc-index a {
  padding: 10px 18px; border-radius: 999px; font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--gold-soft);
  border: 1px solid rgba(214,176,106,.35); background: rgba(20,10,14,.45); backdrop-filter: blur(8px); transition: background 300ms, color 300ms;
}
.svc-index a:hover { background: var(--gold); color: var(--ink); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding-block: clamp(50px, 8vh, 90px); scroll-margin-top: 90px; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media .arch-frame { aspect-ratio: 5 / 6; max-width: 480px; margin-inline: auto; }
.svc-num {
  position: absolute; top: -20px; left: 0; font-family: var(--f-display); font-size: clamp(6rem, 12vw, 10rem); line-height: 1; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px rgba(214,176,106,.45); pointer-events: none; z-index: 2;
}
.svc-row:nth-child(even) .svc-num { left: auto; right: 0; }
.svc-copy h2 { margin: 12px 0 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.3rem, 4.2vw, 3.8rem); line-height: 1.02; }
.svc-copy > p { margin: 18px 0 0; font-size: 1.04rem; line-height: 1.7; color: var(--muted); }
.checks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { position: relative; padding-left: 26px; font-size: .95rem; color: rgba(251,243,228,.86); }
.checks li::before { content: "✦"; position: absolute; left: 0; top: 0; font-size: .8rem; color: var(--gold); }
.svc-copy .btn-ghost, .svc-copy .btn-gold { margin-top: 30px; }

/* ---------------- Events (stacked sticky cards) ---------------- */
.event-stack { display: grid; gap: 28px; }
.event-card {
  position: sticky; top: calc(96px + var(--n) * 18px);
  display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(560px, 72vh); overflow: hidden; border-radius: 30px;
  background: linear-gradient(135deg, #1d0e14, #0f080b); border: 1px solid rgba(214,176,106,.3);
  box-shadow: 0 -20px 60px rgba(0,0,0,.5);
  transform-origin: 50% 0; transition: transform 200ms linear, filter 200ms linear;
}
.event-card-media { position: relative; overflow: hidden; }
.event-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,8,11,0) 60%, rgba(15,8,11,.9)); }
.event-card-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px); }
.event-card-body .num { font-family: var(--f-display); font-size: 1.1rem; color: var(--gold); letter-spacing: .1em; }
.event-card-body h2 { margin: 10px 0 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; }
.event-card-body > p { margin: 16px 0 0; line-height: 1.7; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--gold-soft); border: 1px solid rgba(214,176,106,.4); background: rgba(214,176,106,.06); }
.event-card-body .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------------- Round icon button (used by the spiral photo zoom) ---------------- */
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 1.2rem;
  color: var(--gold-soft); background: rgba(20,10,14,.7); border: 1px solid rgba(214,176,106,.5); transition: background 300ms, color 300ms;
}
.lb-btn:hover { background: var(--gold); color: var(--ink); }

/* ---------------- Contact ---------------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: 24px; overflow: hidden; text-decoration: none;
  background: rgba(251,243,228,.03); border: 1px solid rgba(214,176,106,.25);
  transition: transform 500ms cubic-bezier(.22,1,.36,1), border-color 500ms, background 500ms;
}
.c-card:hover { transform: translateY(-8px); border-color: var(--gold); background: rgba(214,176,106,.07); }
.c-card.primary { background: linear-gradient(135deg, #1faa53, #128a41); border-color: transparent; }
.c-card.primary:hover { background: linear-gradient(135deg, #22b95b, #129447); }
.c-card .pillar-icon { margin-bottom: 8px; }
.c-card.primary .pillar-icon { border-color: rgba(255,255,255,.6); color: #fff; }
.c-card small { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.c-card.primary small { color: rgba(255,255,255,.85); }
.c-card strong { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; color: var(--ivory); word-break: break-word; }
.c-card span { font-size: .9rem; color: var(--muted); }
.c-card.primary span { color: rgba(255,255,255,.85); }
.c-card .go { position: absolute; top: 24px; right: 24px; font-size: 1.2rem; color: var(--gold-soft); transition: transform 400ms; }
.c-card:hover .go { transform: translate(4px, -4px); }


/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 460px; margin: 30px auto 0; }
  .pillar-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 36px; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .event-card { grid-template-columns: 1fr; min-height: 0; top: calc(80px + var(--n) * 12px); }
  .event-card-media { aspect-ratio: 16 / 9; }
  .event-card-media::after { background: linear-gradient(180deg, rgba(15,8,11,0) 55%, rgba(15,8,11,.9)); }
  .meaning { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 78vh; padding-top: 120px; }
  .pillar-grid, .contact-cards { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .story-badge { width: 100px; height: 100px; font-size: 1.2rem; right: 0; }
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px; }
  .founder-mark { width: 110px; height: 110px; }
  .event-card-body .actions a { flex: 1 1 auto; justify-content: center; }

  /* About: the small overlapping photo covers the founder portrait on narrow screens */
  .story-media .arch-frame.small { display: none; }
  .story-badge { right: -2%; top: 4%; }

  /* Services: smaller arch photos so each service is not a full screen of image */
  .svc-row { gap: 22px; padding-block: 40px; }
  .svc-media .arch-frame { aspect-ratio: 1 / 1; max-width: 280px; }
  .svc-num { font-size: 5rem; top: -10px; }
  .svc-copy h2 { font-size: 2.1rem; }
  .checks { gap: 8px; }

  /* Contact: compact horizontal cards */
  .contact-cards { gap: 12px; }
  .c-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 18px 20px; border-radius: 18px; }
  .c-card .pillar-icon { grid-row: 1 / span 3; width: 50px; height: 50px; margin: 0; }
  .c-card strong { font-size: 1.3rem; }
  .c-card strong br { display: none; }
  .c-card .go { top: 18px; right: 18px; }

  .lanyard-stage { height: 125vh; min-height: 820px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track, .story-badge, .page-hero-bg img, .page-hero-arch path, .page-hero h1 .w > span { animation: none; }
  .page-hero-arch path { stroke-dashoffset: 0; }
  .page-hero h1 .w > span { transform: none; }
}

/* =========================================================
   Gallery — accordion hero, infinite spiral, lanyard passes
   ========================================================= */
.gal-hero { position: relative; padding: 130px 0 clamp(50px, 8vh, 90px); overflow: hidden;
  background: radial-gradient(70% 50% at 50% 0%, rgba(214,176,106,.14), rgba(214,176,106,0) 70%); }
.gal-hero-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 34px; }
.gal-hero h1 { margin: 14px 0 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(3.2rem, 8vw, 7rem); line-height: .95; }
.gal-hero h1 .gold { font-style: italic; }
.gal-hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.gal-hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordUp 1200ms cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--i) * 110ms + 250ms); }
.gal-hero h1 .gold .w > span { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em .12em 0; }
.gal-hero-lead { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.6; }
.gal-hero-lead .script { display: block; font-family: var(--f-script); font-size: 2rem; color: var(--gold-soft); line-height: 1.2; }

/* Accordion — vanilla port of React Bits AccordionGallery (CSS transitions instead of GSAP) */
.accordion {
  --ag-accent: var(--gold); --ag-media-size: 320px;
  --ag-ease: cubic-bezier(.215,.61,.355,1); --ag-dur: 600ms;
  display: flex; gap: 10px; height: min(66vh, 600px); min-height: 380px; perspective: 1400px;
  opacity: 0; transform: translateY(30px); animation: agIn 1200ms 500ms cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes agIn { to { opacity: 1; transform: none; } }
.ag-panel {
  position: relative; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; border-radius: 20px; cursor: pointer; display: block; text-decoration: none; outline: none;
  transform-style: preserve-3d; background: #140c10; border: 1px solid rgba(214,176,106,.22);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.9);
  transition: flex-grow var(--ag-dur) var(--ag-ease), transform var(--ag-dur) var(--ag-ease), border-color 400ms;
  -webkit-tap-highlight-color: transparent;
}
.ag-panel.is-active { border-color: rgba(214,176,106,.7); }
.ag-panel:focus-visible { box-shadow: 0 0 0 2px var(--ag-accent), 0 20px 50px -24px rgba(0,0,0,.9); }
.ag-frame { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.ag-media {
  position: absolute; top: 50%; left: 50%; width: var(--ag-media-size); height: 100%;
  transform: translate(-50%, -50%) translateX(var(--ag-shift, 0px));
  filter: grayscale(1) brightness(.85);
  transition: transform var(--ag-dur) var(--ag-ease), filter var(--ag-dur) var(--ag-ease);
}
.ag-panel.is-active .ag-media { filter: none; }
.ag-media img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.ag-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(11,7,9,.82) 100%), rgba(11,7,9,.38);
  transition: background var(--ag-dur) var(--ag-ease);
}
.ag-panel.is-active .ag-overlay { background: linear-gradient(180deg, transparent 45%, rgba(11,7,9,.82) 100%), rgba(11,7,9,0); }
.ag-label { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; pointer-events: none; z-index: 2; }
.ag-bar { flex: 0 0 auto; width: 3px; height: 30px; border-radius: 3px; background: var(--ag-accent); box-shadow: 0 0 14px rgba(214,176,106,.7); }
.ag-text { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 2.2rem); font-weight: 600; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.ag-bar, .ag-text { opacity: 0; transform: translateX(-14px); transition: opacity 360ms var(--ag-ease), transform 360ms var(--ag-ease); }
.ag-panel.is-active .ag-bar, .ag-panel.is-active .ag-text { opacity: 1; transform: none; transition-duration: var(--ag-dur); }
.ag-panel.is-active .ag-text { transition-delay: 60ms; }

/* Infinite spiral — vanilla port of React Bits InfiniteSpiral */
.spiral-section { padding-bottom: 40px; overflow: hidden; }
.spiral { position: relative; height: min(140vh, 1400px); min-height: 760px; overflow: hidden; isolation: isolate; perspective: 1100px; cursor: grab; touch-action: pan-y; user-select: none; }
.spiral.is-dragging { cursor: grabbing; }
.spiral::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 50%, rgba(214,176,106,.12), rgba(214,176,106,0) 70%); }
.spiral-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.spiral-item {
  position: absolute; top: 50%; left: 50%; width: 150px; height: 186px; padding: 0; overflow: hidden; cursor: zoom-in;
  border: 1px solid rgba(241,217,164,.45); border-radius: 14px; background: #1a0f14;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); backface-visibility: hidden; will-change: transform, opacity, filter;
}
.spiral-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.spiral-item.is-source { visibility: hidden; }
.spiral-item:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.sp-zoom { position: fixed; inset: 0; z-index: 95; background: rgba(8,5,6,0); cursor: zoom-out; transition: background 600ms ease; }
.sp-zoom.is-open { background: rgba(8,5,6,.92); }
.sp-zoom-img { position: fixed; margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid rgba(241,217,164,.5); box-shadow: 0 40px 100px rgba(0,0,0,.6); background: #1a0f14; }
.sp-zoom-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-zoom-cap { position: fixed; left: 0; right: 0; bottom: 22px; text-align: center; font-family: var(--f-display); font-size: 1.4rem; color: var(--gold-soft); opacity: 0; transition: opacity 400ms 300ms; pointer-events: none; }
.sp-zoom.is-open .sp-zoom-cap { opacity: 1; }
.sp-zoom .lb-close { position: fixed; top: 20px; right: 20px; opacity: 0; transition: opacity 400ms 300ms, background 300ms, color 300ms; }
.sp-zoom.is-open .lb-close { opacity: 1; }

/* Lanyard passes — three.js + custom verlet rope physics */
.lanyard-section { padding-bottom: 0; }
.lanyard-stage { position: relative; height: min(100vh, 900px); min-height: 560px; }
.lanyard-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-soft) 50%, var(--gold) 80%, transparent); box-shadow: 0 0 18px rgba(214,176,106,.5); }
.lanyard-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.lanyard-fallback { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 40px var(--pad); }
.lanyard-fallback canvas { width: min(220px, 42vw); height: auto; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }


@media (max-width: 640px) {
  .gal-hero { padding-top: 104px; }
  .accordion { flex-direction: column; height: 620px; perspective: none; }
  .ag-panel { transform: none !important; }
  .ag-media { width: 100%; height: var(--ag-media-size); transform: translate(-50%, -50%) translateY(var(--ag-shift, 0px)); }
  .spiral-item { width: 118px; height: 146px; }
}
@media (prefers-reduced-motion: reduce) {
  .accordion { animation: none; opacity: 1; transform: none; }
  .gal-hero h1 .w > span { animation: none; transform: none; }
  .ag-panel, .ag-media, .ag-bar, .ag-text { transition: none; }
}

/* About — founder photo inside the arch frame, with his name */
.founder-frame img { object-position: 50% 22%; }
.founder-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,7,9,0) 55%, rgba(11,7,9,.88) 100%);
}
.frame-name { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; text-align: center; }
.frame-name strong {
  display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; letter-spacing: .04em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em;
}
.frame-name span { display: block; margin-top: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: rgba(251,243,228,.8); }
