/* v3 Our Team (2026-11-06). On top of blog.css (the wash, the hero, the cards, the climb). */

/* ---------- the hero in orange (Ryan, 2026-11-06: orange instead of red) ----------
   the mark's orange #e8722a through a deep burnt orange at the far edge to a pale apricot pool */
[data-wash="crimson"] { --w1: 196, 84, 26; --w2: 232, 114, 42; --deep: 128, 48, 14; --topo: 92, 30, 6; --pool: 250, 176, 120; }
.blog-hero[data-wash="crimson"] .wash-bg { filter: saturate(1.1);
  background:
    radial-gradient(46% 58% at 18% 42%, rgba(var(--w2), 0.85), rgba(var(--w2), 0) 70%),
    radial-gradient(40% 54% at 76% 28%, rgba(var(--w2), 0.7), rgba(var(--w2), 0) 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(var(--w1), 0.9), rgba(var(--w1), 0) 70%),
    linear-gradient(180deg, rgb(var(--deep)) 0%, rgb(var(--w1)) 45%, rgb(var(--w2)) 100%); }
.team .blog-title { text-shadow: 0 2px 40px rgba(92, 30, 6, 0.3); }
/* the ink band (2026-11-06, "one palette, three terrains"): the only dark hero on the site,
   cream contour lines on ink, the title top left, the aircraft taking off from under it */
/* the ink tokens, the wash and the nav overrides live in blog.css (the night map, shared by every page) */
/* 2026-11-07 (Ryan: "bring the header down and extend the topo map"): a full screen of map, the title at its foot */
.team .blog-hero[data-wash="ink"] { min-height: 100svh; align-items: stretch; }
.team .blog-hero[data-wash="ink"] .blog-title { width: 100%; max-width: var(--col); margin: auto auto 0; text-align: left; }
/* a colourless take, for previews: ?wash=slate (Ryan, 2026-11-06: "the our team without color") */
[data-wash="slate"] { --w1: 72, 78, 86; --w2: 128, 136, 146; --deep: 38, 42, 48; --topo: 14, 18, 24; --pool: 196, 204, 214; }
.blog-hero[data-wash="slate"] .wash-bg { filter: saturate(0.2);
  background:
    radial-gradient(46% 58% at 18% 42%, rgba(var(--w2), 0.85), rgba(var(--w2), 0) 70%),
    radial-gradient(40% 54% at 76% 28%, rgba(var(--w2), 0.7), rgba(var(--w2), 0) 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(var(--w1), 0.9), rgba(var(--w1), 0) 70%),
    linear-gradient(180deg, rgb(var(--deep)) 0%, rgb(var(--w1)) 45%, rgb(var(--w2)) 100%); }
.blog-hero[data-wash="slate"] .blog-title { text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); }

/* ---------- no peeking card on this page: the team starts under the hero ---------- */
.team .blog-hero { --peek: 0px; padding-bottom: clamp(56px, 9vh, 110px); }
.team-sec { padding-top: clamp(56px, 7vw, 96px); }
.why-seq { color: var(--signal); margin: 14px 0 0; }

/* ---------- the team ---------- */
.team-sec .stay-lede { text-align: center; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(26px, 3.4vw, 44px); }
.person { margin: 0; }
.person-card { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--ink); text-decoration: none; color: #fff; isolation: isolate;
  box-shadow: 0 1px 0 rgba(16, 21, 27, 0.04), 0 22px 44px -30px rgba(16, 21, 27, 0.5);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s; }
