/* EternalMiles — About: editorial magazine layout, logo-aligned */

body.about-page {
  --ab-gutter: var(--hh-gutter, clamp(20px, 3.8vw, 52px));
  --ab-max: 1180px;
  --ab-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hh-ink: #7D2A45;
}
body.about-page .nav { position: fixed; z-index: 1000; }
body.about-page .top-bar { z-index: 1100; }
body.about-page .mobile-menu { z-index: 1200; }
body.about-page .hh-logo-fade { display: none !important; }
body.about-page main,
body.about-page .footer,
body.about-page .newsletter-band,
body.about-page .footer-pre-band { position: relative; z-index: 1; }
body.about-page .fab-wrap {
  position: fixed;
  z-index: 500;
}

.ab-wrap {
  width: min(var(--ab-max), calc(100% - 2 * var(--ab-gutter)));
  margin-left: var(--ab-gutter);
  margin-right: auto;
  box-sizing: border-box;
}
.ab-kicker {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0;
}
.ab-orn {
  position: relative;
  display: block;
  width: 72px;
  height: 1px;
  background: var(--gold);
  margin: 16px 0 22px;
  opacity: 0.85;
}
.ab-orn::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}
.ab-title {
  font-family: var(--ff-d);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text-primary);
  margin: 0 0 18px;
}
.ab-title em { font-style: italic; color: var(--gold); }

.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-b);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 50px;
  transition: transform 0.4s var(--ab-ease), background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.ab-btn:hover { transform: translateY(-2px); }
.ab-btn-gold {
  background: linear-gradient(135deg, #C4965A, #DEB478);
  color: #1A0A10;
  border: none;
}
.ab-btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  opacity: 0.92;
}

/* ── Hero ── */
.ab-hero {
  position: relative;
  margin: var(--top-h) 0 var(--hh-frame, 12px);
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  min-height: calc(100dvh - var(--top-h) - var(--hh-frame, 12px));
  height: calc(100dvh - var(--top-h) - var(--hh-frame, 12px));
  display: flex;
  color: #F7F1E6;
  background: #0C1528;
}
.ab-hero-media,
.ab-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0C1528 center / cover no-repeat;
}
.ab-hero-media .hh-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.ab-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6,12,26,0.88) 0%, rgba(6,12,26,0.38) 48%, rgba(6,12,26,0.22) 100%);
  pointer-events: none;
}
[data-theme="sakura"] .ab-hero {
  color: #F7F1E6;
}
[data-theme="sakura"] .ab-hero-shade {
  background: linear-gradient(to top, rgba(6,12,26,0.86) 0%, rgba(6,12,26,0.4) 50%, rgba(6,12,26,0.22) 100%);
}
[data-theme="sakura"] .ab-hero .ab-btn-ghost {
  color: #F7F1E6;
  border-color: rgba(247,241,230,0.45);
}
body.about-page .ab-hero .hh-board {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-columns: none;
  background: transparent;
}
.ab-hero-inner {
  width: min(var(--ab-max), calc(100% - 2 * var(--ab-gutter)));
  margin-left: var(--ab-gutter);
  padding: 0 0 88px;
  box-sizing: border-box;
}
.ab-hero-inner > * {
  animation: abRise 0.95s var(--ab-ease) both;
}
.ab-hero-inner > *:nth-child(1) { animation-delay: 0.12s; }
.ab-hero-inner > *:nth-child(2) { animation-delay: 0.22s; }
.ab-hero-inner > *:nth-child(3) { animation-delay: 0.34s; }
.ab-hero-inner > *:nth-child(4) { animation-delay: 0.46s; }
.ab-hero-inner > *:nth-child(5) { animation-delay: 0.58s; }
@keyframes abRise {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: none; }
}
.ab-hero h1 {
  font-family: var(--ff-d);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 18px;
}
.ab-hero h1 em { font-style: italic; color: var(--gold); }
.ab-hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 38rem;
  margin: 0 0 28px;
  opacity: 0.86;
}
.ab-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-hero .ab-btn-ghost { color: #F7F1E6; border-color: rgba(247,241,230,0.45); }
.ab-scroll {
  position: absolute;
  right: var(--ab-gutter);
  bottom: 36px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.7;
  text-decoration: none;
}
.ab-scroll i { animation: abBob 1.8s ease-in-out infinite; }
@keyframes abBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Proof stats ── */
.ab-proof {
  padding: 28px 0 8px;
}
.ab-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.ab-stat {
  padding: 28px 24px 26px;
  border-right: 1px solid var(--border);
}
.ab-stat:last-child { border-right: none; }
.ab-stat .stat-num {
  font-family: var(--ff-d);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.ab-stat-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ── Essay + photos ── */
.ab-essay {
  padding: 88px 0 40px;
}
.ab-essay-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px 64px;
  align-items: center;
}
.ab-essay-photos {
  position: relative;
  min-height: 520px;
}
#our-story { scroll-margin-top: calc(var(--top-h) + var(--nav-h) + 16px); }
.ab-photo {
  overflow: hidden;
  border-radius: 4px;
  margin: 0;
}
.ab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--ab-ease);
}
.ab-photo:hover img { transform: scale(1.08); }
.ab-photo-main {
  width: 100%;
  height: 520px;
}
.ab-photo-float {
  position: absolute;
  left: -28px;
  bottom: 28px;
  width: 42%;
  height: 200px;
  box-shadow: 0 24px 50px rgba(6,12,26,0.28);
  border: 4px solid var(--bg);
  z-index: 1;
}
.ab-essay-lead {
  font-family: var(--ff-d);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 22px;
}
.ab-essay-copy p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

