/* ============================================================
   Beeline Digital — premium craft pass, 12 Nov 2026
   Loaded after styles.css. Elevates the existing identity:
   dark honey/amber, Cormorant + Inter, god-rays, bees, honeycomb.
   Does not replace the brand. Respects prefers-reduced-motion.
   ============================================================ */

/* Solid page ink so transparent layers never flash the default white canvas. */
html { background: var(--ink, #0B0A09); }
.hero { background: var(--ink, #0B0A09); }

/* ---------- Hero FX canvas ---------- */
.hero-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.hero-fx-canvas--page {
  opacity: 0.7;
}
.hero .ambient-stage,
.page-hero {
  isolation: isolate;
}
/* Original light-trails stay fully visible. Never hide them. */
/* Original honeycomb lattice stays at its stylesheet opacity. */


/* "result." is original gold at rest. During load-in ignition it catches the light. */
.hero h1 em,
.hero h1 em.honey-liquid {
  font-style: italic;
  font-weight: 500;
  color: var(--honey);
  -webkit-text-fill-color: unset;
  background: none;
  filter: none;
  animation: none;
}
.hero.is-igniting h1 em.honey-liquid {
  background-image: linear-gradient(
    110deg,
    #C47A1A 0%,
    #E8A838 18%,
    #FFF3C8 48%,
    #F0C060 56%,
    #E8A838 78%,
    #C47A1A 100%
  );
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: result-catch 1.7s ease-out forwards;
  filter: drop-shadow(0 0 22px rgba(240, 192, 96, 0.65));
}
@keyframes result-catch {
  0%   { background-position: 0% 50%; filter: drop-shadow(0 0 0 transparent); }
  45%  { background-position: 70% 50%; filter: drop-shadow(0 0 28px rgba(255, 243, 200, 0.9)); }
  100% { background-position: 100% 50%; filter: drop-shadow(0 0 10px rgba(232, 168, 56, 0.25)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero.is-igniting h1 em.honey-liquid {
    animation: none;
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--honey);
    filter: none;
  }
}

/* ---------- Custom amber cursor ---------- */
.cursor-fx {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  pointer-events: none;
  z-index: 4000;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
  will-change: transform;
}
.cursor-fx.is-on { opacity: 1; }
.cursor-fx__dot {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #F0C060;
  box-shadow: 0 0 10px rgba(240, 192, 96, 0.85);
}
.cursor-fx__ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(232, 168, 56, 0.7);
  box-shadow: 0 0 18px rgba(232, 168, 56, 0.25);
  transition: transform 0.35s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
              border-color 0.3s ease,
              inset 0.3s ease;
}
.cursor-fx.is-hot .cursor-fx__ring {
  transform: scale(1.7);
  border-color: rgba(240, 192, 96, 0.95);
  background: rgba(232, 168, 56, 0.08);
}
.cursor-fx.is-down .cursor-fx__ring { transform: scale(0.85); }
body.has-custom-cursor,
body.has-custom-cursor * { cursor: none; }
body.has-custom-cursor.cursor-typing,
body.has-custom-cursor.cursor-typing * { cursor: text; }
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor select { cursor: text !important; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-fx { display: none !important; }
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: auto; }
}

/* ---------- Golden narrow path (scroll-drawn) ---------- */
.narrow-path {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
  opacity: 0;
  background: transparent !important;
  display: block;
  transition: opacity 0.6s ease;
}
.narrow-path.is-drawn { opacity: 1; }
.narrow-path__line {
  filter: drop-shadow(0 0 3px rgba(240, 192, 96, 0.55));
}
@media (prefers-reduced-motion: reduce) {
  .narrow-path { opacity: 0.55; }
}

/* ---------- Bees, premium sprites ---------- */
.bee--premium {
  width: clamp(88px, 9.5vw, 148px);
  height: auto;
  will-change: transform, filter;
  pointer-events: none;
  transform-origin: 50% 50%;
}
.bee--premium img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35))
          drop-shadow(0 0 10px rgba(232, 168, 56, 0.18));
}
.bee--premium.is-near {
  width: clamp(120px, 13vw, 200px);
  z-index: 5;
}
.bee--premium.is-far {
  width: clamp(56px, 6vw, 92px);
  opacity: 0.85;
}
.bee--still {
  width: clamp(90px, 10vw, 150px);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.bee--still img { width: 100%; height: auto; display: block; }
@media (max-width: 768px) {
  .bee--premium { width: clamp(64px, 22vw, 110px); }
  .bee--premium.is-near { width: clamp(80px, 28vw, 130px); }
}

/* ---------- Nav refinement ---------- */
.site-header {
  backdrop-filter: none;
  background: linear-gradient(to bottom, rgba(11, 10, 9, 0.55), rgba(11, 10, 9, 0));
  transition: background 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid rgba(232, 168, 56, 0.1);
}
.logo-beeline {
  letter-spacing: -0.02em;
}
.logo-digital {
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-desktop a {
  letter-spacing: 0.02em;
  font-weight: 450;
}
.nav-cta {
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.nav-cta:hover {
  box-shadow: 0 0 0 1px rgba(240, 192, 96, 0.45), 0 0 24px rgba(232, 168, 56, 0.22);
}

/* ---------- Hero type & rhythm ---------- */
.hero {
  /* Keep the locked composition: type left, corridor right. */
  min-height: 100svh;
}
.hero h1.display--xl {
  font-size: clamp(2.75rem, 1.2rem + 5.6vw, 5.6rem);
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero__sub {
  max-width: 28em;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.58;
}
.cta-text {
  letter-spacing: 0.14em;
  font-weight: 500;
}
.cta-text:hover {
  color: var(--honey-bright);
}

/* ---------- Section rhythm ---------- */
.section-head .display {
  text-wrap: balance;
  max-width: 16ch;
}
.section-head .lede {
  margin-top: 1rem;
}

/* ---------- Work, capabilities, insights — quieter luxury ---------- */
.work-item__visual-inner {
  overflow: hidden;
  border-radius: 2px;
}
.work-item:hover .work-item__visual-inner {
  box-shadow: 0 0 0 1px rgba(232, 168, 56, 0.28),
              0 24px 60px rgba(0, 0, 0, 0.45),
              0 0 40px rgba(232, 168, 56, 0.08);
}
.work-item__badge {
  letter-spacing: 0.14em;
}
.work-item__metric {
  color: var(--honey-bright);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.15rem);
  letter-spacing: -0.02em;
}
.cap-card,
.insight-card,
.tech__card,
.route-step {
  transition: transform 0.55s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
              background 0.45s ease,
              box-shadow 0.45s ease,
              border-color 0.45s ease;
}
.cap-card:hover,
.insight-card:hover,
.tech__card:hover {
  box-shadow: 0 0 0 1px rgba(232, 168, 56, 0.22),
              0 18px 50px rgba(0, 0, 0, 0.35);
}
.cap-card__num,
.work-item__index,
.route-step__dot {
  color: var(--honey);
}

/* ---------- Route / process: a continuous honey line ---------- */
.route__track::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 168, 56, 0.55) 12%,
    rgba(240, 192, 96, 0.7) 50%,
    rgba(232, 168, 56, 0.55) 88%,
    transparent
  );
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  text-wrap: balance;
}
.cta-band .btn--primary {
  margin-top: 0.5rem;
}
.btn--primary {
  box-shadow: 0 0 0 1px rgba(232, 168, 56, 0.15),
              0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
              box-shadow 0.4s ease,
              background 0.4s ease;
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(240, 192, 96, 0.55),
              0 10px 36px rgba(0, 0, 0, 0.4),
              0 0 32px rgba(232, 168, 56, 0.28);
  transform: translateY(-1px);
}
.btn--primary:focus-visible {
  box-shadow: var(--focus-ring);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(232, 168, 56, 0.1);
}
.site-footer a:hover {
  color: var(--honey-bright);
}

