/* ═══════════════════════════════════════════════════════════════════
   about.css — interactive-motion support styles
     (entrance, layout, etc. live in style.css; this file only adds
      the bits that the JS interactions in about.js need)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 3D tilt cards: enable depth + smooth ease-out on leave ──── */
.ab-philo-pillar,
.ab-tl-card,
.ab-val-card,
.ab-team-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.ab-philo-pillar.is-tilting,
.ab-tl-card.is-tilting,
.ab-val-card.is-tilting,
.ab-team-card.is-tilting {
  transition: none !important;
}

/* Inner depth lift for tilted cards */
.ab-tl-card .ab-tl-card-img,
.ab-tl-card .ab-tl-card-body,
.ab-val-card .ab-val-ico,
.ab-val-card .ab-val-title,
.ab-val-card .ab-val-no,
.ab-philo-pillar .ab-pillar-ico,
.ab-team-card .ab-team-img {
  transform: translateZ(0);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.ab-tl-card.is-tilting .ab-tl-card-img       { transform: translateZ(28px); }
.ab-tl-card.is-tilting .ab-tl-card-body      { transform: translateZ(18px); }
.ab-val-card.is-tilting .ab-val-ico          { transform: translateZ(34px); }
.ab-val-card.is-tilting .ab-val-title        { transform: translateZ(20px); }
.ab-val-card.is-tilting .ab-val-no           { transform: translateZ(14px); }
.ab-philo-pillar.is-tilting .ab-pillar-ico   { transform: translateZ(24px) rotate(-4deg); }
.ab-team-card.is-tilting .ab-team-img        { transform: translateZ(20px); }

/* ─── Cursor-driven glow on tilted cards ──────────────────────── */
.ab-tl-card,
.ab-val-card,
.ab-team-card,
.ab-philo-pillar {
  position: relative;
}
.ab-tl-card::before,
.ab-val-card::before,
.ab-team-card::before,
.ab-philo-pillar::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(93,201,146,.18),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 1;
}
.ab-tl-card.is-tilting::before,
.ab-val-card.is-tilting::before,
.ab-team-card.is-tilting::before,
.ab-philo-pillar.is-tilting::after {
  opacity: 1;
}
/* Keep card content above the glow */
.ab-tl-card > *, .ab-val-card > *, .ab-team-card > *, .ab-philo-pillar > * {
  position: relative;
  z-index: 2;
}

/* ─── Magnetic buttons ────────────────────────────────────────── */
.ab-magnetic {
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.ab-magnetic.is-pulling {
  transition: transform .08s linear;
}

/* ─── Hero title cursor-tilt ──────────────────────────────────── */
.ab-hero-title {
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.ab-hero-title.is-tilting { transition: transform .12s linear; }

/* ─── Hero aura cursor-follow override ────────────────────────── */
.ab-hero-aura.is-tracking {
  transition: transform .9s cubic-bezier(.22,.7,.2,1);
  will-change: transform;
}

/* ─── Quote word reveal ──────────────────────────────────────── */
.ab-quote-text .abq-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .9s cubic-bezier(.2,.7,.2,1),
    transform .9s cubic-bezier(.2,.7,.2,1);
}
.ab-quote-text.is-in .abq-word { opacity: 1; transform: none; }
.ab-quote-text .abq-word + .abq-word { margin-left: .25em; }

.ab-quote-bg img.is-parallax {
  will-change: transform;
}

/* ─── Atelier stamp soft idle drift ──────────────────────────── */
@keyframes abStampDrift {
  0%   { transform: rotate(-6deg) translateY(0); }
  50%  { transform: rotate(-4deg) translateY(-6px); }
  100% { transform: rotate(-6deg) translateY(0); }
}
.ab-atelier-stamp { animation: abStampDrift 7s ease-in-out infinite; }

/* ─── Fact counters: subtle "pop" on completion ──────────────── */
.ab-fact-num {
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.ab-fact-num.is-counted { animation: abFactPop .55s cubic-bezier(.22,.7,.2,1); }
@keyframes abFactPop {
  0%   { transform: scale(1); }
  55%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ─── Timeline marker — entrance pop when row activates ─────── */
.ab-tl-row .ab-tl-dot {
  transition: transform .55s cubic-bezier(.22,1.4,.36,1), background-color .4s ease;
}
.ab-tl-row.is-active .ab-tl-dot { transform: scale(1.25); }

/* ─── Reduced motion: cancel mouse-driven motion ────────────── */
@media (prefers-reduced-motion: reduce) {
  .ab-philo-pillar,
  .ab-tl-card,
  .ab-val-card,
  .ab-team-card,
  .ab-hero-title,
  .ab-magnetic,
  .ab-atelier-stamp {
    transform: none !important;
    animation: none !important;
  }
  .ab-quote-text .abq-word { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   FOUNDER SECTION — moved here from the home page.
   The warm --de-* tokens live in home.css (home-only); the
   About page doesn't load it, so the palette is re-declared
   here, scoped to .page-about, alongside the .hp-founder rules.
═══════════════════════════════════════════════════════════ */
.page-about {
  --de-cream:        #F5EFE5;
  --de-cream-soft:   #FBF7F0;
  --de-bone:         #E8DECB;
  --de-bone-mid:     #D9CCB1;
  --de-clay:         #8B6F47;
  --de-clay-d:       #5C4A33;
  --de-ink:          #1A1815;
  --de-ink-soft:     #6B5D4F;
}

.hp-founder {
  position: relative;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139,111,71,.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--de-cream-soft) 0%, var(--de-cream) 100%);
  border-top: 1px solid var(--de-bone);
}
.hp-founder-in {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 60px;
  align-items: start;
}

/* ── Portrait ── */
.hp-founder-media { position: sticky; top: 110px; }
.hp-founder-portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,.20) 0%, transparent 55%),
    linear-gradient(158deg, var(--de-clay-d) 0%, var(--de-clay) 52%, #C2A678 100%);
  border: 1px solid var(--de-bone);
  box-shadow: 0 30px 70px -32px rgba(60,40,20,.55);
}
.hp-founder-portrait::before {
  content: ''; position: absolute; inset: 14px; z-index: 3;
  border: 1px solid rgba(255,255,255,.22); border-radius: 14px; pointer-events: none;
}
.hp-founder-portrait img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.hp-founder-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 500;
  font-size: clamp(140px, 17vw, 220px);
  line-height: 1;
  color: rgba(255,255,255,.20);
  user-select: none;
  transform: translateY(-12px);
}
.hp-founder-spark {
  position: absolute; top: 18px; right: 18px; z-index: 4;
  display: grid; place-items: center;
  color: rgba(255,255,255,.72);
}
.hp-founder-spark svg { width: 22px; height: 22px; }
.hp-founder-cap {
  position: absolute; inset: auto 0 0 0; z-index: 4;
  padding: 28px 24px 20px;
  display: flex; flex-direction: column; gap: 3px;
  background: linear-gradient(to top, rgba(40,28,18,.82) 0%, rgba(40,28,18,.32) 55%, transparent 100%);
}
.hp-founder-cap-name {
  font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 500;
  color: #FFFFFF; line-height: 1.12;
}
.hp-founder-cap-role {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72);
}
.hp-founder-tag {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: 18px; padding-left: 2px;
}
.hp-founder-tag-k {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--de-clay);
}
.hp-founder-tag-v {
  font-family: 'Jost', sans-serif; font-size: 12px; color: var(--de-ink-soft);
}