/* ── Cinematic quote ── */
.ab-quote {
  position: relative;
  min-height: 420px;
  margin: 48px var(--ab-gutter) 24px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #F7F1E6;
}
.ab-quote-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s var(--ab-ease);
}
.ab-quote.visible .ab-quote-bg,
.ab-quote:hover .ab-quote-bg { transform: scale(1); }
.ab-quote-shade {
  position: absolute;
  inset: 0;
  background: rgba(6,12,26,0.55);
}
.ab-quote-inner {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 64px));
  padding: 72px 20px;
}
.ab-quote p {
  font-family: var(--ff-d);
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  font-style: italic;
  line-height: 1.35;
  margin: 0;
}
.ab-quote span { display: block; margin-top: 12px; color: var(--gold-lt, #DEB478); }

/* ── Beliefs ── */
.ab-beliefs { padding: 72px 0 40px; }
.ab-beliefs-head { max-width: 560px; margin-bottom: 40px; }
.ab-beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ab-belief {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --slide-x: 40px;
}
.ab-belief:nth-child(odd) { --slide-x: -40px; }
.ab-belief.reveal {
  opacity: 0;
  transform: translate3d(var(--slide-x), 16px, 0);
  transition: opacity 0.8s var(--ab-ease), transform 0.8s var(--ab-ease);
}
.ab-belief.reveal.visible { opacity: 1; transform: none; }
.ab-belief:nth-child(2) { transition-delay: 0.1s; }
.ab-belief:nth-child(3) { transition-delay: 0.2s; }
.ab-belief-img {
  height: 200px;
  overflow: hidden;
}
.ab-belief-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s var(--ab-ease);
}
.ab-belief:hover .ab-belief-img img { transform: scale(1.14); }
.ab-belief-body { padding: 26px 24px 30px; }
.ab-belief-num {
  font-family: var(--ff-d);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 10px;
}
.ab-belief h3 {
  font-family: var(--ff-d);
  font-size: 1.65rem;
  font-weight: 400;
  margin: 0 0 6px;
}
.ab-belief-line {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--gold-text, var(--gold));
  margin: 0 0 14px;
}
.ab-belief p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 10px;
}
.ab-belief p:last-child { margin-bottom: 0; }
[data-theme="sakura"] .ab-belief { background: #fff; border-color: rgba(160,57,90,0.12); }

/* ── Your journey ── */
.ab-you {
  padding: 88px 0;
}
.ab-you-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ab-you-copy p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.ab-collage {
  position: relative;
  min-height: 460px;
}
.ab-collage img {
  position: absolute;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(6,12,26,0.22);
  transition: transform 0.7s var(--ab-ease);
}
.ab-collage img:hover { transform: scale(1.04) rotate(0deg); z-index: 2; }
.ab-collage img:nth-child(1) {
  width: 62%;
  height: 340px;
  top: 0;
  left: 0;
}
.ab-collage img:nth-child(2) {
  width: 48%;
  height: 220px;
  top: 48px;
  right: 0;
  transform: rotate(3deg);
}
.ab-collage img:nth-child(3) {
  width: 42%;
  height: 180px;
  bottom: 12px;
  left: 18%;
  transform: rotate(-4deg);
}
.ab-you-note {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0 0 8px;
}
.ab-qs { list-style: none; margin: 0; padding: 0; }
.ab-qs li {
  font-family: var(--ff-d);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--text-primary);
  padding: 16px 0 16px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding-left 0.45s var(--ab-ease), color 0.3s ease;
}
.ab-qs li:first-child { border-top: 1px solid var(--border); }
.ab-qs li::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ab-ease);
}
.ab-qs li:hover { padding-left: 14px; color: var(--gold); }
.ab-qs li:hover::before { width: 48px; }