.person-card picture, .person-card img { display: block; width: 100%; height: 100%; }
.person-card img { object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s; }
.person-card:hover, .person-card:focus-visible { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(16, 21, 27, 0.04), 0 30px 50px -28px rgba(16, 21, 27, 0.6); }
.person-card:hover img, .person-card:focus-visible img { transform: scale(1.05); }
.person-card:focus-visible { outline: 3px solid rgba(232, 114, 42, 0.55); outline-offset: 4px; }
/* on hover the photo blurs and darkens, and the role and the Connect pill come up in its centre */
.person-card:hover img, .person-card:focus-visible img { transform: scale(1.06); filter: blur(10px) brightness(0.62) saturate(0.9); }
.person-veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; text-align: center;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.person-card:hover .person-veil, .person-card:focus-visible .person-veil { opacity: 1; transform: none; }
.person-role { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); text-wrap: balance; }
.person-connect { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -0.005em; transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.person-connect .ext { color: var(--muted); font-weight: 500; }
.person-card:hover .person-connect { background: var(--signal-bright); color: #fff; }
.person-card:hover .person-connect .ext { color: rgba(255, 255, 255, 0.8); }
.person-card:active .person-connect { transform: scale(0.97); }
.person-name { margin: 12px 2px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.person-role-static { margin: 2px 2px 0; font-size: 14px; color: var(--muted); }
/* a fine pointer hides the static role (the veil carries it); touch keeps it and the veil up */
@media (hover: hover) and (pointer: fine) { .person-role-static { display: none; } }
@media (hover: none) { .person-veil { opacity: 1; transform: none; } .person-card img { filter: blur(6px) brightness(0.65); } .person-role-static { display: none; } }

/* ---------- THE ORIGIN (2026-11-08): no card; the story as display type, read in word by word ---------- */
.origin-sec { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 170px); padding-bottom: clamp(40px, 6vw, 90px); }
.origin-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.origin-head { position: sticky; top: clamp(90px, 14vh, 140px); }
.origin-eyebrow { margin: 0 0 12px; color: var(--signal); }
/* the heading leads (Ryan, 2026-11-08: "why is the text bigger than the header?") */
.origin-title { margin: 0; font-size: clamp(40px, 5vw, 76px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
.origin-text { margin: 0; padding-top: clamp(26px, 2.6vw, 40px); font-size: clamp(20px, 1.85vw, 27px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.38; text-wrap: pretty; color: var(--ink); }
/* the read: each word starts faint and fills in as the scroll reaches it */
.js .origin-text .ow { color: rgba(16, 21, 27, 0.14); transition: color 0.35s ease; }
.js .origin-text .ow.on { color: var(--ink); }
.js .origin-text .origin-hl .ow.on { color: var(--signal-bright); }
.why-seq { color: var(--signal); margin: 8px 0 0 !important; font-size: 10.5px !important; }

/* ---------- timeline: the live site's rail list ---------- */
.centre-text { text-align: center; margin: 0 0 10px; }
.tl-list { --tl-gap: clamp(30px, 5vw, 68px); --tl-ease: cubic-bezier(0.16, 1, 0.3, 1); position: relative; margin: clamp(40px, 6vw, 80px) auto 0; max-width: 900px; z-index: 2; }
.tl-track, .tl-fill { position: absolute; left: 50%; margin-left: -0.5px; top: 0; bottom: 0; width: 1px; }
.tl-track { background: var(--hair); }
.tl-fill { background: var(--signal-bright); transform: scaleY(0); transform-origin: top; will-change: transform; }
.tl-item { position: relative; width: calc(50% - var(--tl-gap)); margin: 0; }
.tl-item + .tl-item { margin-top: clamp(72px, 11vh, 140px); }   /* roomier than the live site, so the route crosses between entries */
.tl-item:nth-of-type(odd) { margin-left: auto; }
.tl-item:nth-of-type(even) { margin-right: auto; text-align: right; }
.tl-item:nth-of-type(even) .tl-badge { margin-left: auto; }
.tl-item::before { content: ""; position: absolute; top: 0.72em; height: 1px; width: var(--tl-gap); background: var(--hair); transition: transform 0.7s var(--tl-ease) 0.12s, background 0.7s ease 0.12s; }
.tl-item:nth-of-type(odd)::before { left: calc(-1 * var(--tl-gap)); transform-origin: left; }
.tl-item:nth-of-type(even)::before { right: calc(-1 * var(--tl-gap)); transform-origin: right; }
.tl-item.visible::before { background: var(--signal-bright); }
.tl-item::after { content: ""; position: absolute; top: calc(0.72em - 2px); width: 5px; height: 5px; background: var(--bg); border: 1px solid var(--hair); transition: transform 0.6s var(--tl-ease) 0.05s, border-color 0.7s ease 0.12s, background 0.7s ease 0.12s; }
.tl-item:nth-of-type(odd)::after { left: calc(-1 * var(--tl-gap) - 3px); }
.tl-item:nth-of-type(even)::after { right: calc(-1 * var(--tl-gap) - 3px); }
.tl-item.visible::after { background: var(--signal-bright); border-color: var(--signal-bright); }
/* entrance: each entry slides in from its own side as the aircraft passes, the text staggering after */
.js .tl-item { transform: translate3d(var(--tl-from, 0), 8px, 0); transition: transform 0.9s var(--tl-ease); }
.js .tl-item:nth-of-type(odd) { --tl-from: 32px; }
.js .tl-item:nth-of-type(even) { --tl-from: -32px; }
.js .tl-item.visible { transform: translate3d(0, 0, 0); }
.js .tl-item::after { transform: scale(0); }
.js .tl-item.visible::after { transform: scale(1); }
.js .tl-item::before { transform: scaleX(0); }
.js .tl-item.visible::before { transform: scaleX(1); }
.js .tl-item .tl-date, .js .tl-item h3, .js .tl-item p:not(.tl-date), .js .tl-item .tl-badge { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--tl-ease), transform 0.7s var(--tl-ease); }
.js .tl-item.visible .tl-date, .js .tl-item.visible h3, .js .tl-item.visible p:not(.tl-date), .js .tl-item.visible .tl-badge { opacity: 1; transform: translateY(0); }
.js .tl-item.visible .tl-date { transition-delay: 0.18s; } .js .tl-item.visible h3 { transition-delay: 0.26s; } .js .tl-item.visible p:not(.tl-date) { transition-delay: 0.34s; } .js .tl-item.visible .tl-badge { transition-delay: 0.42s; }
.tl-item .tl-date { margin: 0 0 6px; font-family: "Michroma", sans-serif; font-size: 10.5px; letter-spacing: 0.08em; color: var(--signal); }
.tl-item h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.tl-item p:not(.tl-date) { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.tl-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 12px 8px 8px; border: 1px solid var(--hair); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 13px; transition: border-color 0.2s, transform 0.2s; }
.tl-badge:hover { border-color: var(--ink); transform: translateY(-1px); }
.tl-badge-mark { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--signal-bright); color: #fff; align-items: center; justify-content: center; }
.tl-badge-copy { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.tl-badge-org { font-weight: 600; }
.tl-badge-prog { color: var(--muted); font-size: 12px; }
.tl-badge-out { color: var(--muted); }
/* the flight: the layer spans main; the route runs the timeline gutter and on to the footer line */
.team-main { position: relative; }
.tl-flight { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.tl-sec, .origin-sec, .landing { position: relative; z-index: 1; }
.tl-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tl-ahead { stroke: var(--signal-bright); stroke-width: 2; stroke-dasharray: 7 7; stroke-linecap: round; opacity: 0.45; }
.tl-gone { stroke: var(--signal-bright); stroke-width: 2.4; stroke-linecap: round; }
.tl-nodes rect { fill: #fff; stroke: var(--signal-bright); stroke-width: 2; transition: fill 0.3s; }
.tl-nodes rect.lit { fill: var(--signal-bright); }
.tl-drone { position: absolute; top: 0; left: 0; width: clamp(52px, 6.5vw, 84px); height: auto; will-change: transform; filter: drop-shadow(0 8px 12px rgba(16, 21, 27, 0.2)); transition: filter 0.5s; }
.landed .tl-drone { filter: drop-shadow(0 2px 3px rgba(16, 21, 27, 0.25)); }   /* on the ground, the shadow closes up */
/* the landing: the approach is open page; the two bubbles wait a little above the touchdown, side by
   side, just above the footer line, and pop up once the aircraft is down beneath them */
.landing { padding: clamp(40px, 8vh, 90px) 0 clamp(26px, 4vh, 40px); }
.landing-col { display: flex; justify-content: center; align-items: flex-start; gap: clamp(56px, 10vw, 170px); min-height: clamp(220px, 36vh, 360px); padding-bottom: clamp(100px, 16vh, 170px); }
.land-isle { --d: 0s; --rot: 0deg;   /* level (was -4deg, 2026-11-06): markers, not speech bubbles */ font-size: clamp(26px, 3.6vw, 50px); opacity: 0; flex: 0 0 clamp(300px, 31vw, 430px); min-width: max-content; text-align: center; transform: translateY(14px) rotate(var(--rot)) scale(0.72); transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1) var(--d), transform 0.7s cubic-bezier(0.34, 1.45, 0.64, 1) var(--d); }
.land-b { --rot: 0deg; --d: 0.18s; padding: 0.42em 1.1em; border-color: rgba(232, 114, 42, 0.35); }
.land-b a { color: var(--signal-bright); text-decoration: none; display: inline-block; transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms; }
.land-b a:hover { color: var(--signal); }
.land-b a:active { transform: scale(0.97); }
.land-b a:focus-visible { outline: 3px solid rgba(232, 114, 42, 0.45); outline-offset: 6px; border-radius: 8px; }
.landed .land-isle, html:not(.js) .land-isle { opacity: 1; transform: rotate(var(--rot)); }
/* no js, or a phone: the cards in one column, every card lit, no flight */
html:not(.js) .tl-item { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .people { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .origin-grid { grid-template-columns: 1fr; gap: 16px; }
  .origin-head { position: static; }
  .tl-list { --tl-gap: 22px; }
  .tl-track, .tl-fill { left: 0; }
  .tl-item, .tl-item:nth-of-type(odd), .tl-item:nth-of-type(even) { width: auto; margin-left: calc(var(--tl-gap) + 8px); margin-right: 0; text-align: left; }
  .js .tl-item:nth-of-type(odd), .js .tl-item:nth-of-type(even) { --tl-from: 0px; }   /* one column: the cards rise into place, no sideways slide past the screen edge (2026-11-07) */
  .tl-item:nth-of-type(even)::before { left: calc(-1 * var(--tl-gap)); right: auto; transform-origin: left; }
  .tl-item:nth-of-type(even)::after { left: calc(-1 * var(--tl-gap) - 3px); right: auto; }
  .tl-item:nth-of-type(even) .tl-badge { margin-left: 0; }
  .tl-flight { display: none; }
  .landing-col { gap: 18px; min-height: 0; flex-wrap: wrap; }
  .land-isle, .landed .land-isle { opacity: 1; transform: rotate(var(--rot)); transition: none; }
}
@media (max-width: 480px) { .people { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .person-card, .person-card img, .person-veil, .tl-badge, .tl-item, .tl-item::before, .tl-item::after, .tl-item *, .land-isle, .origin-text .ow { transition: none !important; } .land-isle { opacity: 1; transform: rotate(var(--rot)); } .person-card:hover { transform: none; } .person-card:hover img { transform: none; } }

/* the nav over the dark hero: blog.css, .dark-hero (shared) */

/* phones (Ryan, 2026-11-08): two by two with Alex centred under everyone; the photo stays clear
   and the position plus a Connect link sit under each name */
.person-cta { display: none; }
@media (max-width: 700px) {
  .people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
  .people > .person { grid-column: span 2; text-align: center; }
  .people > .person:last-child:nth-child(odd) { grid-column: 2 / span 2; }
  .person-veil { display: none; }
  .person-card img, .person-card:hover img { filter: none; transform: none; }
  .person-name { font-size: 16px; }
  .person-role-static { display: block !important; font-size: 13px; line-height: 1.3; }
  .person-cta { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--signal); text-decoration: none; border-bottom: 1px solid currentColor; line-height: 1.3; }
}
/* phones: entries as close together as on the live About page (the flight that needed the room is off) */
@media (max-width: 800px) { .tl-item + .tl-item { margin-top: 44px; } }

/* the closing line and button from the live About page, phones only (Ryan, 2026-11-08); the
   landing bubbles stay on desktop, where the aircraft lands on them */
.team-cta { display: none; }
@media (max-width: 800px) {
  .team-cta { position: relative; z-index: 1; display: grid; align-content: center; min-height: 52svh; text-align: center; padding-block: clamp(72px, 11vh, 128px); }
  .team-cta h2 { margin: 0 auto; max-width: 20ch; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 660; letter-spacing: 0; line-height: 1.1; text-wrap: balance; }
  .team-cta-btn { justify-self: center; display: inline-flex; align-items: center; margin-top: clamp(28px, 4vh, 42px); padding: 12px 24px; border-radius: 999px; background: var(--signal-bright); color: #fff; font-size: 1rem; font-weight: 600; text-decoration: none; transition: background-color 0.2s, transform 0.2s; }
  .team-cta-btn:hover { background: color-mix(in srgb, var(--signal-bright) 86%, #10151b); }
  .team-cta-btn:active { transform: scale(0.97); }
  .landing { display: none; }
}
