/* About Fantasi: an intimate editorial told in photographs.
   Uses the design-system tokens (system.css). Sections, in order:
   hero · why we exist · the founder's letter · values strip · behind the
   invitation · shared boundaries · the invitation */
.about-page .about-main { overflow: clip; color: var(--text-1); background: var(--c-noir); }
.about-page .about-main h1, .about-page .about-main h2, .about-page .about-main h3 { font-family: var(--type-serif); font-weight: 400; letter-spacing: -0.025em; }
.about-page .about-main h1 em, .about-page .about-main h2 em { font-family: var(--type-display); font-style: italic; font-weight: 300; background: var(--accent-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.about-page .about-main h2 { margin: var(--space-4) 0 var(--space-5); font-size: var(--fs-h2); line-height: 1.06; }
.about-page .about-main p { margin: 0 0 var(--space-4); font-family: var(--type-serif); font-size: var(--fs-lg); line-height: var(--lh-body); color: var(--text-2); }
.about-page .about-main p a { color: var(--c-gold-bright); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color var(--dur-2) ease; }
.about-page .about-main p a:hover { color: var(--text-1); }
.about-page .about-eyebrow { display: block; font-family: var(--type-serif); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold); }
.about-page .about-crumb { display: block; margin-bottom: var(--space-5); font-family: var(--type-serif); font-size: 13px; color: var(--text-2); }
.about-page .about-crumb a { color: var(--text-2); transition: color var(--dur-2) ease; }
.about-page .about-crumb a:hover { color: var(--c-gold-bright); }
.about-page .about-crumb span { margin: 0 10px; color: var(--c-gold-deep); }
.ab-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.ab-actions--center { justify-content: center; }

/* ---------- hero ---------- */
.ab-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-height: min(100svh, 960px); }
.ab-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(0.2) brightness(0.55); }
.ab-hero-img.is-loaded { animation: abSettle 10s var(--ease-out) both; }
.ab-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 70% at 0% 100%, rgba(107, 26, 48, 0.5), transparent 70%),
  linear-gradient(180deg, rgba(11, 10, 12, 0.75) 0%, rgba(11, 10, 12, 0.15) 32%, rgba(11, 10, 12, 0.55) 70%, var(--c-noir) 100%); }
.ab-hero > .container { width: 100%; }
.ab-hero-inner { align-self: end; padding-top: 170px; padding-bottom: var(--space-8); }
.about-page .about-main h1 { max-width: 12ch; margin: var(--space-4) 0 var(--space-5); font-size: var(--fs-h1); line-height: 1.02; }
.ab-lede { max-width: 40ch; color: rgba(242, 236, 223, 0.86) !important; font-size: clamp(19px, 1.6vw, 22px) !important; }
.ab-hero-foot { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: 0 auto; padding-top: var(--space-5); padding-bottom: var(--space-5); list-style: none; border-top: 1px solid var(--border-2); font-family: var(--type-serif); font-size: var(--fs-sm); color: var(--text-2); }
.ab-hero-foot li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; vertical-align: middle; background: var(--accent-fill); }
@keyframes abSettle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- 01: why we exist, beside an arched photograph ---------- */
.ab-why { padding: var(--section-y) 0; background: radial-gradient(ellipse 58% 44% at 70% 45%, var(--wash-gold), transparent 72%), radial-gradient(ellipse 40% 28% at 12% 80%, var(--wash-gold-soft), transparent 70%), linear-gradient(180deg, var(--noir) 0%, var(--tint-gold) 50%, var(--noir) 100%); }
.ab-why-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.ab-arch { position: relative; margin: 0; aspect-ratio: 0.8; overflow: hidden; border-radius: 48% 48% var(--radius-xs) var(--radius-xs) / 38% 38% var(--radius-xs) var(--radius-xs); box-shadow: var(--shadow-3), inset 0 0 0 1px var(--border-2); }
.ab-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) brightness(0.85); transition: transform 1.4s var(--ease-out), opacity var(--dur-4) var(--ease-out); }
.ab-arch:hover img { transform: scale(1.04); }
.ab-arch::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(228, 198, 135, 0.35); pointer-events: none; }
.ab-arch figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-7) var(--space-4) var(--space-5); text-align: center; font-family: var(--type-serif); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold-bright); background: linear-gradient(180deg, transparent, rgba(11, 10, 12, 0.85)); }

