:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5a6872;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9dedb;
  --teal: #0b6f72;
  --teal-dark: #084f52;
  --coral: #c44d3c;
  --gold: #b88423;
  --forest: #214f3d;
  --shadow: 0 18px 45px rgba(23, 32, 38, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(23, 32, 38, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 720;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand:hover {
  color: #ffffff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 780;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px clamp(12px, 1.7vw, 24px);
  font-size: 0.95rem;
}

nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover {
  color: #ffffff;
}

.hero {
  min-height: min(70svh, 720px);
  display: flex;
  align-items: flex-end;
  padding: clamp(110px, 18vh, 190px) clamp(18px, 5vw, 76px) clamp(46px, 8vh, 76px);
  margin-top: -68px;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(14, 23, 28, 0.88), rgba(14, 23, 28, 0.52) 48%, rgba(14, 23, 28, 0.2)),
    linear-gradient(0deg, rgba(14, 23, 28, 0.76), rgba(14, 23, 28, 0.04) 42%),
    url("developmental-ai-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: min(840px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b24a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 730;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.button.submit {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.primary:hover,
.button.submit:hover {
  color: #ffffff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 76px);
  scroll-margin-top: 92px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  width: min(1160px, 100%);
  margin: 0 auto;
  align-items: start;
}

.section-grid.reverse {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
}

.section h2,
.registration-layout h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section p,
.registration-layout p {
  max-width: 72ch;
  margin: 0 0 18px;
  color: var(--muted);
}

.event-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:first-child {
  padding-top: 0;
}

.info-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-label {
  color: var(--forest);
  font-weight: 760;
}

.logo-section {
  background: #ffffff;
}

.logo-wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.logo-wrap h2 {
  margin: 0 0 28px;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.logo-item:hover {
  border-color: rgba(11, 111, 114, 0.46);
  box-shadow: 0 12px 28px rgba(23, 32, 38, 0.09);
  transform: translateY(-2px);
}

.logo-item img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.devai-logo img {
  max-height: 108px;
}

.compact-logo img {
  max-height: 74px;
}

.gipsa-logo img {
  max-height: 104px;
  object-position: left center;
}

.split-band {
  background: #edf4f1;
}

.community-list {
  display: grid;
  gap: 18px;
}

.community-list article,
.topic-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.community-list h3,
.topic-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.24;
}

.community-list p,
.topic-grid p {
  margin: 0;
  font-size: 0.96rem;
}

.keynote-section {
  background: #ffffff;
}

.keynote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.keynote-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(23, 32, 38, 0.08);
}

.speaker-photo {
  display: grid;
  place-items: center;
  width: 150px;
  margin: 0;
  aspect-ratio: 1;
  border: 1px dashed #aab5b1;
  border-radius: 8px;
  color: var(--muted);
  background: #f4f7f5;
  font-size: 0.84rem;
  font-weight: 760;
  text-transform: uppercase;
  overflow: hidden;
}

.speaker-photo.has-image {
  aspect-ratio: 3 / 4;
  border-style: solid;
  border-color: var(--line);
  background: #ffffff;
}

.speaker-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.speaker-content h3,
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.speaker-affiliation {
  margin: -4px 0 14px !important;
  color: var(--forest) !important;
  font-weight: 680;
}

.slot-label {
  margin: 0 0 6px !important;
  color: var(--coral) !important;
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.detail-block {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.detail-block + .detail-block {
  margin-top: 12px;
}

.detail-block h4 {
  margin: 0 0 4px;
  color: var(--forest);
  font-size: 0.92rem;
  line-height: 1.2;
}

.detail-block p {
  margin: 0;
  font-size: 0.96rem;
}

.program-section {
  background: #edf4f1;
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  width: min(1160px, 100%);
  margin: 0 auto;
  align-items: start;
}

.program-panel {
  display: grid;
  gap: 14px;
}

.program-row {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
}

.program-row span {
  color: var(--muted);
  font-size: 0.94rem;
}

.program-row strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.contributions-section {
  background: var(--surface);
}

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto clamp(28px, 5vw, 54px);
}

.submission-note {
  max-width: 760px;
  padding: 16px 18px;
  border: 1px solid #cbdad4;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  color: var(--ink);
  background: #edf4f1;
}

.submission-note strong {
  color: var(--forest);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.topic-grid article {
  border-top: 4px solid var(--teal);
}

.topic-grid article:nth-child(2n) {
  border-top-color: var(--coral);
}

.topic-grid article:nth-child(3n) {
  border-top-color: var(--gold);
}

.registration-section {
  background: #f6f2ea;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  width: min(1160px, 100%);
  margin: 0 auto;
  align-items: start;
}

.note {
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  color: var(--ink) !important;
}

.registration-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

label,
legend {
  color: var(--ink);
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b8c1bd;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11, 111, 114, 0.2);
  border-color: var(--teal);
}

.radio-group {
  display: grid;
  gap: 10px;
  min-inline-size: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.radio-group label,
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 560;
}

.radio-group input,
.checkbox-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.meal-details.is-disabled {
  opacity: 0.56;
}

.form-status {
  padding: 14px 16px;
  border: 1px solid #b8d7c7;
  border-radius: 8px;
  color: #16402a;
  background: #e8f5ee;
  font-weight: 700;
}

.screen-reader-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit {
  width: 100%;
}

.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.contact-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
}

.contact-photo {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  background: #edf4f1;
  box-shadow: 0 8px 18px rgba(23, 32, 38, 0.12);
}

.contact-card:nth-child(2) {
  border-top-color: var(--teal);
}

.contact-card:nth-child(3) {
  border-top-color: var(--coral);
}

.contact-card p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.9rem;
  }

  .hero {
    margin-top: -112px;
    padding-top: 168px;
  }

  .section-grid,
  .section-grid.reverse,
  .registration-layout,
  .program-layout {
    grid-template-columns: 1fr;
  }

  .topic-grid,
  .keynote-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand {
    white-space: normal;
  }

  .brand-mark {
    flex: 0 0 auto;
  }

  nav a {
    font-size: 0.86rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.9vw, 2.92rem);
    line-height: 1.05;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .topic-grid,
  .form-grid,
  .keynote-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .keynote-card {
    grid-template-columns: 1fr;
  }

  .speaker-photo {
    width: min(190px, 100%);
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-item {
    min-height: 112px;
    padding: 14px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .registration-form {
    padding: 20px;
  }
}
