/* About — hero mark, sticky sub-navigation, CEO letter, monumental statements, goals, flip-card values, leadership cards, closing CTA.
   Every rule is scoped with the ab- prefix so the shared components stay untouched. */

/* anchors clear the fixed header + the sticky sub-navigation (html already pads by --hdr) */
.ab-anchor { scroll-margin-top: 64px; }
.ab-anchor:focus { outline: none; }

/* ---------- 1. Hero ---------- */
.ab-hero { min-height: min(94vh, 920px); }
.ab-hero__frame { background: var(--ink-2); }
.ab-hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 62% at 76% 42%, rgba(230, 173, 46, .13), transparent 64%),
    radial-gradient(60% 50% at 10% 110%, rgba(230, 173, 46, .07), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
}
/* hairline horizon across the frame, like an instrument's index line */
.ab-hero__glow::after { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 173, 46, .18) 30%, rgba(230, 173, 46, .18) 70%, transparent); }
/* the logo blends with the frame below it, so this layer must not form its own stacking context */
.ab-hero .phero__content { z-index: auto; }

.ab-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.ab-hero .ab-hero__title { font-size: clamp(3.4rem, 8.6vw, 9.4rem); line-height: .9; max-width: none; }
.ab-hero__title em { display: block; }

.ab-hero__mark {
  position: relative; justify-self: end; align-self: center; width: min(100%, 470px); aspect-ratio: 1;
  perspective: 900px; mix-blend-mode: lighten; /* the mark is drawn on black: lighten lets the frame show through */
}
.ab-hero__float { position: absolute; inset: 0; transform-style: preserve-3d; }
.ab-hero__logo { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; animation: ab-float 9s var(--ease-io) infinite alternate; }
@keyframes ab-float { from { transform: translate3d(0, -6px, 0); } to { transform: translate3d(0, 6px, 0); } }
.ab-hero__dial, .ab-hero__rings { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; fill: none; }
.ab-hero__dial { animation: ab-spin 160s linear infinite; }
.ab-hero__ticks { stroke: rgba(230, 173, 46, .34); stroke-width: 10; stroke-dasharray: .45 5.55; }
.ab-hero__ticks--major { stroke: rgba(230, 173, 46, .7); stroke-width: 18; stroke-dasharray: .7 29.3; }
.ab-hero__rings { stroke: rgba(230, 173, 46, .28); stroke-width: 1; }
@keyframes ab-spin { to { transform: rotate(360deg); } }

/* ---------- 2. Sticky sub-navigation ---------- */
.ab-subnav {
  /* zero height, pulled up half a bar so it straddles the seam; the bottom margin gives the 27px back
     (it collapses with the next section's --inset margin) so the paper frame below keeps its place */
  position: sticky; top: calc(var(--hdr) + 6px); z-index: 120; height: 0; margin: -27px 0 calc(27px + var(--inset));
  display: flex; justify-content: center; align-items: flex-start; padding-inline: var(--inset); pointer-events: none;
  transition: top .6s var(--ease-out), opacity .5s var(--ease-out), visibility 0s;
}
.ab-subnav.is-raised { top: 12px; }
.ab-subnav.is-away { opacity: 0; visibility: hidden; transition: top .6s var(--ease-out), opacity .5s var(--ease-out), visibility 0s .5s; }
.ab-subnav__bar {
  position: relative; pointer-events: auto; display: flex; max-width: 100%; height: max-content; padding: 5px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  border-radius: 999px; border: 1px solid var(--rule);
  background: rgba(14, 14, 16, .78); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .38);
}
.ab-subnav__bar::-webkit-scrollbar { display: none; }
.ab-subnav__list { display: flex; gap: 2px; }
.ab-subnav__list a {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 17px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--mute-2); white-space: nowrap; transition: color .45s var(--ease-out);
}
.ab-subnav__list a .mono { font-size: 10px; letter-spacing: .1em; color: var(--mute); transition: color .45s var(--ease-out); }
.ab-subnav__list a:hover { color: var(--bone); }
.ab-subnav__list a:focus-visible { outline-offset: -2px; border-radius: 999px; }
.ab-subnav__list a[aria-current] { color: var(--ink); }
.ab-subnav__list a[aria-current] .mono { color: var(--red); }
.ab-subnav__list a[aria-current]:focus-visible { outline-color: var(--ink); } /* gold on the bone bead is too faint */
.ab-subnav__bead {
  position: absolute; left: 0; top: 0; z-index: 0; width: var(--w, 0); height: var(--h, 42px); border-radius: 999px;
  background: var(--bone); opacity: 0; transform: translate(var(--x, 0), var(--y, 5px));
  transition: transform .75s var(--ease-out), width .75s var(--ease-out), opacity .4s;
}
.ab-subnav.has-active .ab-subnav__bead { opacity: 1; }

