:root {
  --font-poppins: Poppins;
  --font-mono: "JetBrains Mono", monospace;
  --honey-rgb: 255 209 45;
  --honey-deep-rgb: 240 189 0;
  --ink-rgb: 33 28 22;
  --honey: rgb(var(--honey-rgb));
  --honey-deep: rgb(var(--honey-deep-rgb));
  --amber: #cc9f00;
  --ink: rgb(var(--ink-rgb));
  --ink-soft: #4a4034;
  --cream: #fffcf5;
  --card: #ffffff;
  --border: #efe7d6;
  --shadow-sm: 0 1px 2px rgb(var(--ink-rgb) / 0.05), 0 2px 8px rgb(var(--ink-rgb) / 0.04);
  --shadow-md: 0 4px 12px rgb(var(--ink-rgb) / 0.06), 0 16px 40px rgb(var(--ink-rgb) / 0.08);
  --font-sans: var(--font-poppins), Poppins, system-ui, sans-serif;
  --radius-pill: 999px;
  --maxw: 1180px;
  --beeline-frame: 1040px;
  --beeline-gutter: 20px;
  --beeline-content: calc(min(100%, var(--beeline-frame)) - 2 * var(--beeline-gutter));
  --nav-h: 72px;
}

* {
  box-sizing: border-box;
}

@media (max-width: 560px) {
  :root {
    --beeline-gutter: 16px;
  }
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(900px 600px at 8% -5%, rgb(var(--honey-rgb) / 0.18), transparent 60%),
    radial-gradient(700px 500px at 100% 8%, rgb(159 208 224 / 0.16), transparent 55%);
  background-attachment: fixed;
  font-family: var(--font-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.about-page {
  --cream: #fffcf3;
  background: var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--honey);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.beeline-main {
  position: relative;
  z-index: 1;
  min-height: 0;
}

.beeline-main > .container,
.beeline-main > [data-beeline-original] > .container {
  width: var(--beeline-content);
}

.beeline-main + .page-footer {
  --maxw: var(--beeline-frame);
  --footer-gutter: var(--beeline-gutter);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 120;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--honey);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background-color: rgb(255 252 245 / 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(1.4) blur(14px);
}

.about-page .page-header {
  background-color: var(--cream);
}

.page-find-button {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgb(var(--ink-rgb) / 0.22);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.page-find-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

.page-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: var(--beeline-frame);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--beeline-gutter);
}

.page-header-brand {
  display: flex;
  justify-self: start;
}

.page-header-brand img {
  display: block;
  width: 146px;
  height: auto;
}

.page-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.page-find-button {
  white-space: nowrap;
}

.page-header-actions .page-find-button {
  padding: 10px 18px;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .page-header[data-scrolled] {
    height: auto;
  }

  .page-header-inner {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 6px var(--beeline-gutter) 2px;
  }

  .page-header-brand {
    min-height: 44px;
    align-items: center;
  }

  .page-header-brand img {
    width: clamp(86px, 26vw, 118px);
  }

  .page-navigation {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
    gap: 24px;
  }

  .page-header-actions {
    gap: 6px;
  }

  .page-header-actions :is(.page-primary-button, .page-find-button) {
    min-height: 44px;
    padding: 8px clamp(6px, 2.2vw, 10px);
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
  }
}

.mission-section {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  text-align: center;
}

.about-container {
  width: var(--beeline-content);
  margin-inline: auto;
}

.mission-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

.mission-underline {
  position: relative;
  isolation: isolate;
  font-style: normal;
  white-space: nowrap;
}

.mission-underline::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.08em;
  height: 0.32em;
  z-index: -1;
  background: linear-gradient(180deg, var(--honey), var(--honey-deep));
  border-radius: 4px;
  transform: rotate(-0.6deg);
  opacity: 0.85;
}

.about-section {
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.about-section-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.mission-section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.mission-section + .about-section {
  border-top: 0;
}

.mission-box {
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 36px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.mission-label {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--honey-deep);
  border-radius: var(--radius-pill);
  background: var(--honey);
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.mission-title {
  max-width: 26ch;
  margin-inline: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.875rem, 2vw, 1.25rem);
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.team-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.team-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--border);
}

.team-portrait img {
  object-fit: cover;
}

.team-details {
  padding: 1rem;
  text-align: center;
}

.team-details h3,
.team-details p {
  margin: 0;
  line-height: 1.4;
}

.team-details h3 {
  font-size: 1rem;
  font-weight: 600;
}

.team-details p {
  display: flex;
  min-height: 2.8em;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

@media (max-width: 880px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .team-details p {
    min-height: 0;
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 20rem;
    margin-inline: auto;
  }
}

.beeline-main.beeline-imported {
  position: static;
  z-index: auto;
  min-height: auto;
}

.team-portrait img {
  display: block;
  width: 100%;
  height: 100%;
}
