/* =========================================
   Direction B v2 - Refined Optimist
   Fully responsive · single fluid layout
   ============================================= */

.dirBv2 {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  width: 100%;
  overflow-x: hidden;
}
.dirBv2 em { font-family: var(--serif); font-style: italic; }
.dirBv2 .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.dirBv2 .dot--coral { background: var(--coral); }
.dirBv2 .dot--butter { background: var(--butter); }
.dirBv2 .dot--sage { background: var(--sage); }
.dirBv2 .btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Nav ---------- */
.bv2-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 2vw, 22px) clamp(20px, 4vw, 60px);
  background: var(--cream);
  position: relative;
  z-index: 5;
  gap: 20px;
}
.bv2-nav__logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}
.bv2-nav__logo img { height: 26px; display: block; }
.bv2-nav__links { display: none; gap: 28px; flex: 1; margin-left: 36px; }
.bv2-nav__links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.bv2-nav__right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.bv2-nav__signin { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.bv2-nav__user {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease;
}
.bv2-nav__user:hover { transform: scale(1.05); }
.bv2-nav__user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  object-fit: cover;
  display: block;
  background: var(--cream-deep);
  color: var(--ink);
}
.bv2-nav__user-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}
@media (min-width: 880px) {
  .bv2-nav__links { display: flex; }
}

/* ---------- Hero ---------- */
.bv2-hero {
  position: relative;
  padding: clamp(32px, 5vw, 80px) clamp(20px, 4vw, 60px) clamp(40px, 6vw, 100px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 880px) {
  .bv2-hero { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
}
.bv2-hero__sun {
  position: absolute;
  width: clamp(420px, 50vw, 700px);
  height: clamp(420px, 50vw, 700px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--butter) 0%, var(--butter-soft) 35%, transparent 65%);
  top: clamp(-200px, -15vw, -160px);
  right: clamp(-180px, -10vw, -100px);
  z-index: 0;
  opacity: 0.85;
}
.bv2-hero__copy { position: relative; z-index: 1; }
.bv2-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid rgba(26,24,20,0.08);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.bv2-hero__star { color: var(--coral); }
.bv2-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.bv2-hero__title em {
  font-style: italic;
  position: relative;
  display: inline-block;
  padding: 0 4px;
}
.bv2-hero__title em::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.04em;
  height: 0.22em;
  background: var(--coral);
  border-radius: 4px;
  transform: rotate(-1deg);
  z-index: -1;
  opacity: 0.85;
}
.bv2-name { color: var(--coral); }
.bv2-wave { display: inline-block; animation: bv2wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes bv2wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(20deg); } 50% { transform: rotate(-10deg); } 75% { transform: rotate(15deg); } }
.bv2-hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 480px;
  text-wrap: pretty;
}
.bv2-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.bv2-hero__trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bv2-hero__avs { display: flex; }
.bv2-hero__avs img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--cream);
  margin-left: -10px;
  background: var(--butter);
  object-fit: cover;
}
.bv2-hero__avs img:first-child { margin-left: 0; }

.bv2-hero__char {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 320/380;
  margin: 0 auto;
  z-index: 1;
}
.bv2-hero__scribble {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(4px 6px 0 rgba(26,24,20,0.9));
}
.bv2-scribble-outline {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: bv2drawOutline 2s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
}
.bv2-scribble-extra { stroke-dasharray: 300; stroke-dashoffset: 300; animation: bv2drawX 0.9s ease-out 1.8s forwards; }
.bv2-scribble-extra2 { stroke-dasharray: 300; stroke-dashoffset: 300; animation: bv2drawX 0.9s ease-out 2s forwards; }
@keyframes bv2drawOutline { to { stroke-dashoffset: 0; } }
@keyframes bv2drawX { to { stroke-dashoffset: 0; } }

