/* ── Classical design system tokens + components ───────────────────── */
/* Classical — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #000;
  --color-accent: #b68235;
  --color-accent-2: #ac803e;
  --color-divider: color-mix(in srgb, #000 16%, transparent);

  --color-orange: #F46748;
  --color-teal: #0F848C;
  --color-dark-grey: #2B2B2B;
  --color-dark-gray: #2B2B2B;
  --color-yellow: #FFF2B3;
  --color-yellow-watercolor: #FDF0A6;
  --color-gray: gray;
  --color-gray-light: #a8a5a5;
  --color-sky-top: #d9ebf8;
  --color-sky-mid: #e6f3fb;
  --color-sky-fade: #f2f8fd;

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff3e4;
  --color-accent-200: #ffe3bf;
  --color-accent-300: #facb8d;
  --color-accent-400: #e1ad66;
  --color-accent-500: #c28d41;
  --color-accent-600: #a06f24;
  --color-accent-700: var(--color-orange);
  --color-accent-800: #5a3b0a;
  --color-accent-900: #3a270d;

  --color-accent-2-100: #fff3e4;
  --color-accent-2-200: #ffe3be;
  --color-accent-2-300: #f5cd96;
  --color-accent-2-400: #dbaf70;
  --color-accent-2-500: #bc8f4e;
  --color-accent-2-600: #9b7232;
  --color-accent-2-700: #79561f;
  --color-accent-2-800: #573d14;
  --color-accent-2-900: #382810;

  --font-heading: "Lora", Georgia, serif;
  --font-heading-weight: 400;
  --font-body: "Proxima Nova", "Helvetica Neue", "Noto Sans", sans-serif;

  --space-1: 4.6px;
  --space-2: 9.2px;
  --space-3: 13.8px;
  --space-4: 18.4px;
  --space-5: 23px;
  --space-6: 27.6px;
  --space-8: 36.8px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

body {
  background: var(--color-bg);
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
body.page-home,
body:has(.hero-home) {
  background-color: var(--color-bg);
  background-image: linear-gradient(
    180deg,
    var(--color-sky-top) 0%,
    var(--color-sky-mid) 90px,
    var(--color-sky-fade) 190px,
    color-mix(in srgb, var(--color-sky-fade) 45%, var(--color-bg)) 280px,
    var(--color-bg) 360px
  );
  background-repeat: no-repeat;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); color: #000; }

.plate{filter:sepia(0.22) saturate(0.82) contrast(1.05);box-sizing:border-box;
  border:6px solid var(--color-surface);outline:1px solid var(--color-divider)}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 400; color: #000; text-align: left; }
body, h1, h2, h3, h4, h5, h6, p, div, li {
  color: #000;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
  color: #000;
}
h1, h2, h3 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
}
h4, h5, h6 {
  font-family: "Proxima Nova", "Helvetica Neue", "Noto Sans", sans-serif;
}
h1 {
  font-size: 60px;
  font-weight: 400;
  color: #000;
}
h2 {
  font-size: 45px;
  font-weight: 400;
  color: #000;
}
h3 {
  font-size: 35px;
  font-weight: 400;
  color: #000;
}
h4 {
  font-size: 18px;
  font-weight: 400;
  color: #000;
}
h5 {
  font-size: 20px;
  font-weight: 500;
  color: #000;
}
h6 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}
p { margin: 0 0 var(--space-3); color: #000; font-size: 16px; line-height: 1.5; text-align: left; }
a { color: var(--color-teal); text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--color-orange); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 14px; margin-top: var(--space-1);
  color: #666;
}
.small-text,
.text-small {
  font-size: 14px;
  color: #666;
}
.text-muted { color: #000; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}
.divider-hand-drawn {
  display: block;
  width: 100%;
  height: 18px;
  margin: 0;
  overflow: visible;
  color: var(--color-gray-light, #a8a5a5);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 500;
  font-size: 16px; line-height: 1.2; color: #fff;
  background: var(--color-teal);
  border: 2px solid var(--color-teal);
  padding: 0 calc(var(--space-3) * 1.2);
  height: 44px; min-height: 44px;
  box-sizing: border-box;
  border-radius: 8px;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary {
  font-size: 16px;
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
}
.btn-primary:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
}
.btn-primary:active {
  background: color-mix(in srgb, var(--color-orange) 88%, #000);
  border-color: color-mix(in srgb, var(--color-orange) 88%, #000);
  color: #fff;
}
.btn-secondary {
  font-size: 16px;
  background: #fff;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
}
.btn-secondary:hover {
  background: var(--color-yellow);
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.btn-secondary:active {
  background: color-mix(in srgb, var(--color-yellow) 88%, #000);
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.btn-tertiary,
.btn-link {
  font-size: 16px;
  background: transparent;
  border: none;
  color: var(--color-teal);
  padding: 0 var(--space-2);
  height: 44px;
  min-height: 44px;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}
.btn-tertiary:hover,
.btn-link:hover {
  background: transparent;
  border: none;
  color: var(--color-orange);
  text-decoration: underline;
}
.btn-tertiary:active,
.btn-link:active {
  background: transparent;
  border: none;
  color: color-mix(in srgb, var(--color-orange) 88%, #000);
}
.btn-ghost {
  font-size: 18px;
  background: transparent;
  border-color: transparent;
  color: var(--color-accent);
  padding-inline: var(--space-1);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: #000;
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: #000; caret-color: var(--color-accent);
  background: transparent;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: transparent; border: 1px solid var(--color-divider);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-body); font-weight: 500;
  font-size: 17px; line-height: 1.2;
  color: #000;
}
.card-body { margin: 0; font-size: 16px; opacity: 1; flex: 1; color: #000; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: #000;
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s ease, background-color 0.2s ease;
  width: 100%;
}
.nav.is-scrolled {
  border-bottom-color: var(--color-divider);
  background: var(--color-bg);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@supports (animation-timeline: scroll()) {
  @keyframes nav-border-reveal {
    from {
      border-bottom-color: transparent;
      background-color: transparent;
    }
    to {
      border-bottom-color: var(--color-divider);
      background-color: color-mix(in srgb, var(--color-bg) 88%, transparent);
    }
  }
  .nav {
    animation: nav-border-reveal linear both;
    animation-timeline: scroll();
    animation-range: 0px 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-3) var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14.3px;
  margin-left: auto;
}
.brand-logo {
  height: 28px; width: auto; display: block;
}
.nav .brand-logo {
  height: 56px;
  transition: filter .15s ease;
}
footer .brand-logo {
  height: 50px;
  width: auto;
}
.nav-brand:hover .brand-logo,
.nav-brand:focus-visible .brand-logo {
  filter: invert(45%) sepia(44%) saturate(4169%) hue-rotate(339deg) brightness(120%) contrast(91%);
}
.nav a { color: var(--color-teal); text-decoration: none; font-size: 18px; transition: color .15s ease; }
.nav a:hover { color: var(--color-orange); }
.nav h4 { margin: 0; color: inherit; font-size: 18px; font-weight: 400; display: inline; }

.nav a:not(.nav-brand):not(.btn),
.nav .nav-current,
.nav [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9.1px;
  border-radius: 6px;
  background: transparent;
  transition: background-color .15s ease, color .15s ease;
}

.nav a:not(.nav-brand):not(.btn):hover {
  background: #ffffff;
}

.nav .nav-current,
.nav [aria-current="page"] {
  color: #000;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-skip-ink: none;
  cursor: default;
  white-space: nowrap;
}
.nav .nav-current:hover,
.nav [aria-current="page"]:hover {
  color: #000;
  background: transparent;
}
.nav .nav-current h4,
.nav [aria-current="page"] h4 {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  display: inline;
  text-decoration: none;
}

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; color: #000; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #000;
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
  color: #000;
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
  z-index: 1000;
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--color-divider);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
  color: #000;
}
.dialog-body { font-size: 16px; opacity: 1; color: #000; }
.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.dialog-actions .btn-tertiary,
.dialog-actions [data-close-early-access] {
  padding-left: 0;
  margin-right: auto;
}


/* ── BookAI page layout ────────────────────────────────────────────── */
:root { --leading: 28px; --half: 14px; --edge: clamp(20px, 5vw, 72px); --measure: 58ch; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; text-wrap: pretty; overflow-x: clip; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--edge); }
.nav a { white-space: nowrap; }
.nav .btn { margin-left: var(--space-3); }

