/* «حول كنيستنا» rev. 3 (owner 2026-12-02): a luminous page of its own. Warm ivory and parchment, burnished gold, the wine
   of Abu Sefein's cloak, Coptic arches, light. Each section has its own entrance (doors / gold drawing / a running line
   and closing rings / turning cards / a cascade with counting years / curtains / a glow). → assets/css/our-church.css */

.ak-body {
  --ak-ivory: #fbf6ec; --ak-parch: #f3e7d1; --ak-sand: #ead8b6; --ak-ink: #2b1d10; --ak-ink2: #5e4a33; --ak-ink3: #8a7458;
  --ak-gold: #b8862f; --ak-gold2: #d9a744; --ak-goldhi: #f3d58f; --ak-wine: #8e2a2f; --ak-wine2: #5f1a1f; --ak-night: #1d130b;
  --ak-line: rgba(184, 134, 47, .32); --ak-line2: rgba(184, 134, 47, .6);
  background: var(--ak-ivory); color: var(--ak-ink);
}
.ak-body .pbar { background: rgba(251, 246, 236, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ak-line); }
.ak-body .pbar__name { color: var(--ak-ink); }
.ak-body .pbar__home { color: var(--ak-ink); border-color: var(--ak-line2); }
.ak { --w: min(1160px, 100% - 2 * var(--gutter)); display: block; overflow-x: clip; }
.ak-in { width: var(--w); margin: 0 auto; }
.ak-sec { position: relative; padding: clamp(70px, 11vw, 130px) 0; scroll-margin-top: 60px; }
.ak-cross { width: 14px; height: 14px; color: var(--ak-gold); flex: none; }
.ak button { font: inherit; }
.ak .fp-ic { width: 20px; height: 20px; }

/* section grounds: they change as you descend, like light moving through the church */
.ak-sec--patrons { background: radial-gradient(70% 60% at 50% 0%, #fffaf0, transparent 70%), var(--ak-ivory); }
.ak-sec--story { background: linear-gradient(180deg, var(--ak-ivory), var(--ak-parch) 30%, var(--ak-parch)); }
.ak-sec--story::before { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ak-sec--shepherds { background: radial-gradient(60% 50% at 50% 0%, #fff7e6, transparent 70%), var(--ak-ivory); }
.ak-sec--years { background: linear-gradient(170deg, #6a1f24 0%, #8e2a2f 38%, #b8662d 78%, #d9a744 100%); color: #fff6e4; }
.ak-sec--film { background: radial-gradient(60% 40% at 50% 10%, #3a2614, transparent 70%), var(--ak-night); color: #f7ecd8; }

/* ---------- headings ---------- */
.ak-head { text-align: center; margin-bottom: clamp(30px, 5vw, 52px); }
.ak-kick { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ak-gold); font-weight: 800; font-size: .9rem; }
.ak-kick i { flex: 0 1 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--ak-line2)); transform-origin: right; }
.ak-kick i:last-child { background: linear-gradient(270deg, transparent, var(--ak-line2)); transform-origin: left; }
.ak-kick--s { justify-content: flex-start; }
.ak-h { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 6.6vw, 3.7rem); line-height: 1.25; margin-top: 8px; color: var(--ak-ink); }
.ak-h--s { font-size: 1.9rem; margin-top: 2px; }
.ak-sub { color: var(--ak-ink2); font-size: 1.05rem; line-height: 1.85; max-width: 60ch; margin: 8px auto 0; }
.ak-h3 { display: flex; align-items: center; justify-content: center; gap: 8px; margin: clamp(48px, 7vw, 72px) 0 26px; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--ak-wine); }
.ak-h3 small { font-family: Cairo, sans-serif; font-size: .9rem; opacity: .7; }
.ak-sec--years .ak-h, .ak-sec--film .ak-h { color: #fff6e4; }
.ak-sec--years .ak-sub, .ak-sec--film .ak-sub { color: rgba(255, 246, 228, .78); }
.ak-sec--years .ak-kick, .ak-sec--film .ak-kick, .ak-sec--years .ak-cross, .ak-sec--film .ak-cross { color: var(--ak-goldhi); }
.ak-sec--years .ak-kick i, .ak-sec--film .ak-kick i { background: linear-gradient(90deg, transparent, rgba(243, 213, 143, .6)); }

/* ---------- buttons, links, chips ---------- */
.ak-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ak-line2); background: rgba(255, 255, 255, .55); color: var(--ak-ink); font-weight: 800; font-size: .96rem; text-decoration: none; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; }
.ak-btn:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 10px 24px -14px rgba(90, 60, 20, .5); }
.ak-btn .fp-ic { width: 18px; height: 18px; }
.ak-btn--gold { border: 0; color: #3a2508; background: linear-gradient(180deg, #ffe7a6, #e7bd5c 50%, #c48f32); box-shadow: 0 12px 26px -14px rgba(120, 80, 20, .8), inset 0 1px 0 rgba(255, 255, 255, .7); }
.ak-btn--gold:hover { background: linear-gradient(180deg, #fff1c8, #f0cb73 50%, #d29d3c); }
.ak-wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.ak-wave i { width: 3px; border-radius: 2px; background: currentColor; animation: akWave 1.1s ease-in-out infinite; }
.ak-wave i:nth-child(1) { height: 7px; } .ak-wave i:nth-child(2) { height: 14px; animation-delay: .15s; } .ak-wave i:nth-child(3) { height: 10px; animation-delay: .3s; } .ak-wave i:nth-child(4) { height: 5px; animation-delay: .45s; }
@keyframes akWave { 50% { transform: scaleY(.45); } }
.ak-link { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ak-line2); background: rgba(255, 255, 255, .6); color: var(--ak-wine); font-size: .84rem; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.ak-link .fp-ic { width: 15px; height: 15px; }
.ak-link--s { height: 30px; padding: 0 10px; font-size: .76rem; }
.ak-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(184, 134, 47, .14); color: var(--ak-ink2); font-size: .82rem; font-weight: 700; }
.ak-legend { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: .84rem; opacity: .8; }
.ak-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--ak-goldhi); }

/* arches */
.ak-arch { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--ak-sand); box-shadow: 0 22px 40px -26px rgba(80, 50, 15, .55); }
.ak-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ak-arch--sm { aspect-ratio: 4 / 5; }
.ak-archline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.ak-archline path { fill: none; stroke: var(--ak-gold2); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .ak-archline path, .in.ak-archline path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * .25s); }

