/* HändiLee marketing site — shared across index.html and join.html.
   One world, not two: the same warm "notebook" materials already used in
   the mobile app (cream paper, ink, ruled lines, a handwritten accent face)
   carry through here, so a visitor who later opens the app recognises it
   as the same place, not a different, more generic product wearing the
   same logo. Fraunces carries personality in headlines; Inter stays for
   anything read at length or operated (buttons, nav); Kalam is reserved
   for small handwritten marks — a signature, not the whole voice. */

:root {
  --paper: #fcf7ee;
  --paper-dim: #eee6d7;
  --paper-border: #b8ad9d;
  --rule-blue: rgba(126, 181, 204, 0.4);
  --margin-red: rgba(191, 90, 74, 0.58);

  --ink: #111827;
  --ink-muted: #5f6775;
  --ink-soft: #8b8f96;
  --navy: #14233e;

  --orange: #ff7a29;
  --orange-deep: #d85e12;
  --orange-soft: rgba(255, 122, 41, 0.14);
  --orange-pale: #ffb37a;

  --sage: #4f7a5e;
  --sage-deep: #355a40;
  --yellow: #ffd966;

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 11px;
  --shadow: 0 18px 40px rgba(35, 31, 25, 0.12);
  --shadow-soft: 0 10px 24px rgba(35, 31, 25, 0.08);
  --max-width: 1100px;

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--paper-dim);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* A short, confident display face for anything meant to be felt, not just
   read — headlines, big numerals, the seal lettering. */
.display {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
}

/* A single handwritten mark, used the way a person actually marks up a
   page — underlining a word, circling a tag, signing a note. Never set as
   a whole paragraph: at that length a script face stops reading as a
   deliberate touch and starts reading as hard-to-read copy. */
.handwritten {
  font-family: "Kalam", cursive;
}

/* ---------- Motion (reveal-on-scroll) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 230, 215, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-border);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--navy);
}

.brand-lockup img {
  width: 42px;
  height: 42px;
}

@media (max-width: 640px) {
  .brand-lockup img {
    width: 36px;
    height: 36px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  transition: background-color 140ms ease, color 140ms ease;
}

.site-nav a:hover {
  background: rgba(17, 24, 39, 0.06);
}

.site-nav a.nav-cta {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
}

.site-nav a.nav-cta:hover {
  background: var(--orange-deep);
}

/* ---------- Mobile nav toggle ---------- */
/* Five items plus the CTA don't fit a phone-width header in one row —
   below 760px the links move into a dropdown opened by this button. */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle__icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon-close {
  display: block;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-border);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .site-nav a.nav-cta {
    margin-top: 6px;
    text-align: center;
  }
}

/* ---------- Ruled notebook page surface ---------- */

.ruled-page {
  position: relative;
  background: repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 34px,
      var(--rule-blue) 34px,
      var(--rule-blue) 35px
    ),
    var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ruled-page::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54px;
  width: 1px;
  background: var(--margin-red);
}

.ruled-page__inner {
  position: relative;
  padding: 58px 44px 58px 80px;
}

@media (max-width: 640px) {
  .ruled-page::before {
    left: 26px;
  }
  .ruled-page__inner {
    padding: 38px 22px 38px 46px;
  }
}

/* A faint version of the same rule, run behind a whole section rather than
   a boxed card — the hero sits directly on "the page" instead of floating
   on plain colour. */
.ruled-wash {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 38px,
    rgba(126, 181, 204, 0.22) 38px,
    rgba(126, 181, 204, 0.22) 39px
  );
}

/* ---------- Washi tape (same recipe as the mobile app's "New job" card:
   NotebookDashboardPrimitives.tsx newJobTape) — a translucent strip
   straddling the top edge, rotated against the card's own tilt, so a
   visitor who later opens the app recognises this as the same material.
   Torn (not cut) short edges via clip-path, a diagonal gloss streak and a
   faint ribbed texture are what read as "tape" rather than "pale box" —
   a plain translucent rectangle has no tactile cues at all. */
.pinned {
  position: relative;
}

.pinned::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 28px;
  background:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.42) 38%,
      rgba(255, 255, 255, 0.88) 55%,
      rgba(255, 255, 255, 0.5) 100%
    ),
    repeating-linear-gradient(
      97deg,
      rgba(120, 108, 86, 0.07) 0px,
      rgba(120, 108, 86, 0.07) 1px,
      transparent 1px,
      transparent 4px
    ),
    rgba(250, 246, 236, 0.5);
  clip-path: polygon(
    6% 0%, 2% 11%, 7% 23%, 1% 35%, 6% 47%, 2% 59%, 7% 71%, 1% 83%, 6% 95%, 3% 100%,
    97% 100%, 94% 95%, 99% 83%, 93% 71%, 98% 59%, 94% 47%, 99% 35%, 93% 23%, 98% 11%, 94% 0%
  );
  transform: translateX(-50%) rotate(3deg);
  box-shadow: 0 2px 4px rgba(35, 31, 25, 0.2);
  z-index: 2;
  pointer-events: none;
}

