:root {
  color-scheme: dark;
  --orange: #F47A1F;
  --orange-light: #FFB27A;
  --ink: #080808;
  --panel: rgba(18, 18, 18, 0.88);
  --line: #343434;
  --muted: #BDBDBD;
}

.page-shell *, .page-shell *::before, .page-shell *::after,
.shared-form-dialog, .shared-form-dialog * { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.page-shell {
  min-width: 320px;
  color: #F4F1EE;
  background:
    radial-gradient(ellipse 20% 55% at 0% 30%, rgba(244, 122, 31, .14), transparent 72%),
    radial-gradient(ellipse 20% 55% at 100% 68%, rgba(244, 122, 31, .14), transparent 72%),
    linear-gradient(180deg, #050505 0%, #111 58%, #252525 100%);
  font-family: Inter, system-ui, sans-serif;
}
.page-shell a { color: var(--orange); }
.page-shell a:hover { color: var(--orange-light); }
.page-shell button, .page-shell input, .page-shell textarea { font: inherit; }
p { max-width: 68ch; }
@supports (text-wrap: balance) {
  h1, h2, h3 { text-wrap: balance; }
}
@supports (text-wrap: pretty) {
  p { text-wrap: pretty; }
}

.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange);
  font: 700 23px Poppins, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { color: #fff; font-size: 18px; }
.brand-mark svg { display: block; }
.site-nav, .site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.site-nav a, .site-footer a {
  color: #CFCFCF;
  text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-nav .nav-cta {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--orange);
  color: #090909;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--orange-light); color: #090909; }
.page-main { flex: 1; width: 100%; }
.page-intro, .resource-section, .founders {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}
.page-intro { padding-top: 70px; padding-bottom: 38px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
}
.page-intro h1, .founders > h2 {
  margin: 0;
  font: 700 clamp(36px, 5vw, 56px)/1.08 Poppins, sans-serif;
  letter-spacing: -.03em;
}
.page-intro > p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: #C4C4C4;
  font-size: 18px;
  line-height: 1.7;
}
.resource-section { padding-bottom: 96px; }
.resource-notice {
  margin: 0 0 22px;
  color: #C4C4C4;
  line-height: 1.6;
}
.resource-notice a { font-weight: 600; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 22px;
}
.resource-card, .info-card, .founder-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
.resource-preview {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 16px;
  background: #080808;
  border-bottom: 1px solid #292929;
}
.resource-preview img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
}
.resource-preview-fallback {
  color: #9A9A9A;
  text-align: center;
  line-height: 1.5;
}
.resource-details { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; }
.resource-type {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.resource-details h2 { margin: 0; font: 600 21px/1.3 Poppins, sans-serif; overflow-wrap: anywhere; }
.resource-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 45px;
  margin-top: 3px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #080808;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.resource-action:hover { background: var(--orange-light); color: #080808; }
.resource-action:focus-visible, .site-nav a:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #FFD0AE;
  outline-offset: 3px;
}
.about-grid, .founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.about-grid { width: min(1120px, 100%); margin: 0 auto; padding: 8px 24px 54px; }
.info-card { padding: 28px; }
.info-card .eyebrow { margin-bottom: 8px; }
.info-card h2, .founders > h2 { margin: 0; font: 600 28px/1.2 Poppins, sans-serif; }
.placeholder-copy { color: #BDBDBD; line-height: 1.65; }
.founders { padding-bottom: 96px; }
.founders > h2 { margin-bottom: 22px; }
.founder-card { display: grid; grid-template-columns: minmax(130px, 190px) 1fr; gap: 20px; padding: 18px; }
.founder-photo {
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 12px;
  border: 1px dashed #6A574A;
  border-radius: 14px;
  background: linear-gradient(145deg, #21150F, #101010);
  color: #D6A27C;
  text-align: center;
  font-size: 13px;
}
.founder-card h3 { margin: 3px 0 7px; font: 600 20px Poppins, sans-serif; }
.founder-role { margin: 0; color: var(--orange-light); font-size: 14px; }
.founder-card .placeholder-copy { margin-bottom: 0; }
.presentation-section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px 54px;
}
.presentation-section[hidden] { display: none; }
.presentation-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(12, 12, 12, .92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}
.presentation-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #080808;
}
.presentation-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 550ms ease;
}
.presentation-image.is-active { opacity: 1; }
.presentation-arrow {
  position: absolute;
  top: calc((100% - 58px) / 2);
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: rgba(0, 0, 0, .68);
  color: #fff;
  font-size: 33px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.presentation-arrow:hover { background: rgba(244, 122, 31, .94); color: #080808; }
.presentation-previous { left: 18px; }
.presentation-next { right: 18px; }
.presentation-controls {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 16px;
  border-top: 1px solid #292929;
}
.presentation-toggle {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #4A4A4A;
  border-radius: 50%;
  background: #181818;
  color: #F4F1EE;
  cursor: pointer;
}
.presentation-dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.presentation-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #777;
  cursor: pointer;
}
.presentation-dot[aria-current="true"] { background: var(--orange); transform: scale(1.28); }
.presentation-count { min-width: 42px; color: #BDBDBD; font-size: 13px; text-align: right; }
.site-footer {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 28px 24px 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid #4A4A4A;
  color: #9A9A9A;
  font-size: 14px;
}
.site-footer nav { gap: 18px; }

.shared-form-dialog {
  width: min(560px, calc(100% - 30px));
  max-height: min(90vh, 850px);
  padding: 0;
  border: 1px solid #4A4A4A;
  border-radius: 22px;
  background: #101010;
  color: #F4F1EE;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .72);
}
.shared-form-dialog::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(5px); }
.shared-form-content { position: relative; padding: 30px; }
.shared-form-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid #484848;
  border-radius: 50%;
  background: #191919;
  color: #F4F1EE;
  font-size: 21px;
  cursor: pointer;
}
.shared-form-content h2 { margin: 0 48px 8px 0; font: 700 29px/1.2 Poppins, sans-serif; }
.shared-form-context { margin: 0 0 20px; color: #BDBDBD; line-height: 1.5; }
.shared-form-fields { display: flex; flex-direction: column; gap: 13px; }
.shared-form-fields label { display: flex; flex-direction: column; gap: 7px; color: #F4F1EE; font-size: 14px; font-weight: 600; }
.shared-form-fields input, .shared-form-fields textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #4A4A4A;
  border-radius: 9px;
  background: #090909;
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
}
.shared-form-fields textarea { min-height: 96px; resize: vertical; }
.shared-form-privacy { margin: 0; color: #9A9A9A; font-size: 12px; line-height: 1.5; }
.shared-form-submit {
  align-self: flex-start;
  margin-top: 2px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #090909;
  font-weight: 700;
  cursor: pointer;
}
.shared-form-submit:hover { background: var(--orange-light); }
.shared-form-submit:disabled { opacity: .65; cursor: wait; }
.shared-form-status { min-height: 24px; margin: 0; color: #F4F1EE; line-height: 1.5; }
.shared-form-status[data-state="success"] { color: #8FE0A0; }
.shared-form-status[data-state="error"] { color: #FF9A83; }

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .site-nav { width: 100%; gap: 12px 17px; font-size: 14px; }
  .site-nav .nav-cta { padding: 9px 13px; }
  .page-intro { padding: 44px 20px 28px; }
  .resource-section, .founders { padding-right: 20px; padding-left: 20px; }
  .presentation-section { padding: 0 20px 40px; }
  .about-grid { grid-template-columns: 1fr; padding-right: 20px; padding-left: 20px; }
  .founder-grid { grid-template-columns: 1fr; }
  .resource-preview { min-height: 230px; }
  .presentation-controls { gap: 11px; padding-right: 10px; padding-left: 10px; }
  .presentation-dots { gap: 8px; }
  .presentation-dot { width: 8px; height: 8px; }
  .presentation-previous { left: 10px; }
  .presentation-next { right: 10px; }
  .presentation-arrow { width: 40px; height: 40px; font-size: 29px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 24px 20px 30px; }
  .site-footer nav { gap: 12px 16px; }
}
@media (max-width: 440px) {
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { min-height: 210px; }
  .shared-form-content { padding: 25px 20px; }
  .shared-form-content h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .presentation-image { transition: none; }
  html { scroll-behavior: auto; }
}

/* Resources: grouped, one per row, first page on the left (2026-11-06) */
.resource-grid { display: flex; flex-direction: column; gap: 56px; }
.resource-group-title { margin: 0 0 18px; color: #F4F1EE; font: 600 26px/1.2 Poppins, sans-serif; letter-spacing: -.01em; }
.resource-list { display: flex; flex-direction: column; gap: 22px; }
.resource-card { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; align-items: stretch; }
.resource-preview { min-height: 0; padding: 18px; border-bottom: 0; border-right: 1px solid #292929; }
.resource-preview img { max-height: 440px; border-radius: 6px; }
.resource-details { justify-content: center; gap: 12px; padding: 30px 34px; }
.resource-details h3 { margin: 0; font: 600 26px/1.25 Poppins, sans-serif; overflow-wrap: anywhere; }
.resource-summary { margin: 0; color: #C4C4C4; font-size: 17px; line-height: 1.65; }
.page-shell .resource-action, .page-shell .resource-action:visited { color: #080808; }
.page-shell .resource-action:hover { color: #080808; }
@media (max-width: 760px) {
  .resource-card { grid-template-columns: 1fr; }
  .resource-preview { border-right: 0; border-bottom: 1px solid #292929; }
  .resource-details { padding: 22px; }
  .resource-details h3 { font-size: 22px; }
}

/* The form dialog sits outside .page-shell, so give it the site font (2026-11-06) */
.shared-form-dialog { font-family: Inter, system-ui, sans-serif; }