/* ---------- the cover ---------- */
.ak-hero { position: relative; height: min(100svh, 980px); min-height: 600px; display: grid; align-items: end; justify-items: center; overflow: hidden; isolation: isolate; background: #f6e9cf; }
.ak-hero__art { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.ak-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.ak-hero__rays { position: absolute; inset: -30%; z-index: -1; pointer-events: none; background: repeating-conic-gradient(from 0deg at 50% 38%, rgba(255, 248, 225, .22) 0 4deg, transparent 4deg 12deg); mix-blend-mode: soft-light; animation: akSpin 90s linear infinite; -webkit-mask-image: radial-gradient(45% 45% at 50% 38%, #000, transparent); mask-image: radial-gradient(45% 45% at 50% 38%, #000, transparent); }
@keyframes akSpin { to { transform: rotate(360deg); } }
.ak-hero__dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff8dc, transparent), radial-gradient(1.2px 1.2px at 70% 20%, #fff8dc, transparent), radial-gradient(1.8px 1.8px at 40% 60%, #fff3c8, transparent), radial-gradient(1.2px 1.2px at 85% 55%, #fff8dc, transparent), radial-gradient(1.5px 1.5px at 60% 75%, #fff3c8, transparent), radial-gradient(1px 1px at 10% 70%, #fff8dc, transparent); background-size: 340px 340px; animation: akDust 26s linear infinite; opacity: .9; }
@keyframes akDust { to { background-position: 0 -340px; } }
.ak-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 38%; z-index: -1; background: linear-gradient(180deg, transparent, rgba(251, 246, 236, .86) 62%, var(--ak-ivory)); }
.ak-hero__words { text-align: center; display: grid; justify-items: center; gap: 2px; padding: 0 20px clamp(70px, 11vh, 110px); }
.ak-hero__k { color: var(--ak-wine); font-weight: 800; font-size: clamp(.92rem, 2.6vw, 1.1rem); }
.ak-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 8vw, 5rem); line-height: 1.12; padding: 0 .12em .1em; position: relative; }
.ak-title span { background: linear-gradient(100deg, #8a5a16 0%, #c8912e 20%, #ffe7a3 34%, #d7a240 46%, #9a6a1e 62%, #e8bb59 80%, #9b6b1f 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(255, 247, 228, .9)) drop-shadow(0 10px 18px rgba(110, 70, 15, .35)); animation: akShine 7s ease-in-out infinite; }
@keyframes akShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.ak-hero__lead { color: var(--ak-ink2); font-size: clamp(1.02rem, 3vw, 1.3rem); font-weight: 700; }
.ak-hero__down { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 30px; height: 48px; border-radius: 999px; border: 2px solid var(--ak-line2); }
.ak-hero__down i { position: absolute; top: 9px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--ak-gold); animation: akScroll 2s ease-in-out infinite; }
@keyframes akScroll { 60% { transform: translateY(14px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }
/* the cover's own entrance (after the gate) */
.ak-hero__words > * { opacity: 0; transform: translateY(26px); filter: blur(8px); }
.ak-risen .ak-hero__words > * { opacity: 1; transform: none; filter: none; transition: opacity 1.3s, transform 1.5s cubic-bezier(.2, .7, .2, 1), filter 1.3s; }
.ak-risen .ak-hero__words > :nth-child(2) { transition-delay: .25s; }
.ak-risen .ak-hero__words > :nth-child(3) { transition-delay: .55s; }
.ak-hero__art { opacity: .001; transform: scale(1.08); }
.ak-risen .ak-hero__art { opacity: 1; transition: opacity 1.6s, transform 2.4s cubic-bezier(.2, .7, .2, 1); }

/* ---------- the chapter rail (desktop) and the pill (phones) ---------- */
.ak-rail2 { position: fixed; z-index: 30; top: 50%; inset-inline-end: 22px; translate: 0 -50%; display: grid; gap: 18px; padding: 16px 0; opacity: 0; pointer-events: none; transition: opacity .6s; }
.ak-past-hero .ak-rail2 { opacity: 1; pointer-events: auto; }
.ak-rail2__thread { position: absolute; inset-inline-end: 15px; top: 0; bottom: 0; width: 2px; background: var(--ak-line); border-radius: 2px; overflow: hidden; }
.ak-rail2__thread i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ak-goldhi), var(--ak-gold)); transform-origin: top; transform: scaleY(0); }
.ak-rail2 a { position: relative; display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; text-decoration: none; color: var(--ak-ink2); }
.ak-rail2__mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ak-ivory); border: 1px solid var(--ak-line2); transition: background .4s, transform .4s; }
.ak-rail2__mark .ak-cross { width: 13px; height: 13px; }
.ak-rail2 b { font-size: .84rem; padding: 4px 10px; border-radius: 999px; background: rgba(251, 246, 236, .9); box-shadow: 0 6px 16px -10px rgba(80, 50, 15, .5); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; white-space: nowrap; }
.ak-rail2 small { display: none; }
.ak-rail2 a:hover b, .ak-rail2 a.on b { opacity: 1; transform: none; }
.ak-rail2 a.on .ak-rail2__mark { background: linear-gradient(180deg, var(--ak-goldhi), var(--ak-gold)); transform: scale(1.15); }
.ak-rail2 a.on .ak-cross { color: #3a2508; }
.ak-pill { display: none; }

/* ---------- 3. patrons: the doors open ---------- */
.ak-pats { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); }
.ak-pat { position: relative; display: grid; grid-template-columns: minmax(170px, 240px) minmax(0, 1fr); gap: 26px; align-items: center; padding: 26px; border-radius: 32px; background: #fffaf1; border: 1px solid var(--ak-line); box-shadow: 0 30px 60px -40px rgba(90, 55, 15, .55); overflow: hidden; }
.ak-pat::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 70% at 85% 10%, rgba(142, 42, 47, .1), transparent 60%); }
.ak-pat--blue::before { background: radial-gradient(80% 70% at 85% 10%, rgba(40, 80, 150, .1), transparent 60%); }
.ak-pat__stage { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; background: radial-gradient(60% 45% at 50% 30%, #fff8df, #f2dca8 60%, #e2c07e); }
.ak-pat--blue .ak-pat__stage { background: radial-gradient(60% 45% at 50% 30%, #fffaf0, #e8dcc1 60%, #cdb88c); }
.ak-pat__halo { position: absolute; inset: 8% 12% auto; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 246, 214, .95), rgba(255, 233, 170, .25) 55%, transparent 70%); }
.ak-pat__cut { position: absolute; inset: 6% 4% 0; width: 92%; height: 94%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 20px rgba(80, 45, 10, .35)); }
.ak-pat__door { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 3; background: linear-gradient(90deg, #9a6a24, #d9ad55 40%, #b5832f); box-shadow: inset 0 0 0 2px rgba(255, 236, 190, .35); }
.ak-pat__door--a { right: 0; border-radius: 0 999px 0 0; transform-origin: right; }
.ak-pat__door--b { left: 0; border-radius: 999px 0 0 0; transform-origin: left; }
.ak-pat__door::after { content: ''; position: absolute; top: 46%; width: 10px; height: 10px; border-radius: 50%; background: #fff1c2; }
.ak-pat__door--a::after { left: 10px; } .ak-pat__door--b::after { right: 10px; }
.ak-pat__w { position: relative; display: grid; align-content: start; gap: 4px; min-width: 0; }
.ak-pat__k { color: var(--ak-wine); font-weight: 800; font-size: .9rem; }
.ak-pat--blue .ak-pat__k { color: #2c4f8a; }
.ak-pat__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.3; color: var(--ak-ink); }
.ak-pat__s { color: var(--ak-ink3); font-weight: 700; }
.ak-pat__days { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ak-pat__days li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: rgba(184, 134, 47, .08); }
.ak-pat__days b { font-size: 1.04rem; color: var(--ak-ink); white-space: nowrap; }
.ak-pat__days span { color: var(--ak-ink2); font-size: .92rem; }
.ak-pat__days small { grid-column: 1 / -1; color: var(--ak-ink3); font-size: .8rem; }
.ak-pat__days li.is-next { background: linear-gradient(90deg, rgba(217, 167, 68, .28), rgba(217, 167, 68, .08)); box-shadow: inset 0 0 0 1px var(--ak-line2); }
.ak-pat__days li.is-next b { color: var(--ak-wine); }
.ak-pat__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ak-pat__acts .ak-btn { flex: 1 1 auto; }
/* the doors: closed, then they swing open; the saint rises behind; the days slide in */
[data-anim="doors"] .ak-pat__cut { opacity: 0; transform: translateY(30px) scale(.96); }
[data-anim="doors"] .ak-pat__days li, [data-anim="doors"] .ak-pat__acts { opacity: 0; transform: translateX(-20px); }
[data-anim="doors"].in .ak-pat__door--a { transform: perspective(900px) rotateY(-100deg); transition: transform 1.6s cubic-bezier(.65, 0, .25, 1) .2s; }
[data-anim="doors"].in .ak-pat__door--b { transform: perspective(900px) rotateY(100deg); transition: transform 1.6s cubic-bezier(.65, 0, .25, 1) .2s; }
[data-anim="doors"].in .ak-pat__cut { opacity: 1; transform: none; transition: opacity 1.2s .9s, transform 1.6s cubic-bezier(.2, .7, .2, 1) .9s; }
[data-anim="doors"].in .ak-pat__days li { opacity: 1; transform: none; transition: opacity .7s, transform .7s; transition-delay: calc(1.1s + var(--i) * .15s); }
[data-anim="doors"].in .ak-pat__acts { opacity: 1; transform: none; transition: opacity .7s 1.7s, transform .7s 1.7s; }

/* ---------- 4. the story: gold draws the arches, the pictures rise into them ---------- */
.ak-wins { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 38px); position: relative; }
.ak-wins::before { content: ''; position: absolute; inset-inline: 8%; top: 22px; height: 2px; background: linear-gradient(90deg, transparent, var(--ak-line2) 15%, var(--ak-line2) 85%, transparent); transform: scaleX(0); transform-origin: right; }
.ak-wins.in::before { transform: none; transition: transform 1.6s cubic-bezier(.65, 0, .35, 1); }
.ak-win { display: grid; justify-items: center; text-align: center; gap: 6px; }
.ak-win__n { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ak-parch); border: 2px solid var(--ak-gold); color: var(--ak-gold); font-family: Georgia, serif; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.ak-win .ak-arch { width: 100%; max-width: 310px; }
.ak-win .ak-arch img { filter: sepia(.25) contrast(1.05); }
.ak-win--soon .ak-win__n { background: linear-gradient(180deg, var(--ak-goldhi), var(--ak-gold)); color: #3a2508; border-color: transparent; }
.ak-arch__soon { height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; background: repeating-linear-gradient(135deg, rgba(184, 134, 47, .08) 0 10px, transparent 10px 20px), #f7ecd6; color: var(--ak-ink2); }
.ak-arch__soon .ak-cross { width: 28px; height: 28px; }
.ak-win__k { display: inline-flex; align-items: center; gap: 6px; color: var(--ak-wine); font-weight: 800; font-size: .86rem; margin-top: 14px; }
.ak-win__t { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; color: var(--ak-ink); line-height: 1.35; }
.ak-win__p { color: var(--ak-ink2); line-height: 1.85; max-width: 34ch; }
[data-anim="draw"] .ak-win__n { transform: scale(0) rotate(-120deg); }
[data-anim="draw"] .ak-arch img, [data-anim="draw"] .ak-arch__soon { clip-path: inset(100% 0 0 0); }
[data-anim="draw"] .ak-win__k, [data-anim="draw"] .ak-win__t, [data-anim="draw"] .ak-win__p { opacity: 0; transform: translateY(14px); }
[data-anim="draw"].in .ak-win__n { transform: none; transition: transform .9s cubic-bezier(.3, 1.4, .5, 1) calc(var(--i) * .25s); }
[data-anim="draw"].in .ak-arch img, [data-anim="draw"].in .ak-arch__soon { clip-path: inset(0 0 0 0); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1) calc(.9s + var(--i) * .25s); }
[data-anim="draw"].in .ak-win__k, [data-anim="draw"].in .ak-win__t, [data-anim="draw"].in .ak-win__p { opacity: 1; transform: none; transition: opacity .8s, transform .8s; transition-delay: calc(1.6s + var(--i) * .25s); }
.ak-altar { position: relative; margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; border-radius: 32px; overflow: hidden; background: #fffaf0; border: 1px solid var(--ak-line); box-shadow: 0 30px 60px -40px rgba(90, 55, 15, .55); }
.ak-altar__pic { margin: 0; height: 100%; min-height: 320px; position: relative; overflow: hidden; }
.ak-altar__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.2); transform: scale(1.12); }
.ak-altar__pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, transparent 60%, #fffaf0); }
.ak-altar__sweep { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, transparent 30%, rgba(255, 244, 205, .75) 48%, transparent 66%); transform: translateX(-120%); }
.ak-altar__w { padding: clamp(24px, 4vw, 44px); display: grid; gap: 10px; justify-items: start; }
.ak-altar__t { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3rem); color: var(--ak-ink); line-height: 1.2; }
.ak-altar__w > p:not(.ak-win__k):not(.ak-chip) { color: var(--ak-ink2); line-height: 1.9; }
[data-anim="light"].in .ak-altar__pic img { transform: scale(1); transition: transform 3.5s cubic-bezier(.2, .7, .2, 1); }
[data-anim="light"].in .ak-altar__sweep { transform: translateX(120%); transition: transform 2.2s ease-in-out .6s; }

/* ---------- 5. shepherds: the line runs, the rings close, the numbers count ---------- */
.ak-pope { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -8px auto 40px; padding: 10px 20px 10px 12px; width: fit-content; max-width: 100%; border-radius: 999px; background: #fffaf0; border: 1px solid var(--ak-line2); box-shadow: 0 16px 30px -22px rgba(90, 55, 15, .6); }
.ak-pope img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 2px var(--ak-gold2); }
.ak-pope div { display: grid; }
.ak-pope b { color: var(--ak-ink); }
.ak-pope small { color: var(--ak-ink3); font-size: .82rem; }
.ak-bps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 30px); position: relative; }
.ak-bps::before { content: ''; position: absolute; inset-inline: 16%; top: 84px; height: 2px; background: linear-gradient(270deg, var(--ak-gold2), var(--ak-gold)); transform: scaleX(0); transform-origin: right; }
.ak-bps.in::before { transform: none; transition: transform 2.4s cubic-bezier(.65, 0, .35, 1) .3s; }
.ak-bp { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 10px 22px; }
.ak-bp__ring { position: relative; z-index: 1; width: 168px; height: 168px; border-radius: 50%; padding: 8px; background: var(--ak-ivory); }
.ak-bp__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ak-bp__ring circle { fill: none; stroke: var(--ak-gold2); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ak-bp__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.ak-bp.is-reposed .ak-bp__ring img { filter: sepia(.3) saturate(.85); }
.ak-bp__y { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 1.3rem; font-weight: 800; color: var(--ak-wine); font-variant-numeric: tabular-nums; }
.ak-bp__y i { width: 28px; height: 2px; background: var(--ak-gold); }
.ak-bp__n { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; color: var(--ak-ink); line-height: 1.35; }
.ak-bp__r { color: var(--ak-gold); font-weight: 800; font-size: .9rem; }
.ak-bp__note { color: var(--ak-ink2); font-size: .93rem; line-height: 1.8; max-width: 32ch; }
.ak-bp__tag { color: var(--ak-ink3); font-size: .82rem; margin-bottom: 6px; }
.ak-bp.is-living .ak-bp__tag { color: #2f7a4e; font-weight: 700; }
.ak-bps .ak-bp { opacity: 0; transform: translateY(30px); }
.ak-bps.in .ak-bp { opacity: 1; transform: none; transition: opacity .9s, transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.3s + var(--i) * .7s); }
.ak-bps.in .ak-bp__ring circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease calc(.5s + var(--i) * .7s); }
.ak-fas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 30px); perspective: 1200px; }
.ak-fa { display: grid; justify-items: center; text-align: center; gap: 6px; align-content: start; }
.ak-fa .ak-arch { width: 100%; max-width: 230px; border: 4px solid #fffaf0; box-shadow: 0 0 0 1px var(--ak-line2), 0 22px 40px -26px rgba(80, 50, 15, .55); }
.ak-fa .ak-arch img { object-position: 50% 18%; }
.ak-fa__n { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ak-ink); margin-top: 8px; line-height: 1.35; }
.ak-fa__d { display: grid; gap: 4px; margin: 0; }
.ak-fa__d div { display: flex; justify-content: center; gap: 8px; font-size: .88rem; }
.ak-fa__d dt { color: var(--ak-wine); font-weight: 800; }
.ak-fa__d dd { margin: 0; color: var(--ak-ink2); display: grid; }
.ak-fa__d dd small { color: var(--ak-ink3); font-size: .76rem; }
.ak-fa__next { display: inline-flex; align-items: center; gap: 5px; color: var(--ak-wine); font-size: .82rem; font-weight: 800; text-decoration: none; margin-top: 2px; }
.ak-fa__next .fp-ic { width: 14px; height: 14px; }
[data-anim="turn"] .ak-fa { opacity: 0; transform: rotateY(70deg); transform-origin: center; }
[data-anim="turn"].in .ak-fa { opacity: 1; transform: none; transition: opacity .8s, transform 1.1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * .18s); }