/* ---------- Hand-marked tag (eyebrow) ---------- */

/* A hand-drawn-looking box, not a perfect pill — four different corner
   radii plus a slight rotation read as "marker on paper" far more than
   an SVG squiggle sized to fit arbitrary text ever could, and never
   mis-fits whatever the tag happens to say. */
.eyebrow {
  display: inline-block;
  font-family: "Kalam", cursive;
  font-weight: 700;
  font-size: 15px;
  color: var(--orange-deep);
  padding: 5px 14px 7px;
  border: 2px solid var(--orange);
  border-radius: 14px 10px 16px 9px;
  transform: rotate(-1.4deg);
  background: var(--orange-soft);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 30px 0 10px;
  overflow: hidden;
}

/* A faded, grayscale print of the hero photo as a full-bleed background
   behind the copy — texture, not a competing visual. The radial side-fade
   and the top/bottom blend into the surrounding page are baked directly
   into the PNGs (apps/web/public/assets/hero-watermark-{desktop,mobile}.png)
   rather than built from live CSS mask-image/filter — a previous
   CSS-only version hit a Safari/WebKit bug where mask-image combined with
   mix-blend-mode on the same element renders it fully invisible, and
   layered gradients are fragile across browsers generally. Baking the
   fade into the asset sidesteps all of that: this rule just positions a
   plain, already-faded image. Separate desktop/mobile assets because
   each is cropped and weighted differently for its layout. */
.hero__watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.hero__watermark--mobile {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
}

.hero__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.04;
  font-weight: 600;
  /* Darker than the site-wide --ink, specifically because this title sits
     over the hero watermark photo — a near-black holds contrast against
     the photo's lighter patches better than the standard ink tone does. */
  color: #0a0e16;
  margin: 20px 0 16px;
  text-wrap: balance;
  max-width: 13ch;
}

.hero__title .accent {
  /* --orange-deep rather than --orange for the same reason: more margin
     against the watermark's lighter tan tones. */
  color: var(--orange-deep);
  font-style: italic;
  position: relative;
  white-space: nowrap;
}

.hero__accent-mark {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.3em;
  pointer-events: none;
}

.hero__accent-mark path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.55;
}

.hero__lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  /* Darker than --ink-muted elsewhere, same reason as .hero__title. */
  color: #333c48;
  max-width: 52ch;
  margin: 0 0 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .hero__watermark--desktop {
    display: none;
  }

  .hero__watermark--mobile {
    display: block;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.btn--primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(216, 94, 18, 0.28);
}

.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.16);
}

.btn--ghost:hover {
  background: rgba(17, 24, 39, 0.09);
  transform: translateY(-1px);
}

.btn--on-dark {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.btn--on-dark:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

/* ---------- Generic sections ---------- */

main {
  display: block;
}

.section {
  padding: 68px 0;
}

.section--tight {
  padding: 36px 0;
}

.section__heading {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}

.section__intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0 0 36px;
}

/* ---------- Accountability / service-team section ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
}

.pillar {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
}

.pillar:hover {
  transform: translateY(-2px);
}

.pillar__mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.6px solid var(--orange);
  color: var(--orange-deep);
  margin-bottom: 18px;
}

.pillar__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

.pillar__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* ---------- How it works (homepage) ---------- */

.how-it-works {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 8px 0 38px;
}

.how-it-works__step {
  flex: 1 1 0;
  min-width: 0;
  text-align: left;
}

.how-it-works__mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.6px solid var(--orange);
  color: var(--orange-deep);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
}

.how-it-works__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}

.how-it-works__body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
  max-width: 26ch;
}

.how-it-works__arrow {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 7px;
  color: var(--orange);
  opacity: 0.5;
}

@media (max-width: 760px) {
  .how-it-works {
    flex-direction: column;
    gap: 22px;
  }
  .how-it-works__body {
    max-width: none;
  }
  .how-it-works__arrow {
    display: none;
  }
}

/* ---------- App preview (homepage) ---------- */

.app-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  margin: 6px auto 40px;
  padding: 0;
  text-align: center;
}

.app-preview img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--paper-border);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.app-preview__caption {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Representative tasks (homepage) ---------- */

.task-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.task-tags li {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: 999px;
  padding: 7px 16px;
}

.task-tags__note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- Our story (homepage) ---------- */

/* A short, personal note, not a feature card — this is meant to read as
   quieter than the pillars above it. */
.our-story {
  max-width: 62ch;
}

.our-story__label {
  margin-bottom: 14px;
}

.our-story__layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.photo-trigger {
  flex: 0 0 auto;
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.photo-trigger:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.our-story__photo {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 3px solid #fff;
  box-shadow: var(--shadow-soft);
  transform: rotate(-2.5deg);
}

/* Betty's source photo is a portrait shot with her face and ears in the
   top third — a default center crop lands mostly on her open mouth and
   the ball she's holding, cropping her eyes and ears out entirely. This
   keeps the thumbnail framed on her face instead. */
.our-story__photo--face-high {
  object-position: center 8%;
}

/* ---------- Lightbox (click a photo to enlarge) ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 100;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  max-width: min(90vw, 640px);
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 560px) {
  .our-story__layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.our-story__body {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.our-story__layout + .our-story__layout {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--paper-border);
}

.our-story__name {
  margin: 0 0 6px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.our-story__title {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 12.5px;
  color: var(--orange-deep);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.our-story__email {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-muted);
  text-decoration: none;
}

.our-story__email:hover {
  color: var(--orange-deep);
}

/* ---------- Join-the-team callout card (homepage) ---------- */

.join-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--navy);
  color: #f6f2e8;
  border-radius: var(--radius-lg);
  padding: 44px 46px;
  box-shadow: var(--shadow);
}

