/* CEO LAB • Rev15. Shared by all public pages. */
:root {
  color-scheme:dark;
  --ink:#050c18;
  --surface:#091425;
  --paper:#edf3f9;
  --muted:#b3c1d2;
  --blue:#49c5f6;
  --line:#27364a;
  --gutter:clamp(24px,5vw,80px);
  --section-space:clamp(72px,8vw,128px);
  --content:1440px;
  --header-height:88px;
  font-family:Manrope,Arial,sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-height) + 24px);
}
body {
  margin:0;
  background:var(--ink);
  color:var(--paper);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
body,button,input,textarea,select {
  font-family:Manrope,Arial,sans-serif;
}
button,input,textarea,select {
  font-size:1rem;
  color:inherit;
}
button,a,input,textarea,select {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
  border-radius:0;
}
a {
  color:inherit;
  text-decoration:none;
}
img,video {
  display:block;
  max-width:100%;
}
[hidden] {
  display:none!important;
}
::selection {
  background:#49c5f6;
  color:#050c18;
}
:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:5px;
}
h1,h2,h3,p {
  margin:0;
}
h1,h2,h3 {
  font-weight:500;
}
p {
  color:var(--muted);
}
p+p {
  margin-top:20px;
}
main {
  overflow:clip;
}
.skip-link {
  position:fixed;
  z-index:100;
  top:12px;
  left:20px;
  padding:12px 20px;
  background:var(--paper);
  color:var(--ink);
  transform:translateY(-160%);
}
.skip-link:focus {
  transform:none;
}
.site-header {
  position:sticky;
  z-index:30;
  top:0;
  min-height:var(--header-height);
  padding:14px var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  background:var(--ink);
  border-bottom:1px solid var(--line);
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
.brand-art {
  width:70px;
  height:48px;
  object-fit:contain;
  mix-blend-mode:screen;
}
.brand-text {
  display:flex;
  flex-direction:column;
  gap:4px;
}
.brand-main {
  font-size:19px;
  font-weight:700;
  line-height:1;
  letter-spacing:.035em;
}
.brand-method {
  font:12px/1.4 'DM Mono',monospace;
  color:var(--muted);
  letter-spacing:.15em;
}
.site-header nav {
  display:flex;
  align-items:center;
  gap:clamp(20px,2.6vw,40px);
}
.site-header nav a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  font-weight:600;
}
.site-header nav a:hover {
  color:var(--blue);
}
.nav-cta {
  gap:20px;
  border:1px solid #53667c;
  padding:0 18px;
}
.menu-button {
  display:none;
  min-height:44px;
  padding:8px 16px;
  border:1px solid #53667c;
  background:transparent;
  font-size:14px;
}
.hero {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  align-items:center;
  gap:40px 32px;
  min-height:min(820px,calc(100svh - var(--header-height)));
  padding:clamp(60px,7vw,104px) max(var(--gutter),calc((100vw - var(--content))/2)) 32px;
  background:radial-gradient(ellipse at 82% 28%,#102945 0%,transparent 56%),linear-gradient(145deg,#09162a 0%,#050c18 72%);
}
.hero-copy {
  position:relative;
  z-index:1;
  min-width:0;
}
.kicker,.section-index,.stage-label {
  font-family:'DM Mono',monospace;
  font-size:13px;
  line-height:1.6;
  letter-spacing:.07em;
  color:var(--muted);
}
.hero .kicker {
  max-width:34em;
  margin-bottom:24px;
  color:#c3d7e9;
}
h1 {
  font-size:clamp(44px,5.1vw,82px);
  line-height:1.07;
  letter-spacing:-.055em;
}
h1 em {
  color:var(--blue);
  font-style:normal;
}
.hero-bottom {
  margin-top:28px;
}
.hero-bottom>p {
  max-width:36em;
  font-size:16px;
  line-height:1.8;
}
.button-row {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:32px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  min-height:52px;
  padding:14px 20px;
  border:1px solid transparent;
  font-size:13px;
  line-height:1.5;
  font-weight:700;
  transition:background .18s ease,border-color .18s ease;
}
.button span {
  flex-shrink:0;
  font-size:18px;
  line-height:1;
}
.button-primary {
  background:var(--blue);
  color:var(--ink);
}
.button-primary:hover {
  background:#9ce4ff;
}
.button-quiet {
  border-color:#53667c;
  background:transparent;
  color:var(--paper);
  appearance:none;
}
.button-quiet:hover {
  border-color:var(--blue);
  background:#102139;
}
.logo-panel {
  min-width:0;
  width:100%;
  position:relative;
}
.logo-art {
  position:relative;
  width:100%;
  aspect-ratio:1000/684;
  mix-blend-mode:screen;
}
.logo-still,.logo-video {
  width:100%;
  height:100%;
  object-fit:contain;
}
.logo-video {
  position:absolute;
  inset:0;
}
.logo-panel[data-playing="true"] .logo-still {
  visibility:hidden;
}
.motion-toggle {
  position:absolute;
  right:4px;
  bottom:4px;
  z-index:1;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#b3c1d2;
  /* Keep the action name available to assistive technology; show a quiet icon. */
  font-size:0;
  line-height:0;
  appearance:none;
}
.motion-toggle::before,.motion-toggle::after {
  content:"";
  position:absolute;
}
.motion-toggle::before {
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(5,12,24,.82);
}
.motion-toggle::after {
  width:11px;
  height:12px;
  background:currentColor;
  clip-path:polygon(16% 0,100% 50%,16% 100%);
}
.logo-panel[data-playing="true"] .motion-toggle::after {
  width:10px;
  background:transparent;
  clip-path:none;
  border-left:3px solid currentColor;
  border-right:3px solid currentColor;
}
.motion-toggle:hover,.motion-toggle:focus-visible {
  color:var(--paper);
}
.motion-toggle:hover::before,.motion-toggle:focus-visible::before {
  background:var(--ink);
}
.hero-proof {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr 1fr 1.5fr;
  margin-top:24px;
  border-top:1px solid var(--line);
  padding-top:24px;
  gap:24px;
}
.hero-proof>div {
  display:flex;
  flex-direction:column;
  gap:7px;
}
.hero-proof span {
  font:12px/1.5 'DM Mono',monospace;
  letter-spacing:.08em;
  color:var(--muted);
}
.hero-proof strong {
  font-size:13px;
  font-weight:500;
}
.section-pad {
  padding:var(--section-space) max(var(--gutter),calc((100vw - var(--content))/2));
  border-top:1px solid var(--line);
}
.section-index {
  display:flex;
  gap:20px;
  margin-bottom:40px;
}
.section-index span:first-child {
  color:var(--blue);
}
.display {
  font-size:clamp(36px,4.2vw,64px);
  line-height:1.14;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.manifesto-grid,.council-intro,.engine-intro,.people-intro,.application-grid {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:clamp(36px,7vw,104px);
  align-items:start;
}
.lead {
  color:var(--paper);
  font-size:clamp(18px,1.8vw,23px);
  line-height:1.55;
}
.belief {
  padding-top:24px;
  border-top:1px solid var(--line);
}
.council,.people {
  background:linear-gradient(145deg,#0b182b,#071120);
}
.council-intro .kicker,.people-intro .kicker,.application-copy .kicker {
  margin-bottom:18px;
}
.council-intro>p,.engine-intro>p,.people-intro>p {
  padding-top:6px;
}
.council-grid,.engine-grid,.people-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:44px;
}
.council-grid article {
  padding:28px 0 0;
  border-top:1px solid #46566b;
}
.council-grid article>span,.engine-number {
  color:var(--blue);
  font:12px/1.5 'DM Mono',monospace;
}
.council-grid h3,.engine-card h3 {
  margin:28px 0 14px;
  font-size:clamp(23px,2.2vw,30px);
  line-height:1.25;
  letter-spacing:-.025em;
}
.engine-card {
  padding:28px;
  background:linear-gradient(155deg,#102139,#091425);
  border:1px solid var(--line);
}
.engine-card h3 {
  margin-top:48px;
}
.method-note {
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid var(--line);
  font-size:14px;
  max-width:70em;
}
.journey {
  display:grid;
  align-items:start;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:clamp(36px,8vw,120px);
}
.journey-sticky {
  position:sticky;
  top:calc(var(--header-height) + 36px);
}
.journey-sticky h2 {
  margin:20px 0 28px;
}
.journey-step {
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:24px;
  padding:32px 0;
  border-top:1px solid var(--line);
}
.journey-step:first-child {
  padding-top:0;
  border-top:0;
}
.journey-step>span {
  font:12px/1.8 'DM Mono',monospace;
  color:var(--blue);
}
.journey-step h3 {
  font-size:36px;
  letter-spacing:-.035em;
  line-height:1.2;
  margin:8px 0 14px;
}
.stage-expansion {
  display:block;
  margin:-4px 0 14px;
  font-size:14px;
  color:var(--paper);
}
.person-card {
  display:grid;
  grid-template-rows:subgrid;
  grid-row:span 4;
  row-gap:0;
  padding:28px 0 0;
  border-top:1px solid #46566b;
}
.person-card>.person-lane {
  font:13px/1.6 'DM Mono',monospace;
  color:var(--blue);
}
.person-card h3 {
  margin:20px 0 12px;
  font-size:clamp(23px,2.2vw,30px);
  letter-spacing:-.025em;
  line-height:1.2;
}
.person-card span {
  color:var(--muted);
  font-size:15px;
}
.application {
  background:radial-gradient(ellipse at 80% 90%,#102945 0%,transparent 60%),#07101e;
}
.application-copy>p:last-child {
  margin-top:24px;
}
.application-form {
  padding:clamp(24px,3vw,40px);
  border:1px solid #46566b;
  background:#091425;
}
.form-heading {
  margin-bottom:28px;
}
.form-heading .kicker {
  color:var(--blue);
}
.form-heading p+p {
  margin-top:12px;
  font-size:14px;
}
.application-form label {
  display:block;
  font-size:13px;
  color:var(--paper);
  margin-bottom:20px;
}
.application-form input,.application-form textarea,.application-form select {
  display:block;
  width:100%;
  margin-top:8px;
  padding:12px;
  background:#050c18;
  border:1px solid #53667c;
  border-radius:0;
  line-height:1.5;
}
.application-form textarea {
  resize:vertical;
  min-height:112px;
}
.application-form select { min-height:48px; }
.access-note { margin-top:22px; color:var(--muted); font-size:13px; line-height:1.6; }
.admission-steps { list-style:none; padding:0; margin:30px 0 0; }
.admission-steps li { border-top:1px solid var(--line); padding:18px 0; }
.admission-steps strong { display:block; margin-bottom:6px; color:var(--paper); }
.admission-steps span { display:block; color:var(--muted); font-size:14px; line-height:1.7; }
.application-form .button {
  width:100%;
}
.application-form .button [data-prepare-label] { font:inherit; line-height:1.5; flex-shrink:1; text-align:left; }
.application-form .button+.button {
  margin-top:12px;
}
.form-note,.form-status {
  margin-top:18px;
  font-size:14px;
  line-height:1.7;
}
.form-note a,.form-status a {
  text-decoration:underline;
  text-underline-offset:4px;
  overflow-wrap:anywhere;
}
.jill-intro {
  margin-bottom:26px;
  padding-bottom:26px;
  border-bottom:1px solid var(--line);
}
.jill-intro h3 {
  font-size:28px;
  letter-spacing:-.03em;
}
.jill-intro p {
  margin-top:10px;
  font-size:14px;
}
footer {
  padding:40px var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:24px 36px;
  border-top:1px solid var(--line);
}
footer p,footer>a:last-child {
  font-size:14px;
}
footer p+p {
  margin-top:6px;
}
footer>a:last-child {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  overflow-wrap:anywhere;
}
.event-page h1 {
  font-size:clamp(42px,4.9vw,78px);
}
.event-page .hero-proof {
  grid-template-columns:1fr 1.5fr 1fr;
}
.event-page .council-grid {
  margin-top:0;
}
.membership-detail,.questions-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);
  gap:clamp(28px,5vw,72px);
  align-items:start;
}
.membership-detail {
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid #46566b;
}
.membership-detail h3,.growth-map h3,.guide-context h3 {
  margin-top:14px;
  font-size:clamp(25px,2.5vw,36px);
  line-height:1.25;
  letter-spacing:-.025em;
}
.growth-map {
  margin-top:40px;
  padding:clamp(24px,3vw,40px);
  border:1px solid #46566b;
  background:linear-gradient(145deg,#0d2036,#091425);
}
.growth-map>.map-context {
  margin-top:20px;
  max-width:75ch;
}
.map-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 24px;
}
.map-heading .kicker { margin:0; }
.map-label {
  color:var(--muted);
  font:12px/1.6 'DM Mono',monospace;
  padding:5px 10px;
  border:1px solid #46566b;
}
.map-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 32px;
  margin:32px 0 0;
}
.map-grid>div {
  border-top:1px solid #46566b;
  padding:22px 0;
}
.map-grid>.map-priority {
  border-top-color:var(--blue);
}
.map-grid dt {
  color:var(--paper);
  font-size:15px;
  font-weight:600;
  margin-bottom:8px;
}
.map-grid dd {
  margin:0;
  color:var(--muted);
  font-size:15px;
}
.map-perspectives {
  border-top:1px solid #46566b;
  border-bottom:1px solid #46566b;
  margin-top:4px;
}
.map-perspectives summary {
  padding:16px 4px;
  min-height:52px;
  font-size:15px;
}
.map-perspectives summary::marker { color:var(--blue); }
.perspective-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  padding:12px 4px 24px;
}
.perspective-grid h4 { color:var(--blue); margin:0 0 8px; font-size:15px; }
.perspective-grid p { font-size:14px; margin:0; }
.example-caption {
  font-size:13px;
}
.growth-map>.example-caption { margin:24px 0 0; max-width:90ch; }
.guide-context {
  margin-top:40px;
  padding:28px 0 0 24px;
  border-left:2px solid var(--blue);
  max-width:80ch;
}
.guide-context .kicker { margin:0; }
.guide-context>p:last-child { margin:18px 0 0; }
.member-path {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
  margin:44px 0 0;
  padding:0;
  list-style:none;
}
.member-path li { padding-top:24px; border-top:1px solid #46566b; }
.path-number { font:13px/1.6 'DM Mono',monospace; color:var(--blue); }
.member-path h3 { font-size:22px; line-height:1.3; margin:16px 0 12px; }
.member-path p { font-size:15px; margin:0; }
.journey-note { margin:32px 0 0; font-size:14px; }
.journey-note a,.event-member-path a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  gap:8px;
  text-decoration:underline;
  text-underline-offset:4px;
  color:var(--paper);
}
.journey-note a { margin-left:8px; }
.journey-note a:hover,.event-member-path a:hover { color:var(--blue); }
.event-member-path { margin-top:40px; }
.event-member-path h3 { font-size:25px; line-height:1.3; }
.event-member-path ol {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  padding:0;
  margin:24px 0 16px;
  list-style:none;
  counter-reset:member-step;
}
.event-member-path li { border-top:1px solid #46566b; padding-top:20px; counter-increment:member-step; }
.event-member-path li::before {
  content:'0' counter(member-step);
  display:block;
  margin-bottom:12px;
  color:var(--blue);
  font:13px/1.6 'DM Mono',monospace;
}
.event-member-path strong { display:block; font-size:16px; line-height:1.5; margin-bottom:10px; }
.event-member-path li span { display:block; color:var(--muted); font-size:15px; }
.event-member-path>p { display:flex; flex-wrap:wrap; gap:8px 28px; font-size:14px; }
.person-card .person-bio {
  margin-top:0;
  font:16px/1.7 Manrope,Arial,sans-serif;
  color:var(--muted);
}
.person-card .person-focus {
  padding-top:18px;
  border-top:1px solid var(--line);
  margin-top:24px;
  color:var(--muted);
  font:14px/1.7 Manrope,Arial,sans-serif;
}
.person-focus strong {
  display:block;
  color:var(--paper);
  font-weight:600;
  font-size:16px;
}
.person-focus span {
  display:block;
  margin-bottom:8px;
  font:12px/1.6 'DM Mono',monospace;
}
@media(max-width:1000px) {
  .member-path { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:800px) {
  .map-grid,.perspective-grid,.member-path,.event-member-path ol { grid-template-columns:minmax(0,1fr); }
  .map-grid { margin-top:24px; }
  .map-grid>div { padding:20px 0; }
  .map-grid>.map-priority:first-child { border-top-color:var(--blue); }
  .map-grid>.map-priority:not(:first-child) { border-top-color:#46566b; }
  .journey-note a { margin-left:0; }
  .guide-context { padding-top:12px; padding-left:20px; }
}
.questions-grid>.faq-list {
  min-width:0;
}
.questions-grid h2 {
  margin:16px 0 24px;
}
.faq-list details {
  padding:0 0 24px;
  border-bottom:1px solid #46566b;
  margin-bottom:24px;
}
summary {
  cursor:pointer;
}
.faq-list summary {
  font-size:18px;
  line-height:1.5;
  padding:8px 4px;
  min-height:44px;
  color:var(--paper);
}
.faq-list summary::marker,.email-draft summary::marker {
  color:var(--blue);
}
.faq-list p {
  padding:14px 4px 0;
}
.field-help {
  margin:-6px 0 24px;
  font-size:14px;
}
.optional {
  color:var(--muted);
  font-size:13px;
  margin-left:6px;
}
.form-status:empty {
  display:none;
}
.email-draft {
  margin-top:24px;
  border-top:1px solid #46566b;
  padding-top:16px;
}
.email-draft summary {
  min-height:44px;
  padding:10px 4px;
  font-size:14px;
}
.email-draft label {
  margin:12px 0 8px;
}
.email-draft textarea {
  min-height:240px;
  font:14px/1.7 'DM Mono',monospace;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.privacy-note {
  padding-top:18px;
  border-top:1px solid var(--line);
}
.footer-links {
  display:flex;
  gap:12px 24px;
  align-items:center;
  flex-wrap:wrap;
  font-size:14px;
}
.footer-links a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  overflow-wrap:anywhere;
}
.footer-links a:hover {
  color:var(--blue);
}
footer .event-boundary {
  max-width:55ch;
  font-size:13px;
}
.utility-content {
  width:min(900px,100%);
  padding:clamp(60px,8vw,112px) var(--gutter);
  margin:0 auto;
  min-height:60vh;
  overflow:visible;
}
.utility-content h1 {
  font-size:clamp(36px,5vw,62px);
  margin:24px 0;
}
.utility-content h2 {
  font-size:26px;
  line-height:1.3;
  margin:40px 0 16px;
}
.utility-intro {
  font-size:20px;
  line-height:1.6;
}
.updated-date {
  font-size:14px;
}
.utility-content p a {
  text-decoration:underline;
  text-underline-offset:4px;
  overflow-wrap:anywhere;
}
@media(max-width:800px) {
  .membership-detail,.questions-grid {
    grid-template-columns:minmax(0,1fr);
    gap:28px;
  }
  .utility-page .site-header {
    flex-wrap:nowrap;
  }
  .utility-page .site-header .button {
    padding:10px 12px;
    font-size:13px;
  }
}
@media(min-width:1700px) {
  .hero {
    min-height:820px;
  }
}
@media(max-width:1050px) {
  :root {
    --gutter:32px;
  }
  .site-header {
    gap:20px;
  }
  .site-header nav {
    gap:20px;
  }
  .brand-art {
    width:58px;
    height:40px;
  }
  .hero {
    gap:40px 12px;
  }
  .button-row {
    flex-direction:column;
    align-items:flex-start;
  }
  .hero .button {
    min-width:230px;
  }
  .manifesto-grid,.council-intro,.engine-intro,.people-intro,.application-grid {
    gap:40px;
  }
  .engine-card {
    padding:24px;
  }
}
@media(max-width:800px) {
  :root {
    --header-height:80px;
    --gutter:24px;
  }
  .site-header {
    flex-wrap:wrap;
    gap:8px;
  }
  .brand-art {
    width:62px;
    height:42px;
  }
  .brand-main {
    font-size:18px;
  }
  .site-header nav {
    width:100%;
    flex-wrap:wrap;
    padding:16px 0 8px;
    gap:10px 24px;
  }
  .js .menu-button {
    display:inline-flex;
    align-items:center;
  }
  .js .site-header nav {
    display:none;
  }
  .js .site-header nav.open {
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }
  .site-header nav a {
    padding:10px 12px;
  }
  .nav-cta {
    justify-content:space-between;
  }
  .hero {
    grid-template-columns:minmax(0,1fr);
    min-height:auto;
    padding-top:56px;
    gap:28px;
  }
  .hero-copy {
    max-width:650px;
  }
  h1,.event-page h1 {
    font-size:clamp(42px,8.5vw,66px);
  }
  .hero .kicker {
    max-width:31em;
  }
  .hero-bottom>p {
    font-size:16px;
  }
  .button-row {
    flex-direction:row;
    align-items:stretch;
    gap:12px;
  }
  .hero .button {
    min-width:0;
  }
  .logo-panel {
    width:min(100%,560px);
    margin:0 auto;
  }
  .hero-proof,.event-page .hero-proof {
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:12px;
  }
  .hero-proof>div:last-child {
    grid-column:1/-1;
  }
  .manifesto-grid,.council-intro,.engine-intro,.people-intro,.application-grid,.journey {
    grid-template-columns:minmax(0,1fr);
    gap:32px;
  }
  .display {
    max-width:17ch;
  }
  .section-index {
    margin-bottom:28px;
  }
  .council-grid,.engine-grid,.people-grid {
    gap:32px;
    grid-template-columns:minmax(0,1fr);
  }
  .council-grid h3 {
    margin-top:18px;
  }
  .engine-card h3 {
    margin-top:26px;
  }
  .journey-sticky {
    position:static;
  }
  .journey-step {
    gap:16px;
  }
  .journey-steps {
    margin-top:8px;
  }
  .people-grid {
    margin-top:32px;
  }
  .person-card h3 {
    font-size:29px;
  }
  footer {
    align-items:flex-start;
    flex-direction:column;
    gap:24px;
  }
}
@media(max-width:420px) {
  .hero .button-row {
    flex-direction:column;
  }
  .hero .button {
    width:100%;
  }
  .application-form {
    padding:24px 20px;
  }
  .hero-proof strong {
    font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}

/* A compact entry point opens a screen-friendly QR without crowding the event hero. */
.share-trigger {
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  margin-top:16px;
  color:var(--muted);
  font-size:14px;
}
.share-trigger svg { color:var(--blue); }
.share-trigger:hover { color:var(--paper); }
.share-trigger:hover span { text-decoration:underline; text-underline-offset:4px; }
.share-dialog {
  width:min(520px,calc(100% - 32px));
  max-height:calc(100dvh - 32px);
  margin:auto;
  padding:30px;
  overflow:auto;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  color:var(--paper);
  text-align:center;
  box-shadow:0 24px 80px #0008;
}
.share-dialog::backdrop { background:rgba(2,7,15,.88); }
body:has(.share-dialog[open]) { overflow:hidden; }
.share-dialog .kicker { padding:8px 28px 0; font-size:12px; }
.share-dialog h2 { margin:12px 0 8px; font-size:30px; line-height:1.2; }
.share-dialog p { font-size:15px; line-height:1.55; }
.share-close {
  position:absolute;
  top:6px;
  right:6px;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--muted);
  font:30px/1 Arial,sans-serif;
}
.share-close:hover { color:var(--paper); }
.share-qr {
  width:min(100%,340px);
  height:auto;
  margin:24px auto 16px;
  background:#fff;
  image-rendering:pixelated;
}
.share-address { display:inline-block; font-size:16px; overflow-wrap:anywhere; }
.share-address:hover { text-decoration:underline; }
.share-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:20px; }
.share-actions .button { justify-content:center; min-height:44px; padding:10px 18px; }
.share-status { margin-top:14px; }
.share-status:empty { display:none; }
.share-copy-fallback { margin-top:12px; text-align:left; }
.share-copy-fallback label { display:block; margin-bottom:8px; font-size:14px; }
.share-copy-fallback input { width:100%; min-height:44px; padding:10px; border:1px solid #53667c; background:var(--ink); }
@media(max-width:480px) {
  .share-dialog { padding:24px 20px; }
  .share-dialog h2 { font-size:26px; }
  .share-qr { margin-top:20px; }
  .share-actions { gap:10px; }
  .share-actions .button { padding:10px 14px; }
}

@media(max-height:600px) and (min-width:600px) {
  .share-dialog { width:min(720px,calc(100% - 32px)); padding:24px; text-align:left; }
  .share-dialog[open] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 24px; align-content:center; }
  .share-dialog .kicker,.share-dialog h2,.share-dialog #share-description,.share-address,.share-actions,.share-status,.share-copy-fallback { grid-column:2; }
  .share-dialog .kicker { padding:0 24px 0 0; }
  .share-dialog h2 { font-size:26px; }
  .share-qr { grid-column:1; grid-row:1 / span 7; align-self:center; width:min(100%,calc(100dvh - 96px)); margin:0; }
  .share-actions { justify-content:flex-start; }
}

/* Review-first online applications and introductions. */
.intake-status { margin:20px 0; font-size:14px; color:var(--muted); line-height:1.7; overflow-wrap:anywhere; }
.intake-status:empty { display:none; }
.preview-access,.intake-test-notice { padding:18px; border:1px solid #53667c; background:#102238; margin:20px 0; }
.preview-access p,.intake-test-notice p { font-size:14px; margin-top:8px; }
.preview-access label { margin-top:20px; }
.intake-test-notice strong { display:block; font-size:14px; color:#d7e9fa; }
.application-form .intake-check { display:grid; grid-template-columns:22px minmax(0,1fr); align-items:start; gap:12px; line-height:1.7; margin:22px 0; font-size:14px; }
.application-form .intake-check input { width:20px; height:20px; margin:3px 0 0; padding:0; accent-color:var(--blue); }
.intake-check a { text-decoration:underline; text-underline-offset:3px; }
.intake-review,.intake-receipt,.request-panel { border-top:1px solid #53667c; padding-top:28px; margin-top:28px; min-width:0; }
.intake-review h3,.intake-receipt h3 { font-size:25px; line-height:1.3; margin:8px 0 14px; }
.intake-review>p,.intake-receipt>p { color:var(--muted); font-size:14px; }
.intake-review-fields { margin:22px 0; }
.intake-review-fields>div { border-bottom:1px solid var(--line); padding:12px 0; }
.intake-review-fields dt { font:12px/1.6 'DM Mono',monospace; color:var(--muted); }
.intake-review-fields dd { margin:6px 0 0; font-size:15px; overflow-wrap:anywhere; white-space:pre-wrap; }
.intake-challenge { margin:24px 0 12px; min-width:0; }
.intake-review .button { margin-top:12px; }
.request-panel h3 { font-size:16px; margin-bottom:10px; }
.receipt-reference { overflow-wrap:anywhere; font:14px/1.7 'DM Mono',monospace; color:var(--paper); }
.email-options { border-top:1px solid var(--line); margin-top:28px; padding-top:24px; }
.application-form [data-prepare-email] { background:transparent; color:var(--paper); border-color:#53667c; }
.application-form input:disabled,.application-form textarea:disabled,.application-form select:disabled { opacity:.75; }
.application-form button:disabled { cursor:not-allowed; opacity:.5; }
.referral-hero { padding-top:80px; padding-bottom:56px; background:radial-gradient(ellipse at 85% 15%,#132c48 0%,transparent 60%); border-bottom:1px solid var(--line); }
.referral-hero h1 { font-size:clamp(42px,5.3vw,78px); max-width:1100px; }
.referral-lead { max-width:750px; font-size:clamp(17px,1.6vw,21px); color:var(--muted); margin-top:30px; line-height:1.7; }
.referral-layout { display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); gap:clamp(36px,6vw,100px); align-items:start; }
.referral-context h2 { font-size:clamp(26px,2.6vw,40px); line-height:1.2; margin-top:14px; }
.referral-boundary { border-left:2px solid var(--blue); padding-left:22px; margin-top:36px; }
.referral-boundary h3 { font-size:18px; }
.referral-boundary p { color:var(--muted); font-size:14px; margin-top:14px; }
.referral-form { min-width:0; }
.referral-form h2 { font-size:30px; margin:12px 0; }
.referral-form fieldset { border:0; border-top:1px solid var(--line); margin:26px 0 0; padding:24px 0 0; min-width:0; }
.referral-form legend { font:13px/1.7 'DM Mono',monospace; padding-right:14px; color:var(--blue); }
.intake-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.intake-full { grid-column:1/-1; }
.membership-status { color:#c9dcf0; font-size:14px; line-height:1.7; }
.referral-form .field-help { display:block; margin-top:10px; }
@media(max-width:800px) {
  .referral-layout { grid-template-columns:minmax(0,1fr); }
  .referral-hero { padding-top:54px; }
}
@media(max-width:480px) {
  .intake-field-grid { grid-template-columns:minmax(0,1fr); }
  .referral-page .site-header { gap:12px; }
  .referral-page .site-header>.button { padding:10px; font-size:12px; }
  .referral-page .brand-art { width:42px; }
  .referral-page .brand-main { font-size:16px; }
  .referral-page .brand-method { font-size:10px; }
}

.button-secondary { background:transparent; border-color:#53667c; color:var(--paper); }
.button-secondary:hover { background:#12283f; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