/* ── Content ── */
.hp-founder-eyebrow { color: var(--de-clay); }
.hp-founder-name { color: var(--de-ink); margin-bottom: 14px; }
.hp-founder-rule {
  display: block; width: 54px; height: 2px; margin: 0 0 16px;
  background: var(--de-clay); border-radius: 2px;
}
.hp-founder-role {
  font-family: 'Jost', sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--de-clay);
  margin: 0 0 16px;
}
.hp-founder-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px;
}
.hp-founder-chip {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--de-clay-d);
  padding: 7px 14px; border-radius: 100px;
  background: var(--de-cream); border: 1px solid var(--de-bone-mid);
}
.hp-founder-lead {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(18px, 2vw, 23px); line-height: 1.5;
  color: var(--de-ink); margin: 0 0 26px; max-width: 580px;
}
.hp-founder-meta {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--de-bone);
  border-bottom: 1px solid var(--de-bone);
  margin: 0 0 28px;
}
.hp-founder-meta-i {
  padding: 15px 26px 15px 0; margin-right: 26px;
  border-right: 1px solid var(--de-bone);
}
.hp-founder-meta-i:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hp-founder-meta dt {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--de-clay); margin-bottom: 5px;
}
.hp-founder-meta dd {
  margin: 0; font-family: 'Jost', sans-serif; font-size: 14px;
  color: var(--de-ink); font-weight: 500;
}

.hp-founder-story h3 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 22px; color: var(--de-ink); margin: 0 0 8px;
}
.hp-founder-story h3:not(:first-child) { margin-top: 26px; }
.hp-founder-story p {
  font-family: 'Jost', sans-serif; font-size: 14.5px; line-height: 1.8;
  color: var(--de-ink-soft); margin: 0 0 12px; max-width: 620px;
}
.hp-founder-story strong { color: var(--de-ink); font-weight: 600; }
.hp-founder-list {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: grid; gap: 10px; max-width: 620px;
}
.hp-founder-list li {
  position: relative; padding-left: 22px;
  font-family: 'Jost', sans-serif; font-size: 14px; line-height: 1.7; color: var(--de-ink-soft);
}
.hp-founder-list li::before {
  content: ''; position: absolute; left: 2px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--de-clay);
}
.hp-founder-quote {
  position: relative;
  margin: 32px 0 0; padding: 34px 28px 24px 30px;
  border-left: 3px solid var(--de-clay);
  background: var(--de-cream);
  border-radius: 0 14px 14px 0;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(19px, 2.1vw, 25px); line-height: 1.5; color: var(--de-ink);
}
.hp-founder-quote-mark {
  position: absolute; top: 6px; left: 20px;
  font-family: 'Cormorant Garamond', serif; font-size: 62px; line-height: 1;
  color: var(--de-clay); opacity: .32; pointer-events: none;
}
.hp-founder-sign {
  margin: 16px 0 0;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 16px; color: var(--de-clay-d); letter-spacing: .01em;
}

@media (max-width: 900px) {
  .hp-founder-in { grid-template-columns: 1fr; gap: 36px; }
  .hp-founder-media { position: static; max-width: 440px; }
}
@media (max-width: 600px) {
  .hp-founder-meta-i { padding: 12px 16px 12px 0; margin-right: 16px; }
  .hp-founder-chips { gap: 6px; }
  .hp-founder-chip { font-size: 10px; padding: 6px 11px; }
  .hp-founder-quote { padding: 30px 20px 20px 22px; }
}
