:root {
  --color-bg: #ffffff;
  --color-surface: #f8f8f8;
  --color-card: #f3f3f3;
  --color-ink: #000000;
  --color-ink-70: rgba(0, 0, 0, 0.7);
  --color-accent: #ff9517;
  --color-hero-title: #ffffff;
  --color-hero-overlay: rgba(0, 0, 0, 0.3);
  --color-muted: #99a9b5;
  --color-plum: #3c3950;
  --gutter: 21px;
  --wrap: 1140px;
  --font: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 25px;
  color: var(--color-ink);
  background: var(--color-bg);
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  margin: 0 0 0.6em;
}

h1 {
  font-size: 50px;
  line-height: 60px;
}

h2 {
  font-size: 40px;
  line-height: 50px;
}

h3 {
  font-size: 30px;
  line-height: 42px;
}

h5 {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
}

.skip-link,
.visually-hidden {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1200px, calc(100% - (var(--gutter) * 2)));
}

.accent {
  color: var(--color-accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 0;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 50px;
  min-height: 112px;
}

.header-logo img {
  height: 92px;
  width: auto;
  max-width: 160px;
  display: block;
}

.site-nav.nav-desktop {
  display: flex;
  align-items: flex-start;
  flex: 1;
  gap: 20px;
  padding: 0 24px 0 70px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: #ff9517;
  color: #fff;
  border: 2px solid #ff9517;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 149, 23, 0.35);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-login:hover,
.header-login:focus {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.28);
}

.header-login:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.nav-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-stack a,
.nav-row a {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #000;
  padding: 0 0 10px 4px;
  display: inline-block;
}

.nav-home {
  position: relative;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-caret svg {
  display: block;
  width: 10px;
  height: 6px;
}

.nav-submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  min-width: 160px;
}

.nav-home:hover .nav-submenu,
.nav-home:focus-within .nav-submenu {
  display: block;
}

.nav-row {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  white-space: nowrap;
}

.nav-row > li {
  border-left: 1px solid #000;
  padding-left: 10px;
  padding-right: 10px;
}

.nav-row > li:first-child {
  border: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle-bars span {
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
}

.nav-drawer {
  display: none;
  background: #fffffffa;
  padding: 24px var(--gutter) 40px;
}

.nav-drawer.is-open {
  display: block;
}

.nav-mobile .nav-stack,
.nav-mobile .nav-row {
  flex-direction: column;
  align-items: flex-start;
}

.nav-mobile .nav-row > li {
  border: 0;
  padding: 10px 0;
}

.nav-mobile a {
  font-size: 24px;
  font-weight: 300;
  line-height: 36px;
}

.drawer-close {
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: 17px;
  margin-bottom: 16px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: #fff;
  padding: 0 20px;
}

.hero.hero-guttered {
  padding: 0 20px;
  background: #fff;
}

.hero-stage {
  position: relative;
  min-height: 815px;
  background: #2b2d24;
  overflow: hidden;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.hero-fallback {
  background-color: #2b2d24;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-hero-overlay);
}

.hero-title {
  position: absolute;
  top: 28px;
  left: 28px;
  right: auto;
  bottom: auto;
  z-index: 1;
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: var(--font);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
  pointer-events: none;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  transform: none;
  opacity: 0;
  transition: opacity 0.35s linear;
}

.hero-title.is-on {
  opacity: 1;
}

.hero-title-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 10px 18px;
  border: 2px solid #fff;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.about-title,
.word-animate,
.words-slide-left,
.words-slide-right {
  word-spacing: normal;
  white-space: normal;
  letter-spacing: normal;
}

.thegem-heading-word {
  display: inline !important;
  word-spacing: normal;
  white-space: pre-wrap;
  margin-right: 0.28em;
}

.about-band {
  padding: 40px 0 0;
}

.about-title {
  max-width: 1200px;
}

.about-cta-band {
  background: var(--color-surface);
  text-align: center;
  padding: 40px var(--gutter) 50px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  background: #f8f8f8;
  color: #000;
  text-align: center;
  padding: 22px var(--gutter);
  border: 0;
  font-family: var(--font);
  font-weight: 500;
}

.cta-band:hover,
.cta-band:focus {
  background: var(--color-accent);
  color: #fff;
}

.cta-band-large {
  font-size: 30px;
  line-height: 42px;
  padding: 28px var(--gutter);
}

.cta-band-medium {
  font-size: 20px;
  line-height: 30px;
}

.cta-band-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.flowers,
.flowers-band {
  display: block;
  width: 100%;
  margin: 0;
  padding: 28px var(--gutter);
  background: #f8f8f8;
  text-align: left;
  font-size: 40px;
  line-height: 50px;
  font-weight: 300;
}

.btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-family: var(--font);
  font-weight: 500;
  text-transform: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-large {
  width: 78%;
  max-width: 900px;
  padding: 0 18px 11px 30px;
  font-size: 30px;
  line-height: 42px;
}

.btn-medium {
  padding: 10px 30px 11px;
  font-size: 20px;
  line-height: 30px;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 10px 40px;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  background: var(--color-accent);
  color: #fff;
  border: 0;
}

.process-section {
  padding: 120px 0 80px;
}

.process-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.process-toolbar .section-heading {
  margin-bottom: 0;
}

.section-heading {
  display: inline-block;
  border-bottom: 1px solid #000;
  margin-bottom: 24px;
}

.section-heading.is-centered {
  display: table;
  margin-inline: auto  ;
  margin-bottom: 24px;
}

.section-heading:hover,
.section-heading a:hover {
  color: var(--color-accent);
}

.filter-chip {
  display: inline-block;
  background: var(--color-card);
  padding: 6px 16px;
  margin-bottom: 24px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--color-card);
  padding: 50px;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.process-card-icon {
  font-size: 32px;
  margin: 0 0 75px;
}

.process-card-icon svg {
  width: 36px;
  height: 36px;
  display: block;
  fill: currentColor;
}

.process-card:hover .process-card-icon svg {
  fill: #fff;
  stroke: none;
}

.process-card h3,
.process-card-core {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.process-card-body {
  margin: 0;
}

.process-card-subtitle,
.process-card-keyword {
  font-weight: 300;
  font-size: 50px;
  line-height: 60px;
  margin: auto 0 0;
}

.process-card:hover {
  background: var(--color-accent);
  color: #fff;
}

.process-card:hover h3,
.process-card:hover .process-card-subtitle,
.process-card:hover .process-card-keyword,
.process-card:hover .process-card-core {
  color: #fff;
}

.bootcamp-section {
  padding: 150px 0 80px;
}

.bootcamp-lead {
  margin: 0 0 48px;
  font-size: clamp(32px, 5.2vw, 80px);
  line-height: 1.12;
  font-weight: 300;
}

.bootcamp-lead-accent {
  color: var(--color-accent);
}

.bootcamp-lead-rest {
  color: #bcbcbc;
}

.bootcamp-heading {
  margin: 24px 0 8px;
  text-align: left;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1.12;
  font-weight: 300;
  color: var(--color-accent);
  border: 0;
}

.bootcamp-heading a {
  color: var(--color-accent);
}

.bootcamp-heading a:hover {
  color: var(--color-accent);
}

.counter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 40px;
  font-size: 20px;
  line-height: 1.3;
}

.counter-num {
  font-weight: 300;
  font-size: 80px;
  line-height: 1;
  display: block;
}

.counter-label {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  position: static;
}

.bootcamp-grid,
.ecosystem-posters,
.news-grid,
.council-grid {
  display: grid;
  gap: 42px;
}

.bootcamp-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 80px;
}

.bootcamp-card,
.portfolio-card {
  display: block;
  min-width: 0;
}

.bootcamp-card img,
.featured {
  width: 100%;
  display: block;
}

.portfolio-card img,
.portfolio-poster-img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.ecosystem-posters {
  grid-template-columns: repeat(5, 1fr);
}

.portfolio-card-poster {
  aspect-ratio: 238 / 420;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
}

.portfolio-card-poster[data-slug="outvier"] { background: linear-gradient(#1976d2, #0056d2); }
.portfolio-card-poster[data-slug="academics-solutions"] { background: linear-gradient(#28a745, #388e3c); }
.portfolio-card-poster[data-slug="careerscompass"] { background: linear-gradient(#e67e22, #f57c00); }
.portfolio-card-poster[data-slug="dnc-community"] { background: #7b1fa2; }
.portfolio-card-poster[data-slug="justicerollon"] { background: #d32f2f; }

.works-section {
  padding: 80px 0;
}

.works-toolbar {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.ecosystem-diagram {
  margin: 40px 0;
}

.works-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.alchemy-tile {
  position: relative;
  padding: 0;
  background: #111;
  overflow: hidden;
}

.alchemy-tile a {
  display: block;
  position: relative;
  color: #fff;
}

.alchemy-tile-img {
  width: 100%;
  height: 355px;
  object-fit: cover;
  display: block;
}

.alchemy-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
  display: flex;
  align-items: flex-end;
  padding: 32px 28px;
}

.overlay-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.alchemy-tile:hover .overlay-circle {
  opacity: 1;
}

.alchemy-tile h3 {
  margin: 0;
  color: #fff;
}

.alchemy-tile:hover .alchemy-tile-overlay {
  background: linear-gradient(to top, rgba(255, 149, 23, 0.72), rgba(0, 0, 0, 0.12));
}

.podcast-spacer {
  height: 50px;
}

.community-section {
  background: transparent;
  padding: 80px 0 0;
  text-align: center;
}

.community-heading {
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1.15;
  transition: color 1s;
  margin-bottom: 32px;
}

.profile-band {
  background: #f8f8f8;
  padding: 28px var(--gutter);
  text-align: center;
}

.profile-band-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.profile-band-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.community-heading a:hover,
.community-heading a:focus {
  color: var(--color-accent);
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.store-badges img {
  width: min(320px, 100%);
}

.news-section {
  padding: 110px 0 80px;
}

.news-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.news-grid,
.news-grid.news-list {
  display: flex;
  flex-direction: column;
  grid-template-columns: 1fr;
  gap: 0;
}

.news-card {
  width: 100%;
  border-bottom: 1px solid #000;
  padding: 12px 0 14px;
}

.news-card h3 {
  text-transform: uppercase;
}

.news-card-media {
  display: block;
  background: none;
  min-height: 0;
  margin-bottom: 16px;
}

.news-card-media img {
  width: 100%;
  display: block;
}

.news-card-meta {
  color: var(--color-muted);
  margin-bottom: 8px;
}

.news-card-category {
  display: block;
  color: #FF9517;
  margin-bottom: 14px;
  font-weight: 500;
}

.news-card-date {
  color: var(--color-muted);
  margin: 0 0 8px;
}

.news-grid.news-list .news-card-media,
.news-grid.news-list .read-more {
  display: none;
}

.news-grid.news-list .news-card > p:not(.news-card-meta) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 8px;
}

.entry-title-date {
  font-weight: 400;
}

.news-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 16px;
  background: #FF9517;
  color: #fff;
  vertical-align: middle;
}

.news-share:hover {
  background: #FF9517;
}

.news-share svg,
.news-share-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.read-more {
  display: inline-block;
  font-weight: 500;
  border: 1px solid #000;
  padding: 6px 16px;
}

.council-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 40px 0 80px;
}

.council-member {
  background: var(--color-card);
  padding: 30px;
}

/* Footer */
.site-footer {
  background: #fff;
  padding-top: 40px;
}

.footer-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: 20px 43px;
}

.footer-join {
  display: inline-block;
  color: #FF9517;
  line-height: 0;
}

.footer-join:hover,
.footer-join:focus {
  color: #FF9517;
}

.footer-join-img {
  display: block;
  width: min(420px, 100%);
  height: auto;
  max-width: none;
}

.footer-store-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-store-badges img {
  width: min(180px, 100%);
  height: auto;
}

.footer-policies a,
.footer-email {
  color: #FF9517;
}

.footer-policies a:hover,
.footer-email:hover {
  color: #FF9517;
}

.footer-social {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 20px;
  justify-content: flex-end;
}

.footer-social li {
  border-left: 1px solid #000;
  padding: 0 20px;
}

.footer-social li:first-child {
  border-left: 0;
}

.footer-social a {
  text-decoration: underline;
}

.footer-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr 0.9fr 1fr;
  gap: 20px;
  padding: 90px 80px;
  align-items: start;
}

.footer-cities,
.footer-policies {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

.footer-cities {
  font-weight: 700;
}

.footer-logo img {
  width: 42%;
  min-width: 80px;
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  background: #4a4a4a;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 4px;
}

/* Inner pages */
.page-title-band {
  background: var(--color-card);
  padding: 80px var(--gutter);
  text-align: center;
}

.page-title-band.is-inset {
  margin: 0 20px;
  background: var(--color-card);
}

.page-title-band h1 {
  color: #000;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--color-muted);
}

.crumb-arrow {
  color: var(--color-muted);
}

.breadcrumbs .current {
  color: var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
}

.page-body,
.page-inner .wrap {
  padding: 90px 0;
}

.prose {
  overflow-wrap: anywhere;
}

.prose img {
  margin: 24px 0;
}

.bootcamp-intro {
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: center;
}

.bootcamp-gallery {
  width: min(1170px, 100%);
  margin: 0 auto 40px;
  position: relative;
}

.bootcamp-gallery-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bootcamp-gallery-preview {
  position: relative;
}

.bootcamp-gallery-stage {
  position: relative;
  overflow: hidden;
  background: #f3f3f3;
}

.bootcamp-gallery-slide {
  display: none;
  margin: 0;
}

.bootcamp-gallery-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1170 / 540;
  object-fit: cover;
}

.bootcamp-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.bootcamp-gallery-arrow.is-prev { left: 12px; }
.bootcamp-gallery-arrow.is-next { right: 12px; }

.bootcamp-gallery-arrow:hover {
  background: #fff;
  color: var(--color-accent);
}

.bootcamp-gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.bootcamp-gallery-thumb {
  width: 80px;
  height: 80px;
  padding: 0;
  border: 2px solid transparent;
  background: #eee;
  cursor: pointer;
  display: block;
}

.bootcamp-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.bootcamp-gallery-thumb:hover {
  border-color: var(--color-accent);
}

#bootcamp-slide-0:checked ~ .bootcamp-gallery-preview .bootcamp-gallery-slide:nth-child(1),
#bootcamp-slide-1:checked ~ .bootcamp-gallery-preview .bootcamp-gallery-slide:nth-child(2),
#bootcamp-slide-2:checked ~ .bootcamp-gallery-preview .bootcamp-gallery-slide:nth-child(3),
#bootcamp-slide-3:checked ~ .bootcamp-gallery-preview .bootcamp-gallery-slide:nth-child(4) {
  display: block;
}

#bootcamp-slide-0:checked ~ .bootcamp-gallery-preview .for-slide-0,
#bootcamp-slide-1:checked ~ .bootcamp-gallery-preview .for-slide-1,
#bootcamp-slide-2:checked ~ .bootcamp-gallery-preview .for-slide-2,
#bootcamp-slide-3:checked ~ .bootcamp-gallery-preview .for-slide-3 {
  display: flex;
}

#bootcamp-slide-0:checked ~ .bootcamp-gallery-thumbs .thumb-0,
#bootcamp-slide-1:checked ~ .bootcamp-gallery-thumbs .thumb-1,
#bootcamp-slide-2:checked ~ .bootcamp-gallery-thumbs .thumb-2,
#bootcamp-slide-3:checked ~ .bootcamp-gallery-thumbs .thumb-3 {
  border-color: var(--color-accent);
}

.profile-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 32px 0;
}

.profile-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Join form */
.enquiry-form {
  max-width: none;
  width: 100%;
  margin: 0;
}

.page-join .wrap {
  width: calc(100% - 110px);
}

.dnc-row {
  display: flex;
  gap: 24px;
}

.dnc-form-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 8px;
}

.field {
  flex: 1;
  margin-bottom: 16px;
  min-width: 0;
}

.field label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 0;
  min-height: 51px;
  padding: 12px 40px 12px 20px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  line-height: 25px;
}