/* ---------- 3. CEO's message ---------- */
.ab-ceo { margin: var(--inset); border-radius: var(--radius); }
.ab-ceo__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px clamp(40px, 6vw, 110px); }
.ab-ceo__aside { position: sticky; top: calc(var(--hdr) + 110px); align-self: start; }
.ab-ceo__aside .h2 { max-width: 9ch; }
.ab-ceo__intro { margin: 32px 0 0; max-width: 30ch; font-size: 16px; }
.ab-letter { position: relative; margin: 0; padding-top: clamp(40px, 6vw, 80px); }
.ab-letter__mark {
  position: absolute; left: -.06em; top: -.3em; font-size: clamp(9rem, 17vw, 16rem); line-height: 1;
  color: rgba(168, 112, 10, .2); pointer-events: none; user-select: none;
}
.ab-letter__body { position: relative; margin: 0; }
.ab-letter__open { font-size: clamp(2.1rem, 4.3vw, 4.1rem); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 .85em; max-width: 19ch; }
.ab-letter__rest { max-width: 46ch; }
.ab-letter__rest p { font-family: var(--serif); font-size: clamp(1.3rem, 1.85vw, 1.7rem); line-height: 1.4; color: #3a342b; margin-bottom: .95em; }
.ab-letter__rest p:first-child::first-letter { float: left; font-size: 3.2em; line-height: .82; margin: .06em .1em 0 0; color: #a8700a; }
.ab-letter__sig { display: grid; justify-items: start; gap: 8px; max-width: 46ch; margin-top: clamp(40px, 5vw, 64px); }
.ab-letter__line { display: block; width: 100%; height: 1px; margin-bottom: 18px; background: rgba(22, 19, 15, .28); transform-origin: 0 50%; }
html.js .ab-letter__sig .ab-letter__line { transform: scaleX(0); transition: transform 1.8s var(--ease-io) .2s; }
html.js .ab-letter__sig.in .ab-letter__line { transform: none; }
.ab-letter__name { font-size: clamp(2.1rem, 3.6vw, 3.2rem); line-height: 1; font-style: italic; letter-spacing: -.01em; color: var(--paper-ink); }
.ab-letter__role { color: #6b6250; } /* 4.5:1+ on paper */

/* ---------- 4. Vision & Mission ---------- */
.ab-vm.section { padding-bottom: 0; } /* the last statement's own padding closes the section before the goals rule */
.ab-vm__head { margin-bottom: clamp(32px, 5vw, 64px); }
.ab-statement {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(120px, 2fr) minmax(0, 10fr); gap: 20px clamp(24px, 4vw, 64px);
  padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid var(--rule);
}
.ab-statement__label { display: flex; flex-direction: column; gap: 14px; }
.ab-statement__n { font-size: clamp(3rem, 5vw, 4.6rem); line-height: .9; color: var(--gold); letter-spacing: -.02em; }
.ab-statement__h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); }
.ab-statement__text { margin: 0; max-width: 19ch; font-size: clamp(2.1rem, 5.1vw, 5.4rem); line-height: 1.02; letter-spacing: -.018em; }
.ab-statement__text.ink-fill[data-fill] em .w.on { color: var(--red); }
.ab-statement__ghost {
  position: absolute; right: -.03em; bottom: -.16em; z-index: -1; white-space: nowrap; pointer-events: none;
  font-size: clamp(5rem, 15vw, 15rem); color: transparent; -webkit-text-stroke: 1px rgba(242, 238, 230, .075);
}

/* ---------- 5. Goals ---------- */
.ab-goals { border-top: 1px solid var(--rule); }
.ab-goals__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 110px); }
.ab-goals__aside { position: sticky; top: calc(var(--hdr) + 110px); align-self: start; }
.ab-goals__aside .h2 { max-width: 9ch; }
.ab-goals__count { display: flex; align-items: baseline; margin: clamp(32px, 5vw, 64px) 0 0; font-size: clamp(5rem, 11vw, 10rem); line-height: .85; letter-spacing: -.03em; }
.ab-goals__now { display: inline-block; color: var(--red); }
.ab-goals__now.bump { animation: ab-bump .8s var(--ease-out); }
@keyframes ab-bump { from { opacity: 0; transform: translateY(.25em); } to { opacity: 1; transform: none; } }
.ab-goals__count small { margin-left: .15em; font-size: .3em; color: var(--mute); letter-spacing: 0; }
html:not(.js) .ab-goals__count { display: none; }

