/* ==========================================================================
   DCFS & NCMA 2027 — stylesheet
   Palette:  navy #0B2E4F, blue #0091D5, deep blue #005A8C,
             ice #EFF6FB, hairline #DCE7EF, ink #16232F, slate #52657A
   Type:     Space Grotesk (display/headings) + Source Sans 3 (body/UI)
   ========================================================================== */

:root{
  --navy:        #0B2E4F;
  --navy-2:      #0E3A63;
  --blue:        #0091D5;
  --blue-deep:   #005A8C;
  --ice:         #EFF6FB;
  --ice-2:       #E1EFF8;
  --line:        #DCE7EF;
  --ink:         #16232F;
  --slate:       #4F6579;
  --white:       #FFFFFF;
  --amber:       #C97A2B; /* used once, for deadline emphasis only */

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --container: 1120px;
  --radius: 3px;
  --shadow-card: 0 1px 2px rgba(11,46,79,.06), 0 8px 24px -12px rgba(11,46,79,.18);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1{ font-size: clamp(2.1rem, 3.4vw, 3.15rem); font-weight: 650; }
h2{ font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
h3{ font-size: 1.25rem; }
h4{ font-size: 1.05rem; }

p{ margin: 0 0 1.1em; color: var(--ink); }
p.lede{ font-size: 1.15rem; color: var(--slate); max-width: 62ch; }

a{ color: var(--blue-deep); text-decoration-color: rgba(0,90,140,.35); text-underline-offset: .18em; }
a:hover{ color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

ul, ol{ padding-left: 1.25em; }
li{ margin-bottom: .5em; }

img{ max-width: 100%; display: block; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 76px 0; }
.section + .section{ border-top: 1px solid var(--line); }
.section-alt{ background: var(--ice); }
.section-navy{ background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3{ color: var(--white); }
.section-navy p{ color: #C9DCEC; }

.section-head{ max-width: 68ch; margin-bottom: 40px; }
.section-head .kicker{ margin-bottom: .6em; }

.kicker{
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue-deep);
  position: relative;
  padding-left: 18px;
}
.kicker::before{
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 11px; height: 2px;
  background: var(--blue);
  transform: translateY(-50%);
}
.section-navy .kicker{ color: #7FCBF0; }
.section-navy .kicker::before{ background: #7FCBF0; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .78em 1.4em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{ background: var(--blue); color: var(--white); }
.btn-primary:hover{ background: var(--blue-deep); color: var(--white); }
.btn-ghost{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover{ background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline{ background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover{ background: var(--navy); color: var(--white); }
.btn-row{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- submit-paper button (the one deliberate accent moment) ---------- */
.btn-submit{
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .93rem;
  padding: .72em 1.35em .72em 1.15em;
  border-radius: 999px;
  border: none;
  color: var(--white);
  background: linear-gradient(135deg, #C97A2B 0%, #E0973F 100%);
  box-shadow: 0 3px 12px -3px rgba(201,122,43,.55);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-submit svg{ width: 15px; height: 15px; flex: none; }
.btn-submit:hover{
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -3px rgba(201,122,43,.6);
  background: linear-gradient(135deg, #BB6E22 0%, #D48936 100%);
}
.btn-submit:active{ transform: translateY(0); }
.main-nav .btn-submit{ margin-left: 4px; }

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
}
.site-header .container{ max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark{ flex: none; }
.brand-logo{ flex: none; height: 34px; width: auto; display: block; object-fit: contain; }
.brand-text{ line-height: 1.15; }
.brand-text .brand-title{
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -.01em;
}
.brand-text .brand-sub{
  display: block;
  font-size: .72rem;
  color: var(--slate);
  font-weight: 600;
}

.nav-toggle{
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span{ top: 21px; }
.nav-toggle span::before{ top: -7px; }
.nav-toggle span::after{ top: 7px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ transform: translateY(-7px) rotate(-45deg); }

.main-nav{ display: flex; align-items: center; gap: 18px; }
.main-nav ul{
  display: flex; align-items: center; gap: 17px;
  list-style: none; margin: 0; padding: 0;
}
.main-nav a{
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover{ color: var(--blue-deep); }
.main-nav a[aria-current="page"]{ border-bottom-color: var(--blue); color: var(--blue-deep); }
.main-nav a.nav-external{ color: var(--blue-deep); }
.main-nav .btn{ margin-left: 4px; }

/* ---------- sibling conference callout ---------- */
.sibling-banner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--ice);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.sibling-banner p{ margin: 0; color: var(--slate); }
.sibling-banner strong{ color: var(--navy); }

/* ---------- hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 46%, var(--blue-deep) 100%);
  color: var(--white);
  padding: 88px 0 64px;
}
.hero .container{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(280px, .85fr);
  gap: 40px;
  align-items: center;
}
.hero-automaton{
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .55;
  pointer-events: none;
}
.hero-automaton svg{ width: 100%; height: 100%; }
.hero-eyebrow{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: #8FD1F2;
  letter-spacing: .01em;
  margin-bottom: 14px;
}
.hero h1{ color: var(--white); margin-bottom: .28em; }
.hero .hero-names{
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: #C9DCEC;
  margin-bottom: 22px;
}
.hero .hero-names strong{ color: var(--white); font-weight: 600; }
.hero p.lede{ color: #D7E6F1; }

.hero-facts{
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.hero-facts li{
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.hero-facts li:last-child{ border-bottom: none; padding-bottom: 0; }
.hero-facts .fact-label{
  flex: none;
  width: 108px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: #8FD1F2;
}
.hero-facts .fact-value{ font-size: .98rem; color: var(--white); font-weight: 500; }

.hero-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 28px 26px;
  backdrop-filter: blur(2px);
}
.hero-card h2{ color: var(--white); font-size: 1.1rem; margin-bottom: 16px; }

/* ---------- page (inner) hero ---------- */
.page-hero{
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  color: var(--white);
  padding: 56px 0 44px;
}
.page-hero .kicker{ color: #8FD1F2; }
.page-hero .kicker::before{ background: #8FD1F2; }
.page-hero h1{ color: var(--white); margin-bottom: .3em; }
.page-hero p.lede{ color: #D7E6F1; margin-bottom: 0; }
.breadcrumb{
  font-size: .82rem;
  color: #A9C7DC;
  margin-bottom: 18px;
}
.breadcrumb a{ color: #A9C7DC; }
.breadcrumb a:hover{ color: var(--white); }

/* ---------- info strip ---------- */
.info-strip{
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.info-strip .container{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.info-strip dl{
  margin: 0;
  padding: 22px 22px;
  border-left: 1px solid var(--line);
}
.info-strip div:first-child dl{ border-left: none; padding-left: 0; }
.info-strip dt{
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 5px;
}
.info-strip dd{ margin: 0; font-weight: 600; color: var(--navy); font-size: .98rem; }
.info-strip--3 .container{ grid-template-columns: repeat(3, 1fr); }

/* ---------- endorsement strip ---------- */
.endorsed-strip{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
}
.endorsed-strip .endorsed-label{
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.endorsed-divider{
  width: 1px;
  height: 24px;
  background: var(--line);
}
.endorsed-mark{
  display: inline-flex;
  align-items: center;
  opacity: .8;
  transition: opacity .15s ease, transform .15s ease;
}
.endorsed-mark:hover{ opacity: 1; transform: translateY(-1px); }
.endorsed-mark svg{ display: block; height: 27px; width: auto; }

/* ---------- TBD stub pages ---------- */
.tbd-block{
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--ice);
}
.tbd-block .tbd-mark{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--blue-deep);
  letter-spacing: .04em;
  margin-bottom: .3em;
}
.tbd-block p{ color: var(--slate); max-width: 46ch; margin: 0 auto; }
.tbd-block p + p{ margin-top: .6em; }

/* ---------- conference cards ---------- */
.conf-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.conf-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.conf-card.is-ncma{ border-top-color: var(--navy); }
.conf-card .conf-tag{
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
}
.conf-card.is-ncma .conf-tag{ color: var(--navy); }
.conf-card h3{ margin-bottom: .3em; }
.conf-card .conf-full{ color: var(--slate); font-size: .95rem; margin-bottom: 16px; }
.conf-card p{ color: var(--slate); }
.conf-card .btn{ margin-top: auto; align-self: flex-start; }

/* ---------- generic cards / grid ---------- */
.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ---------- timeline (important dates) ---------- */
.timeline{ list-style: none; margin: 0; padding: 0; }
.timeline li{
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.timeline li:last-child{ border-bottom: 1px solid var(--line); }
.timeline .tl-date{
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: .98rem;
}
.timeline .tl-date .tbc{
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .68rem;
  color: var(--amber);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: middle;
}
.timeline .tl-label{ color: var(--ink); }
.timeline .tl-label .tl-note{ display:block; color: var(--slate); font-size: .88rem; margin-top: 2px; }

/* ---------- topics list ---------- */
.topics-list{
  columns: 2;
  column-gap: 40px;
  list-style: none;
  padding: 0; margin: 0;
}
.topics-list li{
  break-inside: avoid;
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--ink);
}
.topics-list li::before{
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 9px; height: 9px;
  border: 2px solid var(--blue);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ---------- table ---------- */
.table-wrap{ overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table{ width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td{ text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
thead th{
  font-family: var(--font-head);
  font-size: .78rem;
  color: var(--navy);
  background: var(--ice);
  white-space: nowrap;
}
tbody tr:last-child td{ border-bottom: none; }

/* ---------- venue ---------- */
.venue-figure{
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.venue-figure svg{ width: 100%; height: 100%; }
.venue-figure img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.fact-list{ list-style: none; margin: 0; padding: 0; }
.fact-list li{
  display: flex; gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.fact-list li:first-child{ border-top: none; padding-top: 0; }
.fact-list .fact-k{ flex: none; width: 130px; font-weight: 600; color: var(--navy); font-size: .92rem; }
.fact-list .fact-v{ color: var(--slate); }

/* ---------- committee ---------- */
.people-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
}
.person .person-role{
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 6px;
}
.person .person-name{ font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.person .person-affil{ color: var(--slate); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--ice);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 52px 0;
}
.cta-band .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2{ margin-bottom: .2em; }
.cta-band p{ margin: 0; color: var(--slate); }

/* ---------- forms ---------- */
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--navy); }
.field input, .field textarea, .field select{
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .72em .85em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--blue);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: .85rem; color: var(--slate); margin-top: -6px; }

/* ---------- footer ---------- */
.site-footer{ background: var(--navy); color: #C9DCEC; padding: 56px 0 26px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand .brand-title{ color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.footer-brand p{ color: #A9C7DC; font-size: .92rem; margin-top: 10px; }
.footer-col h4{ color: var(--white); font-size: .85rem; letter-spacing: .01em; margin-bottom: 14px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 9px; }
.footer-col a{ color: #C9DCEC; text-decoration: none; font-size: .93rem; }
.footer-col a:hover{ color: var(--white); text-decoration: underline; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: .84rem;
  color: #85A6BE;
}

/* ---------- skip link ---------- */
.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
  font-family: var(--font-head);
  font-weight: 600;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* ---------- utilities ---------- */
.mt-0{ margin-top: 0; }
.text-slate{ color: var(--slate); }
.small{ font-size: .88rem; }
.divider{ height: 1px; background: var(--line); border: none; margin: 40px 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 920px){
  .hero .container{ grid-template-columns: 1fr; }
  .info-strip .container{ grid-template-columns: repeat(2, 1fr); }
  .info-strip dl{ border-left: none; border-top: 1px solid var(--line); padding: 18px 0; }
  .info-strip div:nth-child(2) dl{ padding-left: 22px; border-left: 1px solid var(--line); }
  .info-strip div:nth-child(1) dl, .info-strip div:nth-child(2) dl{ border-top: none; }
  .conf-grid, .grid-2{ grid-template-columns: 1fr; }
  .grid-3, .people-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .topics-list{ columns: 1; }
}

@media (max-width: 1100px){
  .nav-toggle{ display: block; }
  .main-nav{
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 28px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    overflow-y: auto;
  }
  .main-nav.is-open{ opacity: 1; transform: translateY(0); visibility: visible; }
  .main-nav ul{ flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li{ border-bottom: 1px solid var(--line); }
  .main-nav a{ display: block; padding: 15px 2px; border-bottom: none; }
  .main-nav a[aria-current="page"]{ color: var(--blue-deep); }
  .main-nav .btn{ margin: 16px 0 0; text-align: center; justify-content: center; }
  .hero{ padding: 56px 0 44px; }
  .hero-card{ padding: 22px 20px; }
  .cta-band .container{ flex-direction: column; align-items: flex-start; }
  .grid-3, .people-grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .timeline li{ grid-template-columns: 1fr; gap: 4px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 26px; }
  .section{ padding: 52px 0; }
}
