/* ============================================================
   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: calc(var(--team-ox, 50%) + var(--team-px, 0%)) 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. */
/* 20 Nov 2026 (Kate): Kate, Ella, Nia and Priya use *-hex files with extra
   background added above (originals untouched), shown at scale 1 so each
   head sits smaller and lower than Jordan's, face centred. Tessa and Jordan
   are unchanged. */
.team-card--kate  { --team-ox: 50%; --team-oy: 50%; --team-scale: 1; }
.team-card--ella  { --team-ox: 52.5%; --team-oy: 50%; --team-scale: 1; }
.team-card--nia   { --team-ox: 48.6%; --team-oy: 50%; --team-scale: 1; }
.team-card--priya { --team-ox: 53.9%; --team-oy: 50%; --team-scale: 1; }
.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;
  }
}

/* Team text clear of the honeycomb (Kate, 20 Nov 2026): the glow stays
   tight to each hexagon, and rows have room so name, role and email sit
   in clear space below their own hexagon. */
.team-section .team-card__aura { inset: -5% -5% 0; opacity: 0.32; }
.team-section .team-card:hover .team-card__aura,
.team-section .team-card.is-lit .team-card__aura { opacity: 0.6; }
.team-section .team-card__stage { margin-bottom: 1.6rem; }
.team-section .team-card__hex { margin-bottom: 0 !important; }
.team-section .team-grid,
.team-grid--comb { row-gap: 5rem !important; }
@media (max-width: 899px) {
  .team-section .team-grid,
  .team-grid--comb { row-gap: 3.25rem !important; }
  .team-section .team-card__stage { margin-bottom: 1.2rem; }
}
@media (max-width: 699px) {
  .team-section .team-card__email {
    font-size: clamp(0.6rem, 2.7vw, 0.72rem);
    letter-spacing: 0;
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

/* Gold scroll line removed (Kate, 20 Nov 2026) */
.narrow-path{display:none !important;}

/* Larger header logo (Kate, 20 Nov 2026) */
header .logo-beeline{font-size:2.1rem;}
header .logo-digital{font-size:1.28rem;}
@media (max-width:640px){header .logo-beeline{font-size:1.8rem;}header .logo-digital{font-size:1.1rem;}}

/* Services dropdown in menu (Kate, 20 Nov 2026) */
.nav-dd{position:relative;display:inline-flex;align-items:center;}
.nav-dd__menu{position:absolute;top:100%;left:50%;transform:translate(-50%,8px);min-width:270px;padding:.6rem;margin-top:.6rem;background:rgba(11,10,9,.97);border:1px solid rgba(232,168,56,.22);border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.55);display:flex;flex-direction:column;gap:2px;opacity:0;visibility:hidden;transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:200;}
.nav-dd__menu::before{content:"";position:absolute;left:0;right:0;top:-1.2rem;height:1.2rem;}
.nav-dd:hover .nav-dd__menu,.nav-dd:focus-within .nav-dd__menu{opacity:1;visibility:visible;transform:translate(-50%,0);}
.nav-desktop .nav-dd__menu a{display:block;padding:.55rem .85rem;border-radius:9px;white-space:nowrap;font-size:.92rem;}
.nav-desktop .nav-dd__menu a:hover{background:rgba(232,168,56,.12);color:var(--honey);}
.nav-mobile a.nav-mobile-sub{padding-left:1.4rem;font-size:.95rem;opacity:.8;}
.nav-desktop .nav-dd__menu a::after{display:none;}
.nav-desktop .nav-dd__menu a{font-size:.85rem;letter-spacing:.02em;padding-bottom:.55rem;}
.nav-mobile{justify-content:flex-start;overflow-y:auto;padding-top:6rem;}
.nav-mobile a{font-size:clamp(1.6rem,6.5vw,2.4rem);}
.nav-mobile a.nav-mobile-sub{font-family:var(--font-sans);font-size:1rem;padding:.45rem 0 .45rem 1.2rem;border-bottom-color:transparent;color:rgba(242,234,218,.75);}


/* ============================================================
   Service page photos (from the previous Durable site)
   Scoped .svc-photo* classes. 20 Nov 2026
   ============================================================ */

.page-hero--service .svc-hero-wrap {
  display: grid;
  gap: var(--space-md);
  align-items: center;
  padding-bottom: var(--space-xl);
}
@media (min-width: 900px) {
  .page-hero--service .svc-hero-wrap:not(.svc-hero-wrap--collage) {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 40%);
    gap: var(--space-xl);
    padding-top: var(--space-sm);
    padding-bottom: var(--space-xl);
  }
}
.svc-hero-copy { min-width: 0; }
.svc-hero-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 168, 56, 0.22);
  background: var(--ink-elevated, #141210);
  aspect-ratio: 16 / 10;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
@media (min-width: 900px) {
  .page-hero--service .svc-hero-wrap:not(.svc-hero-wrap--collage) .svc-hero-photo {
    aspect-ratio: 4 / 5;
    max-height: 34rem;
  }
}
.svc-hero-photo img,
.svc-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}
.svc-hero-photo::after,
.svc-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(11, 10, 9, 0.42) 100%),
    linear-gradient(90deg, rgba(11, 10, 9, 0.16), transparent 45%);
  box-shadow: inset 0 0 0 1px rgba(232, 168, 56, 0.08);
}
.svc-hero-wrap--collage {
  grid-template-columns: 1fr;
}
.svc-hero-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 700px) {
  .svc-hero-collage {
    grid-template-columns: 1fr 1fr;
  }
  .svc-hero-photo--wide {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 8;
  }
}
.svc-hero-collage .svc-hero-photo { aspect-ratio: 16 / 10; }