/* — Mobile Navigation Toggle Button — */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: var(--space-2);
  background: transparent;
  border: 2px solid var(--color-teal);
  border-radius: 8px;
  color: var(--color-teal);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  flex-shrink: 0;
}
.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-orange);
  border-color: var(--color-orange);
}
.nav-toggle:active {
  background: rgba(0, 0, 0, 0.08);
}
.nav-toggle svg {
  display: block;
}


@media (max-width: 1080px) and (min-width: 901px) {
  .nav-links { gap: 8px; }
  .nav a:not(.nav-brand):not(.btn),
  .nav .nav-current,
  .nav [aria-current="page"] { padding: 6px 6px; }
  .nav .btn { padding: 8px 14px; font-size: 14px; margin-left: var(--space-2); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
}

/* ── Navigation Modal (Mobile) ─────────────────────────────────────── */
.nav-modal-backdrop {
  align-items: flex-start;
  padding: calc(var(--space-8) + 12px) var(--space-4) var(--space-4);
}
.nav-modal {
  width: min(420px, 100%);
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  color: var(--color-teal);
  animation: navModalFadeIn .18s ease-out;
}
@keyframes navModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-modal-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--space-2);
}
.nav-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--color-teal);
  border-radius: 8px;
  color: var(--color-teal);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.nav-modal-close:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-orange);
  border-color: var(--color-orange);
}
.nav-modal-close svg {
  display: block;
}
.nav-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.nav-modal-link {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-teal);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color .15s ease, color .15s ease;
}
.nav-modal-link:hover {
  background: var(--color-yellow, #FFF2B3);
  color: var(--color-teal);
}
.nav-modal-link.nav-current,
.nav-modal-link[aria-current="page"] {
  color: var(--color-teal);
  font-weight: 600;
  background: transparent;
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-skip-ink: none;
  cursor: default;
}
.nav-modal-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: var(--space-4);
}
section[id], .band[id] { scroll-margin-top: calc(var(--space-8) + 24px); }
.hr { margin: 0; }

.kicker { display: block; font-size: 13px; line-height: var(--half); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-orange);
  font-feature-settings: "tnum" 1; margin: 0 0 var(--half); }

.hero { padding: calc(4 * var(--leading)) 0 calc(3 * var(--leading)); }
.hero h1,
.display {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0 -0.042em;
  color: #000;
}
.hero h1 span,
.display span {
  display: block;
  color: #000;
}
.hero .sub { font-size: 18px; line-height: var(--leading); max-width: var(--measure);
  margin: calc(1.75 * var(--leading)) 0 0; color: #000; }
.row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--leading); }

/* — home hero with framing illustration — */
.hero-home {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(3 * var(--leading)) 0 calc(0.625 * var(--leading));
  min-height: clamp(480px, 42vw, 580px);
}
.hero-home .hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translateY(100px);
}
.hero-home .hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transform: scale(1.4);
  transform-origin: center 73%;
  mix-blend-mode: multiply;
}
.hero-home .hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 var(--space-2);
  transform: translateY(-110px);
}
.hero-home h1,
.hero-home .display {
  margin: 0 auto;
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.12;
  color: #000;
  text-wrap: balance;
}
.hero-home .sub {
  margin: var(--space-3) auto 0;
  max-width: 540px;
  font-size: 18px;
  text-align: center;
  text-wrap: balance;
}
.hero-home .row {
  justify-content: center;
  margin-top: var(--space-4);
}

