@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Crimson+Pro:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* Tokens — shared with the lab website so the two read as one family. */
:root {
    --white: #ffffff;
    --pale: #dbe9f2;
    --cobalt: #1d4f7f;
    --cobalt-mid: #4a7fab;
    --cobalt-hover: #35618a;
    --border: #d7e4ec;
    --ink: #1c2b38;
    --ink-muted: #4a5d6b;
    --ink-faint: #6b7d89;
    --font-display: 'Crimson Pro', Georgia, 'Times New Roman', serif;
    --font: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --measure: 68ch;
    --page-max: 60rem;
    --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h1 .h1-sub {
    display: block;
    margin-top: 0.3em;
    font-size: 0.62em;
    font-weight: 400;
    color: var(--ink-muted);
}
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; margin: 1.75rem 0 0.5rem; }

p { margin: 0 0 1rem; max-width: var(--measure); }

a {
    color: var(--cobalt);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}
a:hover { color: var(--cobalt-hover); }

:focus-visible {
    outline: 2px solid var(--cobalt-mid);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    top: -4rem;
    left: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--cobalt);
    color: var(--white);
    border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 1.25rem var(--gutter);
    border-bottom: 1px solid var(--border);
}
.wordmark {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}
.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    font-size: 0.95rem;
}
.site-nav a { color: var(--ink-muted); text-decoration: none; }
.site-nav a:hover { color: var(--cobalt); text-decoration: underline; }

main {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--gutter) 3rem;
}

/* Masthead */
.masthead {
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
    border-bottom: 1px solid var(--border);
}
.eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cobalt);
    margin-bottom: 1rem;
}
.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1.25rem 2rem;
    margin: 2.5rem 0 0;
    padding: 0;
}
.facts div {
    border-top: 2px solid var(--cobalt);
    padding-top: 0.6rem;
}
.facts dt {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.facts dd { margin: 0.25rem 0 0; }

/* Sections */
.section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: 0; }
.section h2 { margin-bottom: 1.25rem; }

/* Schedule */
.schedule-wrap { overflow-x: auto; }
.schedule {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}
.schedule th,
.schedule td {
    text-align: left;
    vertical-align: top;
    padding: 0.8rem 1.25rem 0.8rem 0;
    border-bottom: 1px solid var(--border);
}
.schedule th {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.schedule .time {
    width: 10rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--ink-muted);
}
.schedule .who { color: var(--ink-muted); }
.schedule .break td { color: var(--ink-faint); }

/* Speakers */
.people {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 2rem 2.5rem;
}
.person {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem;
    align-items: start;
}
.avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--pale);
    border: 1px solid var(--border);
}
.person h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.15; }
.people + h3 { margin-top: 2.5rem; }
.person .affil {
    margin: 0.15rem 0 0.5rem;
    font-size: 0.95rem;
    color: var(--ink-muted);
}
.person p:last-child { margin: 0; font-size: 0.95rem; }

/* Materials */
.materials {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: var(--measure);
}
.materials li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
}
.materials li:first-child { border-top: 1px solid var(--border); }
.materials .kind {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* Placeholders: bracketed text to replace. Delete this rule once content is real. */
.ph {
    text-decoration: underline dashed var(--cobalt-mid);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); }
.site-footer .inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 2rem var(--gutter) 3rem;
    font-size: 0.9rem;
    color: var(--ink-muted);
}
.site-footer p { margin: 0; max-width: none; }
