/* Caribbean Tech Women - site styles */
:root {
  --ink: #1E0F1C;
  --night: #160B15;
  --plum: #2B1029;
  --plum-2: #3D1A3A;
  --plum-line: #4A2E46;
  --ivory: #F6F0E6;
  --ivory-2: #EDE3D3;
  --paper: #FBF7F0;
  --line: #E2D6C4;
  --line-2: #CDBBA6;
  --muted: #5E4B5A;
  --muted-2: #6B5868;
  --on-dark: #D8CAD3;
  --on-dark-2: #C9B8C4;
  --raspberry: #C21F57;
  --raspberry-dark: #8E1340;
  --raspberry-light: #F0628F;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--raspberry); }
a:hover { color: var(--raspberry-dark); }
:focus-visible { outline: 2px solid var(--raspberry); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--raspberry); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* Type */
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--raspberry); font-weight: 600; }
.on-dark .eyebrow, .eyebrow.light { color: var(--raspberry-light); font-weight: 400; }
.serif { font-family: var(--serif); }
.accent-i { font-style: italic; color: var(--raspberry); }
.on-dark .accent-i { color: var(--raspberry-light); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 24px; border-radius: 999px; font: inherit; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--raspberry); color: #FBF7F0; }
.btn-primary:hover { background: var(--raspberry-dark); color: #FBF7F0; }
.btn-ghost { border-color: #6A4A64; color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--ivory); color: var(--ivory); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--plum); color: var(--ivory); }
.btn-dark:hover { background: var(--night); color: var(--ivory); }
.link-arrow { font-weight: 500; font-size: 15px; text-decoration: none; }

/* Top bar + header */
.topbar { background: var(--night); color: var(--on-dark-2); font-size: 13px; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: var(--raspberry-light); text-decoration: none; }
.topbar a:hover { color: #fff; }
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.wordmark { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--raspberry); }
.nav .btn { color: #FBF7F0; padding: 12px 20px; }
.nav .btn:hover { color: #FBF7F0; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; border-radius: 999px; }
@media (max-width: 860px) {
  .wordmark { font-size: 23px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* Hero */
.hero { background: var(--plum); color: var(--ivory); }
.hero .container { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-end; }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero h1 { font-size: clamp(46px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.025em; margin-top: 28px; }
.hero-lede { font-size: 19px; line-height: 1.55; color: var(--on-dark); max-width: 580px; margin: 32px 0 40px; }
.search-pill { display: flex; flex-wrap: wrap; gap: 8px; max-width: 680px; background: var(--ivory); padding: 8px; border-radius: 32px; }
.search-pill input { flex: 1 1 220px; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 18px; border-radius: 999px; }
.search-pill input:focus { outline: none; }
.search-pill:focus-within { box-shadow: 0 0 0 2px var(--raspberry-light); }
.stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 44px; font-size: 14px; color: var(--on-dark-2); }
.stats b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ivory); margin-right: 6px; }
.hero-mosaic { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-mosaic figure { margin: 0; }
.hero-mosaic figure:first-child { grid-row: span 2; }
.hero-mosaic figure:first-child .portrait { aspect-ratio: 3 / 4.6; }
.hero-mosaic .portrait { aspect-ratio: 1 / 1; }
.hero-mosaic figcaption { font-size: 13px; color: var(--on-dark-2); margin-top: 10px; }
@media (max-width: 640px) {
  .hero .container { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero-lede { font-size: 17px; margin: 22px 0 28px; }
  .search-pill { border-radius: 24px; }
  .search-pill .btn { flex: 1 1 100%; }
}

/* Portraits */
.portrait { position: relative; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #4A1F45; aspect-ratio: 4 / 5; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font-family: var(--serif); font-style: italic; font-size: clamp(44px, 5vw, 64px); color: #F3D9E3; }
.tone-0 { background: #4A1F45; } .tone-1 { background: #6E2650; } .tone-2 { background: #7A4436; } .tone-3 { background: #33223F; }

/* Sections */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: 16px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 40px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 15px; background: var(--paper); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--ivory); font-weight: 500; }
.chip .count { color: var(--muted-2); font-size: 13px; }
.chip[aria-pressed="true"] .count { color: var(--raspberry-light); }
.country-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 15px; align-items: baseline; }
.country-links .label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.country-links a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.country-links a:hover { color: var(--raspberry); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 24px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); font: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.card:hover { color: var(--ink); }
.card:hover .card-name { color: var(--raspberry); }
.card .portrait { width: 100%; transition: transform .25s ease; }
.card:hover .portrait { transform: translateY(-3px); }
.card-meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--raspberry); font-weight: 600; }
.card-name { font-family: var(--serif); font-size: 25px; line-height: 1.15; transition: color .15s; }
.card-role { font-size: 15px; line-height: 1.5; color: var(--muted); }
.card-sectors { font-size: 13px; color: var(--muted-2); }
.badge { position: absolute; right: 10px; top: 10px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ivory); color: var(--plum); padding: 5px 9px; border-radius: 999px; font-weight: 600; }

/* List band */
.dark { background: var(--night); color: var(--ivory); }
.list-band .container { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.list-band .copy { flex: 999 1 520px; min-width: 0; }
.list-band h2 { font-size: clamp(42px, 6vw, 84px); line-height: 1; letter-spacing: -0.025em; margin-top: 20px; }
.list-band p { font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 560px; margin: 28px 0 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.timeline { flex: 1 1 320px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--plum-line); }
.timeline li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--plum-line); color: var(--on-dark); line-height: 1.5; }
.timeline .when { font-family: var(--serif); font-size: 22px; color: var(--raspberry-light); width: 130px; flex: none; line-height: 1.2; }

/* Paths */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--ink); }
.path { padding: 32px 32px 40px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.path + .path { border-left: 1px solid var(--line); }
.path:first-child { padding-left: 0; }
.path:last-child { padding-right: 0; }
.path .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--raspberry); }
.path h3 { font-weight: 500; font-size: 28px; }
.path p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
.path .link-arrow { margin-top: auto; padding-top: 8px; }
@media (max-width: 920px) {
  .path, .path:first-child, .path:last-child { padding: 28px 0; }
  .path + .path { border-left: 0; }
}

