/* ===== About page: full-screen hero ===== */
.about-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
/* Below 900px the header switches from a fixed overlay to a sticky
   pill that reserves its own space in normal flow (deliberately, for
   WebView-compatibility — see hero-v2.css), so 100svh on the hero
   pushes its bottom that far past the actual viewport. Subtract it. */
@media (max-width: 899px) {
  .about-hero { min-height: calc(100svh - 84px); }
}
.about-hero__media {
  position: absolute; inset: 0; z-index: 0; border-radius: 0;
  /* Deliberately dark, not the light lavender .ph default — that was
     mixing with the dark text-legibility overlay into a muddy grey
     smear. A real <video> will replace this; until then it should
     still read as an intentional cinematic dark hero. */
  background: linear-gradient(160deg, #2a1848 0%, #1b0f30 55%, #100819 100%);
  color: rgba(255, 255, 255, .5);
}
.about-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 6, 22, .1) 0%, rgba(10, 6, 22, .28) 55%, rgba(10, 6, 22, .72) 100%);
}
.about-hero__content {
  position: relative; z-index: 2;
  width: 100%;
  padding: clamp(120px, 20vh, 220px) 24px clamp(64px, 9vw, 108px);
  color: #fff;
  text-align: center;
}
.about-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.about-hero__eyebrow::before, .about-hero__eyebrow::after { content: ''; width: 22px; height: 1.5px; background: rgba(255, 255, 255, .5); }
.about-hero__content h1 {
  margin-top: 16px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 6vw, 66px); line-height: 1.14;
}
.about-hero__content p {
  margin: 16px auto 0; max-width: 520px; font-size: 15px; color: rgba(255, 255, 255, .84); line-height: 1.55;
}
.about-hero__row { margin-top: 26px; display: flex; justify-content: center; }
.about-btn-light {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--violet-700);
  padding: 15px 26px; border-radius: var(--radius-pill);
  font-size: 14.5px; font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.about-btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.about-hero__scrollcue {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 2; color: rgba(255, 255, 255, .8);
  animation: about-scrollcue 1.8s ease-in-out infinite;
}
.about-hero__scrollcue svg { width: 20px; height: 20px; }
@keyframes about-scrollcue {
  0%, 100% { transform: translate(-50%, 0); opacity: .8; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .about-hero__scrollcue { animation: none; }
}

/* Short/mobile viewports: the header pill (in normal flow, not fixed)
   plus centered copy easily overflows the 100svh hero on phones —
   tighten every gap so the CTA button never falls past the fold. */
@media (max-width: 640px) {
  .about-hero__content { padding: clamp(64px, 12vh, 110px) 20px clamp(40px, 7vh, 64px); }
  .about-hero__content h1 { font-size: clamp(26px, 8vw, 36px); }
  .about-hero__content p { font-size: 13.5px; margin-top: 12px; }
  .about-hero__row { margin-top: 20px; }
  .about-btn-light { padding: 13px 22px; font-size: 13.5px; }
  .about-hero__scrollcue { display: none; }
}
@media (max-height: 700px) {
  .about-hero__content { padding-top: clamp(56px, 10vh, 90px); }
  .about-hero__scrollcue { display: none; }
}

/* ===== Gallery ===== */
.about-gallery { padding-block: clamp(56px, 7vw, 96px); }
.about-gallery__head { max-width: 560px; margin-bottom: 30px; }
.about-gallery__head .eyebrow { display: block; margin-bottom: 8px; }
.about-gallery__head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.8vw, 32px); color: var(--ink-900); }
.about-gallery__head p { margin-top: 10px; font-size: 14.5px; color: var(--ink-500); line-height: 1.6; }
.about-gallery__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 14px;
}
.about-gallery__grid .ph { border-radius: var(--radius-lg); }
.about-gallery__tile--big { grid-column: span 2; grid-row: span 2; }
.about-gallery__tile--wide { grid-column: span 2; }