/* ── Feelings mosaic ── */
.ab-feel { padding: 24px 0 88px; }
.ab-feel-head { max-width: 640px; margin-bottom: 36px; }
.ab-feel-lead {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}
.ab-feel-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 14px;
}
.ab-feel-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #F7F1E6;
  text-decoration: none;
}
.ab-feel-card:first-child {
  grid-row: 1 / 3;
  min-height: 474px;
}
.ab-feel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ab-ease);
}
.ab-feel-card:hover img { transform: scale(1.14); }
.ab-feel-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(222, 180, 120, 0.38);
  z-index: 1;
  pointer-events: none;
}
.ab-feel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,12,26,0.82), rgba(6,12,26,0.12));
}
.ab-feel-card span,
.ab-feel-card p { position: relative; z-index: 1; }
.ab-feel-card span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-lt, #DEB478);
  margin-bottom: 8px;
}
.ab-feel-card p {
  font-family: var(--ff-d);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.3;
  margin: 0;
  max-width: 18ch;
}

/* ── Beyond ── */
.ab-split { padding: 24px 0 88px; }
.ab-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.ab-split-photos {
  position: relative;
  min-height: 460px;
}
.ab-split-photos img {
  position: absolute;
  object-fit: cover;
  border-radius: 4px;
}
.ab-split-photos img:first-child {
  width: 78%;
  height: 420px;
  top: 0;
  left: 0;
}
.ab-split-photos img:last-child {
  width: 48%;
  height: 240px;
  right: 0;
  bottom: 0;
  border: 5px solid var(--bg);
  box-shadow: 0 18px 40px rgba(6,12,26,0.2);
}
.ab-split-copy p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.ab-hidden-list { list-style: none; margin: 18px 0 0; padding: 0; }
.ab-hidden-list li {
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.ab-hidden-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

/* ── People / impact ── */
.ab-people { padding: 8px 0 96px; }
.ab-people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ab-panel {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 36px 32px;
  color: #F7F1E6;
}
.ab-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s var(--ab-ease);
}
.ab-panel:hover img { transform: scale(1.12); }
.ab-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,12,26,0.88) 0%, rgba(6,12,26,0.28) 70%);
}
.ab-panel-copy { position: relative; z-index: 1; }
.ab-panel h3 {
  font-family: var(--ff-d);
  font-size: 1.85rem;
  font-weight: 400;
  margin: 10px 0 12px;
}
.ab-panel p {
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0 0 10px;
  max-width: 38rem;
  opacity: 0.92;
}
.ab-panel p:last-child { margin-bottom: 0; }
.ab-panel .ab-kicker { color: var(--gold-lt, #DEB478); }

/* ── Close ── */
.ab-close {
  position: relative;
  min-height: 560px;
  margin: 0 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #F7F1E6;
}
.ab-close-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  animation: abKen 20s var(--ab-ease) forwards;
}
.ab-close-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,12,26,0.82), rgba(6,12,26,0.42));
}
[data-theme="sakura"] .ab-close { color: #1A0A10; }
[data-theme="sakura"] .ab-close-shade {
  background: linear-gradient(to top, rgba(253,246,248,0.92), rgba(253,246,248,0.5));
}
.ab-close-inner {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 2 * var(--ab-gutter)));
  padding: 96px 0;
}
.ab-close .ab-title { color: inherit; }
.ab-close .ab-orn { margin-left: auto; margin-right: auto; }
.ab-close p {
  font-size: 1.04rem;
  line-height: 1.85;
  margin: 0 0 14px;
  opacity: 0.88;
}
.ab-close-end {
  font-family: var(--ff-d);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-style: italic;
  margin: 28px 0 32px;
  opacity: 1;
}
.ab-close-end span { display: block; margin-top: 8px; color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .ab-hero-media .hh-video { display: none; }
  .ab-hero-bg, .ab-close-bg, .ab-hero-inner > *, .ab-scroll i {
    animation: none;
  }
  .ab-belief.reveal, .ab-photo img, .ab-feel-card img, .ab-panel img {
    transition: none;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .ab-hero {
    border-radius: 0 0 28px 28px;
    min-height: calc(100dvh - var(--top-h) - 8px);
    height: auto;
  }
  .ab-hero-inner { padding: 120px 0 64px; }
  .ab-essay-grid,
  .ab-you-grid,
  .ab-split-grid,
  .ab-people-grid,
  .ab-beliefs-grid { grid-template-columns: 1fr; }
  .ab-feel-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px 220px;
  }
  .ab-feel-card:first-child { grid-column: 1 / -1; grid-row: 1; min-height: 280px; }
  .ab-photo-main { width: 100%; height: 360px; }
  .ab-photo-float { left: auto; right: 16px; bottom: -12px; width: 44%; }
  .ab-essay-photos { min-height: 420px; }
  .ab-proof-grid { grid-template-columns: 1fr 1fr; }
  .ab-stat:nth-child(2) { border-right: none; }
  .ab-stat:nth-child(1),
  .ab-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .ab-quote { margin-left: 20px; margin-right: 20px; }
  .ab-collage { min-height: 380px; }
  .ab-split-photos { min-height: 380px; }
  .ab-split-photos img:first-child { height: 320px; }
}

@media (max-width: 640px) {
  .ab-wrap { width: calc(100% - 40px); margin-left: 20px; }
  .ab-hero-inner { width: calc(100% - 32px); margin-left: 16px; padding-bottom: 56px; }
  .ab-hero-lead { max-width: 100%; }
  .ab-hero-actions { flex-direction: column; align-items: stretch; }
  .ab-hero-actions .ab-btn { width: 100%; justify-content: center; }
  .ab-feel-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .ab-feel-card,
  .ab-feel-card:first-child { grid-column: auto; grid-row: auto; min-height: 240px; }
  .ab-proof-grid { grid-template-columns: 1fr; }
  .ab-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .ab-stat:last-child { border-bottom: none; }
  .ab-photo-float { width: 56%; height: 160px; }
  .ab-collage img:nth-child(2),
  .ab-collage img:nth-child(3) { display: none; }
  .ab-collage img:nth-child(1) { width: 100%; height: 280px; position: relative; }
  .ab-collage { min-height: 0; }
  .ab-hero h1 { max-width: none; }
}