.bv2-sticker {
  position: absolute;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--serif);
  font-size: 14px;
  white-space: nowrap;
  z-index: 2;
}
.bv2-sticker--top { top: -8px; left: -16px; transform: rotate(-6deg); background: var(--coral); }
.bv2-sticker--bot { bottom: 6px; right: -8px; transform: rotate(4deg); background: var(--butter); color: var(--ink); }

/* ---------- Voice Flow ---------- */
.bv2-vf {
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 60px);
  background: var(--cream);
  overflow: hidden;
}
.bv2-vf .bv2-vf__h { text-align: center; margin: 8px auto 40px; max-width: 1100px; font-size: clamp(48px, 7vw, 96px); }
.bv2-vf__eyebrow { font-size: 18px; letter-spacing: 0.14em; }
.bv2-vf__stage {
  position: relative; width: 100%; max-width: 1400px; margin: 0 auto;
  aspect-ratio: 1400 / 560;
}
.bv2-vf__svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* text following the output curve via SVG textPath */
.bv2-vf__pathtxt {
  font-family: var(--script, 'Caveat', 'Kalam', cursive);
  font-size: 68px;
  fill: #C2563E;
  letter-spacing: 0.08em;
}

/* legacy (unused) */
.bv2-vf__outline {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: var(--script, 'Caveat', 'Kalam', cursive);
  color: var(--ink);
}
.bv2-vf__outline-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  animation: bv2vfOutScroll 22s linear infinite;
}
.bv2-vf__txt { font-size: 60px; line-height: 1; }
.bv2-vf__inicon { flex: 0 0 auto; width: 44px; height: 44px; }
@keyframes bv2vfOutScroll {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.bv2-vf__avatar {
  position: absolute;
  left: 50%; top: 64%;
  transform: translate(-50%, -50%);
  width: clamp(96px, 10vw, 130px); height: clamp(96px, 10vw, 130px);
  border-radius: 50%;
  z-index: 4;
}
.bv2-vf__avatar img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 30%;
  border: 3px solid var(--paper);
  box-shadow: 0 12px 24px -10px rgba(26,24,20,0.25);
  display: block;
}

@media (max-width: 700px) {
  .bv2-vf__txt { font-size: 44px; }
  .bv2-vf__inicon { width: 36px; height: 36px; }
}

/* ---------- Logo wheel (replaces marquee strip) ---------- */
.bv2-wheel {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(28px, 4vw, 44px) 0 clamp(24px, 3vw, 36px);
  border-top: 4px solid var(--coral);
  border-bottom: 4px solid var(--coral);
  overflow: hidden;
}
.bv2-wheel__label {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(245,239,230,0.7);
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  padding: 0 22px;
  letter-spacing: 0.01em;
}
.bv2-wheel__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.bv2-wheel__track { display: flex; width: max-content; animation: bv2feat 36s linear infinite; }
.bv2-wheel__row {
  display: flex; align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-right: clamp(48px, 7vw, 96px);
  flex-shrink: 0;
}
.bv2-flogo__sep { color: rgba(255,255,255,0.55); font-size: 18px; }
.bv2-flogo {
  width: auto;
  display: block;
  object-fit: contain;
  /* Knock to monochrome whitish-gray for the dark wheel */
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.bv2-flogo:hover { opacity: 1; }
.bv2-flogo--yc { height: clamp(28px, 3.4vw, 42px); }
.bv2-flogo--pw { height: clamp(38px, 5vw, 58px); }
.bv2-flogo--ph { height: clamp(28px, 3.4vw, 40px); }
@keyframes bv2feat { to { transform: translateX(calc(-100% / 3)); } }

/* ---------- Eyebrow / H2 / Lede shared ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted); margin: 0 0 14px; font-weight: 600;
}
.eyebrow--cream { color: var(--cream); opacity: 0.7; }
.bv2-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 18px; text-wrap: balance;
}
.bv2-h2--cream { color: var(--cream); }
.bv2-h2 em { font-style: italic; }
.bv2-lede {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 540px;
  text-wrap: pretty;
}
.bv2-lede--cream { color: var(--cream); opacity: 0.8; }

/* ---------- Tutors ---------- */
.bv2-tutors { padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 60px); }
.bv2-tutors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: 28px;
}
.bv2-tutor {
  background: var(--paper);
  border: 1px solid rgba(26,24,20,0.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2,0.9,0.3,1.2), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.bv2-tutor:nth-child(odd) { transform: rotate(-0.6deg); }
.bv2-tutor:nth-child(even) { transform: rotate(0.6deg); }
.bv2-tutor:hover {
  transform: translateY(-6px) rotate(-1.5deg) scale(1.02);
  box-shadow: 0 20px 40px -16px rgba(26,24,20,0.25);
  border-color: var(--coral);
}
.bv2-tutor:nth-child(even):hover { transform: translateY(-6px) rotate(1.5deg) scale(1.02); }
.bv2-tutor__photo { aspect-ratio: 1; overflow: hidden; }
.bv2-tutor__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.bv2-tutor:hover .bv2-tutor__photo img { transform: scale(1.05); }
.bv2-tutor__meta { padding: 18px 18px 20px; }
.bv2-tutor__meta h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 6px; letter-spacing: -0.01em; }
.bv2-tutor__sub { color: var(--ink-muted); font-size: 14px; font-weight: 400; }
.bv2-tutor__meta p { margin: 0; font-size: 14px; color: var(--ink-soft); font-style: italic; }