/* — hero with side graphic (For Venues & For Organizers) — */
.hero-side-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: calc(3.5 * var(--leading)) 0 calc(3 * var(--leading));
  min-height: clamp(520px, 46vw, 640px);
}
.hero-side-graphic .hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-side-graphic .hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
  mix-blend-mode: multiply;
  transform: none;
}
.hero-side-graphic .hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.hero-side-graphic h1 {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  color: #000;
  text-align: left;
}
.hero-side-graphic .sub,
.hero-side-graphic h4.sub {
  margin: var(--space-3) 0 0;
  max-width: 520px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: var(--leading);
  color: #000;
  text-align: left;
}
.hero-side-graphic h3.sub {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 35px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 38ch;
  margin: var(--space-4) 0 0;
  color: #000;
  text-align: left;
}
.hero-side-graphic .row {
  justify-content: flex-start;
  margin-top: var(--space-4);
}
#about.hero-side-graphic {
  margin-top: -41px;
  padding: calc(2 * var(--leading)) 0 calc(1 * var(--leading));
  align-items: center;
  min-height: clamp(520px, 48vw, 640px);
}
#about.hero-side-graphic .hero-content {
  max-width: 620px;
}
#venues.hero-side-graphic {
  padding: calc(3 * var(--leading)) 0;
}
#venues.hero-side-graphic .hero-content {
  transform: translateY(-20px);
}
#organizers.hero-side-graphic,
#developers-hero.hero-side-graphic {
  padding-top: calc(0.4375 * var(--leading));
  padding-bottom: calc(2 * var(--leading));
  min-height: clamp(420px, 38vw, 520px);
}
#organizers .hero-backdrop {
  top: calc(0.4375 * var(--leading));
  bottom: calc(2 * var(--leading));
}
#developers-hero .hero-backdrop {
  top: calc(3 * var(--leading));
  bottom: calc(0.5 * var(--leading));
}
#about .hero-illustration {
  transform: translateY(-20px) scale(0.92);
  transform-origin: right center;
}
#venues .hero-illustration {
  transform: translateY(-20px);
  transform-origin: right center;
}
#organizers .hero-illustration {
  transform: scale(1.44);
  transform-origin: right center;
}
#developers-hero .hero-illustration {
  transform: scale(1.509);
  transform-origin: right 60%;
}
#developers-hero.hero-side-graphic .hero-content {
  margin-top: 40px;
}

@media (max-width: 1440px) and (min-width: 901px) {
  .hero-home .hero-illustration {
    transform: scale(1.2);
  }
}

@media (max-width: 900px) {
  .hero-home {
    min-height: auto;
    padding-top: calc(2 * var(--leading));
    padding-bottom: 0;
    overflow: hidden;
    margin-left: calc(-1 * var(--edge));
    margin-right: calc(-1 * var(--edge));
  }
  .hero-home .hero-content {
    order: 1;
    transform: none;
    margin-top: -30px;
    padding-left: var(--edge);
    padding-right: var(--edge);
  }
  .hero-home .hero-backdrop {
    order: 2;
    position: relative;
    transform: none;
    margin-top: -120px;
    margin-bottom: -60px;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .hero-home .hero-illustration {
    height: auto;
    width: 150%;
    max-width: none;
    flex-shrink: 0;
    transform: none;
  }

  .hero-side-graphic {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: calc(2 * var(--leading));
    padding-bottom: var(--space-4);
  }
  #about.hero-side-graphic {
    margin-top: 0;
    padding-top: calc(0.25 * var(--leading));
    align-items: flex-start;
  }
  #about.hero-side-graphic .hero-content {
    margin-top: -210px;
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
  #about.hero-side-graphic h1 {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
  #about.hero-side-graphic .founder-quote-row,
  #about.hero-side-graphic .founder-quote-row .sub,
  #about.hero-side-graphic .founder-quote-row h4.sub {
    width: 90%;
    max-width: 90%;
    text-align: left;
    margin-left: 0;
  }
  #about.hero-side-graphic .hero-backdrop {
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    margin-left: auto;
    transform: translate(calc(var(--edge) + 10% + 30px), 220px);
  }
  #about.hero-side-graphic .hero-illustration {
    transform: translateY(-20px) scale(1.435);
    transform-origin: right center;
    object-position: right center;
  }
  #next.band {
    padding-top: calc(0.75 * var(--leading) + 15px);
  }
  #organizers.hero-side-graphic,
  #developers-hero.hero-side-graphic {
    padding-top: calc(0.25 * var(--leading));
    margin-right: calc(-1 * var(--edge));
    overflow: hidden;
  }
  #organizers.hero-side-graphic .hero-content {
    margin-top: -30px;
    padding-right: var(--edge);
  }
  #developers-hero.hero-side-graphic .hero-content {
    margin-top: 10px;
    padding-right: var(--edge);
  }
  #organizers.hero-side-graphic .hero-backdrop {
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    margin-left: auto;
    transform: translate(30px, -30px);
  }
  #developers-hero.hero-side-graphic .hero-backdrop {
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    margin-left: auto;
    transform: translate(30px, 35px);
  }
  #organizers.hero-side-graphic .hero-illustration {
    transform: scale(1.584);
    transform-origin: right center;
    object-position: right center;
  }
  #developers-hero.hero-side-graphic .hero-illustration {
    transform: scale(1.661);
    transform-origin: right center;
    object-position: right center;
  }
  #venues.hero-side-graphic {
    padding-top: 40px;
  }
  #venues.hero-side-graphic .hero-content {
    order: 1;
    margin-top: 0;
    transform: none;
  }
  #venues.hero-side-graphic .hero-backdrop {
    order: 2;
    margin-top: -80px;
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    margin-left: auto;
    transform: translateX(calc(var(--edge) + 30px));
  }
  #venues.hero-side-graphic .hero-illustration {
    transform: translateY(-20px) scale(1.68);
    transform-origin: right center;
    object-position: right center;
  }
  #venues.hero-side-graphic .sub {
    width: 80%;
    max-width: 80%;
    text-align: left;
  }
  .hero-side-graphic .hero-content {
    max-width: 100%;
  }
  .hero-side-graphic .hero-backdrop {
    position: static;
    width: 100%;
    max-width: 600px;
    margin-top: var(--space-5);
  }
  .hero-side-graphic .hero-illustration {
    height: auto;
    max-width: 100%;
    object-position: center;
  }
}

