* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: calc(1rem * var(--font-scale));
    line-height: 1.6;
    padding-top: var(--header-height, 132px);
    transition: background-color 0.2s, color 0.2s;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--accent);
    color: #ffffff;
    padding: 12px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 4px;
}
.skip-link:focus-visible { top: 10px; }

*:focus-visible {
    outline: 3px solid var(--focus-outline) !important;
    outline-offset: 2px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

main {
    padding: 1rem;
    max-width: 100%;
}

.hero {
    text-align: center;
    padding: 2.5rem 0;
    background: linear-gradient(135deg, var(--accent) 0%, #0a192f 100%);
    color: #ffffff;
    border-radius: 8px;
    margin-bottom: 2rem;
}
[data-contrast="high"] .hero { background: #000000; border: 2px solid #ffff00; }

.hero-logo {
    width: 110px; height: 110px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin: 0 auto 1rem;
    display: block;
}

.hero h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }

.site-section { margin: 3rem 0; }
.site-section h2 { margin-bottom: 1rem; }

.award-section {
    background-color: var(--bg-card);
    border-left: 6px solid var(--accent);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.award-title { color: var(--accent); font-size: 1.4rem; margin-bottom: 0.5rem; }

.citation-box {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}
[data-contrast="high"] .citation-box { border: 1px solid #ffff00; }

.citation-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    min-height: 44px;
}
.btn-primary:hover { background-color: var(--accent-hover); }

.btn-pill {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    min-height: 44px; /* Mobile Target Size */
}
.btn-pill:hover { background: var(--accent); color: white; }

.video-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.video-container {
    position: relative; width: 100%; padding-bottom: 56.25%; height: 0;
    overflow: hidden; border-radius: 8px;
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.no-workshops {
    padding: 2rem; text-align: center; border: 2px dashed var(--accent); border-radius: 8px;
}

.site-footer { text-align: center; padding: 2rem 1rem; border-top: 1px solid rgba(0,0,0,0.1); margin-top: 4rem; }

@media (min-width: 768px) {
    main { max-width: 1200px; margin: 0 auto; padding: 2rem; padding-right: 5rem; }
    .hero h1 { font-size: 3.5rem; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .pub-header { display: flex; justify-content: space-between; align-items: center; }
}