/* ---------- Page heroes, inner pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero .hero-fx-canvas {
  z-index: 0;
}
.page-hero .wrap {
  position: relative;
  z-index: 2;
}

/* ---------- Proof strip ---------- */
.proof__list li {
  letter-spacing: 0.08em;
  transition: color 0.4s ease, opacity 0.4s ease;
  opacity: 0.72;
}
.proof__list li:hover { opacity: 1; }

/* ---------- Hex rail as a quiet punctuation ---------- */
.hex-rail__mark {
  box-shadow: 0 0 18px rgba(232, 168, 56, 0.35);
}

/* ---------- Reveals: a slightly more editorial stagger ---------- */
.reveal {
  transition: opacity 0.9s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
              transform 0.9s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

/* ---------- Team hex: do not alter crops; only the frame ---------- */
.team-card__hex {
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4))
          drop-shadow(0 0 16px rgba(232, 168, 56, 0.08));
}
.team-card__email {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

/* ---------- Contact form polish ---------- */
.contact-form input,
.contact-form textarea,
.contact-form select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(232, 168, 56, 0.55);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15);
}

/* ---------- 404 ---------- */
/* inherits page-hero treatment */

/* ---------- Skip link already exists; keep focus honest ---------- */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ---------- Reduced motion: keep beauty, drop motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-fx-canvas { opacity: 1; }
  .bee--premium { transition: none; }
  html { scroll-behavior: auto; }
  .btn--primary:hover { transform: none; }
}