.join-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 37px,
    rgba(246, 242, 232, 0.05) 37px,
    rgba(246, 242, 232, 0.05) 38px
  );
  pointer-events: none;
}

.join-card__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}

.join-card__body {
  margin: 0;
  color: rgba(246, 242, 232, 0.8);
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Launch updates ---------- */

.updates-list {
  display: grid;
  gap: 4px;
}

.update-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 15px 0;
}

.update-row__mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.update-row__mark svg {
  width: 100%;
  height: 100%;
}

.update-row__mark--done path {
  fill: none;
  stroke: var(--sage-deep);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.update-row__mark--open circle {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.6;
  stroke-dasharray: 3 3.4;
}

.update-row__date {
  font-family: "Kalam", cursive;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-deep);
  min-width: 108px;
  transform: rotate(-1.5deg);
  display: inline-block;
}

.update-row__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  padding-top: 1px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--paper-border);
  padding: 32px 0 44px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

.site-footer__inner a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-muted);
}

/* ---------- Contact section ---------- */

.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  background: var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.contact-card__intro {
  flex: 1 1 260px;
  min-width: 240px;
}

.contact-card__intro .eyebrow {
  margin-bottom: 14px;
}

.contact-form {
  flex: 1 1 360px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form__field {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
}

.contact-form__field input,
.contact-form__field textarea {
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-form__note {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.contact-form__note--error {
  color: var(--margin-red);
}

/* Spam honeypot — present for bots that fill in every field blindly,
   hidden from sighted visitors and skipped by keyboard/AT navigation. */
.contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =====================================================================
   Join-the-team page — same materials, same type system, its own layout.
   ===================================================================== */

.crew-hero {
  padding: 48px 0 10px;
}

.crew-main {
  padding: 0 0 36px;
}

.crew-hero__layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.crew-hero__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.05;
  font-weight: 600;
  color: var(--ink);
  margin: 16px 0 12px;
  max-width: 16ch;
  text-wrap: balance;
}

.crew-hero__tagline {
  font-family: "Kalam", cursive;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--orange-deep);
  margin: 0 0 18px;
  transform: rotate(-0.6deg);
  display: inline-block;
}

.crew-hero__lede {
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.stamp {
  position: relative;
  flex: 0 0 auto;
  transform: rotate(-6deg);
}

.crew-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--orange-soft);
  border: 1px solid rgba(255, 122, 41, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 38px 0;
}

.crew-band__item {
  padding: 22px 24px;
  border-left: 1px solid rgba(216, 94, 18, 0.18);
}

.crew-band__item:first-child {
  border-left: none;
}

.crew-band__item strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  font-size: 16.5px;
  margin-bottom: 4px;
}

.crew-band__item span {
  color: var(--ink-muted);
  font-size: 14px;
}

.crew-purpose {
  background: var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.crew-purpose__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 20px;
}

.crew-purpose__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.crew-purpose__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink);
}

.crew-purpose__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.crew-values {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--paper-border);
  font-family: "Kalam", cursive;
  font-size: 16px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.crew-cta {
  position: relative;
  margin-top: 38px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 46px;
  text-align: center;
  box-shadow: var(--shadow);
}

.crew-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 37px,
    rgba(246, 242, 232, 0.05) 37px,
    rgba(246, 242, 232, 0.05) 38px
  );
  pointer-events: none;
}

.crew-cta__title {
  position: relative;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}

.crew-cta__sub {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  color: var(--orange-pale);
  margin: 0 0 26px;
}

.crew-cta__note {
  position: relative;
  margin: 18px auto 0;
  max-width: 48ch;
  font-size: 13px;
  color: rgba(246, 242, 232, 0.7);
}

.crew-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.chat-with-sam {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(246, 242, 232, 0.92);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background-color 140ms ease;
}

.chat-with-sam:hover {
  background: rgba(255, 255, 255, 0.08);
}

.chat-with-sam__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 14px;
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .crew-purpose__list {
    grid-template-columns: 1fr;
  }
  .crew-band {
    grid-template-columns: 1fr;
  }
  .crew-band__item {
    border-left: none;
    border-top: 1px solid rgba(216, 94, 18, 0.18);
  }
  .crew-band__item:first-child {
    border-top: none;
  }
}