h2.head { font-family: "Lora", Georgia, serif; font-weight: 400;
  font-size: 45px; line-height: 1.12; letter-spacing: -0.008em; margin: 0; color: #000; }
h3.head { font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.008em; margin: 0; color: #000; }
.lede { font-size: 16px; line-height: 1.5; max-width: var(--measure);
  margin: var(--leading) 0 calc(1.5 * var(--leading));
  color: #000; }
.underline-orange {
  text-decoration: underline;
  text-decoration-color: var(--color-orange, #F46748);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
}

section.band { padding: calc(3 * var(--leading)) 0 calc(2.5 * var(--leading)); }
section.band-tight { padding: calc(2.5 * var(--leading)) 0; }

/* ── Pipeline (Hand-drawn alternating circles and timeline) ─────────────────── */
#pipeline {
  position: relative;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url("assets/Home/rough-paper-texture.jpg");
  background-repeat: repeat;
  background-size: auto, 520px 520px;
  padding-bottom: calc(1.25 * var(--leading));
}
.pipeline-paper-edge {
  position: absolute;
  left: 0;
  width: 100%;
  height: 20px;
  pointer-events: none;
  z-index: 5;
  display: block;
  overflow: visible;
}
.pipeline-paper-edge-top {
  top: -1px;
}
.pipeline-paper-edge-bottom {
  bottom: -1px;
}
#pipeline h2,
#pipeline h3 {
  text-align: left;
  max-width: 28ch;
  margin-left: 0;
  margin-right: auto;
}
#pipeline .lede {
  text-align: left;
  max-width: none;
  margin: var(--space-3) 0 0;
  padding-bottom: 20px;
}
#pipeline .legend {
  text-align: right;
  margin-top: var(--space-3);
}
.pipeline-scroll-wrap {
  width: 100%;
  max-width: 1190px;
  margin: var(--space-4) auto 0;
  padding: 0;
  overflow: visible;
  position: relative;
  height: calc(525px * var(--pipeline-scale, 1));
  scrollbar-width: none;
  -ms-overflow-style: none;
  --pipeline-scale: 1;
}
.pipeline-scroll-wrap::-webkit-scrollbar {
  display: none;
}
.pipeline-flow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1190px;
  height: 525px;
  transform-origin: top center;
  transform: translateX(-50%) scale(var(--pipeline-scale, 1));
  will-change: transform;
}
.pipeline-connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 1190px;
  height: 525px;
  pointer-events: none;
  z-index: 3;
}

/* Responsive fallback scales when JavaScript is not yet loaded or disabled */
@media (max-width: 1350px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.92; }
}
@media (max-width: 1250px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.84; }
}
@media (max-width: 1150px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.76; }
}
@media (max-width: 1050px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.68; }
}
@media (max-width: 950px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.60; }
}
@media (max-width: 850px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.52; }
}
@media (max-width: 750px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.45; }
}
@media (max-width: 650px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.38; }
}
@media (max-width: 550px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.32; }
}
@media (max-width: 450px) {
  .pipeline-scroll-wrap { --pipeline-scale: 0.27; }
}
.pipeline-connector-svg path {
  stroke: var(--color-gray-light, #a8a5a5);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: url(#pen-roughness-connectors);
}
.pipeline-connector-svg path.pipeline-stem {
  stroke-width: 3.6;
}
.pipe-step {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url("assets/Home/rough-paper-texture.jpg");
  background-repeat: repeat;
  background-size: auto, 520px 520px;
  box-sizing: border-box;
  z-index: 2;
}
.step-circle-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}
.step-circle-border > path,
.step-circle-border .circle-pen-outline {
  stroke: var(--color-gray-light, #a8a5a5);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-circle-border path.step-watercolor-base {
  fill: var(--color-yellow-watercolor, #FDF0A6);
  stroke: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
}
.step-watercolor-img {
  width: 182px;
  height: 182px;
  opacity: 0.72;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.step-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 16px 18px;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}
.pipe-step .step-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-orange, #F46748);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-sizing: border-box;
  user-select: none;
}
.pipe-step .t {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  color: #000;
  margin-top: 0;
}
.pipe-step .d {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;
  color: #000;
  margin-top: 3px;
  max-width: 156px;
}
.pipe-step .status {
  margin-top: 10px;
  font-size: 10px;
  padding: 2px 7px;
  line-height: 1.2;
}

/* justified columns parted by vertical hairlines */
.cols { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: calc(1.5 * var(--leading)) calc(2 * var(--leading)); }
.cols > * + * { position: relative; }
.cols > * + *::before { content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(-1 * var(--leading) - 0.5px); width: 1px; background: var(--color-divider); }
.col h3 { font-family: var(--font-heading); font-weight: 400; font-size: 26px;
  line-height: var(--leading); letter-spacing: -0.005em; margin: 0; color: #000; }
.col p { font-size: 16px; line-height: 1.5; margin: var(--space-3) 0 0;
  color: #000;
  text-align: left; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--leading); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--leading); }
.card { padding: var(--space-4); }
.card .card-title { font-size: 20px; color: #000; }
.card .card-body { font-size: 16px; line-height: 1.5; opacity: 1; color: #000;
  text-align: left; }

/* product screenshots — a heading + paragraph over each screenshot (or pair) */
.shot-group { margin-top: calc(2.25 * var(--leading)); }
.shot-group:first-child { margin-top: var(--leading); }
#control > .shot-group:first-child { margin-top: 0; }
.shot-group h2 { font-family: "Lora", Georgia, serif; font-weight: 400; font-size: 45px;
  line-height: 1.12; letter-spacing: -0.008em; margin: 0; color: #000; }
.shot-group h3 { font-family: var(--font-heading); font-weight: 400; font-size: 26px;
  line-height: var(--leading); letter-spacing: -0.005em; margin: 0; color: #000; }
.shot-group > p { font-size: 16px; line-height: 1.5; max-width: 70ch;
  margin: var(--space-2) 0 0; color: #000; text-align: left; }
.shots, .shot-pair { display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--leading); margin-top: var(--leading); }
.shot { margin: 0; }
.shot a,
.shot .shot-frame { display: block; border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  background: var(--color-neutral-100); overflow: hidden; box-shadow: var(--shadow-sm); }
.shot a { transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.shot a:hover, .shot a:focus-visible { box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--color-accent) 55%, transparent); }
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: top center; }
.shot.wide { grid-column: 1 / -1; }
.shot.wide img { aspect-ratio: 1780 / 945; }
.shot.narrow { grid-column: 1 / -1; max-width: 320px; }
.shot.narrow img { aspect-ratio: 687 / 748; }
.shot.pin-left img { object-position: top left; }
.shot figcaption { font-size: 14px; line-height: 1.5; margin-top: var(--space-2);
  color: #666; }
@media (prefers-reduced-motion: reduce) { .shot a { transition: none; } }

.setup-layout {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: calc(2 * var(--leading));
  align-items: start;
}
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(2 * var(--leading));
  align-items: start;
}
.two-col-layout + .two-col-layout {
  margin-top: calc(3 * var(--leading));
}
.setup-text,
.two-col-text {
  display: flex;
  flex-direction: column;
}
.two-col-text .head {
  max-width: 28ch;
}
.two-col-text p {
  font-size: 17px;
  line-height: var(--leading);
  margin: var(--space-3) 0 0;
  color: #000;
  max-width: var(--measure);
}
.setup-shots,
.two-col-shots {
  display: flex;
  flex-direction: column;
  gap: calc(1.5 * var(--leading));
}
.setup-shots .shot,
.two-col-shots .shot {
  margin: 0;
}
.setup-shots .shot img,
.two-col-shots .shot img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}
.two-col-shots .shot.narrow {
  max-width: 340px;
  width: 100%;
}

