/* ============================================================================
   SOC4IA 2026 — stylesheet
   Palette: deep blue, light blue, white, amber accent.
   No external dependencies. Responsive, accessible.
   ============================================================================ */

:root {
  --navy:      #0d2b45;
  --navy-2:    #123a5c;
  --blue:      #1f6f8b;
  --sky:       #5eb3d6;
  --teal:      #1f9e86;
  --amber:     #e0a53a;
  --amber-dk:  #c98d24;
  --ink:       #1a2733;
  --muted:     #55636e;
  --line:      #d7dee4;
  --bg:        #f5f8fa;
  --card:      #ffffff;
  --radius:    12px;
  --shadow:    0 2px 10px rgba(13,43,69,.08);
  --shadow-h:  0 8px 24px rgba(13,43,69,.14);
  --maxw:      1140px;
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { color: var(--navy); line-height: 1.25; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(6px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--navy); text-decoration: none; font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 500; padding: .2rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-color: var(--sky); }
.nav-cta { background: var(--amber); color: var(--navy) !important; padding: .5rem 1rem !important; border-radius: 999px; font-weight: 700 !important; border: none !important; }
.nav-cta:hover { background: var(--amber-dk); }
.menu-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: .3rem; }
.menu-toggle svg { display: block; }
.mobile-menu { display: none; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: .6rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a.nav-cta { text-align: center; margin-top: .6rem; border-bottom: 0; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0a2135 100%);
  color: #fff; padding: 3.4rem 0 3.8rem; position: relative; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: center; }
.hero .eyebrow { color: var(--sky); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; margin: 0 0 .6rem; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin: 0 0 .5rem; }
.hero .short { font-size: 1.15rem; font-weight: 700; color: var(--sky); margin: 0 0 1rem; }
.hero .held { color: #cfe0ea; font-size: 1.02rem; margin: 0 0 .4rem; }
.hero .venue { color: #9fb4c2; font-size: .95rem; margin: 0 0 1.5rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, background .2s; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-dk); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }
.btn-provisional { opacity: .95; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 380px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.3)); }

/* ---- Sections ---- */
.section { padding: 3.2rem 0; }
.section:nth-of-type(even) { background: #eef3f7; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 1.4rem; padding-left: .9rem; border-left: 5px solid var(--teal); }
.lead { font-size: 1.05rem; color: var(--ink); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---- Cards ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.grid { display: grid; gap: 1.2rem; }
.overview-grid { grid-template-columns: 1.6fr 1fr; }
.objectives { border-left: 5px solid var(--amber); }
.objectives h3 { margin-top: 0; color: var(--amber-dk); }
.objectives ul { padding-left: 1.1rem; margin: 0; }
.objectives li { margin-bottom: .5rem; }

/* Topics */
#topics-grid { grid-template-columns: repeat(2, 1fr); }
.topic-card { transition: box-shadow .2s, transform .2s; }
.topic-card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.topic-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.topic-icon { color: var(--teal); display: inline-flex; }
.topic-head h3 { font-size: 1.05rem; margin: 0; }
.topic-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .93rem; }
.topic-card li { margin-bottom: .35rem; }

/* Dates */
.dates-grid { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
#dates-list { list-style: none; margin: 0; padding: 0; }
.date-row { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.date-row:last-child { border-bottom: 0; }
.date-chip { flex: 0 0 auto; min-width: 58px; text-align: center; background: var(--blue); color: #fff; font-weight: 700; border-radius: 8px; padding: .5rem .4rem; font-size: .85rem; }
.date-chip.tba { background: #8794a0; }
.date-label { margin: 0; font-weight: 700; }
.date-val { margin: 0; color: var(--muted); font-size: .92rem; }
.countdown-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.4rem; }
.countdown-box h3 { color: #fff; margin: 0 0 .8rem; }
.cd-grid { display: flex; gap: .8rem; }
.cd-cell { background: rgba(255,255,255,.08); border-radius: 8px; padding: .6rem .5rem; min-width: 58px; }
.cd-cell span { font-size: 1.7rem; font-weight: 800; display: block; }
.cd-cell small { color: var(--sky); font-size: .72rem; text-transform: uppercase; }
.countdown-tba { color: #cfe0ea; margin: 0; }
#aoe-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

/* Submission */
#submission-cards { grid-template-columns: repeat(3, 1fr); }
.sub-head { display: flex; gap: .8rem; align-items: center; margin-bottom: .7rem; }
.sub-badge { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; }
.sub-head h3 { margin: 0; font-size: 1.02rem; }
.sub-pages { margin: 0; color: var(--blue); font-weight: 600; font-size: .88rem; }
.sub-goal { color: var(--ink); font-size: .93rem; }
.sub-meta { list-style: none; margin: .6rem 0 0; padding: .7rem 0 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.sub-meta li { margin-bottom: .35rem; }
.submission-foot { margin-top: 1.3rem; }

/* Program */
#program-list { list-style: none; margin: 0; padding: 0; }
.prog-row { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.prog-row:last-child { border-bottom: 0; }
.prog-time { flex: 0 0 70px; font-weight: 700; color: var(--blue); }

/* Committee */
.committee-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.member-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; }
.member strong { display: block; color: var(--navy); }
.member span { color: var(--muted); font-size: .9rem; }
.member a { text-decoration: none; }
.member a:hover { text-decoration: underline; }
.committee-note { color: var(--muted); font-size: .9rem; margin-top: .8rem; }

/* Logos */
.logo-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; }
.logo-item { display: inline-flex; align-items: center; justify-content: center; padding: .5rem 1rem; }
.logo-item img { max-height: 74px; width: auto; }

/* Previous edition */
.prev-card { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.prev-card .prev-body { flex: 1 1 340px; }

/* Pills / TBA markers */
.pill-tba { display: inline-block; background: #eef1f4; color: var(--muted); border: 1px dashed #b9c3cc; border-radius: 999px; padding: .1rem .6rem; font-size: .82rem; font-weight: 600; }
.tba-inline { color: var(--amber-dk); font-size: .85rem; font-weight: 600; }
.link-inline a { font-weight: 600; }

/* Contact */
.contact-card { text-align: center; }
.contact-card a { font-size: 1.3rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.contact-links { margin-top: 1rem; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy); color: #cfe0ea; padding: 2rem 0; text-align: center; font-size: .9rem; }
.site-footer a { color: var(--sky); }

/* Back to top */
#to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--amber); color: var(--navy); cursor: pointer; box-shadow: var(--shadow-h); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
#to-top.show { opacity: 1; pointer-events: auto; }
#to-top svg { display: block; margin: 0 auto; }

/* Focus visibility */
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 260px; }
  .overview-grid, .dates-grid, .committee-grid { grid-template-columns: 1fr; }
  #topics-grid, #submission-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  #topics-grid, #submission-cards { grid-template-columns: 1fr; }
  .cd-cell { min-width: 48px; padding: .5rem .35rem; }
  .cd-cell span { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.submission-portal{
    margin-top:2rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1.5rem;

    padding:1.3rem 1.6rem;

    background:#fff;
    border:1px solid #dce6ef;
    border-radius:14px;
    box-shadow:0 6px 20px rgba(0,0,0,.06);
}

.portal-icon{
    width:56px;
    height:56px;
    border-radius:50%;
    background:#17a589;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.4rem;
    flex-shrink:0;
}

.portal-content h3{
    margin:0 0 .3rem;
    font-size:1.15rem;
}

.portal-content p{
    margin:0;
    color:#586574;
}

.portal-action{
    flex-shrink:0;
}

.committee-two-cols{
    display:grid;
    grid-template-columns:repeat(2, minmax(320px,1fr));
    gap:18px;
}

.committee-two-cols .card{
    margin:0;
}

@media (max-width:900px){
    .committee-two-cols{
        grid-template-columns:1fr;
    }
}

.member-list.committee-two-cols{
    display:grid;
    grid-template-columns:repeat(2,minmax(320px,1fr));
    gap:18px;
    list-style:none;
    padding:0;
    margin:0;
}

.member-list.committee-two-cols .card{
    margin:0;
}

@media (max-width:900px){
    .member-list.committee-two-cols{
        grid-template-columns:1fr;
    }
}