/* ---------- Whiteboard ---------- */
.bv2-wb { background: var(--ink); color: var(--cream); padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px); }
.bv2-wb__head { max-width: 720px; margin-bottom: 36px; }
.bv2-wb__shot {
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  max-width: 1080px; margin: 0 auto 30px;
}
.bv2-wb__chrome {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 10px; background: var(--cream-deep);
  border-bottom: 1px solid rgba(26,24,20,0.08);
}
.bv2-wb__chrome .dot { width: 9px; height: 9px; margin: 0; }
.bv2-wb__shot img { width: 100%; height: auto; display: block; }
.bv2-wb__feats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(14px, 2vw, 22px); margin-top: 30px;
}
.bv2-wb__feat { color: var(--cream); }
.bv2-wb__feat-num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--coral); display: block; margin-bottom: 8px; letter-spacing: 0.04em; }
.bv2-wb__feat h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 8px; }
.bv2-wb__feat p { font-size: 14px; line-height: 1.5; color: var(--cream); opacity: 0.7; margin: 0; }

/* ---------- How it works ---------- */
.bv2-how { padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px); }
.bv2-how__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 28px; }
.bv2-how__step { display: flex; gap: 18px; align-items: flex-start; }
.bv2-how__face { width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; overflow: hidden; }
.bv2-how__face img { width: 100%; height: 100%; object-fit: cover; }
.bv2-how__num { font-family: var(--serif); font-style: italic; font-size: 14px; }
.bv2-how__body h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 6px 0 8px; letter-spacing: -0.01em; }
.bv2-how__body p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* ---------- Memory / chat stack ---------- */
.bv2-mem {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 60px);
  align-items: center;
}
@media (min-width: 880px) {
  .bv2-mem { grid-template-columns: 1fr 1fr; }
}
.bv2-mem__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bv2-mem__list li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-soft); }
.bv2-check { color: var(--sage); font-weight: 700; }