/* Manifesto */
.manifesto { background: var(--ivory-2); }
.manifesto .container { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 40px; }
.manifesto .eyebrow { flex: 1 1 220px; padding-top: 14px; }
.manifesto .body { flex: 999 1 560px; min-width: 0; }
.manifesto blockquote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); line-height: 1.15; letter-spacing: -0.015em; }
.manifesto p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 640px; margin: 32px 0 0; }

/* Partner + newsletter */
.partner-cta { border: 1px solid var(--line-2); border-radius: 6px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--paper); }
.partner-cta .copy { flex: 1 1 420px; min-width: 0; }
.partner-cta h2 { font-size: 30px; margin-bottom: 8px; }
.partner-cta p { margin: 0; color: var(--muted); line-height: 1.55; }
.newsletter { background: var(--plum); color: var(--ivory); border-radius: 6px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.newsletter .copy { flex: 1 1 380px; min-width: 0; }
.newsletter h2 { font-size: 36px; margin-bottom: 10px; }
.newsletter p { margin: 0; color: var(--on-dark); line-height: 1.6; }
.newsletter form { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; padding: 14px 18px; border-radius: 999px; border: 1px solid #6A4A64; background: var(--plum-2); color: var(--ivory); }
.newsletter input::placeholder { color: #B9A5B4; }
@media (max-width: 640px) { .newsletter, .partner-cta { padding: 32px 22px; } .newsletter .btn { flex: 1 1 100%; } }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-2); }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; padding-top: 64px; padding-bottom: 40px; }
.site-footer .wordmark { color: var(--ivory); font-size: 26px; }
.site-footer .about { font-size: 14px; line-height: 1.6; margin: 14px 0 0; max-width: 320px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 32px 64px; font-size: 14px; }
.footer-nav div { display: flex; flex-direction: column; gap: 4px; }
.footer-nav .head { color: var(--ivory); font-weight: 600; margin-bottom: 6px; }
.footer-nav a { color: var(--on-dark-2); text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid #3A2337; padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: #A893A3; }

/* Directory page */
.dir-hero { background: var(--plum); color: var(--ivory); }
.dir-hero .container { padding-top: 64px; padding-bottom: 56px; }
.dir-hero h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1; letter-spacing: -0.02em; margin: 18px 0 36px; }
.dir-search { display: flex; flex-wrap: wrap; gap: 8px; background: var(--ivory); padding: 8px; border-radius: 30px; max-width: 900px; }
.dir-search .field { flex: 999 1 280px; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 16px; color: var(--muted); }
.dir-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 4px; }
.dir-search input:focus { outline: none; }
.dir-search:focus-within { box-shadow: 0 0 0 2px var(--raspberry-light); }
.dir-search select { flex: 1 1 200px; font: inherit; font-size: 15px; color: var(--ink); background: var(--ivory-2); border: 0; border-radius: 999px; padding: 13px 18px; cursor: pointer; min-height: 48px; }
.filter-bar { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.filter-bar .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: thin; }
.filter-bar .chip { flex: none; background: transparent; }
.filter-bar .chip[aria-pressed="true"] { background: var(--plum); }
.results-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.results-head p { margin: 0; font-size: 15px; color: var(--muted); }
.results-head b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); margin-right: 4px; }
.text-btn { font: inherit; font-size: 14px; font-weight: 500; color: var(--raspberry); background: none; border: 0; padding: 12px 0; cursor: pointer; }
.empty { text-align: center; padding: 72px 24px; border: 1px dashed var(--line-2); border-radius: 6px; }
.empty .big { font-family: var(--serif); font-size: 30px; margin: 0 0 10px; }
.empty p { color: var(--muted); margin: 0 0 24px; }
.shortlist { margin-top: 72px; background: var(--ivory-2); border-radius: 6px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.shortlist .copy { flex: 1 1 420px; min-width: 0; }
.shortlist .big { font-family: var(--serif); font-size: 28px; margin: 0 0 8px; }
.shortlist p { margin: 0; color: var(--muted); line-height: 1.55; }

/* Profile dialog */
dialog.profile { border: 0; padding: 0; width: min(880px, 100%); max-width: 100%; max-height: 92vh; margin: auto auto 0; border-radius: 10px 10px 0 0; background: var(--ivory); color: var(--ink); overflow: hidden; }
@media (min-width: 720px) { dialog.profile { margin: auto; border-radius: 10px; } }
dialog.profile::backdrop { background: rgba(22, 11, 21, 0.72); }
.profile-inner { display: flex; flex-wrap: wrap; max-height: 92vh; overflow-y: auto; }
.profile-inner .portrait { flex: 1 1 280px; min-height: 320px; aspect-ratio: auto; border-radius: 0; }
.profile-inner .portrait .initials { font-size: 110px; }
.profile-body { flex: 999 1 380px; min-width: 0; padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 18px; }
.profile-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.profile-top .card-meta { padding-top: 6px; }
.close-btn { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.close-btn:hover { border-color: var(--ink); }
.profile-body h2 { font-size: clamp(34px, 4vw, 44px); line-height: 1.02; }
.profile-body .role { font-size: 18px; line-height: 1.55; margin: 0; }
.profile-facts { margin: 0; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.profile-facts div { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.profile-facts dt { width: 110px; color: var(--muted-2); }
.profile-facts dd { margin: 0; flex: 1 1 200px; }
.profile-facts .pending { color: var(--muted-2); }
@media (max-width: 640px) { .profile-body { padding: 24px 20px 32px; } .profile-inner .portrait { min-height: 240px; } }

/* Submit page */
.submit-wrap { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 64px; padding-bottom: 104px; }
.submit-aside { flex: 1 1 320px; min-width: 0; }
.submit-aside h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; margin: 18px 0 24px; }
.submit-aside > p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 32px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.steps .n { font-family: var(--serif); font-style: italic; color: var(--raspberry); font-size: 18px; }
.submit-main { flex: 999 1 560px; min-width: 0; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 36px; display: flex; flex-direction: column; gap: 26px; }
@media (max-width: 640px) { .form-card { padding: 24px 18px; } .submit-wrap { padding-top: 40px; gap: 36px; } }
.form-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-card legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.hint { font-weight: 400; color: var(--muted-2); }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--ivory-2); padding: 5px; border-radius: 999px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-size: 15px; cursor: pointer; }
.segmented input:checked + span { background: var(--plum); color: var(--ivory); font-weight: 500; }
.segmented input:focus-visible + span { outline: 2px solid var(--raspberry); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field-label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field-label input, .field-label select, .field-label textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.field-label textarea { line-height: 1.5; resize: vertical; }
.field-label input:focus, .field-label select:focus, .field-label textarea:focus { outline: 2px solid var(--raspberry); outline-offset: 0; border-color: var(--raspberry); }
.pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chips label { position: relative; }
.pick-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; background: #fff; cursor: pointer; }
.pick-chips input:checked + span { background: var(--raspberry); border-color: var(--raspberry); color: #FBF7F0; font-weight: 500; }
.pick-chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pick-chips input:disabled + span { opacity: .45; cursor: not-allowed; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.checks label { display: flex; gap: 10px; align-items: center; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; min-height: 48px; }
.checks input { width: 18px; height: 18px; accent-color: var(--raspberry); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; }
.form-foot p { margin: 0; font-size: 13px; color: var(--muted-2); max-width: 380px; line-height: 1.5; }
.form-error { background: #FBE3EA; color: #7A0F33; border-radius: 6px; padding: 14px 16px; font-size: 15px; margin: 0; }
.thanks { background: var(--plum); color: var(--ivory); border-radius: 8px; padding: 56px 44px; }
.thanks .big { font-family: var(--serif); font-size: 44px; line-height: 1.05; margin: 0 0 16px; }
.thanks p { font-size: 17px; line-height: 1.6; color: var(--on-dark); margin: 0 0 28px; }
.hp { display: none !important; }
[hidden] { display: none !important; }

/* ===== Profile page ===== */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--raspberry); }
.profile-page { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 28px; padding-bottom: 88px; position: relative; }
.profile-page .photo-col { flex: 1 1 320px; min-width: 0; max-width: 460px; }
.profile-page .photo-col .portrait { width: 100%; }
.profile-page .photo-col .portrait .initials { font-size: 120px; }
.profile-page .info-col { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.profile-page h1 { font-size: clamp(42px, 5.5vw, 76px); line-height: 1; letter-spacing: -0.025em; }
.profile-page .role { font-size: 21px; line-height: 1.45; margin: 0; }
.profile-page .bio { font-family: var(--serif); font-size: 21px; line-height: 1.55; margin: 0; max-width: 680px; }
.profile-page .profile-facts dt { width: 130px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; border-radius: 999px; background: var(--ivory-2); font-size: 13px; color: var(--ink); text-decoration: none; }
a.tag:hover { background: var(--line); color: var(--ink); }
.tag.open { background: #F7DCE6; color: #7A0F33; }
.related { border-top: 1px solid var(--ink); padding-top: 24px; }

/* ===== Soft login gate ===== */
.gated .gate-blur { filter: blur(9px); user-select: none; pointer-events: none; }
.gate { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(22, 11, 21, 0.55); }
.gate[hidden] { display: none !important; }
.gate-card { background: var(--ivory); border-radius: 10px; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px; box-shadow: 0 30px 80px rgba(22, 11, 21, .35); }
.gate-card h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.05; margin: 12px 0 10px; }
.gate-card > p { color: var(--muted); line-height: 1.55; margin: 0 0 22px; }
.gate-card form { display: flex; flex-direction: column; gap: 14px; }
.gate-card .fine { font-size: 13px; color: var(--muted-2); margin: 4px 0 0; line-height: 1.5; }
@media (max-width: 640px) { .gate { align-items: flex-end; padding: 0; } .gate-card { border-radius: 14px 14px 0 0; padding: 28px 20px 32px; } }

/* ===== Join form extras ===== */
.photo-drop { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; border: 1px dashed var(--line-2); border-radius: 8px; padding: 18px; background: #fff; }
.photo-drop .preview { width: 96px; height: 120px; border-radius: 4px; background: var(--ivory-2); flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted-2); }
.photo-drop .preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-drop .copy { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.photo-drop input[type=file] { font: inherit; font-size: 14px; }
.req { color: var(--raspberry); }
.counter { font-size: 12px; color: var(--muted-2); text-align: right; font-weight: 400; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--raspberry); flex: none; }
.form-errors { background: #FBE3EA; color: #7A0F33; border-radius: 6px; padding: 14px 18px; font-size: 15px; margin: 0; }
.form-errors ul { margin: 6px 0 0; padding-left: 18px; }
.notice { background: var(--ivory-2); border-radius: 6px; padding: 14px 18px; font-size: 15px; margin: 0; }

/* ===== Editor ===== */
.ed-body { background: #F3EEE6; }
.ed-top { background: var(--night); color: var(--ivory); }
.ed-top .container { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.ed-top .wordmark { color: var(--ivory); font-size: 22px; }
.ed-top .wordmark small { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--raspberry-light); margin-left: 10px; font-style: normal; }
.ed-top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.ed-top nav a { color: var(--on-dark-2); text-decoration: none; padding: 10px 0; }
.ed-top nav a:hover, .ed-top nav a[aria-current] { color: #fff; }
.ed-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 28px 0 18px; }
.ed-tabs a { text-decoration: none; color: var(--ink); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 500; }
.ed-tabs a[aria-current] { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.ed-tabs .n { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--ivory-2); color: var(--ink); font-size: 12px; margin-left: 6px; text-align: center; }
.ed-tabs a[aria-current] .n { background: var(--raspberry); color: #fff; }
.ed-tabs .n.hot { background: var(--raspberry); color: #fff; }
.ed-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ed-bar input[type=search] { font: inherit; font-size: 15px; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; min-width: 260px; flex: 1 1 260px; max-width: 420px; background: #fff; }
.ed-list { display: flex; flex-direction: column; gap: 10px; }
.ed-row { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ed-row .portrait { width: 64px; height: 80px; aspect-ratio: auto; flex: none; }
.ed-row .portrait .initials { font-size: 24px; }
.ed-row .who { flex: 1 1 260px; min-width: 0; }
.ed-row .who strong { font-family: var(--serif); font-size: 20px; font-weight: 500; display: block; }
.ed-row .who span { display: block; font-size: 14px; color: var(--muted); }
.ed-row .when { font-size: 13px; color: var(--muted-2); flex: 0 0 auto; }
.ed-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-actions form { margin: 0; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-reject { background: #fff; color: #8E1340; border-color: #E9B7C6; }
.btn-reject:hover { background: #FBE3EA; color: #8E1340; }
.pill { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--ivory-2); color: var(--ink); vertical-align: middle; margin-left: 6px; }
.pill.pending { background: #FFF1C9; color: #6B4E00; }
.pill.published { background: #DDF1E4; color: #145A32; }
.pill.rejected { background: #FBE3EA; color: #7A0F33; }
.pill.update { background: #E2E6FB; color: #23306E; }
.flash { background: #DDF1E4; color: #145A32; border-radius: 6px; padding: 12px 16px; margin-top: 20px; font-size: 15px; }
.flash.err { background: #FBE3EA; color: #7A0F33; }
.ed-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.ed-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.ed-grid .main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ed-grid .side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.ed-grid .side .portrait { width: 100%; }
table.ed-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.ed-table th, .ed-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ed-table th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.empty-state { background: #fff; border: 1px dashed var(--line-2); border-radius: 8px; padding: 48px 24px; text-align: center; color: var(--muted); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--plum); }
.login-card { background: var(--ivory); border-radius: 10px; padding: 40px 36px; width: min(440px, 100%); display: flex; flex-direction: column; gap: 18px; }
.login-card h1 { font-size: 34px; }
.login-card p { margin: 0; color: var(--muted); line-height: 1.5; }
#photo-preview img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.dir-item { display: flex; }
.dir-item .card { width: 100%; }
.field-label .lt { display: block; }
.field-label .lt .hint { font-weight: 400; }
.manifesto .pillars { font-family: var(--serif); font-style: italic; color: var(--raspberry); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; margin-top: 32px; max-width: none; }
.manifesto .signoff { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin-top: 18px; }
.site-footer .accent-i, .ed-top .accent-i { color: var(--raspberry-light); }
.site-footer .about { max-width: 360px; }

/* ===== Opportunities ===== */
.dir-hero .hero-lede { color: var(--on-dark); max-width: 640px; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.type-tile { font: inherit; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.type-tile:hover { border-color: var(--ink); }
.type-tile[aria-pressed="true"] { border-color: var(--raspberry); box-shadow: 0 0 0 1px var(--raspberry); background: var(--paper); }
.type-tile .type-icon { color: var(--ink); }
.type-tile[aria-pressed="true"] .type-icon { color: var(--raspberry); }
.type-tile .type-name { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; margin-top: 6px; }
.type-tile .type-desc { color: var(--muted); font-size: 15px; line-height: 1.5; }
.type-tile .type-count { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--raspberry); font-weight: 600; margin-top: 4px; }
a.type-tile { text-decoration: none; }
.opp-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.opp-filters select { font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; min-height: 44px; cursor: pointer; max-width: 100%; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; cursor: pointer; min-height: 44px; }
.toggle input { width: 16px; height: 16px; accent-color: var(--raspberry); }
.opp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
@media (max-width: 420px) { .opp-grid, .type-grid { grid-template-columns: minmax(0, 1fr); } }
.opp { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.opp-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.opp-type { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--raspberry); }
.pay { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ivory-2); color: var(--ink); }
.pay.yes { background: #DDF1E4; color: #145A32; }
.opp-title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; margin: 4px 0 0; }
.opp-org { margin: 0; font-weight: 500; color: var(--ink); }
.opp-org a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.opp-desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.opp-facts { margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.opp-facts div { display: flex; gap: 8px; align-items: baseline; }
.opp-facts dt { color: var(--muted-2); flex: none; min-width: 74px; display: inline-flex; align-items: center; }
.opp-facts div:first-child dt { min-width: 0; }
.opp-facts dd { margin: 0; min-width: 0; }
.opp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.opp-deadline { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.opp-deadline.soon { color: #8E1340; font-weight: 600; }
.type-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.type-pick { position: relative; }
.type-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-pick span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 15px; cursor: pointer; min-height: 48px; }
.type-pick b { font-weight: 500; }
.type-pick input:checked + span { border-color: var(--raspberry); box-shadow: 0 0 0 1px var(--raspberry); color: var(--raspberry); }
.type-pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opp-band .type-grid { margin-top: 8px; }
.fee-box { background: var(--ivory-2); border-radius: 8px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.fee-box p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.fee-box .fee-price { font-family: var(--serif); font-size: 30px; color: var(--ink); line-height: 1.1; }
.fee-box .fee-price span { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.fee-box .consent { color: var(--ink); font-weight: 500; }
.thanks p + p { margin-top: -14px; }