@media (max-width: 900px) {
  .about-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
}
@media (max-width: 560px) {
  .about-gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .about-gallery__tile--big, .about-gallery__tile--wide { grid-column: span 1; grid-row: span 1; }
}

/* ===== Why us — a bento of colour-blocked tiles, not the small
   violet-circle icon badges used for this on every other page. ===== */
.about-why { padding-block: clamp(56px, 7vw, 96px); }
.about-why__head { max-width: 560px; margin-bottom: 30px; }
.about-why__head .eyebrow { display: block; margin-bottom: 8px; }
.about-why__head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.8vw, 32px); color: var(--ink-900); }
.about-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 168px; gap: 16px; }
.about-why__item {
  position: relative; border-radius: var(--radius-xl); padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out);
}
.about-why__item:hover { transform: translateY(-4px); }
.about-why__item--feature { grid-column: span 2; grid-row: span 2; padding: 30px; }
.about-why__num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; opacity: .55;
}
.about-why__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex: none;
}
.about-why__item--feature .about-why__icon { width: 54px; height: 54px; }
.about-why__icon svg { width: 21px; height: 21px; }
.about-why__item--feature .about-why__icon svg { width: 26px; height: 26px; }
.about-why__item h4 { font-size: 15px; font-weight: 700; line-height: 1.3; }
.about-why__item--feature h4 { font-size: 19px; }
.about-why__item p { margin-top: 8px; font-size: 12.5px; line-height: 1.5; }
.about-why__item--feature p { font-size: 13.5px; max-width: 260px; }

.about-why__item--ink { background: var(--ink-900); color: #fff; }
.about-why__item--ink .about-why__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.about-why__item--ink p { color: rgba(255, 255, 255, .62); }
.about-why__item--violet { background: var(--gradient-brand); color: #fff; }
.about-why__item--violet .about-why__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.about-why__item--violet p { color: rgba(255, 255, 255, .78); }
.about-why__item--surface { background: var(--surface-50); border: 1px solid var(--surface-line); color: var(--ink-900); }
.about-why__item--surface .about-why__icon { background: #fff; color: var(--violet-600); box-shadow: var(--shadow-sm); }
.about-why__item--surface p { color: var(--ink-500); }

@media (max-width: 900px) {
  .about-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 168px; }
  .about-why__item--feature { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .about-why__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .about-why__item, .about-why__item--feature { grid-column: span 1; grid-row: span 1; padding: 22px; }
}

/* ===== Assistants — the two team members kids love most ===== */
.about-assistants { padding-block: clamp(40px, 6vw, 72px); }
.about-assistants__card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(237, 233, 254, 0.9), rgba(245, 243, 255, 0.6));
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.about-assistants__text { flex: 1 1 320px; min-width: 260px; }
.about-assistants__text .eyebrow { display: block; margin-bottom: 8px; }
.about-assistants__text h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink-900); line-height: 1.25; }
.about-assistants__text p { margin-top: 10px; font-size: 14.5px; color: var(--ink-500); max-width: 420px; line-height: 1.6; }

.about-assistants__grid { display: flex; gap: 20px; flex: none; }
.assistant-card { width: 190px; text-align: center; }
.assistant-card__photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 3.4; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.assistant-card:hover .assistant-card__photo { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.assistant-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; display: block; }
.assistant-card__badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg, rgba(220, 171, 218, 0.85) 0%, rgba(187, 114, 192, 0.8) 45%, rgba(116, 83, 178, 0.88) 100%);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 14px rgba(122, 83, 178, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #fff;
}
.assistant-card__badge svg { width: 14px; height: 14px; }
.assistant-card b { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--ink-900); }
.assistant-card__role { display: block; font-size: 12px; color: var(--violet-600); font-weight: 600; margin-top: 2px; }

@media (max-width: 640px) {
  .about-assistants__card { flex-direction: column; align-items: flex-start; gap: 24px; }
  .about-assistants__grid { align-self: stretch; justify-content: center; }
  .assistant-card { width: 42%; max-width: 170px; }
}