/* ---------- 6. years (the wine-and-gold band): era tabs, the thread, the cascade ---------- */
.ak-eras { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.ak-eras button { display: grid; justify-items: center; gap: 0; padding: 9px 20px; border-radius: 18px; border: 1px solid rgba(255, 236, 190, .35); background: rgba(255, 255, 255, .06); color: rgba(255, 246, 228, .8); cursor: pointer; }
.ak-eras b { font-size: 1.1rem; color: #fff6e4; }
.ak-eras small { font-size: .78rem; opacity: .8; }
.ak-eras [aria-selected="true"] { background: #fff6e4; border-color: transparent; }
.ak-eras [aria-selected="true"] b { color: var(--ak-wine); }
.ak-eras [aria-selected="true"] small { color: var(--ak-ink2); opacity: 1; }
.ak-rail { position: relative; }
.ak-yrs { list-style: none; margin: 0; padding: 34px 4px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; }
.ak-yrs::before { content: ''; position: absolute; inset-inline: 0; top: 16px; height: 2px; min-width: 100%; background: rgba(255, 236, 190, .55); transform: scaleX(0); transform-origin: right; }
.in .ak-yrs::before { transform: none; transition: transform 1.6s cubic-bezier(.65, 0, .35, 1); }
.ak-yr { scroll-snap-align: start; position: relative; display: grid; align-content: start; gap: 4px; padding: 18px; border-radius: 22px; background: #fffaf0; color: var(--ak-ink); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .6); }
.ak-yr::before { content: ''; position: absolute; top: -24px; inset-inline-start: 24px; width: 12px; height: 12px; border-radius: 50%; background: #fff6e4; box-shadow: 0 0 0 4px rgba(255, 236, 190, .25); }
.ak-yr__y { font-size: 2.3rem; line-height: 1; font-weight: 900; color: var(--ak-ink); font-variant-numeric: tabular-nums; }
.ak-yr__d { color: var(--ak-ink3); font-size: .82rem; font-weight: 700; }
.ak-yr__t { color: var(--ak-ink); line-height: 1.7; margin-top: 4px; min-height: 3.4em; }
.ak-yr__foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.ak-yr__foot img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; box-shadow: 0 0 0 2px var(--ak-goldhi); margin-inline-end: auto; }
.ak-yr__film { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(184, 134, 47, .15); color: var(--ak-gold); margin-inline-end: auto; }
.ak-yr__foot a, .ak-yr__foot button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ak-line2); background: none; color: var(--ak-wine); cursor: pointer; }
.ak-yr__foot .fp-ic { width: 16px; height: 16px; }
.ak-yr__foot em { font-style: normal; font-size: .74rem; font-weight: 800; color: var(--ak-wine); padding: 2px 8px; border-radius: 999px; background: rgba(142, 42, 47, .1); }
.ak-yr.is-ours { background: linear-gradient(160deg, #fff4d6, #ffe6a8); }
.ak-yr.is-ours .ak-yr__y { color: var(--ak-wine); }
.ak-yr.is-ours::before { background: var(--ak-goldhi); }
[data-anim="cascade"] .ak-yr, [data-anim="cascade"] .ak-chs li { opacity: 0; transform: translateX(-60px) rotate(-2deg); }
[data-anim="cascade"].in .ak-yr, [data-anim="cascade"].in .ak-chs li { opacity: 1; transform: none; transition: opacity .7s, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.3s + var(--i) * .12s); }
.ak-rail__go { position: absolute; top: 55%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff6e4; color: var(--ak-wine); font-size: 1.5rem; cursor: pointer; box-shadow: 0 10px 20px -10px #000; }
.ak-rail__go--prev { inset-inline-start: -23px; } .ak-rail__go--next { inset-inline-end: -23px; }

/* ---------- 7. film: the curtains open ---------- */
.ak-film { position: relative; max-width: 1100px; margin: 0 auto; }
.ak-curtain { position: absolute; z-index: 5; top: -2px; bottom: -2px; width: 51%; pointer-events: none; background: repeating-linear-gradient(90deg, #6e1b20 0 18px, #8e2a2f 18px 30px, #5c161a 30px 44px); box-shadow: inset 0 -30px 40px -20px rgba(0, 0, 0, .5); }
.ak-curtain--a { right: 0; border-radius: 0 24px 24px 0; } .ak-curtain--b { left: 0; border-radius: 24px 0 0 24px; }
[data-anim="curtain"].in .ak-curtain--a { transform: translateX(102%) scaleX(.2); transition: transform 2s cubic-bezier(.65, 0, .25, 1) .2s; }
[data-anim="curtain"].in .ak-curtain--b { transform: translateX(-102%) scaleX(.2); transition: transform 2s cubic-bezier(.65, 0, .25, 1) .2s; }
[data-anim="curtain"] .fp { transform: scale(.94); opacity: .4; }
[data-anim="curtain"].in .fp { transform: none; opacity: 1; transition: transform 1.8s cubic-bezier(.2, .7, .2, 1) .5s, opacity 1.2s .5s; }
.ak-film .fp { box-shadow: 0 0 0 1px rgba(243, 213, 143, .35), 0 40px 80px -40px #000; }
.fp-mark { position: absolute; z-index: 2; top: 3.2%; inset-inline-start: 2.4%; width: clamp(38px, 7%, 76px); height: auto; border-radius: 50%; opacity: .92; pointer-events: none; }
.fp-poster__k { position: absolute; bottom: 16px; inset-inline-end: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(29, 19, 11, .8); color: var(--ak-goldhi); font-weight: 800; font-size: .8rem; }
.ak-film .fp-big { top: 74%; left: 40%; }
.ak-thanks { max-width: 1100px; margin: 16px auto 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 16px; border-radius: 20px; border: 1px solid rgba(243, 213, 143, .25); }
.ak-thanks__sat { height: 42px; width: auto; }
.ak-thanks p { color: #ffe9b8; font-weight: 700; }
.ak-ours { max-width: 1100px; width: 100%; margin: 14px auto 0; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px; border-radius: 20px; border: 1px solid rgba(226, 90, 79, .45); background: linear-gradient(100deg, rgba(142, 42, 47, .55), rgba(255, 255, 255, .03)); color: inherit; text-align: start; cursor: pointer; }
.ak-ours img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.ak-ours span { display: grid; gap: 2px; min-width: 0; }
.ak-ours small { display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 246, 228, .7); font-size: .8rem; }
.ak-ours small:first-child { color: #ffb3aa; font-weight: 800; }
.ak-ours small .ak-cross { color: #ffb3aa; width: 12px; height: 12px; }
.ak-ours b { color: #fff3d6; font-size: 1.08rem; }
.ak-ours i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--ak-goldhi), var(--ak-gold)); color: #3a2508; }
.ak-strip { max-width: 1100px; margin: 0 auto; }
.ak-strip .ak-h3 { justify-content: flex-start; font-family: Cairo, sans-serif; font-size: 1.05rem; color: #fff6e4; margin: 28px 0 12px; }
.ak-chs { list-style: none; padding: 0 0 8px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(243, 213, 143, .4) transparent; }
.ak-chs li { scroll-snap-align: start; }
.ak-ch { width: 100%; display: grid; gap: 8px; padding: 0; border: 0; background: none; color: inherit; text-align: start; cursor: pointer; }
.ak-ch__img { position: relative; display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(243, 213, 143, .2); }
.ak-ch__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.ak-ch:hover .ak-ch__img img { transform: scale(1.06); }
.ak-ch__img em { position: absolute; bottom: 6px; inset-inline-start: 6px; font-style: normal; padding: 1px 7px; border-radius: 6px; background: rgba(29, 19, 11, .85); color: #fff; font-size: .74rem; font-weight: 800; }
.ak-ch__img i { position: absolute; top: 6px; inset-inline-end: 6px; font-style: normal; padding: 1px 8px; border-radius: 999px; background: #e25a4f; color: #fff; font-size: .7rem; font-weight: 800; }
.ak-ch b { font-size: .88rem; line-height: 1.5; color: rgba(255, 246, 228, .8); }
.ak-ch.is-on .ak-ch__img { box-shadow: 0 0 0 2px var(--ak-goldhi); }
.ak-ch.is-on b { color: var(--ak-goldhi); }

/* ---------- 8. the close: light from the arch ---------- */
.ak-end { position: relative; width: var(--w); margin: clamp(60px, 10vw, 110px) auto clamp(60px, 10vw, 100px); display: grid; justify-items: center; text-align: center; gap: 10px; padding: clamp(34px, 6vw, 60px) 20px; border-radius: 999px 999px 32px 32px; background: linear-gradient(180deg, #fff6df, #f6e6c4); border: 1px solid var(--ak-line2); overflow: hidden; isolation: isolate; }
.ak-end__rays { position: absolute; inset: -40%; z-index: -1; background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(255, 255, 255, .55) 0 5deg, transparent 5deg 14deg); opacity: 0; }
[data-anim="glow"].in .ak-end__rays { opacity: 1; transition: opacity 2s; animation: akSpin 120s linear infinite; }
.ak-end__t { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--ak-ink); }
.ak-end p { color: var(--ak-ink2); }
[data-anim="glow"] > :not(.ak-end__rays) { opacity: 0; transform: translateY(16px); }
[data-anim="glow"].in > :not(.ak-end__rays) { opacity: 1; transform: none; transition: opacity .9s, transform .9s; }
[data-anim="glow"].in > :nth-child(3) { transition-delay: .2s; } [data-anim="glow"].in > :nth-child(4) { transition-delay: .35s; } [data-anim="glow"].in > :nth-child(5) { transition-delay: .5s; }

/* shared small entrances */
[data-anim="head"] .ak-kick i { transform: scaleX(0); }
[data-anim="head"] .ak-h, [data-anim="head"] .ak-sub, [data-anim="head"] .ak-kick span, [data-anim="head"] .ak-cross { opacity: 0; }
[data-anim="head"] .ak-h { transform: translateY(20px); letter-spacing: .04em; }
[data-anim="head"].in .ak-kick i { transform: none; transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
[data-anim="head"].in .ak-kick span, [data-anim="head"].in .ak-cross { opacity: 1; transition: opacity .8s .3s; }
[data-anim="head"].in .ak-h { opacity: 1; transform: none; letter-spacing: 0; transition: opacity 1s .4s, transform 1.1s cubic-bezier(.2, .7, .2, 1) .4s, letter-spacing 1.4s .4s; }
[data-anim="head"].in .ak-sub { opacity: 1; transition: opacity 1s .8s; }
[data-anim="rise"] { opacity: 0; transform: translateY(24px); }
[data-anim="rise"].in { opacity: 1; transform: none; transition: opacity .9s, transform 1s cubic-bezier(.2, .7, .2, 1); }

/* ---------- sheets ---------- */
.ak-sheet { width: min(720px, calc(100% - 24px)); max-height: 88dvh; padding: 28px; border: 1px solid var(--ak-line2); border-radius: 28px; background: #fffaf1; color: var(--ak-ink); overflow: auto; }
.ak-sheet::backdrop { background: rgba(43, 29, 16, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ak-sheet__x { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ak-line2); background: none; color: var(--ak-ink); cursor: pointer; }
.ak-bio { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 16px; }
.ak-bio img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; box-shadow: 0 0 0 3px var(--ak-gold2); }
.ak-bio .ak-sub { margin: 0; }
.ak-mile { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ak-mile li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(184, 134, 47, .09); animation: akIn .6s both; animation-delay: calc(var(--i) * .06s); }
@keyframes akIn { from { opacity: 0; transform: translateY(10px); } }
.ak-mile b { grid-column: 1; color: var(--ak-wine); font-size: .88rem; }
.ak-mile span { grid-column: 1; display: grid; color: var(--ak-ink); font-size: .94rem; }
.ak-mile small { color: var(--ak-ink3); font-size: .76rem; }
.ak-mile li > button, .ak-mile li > i { grid-column: 2; grid-row: 1 / 3; }

/* ---------- the hymn sheet: candlelight ---------- */
.ak-locked { overflow: hidden; }
.ak-hymn { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #1d130b; color: #fff6e4; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.ak-hymn::backdrop { background: #000; }
.ak-hymn__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(38px) brightness(.5) saturate(1.3); z-index: 0; }
.ak-hymn > *:not(.ak-hymn__bg) { position: relative; z-index: 1; }
.ak-hymn__top { display: flex; align-items: center; gap: 14px; padding: 16px clamp(16px, 4vw, 40px); }
.ak-hymn__top div { flex: 1; display: grid; text-align: center; }
.ak-hymn__top b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 4vw, 2rem); color: #fff3d6; }
.ak-hymn__top small { color: rgba(255, 246, 228, .6); font-size: .8rem; }
.ak-hymn__x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 213, 143, .4); background: rgba(29, 19, 11, .5); color: #fff; cursor: pointer; }
.ak-hymn__pic { width: 52px; height: 64px; object-fit: cover; border-radius: 26px 26px 8px 8px; box-shadow: 0 0 0 2px var(--ak-gold2); }
.ak-hymn__body { overflow-y: auto; scrollbar-width: none; padding: 30vh 20px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.ak-st { max-width: 760px; margin: 0 auto 34px; text-align: center; cursor: pointer; opacity: .38; transform: scale(.94); transition: opacity .6s, transform .6s; }
.ak-st.is-past { opacity: .28; }
.ak-st.is-on { opacity: 1; transform: none; }
.ak-st p { font-family: var(--font-display); font-size: clamp(1.55rem, 4.6vw, 2.5rem); line-height: 1.75; }
.ak-st span { color: rgba(255, 255, 255, .55); transition: color .08s, text-shadow .08s; }
.ak-st span.is-sung { color: #f1cf7c; }
.ak-st span.is-now { color: #ffe195; text-shadow: 0 0 18px rgba(255, 214, 120, .8), 0 0 2px #fff3d6; }
.ak-hymn__end { text-align: center; color: var(--ak-goldhi); font-size: 1.6rem; }
.ak-hymn__bar { display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 4vw, 40px) calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(29, 19, 11, .9), transparent); }
.ak-hymn__play { width: 62px; height: 62px; border-radius: 50%; border: 0; display: grid; place-items: center; background: linear-gradient(180deg, #ffe7a6, #e7bd5c 50%, #c48f32); color: #3a2508; cursor: pointer; flex: none; }
.ak-hymn__play .fp-ic { width: 28px; height: 28px; }
.ak-hymn__track { flex: 1; height: 22px; position: relative; cursor: pointer; }
.ak-hymn__track::before, .ak-hymn__track span { content: ''; position: absolute; inset-inline-start: 0; top: 9px; height: 4px; border-radius: 4px; }
.ak-hymn__track::before { inset-inline-end: 0; background: rgba(255, 255, 255, .15); }
.ak-hymn__track span { background: linear-gradient(270deg, var(--ak-gold), var(--ak-goldhi)); }
.ak-hymn__time { direction: ltr; color: rgba(255, 246, 228, .75); font-size: .9rem; white-space: nowrap; }

/* ---------- the entrance: the youth's videos in a gold arch, the hymn's words, then light ---------- */
.ak-gated { overflow: hidden; }
.ak-gate { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; color: #fff6e4; --p: 0; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.ak-gate * { user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.ak-gate__veil { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 42%, #3d2a14 0%, #1d130b 62%, #120b05 100%); transition: background 1.2s; }
.ak-gate__leak { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(40% 35% at 20% 20%, rgba(255, 180, 90, .25), transparent 70%), radial-gradient(35% 30% at 85% 75%, rgba(255, 140, 80, .2), transparent 70%); mix-blend-mode: screen; transition: opacity 2s; }
.ak-gate.is-playing .ak-gate__leak { opacity: 1; animation: akLeak 9s ease-in-out infinite alternate; }
@keyframes akLeak { to { transform: translate(4%, -3%) scale(1.1); } }
.ak-gate__win { position: absolute; left: 50%; top: 44%; translate: -50% -50%; width: min(440px, 74vw); aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; opacity: 0; transform: scale(.9); transition: opacity 1.2s, transform 1.6s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 40px 80px -30px #000; }
.ak-gate.is-playing .ak-gate__win { opacity: 1; transform: none; }
.ak-gate__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); filter: sepia(.28) saturate(1.1) contrast(1.05) blur(8px); transition: opacity 1.4s ease, transform 6s linear, filter 1.4s ease; }
.ak-gate__v.is-on { opacity: 1; transform: scale(1); filter: sepia(.28) saturate(1.1) contrast(1.05) blur(0); }
.ak-gate__vig { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 40%, transparent 50%, rgba(29, 19, 11, .75)), linear-gradient(0deg, rgba(29, 19, 11, .6), transparent 40%); pointer-events: none; }
.ak-gate__bloom { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, #fffaf0, #ffe7a8 40%, rgba(255, 231, 168, 0) 75%); opacity: 0; transition: opacity 1.4s; }
.ak-gate.is-bloom .ak-gate__bloom { opacity: 1; }
.ak-gate__arch { position: absolute; inset: 0; width: 100%; height: 100%; }
.ak-gate__arch path { fill: none; stroke: #e7bd5c; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); }
.ak-gate__arch path + path { stroke-width: 1; opacity: .6; }
.ak-gate__c { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 20px; transition: opacity .8s, transform .8s; }
.ak-gate.is-playing .ak-gate__c { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.ak-gate__seal { width: clamp(110px, 24vw, 140px); height: auto; border-radius: 50%; box-shadow: 0 16px 40px -14px #000; animation: akBreath 4s ease-in-out infinite; }
@keyframes akBreath { 50% { transform: scale(1.04); box-shadow: 0 16px 50px -10px rgba(231, 189, 92, .4); } }
.ak-gate__k { color: #f3dfae; font-weight: 700; }
.ak-gate__go { display: grid; justify-items: center; gap: 2px; margin-top: 10px; padding: 15px 38px; border-radius: 999px; border: 0; color: #3a2508; font-weight: 900; font-size: 1.2rem; cursor: pointer; background: linear-gradient(180deg, #ffe7a6, #e7bd5c 50%, #c48f32); box-shadow: 0 14px 30px -14px #000; }
.ak-gate__go small { font-size: .76rem; font-weight: 700; opacity: .75; }
.ak-gate__hymn { position: absolute; left: 0; right: 0; bottom: max(7vh, 40px); display: grid; place-items: center; text-align: center; padding: 0 16px; }
.ak-gate__hymn p { grid-area: 1 / 1; font-family: var(--font-display); font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1.5; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .9s, transform 1s, filter .9s; }
.ak-gate__hymn p.is-on { opacity: 1; transform: none; filter: none; }
.ak-gate__hymn span { color: rgba(255, 246, 228, .35); transition: color .35s, text-shadow .35s; }
.ak-gate__hymn span.is-sung { color: #f1cf7c; }
.ak-gate__hymn span.is-now { color: #fffbe9; text-shadow: 0 0 22px rgba(255, 214, 120, .8); }
.ak-gate.is-open { animation: akOpen 1.5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes akOpen { 0% { opacity: 1; } 40% { opacity: 1; background: #fffaf0; } 100% { opacity: 0; transform: scale(1.04); } }
.ak-gate.is-open .ak-gate__veil { background: #fffaf0; }
.ak-gate.is-open .ak-gate__win { transform: scale(2.6); opacity: 0; transition: transform 1.4s cubic-bezier(.6, 0, .2, 1), opacity 1.2s .2s; }

@media (prefers-reduced-motion: reduce) {
  .ak-hero__rays, .ak-hero__dust, .ak-title span, .ak-wave i, .ak-gate__seal, .ak-gate__leak { animation: none; }
  [data-anim] *, [data-anim] { transition: none !important; }
}

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .ak-rail2 { display: none; }
  .ak-pill { position: fixed; z-index: 30; bottom: calc(16px + env(safe-area-inset-bottom)); left: 50%; translate: -50% 20px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--ak-line2); background: rgba(251, 246, 236, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 30px -16px rgba(60, 40, 10, .6); color: var(--ak-ink); font-weight: 800; opacity: 0; pointer-events: none; transition: opacity .4s, translate .4s; }
  .ak-past-hero .ak-pill { opacity: 1; translate: -50% 0; pointer-events: auto; }
  .ak-pill svg { width: 32px; height: 32px; transform: rotate(-90deg); }
  .ak-pill circle { fill: none; stroke: var(--ak-line); stroke-width: 3; }
  .ak-pill .ak-pill__p { stroke: var(--ak-gold); stroke-dasharray: 1; stroke-dashoffset: 1; }
  .ak-pill-open .ak-rail2 { display: grid; top: auto; bottom: calc(74px + env(safe-area-inset-bottom)); left: 50%; inset-inline-end: auto; translate: -50% 0; padding: 14px 16px; border-radius: 22px; background: rgba(251, 246, 236, .96); box-shadow: 0 20px 40px -20px rgba(60, 40, 10, .6); }
  .ak-pill-open .ak-rail2 b { opacity: 1; transform: none; box-shadow: none; background: none; }
  .ak-pill-open .ak-rail2__thread { display: none; }
}
@media (max-width: 760px) {
  .ak-hero { height: 92svh; min-height: 540px; }
  .ak-hero__art img { object-position: 50% 0%; }
  .ak-pat { grid-template-columns: 1fr; padding: 18px; gap: 16px; text-align: center; }
  .ak-pat__stage { width: 72%; justify-self: center; }
  .ak-pat__acts { justify-content: center; }
  .ak-pat__days li { text-align: start; }
  .ak-wins { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .ak-wins::before { display: none; }
  .ak-win { scroll-snap-align: center; }
  .ak-altar { grid-template-columns: 1fr; }
  .ak-altar__pic { min-height: 240px; }
  .ak-altar__pic::after { background: linear-gradient(0deg, #fffaf0, transparent 55%); }
  .ak-bps { grid-template-columns: 1fr; gap: 30px; }
  .ak-bps::before { inset-inline: auto; inset-inline-start: 50%; top: 40px; bottom: 40px; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
  .ak-bps.in::before { transform: none; }
  .ak-bp { background: var(--ak-ivory); }
  .ak-bp__ring { width: 140px; height: 140px; }
  .ak-fas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ak-fa__n { font-size: 1.15rem; }
  .ak-yrs { grid-auto-columns: 80%; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .ak-rail__go { display: none; }
  .ak-film { margin-inline: calc(-1 * var(--gutter)); }
  .ak-film .fp { border-radius: 0; }
  .ak-curtain--a, .ak-curtain--b { border-radius: 0; }
  .ak-thanks { flex-wrap: wrap; text-align: center; }
  .ak-ours { grid-template-columns: 88px minmax(0, 1fr) auto; }
  .ak-ours img { width: 88px; }
  .ak-chs { grid-auto-columns: 62%; }
  .ak-mile { grid-template-columns: 1fr; }
  .ak-sheet { padding: 20px 16px; }
  .ak-bio { grid-template-columns: 80px minmax(0, 1fr); }
  .ak-bio img { width: 80px; height: 80px; }
  .ak-hymn__body { padding: 26vh 14px; }
  .ak-hymn__play { width: 54px; height: 54px; }
  .ak-gate__win { width: 78vw; top: 40%; }
}

/* the cover carries its own gold title (Photoshop): the page's title stays for screen readers and search only */
.ak-hero__words { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; }
.ak-hero::after { height: 16%; }
/* phones: the whole cover, at its own shape (its title and every face stay in) */
@media (max-width: 760px) {
  .ak-hero { height: auto; min-height: 0; aspect-ratio: 16 / 9; margin-top: 0; }
  .ak-hero__art img { object-fit: cover; object-position: 50% 50%; }
  .ak-hero__down { display: none; }
}
/* full screen: the logo stays on the picture itself, whatever the letterbox (the stage is the whole screen there) */
.fp.is-full .fp-mark, :fullscreen .fp-mark { top: calc(50vh - min(50vh, 28.125vw) + min(100vh, 56.25vw) * .032); inset-inline-start: calc(50vw - min(50vw, 88.889vh) + min(100vw, 177.78vh) * .024); width: calc(min(100vw, 177.78vh) * .055); }