/* ---------- 02: the founder's letter, over a dim photograph ---------- */
.ab-founder { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0; }
.ab-founder-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) brightness(0.28); }
.ab-founder::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 20% 30%, rgba(107, 26, 48, 0.45), transparent 75%), linear-gradient(180deg, var(--c-noir) 0%, rgba(11, 10, 12, 0.3) 22%, rgba(11, 10, 12, 0.3) 78%, var(--c-noir) 100%); }
.ab-founder-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.about-page .about-letter { padding: var(--space-6) var(--space-6) var(--space-6) var(--space-7); border-radius: var(--radius-lg); background: rgba(16, 12, 14, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--border-1), var(--shadow-2); }
.about-page .about-letter p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.8; color: #e6dacb; }
.about-page .about-letter p:first-child::first-letter { float: left; margin: 10px 12px 0 0; font-family: var(--type-display); font-size: 72px; line-height: 0.7; color: var(--c-gold-bright); }
.about-page .about-letter cite { display: block; margin-top: var(--space-6); font-family: var(--type-display); font-size: 22px; font-style: italic; color: var(--c-gold-bright); }

/* ---------- 03: values, a strip of photographs ---------- */
.ab-values { padding: var(--section-y) 0; background: radial-gradient(ellipse 58% 44% at 50% 62%, var(--wash-forest), transparent 72%), radial-gradient(ellipse 40% 28% at 10% 20%, var(--wash-forest-soft), transparent 70%), linear-gradient(180deg, var(--noir) 0%, var(--tint-forest) 50%, var(--noir) 100%); }
.ab-values-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-7); }
.ab-values-head h2 { max-width: 16ch; margin-bottom: 0 !important; }
.ab-value { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; flex: 0 0 clamp(270px, 28vw, 380px); height: clamp(400px, 40vw, 530px); transition: flex-basis 0.7s var(--ease-out), box-shadow var(--dur-3) ease; padding: var(--space-6) var(--space-5); border-radius: var(--radius-xl); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--border-1); }
.ab-value img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) brightness(0.62); transition: transform 1.2s var(--ease-out), filter var(--dur-4) ease, opacity var(--dur-4) var(--ease-out); }
.ab-value::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(11, 10, 12, 0.92) 85%); }
.ab-value:hover img { transform: scale(1.05); filter: grayscale(0) brightness(0.7); }
.ab-value-n { position: absolute; top: var(--space-5); left: var(--space-5); font-family: var(--type-serif); font-style: italic; font-size: 20px; color: var(--c-gold-bright); }
.about-page .ab-value h3 { margin: 0 0 var(--space-2); font-size: clamp(30px, 2.6vw, 38px); color: var(--text-1); }
.about-page .ab-value p { margin: 0; font-size: var(--fs-md); line-height: 1.55; color: rgba(242, 236, 223, 0.82); transform: translateY(4px); transition: transform var(--dur-3) var(--ease-out); }
.ab-value:hover p { transform: none; }

/* ---------- our mission: the closing statement, over the unicorn ---------- */
.ab-mission { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0; background: radial-gradient(ellipse 58% 44% at 30% 40%, var(--wash-wine), transparent 72%), radial-gradient(ellipse 40% 28% at 85% 75%, var(--wash-wine-soft), transparent 70%), linear-gradient(180deg, var(--noir) 0%, var(--tint-wine) 50%, var(--noir) 100%); }
/* the unicorn, as a shadow behind the statement (the same treatment as the landing page's meeting section) */
.ab-mission::before { content: ""; position: absolute; z-index: -1; left: 26%; top: 38%; width: min(620px, 80vw); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: url("/LandingPage/videos/fantasi-emblem.webp?v=2") center / contain no-repeat;
  filter: grayscale(0.3) brightness(0.9) blur(1.5px); opacity: 0.075; }