.ab-goals__list { position: relative; border-top: 1px solid var(--rule); }
.ab-goals__list::before, .ab-goals__list::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; }
.ab-goals__list::before { background: var(--rule); }
.ab-goals__list::after { background: var(--gold); transform-origin: top; transform: scaleY(1); }
.ab-goals__list.is-live::after { transform: scaleY(var(--p, 0)); }
.ab-goal {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline;
  padding: clamp(22px, 2.6vw, 34px) 0 clamp(22px, 2.6vw, 34px) clamp(20px, 2.6vw, 40px); border-bottom: 1px solid var(--rule);
}
.ab-goal__n { color: var(--gold); transition: color .8s var(--ease-out); }
.ab-goal__t { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.25rem); line-height: 1.16; letter-spacing: -.01em; color: var(--bone); transition: color .9s var(--ease-out), transform .9s var(--ease-out); }
.ab-goals__list.is-live .ab-goal:not(.is-lit) .ab-goal__t { color: rgba(242, 238, 230, .2); transform: translateX(10px); }
.ab-goals__list.is-live .ab-goal:not(.is-lit) .ab-goal__n { color: var(--mute); }

/* ---------- 6. Core values ---------- */
.ab-values__frame { background: linear-gradient(180deg, var(--ink-2), var(--ink) 85%); }
.ab-values__hint { margin: 18px 0 0; color: var(--gold); }
.ab-values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.ab-val { position: relative; perspective: 1400px; }

/* default (no JS, or reduced motion): one card, name and meaning stacked */
.ab-val__inner {
  position: relative; display: grid; height: 100%;
  border-radius: calc(var(--radius) * .7); border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(242, 238, 230, .05), rgba(242, 238, 230, .012));
}
.ab-val__face { display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 34px); }
.ab-val__n { font-family: var(--serif); font-size: clamp(3.4rem, 5vw, 4.8rem); line-height: .9; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(230, 173, 46, .75); }
.ab-val__name { margin-top: auto; padding-top: 40px; font-family: var(--serif); font-size: clamp(1.7rem, 2.3vw, 2.3rem); line-height: 1.04; }
.ab-val__turn { display: none; }
.ab-val__tag { display: none; }
.ab-val__back { padding-top: 0; }
.ab-val__back p { margin: 0; color: var(--mute-2); font-size: 16px; }
.ab-val__btn { display: none; }

/* enhanced: about.js adds .is-flippable when motion is allowed */
.is-flippable .ab-val__inner { border: 0; background: none; transform-style: preserve-3d; transition: transform 1.1s var(--ease-io); }
.is-flippable .ab-val__face {
  grid-area: 1 / 1; min-height: clamp(270px, 24vw, 340px); padding: clamp(24px, 2.4vw, 34px);
  border-radius: calc(var(--radius) * .7); border: 1px solid var(--rule);
  -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: border-color .5s var(--ease-out);
}
.is-flippable .ab-val__front { background: linear-gradient(180deg, rgba(242, 238, 230, .055), rgba(242, 238, 230, .012)), var(--ink-2); }
.is-flippable .ab-val__turn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--mute); transition: color .4s; }
.is-flippable .ab-val__turn .ic { width: 14px; height: 14px; }
.is-flippable .ab-val:hover .ab-val__front { border-color: rgba(230, 173, 46, .35); }
.is-flippable .ab-val:hover .ab-val__turn { color: var(--gold); }
.is-flippable .ab-val__back {
  justify-content: space-between; transform: rotateY(180deg); border-color: rgba(230, 173, 46, .38);
  background: radial-gradient(120% 90% at 100% 0%, rgba(230, 173, 46, .22), transparent 56%), linear-gradient(180deg, #1c150a, var(--ink-2));
}
.is-flippable .ab-val__tag { display: block; color: var(--gold); }
.is-flippable .ab-val__back p { font-family: var(--serif); font-size: clamp(1.35rem, 1.75vw, 1.7rem); line-height: 1.24; color: var(--bone); }
.is-flippable .ab-val.is-flipped .ab-val__inner { transform: rotateY(180deg); }
.is-flippable .ab-val__btn {
  display: block; position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0;
  border-radius: calc(var(--radius) * .7); background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.is-flippable .ab-val__btn:focus-visible { outline-offset: 3px; border-radius: calc(var(--radius) * .7); }

/* the eighth tile: the promise */
.ab-val--power { perspective: none; }
.ab-val__power {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; height: 100%; min-height: clamp(270px, 24vw, 340px);
  padding: clamp(24px, 2.4vw, 34px); border-radius: calc(var(--radius) * .7); border: 1px solid rgba(230, 173, 46, .3);
  background: radial-gradient(120% 100% at 0% 100%, rgba(230, 173, 46, .2), transparent 60%), var(--ink);
}
.ab-val__star { width: 28px; height: 28px; fill: var(--red); }
.ab-val__power-t { margin: 0 0 14px; font-size: clamp(2rem, 2.9vw, 2.8rem); }
.ab-val__power-t span { color: var(--gold); }
.ab-val__power-d { margin: 0; color: var(--mute-2); font-size: 16px; }

/* ---------- 7. Leadership ---------- */
.ab-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.ab-person {
  position: relative; isolation: isolate; overflow: hidden; height: 100%;
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 32px clamp(20px, 2.6vw, 36px); align-items: center;
  min-height: clamp(280px, 26vw, 360px); padding: clamp(26px, 3.2vw, 46px);
  border-radius: calc(var(--radius) * .8); border: 1px solid var(--rule);
  background: radial-gradient(90% 120% at 100% 0%, rgba(230, 173, 46, .1), transparent 55%), linear-gradient(160deg, var(--ink-3), var(--ink-2) 70%);
  transition: transform .6s var(--ease-out), border-color .5s var(--ease-out);
}
.ab-person::before { content: ""; position: absolute; inset: 10px; z-index: -1; border-radius: calc(var(--radius) * .8 - 10px); border: 1px solid rgba(230, 173, 46, .12); pointer-events: none; }
.ab-person:hover { border-color: rgba(230, 173, 46, .35); }
.ab-person__mono { position: relative; display: grid; place-items: center; width: clamp(96px, 10vw, 136px); aspect-ratio: 1; }
.ab-person__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(230, 173, 46, .45); stroke-width: 1; }
.ab-person__dash { stroke: var(--gold); stroke-dasharray: 1 8; animation: ab-spin 90s linear infinite; transform-origin: 50% 50%; }
.ab-person__mono span { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 3.4vw, 3.3rem); line-height: 1; letter-spacing: -.02em; color: var(--gold); }
.ab-person__role { margin: 0 0 12px; color: var(--gold); }
.ab-person__name { font-family: var(--serif); font-size: clamp(2rem, 3.3vw, 3.2rem); line-height: 1; letter-spacing: -.015em; }
.ab-person__foot { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--mute); }
.ab-person__glare {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(440px circle at var(--gx, 50%) var(--gy, 0%), rgba(246, 207, 110, .14), transparent 60%);
}
.ab-person:hover .ab-person__glare { opacity: 1; }

