:root {
  --ink: #000;
  --paper: #fff;
  --signal: #ff7a1c;
  --ink-soft: #333;
  --ink-faint: #444;
  --rule-soft: #ccc;
  --wash: #f4f2ee;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --serif: Newsreader, Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { overflow-wrap: anywhere; background: var(--paper); color: var(--ink); font: 19px/1.6 var(--serif); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { --page-gutter: 28px; max-width: 1300px; margin: 0 auto; padding: 0 var(--page-gutter); }
.skip-link { position: absolute; top: 10px; left: 14px; z-index: 30; padding: 8px 14px; background: var(--paper); font: 700 15px/1.4 var(--sans); }
.skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }

.mast { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-bottom: 3px solid var(--ink); padding: 20px 0 14px; }
.brand { font: 700 17px/1.6 "Space Grotesk"; letter-spacing: 4px; text-transform: uppercase; text-decoration: none; }
.brand span { color: var(--signal); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font: 700 14px/1.4 var(--sans); text-underline-offset: 4px; }
.mast nav { display: flex; align-items: center; gap: 26px; font: 500 13px/1.6 var(--sans); letter-spacing: 2px; text-transform: uppercase; }
.mast nav a { text-decoration: none; }
.mast nav .application-nav { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 5px; }
.mobile-menu { display: none; }

h1, h2, h3, .sg { font-family: var(--sans); }
h1 { font-size: clamp(44px, 5.4vw, 72px); line-height: .96; letter-spacing: -3px; text-wrap: balance; }
h1 em { font-style: normal; border-bottom: 7px solid var(--signal); }
h2 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -1.8px; line-height: 1.02; }
h3 { font-size: 21px; letter-spacing: -.3px; line-height: 1.25; }
p { max-width: 60ch; }
p + p { margin-top: 14px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 78px); padding: 72px 0 64px; border-bottom: 3px solid var(--ink); }
.kicker { display: inline-block; border: 1.5px solid var(--ink); padding: 5px 10px; margin-bottom: 26px; font: 500 12px/1.6 var(--sans); letter-spacing: 2px; text-transform: uppercase; }
.hero h1 { text-wrap: initial; }
.lede { max-width: 44ch; margin-top: 26px; font-size: 22px; color: var(--ink-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: var(--signal); border: 0; color: var(--ink); padding: 18px 26px; font: 700 14px/1.6 var(--sans); letter-spacing: 3px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: wait; }
.text-link { font: 700 14px/1.6 var(--sans); letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--signal); }
.hero-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.hero-collage { min-width: 0; }
.hero-collage figcaption {
  display: table;
  margin: 5px 0 0 4%;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--signal);
  font: 700 12px/1.35 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.collage-photos { position: relative; isolation: isolate; aspect-ratio: 1.51; }
.collage-photos::before {
  position: absolute;
  z-index: -1;
  inset: 6% 2.6% 0 2%;
  background: #e9e3d9;
  clip-path: polygon(0 35%, 72% 0, 100% 9%, 93% 91%, 32% 100%, 10% 88%);
  content: "";
}
.collage-photo { position: absolute; overflow: hidden; padding: 3px; background: #fcfbf7; }
.collage-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.collage-discovery { inset: .8% 5% 36% 3.6%; clip-path: polygon(0 22%, 66% 0, 100% 7%, 100% 100%, 7% 100%); }
.collage-discovery img { object-position: 50% 0%; }
.collage-testing { inset: 65.9% 58% 7% 0; clip-path: polygon(10% 0, 100% 0, 88% 100%, 0 100%); }
.collage-testing img { object-position: 50% 51%; }
.collage-deployment { inset: 52% 0 2% 39%; clip-path: polygon(11% 12%, 100% 0, 93% 100%, 0 100%); }
.collage-deployment img { object-position: 55% 44%; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 20px; list-style: none; font: 700 14px/1.4 var(--sans); }
.hero-facts li + li { padding-left: 15px; border-left: 1px solid var(--rule-soft); }
.cohort-timing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; color: var(--ink-soft); font: 500 14px/1.4 var(--sans); }
.cohort-timing span:empty { display: none; }
.section { display: grid; grid-template-columns: 1fr minmax(0, 1.65fr); align-items: start; gap: clamp(24px, 5vw, 64px); padding: 64px 0; border-bottom: 1px solid var(--ink); }
.project-terms { border-left: 3px solid var(--signal); padding-left: 12px; }
.section h2 + p { margin-top: 18px; }
.join-fit ul { max-width: 60ch; margin-top: 12px; padding-inline-start: 1.15em; }
.join-fit li + li { margin-top: 8px; }
.join-fit .form-card { margin-top: 22px; }
.application-cta {
  display: grid;
  grid-template-columns: minmax(0, max-content) auto;
  align-items: center;
  justify-content: start;
  gap: 22px clamp(24px, 5vw, 74px);
  padding: 38px 0;
}
.application-cta h2 { font-size: clamp(28px, 3.6vw, 40px); }
.application-cta p { margin-top: 9px; }
.steps { padding-left: 25px; }
.steps li { padding: 0 0 16px 8px; }
.steps li + li { padding-top: 16px; border-top: 1px solid var(--rule-soft); }
.steps li:last-child { padding-bottom: 0; }
.steps p { margin-top: 5px; }

