/* About page: shooting star in the spirit of the Mother Comet logo (original artwork). */
.ab-hero { min-height: min(92vh, 900px); align-items: flex-end; }
.ab-fade { animation: ab-fade 1.6s ease-out both; }
.ab-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.ab-copy { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 80px 80px; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ab-h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 7vw, 92px); line-height: 1; letter-spacing: .04em; color: var(--ink); }
.ab-pub { display: flex; align-items: center; gap: 10px; }
.ab-pub span { width: 46px; height: 1px; background: var(--line); }
.ab-tag { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); color: var(--ink-dim); }

/* The star: soft halo, slowly turning glints, gentle pulse. */
.mc-ab-halo { fill: url(#mc-ab-halo); animation: ab-pulse 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mc-ab-starfill { fill: var(--ink); filter: drop-shadow(0 0 6px rgba(244,234,210,.55)); }
.mc-ab-core { fill: #fff; }
.mc-ab-glint { stroke: var(--ink); stroke-width: 1; stroke-linecap: round; opacity: .8; }
.mc-ab-glints { animation: ab-turn 24s linear infinite; transform-box: view-box; transform-origin: 700px 240px; }
.mc-ab-star { animation: ab-star-in 1.4s cubic-bezier(.2,.7,.2,1) .2s both; transform-box: fill-box; transform-origin: center; }

/* The tail draws itself, then sways like hair in the wind. */
.mc-ab-strand { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ab-draw 2.6s cubic-bezier(.65,.05,.25,1) both; animation-delay: calc(.5s + var(--k) * .09s); opacity: .9; }
.mc-ab-tail { animation: ab-sway 7s ease-in-out 3s infinite; transform-box: view-box; transform-origin: 700px 240px; }
.mc-ab-dust { fill: var(--ink); }

/* Meteors streak across the sky at intervals. */
.mc-ab-meteor { color: var(--ink); opacity: 0; animation: ab-meteor 9s linear infinite; animation-delay: calc(2.5s + var(--m) * 1.9s); }

@keyframes ab-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ab-star-in { from { opacity: 0; transform: scale(.2) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes ab-pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes ab-turn { to { transform: rotate(360deg); } }
@keyframes ab-draw { to { stroke-dashoffset: 0; } }
@keyframes ab-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.6deg); } }
@keyframes ab-meteor {
  0% { opacity: 0; transform: translate(-80px, -42px); }
  2% { opacity: 1; }
  7% { opacity: 0; transform: translate(260px, 138px); }
  100% { opacity: 0; transform: translate(260px, 138px); }
}

/* The House: logo until the history is written */
.ab-house-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.ab-logo { margin: 0; display: flex; justify-content: center; }
.ab-logo .pv-cover-frame { max-width: 400px; }
.ab-h2 { margin: 18px 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; color: var(--ink); }
.ab-h2 span { display: block; font-size: .42em; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dim); margin-top: 12px; }
.ab-house-note { margin: 22px 0 0; max-width: 440px; font-size: 16px; line-height: 1.7; color: var(--ink-dim); }
.ab-house-note i { font-family: var(--font-display); font-size: 21px; color: var(--ink); }

@media (max-width: 860px) {
  /* Phones: the whole star and its tail on top, the title below it. */
  .ab-hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .ab-hero .pv-hero-art { position: relative; inset: auto; height: auto; overflow: hidden; }
  .pv-hero-art.ab-fade .mc-about-art { position: static; display: block; width: 190%; height: auto; margin-left: -58%; margin-top: -8%; margin-bottom: -10%; }
  .ab-shade { display: none; }
  .ab-copy { padding: 0 24px 56px; }
  .ab-house-in { grid-template-columns: 1fr; }
  .ab-logo .pv-cover-frame { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-fade, .mc-ab-halo, .mc-ab-glints, .mc-ab-star, .mc-ab-tail, .mc-ab-meteor { animation: none !important; }
  .mc-ab-strand { animation: none !important; stroke-dashoffset: 0; }
}

/* ---- Our story ------------------------------------------------------------------ */
.ab-house-copy .mc-ornament { margin: 26px 0 0; }
.ab-story { max-width: 680px; margin: clamp(48px, 7vw, 90px) auto 0; padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.ab-story p { margin: 0 0 22px; font-family: var(--font-display); font-size: 21px; line-height: 1.75; color: var(--ink-dim); }
.ab-story p i { color: var(--ink); }
.ab-story .ab-open { margin-bottom: 34px; font-style: italic; font-size: clamp(26px, 3vw, 34px); line-height: 1.4; color: var(--ink); }
.ab-story .ab-close { margin: 40px 0 10px; text-align: center; font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.6; color: var(--ink); }
.ab-story .ab-sign { text-align: center; font-family: var(--font-sans); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-dim); }
.ab-story .ab-sign b { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: .08em; text-transform: none; color: var(--ink); text-shadow: 0 0 34px rgba(226,71,79,.5); }
.lang-th .ab-story p { font-size: 19px; line-height: 1.95; }
.lang-th .ab-story .ab-open, .lang-th .ab-story .ab-close { font-style: normal; line-height: 1.6; }
.lang-th .ab-story .ab-sign { letter-spacing: .04em; font-size: 15px; }
.lang-th .pv-kicker, .lang-th .mc-nav-link, .lang-th .mc-nav-cta { letter-spacing: .04em; }
/* language switch (same as the book pages) */
.mc-lang { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 12px; letter-spacing: .1em; color: rgba(244,234,210,.35); }
.mc-lang a { padding: 6px 2px; color: var(--ink-dim); border-bottom: 1px solid transparent; }
.mc-lang a[aria-current="page"] { color: var(--ink); border-bottom-color: #e2474f; }
.mc-lang a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .ab-story p { font-size: 18px; }
  .mc-lang { position: absolute; top: 14px; right: 16px; gap: 6px; }
  .mc-lang a { padding: 6px 4px; }
}