/* ---------- High contrast / forced colors ---------- */
@media (forced-colors: active) {
  .cursor-fx { display: none !important; }
  .hero h1 em, .honey-liquid {
    -webkit-text-fill-color: CanvasText;
    color: CanvasText;
    background: none;
    filter: none;
  }
}

/* Bees start at opacity 0 in styles.css (legacy fade-in). Keep still bees visible. */
.bee--still { opacity: 1; }
.bee--premium { width: clamp(80px, 8.5vw, 132px); }
.bee--premium.is-near { width: clamp(108px, 11.5vw, 176px); }
.bee--premium.is-far { width: clamp(52px, 5.5vw, 84px); opacity: 0.85; }
@media (max-width: 768px) {
  .bee--premium { width: clamp(88px, 28vw, 132px); }
  .bee--premium.is-near { width: clamp(108px, 36vw, 168px); }
  .bee--premium.is-far { width: clamp(58px, 18vw, 92px); }
}

/* Old CSS sparkles are replaced by the WebGL pollen and would fight it. */
/* Sparkle field, trail glints, lattice and beams: original, untouched. */

/* Hero copy must be visible on first paint — do not wait for IntersectionObserver. */
.hero .reveal,
.hero .reveal.reveal-delay-1,
.hero .reveal.reveal-delay-2,
.hero .reveal.reveal-delay-3 {
  opacity: 1;
  transform: none;
}



/* ============================================================
   Team portraits — editorial honeycomb, depth, gold light.
   Presentation only. Photos, names, roles and crops stay locked:
   object-fit cover, modest object-position, no face-only zoom,
   no AI-edited faces. Kate remains "Kate".
   ============================================================ */