.ab-mission-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: end; }
.about-page .ab-mission h2 { margin: var(--space-4) 0 0; font-size: clamp(46px, 5.6vw, 84px); line-height: 1.02; }
.about-page .about-main .ab-mission-lede { margin: 0; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.55; color: rgba(242, 236, 223, 0.92); }
.about-page .about-main .ab-mission-sub { margin: var(--space-5) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--border-1); font-size: var(--fs-md); color: var(--text-2); }
.ab-mission .ab-actions { margin-top: var(--space-6); }
/* three pillars under a gold rule that fades at both ends */
.ab-pillars { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin: var(--space-9) 0 0; padding: var(--space-7) 0 0; list-style: none; }
.ab-pillars::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--c-gold) 20%, var(--c-gold-bright) 50%, var(--c-gold) 80%, transparent); opacity: 0.55; }
.ab-pillars li { position: relative; }
.ab-pillars li::before { content: ""; position: absolute; top: calc(-1 * var(--space-7) - 4px); left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-fill); box-shadow: 0 0 14px rgba(228, 198, 135, 0.55); }
.ab-pillar-n { display: block; font-family: var(--type-serif); font-style: italic; font-size: 20px; color: var(--c-gold); }
.about-page .ab-pillars h3 { margin: var(--space-2) 0 var(--space-3); font-size: clamp(30px, 2.6vw, 40px); }
.about-page .about-main .ab-pillars p { margin: 0; max-width: 30ch; font-size: var(--fs-md); line-height: 1.6; color: var(--text-2); }
@media (max-width: 1000px) {
  .ab-mission-grid { grid-template-columns: 1fr; align-items: start; }
  .ab-pillars { grid-template-columns: 1fr; gap: var(--space-6); padding-top: var(--space-6); }
  .ab-pillars::before { background: linear-gradient(90deg, var(--c-gold-bright), transparent); }
  .ab-pillars li { padding-left: var(--space-6); }
  .ab-pillars li::before { top: 8px; }
  .ab-pillars li + li { padding-top: var(--space-6); border-top: 1px solid var(--border-1); }
  .ab-pillars li + li::before { top: calc(var(--space-6) + 8px); }
}
@media (max-width: 700px) {
  .ab-mission::before { left: 50%; top: 18%; }
}

/* ---------- 05: shared boundaries ---------- */
.ab-rules { padding: var(--section-y) 0; background: radial-gradient(ellipse 58% 44% at 40% 50%, var(--wash-gold), transparent 72%), radial-gradient(ellipse 40% 28% at 88% 78%, var(--wash-gold-soft), transparent 70%), linear-gradient(180deg, var(--noir) 0%, var(--tint-gold) 50%, var(--noir) 100%); }
.ab-rules-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-xl); background: radial-gradient(ellipse 55% 85% at 0% 0%, rgba(107, 26, 48, 0.3), transparent 70%), radial-gradient(ellipse 45% 65% at 100% 100%, rgba(199, 166, 92, 0.06), transparent 70%), linear-gradient(160deg, rgba(22, 18, 21, 0.92), rgba(14, 12, 15, 0.88)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-3), inset 0 1px 0 rgba(228, 198, 135, 0.18), inset 0 0 0 1px var(--border-2); }
.about-page .ab-rules p { font-size: var(--fs-md); overflow-wrap: anywhere; }
.about-page .ab-rules-links { color: var(--text-3) !important; font-size: var(--fs-sm) !important; }

.about-page .about-page 
/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .ab-founder-inner { grid-template-columns: 1fr; }
    .ab-rules-panel { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ab-hero-inner { padding-top: 130px; padding-bottom: var(--space-6); }
  .ab-hero-foot { flex-direction: column; gap: var(--space-2); font-size: 13.5px; }
  .ab-actions .btn { flex: 1 1 100%; justify-content: center; }
  .ab-why-grid { grid-template-columns: 1fr; }
  .ab-arch { width: min(300px, 80%); margin: 0 auto; }
  .about-page .about-letter { padding: var(--space-5); }
  .about-page .about-letter p:first-child::first-letter { font-size: 58px; }
  .ab-value { flex-basis: 78vw; height: 470px; }
  .ab-value.open { flex-basis: 88vw; }
  }
@media (prefers-reduced-motion: reduce) {
  .ab-hero-img.is-loaded { animation: none; }
}

