/* Open Ajar. One stylesheet: tokens, base, layout, components, pages.
   Look: Inter only, warm stone text, flat evergreen accent, white cards with hairline borders, floating pill header. */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --soft: #FAFAF9; --ink: #44403C; --ink-strong: #1C1917; --muted: #78716C; --line: #E7E5E4; --line-strong: #D6D3D1;
  --accent: #1F5C46; --accent-2: #2E7D5B; --accent-ink: #FFFFFF; --accent-soft: #EEF5F1; --accent-hover: #174A38; --brass: #E8A33D;
  --grad: var(--accent); /* flat on purpose: gradients read as template-y */
  --warn: #B45309; --warn-soft: #FEF3C7; --danger: #DC2626; --danger-soft: #FEE2E2; --ok: #047857; --ok-soft: #D1FAE5;
  --radius: 20px; --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink-strong); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: 1.1rem; letter-spacing: -.03em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
/* section label: a short line of accent text above a heading */
.eyebrow { display: block; font: 600 .875rem/1.4 var(--sans); letter-spacing: -.005em; color: var(--accent); margin: 0 0 12px; }
.lead { font-size: 1.1rem; font-weight: 500; color: #57534E; max-width: 62ch; letter-spacing: -.01em; }

/* layout */
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }
.section { padding: 80px 0; }
.section--tight { padding-top: 16px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center h2, .closing h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head { padding: 56px 0 28px; }
.grid, .features { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
/* fixed 1 / 2 / 3 columns; a short last row is centered so it stays symmetrical */
.grid > *, .features > * { flex: 0 0 100%; min-width: 0; }
@media (min-width: 640px) { .grid > *, .features > * { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 980px) { .grid:not(.grid--2) > *, .features > * { flex-basis: calc((100% - 40px) / 3); } }
.row2 { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }
.actions { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; }
.split { display: grid; gap: 24px 64px; grid-template-columns: 1fr 1.2fr; align-items: start; }
@media (max-width: 760px) { .row2, .split { grid-template-columns: 1fr; } }

/* floating pill header */
.topbar { position: sticky; top: 0; z-index: 10; padding: 16px 0 0; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 12px 0 20px;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 24px;
  border: 1px solid rgba(231, 229, 228, .7); box-shadow: 0 4px 24px rgba(28, 25, 23, .04); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; color: var(--ink-strong); text-decoration: none; margin: 0; }
.brand__door { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); position: relative; flex: none; }
.brand__door::after { content: ''; position: absolute; left: 8px; top: 6px; width: 10px; height: 14px; border-radius: 2px; background: #fff;
  clip-path: polygon(0 0, 100% 12%, 100% 88%, 0 100%); }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--ink-strong); text-decoration: none; padding: 8px 12px; border-radius: 12px; font: 500 .9rem var(--display); }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { color: #fff; margin-left: 8px; }
.nav .btn:hover { background: var(--accent-hover); }
.nav__account { display: inline-flex; align-items: center; gap: 8px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-grid; place-items: center; font-size: .78rem; font-weight: 600; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .menu-btn { display: inline-block; background: none; border: 0; color: var(--ink-strong); padding: 8px 10px; font: 500 .95rem var(--sans); cursor: pointer; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 80px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
    flex-direction: column; align-items: stretch; padding: 10px; box-shadow: 0 12px 40px rgba(28, 25, 23, .08); }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 6px 0 0; }
}
.footer { background: var(--soft); margin-top: 80px; padding: 48px 0 32px; text-align: center; }
.footer__inner { display: grid; gap: 28px; justify-items: center; }
.footer__links { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 56px; text-align: left; }
.footer__links a { color: #111827; text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: var(--accent); }
.footer .muted { max-width: 46ch; margin: 0 auto; }
@media (max-width: 520px) { .footer__links { grid-template-columns: repeat(2, auto); gap: 10px 40px; } }

/* buttons + pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; border: 1px solid var(--accent-hover);
  padding: 9px 16px; border-radius: 8px; font: 500 .94rem/1.25 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .08), inset 0 1px 0 rgba(255, 255, 255, .08); transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--accent-hover); }
.btn--sm { padding: 6px 12px; font-size: .875rem; border-radius: 7px; }
.btn--block { width: 100%; }
.btn--ghost { background: #fff; color: var(--ink-strong); border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(28, 25, 23, .05); }
.btn--ghost:hover { background: var(--soft); border-color: #A8A29E; }
.btn--light { background: #fff; color: var(--accent); border-color: #fff; box-shadow: none; }
.btn--light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn--danger { background: var(--danger); border-color: #B91C1C; }
.btn--danger:hover { background: #B91C1C; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.icon-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 1.1rem; padding: 2px 8px; border-radius: 8px; }
.icon-btn:hover { color: var(--danger); background: var(--danger-soft); }
.icon-btn.text { font-size: .875rem; }
.pill { display: inline-block; font: 600 .72rem/1 var(--sans); padding: 5px 10px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.pill--approved, .pill--placed { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.pill--pending_review, .pill--pending, .pill--new, .pill--saved { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.pill--changes_requested, .pill--contacted { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill--rejected, .pill--declined { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge { display: inline-block; font: 600 .78rem/1 var(--sans); padding: 6px 10px; border-radius: 8px; margin-right: 8px; }
.badge--verified { background: var(--grad); color: #fff; }
.badge--source { background: var(--accent-soft); color: var(--accent); }
.badge--unreviewed { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }

/* messages */
.flash { background: var(--accent-soft); color: var(--ink-strong); padding: 12px 16px; border-radius: 14px; margin: 20px 0 0; }
.flash--error { background: var(--danger-soft); color: #991B1B; }
.alert { background: var(--warn-soft); color: #78350F; padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; }
.alert .inline { display: inline; margin-left: 8px; }
.empty { background: var(--soft); border: 1px dashed var(--line); border-radius: var(--radius); padding: 36px; text-align: center; color: var(--muted); }
.note { background: var(--soft); padding: 10px 12px; border-radius: 10px; font-size: .9rem; }

/* panels + cards */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.panel--center { text-align: center; margin-top: 56px; }
.panel--danger { border-color: #FECACA; }
.panel--accent { background: var(--grad); color: #fff; border: 0; display: grid; gap: 40px; grid-template-columns: 1fr 1fr; padding: 48px; border-radius: 28px; }
.panel--accent h2 { color: #fff; }
.panel--accent .eyebrow { color: rgba(255, 255, 255, .75); }
@media (max-width: 760px) { .panel--accent { grid-template-columns: 1fr; padding: 32px; } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.card:hover { border-color: #B9D3C6; transform: translateY(-2px); }
.card__top { display: flex; justify-content: space-between; align-items: center; }
.card__type { font-size: .75rem; font-weight: 600; color: var(--accent); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .02em; }
.card__title { font-size: 1.1rem; margin-bottom: 2px; }
.card__title a { color: var(--ink-strong); text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card__org { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.card__org { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* three lines of summary, so cards in a row line up */
/* job cards: a few large category icons in the top-right corner, solid there and fading out by the company name.
   The head is a grid so the art can span exactly the type/title/company rows without positioning anything
   (a positioned head would shrink the title link's click area to the head). */
.card__head { display: grid; grid-template-rows: auto auto auto; }
.card__head > * { grid-column: 1; z-index: 1; }
.card__head > .card__top { grid-row: 1; } .card__head > .card__title { grid-row: 2; } .card__head > .card__org { grid-row: 3; }
.card__art { grid-row: 1 / 4; z-index: 0; margin: -22px -22px 0; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: var(--accent-soft) right top / 200px 130px no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent), radial-gradient(90% 150% at 100% 0, #000 25%, transparent 70%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000, transparent), radial-gradient(90% 150% at 100% 0, #000 25%, transparent 70%);
  mask-composite: intersect; }
.card__art--food-drink { background-image: url(img/jobs/food-drink.svg); }
.card__art--retail { background-image: url(img/jobs/retail.svg); }
.card__art--grocery { background-image: url(img/jobs/grocery.svg); }
.card__art--entertainment { background-image: url(img/jobs/entertainment.svg); }
.card__art--recreation-outdoors { background-image: url(img/jobs/recreation-outdoors.svg); }
.card__art--community-public-service { background-image: url(img/jobs/community-public-service.svg); }
.card__summary { font-size: .92rem; color: #57534E; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.card__facts { margin: 0; font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; }
.card__facts span:not(:last-child)::after { content: '·'; margin: 0 7px; color: #D6D3D1; }
.card__deadline { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; color: var(--ink-strong); min-width: 0; }
.card__deadline span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__deadline svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .7; }
.is-soon, .card__deadline.is-soon { color: var(--danger); font-weight: 600; }

/* forms */
.form { display: grid; gap: 4px; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 500; font-size: .9rem; color: var(--ink-strong); margin-bottom: 6px; padding: 0; }
.field label .muted, .field legend .muted { font-weight: 400; }
.field__help { color: var(--muted); font-size: .85rem; margin: -2px 0 6px; }
.field__error { display: flex; align-items: center; gap: 6px; color: var(--danger); font-size: .85rem; font-weight: 500; margin: 6px 0 0; animation: err-in .2s ease-out; }
.field__error::before { content: '!'; flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--danger); color: #fff; font-size: .7rem; font-weight: 700; }
@keyframes err-in { from { opacity: 0; transform: translateY(-3px); } }
input[aria-invalid="true"], textarea[aria-invalid="true"], .dd__btn[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(220, 38, 38, .10) !important; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; font: inherit; color: var(--ink-strong); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 13px; box-shadow: 0 1px 2px rgba(28, 25, 23, .04);
  transition: border-color .15s, box-shadow .15s; }
input:not([type=checkbox]):not([type=radio]):hover, textarea:hover { border-color: #A8A29E; }
::placeholder { color: #A8A29E; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(46, 125, 91, .15); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
textarea { resize: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.checks .check { position: relative; }
.checks .check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.checks .check span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: #fff;
  font-size: .88rem; color: var(--ink); transition: background .15s, border-color .15s, color .15s; user-select: none; }
.checks .check:hover span { border-color: #A8A29E; }
.checks .check input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 500; }
.checks .check input:checked + span::before { content: ''; width: 9px; height: 5px; margin: -3px 1px 0 -2px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.checks .check input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
/* checkbox rows: the box sits centered on the first line of text, and long labels wrap beside it, not under it */
.check, .field .check { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 400; font-size: .93rem; line-height: 1.45; cursor: pointer; color: var(--ink); }
.check input { margin: calc((1.45em - 16px) / 2) 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.form__section { margin-top: 24px; font-size: 1.3rem; }
.form-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.form-layout__aside { position: sticky; top: 100px; }
.form-layout__aside h2 { font-size: 1.2rem; margin-top: 8px; }
.form-layout__aside ol { padding-left: 20px; color: var(--muted); }
.form-layout > .form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } .form-layout__aside { position: static; } }
.auth { max-width: 440px; padding: 32px 0 48px; }
.auth h1 { font-size: 2.4rem; }
.auth .form { margin-top: 28px; gap: 8px; }
.auth .btn--block { margin-top: 8px; padding-block: 12px; }
.auth__alt { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .93rem; }
/* label with a link on the same line (Password / Forgot your password?) */
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__top a { margin-bottom: 6px; }
/* short single-purpose pages (sign in, confirmations, errors): centered in the window, no footer,
   so they don't scroll unless the content is genuinely taller than the screen */
body.page-focus { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.page-focus main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
body.page-focus .footer { display: none; }
body.page-focus .page-head { padding-top: 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.inline-form select, .inline-form input:not([type=checkbox]) { width: auto; flex: 1 1 140px; }
.spaced { margin-top: 16px; }

/* home: grid + aurora hero */
.hero { position: relative; overflow: hidden; margin-top: -72px; padding: 104px 0 72px; text-align: center; isolation: isolate;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
/* cursor effect: the grid square under the pointer lifts; the ones it leaves fade out (app.js adds them) */
.hero__cells { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__cell { position: absolute; width: 44px; height: 44px; margin: -.5px 0 0 -.5px; border-radius: 6px;
  background: rgba(220, 234, 226, .85); border: 1px solid rgba(31, 92, 70, .3);
  box-shadow: 0 8px 18px rgba(31, 92, 70, .14), 0 1px 0 rgba(255, 255, 255, .9) inset;
  transform: translateY(-2px); animation: cell-in .18s ease-out; }
.hero__cell.is-leaving { animation: cell-out .9s ease-out forwards; }
@keyframes cell-in { from { opacity: 0; transform: none; } }
@keyframes cell-out { to { opacity: 0; transform: none; } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(28, 25, 23, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 25, 23, .045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.aurora { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .7; animation: drift 14s ease-in-out infinite alternate; }
.aurora--1 { width: 520px; height: 520px; left: -120px; top: -60px; background: radial-gradient(circle, rgba(206, 228, 215, .9), rgba(185, 211, 198, .35) 55%, transparent 70%); }
.aurora--2 { width: 600px; height: 600px; right: -160px; top: 40px; background: radial-gradient(circle, rgba(160, 200, 178, .8), rgba(220, 234, 226, .3) 55%, transparent 70%); animation-delay: -5s; }
.aurora--3 { width: 420px; height: 420px; left: 35%; bottom: -200px; background: radial-gradient(circle, rgba(232, 214, 170, .6), rgba(245, 237, 218, .28) 55%, transparent 70%); animation-delay: -9s; }
/* fade the glows into the page so the hero has no hard bottom edge */
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 220px; z-index: -1; pointer-events: none; background: linear-gradient(transparent, var(--bg)); }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); max-width: 15ch; margin: 0 auto 20px; }
.hero .lead { margin: 0 auto 28px; }
/* animated search pill: app.js types keywords into it */
.typer { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto 36px; padding: 8px 8px 8px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink-strong); text-align: left;
  box-shadow: 0 12px 34px rgba(31, 92, 70, .10); transition: box-shadow .25s, border-color .25s, transform .25s; }
.typer:hover { border-color: #B9D3C6; box-shadow: 0 16px 40px rgba(31, 92, 70, .16); transform: translateY(-2px); }
.typer__icon { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.typer__text { flex: 1; min-width: 0; font-size: 1.05rem; white-space: nowrap; overflow: hidden; }
.typer__prefix { color: var(--muted); }
.typer__word { font-weight: 600; color: var(--ink-strong); }
.typer__caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.typer__go { flex: none; display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; font: 500 .92rem var(--sans);
  padding: 11px 18px; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.arrow { display: inline-block; transition: transform .2s; }
.typer:hover .arrow, .btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
@media (max-width: 520px) { .typer { padding-left: 14px; } .typer__prefix { display: none; } .typer__go { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee__track { animation: none !important; } .aurora, .typer__caret, .explore__grid .card { animation: none !important; } .faq details::details-content, .explore__glider, .explore__grid { transition: none !important; } .js .feature__icon svg * { stroke-dashoffset: 0; transition: none; } .js .reveal { opacity: 1; transform: none; transition: none; } .feature:hover .feature__icon, .typer:hover { transform: none; } }

.features { margin-top: 40px; text-align: left; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature__band { height: 72px; background: var(--accent-soft); position: relative; }
.feature__band::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(31, 92, 70, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 92, 70, .07) 1px, transparent 1px); background-size: 18px 18px; }
.feature__icon { width: 52px; height: 52px; border-radius: 17px; background: var(--grad); display: grid; place-items: center; margin: -26px 0 0 28px; position: relative; z-index: 1;
  box-shadow: 0 8px 18px rgba(31, 92, 70, .25); }
.feature__icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { padding: 18px 28px 0; margin-bottom: 6px; color: var(--ink-strong); }
.feature p { padding: 0 28px 24px; margin: 0; color: var(--muted); font-size: .95rem; }

/* testimonials: an endless, slowly scrolling strip of cards (pauses on hover) */
.marquee { margin-top: 36px; overflow: hidden; padding: 8px 0 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__nav { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
html:not(.js) .marquee__nav { display: none; }
.marquee__btn { width: 40px; height: 40px; padding: 0; }
.marquee__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quote { flex: none; width: 330px; margin: 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; text-align: left; }
.quote--placeholder { border-style: dashed; }
.quote__mark { width: 30px; height: 22px; fill: var(--accent); }
.quote blockquote { margin: 16px 0 22px; color: var(--ink-strong); font-size: .98rem; line-height: 1.55; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font: 600 .95rem var(--display); color: var(--ink-strong); }
.quote figcaption div span { display: block; font: 400 .82rem var(--sans); color: var(--muted); margin-top: 1px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--grad); color: #fff; display: grid; place-items: center; font: 600 .9rem var(--display); flex: none; }
@media (max-width: 520px) { .quote { width: 280px; } }

.faq { max-width: 760px; margin: 32px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.03em; color: #2D3340; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { margin: -6px 0 22px; color: #57534E; }
.closing { text-align: center; max-width: 680px; }
.closing .actions { justify-content: center; }
.stats-strip { display: flex; justify-content: center; gap: 16px 56px; flex-wrap: wrap; text-align: center; }
.stats-strip strong { display: block; font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 2.2rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink-strong); }
.stats-strip span { color: var(--muted); font-size: .92rem; }

/* scroll-driven door. --p goes 0 -> 1 while the section scrolls by; without JS (or with reduced motion) it sits open at 1 */
.doorway { --p: 1; --mx: 0; --my: 0; position: relative; padding: 40px 0; }
.js .doorway { height: 230vh; padding: 0; }
.doorway__sticky { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.js .doorway__sticky { position: sticky; top: 0; height: 100vh; padding-top: 72px; }
.doorway__lines { display: grid; }
.doorway__line { grid-area: 1 / 1; font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 0 0 18px; transition: none; }
.doorway__line--closed { opacity: clamp(0, 1 - var(--p) * 3, 1); transform: translateY(calc(var(--p) * -14px)); }
.doorway__line--open { opacity: clamp(0, (var(--p) - .4) * 3, 1); transform: translateY(calc((1 - var(--p)) * 14px)); }
.doorway__text { opacity: clamp(.35, var(--p) * 1.6, 1); }
.doorway__scene { position: relative; height: min(64vh, 520px); display: grid; place-items: center; perspective: 1400px;
  transform: rotateX(calc(var(--my) * -3deg)) rotateY(calc(var(--mx) * 4deg)); transition: transform .4s ease-out; }
.doorway__stage { position: relative; width: min(62%, 280px); transform-style: preserve-3d; }
.doorway__frame { position: relative; width: 100%; aspect-ratio: 5 / 9; border: 10px solid #1C1917; border-bottom: 0; border-radius: 10px 10px 0 0;
  background: #1C1917; transform-style: preserve-3d; z-index: 1; }
.doorway__room { position: absolute; inset: 0; overflow: hidden; display: block; border-radius: 2px 2px 0 0;
  background: radial-gradient(120% 90% at 50% 100%, #FFFFFF 0%, #DCEAE2 calc(25% + var(--p) * 30%), #8FB9A3 calc(55% + var(--p) * 25%), #123829 100%);
  filter: brightness(calc(.55 + var(--p) * .55)); }
.doorway__tag { position: absolute; left: 60%; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--accent); text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s, scale .2s, translate .2s;
  font: 600 .72rem var(--display); white-space: nowrap; box-shadow: 0 4px 12px rgba(18, 56, 41, .2);
  opacity: clamp(0, (var(--p) - .3) * 2.2, 1); transform: translate(-50%, calc((1 - var(--p)) * 24px)) scale(calc(.85 + var(--p) * .15)); }
.doorway__tag:hover, .doorway__tag:focus-visible { background: var(--grad); color: #fff; scale: 1.1; translate: 4px -2px; opacity: 1;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .45), 0 8px 22px rgba(18, 56, 41, .45); outline: 0; z-index: 1; }
.doorway__tag::after { content: ' →'; display: inline-block; width: 0; overflow: hidden; vertical-align: bottom; transition: width .2s; }
.doorway__tag:hover::after, .doorway__tag:focus-visible::after { width: 1.1em; }
.js .doorway:not(.is-open) .doorway__tag { pointer-events: none; }
.doorway__door { pointer-events: none; }
.doorway__tag.t1 { top: 12%; } .doorway__tag.t2 { top: 25%; margin-left: -14px; } .doorway__tag.t3 { top: 38%; margin-left: 12px; }
.doorway__tag.t4 { top: 51%; } .doorway__tag.t5 { top: 64%; margin-left: -10px; } .doorway__tag.t6 { top: 77%; margin-left: 10px; }
.doorway__door { position: absolute; inset: 0; transform-origin: left center; transform: rotateY(calc(var(--p) * -72deg));
  background: var(--accent); border-radius: 2px 2px 0 0;
  box-shadow: inset -6px 0 0 rgba(0, 0, 0, .12), calc(var(--p) * 30px) 0 50px rgba(28, 25, 23, calc(var(--p) * .35));
  display: flex; flex-direction: column; gap: 9%; padding: 14% 14% 18%; backface-visibility: hidden; }
.doorway__panel { flex: 1; border-radius: 6px; border: 2px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.doorway__panel:first-child { flex: 1.4; }
.doorway__knob { position: absolute; right: 11%; top: 54%; width: 12px; height: 12px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgba(232, 163, 61, .25); }
.doorway__spill { position: absolute; top: 100%; left: 0; width: 100%; height: 110px; z-index: 0;
  transform: perspective(300px) rotateX(60deg); transform-origin: top;
  background: linear-gradient(#B9D3C6, transparent); opacity: calc(var(--p) * .9); clip-path: polygon(0 0, 100% 0, calc(100% + 30% * var(--p)) 100%, calc(-30% * var(--p)) 100%); }
@media (max-width: 860px) {
  .doorway__sticky { grid-template-columns: 1fr; gap: 8px; text-align: center; align-content: center; }
  .doorway__copy .lead { margin-inline: auto; }
  .doorway__scene { height: 46vh; }
  .doorway__stage { width: min(56%, 210px); }
  .doorway__tag { font-size: .62rem; padding: 4px 8px; margin-left: 0 !important; left: 62%; }
}
/* light ribbon from the open door, behind the mission section (app.js shapes it and sets how much is revealed) */
.section.mission { position: relative; padding-top: 220px; }
.mission > .wrap { position: relative; z-index: 1; }
.trail { display: none; position: absolute; left: 0; width: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.js .trail { display: block; }
.trail__reveal { fill: none; stroke: #fff; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (prefers-reduced-motion: reduce) { .js .doorway { height: auto; padding: 40px 0; } .js .doorway__sticky { position: static; height: auto; } .doorway { --p: 1 !important; } .doorway__scene { transform: none !important; } }

/* fade-in-up on scroll (added by app.js) */
/* hero headline: each word rises out of its own line box (app.js wraps them) */
.hero h1.is-split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1.is-split .word > span { display: inline-block; animation: word-up .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes word-up { from { transform: translateY(105%); } }
/* feature icons draw their outline once the card is on screen (app.js sets pathLength=1) */
.js .feature__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s ease .35s; }
.js .feature.is-in .feature__icon svg * { stroke-dashoffset: 0; }
.js .feature.d1.is-in .feature__icon svg * { transition-delay: .45s; } .js .feature.d2.is-in .feature__icon svg * { transition-delay: .55s; }
/* interest tabs above "Open right now": a white pill slides to the chosen tab */
.explore { position: relative; display: flex; gap: 28px; margin: 0 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.explore::-webkit-scrollbar { display: none; }
.explore a { flex: none; padding: 10px 0 12px; font: 500 .92rem var(--sans); color: var(--muted); text-decoration: none; transition: color .15s; }
.explore a:hover, .explore a[aria-current="true"] { color: var(--ink-strong); }
.explore__glider { display: none; }
.js .explore__glider { display: block; position: absolute; left: 0; bottom: 0; height: 2px; background: var(--accent); }
.explore.is-ready .explore__glider { transition: transform .3s cubic-bezier(.3, .7, .2, 1), width .3s cubic-bezier(.3, .7, .2, 1); }
html:not(.js) .explore a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
.explore__grid { transition: opacity .18s ease; }
.explore__grid.is-leaving { opacity: 0; }
.explore__grid.is-swapped .card { animation: card-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.explore__grid.is-swapped .card:nth-child(2) { animation-delay: .06s; } .explore__grid.is-swapped .card:nth-child(3) { animation-delay: .12s; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
/* FAQ answers slide open where the browser can animate to height: auto */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: clip; transition: height .2s cubic-bezier(.2, .7, .2, 1), content-visibility .2s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }
.feature { transition: border-color .25s, transform .25s, box-shadow .25s; }
.feature:hover { border-color: #B9D3C6; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(31, 92, 70, .08); }
.feature__icon { transition: transform .3s cubic-bezier(.3, 1.5, .6, 1); }
.feature:hover .feature__icon { transform: translateY(-4px) rotate(-4deg); }
.quote { transition: transform .25s, border-color .25s; }
.quote:hover { transform: translateY(-3px); border-color: #B9D3C6; }

/* browse: search, one-row filter bar, active chips */
.searchbar { position: relative; display: flex; gap: 8px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(28, 25, 23, .04); }
.searchbar input { flex: 1; border: 0 !important; box-shadow: none !important; padding-left: 40px !important; }
.searchbar__icon { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.fbar { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 16px 0 14px; }
.fbar__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fpop { position: relative; }
.fpop__btn { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; background: #fff; border: 1px solid var(--line);
  border-radius: 99px; padding: 8px 14px; font: 500 .88rem/1.2 var(--display); color: var(--ink-strong); transition: border-color .15s, background .15s; }
.fpop__btn::-webkit-details-marker { display: none; }
.fpop__btn::after, .dd__btn::after { content: ''; width: 6px; height: 6px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .6; transition: transform .2s; flex: none; }
.fpop[open] .fpop__btn::after, .dd.is-open .dd__btn::after { transform: translateY(1px) rotate(225deg); }
.fpop__btn:hover { border-color: #D6D3D1; }
.fpop.is-active .fpop__btn { border-color: #B9D3C6; background: var(--accent-soft); color: var(--accent); }
.fpop__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 600; }
.fpop__panel, .dd__list, .dp__pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 6px; box-shadow: 0 16px 40px rgba(28, 25, 23, .12), 0 2px 6px rgba(28, 25, 23, .04); }
.fpop__panel--tall { max-height: 340px; overflow-y: auto; }
.fpop__done { display: none; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: .92rem; color: var(--ink-strong); }
.fopt:hover { background: var(--soft); }
.fopt input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none; }
.fopt__n { margin-left: auto; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.results__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 4px 0 20px; }
.results__left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.results__count { font: 500 .95rem var(--sans); color: var(--muted); letter-spacing: 0; margin: 0; padding-left: 4px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: .82rem; font-weight: 500; text-decoration: none; }
.chip span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: .9rem; line-height: 1; }
.chip:hover span { background: rgba(31, 92, 70, .15); }
.chips__clear { font-size: .82rem; color: var(--muted); margin-left: 4px; }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 32px; }
@media (max-width: 760px) {
  .js .fpop__done { display: flex; margin-top: 8px; }
  /* on phones the option panels become a bottom sheet */
  .fpop__panel { position: fixed; top: auto; left: 12px; right: 12px; bottom: 12px; max-height: 60vh; overflow-y: auto; border-radius: 20px; padding: 10px; }
}

/* styled dropdown (app.js turns every <select> into one; the real select stays hidden underneath for the form) */
.dd { position: relative; }
.dd__native { position: absolute !important; inset: 0; width: 100% !important; opacity: 0; pointer-events: none; }
.dd__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer;
  font: 400 1rem/1.4 var(--sans); color: var(--ink-strong); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 13px; box-shadow: 0 1px 2px rgba(28, 25, 23, .04);
  transition: border-color .15s, box-shadow .15s; }
.dd__btn:hover { border-color: #A8A29E; }
.dd__btn:focus-visible, .dd.is-open .dd__btn { outline: 0; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(46, 125, 91, .15); }
.dd__btn.is-placeholder .dd__value { color: #A8A29E; }
.dd__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.has-error .dd__btn { border-color: var(--danger); }
/* styled date picker (app.js wraps every <input type=date>; the real input stays hidden underneath) */
.dp__native { position: absolute !important; inset: 0; width: 100% !important; opacity: 0; pointer-events: none; }
.dp__btn .icon { color: var(--muted); }
.dp__btn::after { display: none; }
.dp__pop { width: 300px; padding: 14px; }
.dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp__title { font: 600 .95rem var(--display); color: var(--ink-strong); }
.dp__nav { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.dp__nav:hover { background: var(--soft); border-color: var(--line-strong); }
.dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp__dow { text-align: center; font-size: .72rem; font-weight: 600; color: var(--muted); padding: 4px 0 6px; }
.dp__day { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font: 500 .88rem var(--sans); color: var(--ink-strong); cursor: pointer; }
.dp__day:hover { background: var(--soft); }
.dp__day:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 0; }
.dp__day.is-out { color: #A8A29E; }
.dp__day.is-today { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.dp__day.is-selected { background: var(--accent); color: #fff; box-shadow: none; }
.dp__foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dp__link { border: 0; background: none; padding: 4px 6px; border-radius: 8px; font: 500 .85rem var(--sans); color: var(--accent); cursor: pointer; }
.dp__link:hover { background: var(--accent-soft); }
.dd__list { list-style: none; margin: 0; min-width: 100%; max-height: 300px; overflow-y: auto; }
.dd__list:focus { outline: 0; }
.dd__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; cursor: pointer; font-size: .93rem; color: var(--ink-strong); white-space: nowrap; }
.dd__opt.is-active { background: var(--soft); }
.dd__opt[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.dd__opt[aria-selected="true"]::after { content: ''; width: 10px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.dd__opt--empty, .dd__opt--empty[aria-selected="true"] { color: var(--muted); font-weight: 400; }
.dd__opt--empty::after { display: none; }
.dd--pill .dd__btn { width: auto; border-radius: 99px; padding: 8px 14px; font: 500 .88rem/1.2 var(--display); }
.dd--pill .dd__list { left: auto; right: 0; min-width: 200px; }
.track__head .dd { min-width: 170px; }
.track__head .dd__btn { font-weight: 600; }
.inline-form .dd { flex: 1 1 150px; }

/* detail */
.crumbs { padding-top: 32px; }
.crumbs a { text-decoration: none; font-weight: 500; }
.detail__head { padding: 24px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.detail__org { font-size: 1.15rem; color: var(--muted); margin: 0; }
.detail__body { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.prose h2 { font-size: 1.35rem; margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 65ch; color: #57534E; }
.ticks { padding: 0; list-style: none; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.facts { margin: 0 0 18px; }
.facts div { display: grid; grid-template-columns: 100px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; font-size: .93rem; color: var(--ink-strong); }
.aside__actions { display: grid; gap: 8px; }
.verify { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.verify p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 860px) { .detail__body { grid-template-columns: 1fr; } .aside { position: static; } }

/* tracker */
.stages { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.stages a { text-decoration: none; color: var(--ink-strong); border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 99px; font-size: .88rem; font-weight: 500; }
.stages a span { color: var(--muted); margin-left: 4px; }
.stages a[aria-current="page"] { background: var(--grad); color: #fff; border-color: transparent; }
.stages a[aria-current="page"] span { color: inherit; opacity: .8; }
.track { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; scroll-margin-top: 100px; }
.track__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.track__head h2 { font-size: 1.3rem; margin-bottom: 4px; }
.track__head h2 a { color: var(--ink-strong); text-decoration: none; }
.track__stage { width: auto !important; font-weight: 600; }
.track__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 16px; }
.track__list { border: 0; padding: 0; margin: 0; min-width: 0; }
.track__list legend { font-weight: 600; margin-bottom: 8px; color: var(--ink-strong); }
.check-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.add-row { display: flex; gap: 8px; margin-top: 10px; }
.track__foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 8px; }
.save-state { margin-right: auto; }
.saved-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.saved-item a { color: var(--ink-strong); text-decoration: none; }
@media (max-width: 760px) { .track__body { grid-template-columns: 1fr; } }

/* content pages */
.about section { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.about .pull { font-size: 1.6rem; line-height: 1.3; font-weight: 600; letter-spacing: -.03em; color: var(--ink-strong); }
.levels { list-style: none; padding: 0; }
.levels li { margin-bottom: 12px; }
@media (max-width: 760px) { .about section { grid-template-columns: 1fr; gap: 8px; } }
.founders { display: grid; gap: 24px; margin-bottom: 56px; }
.person { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 20px; }
.person img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.person h2 { font-size: 1.8rem; }
.person p { color: #57534E; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } .person img { max-width: 260px; } }
.section-title { margin-bottom: 16px; }
.member { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.member__initials { flex: none; width: 52px; height: 52px; border-radius: 17px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 600; }
.member h3 { margin-bottom: 0; }
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 8px 0 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat p { margin: 0; color: var(--muted); }
.stat .stat__n { font-family: var(--display); font-size: 2.3rem; line-height: 1.1; font-weight: 700; letter-spacing: -.04em; color: var(--ink-strong); margin-bottom: 6px; }
.stat--accent { background: var(--grad); border-color: transparent; }
.stat--accent p, .stat--accent .stat__n { color: #fff; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 600; font-size: .8rem; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.legal h2 { font-size: 1.35rem; margin-top: 32px; }
.legal p, .legal li { color: #57534E; }

/* account page: profile header, section menu, equal-width cards */
.acct { padding-top: 40px; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px; margin-bottom: 20px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 24px; }
.acct-head__who { display: flex; align-items: center; gap: 18px; min-width: 0; }
.acct-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 6px; }
.acct-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--ink); overflow-wrap: anywhere; }
.acct-head .muted { margin: 0; }
.acct-avatar { flex: none; width: 72px; height: 72px; border-radius: 22px; background: var(--grad); color: #fff; display: grid; place-items: center;
  font: 700 1.5rem var(--display); box-shadow: 0 10px 24px rgba(31, 92, 70, .25); }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acct-stats a { display: grid; justify-items: center; min-width: 92px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  text-decoration: none; transition: border-color .15s, transform .15s; }
.acct-stats a:hover { border-color: #B9D3C6; transform: translateY(-2px); }
.acct-stats strong { font: 700 1.5rem/1.1 var(--display); color: var(--ink-strong); }
.acct-stats span { font-size: .78rem; color: var(--muted); }
.acct-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 20px;
  background: var(--warn-soft); border-radius: 16px; color: #78350F; }
.acct-banner p { margin: 2px 0 0; font-size: .92rem; }
.acct-body { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 28px; }
.acct-nav { align-self: stretch; display: flex; flex-direction: column; gap: 4px; }
/* the panel runs the full height of the cards; its links stay pinned while the page scrolls */
.acct-nav__links { position: sticky; top: 100px; display: grid; gap: 4px; }
/* shared by the account, tracker, submit and intern pages */
.acct-avatar__icon { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acct-nav__n { margin-left: auto; min-width: 24px; padding: 1px 7px; border-radius: 99px; background: var(--soft); font-size: .75rem; text-align: center; }
.acct-nav a[aria-current="true"] .acct-nav__n { background: var(--accent-soft); }
.acct-note--warn { background: var(--warn-soft); color: #78350F; }
.acct-card--solo { max-width: 720px; }
.track__title { min-width: 0; }
.track__title h2 a { color: var(--ink-strong); text-decoration: none; }
.track__title h2 a:hover { color: var(--accent); }
.track__stage { flex: none; min-width: 170px; }
.track__stage .dd__btn { font-weight: 600; background: #fff; }
.track__links { display: inline-flex; align-items: center; gap: 16px; }
.subs__side--row { flex-direction: row; align-items: center; }
.acct-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; text-decoration: none;
  color: var(--ink); font: 500 .92rem var(--display); transition: background .15s, color .15s; }
.acct-nav a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .45; flex: none; }
.acct-nav a:hover { background: var(--soft); color: var(--ink-strong); }
.acct-nav a[aria-current="true"] { background: var(--accent-soft); color: var(--accent); }
.acct-nav a[aria-current="true"]::before { opacity: 1; }
.acct-nav__danger { margin-top: 8px; }
.acct-nav__danger:not([aria-current="true"]) { color: var(--danger) !important; }
.acct-sections { display: grid; gap: 32px; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 28px 28px; scroll-margin-top: 100px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04); }
.acct-card--danger { border-color: #FECACA; }
/* each card opens with a title row over a hairline divider */
/* cards don't clip (dropdowns and the date picker must be able to overflow them), so tinted edges carry their own corners */
.acct-card__head { margin: 0 -28px 24px; padding: 22px 28px 18px; border-bottom: 1px solid var(--line); border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.acct-card--danger .acct-card__head { background: linear-gradient(120deg, #FEF2F2, #FFF7F7); border-bottom-color: #FECACA; }
.acct-card__head h2 { font-size: 1.125rem; letter-spacing: -.02em; margin: 0 0 2px; }
.acct-card__head p { margin: 0; color: var(--muted); font-size: .92rem; }
.acct-card__head--row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.acct-card__foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 4px; }
.acct-card__foot--split { justify-content: space-between; }
/* plain page header (apply page): eyebrow, title, one line, meta facts */
.intro { padding: 8px 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 10px; }
.intro .lead { margin: 0 0 18px; font-size: 1.05rem; color: var(--muted); }
.intro__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink); }
.intro__meta li { display: inline-flex; align-items: center; gap: 8px; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.intro__meta .icon { color: var(--accent); }
/* numbered stepper: circles joined by a thin rail */
.acct-nav--steps .acct-nav__links { counter-reset: step; }
.acct-nav--steps .acct-nav__links::before { content: ''; position: absolute; left: 26px; top: 24px; bottom: 24px; width: 1px; background: var(--line-strong); }
.acct-nav--steps a { position: relative; color: var(--muted); }
.acct-nav--steps a::before { counter-increment: step; content: counter(step); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg); font-size: .75rem; font-weight: 600; opacity: 1; z-index: 1; }
.acct-nav--steps a:hover { background: none; color: var(--ink-strong); }
.acct-nav--steps a[aria-current="true"] { background: none; color: var(--ink-strong); font-weight: 600; }
.acct-nav--steps a[aria-current="true"]::before { background: var(--accent); border-color: var(--accent); color: #fff; }
/* submit bar closing the last card */
.form-submit { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px -28px -28px; padding: 18px 28px; background: var(--soft); border-top: 1px solid var(--line); border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); }
.form-submit__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .875rem; color: var(--muted); }
.form-submit__note .icon { width: 16px; height: 16px; }
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.acct-row p { margin: 2px 0 0; }
.acct-delete { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 12px; }
.acct-delete .field { margin: 0; }
.acct-empty { margin: 0; padding: 20px; text-align: center; color: var(--muted); background: var(--soft); border-radius: 14px; }
.acct-note { margin: -4px 0 18px; padding: 10px 14px; border-radius: 12px; font-size: .92rem; }
.acct-note--ok { background: var(--ok-soft); color: var(--ok); }
.acct-note--error { background: var(--danger-soft); color: #991B1B; }
.subs { list-style: none; margin: 0; padding: 0; }
.subs__item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.subs__item:first-child { padding-top: 0; }
.subs__item:last-child { border-bottom: 0; padding-bottom: 0; }
.subs__main { display: grid; gap: 2px; min-width: 0; }
.subs__main a { color: var(--ink-strong); }
.subs__main .note { margin: 8px 0 0; }
.subs__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.field .label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink-strong); margin-bottom: 6px; }
/* on/off switch built on a checkbox */
.switch, .field .switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .93rem; font-weight: 400; min-height: 46px; margin: 0; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; flex: none; width: 42px; height: 24px; border-radius: 99px; background: #D6D3D1; transition: background .2s; }
.switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(28, 25, 23, .25); transition: transform .2s; }
.switch input:checked + .switch__track { background: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--accent-2); outline-offset: 2px; }
@media (max-width: 860px) {
  .acct-body { grid-template-columns: 1fr; gap: 16px; }
  .acct-nav__n { margin-left: 6px; }
  .acct-nav__links { display: contents; }
  .acct-nav { position: sticky; top: 84px; z-index: 5; height: auto; min-height: 0; flex-direction: row; display: flex; overflow-x: auto; gap: 4px; padding: 6px; border-radius: 16px; scrollbar-width: none; background: var(--surface); border: 1px solid var(--line); }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav a { flex: none; padding: 7px 12px; border-radius: 10px; }
  .acct-nav a::before { display: none; }
  .acct-nav__danger { margin: 0; border: 0; border-radius: 10px !important; padding-top: 7px !important; }
}
@media (max-width: 640px) {
  .acct { padding-top: 24px; }
  .acct-head { padding: 20px; }
  .acct-head__who { width: 100%; }
  .acct-avatar { width: 56px; height: 56px; border-radius: 18px; font-size: 1.2rem; }
  .acct-stats { width: 100%; }
  .acct-stats a { min-width: 0; }
  .acct-card { padding: 0 20px 20px; }
  .acct-card__head { margin: 0 -20px 20px; padding: 16px 20px 14px; }
  .acct-sections { gap: 20px; }
  .acct-card__head--row { flex-direction: column; }
  .acct-card__foot .btn, .acct-delete .btn { width: 100%; }
  .acct-card__foot--split { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .acct-delete { grid-template-columns: 1fr; gap: 12px; }
  .acct-banner { flex-direction: column; align-items: flex-start; }
  .subs__item { flex-direction: column; }
  .subs__side { flex-direction: row; align-items: center; }
}
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--ink-strong); border-color: var(--accent); }
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filterbar input { flex: 1 1 220px; }
.filterbar select { width: auto; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: var(--soft); }
.table tr:last-child td { border-bottom: 0; }
.history { padding-left: 18px; font-size: .9rem; }
.history li { margin-bottom: 10px; }
.history--wide { list-style: none; padding: 0; }
.history--wide li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; }
pre.mail { white-space: pre-wrap; font: .9rem/1.5 ui-monospace, monospace; background: var(--soft); padding: 12px; border-radius: 10px; overflow-wrap: anywhere; }

/* phones: tighter, even blocks */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .page-head { padding: 40px 0 20px; }
  .card { padding: 18px; }
  .card:hover { transform: none; }
  .features { gap: 12px; margin-top: 28px; }
  .feature { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 18px; align-items: start; }
  .feature__band { display: none; }
  .feature__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; margin: 0; box-shadow: 0 6px 14px rgba(31, 92, 70, .22); }
  .feature__icon svg { width: 22px; height: 22px; }
  .feature h3 { padding: 2px 0 0; margin: 0; font-size: 1.02rem; }
  .feature p { padding: 0; font-size: .9rem; }
  .panel--accent { padding: 28px 22px; gap: 28px; border-radius: 22px; }
  .panel--accent > div + div { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .25); }
  .panel--accent .btn, .closing .btn { width: 100%; }
  .closing .actions { flex-direction: column; }
  .stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stats-strip strong { font-size: 1.6rem; }
  .stats-strip span { font-size: .78rem; }
  .section__head .link { width: 100%; }
  /* browse: one swipeable row of filter pills; count + sort on one line, chips below */
  .fbar { margin: 14px -16px 10px; flex-wrap: nowrap; gap: 8px; }
  .fbar .results__sort { flex: none; padding-right: 16px; }
  .fbar__pills { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; padding: 2px 16px 4px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .fbar__pills::-webkit-scrollbar { display: none; }
  .fpop { flex: none; }
  .results__head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px; }
  .results__left { display: contents; }
  .results__count { order: 1; }
  .chips { order: 3; grid-column: 1 / -1; }
  .quote { width: 270px; padding: 22px; }
  .quote blockquote { font-size: .93rem; }
}


/* Filter options with no results under the current filters */
.fopt.is-empty { color: var(--muted); }
.fopt.is-empty .fopt__n { opacity: .6; }

/* Tracker: "did you find it here?" prompt on accepted cards */
.track__found { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.track__found[hidden] { display: none; }
.track__found p { margin: 0; color: var(--ink-strong); }
.track__found-btns { display: flex; gap: 8px; }

/* Admin stats */
.stats__h { font-size: 1.05rem; margin: 28px 0 0; color: var(--muted); font-weight: 600; }
.stat .stat__note { margin-top: 4px; font-size: .82rem; }
.stat--accent .stat__note { color: rgba(255,255,255,.85); }
.stats-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.stats-cols .panel { min-width: 0; }
@media (max-width: 860px) { .stats-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .intro { padding-top: 0; margin-bottom: 20px; padding-bottom: 24px; }
  .form-submit { flex-direction: column-reverse; align-items: stretch; text-align: center; margin: 24px -20px -20px; padding: 16px 20px; }
  .form-submit__note { justify-content: center; }
}
