/* ─── FONTS: self-hosted Spline Sans (variable woff2) ─────── */
/* latin */
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/spline-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/spline-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* metrics-matched fallback to minimize CLS during font swap */
@font-face {
  font-family: 'Spline Sans Fallback';
  src: local('Arial');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* ─── PASSWORD GATE ──────────────────────────────────────── */
.password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--lightest-lilac, #f8f5fe);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.password-gate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 360px;
  text-align: center;
}
.password-gate-logo { height: 28px; width: auto; }
.password-gate-label {
  font-size: 0.875rem;
  color: #959596;
  margin: 0;
  letter-spacing: 0.01em;
}
.password-gate-form {
  display: flex;
  gap: 0.625rem;
  width: 100%;
}
.password-gate-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0,47,167,0.2);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  background: white;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.15s;
}
.password-gate-input:focus { border-color: #002fa7; }
.password-gate-error {
  font-size: 0.8125rem;
  color: #fe3d22;
  margin: 0;
}

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --klein-blue:     #002fa7;
  --gai-red:        #fe3d22;
  --almost-black:   #1a1a1a;
  --concrete-grey:  #959596;
  --muted-text:     #6b6b6c; /* accessible muted text (≥4.5:1 on lilac); --concrete-grey stays for backgrounds/decoration */
  --lightest-lilac: #f8f5fe;
  --highlighter:    #def604;
  --mellow-orange:  #ff8a3b;
  --dusty-tan:      #dcd9ca;

  --bg:     var(--lightest-lilac);
  --ink:    var(--almost-black);
  --brand:  var(--klein-blue);
  --accent: var(--gai-red);

  --font-sans: 'Spline Sans', 'Spline Sans Fallback', system-ui, -apple-system, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;

  --container-max:    1200px;
  --container-narrow: 720px;
  --radius:           6px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
p { margin-top: 0; text-wrap: pretty; }
ul, ol { margin-top: 0; }
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

/* ─── UTILITIES ──────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 0.75rem;
  display: block;
}
.text-intro {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--almost-black);
  max-width: 56ch;
}
.text-link {
  color: var(--brand);
  font-weight: 600;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.section--tan  { background-color: var(--dusty-tan); }
.section--dark { background-color: var(--almost-black); color: white; }
.section--blue { background-color: var(--klein-blue); color: white; }
.section--red  { background-color: var(--gai-red); color: white; }
.section--blue .text-kicker,
.section--red  .text-kicker { color: rgba(255,255,255,0.8); }

/* ─── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(0,47,167,0.1);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.15rem;
  gap: 1.5rem;
}
.site-logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.site-logo img { height: 26px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-nav a:hover,
.site-nav a.active { color: var(--brand); background: rgba(0,47,167,0.06); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem 1rem;
    gap: 0;
    z-index: 99;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.75rem 0.75rem; width: 100%; min-height: 44px; display: flex; align-items: center; }
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 98;
  cursor: pointer;
}
@media (max-width: 680px) {
  .nav-scrim.is-visible { display: block; }
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--klein-blue);
  color: var(--lightest-lilac);
  border-color: var(--klein-blue);
}
.btn-primary:hover { background: #0038cc; border-color: #0038cc; color: white; }
.btn-outline {
  background: transparent;
  color: var(--klein-blue);
  border-color: var(--klein-blue);
}
.btn-outline:hover { background: var(--klein-blue); color: var(--lightest-lilac); }
.btn-ghost-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero-kicker { margin-bottom: 1.25rem; }
.hero-title {
  color: var(--klein-blue);
  max-width: 18ch;
  margin-bottom: 1.5rem;
  line-height: 1.08;
}
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  max-width: 52ch;
  margin-bottom: 2.5rem;
  color: var(--almost-black);
}
.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}
.home-hero,
.community-practice-brush-bottom {
  --home-hero-bg: var(--klein-blue);
  position: relative;
  overflow: visible;
  z-index: 1;
  background: var(--home-hero-bg);
}
.community-practice-brush-bottom::after {
  content: "";
}
.hero-brush-edge,
.community-practice-brush-bottom::after {
  --brush-artifact-crop: 2px; /* Hides SVG mask edge artifacts during resize. */
  position: absolute;
  left: 50%;
  /* Tune vertical overlap into the following section. */
  bottom: clamp(-62px, -4.0vw, -26px);
  /* Tune brush width. Full viewport width is enough because the mask now repeats horizontally. */
  width: 100vw;
  /* Tune brush height. */
  height: clamp(48px, 7vw, 110px);
  transform: translateX(-50%);
  background: var(--home-hero-bg);
  -webkit-mask-image: url("/assets/graphics/blue-brush-underline.svg");
  mask-image: url("/assets/graphics/blue-brush-underline.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: center calc(100% + var(--brush-artifact-crop));
  mask-position: center calc(100% + var(--brush-artifact-crop));
  /* Tune mask sizing: first value controls repeat tile width, second controls height. */
  -webkit-mask-size: auto 100%;
  mask-size: auto 100%;
  pointer-events: none;
}
.home-hero + .section,
.community-practice-brush-bottom + .section {
  padding-top: calc(clamp(3rem, 8vw, 5.5rem) + clamp(1.25rem, 3vw, 2.75rem));
}

/* Community hero */
.community-hero {
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
}
.community-hero .text-kicker {
  margin-bottom: 1.25rem;
}
.community-hero .hero-title {
  max-width: 26ch;
  margin-bottom: 1.75rem;
  color: white;
  font-size: clamp(2.75rem, 5.4vw, 4.75rem);
  line-height: 1.02;
}
.community-hero .hero-sub {
  max-width: 56ch;
  margin-bottom: 0;
  color: rgba(255,255,255,0.85);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

/* Community: What we are */
.community-what-is {
  position: relative;
  isolation: isolate;
  background-image: url("/assets/graphics/background_1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.community-what-is::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(248,245,254,0.42);
}

.community-what-is > .container {
  position: relative;
  z-index: 1;
}

.community-what-is h2,
.community-what-is .text-intro {
  max-width: 54rem;
}

.community-what-is .what-is-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.community-what-is .what-is-card {
  min-height: 100%;
  box-shadow: 0 10px 30px rgba(24,24,24,0.04);
}

/* ─── COMMUNITY: WHY WE EXIST ────────────────────────────── */
.community-why-exists {
  position: relative;
  isolation: isolate;
  background-color: var(--lightest-lilac);
  background-image: url("/assets/graphics/background_1.webp");
  background-size: cover;
  background-position: center;
}

.community-why-exists__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.community-why-exists__visual {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(24,24,24,0.08);
}

.community-why-exists__layout > .img-protect {
  z-index: 1;
}

.community-why-exists__body {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.community-why-exists__heading {
  margin: 0 0 1.5rem clamp(-6rem, -7vw, -3.5rem);
  padding: clamp(0.75rem, 1.8vw, 1.25rem) clamp(1rem, 2.5vw, 2rem);
  border: clamp(4px, 0.5vw, 6px) solid var(--gai-red);
}

.community-why-exists__heading .text-kicker {
  margin-bottom: 0.625rem;
}

.community-why-exists__heading h2 {
  margin-bottom: 0;
}

.community-why-exists__body .text-intro {
  max-width: 58ch;
}

@media (max-width: 760px) {
  .community-why-exists__layout {
    grid-template-columns: 1fr;
  }

  .community-why-exists__visual {
    width: min(100%, 24rem);
    aspect-ratio: 4 / 3;
  }

  .community-why-exists__heading {
    margin-left: 0;
  }
}

/* ─── STATEMENT BAND ─────────────────────────────────────── */
.statement-text {
  font-size: clamp(1.2rem, 2.5vw, 1.625rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 48ch;
  color: white;
}

/* ─── PILLAR CARDS ───────────────────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.pillar-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
/* Brand color backgrounds for the four pillar cards. */
.pillar-card--red    { background: var(--gai-red); }
.pillar-card--orange { background: var(--mellow-orange); }
.pillar-card--blue   { background: var(--klein-blue); }
.pillar-card--grey   { background: var(--concrete-grey); }
.pillar-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.pillar-title { font-size: 1.125rem; font-weight: 700; margin: 0; }
.pillar-desc { font-size: 0.95rem; opacity: 1; margin: 0; flex: 1; line-height: 1.5; color: rgba(255,255,255,0.96); }
.pillar-link {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  opacity: 0.85;
  transition: opacity 0.15s;
  min-height: 44px;
}
.pillar-link:hover { opacity: 1; }

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* ─── MAKES FLOW ─────────────────────────────────────────── */
.makes-flow {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--almost-black);
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
}
.makes-flow .dot { color: var(--gai-red); margin-inline: 0.35em; }

/* ─── THREADS ────────────────────────────────────────────── */
.threads-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.threads-list li {
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-size: 1.0625rem;
  font-weight: 500;
}
.threads-list li:first-child { border-top: 1px solid rgba(0,0,0,0.1); }

/* ─── PEOPLE GRID ────────────────────────────────────────── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.person-card { display: flex; flex-direction: column; gap: 0.875rem; }
.person-portrait-wrap {
  aspect-ratio: 3/4;
  background: var(--dusty-tan);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.person-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.person-initials {
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted-text);
  letter-spacing: -0.02em;
}
.person-name { font-weight: 700; font-size: 1rem; margin: 0; }
.person-role { font-size: 0.875rem; color: var(--muted-text); margin: 0; line-height: 1.4; }
.person-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.person-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0,47,167,0.08);
  color: var(--klein-blue);
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}

.home-people {
  position: relative;
  isolation: isolate;
  background-position: center;
  background-repeat: no-repeat;
}
@media (min-width: 680px) {
  .home-people { background-image: url("/assets/graphics/background_1.webp"); background-size: cover; }
}

.home-people::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(248,245,254,0.72);
}

.home-people > .container {
  position: relative;
  z-index: 1;
}

.home-people .person-card__summary {
  max-width: 22rem;
  margin: -0.125rem 0 0;
  color: var(--almost-black);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 400;
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .home-people .people-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-people .person-home-card {
  --person-card-bg: #FE3D22;
  --person-card-accent: #FF8A3B;
  --person-card-ink: #1A1A1A;
  --person-card-text: #000000;
  --person-card-image-position: 50% 50%;
  --person-card-image-scale: 1;
  --person-card-panel-width: 57%;
  --person-card-panel-padding: 0;
  --person-card-first-name-size: clamp(2.25rem, 3.0vw, 2.95rem);
  --person-card-last-name-size: var(--person-card-first-name-size);
  --person-card-name-line-height: 0.9;
  --person-card-name-width: 82%;
  --person-card-name-top: 7%;
  --person-card-name-left: 9%;
  --person-card-degree-size: clamp(0.68rem, 1.15vw, 0.88rem);
  --person-card-degree-top: 7%;
  --person-card-degree-left: 78%;
  --person-card-degree-rotation: -90deg;
  --person-card-content-top: 31%;
  --person-card-content-left: 9%;
  --person-card-content-width: 78%;
  --person-card-title-size: clamp(1rem, 1.35vw, 1.25rem);
  --person-card-body-size: clamp(0.78rem, 1.02vw, 0.94rem);
  --person-card-mark-size: clamp(24px, 4.8vw, 36px);
  --person-card-mark-right: 6%;
  --person-card-mark-bottom: 5%;
  position: relative;
  aspect-ratio: 286.65 / 445.05;
  display: block;
  align-self: start;
  width: 100%;
  max-width: 382.2px;
  min-width: 0;
  overflow: hidden;
  background: var(--person-card-ink);
  color: var(--person-card-ink);
  box-sizing: border-box;
}
.home-people .person-home-card__panel {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: var(--person-card-panel-width);
  min-width: 0;
  min-height: 0;
  display: block;
  padding: var(--person-card-panel-padding);
  background: var(--person-card-bg);
  color: var(--person-card-ink);
  overflow: hidden;
  box-sizing: border-box;
}
.home-people .person-home-card__name {
  position: absolute;
  top: var(--person-card-name-top);
  left: var(--person-card-name-left);
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #1A1A1A;
  font-family: "Degular", var(--font-sans), sans-serif;
  font-weight: 900;
  line-height: var(--person-card-name-line-height);
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: normal;
}
.home-people .person-home-card__first-name,
.home-people .person-home-card__last-name {
  display: block;
  font-size: var(--person-card-first-name-size);
  line-height: var(--person-card-name-line-height);
  white-space: nowrap;
}
.home-people .person-home-card__last-name {
  font-size: var(--person-card-last-name-size);
}
.home-people .person-home-card--adrian-alsmith {
  --person-card-last-name-size: clamp(1.9rem, 2.35vw, 2.35rem);
}
.home-people .person-home-card--charles-lassiter {
  --person-card-first-name-size: clamp(1.8rem, 2.35vw, 2.35rem);
  --person-card-last-name-size: clamp(1.75rem, 2.2vw, 2.25rem);
}
.home-people .person-home-card--alex-grzankowski {
  --person-card-last-name-size: clamp(1.15rem, 1.45vw, 1.45rem);
}
.home-people .person-home-card__degree {
  position: absolute;
  top: auto;
  bottom: var(--person-card-mark-bottom);
  left: var(--person-card-name-left);
  right: auto;
  margin: 0;
  color: var(--person-card-ink);
  font-family: "Degular", var(--font-heading), sans-serif;
  font-size: var(--person-card-degree-size);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  transform: none;
}
.home-people .person-home-card__content {
  position: absolute;
  top: var(--person-card-content-top);
  left: var(--person-card-content-left);
  width: var(--person-card-content-width);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  max-height: 51%;
  overflow: hidden;
}
.home-people .person-home-card__title {
  margin: 0 0 0.85rem;
  color: #000;
  font-family: "Spline Sans", sans-serif;
  font-size: var(--person-card-title-size);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}
.home-people .person-home-card__summary,
.home-people .person-home-card__bio p {
  margin: 0;
  color: #000;
  font-family: "Spline Sans", sans-serif;
  font-size: var(--person-card-body-size);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0;
}
.home-people .person-home-card__mark {
  position: absolute;
  right: var(--person-card-mark-right);
  bottom: var(--person-card-mark-bottom);
  width: var(--person-card-mark-size);
  height: var(--person-card-mark-size);
  max-width: var(--person-card-mark-size);
  max-height: var(--person-card-mark-size);
  display: block;
}
.home-people .person-home-card__media {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background: var(--person-card-ink);
}
.home-people .person-home-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dusty-tan);
}
.home-people .person-home-card__portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--person-card-image-position, 50% 50%);
  filter: grayscale(1);
  transform: scale(var(--person-card-image-scale));
  transform-origin: var(--person-card-image-position, 50% 50%);
}

@media (max-width: 520px) {
  .home-people .person-home-card {
    width: 100%;
  }
  .home-people .person-home-card__panel {
    --person-card-panel-width: 64%;
  }
}

/* At 4-col desktop (≥1024px) cards are constrained to ~260px wide; the panel is
   only 148px. Cap name font sizes so they fit within the 135px of available space,
   and expand the content area so longer descriptions don't clip before the mark icon. */
@media (min-width: 1024px) {
  .home-people .person-home-card__content {
    max-height: 54%;
  }
  .home-people .person-home-card {
    --person-card-first-name-size: clamp(2.25rem, 3.0vw, 2.6rem);
  }
  .home-people .person-home-card--adrian-alsmith {
    --person-card-last-name-size: clamp(1.6rem, 2.35vw, 2.2rem);
  }
  .home-people .person-home-card--charles-lassiter {
    --person-card-first-name-size: clamp(1.8rem, 2.35vw, 2.2rem);
    --person-card-last-name-size: clamp(1.75rem, 2.2vw, 2.1rem);
  }
  .home-people .person-home-card--alex-grzankowski {
    --person-card-last-name-size: clamp(1.15rem, 1.45vw, 1.3rem);
  }
}

/* ─── PERSON CARD REVEAL ANIMATION ───────────────────────── */
.home-people .person-home-card {
  cursor: pointer;
  outline: none;
}
.home-people .person-home-card__panel {
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.38s ease;
  will-change: transform, opacity;
}

/* Hover reveal only on pointer devices — touch devices get tap-toggle via JS */
@media (hover: hover) and (pointer: fine) {
  .home-people .person-home-card:hover .person-home-card__panel,
  .home-people .person-home-card:focus-within .person-home-card__panel {
    transform: translateX(-100%);
    opacity: 0;
  }
}
/* JS sets data-revealed on tap; focus-within handles keyboard on all devices */
.home-people .person-home-card[data-revealed] .person-home-card__panel,
.home-people .person-home-card:focus-within .person-home-card__panel {
  transform: translateX(-100%);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .home-people .person-home-card__panel {
    transition: opacity 0.2s ease;
  }
  @media (hover: hover) and (pointer: fine) {
    .home-people .person-home-card:hover .person-home-card__panel {
      transform: none;
      opacity: 0;
    }
  }
  .home-people .person-home-card[data-revealed] .person-home-card__panel,
  .home-people .person-home-card:focus-within .person-home-card__panel {
    transform: none;
    opacity: 0;
  }
}

/* ─── CONTENT CARDS (ideas/learn) ────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.content-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}
@media (hover: hover) {
  .content-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    transform: translateY(-2px);
  }
}
.content-card-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content-card-type--article { color: var(--gai-red); }
.content-card-type--workshop { color: var(--mellow-orange); }
.content-card-type--talk { color: var(--klein-blue); }
.content-card h3 { font-size: 1.125rem; margin: 0; }
.content-card p { font-size: 0.9375rem; color: var(--muted-text); margin: 0; flex: 1; }
.content-card-date { font-size: 0.8125rem; color: var(--muted-text); }

/* ─── PRACTICE (case studies) ────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.process-step { display: flex; flex-direction: column; gap: 0.75rem; }
.step-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--klein-blue);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step-title { font-size: 1.25rem; font-weight: 700; margin: 0; }
.step-desc { font-size: 0.9375rem; color: var(--muted-text); margin: 0; }

@media (max-width: 680px) {
  .process-steps { grid-template-columns: 1fr; }
}

.case-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.case-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.case-logo { width: 52px; height: 52px; object-fit: contain; }
.case-title { font-weight: 700; font-size: 1.0625rem; margin: 0 0 0.25rem; }
.case-metric { font-size: 0.875rem; color: var(--muted-text); margin: 0; }
.case-detail { font-size: 0.9375rem; margin: 0.75rem 0 0; color: var(--almost-black); }
.checklist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.checklist li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9375rem;
}
.checklist li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--klein-blue);
  font-weight: 700;
}

/* ─── TOOLS ──────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.tool-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.tool-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tool-status--lab { color: var(--mellow-orange); }
.tool-status--beta { color: var(--klein-blue); }
.tool-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tool-title { font-size: 1.25rem; font-weight: 700; margin: 0; }
.tool-desc { font-size: 0.9375rem; color: var(--muted-text); margin: 0; }

/* ─── ABOUT ──────────────────────────────────────────────── */
.beliefs-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.beliefs-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.beliefs-list li:first-child { border-top: 1px solid rgba(0,0,0,0.08); }

/* ─── CONTACT ────────────────────────────────────────────── */
.connect-router {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.connect-router-inner {
  max-width: 960px;
}
.connect-router-intro {
  max-width: 720px;
}
.connect-router-intro h1 {
  margin: 0.75rem 0 1rem;
}
.connect-router-intro .text-intro {
  margin-bottom: 0;
}
.connect-router-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.connect-router-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
}
.connect-router-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  color: var(--klein-blue);
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.connect-router-choice h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}
.connect-router-choice p {
  flex: 1;
  margin-bottom: 1.5rem;
  color: var(--muted-text);
}
.connect-router-choice .btn:focus-visible {
  outline: 2px solid var(--klein-blue);
  outline-offset: 3px;
}
.connect-router-expectation {
  max-width: 720px;
  margin: 2rem 0 0;
  color: var(--muted-text);
}
@media (max-width: 680px) {
  .connect-router-choices {
    grid-template-columns: 1fr;
  }
}

.contact-page {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  grid-template-rows: auto 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-page-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  grid-column: 1;
  grid-row: 1;
}
.contact-page-intro h1 {
  margin-bottom: 0;
}
.contact-page-intro .text-intro {
  margin-bottom: 0;
}
.contact-form-panel {
  grid-column: 2;
  grid-row: 1 / 3;
}
.contact-page-media {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-page-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
}
.contact-reassurance {
  color: var(--muted-text);
  font-size: 0.80rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  max-width: 42rem;
}
.contact-form-panel {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.contact-form {
  display: grid;
  gap: 1.15rem;
}
.contact-form-error {
  color: var(--gai-red);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.contact-honeypot {
  display: none;
}
.contact-field {
  display: grid;
  gap: 0.45rem;
}
.contact-field span {
  color: var(--muted-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 4px;
  font: inherit;
  font-weight: 400;
  color: var(--almost-black);
  background: white;
}
.contact-field select:invalid {
  font-weight: 400;
}
.contact-field textarea {
  resize: vertical;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(0,47,167,0.18);
  outline-offset: 2px;
  border-color: var(--klein-blue);
}
@media (max-width: 820px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .contact-page-intro  { grid-column: 1; grid-row: 1; }
  .contact-form-panel  { grid-column: 1; grid-row: 2; }
  .contact-page-media  { grid-column: 1; grid-row: 3; }
}
.contact-thanks-page {
  min-height: 58vh;
  display: flex;
  align-items: center;
}
.contact-thanks-panel {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 5vw, 3rem);
}
.contact-thanks-panel h1 {
  margin-bottom: 1rem;
}
.contact-thanks-panel .text-intro {
  margin-bottom: 2rem;
}

/* ─── CTA SECTIONS ───────────────────────────────────────── */
.cta-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; margin-top: 2rem; }
.section--blue h2,
.section--red h2 { color: white; }
.section--blue p,
.section--red p { color: rgba(255,255,255,0.82); }
.section--blue .text-intro,
.section--red .text-intro { color: rgba(255,255,255,0.85); }

/* ─── PAGE HEADER ────────────────────────────────────────── */
.page-header { padding-bottom: 0; }
.page-header h1 { margin-bottom: 1rem; }
.page-header .text-intro { margin-bottom: 0; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--almost-black);
  color: rgba(255,255,255,0.65);
  padding-block: 3.5rem;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: calc(3.5rem + env(safe-area-inset-bottom));
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-logo { color: white; font-size: 1.125rem; font-weight: 700; text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.footer-tagline { font-size: 0.9rem; line-height: 1.5; }
.footer-parent { font-size: 0.8rem; opacity: 0.5; margin-top: 0.25rem; }
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.875rem;
  display: block;
}
.footer-nav-links { display: flex; flex-direction: column; gap: 0; }
.footer-nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-nav-links a:hover { color: white; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8125rem;
  opacity: 0.7;
}

@media (max-width: 760px) {
  .footer-layout { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-layout { grid-template-columns: 1fr; }
}

/* ─── HOMEPAGE: WHAT IS GRID ─────────────────────────────── */
.home-what-is {
  /* Background image tuning:
     - Left/right: change --organization-bg-x.
       Example: 45% moves the focal point left, 55% moves it right.
     - Up/down: change --organization-bg-y.
       Example: 45% moves the focal point up, 55% moves it down.
     Because background-size is cover, the crop shifts responsively by viewport size. */
  --organization-bg-x: center;
  --organization-bg-y: center;
  --rect-anchor-x: 0;
  --rect-anchor-y: 0;
  --rect-nudge-x: -3.50rem;
  --rect-nudge-y: -1.75rem;
  --rect-width: calc(min(72vw, 1060px) - 1rem);
  --rect-height: 124px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  background-position: var(--organization-bg-x) var(--organization-bg-y);
  background-repeat: no-repeat;
}
@media (min-width: 680px) {
  .home-what-is { background-image: url("/assets/graphics/background_1.webp"); background-size: cover; }
}

.home-what-is::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(248,245,254,0.42);
}

.home-what-is > .container {
  position: relative;
  z-index: 1;
}

.home-what-is .media-split__body {
  position: relative;
}

.home-what-is .media-split {
  align-items: start;
}

.home-what-is .media-split__body::after {
  content: "";
  position: absolute;
  z-index: 30;
  pointer-events: none;
  background-image: url("/assets/graphics/horizontal-red-rectangle.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  width: var(--rect-width);
  height: var(--rect-height);
  left: var(--rect-anchor-x);
  top: var(--rect-anchor-y);
  transform: translate(var(--rect-nudge-x), var(--rect-nudge-y));
}

@media (max-width: 1100px) {
  .home-what-is {
    --rect-nudge-x: -1.5rem;
    --rect-height: 118px;
  }
}

@media (min-width: 1280px) {
  .home-what-is {
    --rect-width: 900px;
  }
}

.what-is-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.what-is-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.08);
}
.what-is-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--klein-blue);
  margin-bottom: 0.625rem;
}
@media (max-width: 900px) { .what-is-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .home-what-is .media-split__body::after {
    display: none;
  }
}
@media (max-width: 480px) { .what-is-grid { grid-template-columns: 1fr; } }

@media (min-width: 900px) {
  .home-what-is h2 {
    white-space: nowrap;
  }

  .home-what-is .media-split__media {
    justify-self: end;
    width: min(44vw, 540px);
    margin-right: -1.5rem;
    border-radius: 0;
    transform: translateY(-3rem);
  }

  .home-what-is .editorial-figure--color {
    width: 100%;
    height: auto;
    aspect-ratio: 4292 / 4672;
    border-radius: 0;
    object-fit: contain;
    object-position: var(--organization-bg-x, 50%) var(--organization-bg-y, 50%);
    filter: none;
  }
}

/* ─── HOMEPAGE: GET INVOLVED GRID ───────────────────────── */
.home-get-involved,
.work-bottom-brushstroke,
.community-get-involved-brushstroke {
  --get-involved-bg: var(--klein-blue);
  --get-involved-brush-height: clamp(48px, 7vw, 110px); /* Controls brush height. */
  --get-involved-brush-top: clamp(-62px, -4vw, -26px); /* Controls vertical overlap. */
  --brush-artifact-crop: 2px; /* Hides SVG mask edge artifacts during resize. */
  position: relative;
  overflow: visible;
  background: var(--get-involved-bg);
}

.section--blue.home-get-involved,
.section--blue.work-bottom-brushstroke,
.section--blue.community-get-involved-brushstroke {
  background: var(--get-involved-bg);
  background-image: none;
}

.home-get-involved::before,
.work-bottom-brushstroke::before,
.community-get-involved-brushstroke::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  height: var(--get-involved-brush-height);
  transform-origin: center;
  background: var(--get-involved-bg);
  -webkit-mask-image: url("/assets/graphics/blue-brush-underline.svg");
  mask-image: url("/assets/graphics/blue-brush-underline.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: center calc(100% + var(--brush-artifact-crop));
  mask-position: center calc(100% + var(--brush-artifact-crop));
  -webkit-mask-size: auto 100%;
  mask-size: auto 100%;
  pointer-events: none;
}

.home-get-involved::before {
  top: var(--get-involved-brush-top);
  transform: translateX(-50%) scaleY(-1);
}

.work-bottom-brushstroke::before,
.community-get-involved-brushstroke::before {
  top: var(--get-involved-brush-top);
  transform: translateX(-50%) scaleY(-1);
}

.community-get-involved__body {
  min-width: 0;
}

.get-involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.get-involved-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
@media (hover: hover) {
  .get-involved-card:hover {
    background: rgba(255,255,255,0.17);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 4px 24px rgba(0,0,0,0.22);
    transform: translateY(-2px);
  }
}
.get-involved-card h3 { color: white; font-size: 1.0625rem; margin-bottom: 0.5rem; }
.get-involved-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.78); margin-bottom: 0; flex: 1; }
.get-involved-card a  {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: inline-block;
}
@media (max-width: 900px) { .get-involved-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .get-involved-grid { grid-template-columns: 1fr; } }

