/* ==========================================================================
   About page — hero, chapters, brand wall, journey, promises, note
   ========================================================================== */

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(42,125,110,.15); animation: pulseDot 2s var(--ease) infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 8px rgba(42,125,110,0); } }

/* ---------- Hero ---------- */
.about-hero { position: relative; padding: 60px 0 30px; overflow: hidden; }
.about-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-hero__title { font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -.035em; margin: 18px 0 18px; }
.about-hero__title em { font-style: normal; background: linear-gradient(90deg, var(--primary), #5ec4b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-hero__lede { color: var(--muted); font-size: 18px; max-width: 52ch; }
.about-hero__ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.about-hero__media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 5/6; box-shadow: 0 40px 80px -40px rgba(40,20,80,.5); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.about-hero__media:hover { transform: rotate(0deg) scale(1.01); }
/* the source video carries a heavy purple grade — mute it so footage reads natural */
.about-hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.38) hue-rotate(-8deg) brightness(1.06) contrast(1.04); }
.about-hero__badge { position: absolute; left: -18px; bottom: 24px; background: #fff; border-radius: 18px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px -20px rgba(30,12,60,.4); }
.about-hero__badge b { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1; }
.about-hero__badge span { font-size: 12px; color: var(--muted); line-height: 1.25; }

/* fact strip */
.fact-strip { list-style: none; margin: 60px 0 20px; padding: 26px 32px; border-radius: 22px; background: linear-gradient(135deg, var(--dark) 0%, #1a3d36 60%, #2a7d6e 100%); box-shadow: 0 26px 55px -30px rgba(26,42,46,.6); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fact-strip li { display: flex; flex-direction: column; gap: 4px; min-width: 90px; }
.fact-strip b { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.02em; }
.fact-strip b em { font-style: normal; font-size: .38em; color: #cdb6f5; margin-left: 3px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.fact-strip span { font-size: 13px; color: rgba(255,255,255,.65); }

/* ---------- Chapter (aside + prose) ---------- */
.chapter { padding: 84px 0 40px; }
.chapter__inner { display: grid; grid-template-columns: .8fr 1.5fr; gap: 60px; align-items: start; }
.chapter__num { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.chapter__title { font-size: clamp(30px, 3.4vw, 46px); margin-top: 10px; max-width: 12ch; }
.chapter__body { font-size: 18px; line-height: 1.65; color: var(--ink); }
.chapter__body p { margin-bottom: 18px; }
.chapter__body .chapter__kicker { color: var(--primary-dark); font-family: var(--font-head); font-weight: 600; font-size: 20px; }

/* ---------- Creative 1 — brand wall (marquee) ---------- */
.wall { padding: 60px 0 80px; background: linear-gradient(180deg, transparent 0%, #f9f6ff 40%, #f9f6ff 60%, transparent 100%); overflow: hidden; }
.wall__head { text-align: center; margin-bottom: 40px; padding: 0 22px; }
.wall__head h2 { font-size: clamp(28px, 3.6vw, 46px); margin-top: 10px; }
.wall__lanes { display: flex; flex-direction: column; gap: 14px; }
.wall__lane { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall__track { display: flex; gap: 40px; width: max-content; padding: 12px 0; }
.wall__lane--right .wall__track { animation: marqueeRight 44s linear infinite; }
.wall__lane--left  .wall__track { animation: marqueeLeft  38s linear infinite; }
.wall__track span {
  flex: 0 0 auto; font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.02em;
  padding: 14px 30px; border-radius: 999px; border: 1px solid rgba(42,125,110,.18);
  color: rgba(21,24,25,.75); background: #fff; box-shadow: 0 12px 30px -22px rgba(40,20,80,.35);
  transition: color .3s, background .3s, transform .3s;
}
.wall__track span:hover { color: #fff; background: var(--primary); transform: translateY(-3px); }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes marqueeLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }

/* ---------- Creative 2 — journey ---------- */
.journey { padding: 80px 0; }
.journey__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.journey__head h2 { font-size: clamp(28px, 3.6vw, 46px); margin: 10px 0 8px; }
.journey__head p { color: var(--muted); }
.journey__track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; padding: 0; }
.journey__track::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(42,125,110,.35) 0 8px, transparent 8px 16px); z-index: 0;
}
.journey__step {
  position: relative; background: #fff; border-radius: 22px; padding: 26px 22px;
  border: 1px solid rgba(42,125,110,.12); box-shadow: 0 20px 44px -30px rgba(30,12,60,.35);
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease); cursor: default;
}
.journey__step::before {
  content: ""; position: absolute; left: 50%; top: -24px; transform: translateX(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary);
  box-shadow: 0 10px 24px -14px rgba(42,125,110,.6); transition: .4s var(--ease); z-index: 2;
}
.journey__step::after {
  content: ""; position: absolute; left: 50%; top: -12px; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--primary); z-index: 3;
}
.journey__step:hover { transform: translateY(-8px); background: linear-gradient(180deg, var(--dark), var(--primary)); color: #fff; }
.journey__step:hover::before { background: var(--primary); border-color: #fff; }
.journey__step:hover::after { background: #fff; }
.journey__step:hover .journey__num { color: rgba(255,255,255,.6); }
.journey__step:hover p { color: rgba(255,255,255,.85); }
.journey__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--primary); line-height: 1; margin: 12px 0 6px; letter-spacing: -.03em; transition: color .4s; }
.journey__step h3 { font-size: 20px; margin-bottom: 6px; }
.journey__step p { color: var(--muted); font-size: 14px; line-height: 1.55; transition: color .4s; }

/* ---------- Promises grid ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.promise { position: relative; padding: 30px 26px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--border); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.promise::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(180deg, var(--primary), transparent); opacity: 0; transition: opacity .4s; }
.promise:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.promise:hover::before { opacity: 1; }
.promise b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--primary); letter-spacing: .1em; }
.promise h4 { font-size: 20px; margin: 8px 0 10px; }
.promise p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.promise a { color: var(--primary-dark); text-decoration: underline; text-decoration-color: rgba(42,125,110,.4); text-underline-offset: 3px; }

/* ---------- Creative 3 — founder note (tilt on scroll via mouse) ---------- */
.note { padding: 80px 0 100px; position: relative; }
.note::before {
  content: ""; position: absolute; inset: 20px 22px; border-radius: 32px;
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(42,125,110,.22), transparent 70%),
    radial-gradient(50% 70% at 80% 70%, rgba(197,164,244,.35), transparent 70%),
    linear-gradient(180deg, #0d0722 0%, #1c0f3a 100%);
  z-index: 0;
}
.note__card {
  position: relative; z-index: 1; color: #fff; padding: 70px 8% 60px; max-width: 900px; margin: 0 auto;
  perspective: 1400px;
}
.note__eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; color: #c9b4f4; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
.note__title { font-size: clamp(30px, 4vw, 54px); line-height: 1; margin-bottom: 26px; letter-spacing: -.03em; }
.note__card p { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.note__sign { margin-top: 22px; font-family: var(--font-head); font-weight: 600; color: #fff; }
.note__contacts { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.note__contacts a { color: #d8c1f8; }
.note__contacts a:hover { color: #fff; }
.note__contacts span { color: rgba(255,255,255,.3); }

/* responsive */
@media (max-width: 1000px) {
  .about-hero__grid { grid-template-columns: 1fr; }
  .chapter__inner { grid-template-columns: 1fr; gap: 20px; }
  .journey__track { grid-template-columns: repeat(2, 1fr); row-gap: 42px; }
  .journey__track::before { display: none; }
  .promises { grid-template-columns: 1fr; }
  .about-hero__badge { left: 16px; }
}
@media (max-width: 620px) {
  .fact-strip { justify-content: flex-start; }
  .fact-strip b { font-size: 26px; }
  .journey__track { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Ch. 04 — WHY (chip funnel) — adapted from the shadcn "bucket" component,
   themed in DOD purple. A card catches a rotating chip every 2s.
   ========================================================================== */
.funnel-sec { padding: 100px 0 60px; }
.funnel-sec__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.funnel-sec__copy h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 14px 0 18px; letter-spacing: -.02em; }
.funnel-sec__copy p { color: var(--muted); margin-bottom: 14px; max-width: 52ch; }
.funnel-sec__contacts { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.funnel-sec__contacts a { color: var(--primary); font-weight: 600; }
.funnel-sec__contacts a:hover { text-decoration: underline; }
.funnel-sec__contacts span { color: var(--muted-2); }

/* Funnel visual */
.funnel { position: relative; width: 100%; max-width: 655px; margin-left: auto; aspect-ratio: 655 / 352; isolation: isolate; }
.funnel__frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; filter: drop-shadow(0 30px 60px rgba(42,125,110,.22)); }

/* Chip stage — sits over the top rim so chips visually "drop" through it */
.funnel__chip-stage {
  position: absolute; left: 50%; top: 8%; transform: translateX(-50%);
  width: 62%; height: 46%; z-index: 3; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.funnel__chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px; background: #fff;
  border: 1px solid rgba(42,125,110,.18); border-radius: 999px;
  box-shadow: 0 18px 40px -22px rgba(42,125,110,.55);
  min-width: 240px; max-width: 88%;
  will-change: transform, opacity;
}
.funnel__chip-ico { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(140deg, var(--stone-1), var(--stone-2)); display: grid; place-items: center; color: var(--primary); flex: 0 0 auto; }
.funnel__chip-ico svg { width: 20px; height: 20px; }
.funnel__chip-txt b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.15; }
.funnel__chip-txt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.funnel__chip[data-state="enter"] { animation: chipEnter .55s cubic-bezier(.22,.61,.36,1) both; }
.funnel__chip[data-state="exit"]  { animation: chipExit  .8s cubic-bezier(.55,.06,.68,.19) both; }
@keyframes chipEnter { from { transform: translateY(-90px) scale(.85); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes chipExit  { from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(110px) scale(.72); opacity: 0; } }

/* Base label inside the card body (below the funnel rim) */
.funnel__base { position: absolute; left: 22%; right: 22%; bottom: 12%; z-index: 2; text-align: center; }
.funnel__base-row { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 8px; }
.funnel__base-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; }
.funnel__base-row--muted { color: var(--muted); font-weight: 400; font-size: 13px; display: block; margin-top: 4px; }

@media (max-width: 900px) {
  .funnel-sec__inner { grid-template-columns: 1fr; gap: 30px; }
  .funnel { max-width: 100%; }
  .funnel__chip { min-width: 200px; padding: 8px 14px 8px 10px; }
  .funnel__chip-txt b { font-size: 14px; } .funnel__chip-txt small { font-size: 12px; }
  /* Long "email · email" line must wrap on narrow screens */
  .funnel-sec__contacts { flex-wrap: wrap; gap: 6px 10px; }
  .funnel-sec__contacts a { overflow-wrap: anywhere; word-break: break-word; }
}
@media (max-width: 720px) {
  /* Hide the decorative funnel on phones — it's an atmospheric visual that
     forces horizontal overflow and doesn't carry meaning on small screens. */
  .funnel { display: none; }
  .funnel-sec { padding: 60px 0 40px; }
}

/* Brand-wall marquee must never leak horizontally to the body */
.wall { overflow-x: hidden; }
.wall__lane { overflow: hidden; }