/* a value card opens wider when clicked, and says more */
.ab-value-toggle { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ab-value-toggle::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ab-value-toggle:focus-visible { outline: none; }
.ab-value:has(.ab-value-toggle:focus-visible) { box-shadow: var(--shadow-2), inset 0 0 0 2px var(--c-gold-bright); }
.ab-value-plus { position: absolute; top: var(--space-5); right: var(--space-5); width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(242, 236, 223, 0.35); background: rgba(11, 10, 12, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform var(--dur-3) var(--ease-spring), background var(--dur-3) ease, box-shadow var(--dur-3) ease; }
.ab-value-plus::before, .ab-value-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; border-radius: 1px; background: var(--text-1); }
.ab-value-plus::after { transform: rotate(90deg); }
.ab-value:hover .ab-value-plus { box-shadow: inset 0 0 0 1px var(--c-gold-bright); }
.ab-value.open { flex-basis: clamp(320px, 50vw, 640px); box-shadow: var(--shadow-3), inset 0 0 0 1px var(--border-3); }
.ab-value.open .ab-value-plus { transform: rotate(45deg); background: var(--accent-fill); box-shadow: none; }
.ab-value.open .ab-value-plus::before, .ab-value.open .ab-value-plus::after { background: var(--c-noir); }
.ab-value.open img { transform: scale(1.04); filter: grayscale(0) brightness(0.5); }
.ab-value-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.6s var(--ease-out), opacity var(--dur-3) ease; }
.ab-value-more > div { overflow: hidden; min-height: 0; }
.ab-value.open .ab-value-more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0.15s; }
.about-page .ab-value-more p { margin: var(--space-4) 0 0; padding-top: var(--space-4); border-top: 1px solid rgba(228, 198, 135, 0.3); max-width: 46ch; color: var(--text-1); transform: none; }
.ab-value-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-4); font-family: var(--type-serif); font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-gold-bright); }
.ab-value-link::after { content: "\2192"; transition: transform var(--dur-2) ease; }
.ab-value-link:hover::after { transform: translateX(4px); }

/* ---------- the values carousel: the active card centred, its neighbours dimmed at the sides ---------- */
.ab-carousel { position: relative; overflow: hidden; padding: var(--space-4) 0 var(--space-5); touch-action: pan-y; outline: none; }
.ab-carousel:focus-visible .ab-value.is-active { box-shadow: var(--shadow-3), inset 0 0 0 2px var(--c-gold-bright); }
/* every card is placed by About.js (--x: its distance from the centre), so the
   previous card always waits on the left and the next on the right */
.ab-strip { --gap: 24px; position: relative; height: clamp(430px, 42vw, 560px); margin: 0; padding: 0; list-style: none; }
.ab-carousel .ab-value { position: absolute; left: 50%; top: 0; width: clamp(290px, 32vw, 440px); height: 100%; opacity: 0.42; cursor: pointer;
  transform: translateX(calc(-50% + var(--x, 0px) + var(--drag, 0px))) scale(0.86);
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out), opacity var(--dur-4) ease, box-shadow var(--dur-3) ease; }
.ab-strip.dragging .ab-value { transition: width 0.5s var(--ease-out), opacity var(--dur-4) ease; }
.ab-carousel .ab-value.is-active { transform: translateX(calc(-50% + var(--drag, 0px))); opacity: 1; cursor: default; }
.ab-carousel .ab-value.far { opacity: 0; pointer-events: none; }
.ab-carousel .ab-value.is-active .ab-value-toggle::after { cursor: pointer; }
.ab-carousel .ab-value:not(.is-active):hover { opacity: 0.6; }
.ab-carousel .ab-value:not(.is-active) .ab-value-plus { opacity: 0; }
.ab-carousel .ab-value.open { width: clamp(320px, 54vw, 700px); }
.ab-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-5); }
.ab-dots { display: flex; align-items: center; gap: var(--space-2); }
.ab-dot { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; transition: width var(--dur-4) var(--ease-out); }
.ab-dot i { position: relative; overflow: hidden; display: block; width: 8px; height: 8px; border-radius: var(--radius-pill); background: rgba(242, 236, 223, 0.25); transition: width var(--dur-4) var(--ease-out), background var(--dur-3) ease; }
.ab-dot:hover i { background: rgba(242, 236, 223, 0.5); }
.ab-dot[aria-current="true"] { width: 56px; }
.ab-dot[aria-current="true"] i { width: 44px; background: rgba(228, 198, 135, 0.25); }
.ab-dot[aria-current="true"] i::after { content: ""; position: absolute; inset: 0; background: var(--accent-fill); transform-origin: left; }
.ab-carousel-wrap.playing .ab-dot[aria-current="true"] i::after, .ab-values.playing .ab-dot[aria-current="true"] i::after { animation: abFill var(--ab-ms, 6000ms) linear both; }
.ab-values.held .ab-dot[aria-current="true"] i::after { animation-play-state: paused; }
@keyframes abFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .ab-strip { --gap: 12px; height: 480px; }
  .ab-carousel .ab-value { width: 76vw; transform: translateX(calc(-50% + var(--x, 0px) + var(--drag, 0px))) scale(0.9); }
  .ab-carousel .ab-value.open { width: 86vw; }
  .ab-controls { gap: var(--space-2); }
  .ab-dot { width: 22px; }
  .ab-dot[aria-current="true"] { width: 44px; }
  .ab-dot[aria-current="true"] i { width: 34px; }
}