/* ─── PEOPLE: GROUP DISPLAY ──────────────────────────────── */
.people-group { margin-bottom: 3.5rem; }
.people-group-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-text);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
}
.people-core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.people-contributor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.person-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dusty-tan);
  color: var(--muted-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
@media (max-width: 900px) { .people-core-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) {
  .people-core-grid { grid-template-columns: 1fr; }
  /* Keep the portrait aspect in single-column; squaring it crops faces.
     Cap width so the image doesn't dominate the viewport. */
  .person-portrait-wrap { max-width: 320px; margin-inline: auto; }
  .person-portrait { object-position: top center; }
}

/* ─── THINKING: FILTERS + LIST ──────────────────────────── */
/* Thinking hero */
.thinking-hero__intro-frame {
  position: relative;
  z-index: 1;
  width: calc(100% + clamp(11rem, 18vw, 17rem));
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(0.75rem, 1.4vw, 1rem) clamp(1rem, 2.5vw, 1.75rem);
  border: clamp(4px, 0.5vw, 6px) solid var(--gai-red);
  background: transparent;
}
.thinking-hero__media {
  position: relative;
  z-index: 0;
  width: min(100%, 23rem);
  justify-self: end;
}
.thinking-hero .thinking-hero__image {
  aspect-ratio: 2 / 3;
  border-radius: 0;
}
@media (max-width: 820px) {
  .thinking-hero__intro-frame {
    width: 100%;
    margin-top: 1rem;
  }
  .thinking-hero__media { justify-self: center; }
}

.thinking-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.thinking-filter-btn {
  padding: 0.5rem 0.875rem;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: white;
  color: var(--almost-black);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-sans);
}
.thinking-filter-btn:hover,
.thinking-filter-btn.active {
  background: var(--klein-blue);
  border-color: var(--klein-blue);
  color: white;
}