.bv2-chats { display: grid; gap: 18px; width: 100%; max-width: 480px; position: relative; margin: 0 auto; }
.bv2-chat {
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid rgba(26,24,20,0.08);
  overflow: hidden;
  box-shadow: 0 14px 30px -16px rgba(26,24,20,0.2);
  opacity: 0.45;
  transform: scale(0.98) rotate(var(--rot, 0deg));
  transform-origin: center;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.5s ease;
}
.bv2-chat.is-active {
  opacity: 1;
  transform: scale(1) rotate(var(--rot, 0deg));
  box-shadow: 0 22px 44px -18px rgba(26,24,20,0.28);
}
.bv2-chat--wa { --rot: -1.2deg; }
.bv2-chat--wa .bv2-chat__head { background: #DCEFE4; border-bottom-color: rgba(0,0,0,0.06); }
.bv2-chat--wa .bv2-chat__body { background: #E5DDD5 url('assets/chat-bg-whatsapp.jpeg') center/360px repeat; }
.bv2-chat--tg { --rot: 0.8deg; margin-left: 14px; }
.bv2-chat--tg .bv2-chat__head { background: #E1ECF7; border-bottom-color: rgba(0,0,0,0.06); }
.bv2-chat--tg .bv2-chat__body { background: #B8C4D6 url('assets/chat-bg-telegram.jpg') center/cover no-repeat; }
.bv2-chat--dc { --rot: -0.6deg; margin-left: -10px; }
.bv2-chat__head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(26,24,20,0.06);
  background: var(--cream-deep);
}
.bv2-chat__head--dc { background: #2B2D31; border-bottom-color: rgba(255,255,255,0.06); }
.bv2-chat__app {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; background: #fff;
  overflow: hidden;
}
.bv2-chat__app img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bv2-chat__app--wa { background: transparent; }
.bv2-chat__app--tg { background: transparent; }
.bv2-chat__app--dc { background: transparent; }
.bv2-chat__head h5 { margin: 0; font-family: var(--serif); font-size: 14px; font-weight: 500; }
.bv2-chat__head span { font-size: 11px; color: var(--ink-muted); font-family: var(--mono); display: inline-flex; align-items: center; gap: 4px; }
.bv2-online { width: 7px; height: 7px; border-radius: 50%; background: #25D366; display: inline-block; animation: bv2pulse 1.6s ease-in-out infinite; }
@keyframes bv2pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.bv2-chat__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bv2-chat__body--dc { background: #313338; padding: 14px 12px; }

.bv2-bubble {
  font-size: 13px; line-height: 1.45;
  padding: 9px 12px; border-radius: 14px;
  max-width: 86%; text-wrap: pretty;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transform-origin: bottom left;
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bv2-bubble.is-in {
  opacity: 1; transform: translateY(0) scale(1);
}
.bv2-bubble--in { background: var(--cream-warm); align-self: flex-start; border-bottom-left-radius: 4px; }
.bv2-bubble--out { background: #DCF8C6; align-self: flex-end; border-bottom-right-radius: 4px; transform-origin: bottom right; }
.bv2-bubble--typing {
  background: var(--cream-warm); align-self: flex-start; border-bottom-left-radius: 4px;
  display: inline-flex; gap: 4px; padding: 12px 14px; width: auto; max-width: max-content;
}
.bv2-bubble--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); animation: bv2typing 1.2s ease-in-out infinite; }
.bv2-bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.bv2-bubble--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bv2typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Telegram bubbles */
.bv2-bubble--tg-in { background: #fff; border: 1px solid rgba(26,24,20,0.08); align-self: flex-start; border-bottom-left-radius: 4px; }
.bv2-bubble--tg-out { background: #EFF8DE; align-self: flex-end; border-bottom-right-radius: 4px; transform-origin: bottom right; }

.bv2-discord {
  padding: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.45s ease;
}
.bv2-discord.is-in { opacity: 1; transform: translateY(0); }
.bv2-discord__row { display: flex; gap: 10px; }
.bv2-discord__content { flex: 1; min-width: 0; }
.bv2-discord__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--serif); font-size: 18px; font-weight: 600; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.bv2-discord__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bv2-discord__name { font-family: var(--sans); font-weight: 600; font-size: 13px; color: #5865F2; display: inline-flex; align-items: center; gap: 6px; }
.bv2-discord__bot { background: #5865F2; color: #fff; font-size: 9px; padding: 1px 4px; border-radius: 3px; font-weight: 700; letter-spacing: 0.06em; }
.bv2-discord__time { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 11px; }
.bv2-discord p { font-size: 13px; color: #DBDEE1; margin: 4px 0 8px; line-height: 1.45; }
.bv2-discord__embed { border-left: 3px solid #5865F2; background: rgba(88, 101, 242, 0.12); padding: 8px 10px; border-radius: 0 6px 6px 0; margin: 4px 0 8px; }
.bv2-discord__embedTitle { font-size: 12px; font-weight: 600; color: #fff; }
.bv2-discord__embedBody { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.bv2-discord__reacts { display: flex; gap: 6px; }
.bv2-discord__reacts span { background: rgba(88, 101, 242, 0.16); border: 1px solid rgba(88, 101, 242, 0.3); color: #B8BEFB; font-size: 11px; font-family: var(--sans); padding: 2px 8px; border-radius: 10px; font-weight: 600; }

.bv2-spark { position: absolute; font-size: 18px; color: var(--coral); opacity: 0; pointer-events: none; animation: bv2sparkle 2.4s ease-in-out infinite; }
.bv2-spark--1 { top: 10%; right: -20px; animation-delay: 0.8s; color: var(--butter); font-size: 22px; }
.bv2-spark--2 { top: 45%; left: -16px; animation-delay: 1.4s; color: var(--coral); }
.bv2-spark--3 { bottom: 20%; right: 10%; animation-delay: 2s; color: var(--sage); }
@keyframes bv2sparkle {
  0% { opacity: 0; transform: scale(0) rotate(0deg); }
  30% { opacity: 1; transform: scale(1.2) rotate(180deg); }
  60% { opacity: 1; transform: scale(1) rotate(360deg); }
  100% { opacity: 0; transform: scale(0.5) rotate(540deg) translateY(-30px); }
}

/* ---------- Subjects ---------- */
.bv2-subj { padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px); background: var(--cream); }
.bv2-subj__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(12px, 1.5vw, 18px); margin-top: 28px; }
.bv2-subj__tile { background: var(--paper); border: 1px solid rgba(26,24,20,0.07); border-radius: var(--r-md); padding: 18px; }
.bv2-subj__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px; }
.bv2-subj__icon svg { width: 32px; height: 32px; }
.bv2-subj__tile h4 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin: 0 0 4px; letter-spacing: -0.01em; }
.bv2-subj__tile p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Accuracy ---------- */
.bv2-accuracy {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  background: var(--cream-warm);
  display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 70px); align-items: center;
}
@media (min-width: 880px) { .bv2-accuracy { grid-template-columns: 1fr 1fr; } }
.bv2-accuracy__copy { max-width: 540px; }
.bv2-accuracy__caption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin: 28px 0 12px; }
.bv2-accuracy__exams { display: flex; flex-wrap: wrap; gap: 8px; }
.bv2-exam-chip {
  font-family: var(--serif); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid rgba(26,24,20,0.12);
  color: var(--ink); letter-spacing: 0.01em;
}
.bv2-exam-chip--more { background: transparent; color: var(--ink-muted); border-style: dashed; }

.bv2-accuracy__stack {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto;
  height: 540px;
  overflow: hidden;
}
.bv2-accuracy__scroll {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px 16px;
  animation: bv2AccScroll 50s linear infinite;
}
@keyframes bv2AccScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.bv2-accuracy__fade {
  position: absolute; left: 0; right: 0;
  height: 100px;
  pointer-events: none;
  z-index: 5;
}
.bv2-accuracy__fade--top {
  top: 0;
  background: linear-gradient(to bottom, var(--cream) 0%, rgba(245,237,224,0.85) 50%, rgba(245,237,224,0) 100%);
}
.bv2-accuracy__fade--bot {
  bottom: 0;
  background: linear-gradient(to top, var(--cream) 0%, rgba(245,237,224,0.85) 50%, rgba(245,237,224,0) 100%);
}
.bv2-accuracy__card {
  background: var(--paper);
  border: 1px solid rgba(26,24,20,0.1);
  border-radius: var(--r-md);
  box-shadow: 0 14px 30px -14px rgba(26,24,20,0.2);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}
.bv2-accuracy__papertag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
}
.bv2-accuracy__paperttl { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.bv2-accuracy__paperhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bv2-accuracy__verified { font-size: 10px; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 999px; background: #DCEAD4; color: #3D6B3F; font-weight: 600; font-family: var(--mono); white-space: nowrap; }
.bv2-accuracy__lines { display: grid; gap: 6px; padding: 6px 0; }
.bv2-accuracy__lines span { display: block; height: 6px; border-radius: 3px; background: rgba(26,24,20,0.08); }
.bv2-accuracy__meta { display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: var(--ink-muted); margin-top: 4px; }

/* ---------- Videos (deprecated) ---------- */
.bv2-videos-x {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  background: var(--cream-warm);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}
@media (min-width: 880px) {
  .bv2-videos { grid-template-columns: 0.8fr 1.2fr; }
}
.bv2-videos__copy { max-width: 540px; }
.bv2-videos__player {
  background: var(--ink); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  width: 100%; max-width: 100%; min-width: 0;
}
.bv2-videos__chrome {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px; background: var(--cream-deep);
  border-bottom: 1px solid rgba(26,24,20,0.08);
}
.bv2-videos__chrome .dot { width: 9px; height: 9px; margin: 0; }
.bv2-videos__filename { font-family: var(--mono); font-size: 11px; color: var(--ink-muted); margin-left: 8px; }
.bv2-videos__video { width: 100%; max-width: 100%; height: auto; display: block; background: #000; }
.bv2-videos__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
@media (min-width: 880px) { .bv2-videos__pills { grid-column: 1 / 2; } }
.bv2-pill { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid rgba(26,24,20,0.08); font-size: 13px; font-family: var(--mono); }
.bv2-pill--coral { background: var(--coral); color: var(--cream); border-color: var(--coral-deep); }
.bv2-pill b { font-weight: 600; }

/* ---------- Parents ---------- */
.bv2-parents {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center;
  overflow: hidden;
}
@media (min-width: 880px) { .bv2-parents { grid-template-columns: 1fr 1fr; } }
.bv2-parents__pdfs {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px;
}
.bv2-pdfwidget { transform-origin: center center; }
@media (max-width: 700px) {
  .bv2-pdfwidget--1, .bv2-pdfwidget--2, .bv2-pdfwidget--3,
  .bv2-pdfwidget--4, .bv2-pdfwidget--5 { transform: none; }
}
.bv2-pdfwidget {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid rgba(26,24,20,0.08);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 8px 22px -10px rgba(26,24,20,0.18);
}
.bv2-pdfwidget__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(194,86,62,0.06);
  border-radius: 8px;
}
.bv2-pdfwidget__meta { flex: 1 1 auto; min-width: 0; }
.bv2-pdfwidget__title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.bv2-pdfwidget__sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
}
.bv2-pdfwidget__dl {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}
/* randomized angles for hand-pasted feel */
.bv2-pdfwidget--1 { transform: rotate(-1.4deg); }
.bv2-pdfwidget--2 { transform: rotate(1.8deg); }
.bv2-pdfwidget--3 { transform: rotate(-0.9deg); }
.bv2-pdfwidget--4 { transform: rotate(2.2deg); }
.bv2-pdfwidget--5 { transform: rotate(-1.6deg); }

/* ---------- Mentors ---------- */
.bv2-mentors { padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px); text-align: center; background: var(--cream-deep); }
.bv2-mentors .bv2-h2, .bv2-mentors .bv2-lede { margin-left: auto; margin-right: auto; }
.bv2-mentors__row { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 28px; }
.bv2-mentors__avs { display: flex; }
.bv2-mentors__avs span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 500; font-size: 18px; border: 3px solid var(--cream-deep); margin-left: -10px; color: var(--ink); }
.bv2-mentors__avs span:first-child { margin-left: 0; }
.bv2-mentors__small { font-family: var(--mono); font-size: 12px; color: var(--ink-muted); letter-spacing: 0.06em; }

/* ---------- FAQ ---------- */
.bv2-faq { padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px); }
.bv2-faq__list { display: grid; gap: 12px; margin-top: 28px; max-width: 800px; margin-left: auto; margin-right: auto; }
.bv2-faq__item { background: var(--paper); border: 1px solid rgba(26,24,20,0.08); border-radius: var(--r-md); padding: 18px 22px; cursor: pointer; }
.bv2-faq__item.open { border-color: var(--coral); }
.bv2-faq__q { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.bv2-faq__toggle { color: var(--coral); font-size: 22px; font-weight: 400; }
.bv2-faq__a { margin: 12px 0 0; color: var(--ink-soft); line-height: 1.55; font-size: 15px; display: none; }
.bv2-faq__item.open .bv2-faq__a { display: block; }

/* ---------- CTA ---------- */
.bv2-cta { padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 60px); text-align: center; background: var(--cream-warm); position: relative; overflow: hidden; }
.bv2-cta__sun { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--butter) 0%, transparent 60%); top: -200px; left: 50%; transform: translateX(-50%); opacity: 0.6; }
.bv2-cta__chars { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; position: relative; }
.bv2-cta__chars img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--cream); object-fit: cover; background: var(--butter); }
.bv2-cta__title { font-family: var(--serif); font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -0.025em; margin: 0 0 16px; position: relative; }
.bv2-cta__title em { font-style: italic; color: var(--coral); }
.bv2-cta__sub { font-size: 17px; color: var(--ink-soft); margin: 0 auto 30px; max-width: 360px; position: relative; }
.bv2-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.bv2-footer { background: var(--ink); color: var(--cream); padding: clamp(50px, 6vw, 80px) clamp(20px, 4vw, 60px) 30px; }
.bv2-footer__top { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(245,239,230,0.1); }
@media (min-width: 880px) { .bv2-footer__top { grid-template-columns: 1fr 2fr; } }
.bv2-footer__logo { height: 28px; width: auto; align-self: flex-start; opacity: 0.9; }
.bv2-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.bv2-footer__cols .eyebrow { color: var(--cream); opacity: 0.5; }
.bv2-footer__cols a { display: block; color: var(--cream); text-decoration: none; font-size: 14px; opacity: 0.8; padding: 4px 0; }
.bv2-footer__cols a:hover { opacity: 1; color: var(--coral); }
.bv2-footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--cream); opacity: 0.5; }
.bv2-footer__bottom p { margin: 0; }
.bv2-footer__tw {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.bv2-footer__tw:hover { opacity: 1; color: var(--coral); }
.bv2-footer__tw img {
  height: 60px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.bv2-footer__social { display: flex; gap: 16px; }
.bv2-footer__social a { color: var(--cream); text-decoration: none; }

.bv2-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 360px; }
.bv2-footer__tag { font-size: 14px; line-height: 1.55; opacity: 0.7; margin: 0; }
.bv2-footer__email {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(245,239,230,0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.bv2-footer__email:hover { color: var(--coral); border-bottom-color: var(--coral); }
.bv2-footer__socials { display: flex; gap: 10px; margin-top: 4px; }
.bv2-footer__socials a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid rgba(245,239,230,0.18);
  color: var(--cream);
  opacity: 0.85;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.bv2-footer__socials a:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}
.bv2-footer__socials svg { width: 18px; height: 18px; display: block; }

.bv2-footer__address {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
  color: var(--cream);
  opacity: 0.55;
  margin: 6px 0 0;
  font-style: normal;
  max-width: 320px;
}
.bv2-footer__address strong {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 4px;
}

/* Smooth scroll + offset so anchors don't slip under the fixed nav */
html { scroll-behavior: smooth; }
.dirBv2 section[id] { scroll-margin-top: 90px; }