/* ── Experience 2-Column Layout (For Organizers) ─────────────────────── */
.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 13fr) minmax(0, 12fr);
  gap: calc(2 * var(--leading));
  align-items: start;
}
.experience-text {
  display: flex;
  flex-direction: column;
}
.experience-text .head {
  max-width: 28ch;
}
.experience-text .lede {
  margin: var(--leading) 0 calc(1.5 * var(--leading));
}
.experience-text .shot-group {
  margin-top: var(--leading);
}
.experience-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--leading);
  align-items: start;
  justify-self: end;
  margin-left: auto;
  width: 100%;
}
.experience-shots .shot-frame {
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: default;
}
.experience-shots .shot-frame:hover {
  box-shadow: none;
  border: none;
}
.experience-shots .shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 768 / 1376;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* ── Safety & Control Side-by-Side Cards (For Venues) ─────────────────── */
.control-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: stretch;
}
.control-card {
  background: #ffffff;
  border-radius: 12px;
  border: 3px solid var(--color-dark-grey, #2B2B2B);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.control-card-media {
  background: var(--color-yellow, #FFF2B3);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 3px solid var(--color-yellow, #FFF2B3);
}
.control-card-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.control-card-text {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.control-card-text h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  color: #000;
}
.control-card-text p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  color: #000;
  text-align: left;
}
@media (max-width: 900px) {
  .control-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .control-card-media {
    height: 260px;
    padding: 16px;
  }
  .control-card-text {
    padding: 20px 20px 24px;
  }
}

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--leading); }
.chips .tag { font-size: 13px; padding: 5px 14px; }

/* Works with Live - Integration Cards */
.works-with-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: calc(1.75 * var(--leading)) 0 var(--space-2);
  color: #000;
}
.works-with-heading .status {
  vertical-align: middle;
  margin-left: 8px;
}
.works-with-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: var(--space-2);
  margin-bottom: calc(1.5 * var(--leading));
}
.works-with-card {
  background: #ffffff;
  border-radius: 10px;
  height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-dark-gray, #2B2B2B);
}
.works-with-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-dark-gray, #2B2B2B);
  user-select: none;
}
.works-with-lockup svg {
  flex-shrink: 0;
}
.works-with-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--color-dark-gray, #2B2B2B);
  line-height: 1.2;
  white-space: nowrap;
}
.works-with-sub {
  font-size: 10px;
  font-weight: 700;
  background: var(--color-neutral-200, #eae7e7);
  color: var(--color-neutral-800, #444141);
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 3px;
  vertical-align: middle;
}
@media (max-width: 1080px) {
  .works-with-grid:not(.works-with-grid-4) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding: 0 var(--edge);
    gap: 14px;
    margin-left: calc(-1 * var(--edge));
    margin-right: calc(-1 * var(--edge));
    padding-left: var(--edge);
    padding-right: var(--edge);
    padding-top: 4px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .works-with-grid:not(.works-with-grid-4)::-webkit-scrollbar {
    display: none;
  }
  .works-with-grid:not(.works-with-grid-4) .works-with-card {
    flex: 0 0 165px;
    min-width: 165px;
    scroll-snap-align: start;
  }
}

.works-with-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 840px;
}
.offering-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: var(--space-2);
}
.offering-types-grid .works-with-card {
  min-width: 0;
  padding: 14px 8px;
}
.offering-types-grid .works-with-lockup {
  gap: 8px;
}
.offering-types-grid .works-with-name {
  white-space: normal;
  text-align: left;
}
@media (max-width: 420px) {
  .offering-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 880px) {
  .works-with-grid-4 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding: 0 var(--edge);
    gap: 14px;
    max-width: 100%;
    margin-left: calc(-1 * var(--edge));
    margin-right: calc(-1 * var(--edge));
    padding-left: var(--edge);
    padding-right: var(--edge);
    padding-top: 4px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .works-with-grid-4::-webkit-scrollbar {
    display: none;
  }
  .works-with-grid-4 .works-with-card {
    flex: 0 0 195px;
    min-width: 195px;
    scroll-snap-align: start;
  }
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(2 * var(--leading));
  align-items: stretch;
}
.reasons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-graphic {
  position: relative;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  background: #ffffff;
  display: flex;
  height: 100%;
  isolation: isolate;
}
.why-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
  transform: scale(1.2);
  transform-origin: left top;
}
@media (max-width: 800px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .why-graphic {
    height: 320px;
    min-height: 280px;
  }
}