/* Keep body copy on the 42rem article measure; only photo grids may be wider. */
.service-page-body { min-width: 0; grid-template-columns: minmax(0, 100%); }

.service-do-grid.svc-photo-grid,
.svc-photo-grid {
  display: grid;
  gap: 1.5rem 1.35rem;
  margin: 0.85rem 0 1.5rem;
  padding: 0;
  list-style: none;
  /* Break out of the 42rem article measure so photo cards can breathe. */
  width: min(var(--max-w, 72rem), calc(100vw - 2.5rem));
  max-width: none;
}
@media (min-width: 700px) {
  .service-do-grid.svc-photo-grid,
  .svc-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .service-do-grid.svc-photo-grid,
  .svc-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.article-body ul.svc-photo-grid,
.article-body ol.svc-photo-grid {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.article-body .svc-photo-grid > li { padding-left: 0; }
.article-body .svc-photo-grid > li::marker { content: none; color: transparent; }

.service-do-item .svc-photo,
.svc-photo {
  margin: 0 0 0.85rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(232, 168, 56, 0.18);
  background: var(--ink-elevated, #141210);
  aspect-ratio: 4 / 3;
}
.svc-photo img.svc-photo__img--top { object-position: center 18%; }

.svc-photo-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.svc-photo-card .svc-photo { margin-bottom: 0.8rem; }
.svc-photo-card__text {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.svc-photo-card--text {
  justify-content: flex-end;
  border: 1px solid rgba(232, 168, 56, 0.16);
  padding: 1.15rem 1.1rem;
  background: rgba(20, 18, 16, 0.55);
}

/* Keep visible step numbers when a process <ol> is restyled as cards. */
ol.svc-photo-grid { counter-reset: svc-step; }
ol.svc-photo-grid > li { counter-increment: svc-step; }
ol.svc-photo-grid > li .svc-photo-card__text::before {
  content: counter(svc-step) ". ";
  color: var(--honey);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.svc-photo-grid--examples {
  margin-top: 1.25rem;
}
@media (min-width: 700px) {
  .svc-photo-grid.svc-photo-grid--examples {
    grid-template-columns: repeat(2, 1fr);
  }
}
.svc-photo--example {
  margin: 0;
  aspect-ratio: 1 / 1;
}

@media (prefers-reduced-motion: reduce) {
  .svc-hero-photo img,
  .svc-photo img { filter: none; }
}

/* ---------- Work section, 20 Nov 2026: no hex overlay, subtle tint, solid black text panel ---------- */
.work-item__hex { display: none !important; }
.work-item__visual-inner.has-photo::before,
.work-item__visual-inner::before {
  background-image: linear-gradient(135deg, rgba(11, 10, 9, 0.28) 0%, rgba(11, 10, 9, 0.08) 45%, rgba(232, 168, 56, 0.10) 100%);
  background-size: auto;
  opacity: 1;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
  z-index: 1;
}
.work-item__body {
  background: #000;
  position: relative;
  z-index: 1;
}
.work-item__credit {
  position: absolute;
  right: 0.75rem;
  bottom: 0.6rem;
  z-index: 4;
  margin: 0;
  max-width: calc(100% - 1.5rem);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: rgba(255, 248, 231, 0.82);
  background: rgba(11, 10, 9, 0.62);
  padding: 0.25rem 0.5rem;
  text-align: right;
  pointer-events: none;
}

/* ---------- About hero, 20 Nov 2026: golden wheat banner ---------- */
.page-hero--about .page-hero__plate--wheat {
  opacity: 1;
  mix-blend-mode: normal;
  background-position: 70% center;
}
.page-hero--about .page-hero__plate--wheat::after {
  background:
    linear-gradient(90deg,
      rgba(11, 10, 9, 0.85) 0%,
      rgba(11, 10, 9, 0.78) 30%,
      rgba(11, 10, 9, 0.42) 58%,
      rgba(232, 168, 56, 0.08) 100%),
    linear-gradient(180deg, rgba(11, 10, 9, 0) 60%, rgba(11, 10, 9, 0.9) 100%);
}
@media (max-width: 800px) {
  .page-hero--about .page-hero__plate--wheat { background-position: 72% center; }
  .page-hero--about .page-hero__plate--wheat::after {
    background:
      linear-gradient(90deg, rgba(11, 10, 9, 0.85) 0%, rgba(11, 10, 9, 0.72) 70%, rgba(11, 10, 9, 0.5) 100%),
      linear-gradient(180deg, rgba(11, 10, 9, 0.1) 50%, rgba(11, 10, 9, 0.92) 100%);
  }
}
/* Keep the parallax gap between photo and text panel black, not the section colour */
.work-item,
.work-item:hover { background: #000; }
/* Work card "Visit website" link */
.work-item__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 168, 56, 0.35);
  padding-bottom: 0.2rem;
  transition: color 0.3s, border-color 0.3s;
}
.work-item__link span { transition: transform 0.3s var(--ease-out); }
.work-item__link:hover,
.work-item__link:focus-visible { color: var(--honey-bright); border-color: var(--honey-bright); }
.work-item__link:hover span { transform: translateX(3px); }
/* Browser-framed website screenshots: show the whole frame, never crop the window */
.work-item__visual img.work-photo--framed {
  object-fit: contain;
  object-position: center;
}

/* 20 Nov 2026 (Kate): gold hex border vanished along the bottom edges on
   mobile Safari (photo height overflowed the aspect-ratio box). Pin the
   inner hex 2px inside the gold frame so the border shows on all sides. */
.team-section .team-card__hex { box-sizing: border-box; }
.team-section .team-card__hex-inner {
  position: absolute !important;
  inset: 2px !important;
  width: auto !important;
  height: auto !important;
}
.team-section .team-card__hex-inner picture {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
}