.field select,
select.dnc-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='%23767676' d='M1 1l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 10px;
  padding-right: 40px;
  cursor: pointer;
}

.field ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.field li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.field li input {
  width: auto;
}

#id_skill_domains,
#id_interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

#id_skill_domains > div,
#id_interests > div {
  min-width: 0;
}

#id_skill_domains label,
#id_interests label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.3;
}

#id_skill_domains input,
#id_interests input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
  flex-shrink: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-note {
  margin: 16px 0 24px;
}

.form-success {
  background: var(--color-surface);
  padding: 24px;
  margin-bottom: 32px;
}

.field-error,
.form-errors {
  color: #a00;
}

@media (max-width: 1024px) {
  h1 { font-size: 38px; line-height: 48px; }
  h2 { font-size: 32px; line-height: 42px; }
  .header-logo img { width: 110px; }
  .hero { padding: 0 16px; }
  .hero-stage { min-height: 400px; }
  .hero-title { font-size: 22px; top: 16px; left: 16px; }
  .process-section { padding: 70px 0 60px; }
  .process-card { padding: 40px; }
  .process-grid,
  .bootcamp-grid,
  .ecosystem-posters { grid-template-columns: repeat(2, 1fr); }
  .footer-join-img { width: min(280px, 100%); }
  .process-card-keyword { font-size: 40px; line-height: 48px; }
  .counter-num { font-size: 56px; }
  .page-inner .wrap { padding: 70px 0; }
}

@media (max-width: 1200px) {
  .site-nav.nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  .header-inner { padding: 10px; }
  .header-login { padding: 10px 14px; font-size: 12px; }
}

@media (max-width: 767px) {
  h1 { font-size: 36px; line-height: 46px; }
  h2 { font-size: 30px; line-height: 40px; }
  .process-grid,
  .bootcamp-grid,
  .ecosystem-posters,
  .news-grid,
  .council-grid { grid-template-columns: 1fr; }
  .btn-large { width: 100%; }
  .dnc-row { flex-direction: column; }
  .dnc-form-top { grid-template-columns: 1fr; }
  .footer-row-top,
  .footer-row-bottom { grid-template-columns: 1fr; padding: 40px var(--gutter); }
  .footer-join-img { width: min(220px, 100%); }
  .flowers-band { font-size: 28px; line-height: 36px; }
  .process-card { min-height: 0; }
  .process-card-keyword { font-size: 36px; line-height: 42px; }
  .counter-num { font-size: 48px; }
  .header-logo img { width: 93px; }
  .community-heading { font-size: 32px; }
  .page-title-band { padding: 80px var(--gutter); }
}

.portfolio-card p {
  font-size: 15px;
  line-height: 22px;
  margin: 0;
}
