/* ==========================================================================
   ABOUT page (我们) — builds on the shared dy-* system in diary.css
   ========================================================================== */

.about-page { background: transparent; }   /* site background + gutter pattern: theme.css */
.about-page .app-wrapper {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(50% 30% at 8% 60%, rgba(201,164,92,.08), transparent 70%),
    radial-gradient(50% 30% at 92% 90%, rgba(201,164,92,.08), transparent 70%),
    transparent;
}
.about-page .top-bar { position: relative; z-index: 5; background: rgba(10,8,6,.72); }
.about-page .site-footer { position: relative; background: rgba(8,6,4,.55); }   /* lets the gutter pattern show through */

.ab-main { --ab-script: "STKaiti", "KaiTi", "Kaiti SC", "Noto Serif SC", serif; }
.ab-main > section { position: relative; }   /* paint above the absolute backdrop */

/* ---------- Hero: title above, cross centred, verse + tagline flanking ----------
   The church image is an in-flow "stage" under the heading, so the cross always starts
   below the title/subtitle (whatever their height) and 我们是谁 always starts below it.
   cross-wide.webp is 2768x628; the gold cross occupies x 1819-2102, y 87-560 (centre x 1960.5).
   With an on-screen cross width of --cw (scale = cw / 284):
     image height 2.2113cw · cross top .3063cw · cross centre 1.1409cw · cross base 1.9754cw
     (all measured from the stage top) · cross centre is 6.903cw from the image's left edge.
   Only ~2.84cw of image exists to the right of the cross, so a mirrored copy of the same
   image sits underneath and shows through where the main image fades out on the right. */
.ab-main { --cw: 150px; --cx: 50vw; --flank-gap: 56px; --hero-pad-b: 8px; }
@media (min-width: 641px) { .ab-main { --cw: clamp(220px, 16vw, 320px); } }

.ab-hero { padding: 48px 0 var(--hero-pad-b); }
.ab-hero .dy-head { margin-bottom: 0; }
.ab-hero .dy-verse { font-size: 13.5px; }

.ab-stage { height: calc(var(--cw) * 2.2113); margin-top: 4px; }

/* the shared backdrop (diary.css) is absolute, 100vw wide and centred on the page; here it
   fills the stage. All rules carry .about-page so they also beat diary.css's phone overrides. */
.about-page .dy-backdrop { height: 100%; }
.about-page .dy-backdrop__img {
  opacity: 1;
  background: url(../images/cross-wide.webp) no-repeat;
  background-size: auto calc(var(--cw) * 2.2113);
  background-position: calc(50vw - var(--cw) * 6.903) 0;   /* cross centre = page centre */
  /* vertical: fade in above the cross top (13.9%) and out below its base (89.3%);
     horizontal: fade out before the image's right edge (2.84cw), far right of the cross (.5cw) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%),
                      linear-gradient(90deg, #000 calc(50% + var(--cw) * 1.9), transparent calc(50% + var(--cw) * 2.8));
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%),
              linear-gradient(90deg, #000 calc(50% + var(--cw) * 1.9), transparent calc(50% + var(--cw) * 2.8));
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.about-page .ab-backdrop__mirror {
  transform: scaleX(-1);
  /* shifted .8cw so the crossfade zone (1.9-2.8cw right of centre) reveals only the blurred
     nave extension — not a ghost of the chalice, which sits 2.0-2.35cw left of the cross */
  background-position: calc(50vw - var(--cw) * 6.103) 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}
/* the shared rays (top right) become a warm halo around the cross; screen blending can only
   lighten, so it never dims the gold */