.team-section .team-grid,
.team-grid--comb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.75rem 2.15rem;
  max-width: 76rem;
  margin-inline: auto;
  padding-top: 0.5rem;
}
.team-card {
  flex: 0 1 17.5rem;
  max-width: 20rem;
  text-align: center;
  position: relative;
}
.team-card--lead {
  flex: 0 1 24rem;
  max-width: 26rem;
}
.team-card__stage {
  position: relative;
  display: block;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.team-card.is-tilting .team-card__stage {
  transition: transform 0.12s ease-out;
}
.team-card__aura {
  position: absolute;
  inset: -14% -12%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:
    radial-gradient(circle at 50% 38%, rgba(240, 192, 96, 0.38), transparent 64%),
    radial-gradient(circle at 50% 80%, rgba(196, 122, 26, 0.18), transparent 60%);
  filter: blur(16px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.team-card:hover .team-card__aura,
.team-card.is-lit .team-card__aura {
  opacity: 0.85;
}
.team-section .team-card__hex {
  position: relative;
  z-index: 1;
  width: min(100%, 20.5rem);
  aspect-ratio: 1 / 1.1547;
  margin: 0 auto 1.15rem;
  padding: 2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:
    linear-gradient(145deg,
      rgba(255, 243, 200, 0.95),
      var(--honey-bright) 18%,
      var(--honey) 48%,
      var(--honey-deep) 78%,
      rgba(196, 122, 26, 0.45));
  filter:
    drop-shadow(0 1.15rem 2rem rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 22px rgba(232, 168, 56, 0.16));
  overflow: hidden;
}
.team-card--lead .team-card__hex {
  width: min(100%, 25rem);
}
.team-section .team-card__hex-inner {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background:
    radial-gradient(circle at 50% 35%, rgba(240, 192, 96, 0.12), transparent 42%),
    var(--ink-soft, #161412);
}
.team-section .team-card__hex-inner picture,
.team-section .team-card__hex-inner img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: var(--team-ox, 50%) var(--team-oy, 22%) !important;
  transform: none !important;
  transition: filter 0.6s ease, object-position 0.45s ease;
}
.team-card--lead,
.team-card--lead .team-card__hex-inner img,
.team-section .team-card--lead .team-card__hex img {
  --team-oy: 40%;
  object-position: var(--team-ox, 50%) var(--team-oy, 40%) !important;
}
.team-section .team-card:hover .team-card__hex-inner img,
.team-section .team-card--lead:hover .team-card__hex-inner img {
  transform: none !important;
  filter: brightness(1.05) saturate(1.04);
}
.team-card__sweep {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    118deg,
    transparent 32%,
    rgba(255, 243, 200, 0) 40%,
    rgba(255, 243, 200, 0.34) 50%,
    rgba(232, 168, 56, 0.16) 58%,
    transparent 70%
  );
  background-size: 240% 100%;
  background-position: 130% 0;
  mix-blend-mode: soft-light;
  opacity: 0;
}
.team-card:hover .team-card__sweep,
.team-card.is-lit .team-card__sweep {
  opacity: 1;
  animation: team-gold-sweep 1.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes team-gold-sweep {
  from { background-position: 130% 0; }
  to   { background-position: -30% 0; }
}
.team-section .team-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.4rem + 1.1vw, 2.45rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.team-section .team-card__role {
  margin-top: 0.4rem;
  color: var(--honey-bright);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.team-section .team-card__email {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--cream-muted, rgba(245, 240, 232, 0.62));
  font-size: 0.8rem;
  text-decoration: underline;
  text-decoration-color: rgba(232, 168, 56, 0.4);
  text-underline-offset: 0.28em;
}
.team-section .team-card__email:hover,
.team-section .team-card__email:focus-visible {
  color: var(--honey-bright);
  text-decoration-color: var(--honey);
}

/* Desktop: three-up editorial comb. Kate's cell is a touch larger. */
@media (min-width: 960px) {
  .team-section .team-grid.team-grid--comb,
  .team-section .team-grid--comb {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.25rem;
    row-gap: 2.6rem;
    max-width: 74rem;
    justify-items: center;
    flex-wrap: unset;
  }
  .team-section .team-grid--comb > .team-card,
  .team-section .team-card--lead {
    flex: none;
    width: 100%;
    max-width: 23rem;
    margin-left: 0;
  }
  .team-section .team-card--lead { max-width: 25.5rem; }
}

@media (max-width: 959px) and (min-width: 700px) {
  .team-grid--comb { gap: 2.4rem 1.75rem; }
  .team-card { flex: 0 1 15.5rem; }
  .team-card--lead { flex: 1 1 100%; max-width: 24rem; }
}

@media (max-width: 699px) {
  .team-section .team-grid,
  .team-grid--comb {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 0.85rem;
    max-width: 28rem;
    margin-inline: auto;
  }
  .team-card,
  .team-card--lead {
    flex: none;
    max-width: none;
    width: 100%;
    margin-left: 0;
  }
  .team-card--lead {
    grid-column: 1 / -1;
    max-width: 22rem;
    margin-inline: auto;
  }
  .team-section .team-card__hex,
  .team-card--lead .team-card__hex {
    width: min(100%, 20rem);
  }
  .team-section .team-card h3 { font-size: 1.55rem; }
  .team-section .team-card__email { font-size: 0.72rem; overflow-wrap: anywhere; }
  .team-grid--comb > .team-card:last-child {
    grid-column: 1 / -1;
    max-width: 13.75rem;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card__sweep { animation: none !important; opacity: 0.35; background-position: 40% 0; }
  .team-card__stage,
  .team-card.is-tilting .team-card__stage {
    transform: none !important;
    transition: none;
  }
  .team-card__aura { opacity: 0.55; }
}


/* ============================================================
   Lighting signature — layered on the ORIGINAL beam and lattice.
   The original .light-trails and .ambient-lattice are not dimmed.
   ============================================================ */
.light-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
.hero .light-trails.is-steered {
  transform: rotate(var(--beam-rot, 0deg));
  transform-origin: 92% 2%;
  will-change: transform;
}
/* Headline ignition: a gold gleam sweeps the type, then settles. */
.hero.is-igniting h1 {
  animation: headline-ignite 1.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes headline-ignite {
  0%   { text-shadow: 0 0 0 transparent; }
  40%  { text-shadow: 0 0 28px rgba(240, 192, 96, 0.28), 0 0 60px rgba(232, 168, 56, 0.12); }
  100% { text-shadow: 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.is-igniting h1 { animation: none; text-shadow: none; }
  .hero .light-trails.is-steered { transform: none; }
}



/* ============================================================
   Team portraits — UNIFORM scale. Kate asked that everyone sit
   at the same scale: same cell size, same eye line, same
   head-to-shoulder framing. Kate's photo is a rear three-quarter
   (bee on her fingertip) so her "face" is her head at matching
   size, not a front-on crop. No oversized lead cell.
   Per-person object-position / modest scale only. Revertible:
   remove this block and the team-card--* modifiers to go back.
   People: Kate, Ella Hayes, Nia Brooks, Priya Shah,
   Tessa Morgan, Jordan Vale. (Ryan Cole replaced by Nia Brooks, 12 Nov, at Kate's request.)
   ============================================================ */
.team-section .team-grid,
.team-grid--comb {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  max-width: 72rem;
  margin-inline: auto;
  justify-items: center;
  align-items: start;
}
.team-section .team-card,
.team-section .team-card--lead,
.team-grid--comb > .team-card,
.team-card--lead {
  flex: none !important;
  width: 100%;
  max-width: 20.5rem !important;
  margin-left: 0 !important;
  grid-column: auto !important;
}
.team-section .team-card__hex,
.team-card--lead .team-card__hex,
.team-section .team-card--lead .team-card__hex {
  width: min(100%, 19.5rem) !important;
  aspect-ratio: 1 / 1.1547;
  margin-inline: auto;
}
/* Shared crop: object-fit cover, modest position, modest per-person scale
   so faces share an eye line and head height. Transform is on the IMG
   wrapper via --team-scale, capped and not a face-only zoom. */
.team-section .team-card__hex-inner {
  overflow: hidden;
}
.team-section .team-card__hex-inner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: var(--team-ox, 50%) var(--team-oy, 28%) !important;
  transform: scale(var(--team-scale, 1)) !important;
  transform-origin: 50% 32%;
  transform-box: fill-box;
}
/* Face height and eye line matched across the six. Kate: portrait,
   rear view; frame her head at similar size, bee visible. */
.team-card--kate  { --team-oy: 20%; --team-scale: 1.14; }
.team-card--ella  { --team-oy: 34%; --team-scale: 1.22; }
.team-card--nia   { --team-ox: 60%; --team-oy: 42%; --team-scale: 1.36; }
.team-card--priya { --team-oy: 26%; --team-scale: 1.0; }
.team-card--tessa { --team-oy: 34%; --team-scale: 1.22; }
.team-card--jordan{ --team-oy: 32%; --team-scale: 1.14; }

.team-section .team-card:hover .team-card__hex-inner img,
.team-section .team-card--lead:hover .team-card__hex-inner img {
  /* No extra zoom on hover — scale is the uniform match, not a crop. */
  transform: scale(var(--team-scale, 1)) !important;
  filter: brightness(1.04) saturate(1.03);
}

@media (max-width: 899px) {
  .team-section .team-grid,
  .team-grid--comb {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.75rem 0.9rem;
    max-width: 28rem;
  }
  .team-section .team-card,
  .team-section .team-card--lead,
  .team-card--lead {
    max-width: none !important;
    width: 100%;
    grid-column: auto !important;
    margin-inline: 0;
  }
  .team-section .team-card__hex,
  .team-card--lead .team-card__hex,
  .team-section .team-card--lead .team-card__hex {
    width: min(100%, 15.5rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-section .team-card__hex-inner img {
    transform: scale(var(--team-scale, 1)) !important;
  }
}