.reasons > div {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 10px;
  border: 2px solid var(--color-dark-grey, #2B2B2B);
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}
.reasons .num {
  background: var(--color-yellow, #FFF2B3);
  color: var(--color-dark-grey, #2B2B2B);
  width: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-right: 2px solid var(--color-yellow, #FFF2B3);
  box-shadow: none;
}
.reasons .num h3,
.reasons h3.num,
.reasons .num h2,
.reasons h2.num {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 35px;
  line-height: 1;
  color: var(--color-dark-grey, #2B2B2B);
  margin: 0;
  padding: 0;
}
.reasons > div > div:last-child {
  padding: 20px 24px;
  flex: 1;
}
.reasons h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: #000;
}
.reasons p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: #000;
  text-align: left;
}

@media (max-width: 580px) {
  .reasons .num {
    width: 56px;
  }
  .reasons .num h3,
  .reasons h3.num,
  .reasons .num h2,
  .reasons h2.num {
    font-size: 28px;
  }
  .reasons > div > div:last-child {
    padding: 16px 18px;
  }
  .reasons h3 {
    font-size: 20px;
  }
}

.quote { padding: calc(2.5 * var(--leading)) 0 calc(3.5 * var(--leading)); }
.quote .kicker { margin-bottom: calc(1.5 * var(--leading)); }
.quote figure { margin: 0; }
.quote blockquote,
.quote h3,
.story-content h3 { font-family: var(--font-heading); font-weight: 400;
  font-size: 35px; line-height: 1.35;
  letter-spacing: -0.015em; max-width: 38ch; margin: 0; color: #000; }
.quote figcaption { font-size: 16px; line-height: var(--leading);
  color: #000;
  margin: calc(2 * var(--leading)) 0 0; text-indent: -1.104em; }

/* — Story quote in Company hero — */
.founder-quote-row {
  margin-top: calc(var(--space-4) * 1.69);
}
.founder-quote-row .sub,
.founder-quote-row h4.sub {
  margin: 0;
  max-width: 480px;
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
@media (max-width: 720px) {
  .hero-side-graphic h3.sub,
  .story-content h3 {
    font-size: clamp(20px, 5.5vw, 28px);
  }
}

/* — Founding Team — */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.team-card {
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: calc(var(--space-3) * 1.5);
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s ease;
}
#next.band {
  padding-top: calc(1.5 * var(--leading));
}
#next .lede {
  max-width: none;
}
#next .card {
  border: none;
  position: relative;
  background: transparent;
  border-radius: var(--radius-md);
  transition: box-shadow .15s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}
#next .card-icon {
  color: var(--color-dark-gray, #2B2B2B);
  margin-bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
}
#next .card-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}
#next .card .card-title {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #000;
  text-align: left;
  margin: 0 0 var(--space-2);
}
#next .card .card-body {
  line-height: 1.5;
  text-align: left;
  hyphens: none;
  margin: 0;
}

/* — Home Page Vision Cards with Casual Single-Stroke Illustrations — */
#vision .vision-card {
  border: none;
  position: relative;
  background: transparent;
  border-radius: var(--radius-md);
  transition: box-shadow .15s ease;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
  text-align: left;
}
#vision .card-illustration-wrap {
  width: 100%;
  aspect-ratio: 8 / 3;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-3) var(--space-4) 0;
  box-sizing: border-box;
  background: transparent;
}
#vision .card-illustration {
  width: 70%;
  height: 100%;
  max-width: 70%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
#vision .card-text-block {
  padding: calc(1.3 * var(--space-3)) calc(1.3 * var(--space-4)) calc(1.3 * var(--space-4));
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
#vision .card-text-block .card-title {
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}
#vision .card-text-block .card-body {
  margin: 0;
  flex: 1;
}

/* — Who It's For Cards with Hand-Drawn Outline & Top-Row Icons — */
#who .card {
  border: none;
  position: relative;
  background: transparent;
  padding: calc(1.3 * var(--space-4));
  display: flex;
  flex-direction: column;
  text-align: left;
}
@media (max-width: 600px) {
  #who .card {
    padding: var(--space-4);
  }
}
#who .card-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
#who .card-border path {
  fill: #ffffff;
}
#who .card > *:not(.card-border) {
  position: relative;
  z-index: 1;
}
#who .card:hover .card-border path {
  stroke: var(--color-gray, #646262);
}
#who .card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
#who .card-icon {
  color: var(--color-dark-gray, #2B2B2B);
  display: inline-flex;
  align-items: center;
}
#who .card-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}
#who .card-title {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}
#who .card-body {
  margin: 0 0 var(--space-4);
  line-height: 1.5;
  color: #000;
  flex: 1;
}
#who .btn-secondary {
  font-size: 16px;
  height: 42px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  align-self: flex-start;
  margin-top: auto;
}

/* ── Architecture Diagram (BookAI sits between) ─────────────────────────── */
#sits-between {
  padding-top: calc(1.5 * var(--leading));
  padding-bottom: calc(3 * var(--leading));
}
.arch-header {
  text-align: center;
  margin-bottom: calc(2.5 * var(--leading));
}
.arch-header .head {
  text-align: center;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.18;
}
.arch-header .lede {
  text-align: center;
  margin: var(--space-3) auto 0;
  max-width: 620px;
}

.desktop-only {
  display: inline;
}
.mobile-break {
  display: none;
}
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-break {
    display: inline;
  }
  .arch-header .head {
    font-size: clamp(24px, 5.5vw, 32px);
    line-height: 1.2;
  }
}

.arch-wrapper {
  max-width: 1240px;
  margin: 0 auto;
}

.arch-diagram {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 165px) minmax(260px, 1.15fr) minmax(140px, 165px) minmax(220px, 1fr);
  align-items: stretch;
  gap: 12px;
}