.thinking-search {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: white;
  width: 160px;
  cursor: text;
  transition: width 0.25s ease, border-color 0.15s, color 0.15s;
  color: var(--muted-text);
}
.thinking-search.is-expanded {
  width: min(280px, 100%);
  border-color: var(--klein-blue);
  color: var(--klein-blue);
}
.thinking-search__icon {
  flex-shrink: 0;
  display: block;
}
.thinking-search__input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--almost-black);
  flex: 1;
  min-width: 0;
  padding: 0 0.375rem 0 0.5rem;
}
.thinking-search__input::placeholder {
  color: var(--muted-text);
  font-weight: 400;
}
.thinking-search__input::-webkit-search-cancel-button { cursor: pointer; }

.thinking-list { display: flex; flex-direction: column; gap: 0.75rem; }
.thinking-item {
  display: grid;
  grid-template-columns: 90px 1fr 80px;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.thinking-item:hover { border-color: var(--klein-blue); box-shadow: 0 2px 12px rgba(0,47,167,0.08); }
.thinking-type-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  align-self: flex-start;
  line-height: 1.4;
}
.badge--essay     { background: #dbeafe; color: #1e40af; }
.badge--note      { background: #e0e7ff; color: #3730a3; }
.badge--talk      { background: #dcfce7; color: #166534; }
.badge--interview { background: #fef3c7; color: #92400e; }
.badge--concept   { background: #f3e8ff; color: #6b21a8; }
.badge--workshop  { background: #fce7f3; color: #9d174d; }
.thinking-item-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.thinking-item-authors { font-size: 0.75rem; color: var(--muted-text); margin-bottom: 0.25rem; }
.thinking-item-summary { font-size: 0.875rem; color: var(--muted-text); line-height: 1.5; }
.thinking-item-meta { font-size: 0.75rem; color: var(--muted-text); text-align: right; padding-top: 0.2rem; }
@media (max-width: 680px) {
  .thinking-item { grid-template-columns: 1fr; }
  .thinking-item-meta { text-align: left; }
}

/* Native Thinking notes */
.thinking-note-header {
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.thinking-note-header .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.thinking-note-back {
  margin-bottom: 1.5rem;
  color: var(--muted-text);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.thinking-note-back:hover { color: var(--klein-blue); }
.thinking-note-header h1 {
  max-width: 16ch;
  margin: 1rem 0;
  font-size: clamp(2.25rem, 6vw, 4rem);
}
.thinking-note-header .text-intro { max-width: 48ch; }
.thinking-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 1.25rem;
  color: var(--muted-text);
  font-size: 0.875rem;
}
.thinking-note-meta p { margin: 0; }
.thinking-note-meta a {
  color: inherit;
  text-underline-offset: 3px;
}
.thinking-note-body { padding-top: 0; }
.thinking-prose {
  font-size: 1.0625rem;
  line-height: 1.68;
}
.thinking-prose p { margin-bottom: 1rem; }
.thinking-prose a {
  color: var(--klein-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.thinking-prose h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}
.thinking-prose h3 {
  margin: 2.25rem 0 0.75rem;
  font-size: clamp(1.25rem, 2.25vw, 1.55rem);
}
.thinking-prose h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.0625rem;
}
.thinking-prose h2 + *,
.thinking-prose h3 + *,
.thinking-prose h4 + * { margin-top: 0; }
.thinking-prose p + ul,
.thinking-prose p + ol { margin-top: -0.25rem; }
.thinking-prose blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 4px solid var(--gai-red);
  color: var(--muted-text);
}
.thinking-prose blockquote p:last-child { margin-bottom: 0; }
.thinking-prose ul,
.thinking-prose ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.thinking-prose ul ul,
.thinking-prose ul ol,
.thinking-prose ol ul,
.thinking-prose ol ol {
  margin: 0.4rem 0 0;
}
.thinking-prose li + li { margin-top: 0.3rem; }
.thinking-prose li > ul,
.thinking-prose li > ol { padding-left: 1.25rem; }
.thinking-prose hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.16);
}
.thinking-prose figure {
  margin: 2.5rem 0;
}
.thinking-prose figure img,
.native-video video {
  width: 100%;
  border-radius: var(--radius);
}
.native-figure--wide {
  width: min(calc(100vw - 2rem), 1040px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.thinking-prose figcaption {
  margin-top: 0.75rem;
  color: var(--muted-text);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}
.thinking-prose figcaption p { margin: 0; }
.thinking-prose .thinking-table {
  width: 100%;
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.thinking-prose table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.thinking-prose th,
.thinking-prose td {
  min-width: 9rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.16);
  text-align: left;
  vertical-align: top;
}
.thinking-prose th {
  border-top: 2px solid var(--almost-black);
  border-bottom-color: var(--almost-black);
  color: var(--almost-black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.thinking-prose td:first-child { color: var(--klein-blue); }
.native-video video {
  display: block;
  background: var(--almost-black);
}
.thinking-prose > .youtube,
.thinking-prose > div:has(> iframe[src*="youtube"]) {
  margin: 2.5rem 0;
}
.thinking-prose .footnotes {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.16);
  color: var(--muted-text);
  font-size: 0.875rem;
}
.thinking-prose .footnotes > hr { display: none; }
.thinking-prose .footnotes ol { margin-bottom: 0; }
.thinking-prose .footnotes li p { margin-bottom: 0.75rem; }
.thinking-prose .footnote-ref,
.thinking-prose .footnote-backref { font-weight: 600; }
.thinking-related {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.thinking-related .text-kicker { margin-bottom: 1.25rem; }
.thinking-related .thinking-item { padding-block: 1rem; }
.thinking-related .thinking-item-summary { font-size: 0.8125rem; }

@media (max-width: 680px) {
  .thinking-note-header h1 { max-width: none; }
  .thinking-note-meta {
    flex-direction: column;
    gap: 0.25rem;
  }
  .thinking-note-body { padding-bottom: 3rem; }
  .thinking-prose { font-size: 1rem; }
  .thinking-prose h2 { margin-top: 2.5rem; }
  .thinking-prose h3 { margin-top: 2rem; }
  .native-figure--wide { width: calc(100vw - 2rem); }
  .thinking-related { padding-block: 3rem; }
}

/* ─── PROJECTS GRID ──────────────────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.project-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.project-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.status--active      { background: #dcfce7; color: #166534; }
.status--coming-soon { background: #fef3c7; color: #92400e; }
.status--archive     { background: #f1f5f9; color: #64748b; }
.project-card h3 { font-size: 1.125rem; margin: 0; }
.project-card p  { font-size: 0.9rem; color: var(--muted-text); line-height: 1.6; margin: 0; flex: 1; }

.home-projects {
  --home-floating-image-width: clamp(220px, 27vw, 360px);
  --home-floating-image-top: calc(100% - 18rem);
  --home-floating-image-right: max(2rem, calc((100vw - var(--container-max)) / 2 + 3.25rem));
  --home-vertical-rect-width: clamp(54px, 6.8vw, 86px);
  --home-vertical-rect-height: clamp(280px, 33vw, 420px);
  --home-vertical-rect-top: calc(100% - 5.5rem);
  --home-vertical-rect-right: max(1rem, calc((100vw - var(--container-max)) / 2 + 1rem));
  --home-vertical-rect-z: 3;
  position: relative;
  isolation: isolate;
  z-index: 2;
}

.home-floating-image,
.home-vertical-rectangle {
  display: none;
}

@media (min-width: 980px) {
  .home-floating-image,
  .home-vertical-rectangle {
    display: block;
    position: absolute;
    height: auto;
    pointer-events: none;
  }

  .home-floating-image {
    top: var(--home-floating-image-top);
    right: var(--home-floating-image-right);
    z-index: 2;
    width: var(--home-floating-image-width);
  }

  .home-vertical-rectangle {
    top: var(--home-vertical-rect-top);
    right: var(--home-vertical-rect-right);
    z-index: var(--home-vertical-rect-z);
    width: var(--home-vertical-rect-width);
    height: var(--home-vertical-rect-height);
  }
}

/* ─── WORK: HERO ────────────────────────────────────────── */
.work-hero {
  --work-hero-media-bleed: clamp(1.5rem, calc((100vw - var(--container-max)) / 2 + 2rem), 6rem);
}
.work-hero__media {
  width: calc(100% + var(--work-hero-media-bleed));
}
.work-hero .work-hero__image {
  border-radius: 0;
}
@media (max-width: 820px) {
  .work-hero__media { width: 100%; }
}

/* ─── WORK: HOW IT STARTS ────────────────────────────────── */
.work-how-starts {
  --work-how-starts-image-bleed: calc(max(0px, (100vw - var(--container-max)) / 2) + clamp(1rem, 4vw, 2rem));
  overflow: clip;
}
.work-how-starts__layout {
  display: grid;
  width: calc(100% + var(--work-how-starts-image-bleed));
  margin-left: calc(-1 * var(--work-how-starts-image-bleed));
  grid-template-columns: 45% minmax(0, 1fr);
  gap: clamp(2rem, 3vw, 3rem);
  align-items: center;
}
.work-how-starts__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.work-how-starts__body {
  min-width: 0;
}
@media (max-width: 900px) {
  .work-how-starts {
    --work-how-starts-image-bleed: 0px;
  }

  .work-how-starts__layout {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ─── WORK: OFFER GRID ───────────────────────────────────── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.offer-card {
  padding: 1.5rem;
  border-top: 3px solid var(--klein-blue);
  background: white;
  border-radius: var(--radius);
  border-right: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  border-left: 1px solid rgba(0,0,0,0.07);
  min-width: 0;
}
.offer-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.offer-card p  { font-size: 0.875rem; color: var(--muted-text); line-height: 1.6; margin: 0; }

/* ─── COMMUNITY: WHO GRID ───────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.who-card {
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ─── COMMUNITY: WAYS LIST ──────────────────────────────── */
.ways-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 3rem;
}
.ways-list li { display: flex; flex-direction: column; gap: 0.25rem; }
.ways-list li strong { font-weight: 700; }
.ways-list li span   { font-size: 0.875rem; color: var(--muted-text); }
@media (max-width: 680px) { .ways-list { grid-template-columns: 1fr; } }

/* ─── CONTACT ROUTING ────────────────────────────────────── */
.contact-routing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-route-card {
  padding: 2rem;
  background: white;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s;
}
.contact-route-card:hover { border-color: var(--klein-blue); }
.contact-route-card h3 { font-size: 1.0625rem; margin: 0; }
.contact-route-card p  { font-size: 0.9rem; color: var(--muted-text); margin: 0; flex: 1; line-height: 1.6; }
@media (max-width: 760px) { .contact-routing { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════
   V1.1 — De-stripe, editorial imagery, motion
   ════════════════════════════════════════════════════════════ */

/* ─── Soft section transitions (replaces hard tan banding) ─── */
/* Gentle white ↔ lilac alternation reads far softer than tan slabs. */
.section--white { background: #ffffff; }
.section--soft  { background: linear-gradient(180deg, #ffffff 0%, var(--lightest-lilac) 100%); }

/* Subtle depth on the full-bleed blue bands. */
.section--blue {
  background-image: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(0,0,0,0.10));
}

.section--blue.home-hero,
.section--blue.community-practice-brush-bottom {
  background: var(--home-hero-bg);
  background-image: none;
}

/* Rounded "lift" so colour bands read as panels, not hard stripes.
   The rounded corners reveal the page background behind them. */
.section--rounded-b { border-radius: 0 0 clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px); }
.section--rounded-t { border-radius: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px) 0 0; }

/* ─── Editorial media split (asymmetric text + image) ──────── */
.media-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 2.5rem;
}
.media-split__body,
.media-split__media { min-width: 0; }
/* In page heroes, align the headline to the top so it lines up across pages,
   regardless of the hero image's aspect ratio. */
.page-header .media-split { align-items: start; }
.media-split .what-is-grid { grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
@media (max-width: 820px) {
  .media-split { grid-template-columns: 1fr; gap: 2rem; }
  .media-split--reverse .media-split__media { order: -1; }
}

/* ─── IMAGE PROTECTION ──────────────────────────────────────── */
.img-protect {
  position: relative;
  display: block;
  line-height: 0;
  user-select: none;
  -webkit-user-select: none;
}
.img-protect::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: default;
}
.img-protect img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
/* When the frame (not the image) is sized, the protect wrapper must fill it
   so object-fit can crop — otherwise small source images sit at natural size. */
.person-portrait-wrap > .img-protect,
.person-home-card__media > .img-protect {
  width: 100%;
  height: 100%;
}

/* ─── B&W editorial figure (rounded, grayscale per brand) ──── */
.editorial-figure {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: clamp(12px, 2vw, 22px);
  filter: grayscale(100%);
}
.editorial-figure--color { filter: none; }
.editorial-figure--portrait  { aspect-ratio: 4 / 5; }
.editorial-figure--landscape { aspect-ratio: 3 / 2; }
.editorial-figure--square    { aspect-ratio: 1 / 1; }

/* ─── Project-card iconography + top accent ────────────────── */
.project-card { border-top: 3px solid rgba(0,47,167,0.18); }
.project-icon {
  width: 34px;
  height: 34px;
  color: var(--klein-blue);
  margin-bottom: 0.25rem;
}

/* ─── Custom cursor (desktop / mouse devices only) ──────────── */
@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }

  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 22px; height: 22px;
    margin: -11px 0 0 -11px;
    background: url('/favicon-dark.svg') center / contain no-repeat;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.18s ease, opacity 0.18s ease;
    will-change: transform;
  }
  .cursor-dot.is-hover {
    transform: scale(0);
    opacity: 0;
  }
  .cursor-dot.is-hidden { opacity: 0; }

  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    border: 2px solid var(--mellow-orange);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 99998;
    transform: scale(0.4);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    will-change: transform, opacity;
  }
  .cursor-ring.is-hover {
    transform: scale(1);
    opacity: 0.9;
  }
  .cursor-ring.is-hidden { opacity: 0 !important; }
}
.project-icon svg { width: 100%; height: 100%; display: block; }

/* ─── FAQ (community) ────────────────────────────────────── */
.faq-list { margin-top: 1.5rem; border-top: 1px solid rgba(26,26,26,0.1); }
.faq-item { border-bottom: 1px solid rgba(26,26,26,0.1); }
.faq-question {
  cursor: pointer;
  list-style: none;
  padding: 1.125rem 2rem 1.125rem 0;
  position: relative;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--almost-black);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--klein-blue);
  line-height: 1;
}
.faq-item[open] .faq-question::after { content: "\2212"; }
.faq-answer { padding: 0 0 1.25rem; }
.faq-answer p { margin: 0; color: var(--muted-text); line-height: 1.6; max-width: 60ch; }

/* ─── CONNECT ────────────────────────────────────────────── */
.connect-page {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.connect-page-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
}
.connect-page-left {
  grid-column: 1;
  grid-row: 1 / 3;
  min-width: 0;
}
.connect-page-left-inner {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}
.connect-page-intro {
  gap: 1.25rem;
}
.connect-page-intro h1 {
  margin-bottom: 0;
}
.connect-page-intro .text-intro {
  margin-bottom: 0;
}
.connect-page-intro > p:last-child {
  margin-bottom: 0;
  max-width: 52ch;
  color: var(--muted-text);
}
.connect-page-media {
  align-self: start;
  grid-column: auto;
  grid-row: auto;
}
.connect-form {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}
.connect-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 clamp(2rem, 4vw, 2.75rem);
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.connect-fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}
.connect-fieldset legend {
  width: 100%;
  margin-bottom: 1.5rem;
  color: var(--klein-blue);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.connect-question,
.connect-field > label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--almost-black);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}
.connect-requirement {
  color: var(--muted-text);
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}
.connect-requirement--optional {
  font-weight: 400;
}
.connect-helper {
  margin: 0 0 0.65rem;
  color: var(--muted-text);
  font-size: 0.85rem;
  line-height: 1.5;
}
.connect-field + .connect-field {
  margin-top: 1.25rem;
}
.connect-field input,
.connect-field textarea,
.connect-other-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 4px;
  background: white;
  color: var(--almost-black);
  font: inherit;
  font-weight: 400;
}
.connect-field textarea {
  resize: vertical;
}
.connect-field input:focus,
.connect-field textarea:focus,
.connect-other-field input:focus,
.connect-checkbox input:focus-visible {
  outline: 2px solid rgba(0,47,167,0.18);
  outline-offset: 2px;
  border-color: var(--klein-blue);
}
.connect-field input[aria-invalid="true"],
.connect-field textarea[aria-invalid="true"],
.connect-other-field input[aria-invalid="true"] {
  border-color: var(--gai-red);
}
.connect-checkbox-group {
  display: grid;
  gap: 0.3rem;
}
.connect-checkbox {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1.45;
}
.connect-checkbox:hover {
  background: rgba(0,47,167,0.045);
}
.connect-checkbox input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.18rem 0 0;
  accent-color: var(--klein-blue);
}
.connect-other-field {
  margin: 0.15rem 0 0 2.55rem;
}
.connect-other-field[hidden] {
  display: none;
}
.connect-other-field input:disabled {
  background: rgba(0,0,0,0.035);
  cursor: not-allowed;
}
.connect-inline-error {
  margin: 0.45rem 0 0;
  color: #b42318;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.45;
}
.connect-validation-summary {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gai-red);
  background: #fff4f2;
}
.connect-validation-summary:focus {
  outline: 2px solid var(--klein-blue);
  outline-offset: 2px;
}
.connect-validation-summary h2 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
}
.connect-validation-summary ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}
.connect-validation-summary a {
  color: var(--almost-black);
}
.connect-form-status {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  background: rgba(0,47,167,0.07);
  color: var(--almost-black);
  font-size: 0.9rem;
}
.connect-form-status--error {
  border-left: 4px solid var(--gai-red);
  background: #fff4f2;
}
.connect-submit-row {
  display: flex;
  align-items: center;
}
.connect-submit-row .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}
.connect-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.connect-thanks-page {
  min-height: 58vh;
  display: flex;
  align-items: center;
}
.connect-thanks-panel {
  padding: clamp(1.75rem, 5vw, 3rem);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  background: white;
}
.connect-thanks-panel h1 {
  margin-bottom: 1rem;
}
.connect-thanks-panel p:last-of-type {
  margin-bottom: 2rem;
  color: var(--muted-text);
}
@media (min-width: 821px) {
  .connect-page-left {
    align-self: stretch;
  }
  .connect-page-left-inner {
    --connect-sticky-offset: calc(var(--space-lg) + var(--space-sm));
    position: sticky;
    top: var(--connect-sticky-offset);
  }
}
@media (max-width: 820px) {
  .connect-page-left,
  .connect-page-left-inner {
    display: contents;
  }
  .connect-page-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .connect-page-intro { grid-column: 1; grid-row: 1; }
  .connect-form-panel {
    grid-column: 1;
    grid-row: 2;
  }
  .connect-page-media { grid-column: 1; grid-row: 3; }
}
@media (max-width: 520px) {
  .connect-form-panel {
    margin-inline: -0.25rem;
    padding: 1.25rem 1rem;
  }
  .connect-checkbox {
    padding-inline: 0.25rem;
  }
  .connect-other-field {
    margin-left: 1.9rem;
  }
  .connect-submit-row .btn {
    width: 100%;
    justify-content: center;
  }
}