/* ---------- 8. Closing CTA ---------- */
.ab-cta__frame { background: var(--ink); }
.ab-cta__bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 50% 115%, rgba(230, 173, 46, .24), transparent 62%), radial-gradient(40% 40% at 50% 0%, rgba(230, 173, 46, .06), transparent 70%);
}
.ab-cta__giant {
  position: absolute; left: 0; right: 0; bottom: -.1em; z-index: -1; text-align: center; white-space: nowrap; pointer-events: none;
  font-size: clamp(7rem, 24vw, 24rem);
  background: linear-gradient(180deg, rgba(230, 173, 46, .2), rgba(230, 173, 46, 0) 78%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ab-cta__lead { margin: 0 auto 40px; }
.ab-cta__lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: clamp(40px, 5vw, 60px); color: var(--mute-2); }
.ab-cta__lines a { transition: color .3s; }
.ab-cta__lines a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ab-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ab-hero__grid { grid-template-columns: 1fr; }
  /* breadcrumb and title stay first; the mark answers them from the right */
  .ab-hero__mark { justify-self: end; width: min(60vw, 300px); margin: -4px 4% 0 0; }
  .ab-ceo__grid, .ab-goals__grid { grid-template-columns: 1fr; }
  .ab-ceo__aside, .ab-goals__aside { position: static; }
  .ab-goals__count { display: none; }
  .ab-statement { grid-template-columns: 1fr; }
  .ab-statement__label { flex-direction: row; align-items: baseline; gap: 18px; }
  .ab-people { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ab-hero { min-height: 0; }
  .ab-subnav { margin: -25px 0 calc(25px + var(--inset)); }
  .ab-subnav__list a { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .ab-subnav__list a .mono { display: none; }
  .ab-subnav__bead { height: var(--h, 38px); }
  .ab-letter__open { max-width: none; }
  .ab-goal { grid-template-columns: 36px 1fr; gap: 10px; padding-left: 18px; }
  .ab-values__grid { grid-template-columns: 1fr; }
  .is-flippable .ab-val__face, .ab-val__power { min-height: 230px; }
  .ab-person { grid-template-columns: 1fr; gap: 24px; }
  .ab-person__mono { width: 92px; }
  .ab-cta__lines { flex-direction: column; align-items: center; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-hero__logo, .ab-hero__dial, .ab-person__dash { animation: none; }
}