.arch-card {
  border-radius: 18px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 3px solid var(--color-dark-grey, #2B2B2B);
  box-shadow: none;
}

.arch-card-customer {
  background: transparent;
  border-color: var(--color-dark-grey, #2B2B2B);
}

.arch-card-bookai {
  position: relative;
  background: var(--color-yellow, #FFF2B3);
  border-color: var(--color-dark-grey, #2B2B2B);
  color: #000000;
}

/* Sparkles around top 30% of BookAI card */
.arch-sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  color: var(--color-orange, #F46748);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-sparkle svg {
  width: 42px;
  height: 42px;
  display: block;
}

.arch-sparkle-1 {
  top: 30px;
  left: -44px;
  transform: rotate(-10deg);
}

.arch-sparkle-2 {
  top: -30px;
  right: -28px;
  transform: rotate(14deg);
}

.arch-sparkle-3 {
  top: 92px;
  right: -44px;
  transform: rotate(-6deg);
}

.arch-card-platform {
  background: transparent;
  border-color: var(--color-dark-grey, #2B2B2B);
}

.arch-card-top {
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-card-icon {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-grey, #2B2B2B);
}

.arch-card-icon svg {
  width: 52px;
  height: 52px;
  display: block;
}

.arch-card-icon img,
.arch-card-icon .arch-card-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.arch-card-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
  text-align: center;
}

.arch-card-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #000;
  margin: 0;
  text-align: center;
}

/* Customer chat bubbles */
.arch-bubbles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.arch-bubble {
  background: #ffffff;
  color: #000;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: none;
  border: none;
}

.arch-card-customer .arch-bubble {
  position: relative;
  border-radius: 12px;
}

.arch-card-customer .arch-bubble::after {
  content: "";
  position: absolute;
  bottom: 9px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid #ffffff;
}

.arch-card-customer .arch-pill-text {
  font-size: 14px;
}

/* BookAI header */
.arch-bookai-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.arch-bookai-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.arch-bookai-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 0 0 6px 0;
}

.arch-bookai-badge {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-teal, #1A4D4D);
  margin-top: 4px;
}

.arch-card-bookai .arch-card-title,
.arch-card-bookai .arch-bookai-title,
.arch-card-bookai h5.arch-card-title,
.arch-card-bookai h5 {
  color: #000000 !important;
}

.arch-card-bookai .arch-bookai-badge {
  color: #000000 !important;
}

.arch-card-bookai .arch-bookai-top {
  margin-bottom: 20px;
}

.arch-card-bookai .arch-card-sub {
  color: #000000;
}

.arch-card-bookai .arch-pill {
  background: #ffffff;
  border: none;
  color: #000000;
}

.arch-card-bookai .arch-pill-text {
  color: #000000 !important;
}

.arch-card-bookai .arch-check-icon {
  color: #22C55E;
  flex-shrink: 0;
  display: block;
}

/* Pill list */
.arch-pill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.arch-pill {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: none;
  border: none;
}

.arch-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-pill-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

/* Connectors */
.arch-connector {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 0 4px;
  box-sizing: border-box;
}

.arch-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.arch-flow-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  margin-bottom: 8px;
  text-align: center;
}

.arch-flow-bottom .arch-flow-text {
  margin-top: 8px;
  margin-bottom: 0;
  color: #000;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.arch-arrow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-arrow-horizontal {
  width: 100%;
  display: block;
}

.arch-arrow-horizontal svg {
  width: 100%;
  height: 16px;
  display: block;
  overflow: visible;
}

.arch-arrow-vertical {
  display: none;
}

.arch-arrow-vertical svg {
  width: 16px;
  height: 28px;
  display: block;
  margin: 4px auto;
  overflow: visible;
}

.arch-arrow svg path {
  stroke: var(--color-dark-grey, #2B2B2B);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arch-flow-multiline {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  text-align: center;
  margin-top: 8px;
}

.arch-flow-multiline div {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
}

/* Integrations Footer */
.arch-integrations {
  margin-top: calc(2.5 * var(--leading));
}

.arch-integrations h3,
.arch-integrations h4,
.arch-integrations-heading,
.arch-integrations-label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #000;
  text-align: left;
  text-transform: none;
  margin: 0 0 18px 0;
}

.arch-integrations .works-with-grid-4 {
  max-width: 100%;
  margin: 0;
}

.arch-integrations .works-with-card {
  box-shadow: none;
}

.arch-integrations .works-with-lockup {
  gap: 12px;
}

/* Responsive */
@media (max-width: 1080px) {
  .arch-diagram {
    grid-template-columns: minmax(200px, 1fr) 95px minmax(240px, 1.15fr) 95px minmax(200px, 1fr);
  }
}

@media (max-width: 960px) {
  .arch-diagram {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 520px;
    margin: 0 auto;
  }
  .arch-connector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
  }
  .arch-flow-top,
  .arch-flow-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .arch-arrow-horizontal {
    display: none;
  }
  .arch-arrow-vertical {
    display: block;
    margin: 6px 0;
  }
  .arch-flow-bottom .arch-flow-text,
  .arch-flow-multiline {
    margin-top: 4px;
  }
}

@media (max-width: 600px) {
  .arch-connector {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 10px;
  }
  .arch-flow-text,
  .arch-flow-bottom .arch-flow-text,
  .arch-flow-multiline,
  .arch-flow-multiline div {
    font-size: 14px;
  }
}

@media (max-width: 880px) {
  .arch-integrations .works-with-grid-4 {
    margin-left: calc(-1 * var(--edge));
    margin-right: calc(-1 * var(--edge));
  }
}


.team-card-border,
.card-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}
.team-card-border path,
.card-border path {
  fill: none;
  stroke: var(--color-gray-light, #a8a5a5);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .15s ease;
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius-md) * 0.75);
  overflow: hidden;
  background: var(--color-neutral-100);
  margin-bottom: var(--space-3);
}
.team-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.team-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.team-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.team-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  color: #000;
  margin: 0;
}
.team-linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-light, #a8a5a5);
  transition: color .15s ease;
  text-decoration: none;
  z-index: 2;
  flex-shrink: 0;
}
.team-linkedin-link:hover,
.team-linkedin-link:focus-visible {
  color: var(--color-orange, #F46748);
}
.team-linkedin-icon {
  display: block;
  width: 16px;
  height: 16px;
}
.team-title {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  margin: 0 0 8px;
}
.team-museum {
  margin: 0;
}
.team-museum-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  margin: 0 0 2px;
}
.team-museum-label svg {
  flex-shrink: 0;
}
.team-museum-link {
  font-size: 16px;
  color: var(--color-teal, #0F848C);
  text-decoration: none;
  line-height: 1.4;
}
.team-museum-link:hover {
  color: var(--color-orange, #F46748);
  text-decoration: underline;
}
@media (max-width: 900px) and (min-width: 481px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Developers full-bleed band on Company and Developers page */
#developers {
  background: var(--color-dark-grey, #2B2B2B);
  color: #fff;
  position: relative;
  overflow: hidden;
}
#developers .wrap {
  position: relative;
  z-index: 2;
}

/* Subtle celestial starfield backdrop */
.developers-starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.developers-starfield svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes starTwinkleA {
  0%, 100% { opacity: 0.18; transform: scale(0.85); }
  50% { opacity: 0.85; transform: scale(1.15); }
}

@keyframes starTwinkleB {
  0%, 100% { opacity: 0.12; transform: scale(0.9); }
  45% { opacity: 0.75; transform: scale(1.1); }
  75% { opacity: 0.3; transform: scale(0.95); }
}

@keyframes starTwinkleC {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  60% { opacity: 0.95; transform: scale(1.2); }
}

@keyframes starTwinkleD {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.6; }
}

@keyframes starGlint {
  0%, 100% { opacity: 0.15; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(1.25) rotate(12deg); }
}

.star-a {
  transform-box: fill-box;
  transform-origin: center;
  animation: starTwinkleA 4s ease-in-out infinite;
}
.star-b {
  transform-box: fill-box;
  transform-origin: center;
  animation: starTwinkleB 5.2s ease-in-out infinite;
}
.star-c {
  transform-box: fill-box;
  transform-origin: center;
  animation: starTwinkleC 6.1s ease-in-out infinite;
}
.star-d {
  transform-box: fill-box;
  transform-origin: center;
  animation: starTwinkleD 6.8s ease-in-out infinite;
}
.star-glint {
  transform-box: fill-box;
  transform-origin: center;
  animation: starGlint 7.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .star-a, .star-b, .star-c, .star-d, .star-glint {
    animation: none !important;
    opacity: 0.4;
  }
}
#developers .head {
  color: #fff;
}
#developers .lede {
  color: #fff;
}
#developers .btn,
#developers .btn-secondary {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
#developers .btn:hover,
#developers .btn-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-dark-grey, #2B2B2B);
}
#developers .btn:active,
#developers .btn-secondary:active {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
  color: var(--color-dark-grey, #2B2B2B);
}