.about-page .dy-backdrop__rays {
  display: block;   /* diary.css hides the rays on phones */
  inset: 0; width: auto; height: auto;
  background: radial-gradient(calc(var(--cw) * 1.15) calc(var(--cw) * 1.35) at 50% 51.6%, rgba(255,205,120,.14), transparent 70%);
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  mix-blend-mode: screen;
}
.about-page .dy-backdrop__glow {
  background:
    /* soft dark pools behind the two flanking texts; they end .78cw from the centre — outside the cross (.5cw) */
    radial-gradient(calc(var(--cw) * .9) calc(var(--cw) * .7) at calc(50% - var(--cw) * 1.45) 51.6%, rgba(10,8,6,.5), transparent 75%),
    radial-gradient(calc(var(--cw) * .9) calc(var(--cw) * .7) at calc(50% + var(--cw) * 1.45) 51.6%, rgba(10,8,6,.5), transparent 75%),
    /* symmetric side dimming, fully clear within .85cw of the centre */
    linear-gradient(90deg, rgba(10,8,6,.8) 0, rgba(10,8,6,.45) 16%, transparent calc(50% - var(--cw) * .85),
                           transparent calc(50% + var(--cw) * .85), rgba(10,8,6,.45) 84%, rgba(10,8,6,.8) 100%);
  /* fades with the image, so nothing ends in a hard edge */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
/* drifting specks: one field each side, both stopping 24px short of the cross */
.about-page .dy-backdrop::before { inset: 4% calc(50% + var(--cw) * .5 + 24px) 30% 2%; }
.about-page .dy-backdrop::after  { inset: 4% 2% 30% calc(50% + var(--cw) * .5 + 24px); }

/* flanking texts: equal gaps either side of the cross, level with its crossbar
   (crossbar centre is .815cw below the stage top = 1.3963cw above its bottom); at that
   height the tagline also stays clear of the candle flame (1.19cw) */
.ab-quote { margin: 0; font-size: 18px; line-height: 1.9; letter-spacing: .08em; color: #f6ead0; text-shadow: 0 0 18px rgba(224,196,138,.3), 0 2px 10px rgba(0,0,0,.6); }
.ab-ref { display: block; margin-top: 8px; font-size: 13px; color: var(--dy-mute); letter-spacing: .04em; }
.ab-hero .ab-hero__verse,
.ab-hero .ab-script {
  position: absolute;
  z-index: 2;
  bottom: calc(var(--hero-pad-b) + var(--cw) * 1.3963);
  transform: translateY(50%);
  margin: 0;
}
.ab-hero .ab-hero__verse {
  right: calc(50% + var(--cw) / 2 + var(--flank-gap));
  width: min(300px, calc(50% - var(--cw) / 2 - var(--flank-gap)));
  text-align: right;
}
.ab-hero .ab-script {
  left: calc(50% + var(--cw) / 2 + var(--flank-gap));
  width: max-content;
  text-align: left;
  font: 400 21px/1.9 var(--ab-script);
  letter-spacing: .14em;
  color: #f6ead0;
  text-shadow: 0 0 16px rgba(10,8,6,.95), 0 0 6px rgba(10,8,6,.8), 0 2px 12px rgba(0,0,0,.6);
}

/* ---------- Cards ---------- */
.ab-card { margin-top: 24px; padding: 28px 32px; overflow: hidden; }
.ab-card::before { content: ""; position: absolute; top: -1px; left: 50%; width: 40%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(243,216,138,.8), transparent); }
.ab-head { display: flex; align-items: center; gap: 16px; margin: 0; font: 500 27px/1.3 var(--serif); color: #f5e9cf; letter-spacing: .1em; }
.ab-star { width: 36px !important; height: 36px !important; color: #f3d88a; filter: drop-shadow(0 0 10px rgba(243,216,138,.75)); }
.ab-sechead { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 22px; }
.ab-sechead p { margin: 0; font-size: 13.5px; color: var(--dy-mute); letter-spacing: .06em; }

.ab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px;
  padding: 8px 30px;
  border-radius: 999px;
  font: 500 15px/1 var(--serif);
  letter-spacing: .1em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, filter .2s, color .2s;
}
.ab-btn .ic { width: 18px; height: 18px; }
.ab-btn--outline { border: 1px solid rgba(224,196,138,.6); background: rgba(10,8,6,.4); color: #f1e4c6; }
.ab-btn--outline:hover { background: rgba(201,164,92,.14); color: var(--dy-gold); }
.ab-btn--gold { border: 1px solid #f0d79f; background: linear-gradient(180deg, #f0d79f 0%, #d7b46c 55%, #b8904a 100%); color: #24180a; font-weight: 600; box-shadow: 0 8px 28px rgba(201,164,92,.28), inset 0 1px 0 rgba(255,255,255,.4); }
.ab-btn--gold:hover { filter: brightness(1.08); }

/* Photo panel with a verse overlay */
.ab-photo { position: relative; margin: 0; overflow: hidden; border-radius: 10px; }
.ab-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: sepia(.3) saturate(1.05) brightness(.7); }
.ab-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,.92) 0%, rgba(20,15,10,.35) 45%, transparent 75%), linear-gradient(0deg, rgba(10,8,6,.6), transparent 50%); }
.ab-photo__verse { position: absolute; z-index: 1; left: 28px; bottom: 28px; max-width: 64%; font: 400 18px/1.85 var(--ab-script); letter-spacing: .08em; color: #f5e9cf; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.ab-photo__verse .ab-ref { font-family: var(--serif); font-size: 13px; }

/* ---------- 我们是谁 ---------- */
.ab-who { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
.ab-who__text p { margin: 0 0 14px; font-size: 15px; line-height: 1.9; color: #dccfb4; }
.ab-who__text .ab-head { margin-bottom: 18px; }
.ab-who__text .ab-eyebrow { margin-bottom: 10px; font-size: 17px; color: var(--dy-gold); letter-spacing: .06em; }
.ab-list { list-style: none; margin: 0 0 14px; padding: 0; }
.ab-list li { position: relative; padding: 6px 0 6px 22px; border-bottom: 1px solid rgba(201,164,92,.12); font-size: 15px; line-height: 1.7; }
.ab-list li::before { content: "✦"; position: absolute; left: 0; top: 9px; font-size: 11px; color: var(--dy-gold); }
.ab-list a { color: #dccfb4; text-decoration: none; }
.ab-list a:hover { color: var(--dy-gold); }
.ab-who__text .ab-close { margin: 18px 0 22px; padding-left: 16px; border-left: 2px solid var(--dy-gold-2); font-size: 17px; line-height: 1.85; color: var(--dy-gold); }
.ab-who__photo { min-height: 420px; }
.ab-who__photo img { object-position: 50% 30%; }

/* ---------- 我们的使命 ---------- */
.ab-mission__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-mission__card { padding: 24px 18px 22px; text-align: center; border: 1px solid rgba(201,164,92,.28); border-radius: 12px; background: rgba(12,9,6,.5); transition: border-color .3s, transform .3s; }
.ab-mission__card:hover { transform: translateY(-2px); border-color: rgba(224,196,138,.55); }
.ab-ring { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 14px; border: 1px solid rgba(224,196,138,.55); border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.2), transparent 70%); color: #f3d88a; box-shadow: 0 0 22px rgba(201,164,92,.18); }
.ab-ring .ic { width: 34px; height: 34px; stroke-width: 1.3; }
.ab-mission__card h3 { margin: 0; font: 600 19px/1.4 var(--serif); color: #f5e9cf; letter-spacing: .12em; }
.ab-mission__card p { margin: 10px 0 0; font-size: 14px; line-height: 1.8; color: #cfc2a8; }

/* ---------- 我们的信仰与方向 ---------- */
.ab-beliefs { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.ab-beliefs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ab-belief { display: flex; gap: 16px; padding: 18px 18px 16px; border: 1px solid rgba(201,164,92,.28); border-radius: 12px; background: rgba(12,9,6,.5); }
.ab-belief__icon { flex: none; color: #f3d88a; }
.ab-belief__icon .ic { width: 34px; height: 34px; stroke-width: 1.3; }
.ab-belief h3 { margin: 2px 0 0; font: 600 17px/1.4 var(--serif); color: #f5e9cf; letter-spacing: .08em; }
.ab-belief p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.75; color: #cfc2a8; }
.ab-belief .ab-belief__verse { margin-top: 8px; font-size: 13px; color: #e9dcc0; }
.ab-belief__verse span:last-child { display: block; color: var(--dy-mute); }
.ab-beliefs__photo { min-height: 360px; margin: -28px -32px -28px 0; border-radius: 0; }
.ab-beliefs__photo img { object-position: 60% 50%; }
.ab-beliefs__photo::after { background: linear-gradient(90deg, rgba(20,15,10,.95) 0%, transparent 35%), linear-gradient(180deg, rgba(10,8,6,.75) 0%, transparent 45%); }
.ab-beliefs__photo .ab-photo__verse { top: 26px; bottom: auto; left: 40px; right: 24px; max-width: none; font-size: 17px; transform: rotate(-4deg); }

/* ---------- 加入我们 ---------- */
.ab-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: 220px; }
.ab-join__text p { margin: 16px 0 0; padding-left: 52px; font-size: 15px; line-height: 1.9; color: #dccfb4; }
.ab-join__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.ab-join__actions .ab-btn--gold { min-width: 170px; }
.ab-join__light {
  position: absolute; inset: 0 0 0 45%;
  background:
    radial-gradient(22% 50% at 91% 22%, rgba(255,214,140,.32), transparent 70%),
    repeating-linear-gradient(98deg, transparent 0 30px, rgba(255,214,140,.05) 30px 42px, transparent 42px 80px),
    radial-gradient(80% 60% at 70% 110%, rgba(201,164,92,.18), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
  pointer-events: none;
}
.ab-join__cross { position: absolute; right: 6%; top: 10%; width: 30px; color: #fbe3a6; filter: drop-shadow(0 0 12px rgba(255,214,140,.9)); }
.ab-join__verse { position: relative; margin: 0; padding: 40px 70px 0 40px; font: 400 18px/1.85 var(--ab-script); letter-spacing: .06em; color: #f5e9cf; transform: rotate(-4deg); text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.ab-join__verse .ab-ref { font-family: var(--serif); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  /* no room beside the cross: the tagline goes, the verse sits centred under the stage */
  .ab-hero .ab-script { display: none; }
  .ab-hero .ab-hero__verse { position: relative; right: auto; bottom: auto; transform: none; width: auto; max-width: 34em; margin: 12px auto 0; text-align: center; }
  .ab-quote { font-size: 15px; }
  .ab-who, .ab-beliefs, .ab-join { grid-template-columns: 1fr; }
  .ab-who__photo { min-height: 300px; }
  .ab-mission__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-beliefs__photo { min-height: 280px; margin: 0; border-radius: 10px; }
  .ab-join__light { inset: 45% 0 0 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .ab-join__verse { padding: 8px 8px 24px; transform: none; }
  .ab-join__cross { display: none; }
}
@media (max-width: 640px) {
  .ab-hero { padding: 32px 0 8px; }
  .ab-card { margin-top: 16px; padding: 22px 16px; }
  .ab-head { gap: 12px; font-size: 22px; }
  .ab-star { width: 28px !important; height: 28px !important; }
  .ab-sechead { margin-bottom: 16px; }
  .ab-who { gap: 20px; }
  .ab-who__photo { min-height: 260px; }
  .ab-photo__verse { left: 18px; bottom: 18px; max-width: 80%; font-size: 16px; }
  .ab-mission__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ab-mission__card { padding: 18px 12px; }
  .ab-ring { width: 56px; height: 56px; }
  .ab-ring .ic { width: 28px; height: 28px; }
  .ab-mission__card h3 { font-size: 17px; letter-spacing: .06em; }
  .ab-mission__card p { font-size: 13px; }
  .ab-beliefs__grid { grid-template-columns: 1fr; }
  .ab-beliefs__photo .ab-photo__verse { left: 18px; font-size: 16px; }
  .ab-join__text p { padding-left: 0; }
  .ab-join__actions .ab-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-mission__card, .ab-btn { transition: none; }
}
/* Angelus card: verse sits in the sky above the figures, upright, two balanced lines */
.ab-beliefs__photo img { object-position: 50% 100%; }
.ab-beliefs__photo::after { background: linear-gradient(180deg, rgba(14,10,6,.82) 0%, rgba(14,10,6,.45) 22%, transparent 40%), linear-gradient(0deg, rgba(10,8,6,.45), transparent 35%); }
.ab-beliefs__photo .ab-photo__verse { top: 20px; left: 50%; right: auto; bottom: auto; transform: translateX(-50%); width: min(88%, 17em); max-width: none; text-align: center; font-size: 16px; line-height: 1.7; letter-spacing: .06em; text-wrap: balance; }
.ab-beliefs__photo .ab-photo__verse .ab-ref { margin-top: 4px; font-size: 12px; }
@media (max-width: 640px) { .ab-beliefs__photo .ab-photo__verse { left: 50%; top: 14px; font-size: 14.5px; width: 90%; } }
/* give the verse its own sky: painting sits lower, top fades into the dusk colour */
.ab-beliefs__photo { aspect-ratio: 4 / 5; background: #17120c; }
.ab-beliefs__photo img { position: absolute; left: 0; right: 0; bottom: 0; top: 18%; height: 82%; object-position: 50% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
.ab-beliefs__photo .ab-photo__verse { top: 16px; font-size: 15px; line-height: 1.65; }
@media (max-width: 640px) { .ab-beliefs__photo { aspect-ratio: 4 / 4.4; } .ab-beliefs__photo .ab-photo__verse { top: 12px; font-size: 14px; } }
/* mobile: quote in its own dark band above the painting */
@media (max-width: 640px) {
  .ab-beliefs__photo { aspect-ratio: auto; display: flex; flex-direction: column; background: #17120c; }
  .ab-beliefs__photo .ab-photo__verse { position: static; transform: none; width: auto; max-width: none; order: -1; padding: 18px 20px 20px; font-size: 14.5px; }
  .ab-beliefs__photo img { position: static; height: auto; aspect-ratio: 1600 / 1330; -webkit-mask-image: none; mask-image: none; }
  .ab-beliefs__photo::after { background: linear-gradient(0deg, rgba(10,8,6,.45), transparent 35%); }
}
/* Angelus card: full painting, quote as a caption block beneath (all widths) */
.ab-beliefs__photo { aspect-ratio: auto !important; display: flex; flex-direction: column; justify-content: center; background: #17120c; }
.ab-beliefs__photo::after { display: none; }
.ab-beliefs__photo img { position: static !important; width: 100%; height: auto !important; aspect-ratio: 1600 / 1330; object-fit: cover; -webkit-mask-image: none !important; mask-image: none !important; filter: sepia(.15) brightness(.9); }
.ab-beliefs__photo .ab-photo__verse { position: static !important; order: 2; transform: none !important; width: auto !important; max-width: none; margin: 0; padding: 20px 22px 24px; text-align: center; font-size: 15px; line-height: 1.7; text-shadow: none; text-wrap: balance; }
.ab-beliefs__photo .ab-photo__verse .ab-ref { margin-top: 6px; }
@media (max-width: 640px) { .ab-beliefs__photo .ab-photo__verse { order: 2; padding: 16px 18px 20px; font-size: 14.5px; } }
/* join card verse: upright, two balanced lines, centred vertically, clear of the cross */
.ab-join__verse { transform: none !important; align-self: center; justify-self: start; max-width: 17em; padding: 0 64px 0 28px; font-size: 17px; line-height: 1.8; text-align: left; text-wrap: balance; }
.ab-join__verse .ab-ref { display: block; margin-top: 8px; text-align: left; }
@media (max-width: 900px) { .ab-join__verse { padding: 4px 8px 24px; max-width: none; font-size: 16px; } }
@media (min-width: 901px) { .ab-join__verse { max-width: 23em; font-size: 16px; letter-spacing: .04em; padding-right: 72px; } }
@media (min-width: 901px) { .ab-join__verse { max-width: 30em; padding-right: 96px; } }
@media (min-width: 901px) { .ab-join__verse { max-width: 34em; padding-right: 48px; word-break: keep-all; text-wrap: wrap; } }
@media (max-width: 900px) { .ab-join__verse { word-break: keep-all; } }

/* ---------- Tagline: centred just above the line where 我们是谁 begins ---------- */
.ab-hero .ab-tagline { position: relative; z-index: 2; margin: 10px auto 0; padding: 0 16px; text-align: center; font-size: 13.5px; line-height: 1.7; letter-spacing: .08em; color: rgba(243,234,216,.72); text-shadow: 0 2px 10px rgba(0,0,0,.7); }
@media (max-width: 640px) { .ab-hero .ab-tagline { font-size: 12.5px; margin-top: 8px; } }

/* ---------- Holy light: only the cross itself breathes ----------
   cross-cut.webp = cross-wide.webp crop x1790-2130 / y70-580 with an alpha matte of the cross;
   cross-glow.webp = the same matte blurred, crop x1770-2150 / y50-600. Image px → cw/284. */
.ab-glory { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ab-glory img { position: absolute; display: block; max-width: none; }
.ab-glory__cut, .ab-glory__hl {
  left: calc(50% - var(--cw) * .6002); top: calc(var(--cw) * .2465);
  width: calc(var(--cw) * 1.1972); height: calc(var(--cw) * 1.7958);
}
/* same filter as the backdrop image (diary.css) so at rest the cut-out is identical to the painting */
.ab-glory__cut { filter: sepia(.35) saturate(1.1) brightness(.62) contrast(1.08); animation: abCrossLit 5s ease-in-out infinite; }
/* ivory light falling on the metal: matte × vertical falloff (brightest top/crossing) */
.ab-glory__hl { mix-blend-mode: soft-light; opacity: 0; animation: abCrossHl 5s ease-in-out infinite; }
.ab-glory__glow {
  left: calc(50% - var(--cw) * .6706); top: calc(var(--cw) * .1761);
  width: calc(var(--cw) * 1.338); height: calc(var(--cw) * 1.9366);
  mix-blend-mode: screen; opacity: 0;
  animation: abCrossGlow 5s ease-in-out infinite;
}
@keyframes abCrossLit { 0%, 100% { filter: sepia(.35) saturate(1.1) brightness(.62) contrast(1.08); } 50% { filter: sepia(.35) saturate(1.1) brightness(.694) contrast(1.08); } }
@keyframes abCrossHl { 0%, 100% { opacity: 0; } 50% { opacity: .35; } }
@keyframes abCrossGlow { 0%, 100% { opacity: 0; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  .ab-glory__cut, .ab-glory__hl, .ab-glory__glow { animation: none; }
  .ab-glory__hl { opacity: .15; }
}

/* ---------- Starlight over the hero image: tapered 4/8-point flares (positions in about.html) ---------- */
.ab-stars { position: absolute; inset: 0 calc(50% - 50vw); z-index: 1; pointer-events: none; }
.ab-stars i {
  position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background:
    radial-gradient(circle, #fffdf6 0, #fff3d6 4%, rgba(255,222,160,.4) 9%, transparent 18%),
    linear-gradient(90deg, transparent 0, rgba(255,236,196,.95) 50%, transparent 100%) center / 100% 1.5px no-repeat,
    linear-gradient(0deg, transparent 0, rgba(255,236,196,.95) 50%, transparent 100%) center / 1.5px 100% no-repeat;
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.85) 30%, transparent 72%);
  mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.85) 30%, transparent 72%);
  filter: drop-shadow(0 0 2px rgba(255,214,140,.8));
  opacity: .1; transform: scale(.6) rotate(var(--r, 0deg));
  animation: abStar var(--d) ease-in-out var(--l) infinite;
}
.ab-stars i.d::after {   /* fainter diagonal rays */
  content: ""; position: absolute; inset: 18%; transform: rotate(45deg);
  background:
    linear-gradient(90deg, transparent, rgba(255,232,186,.55) 50%, transparent) center / 100% 1px no-repeat,
    linear-gradient(0deg, transparent, rgba(255,232,186,.55) 50%, transparent) center / 1px 100% no-repeat;
}
@keyframes abStar {
  0%, 100% { opacity: .1; transform: scale(.6) rotate(var(--r, 0deg)); }
  50% { opacity: .9; transform: scale(1) rotate(calc(var(--r, 0deg) + 15deg)); }
}
@media (max-width: 640px) { .ab-stars i:nth-child(n+19) { display: none; } }
@media (prefers-reduced-motion: reduce) { .ab-stars i { animation: none; opacity: .35; transform: scale(.85) rotate(var(--r, 0deg)); } }

/* no drifting dust specks on this page — starlight flares only */
.about-page .dy-backdrop::before, .about-page .dy-backdrop::after { display: none !important; }

/* ---------- Candle flame flicker: flame-cut.webp = cross-wide.webp x2244-2288 / y318-366 (flame base ≈ y362, centre x2266) ---------- */
.ab-glory .ab-flame {
  left: calc(50% + var(--cw) * .9984); top: calc(var(--cw) * 1.1197);
  width: calc(var(--cw) * .1549); height: calc(var(--cw) * .1690);
  transform-origin: 50% 92%;
  filter: sepia(.35) saturate(1.1) brightness(.62) contrast(1.08);
  animation: abFlicker 3.7s linear infinite;
}
.ab-flame__glow {
  position: absolute; pointer-events: none;
  left: calc(50% + var(--cw) * 1.0759); top: calc(var(--cw) * 1.2148);
  width: calc(var(--cw) * .42); height: calc(var(--cw) * .42); transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,196,110,.5), rgba(255,180,90,.15) 55%, transparent 100%);
  mix-blend-mode: screen; opacity: .12;
  animation: abFlameGlow 5.3s ease-in-out infinite;
}
@keyframes abFlicker {
  0%   { transform: scale(1, 1) skewX(0deg); }
  9%   { transform: scale(.97, 1.05) skewX(1.5deg); filter: sepia(.35) saturate(1.1) brightness(.68) contrast(1.08); }
  17%  { transform: scale(1.02, .97) skewX(-1deg); }
  26%  { transform: scale(.98, 1.07) skewX(2deg); filter: sepia(.35) saturate(1.1) brightness(.6) contrast(1.08); }
  33%  { transform: scale(1, 1.01) skewX(-.5deg); }
  47%  { transform: scale(.96, 1.04) skewX(-2deg); filter: sepia(.35) saturate(1.1) brightness(.7) contrast(1.08); }
  55%  { transform: scale(1.01, .98) skewX(.8deg); }
  68%  { transform: scale(.98, 1.06) skewX(1.2deg); filter: sepia(.35) saturate(1.1) brightness(.64) contrast(1.08); }
  79%  { transform: scale(1.02, .99) skewX(-1.4deg); }
  88%  { transform: scale(.97, 1.03) skewX(.4deg); filter: sepia(.35) saturate(1.1) brightness(.67) contrast(1.08); }
  100% { transform: scale(1, 1) skewX(0deg); }
}
@keyframes abFlameGlow { 0%, 100% { opacity: .1; } 40% { opacity: .22; } 62% { opacity: .15; } 80% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .ab-glory .ab-flame, .ab-flame__glow { animation: none; } .ab-flame__glow { opacity: .14; } }