.form-card { border: 2px solid var(--ink); padding: clamp(18px, 4vw, 28px); background: var(--wash); }
.form-card > h3 { margin-bottom: 8px; }
.application-main { max-width: 860px; min-height: calc(100svh - 90px); margin: 0 auto; padding: clamp(38px, 5.6vw, 74px) 0 64px; }
.application-intro { padding-bottom: 24px; border-bottom: 3px solid var(--ink); }
.application-intro h1 { font-size: clamp(40px, 5.4vw, 64px); text-wrap: initial; }
.application-intro .kicker { margin-bottom: 14px; }
.application-intro .cohort-timing { margin-top: 18px; }
.application-intro .cohort-timing:has(strong:empty) { display: none; }
.application-intro #application-note { margin-top: 10px; }
.application-intro > a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 5px; }
.application-main form { margin-top: 26px; }
.application-main #application-submit { margin-top: 13px; }
.application-main #application-status { font-family: var(--sans); }
.application-main noscript p { margin-top: 14px; }
form { margin-top: 16px; }
fieldset { padding: 0; border: 0; min-width: 0; }
.application-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.application-grid > div { display: flex; flex-direction: column; justify-content: end; }
.application-group + .application-group { margin-top: 20px; }
.application-group legend { width: 100%; padding: 0 0 10px; margin-bottom: 16px; border-bottom: 1px solid var(--rule-soft); font: 700 22px/1.25 var(--sans); }
label { display: block; margin-bottom: 6px; font: 700 14px/1.4 var(--sans); }
label span { font-weight: 500; }
.application-instructions { margin-bottom: 22px; font: 500 17px/1.5 var(--sans); }
.application-prompt { margin-top: 8px; font-size: 18px; }
.field-note { margin: 0 0 10px; color: var(--ink-soft); font: 15px/1.45 var(--sans); }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; margin: 0 0 16px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: 17px/1.4 var(--serif); }
input[type="file"] { font: 15px/1.4 var(--sans); }
textarea { resize: vertical; }
fieldset:disabled :is(input, select, textarea) { opacity: 1; border-color: #8c8c8c; color: var(--ink-faint); }
.trap { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 16px; color: var(--ink-soft); margin-top: 12px; }
.form-status:not(:empty) { margin-top: 14px; }
.field-error:not(:empty) { margin: -7px 0 16px; color: #96300d; font: 700 14px/1.45 var(--sans); }
input[aria-invalid="true"] { border-color: #96300d; }

.faq details { border-top: 1px solid var(--rule-soft); padding: 18px 0; }
.faq details:first-child { border-color: var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--rule-soft); }
.faq details p { margin-top: 12px; color: var(--ink-soft); }
.faq details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; list-style: none; cursor: pointer; font: 700 18px/1.35 var(--sans); }
.faq details > summary::-webkit-details-marker { display: none; }
.faq details > summary::after { content: "+"; font: 700 25px/1 var(--sans); color: var(--signal); }
.faq details[open] > summary::after { content: "−"; }

footer { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 3px solid var(--ink); padding: 26px 0 56px; color: var(--ink-faint); font-size: 15px; }
footer .sg { color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }

@media (min-width: 1160px) {
  .hero { padding-top: 65px; padding-bottom: 58px; }
  .hero-collage { margin-inline-start: clamp(-118px, -8.2vw, -92px); }
}
@media (min-width: 681px) and (max-width: 1159px) {
  .hero { column-gap: clamp(24px, 3vw, 36px); }
  .hero-collage { margin-inline-start: clamp(-80px, 54px - 11.5vw, -24px); }
}
@media (max-width: 900px) {
  .mast nav { gap: 16px; }
  .hero { padding-top: 44px; }
}

@media (max-width: 680px) {
  .hero, .section, .application-cta { grid-template-columns: 1fr; }
  .application-cta { justify-content: stretch; }
  .application-cta > .btn { justify-self: start; }
  .hero-collage figcaption { margin-top: 7px; font-size: 11px; }
  .section { padding: 44px 0; }
}

@media (max-width: 700px) {
  .mast { position: relative; z-index: 20; gap: 12px; padding: 15px 0 12px; background: var(--paper); }
  .brand { font-size: 15px; letter-spacing: 3px; }
  .mast > nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { display: flex; width: 46px; height: 44px; align-items: center; justify-content: center; border: 2px solid var(--ink); list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::before { content: ""; width: 20px; height: 14px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat; }
  .mobile-menu[open] summary { background: var(--signal); }
  .mobile-menu nav { position: absolute; display: grid; left: calc(-1 * var(--page-gutter)); right: calc(-1 * var(--page-gutter)); top: 73px; gap: 0; padding: 8px var(--page-gutter) 18px; background: var(--paper); border-bottom: 3px solid var(--ink); box-shadow: 0 12px 20px rgba(0, 0, 0, .08); }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--rule-soft); }
}

@media (max-width: 600px) {
  body { font-size: 18px; line-height: 1.55; }
  .wrap { --page-gutter: 20px; }
  .hero { padding: 38px 0 36px; border-bottom-width: 2px; }
  .application-intro { padding-bottom: 14px; }
  .application-main form { margin-top: 20px; }
  h1 { font-size: clamp(40px, 12vw, 48px); line-height: .98; letter-spacing: -2.2px; }
  h1 em { border-bottom-width: 5px; }
  .lede { font-size: 19px; line-height: 1.5; margin-top: 22px; }
  .hero-actions { gap: 7px 14px; margin-top: 24px; }
  .cohort-timing { flex-basis: 100%; }
  .btn { width: 100%; min-height: 56px; padding: 14px 16px; text-align: center; letter-spacing: 2px; }
  .application-grid { grid-template-columns: 1fr; }
  footer { padding: 24px 0 40px; gap: 12px; }
}