.developers-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(2.5 * var(--leading));
  align-items: center;
}
.developers-content {
  display: flex;
  flex-direction: column;
}
.developers-content .head {
  max-width: 24ch;
}
.developers-content .lede {
  max-width: none;
  margin: var(--leading) 0 calc(1.5 * var(--leading));
}
.developers-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.developers-graphic img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
}

.vision-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr;
  gap: calc(2 * var(--leading));
  align-items: center;
}
.vision-text {
  display: flex;
  flex-direction: column;
}
.vision-text .head {
  max-width: none;
  margin-top: 30px;
}
.vision-text .lede {
  max-width: none;
  margin: var(--space-4) 0 10px;
}
.vision-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vision-graphic picture {
  display: block;
}
.vision-graphic img {
  width: 100%;
  max-width: 335px;
  height: auto;
  display: block;
}

.close {
  padding: calc(2.5 * var(--leading)) 0 calc(2 * var(--leading));
  text-align: center;
}
.close-container {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 80px;
  box-sizing: border-box;
  text-align: center;
}
@media (max-width: 600px) {
  .close-container {
    padding: 30px 20px;
  }
}
.close h3.head {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  color: #000;
  text-align: center;
}
.close .sub {
  font-size: 16px;
  line-height: var(--leading);
  max-width: var(--measure);
  margin: var(--leading) auto 0;
  color: #000;
  text-align: center;
}
.close .row {
  justify-content: center;
}

footer { padding: calc(2 * var(--leading)) 0; font-size: 13px; line-height: var(--leading);
  color: var(--color-gray, gray);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between; align-items: center; }
footer .brand { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--color-gray, gray); }
footer a { color: inherit; }
footer a:hover { color: var(--color-orange); }
footer .copyright,
footer > span:last-child {
  font-size: 14px;
  color: #666;
}

/* live vs. next status markers — keep the vision and the as-is product visibly apart */
.status { display: inline-block; font-family: var(--font-body); font-size: 10.5px; line-height: 1.4;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 7px; border-radius: 3px;
  vertical-align: middle; white-space: nowrap; }
.status-live { background: var(--color-dark-grey, #2B2B2B); color: var(--color-yellow, #FFF2B3); font-weight: 700; }
.status-next { background: var(--color-yellow, #FFF2B3); color: #000; font-weight: 700; outline: 1px solid var(--color-dark-grey, #2B2B2B); }
.legend { font-size: 13px; margin: 0; color: #000; }
.legend .status + .status { margin-left: var(--space-3); }
.pipe-step.is-next .t { color: #000; }
.card-kicker .status { margin-left: 6px; letter-spacing: 0.06em; }
.chips-label { font-size: 13px; margin: calc(1.25 * var(--leading)) 0 0;
  color: #000; }
.tag-next { border: 1px dashed color-mix(in srgb, #000 40%, transparent);
  color: #000; }
select.input { appearance: auto; }

.dialog-backdrop[hidden] { display: none; }
#ea-status { font-size: 13px; margin: 0; }
#ea-status[hidden] { display: none; }

@media (max-width: 1100px) {
  .cols, .grid3 { grid-template-columns: 1fr; }
  .cols > * + *::before { content: none; }
  .col { max-width: 62ch; }
}
@media (max-width: 900px) {
  .setup-layout,
  .two-col-layout,
  .experience-layout,
  .developers-layout,
  .vision-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    position: relative;
    z-index: 2;
  }
  .vision-text {
    position: relative;
    z-index: 2;
  }
  .vision-text .head { margin-top: 10px; }
  .vision-text .lede {
    width: 74%;
    max-width: 74%;
  }
  .vision-graphic {
    position: relative;
    z-index: 1;
    pointer-events: none;
    justify-content: flex-end;
    justify-self: end;
    margin-right: calc(-1 * var(--edge) - 40px);
    margin-top: -260px;
  }
  .vision-graphic picture,
  .vision-graphic img {
    display: block;
    width: 180px;
    max-width: 180px;
    height: auto;
  }
  .experience-shots { justify-self: start; margin-left: 0; }
}
@media (max-width: 720px) {
  .hero { padding-top: calc(2.5 * var(--leading)); }
  h1, .hero h1, .hero-home h1, .display { font-size: clamp(38px, 9vw, 60px); }
  h2.head { font-size: clamp(32px, 7vw, 45px); }
  .grid2, .shots, .shot-pair { grid-template-columns: 1fr; }
  .shot img, .shot.wide img { aspect-ratio: auto; }
  .shot.narrow { max-width: 100%; }
  .quote blockquote, .quote figcaption { text-indent: 0; }
}
@media (max-width: 580px) {
  .experience-shots { grid-template-columns: 1fr; }
}

