/* Public website — Ohio State scarlet & grey */
:root { --scarlet: #ba0c2f; --scarlet-dark: #8f0922; --grey: #a7b1b7; --grey-dark: #3f4443; --ink: #1f2328; --ink-2: #4b5563; --bg: #ffffff; --soft: #f4f5f6; --line: #dcdfe1; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--scarlet); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.site-head { border-top: 5px solid var(--scarlet); border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--grey-dark); font-weight: 700; font-family: Georgia, serif; font-size: 18px; margin-right: auto; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--ink-2); padding: 6px 10px; border-radius: 6px; font-size: 15px; }
.site-nav a:hover { background: var(--soft); }
.site-nav a.active { color: var(--scarlet); font-weight: 600; }
.site-nav .portal-link { background: var(--scarlet); color: #fff; }
.site-nav .portal-link:hover { background: var(--scarlet-dark); }
main.wrap { padding-top: 28px; padding-bottom: 56px; }
h1 { font-family: Georgia, serif; color: var(--grey-dark); font-size: 34px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-family: Georgia, serif; color: var(--grey-dark); font-size: 24px; margin: 36px 0 14px; }
h3 { margin: 0 0 6px; font-size: 18px; }
.lead { font-size: 19px; color: var(--ink-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--scarlet); font-weight: 700; margin: 0; }
.muted, .meta { color: #6b7280; font-size: 14px; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 28px 0 12px; }
.hero h1 { font-size: 44px; }
.hero-logo { justify-self: center; max-height: 220px; }
.btn { display: inline-block; background: var(--scarlet); color: #fff; padding: 10px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; margin-right: 8px; }
.btn.ghost { background: transparent; color: var(--scarlet); border: 2px solid var(--scarlet); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: block; color: inherit; text-decoration: none; }
a.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.card .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--soft); }
.card-body { padding: 14px 16px 18px; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.prose { max-width: 760px; }
.prose .cover { border-radius: 10px; margin: 12px 0 20px; }
.prose img { border-radius: 6px; }
.prose blockquote { border-left: 4px solid var(--scarlet); margin: 12px 0; padding: 4px 14px; color: var(--ink-2); }
.sponsor-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.sponsor-row img { max-height: 56px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sponsor { padding: 18px; text-align: center; display: grid; gap: 8px; justify-items: center; font-weight: 600; }
.sponsor img { max-height: 70px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc-table th { text-align: left; background: var(--scarlet); color: #fff; padding: 8px 10px; }
.doc-table td { border-bottom: 1px solid var(--line); padding: 8px 10px; }
.site-foot { background: var(--grey-dark); color: #d6d9de; padding: 28px 0; }
.site-foot a { color: #fff; }
.site-foot img { background: #fff; border-radius: 6px; padding: 4px 8px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-logo { max-height: 120px; }
  .doc-table { display: block; overflow-x: auto; }
  .site-nav { width: 100%; }
}

/* Banner notifications (posted from the portal) */
.site-banner { padding: 10px 0; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,.08); }
.site-banner .wrap { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.site-banner a { font-weight: 600; color: inherit; text-decoration: underline; }
.site-banner.info { background: #e8f1fb; color: #123a63; }
.site-banner.success { background: #e7f6ec; color: #14532d; }
.site-banner.warning { background: #fff5d6; color: #6b4a00; }
.site-banner.urgent { background: #ba0c2f; color: #fff; }

/* "Coming soon" screen over the whole site while it is being built */
body.coming-soon-on { overflow: hidden; }
.coming-soon { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(31, 35, 40, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; }
.cs-card { background: #fff; border-top: 6px solid var(--scarlet); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  max-width: 640px; width: 100%; padding: 32px 28px; text-align: center; }
.cs-logos { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.cs-logos img { height: auto; max-height: 96px; width: auto; max-width: min(100%, 300px); }
.cs-card h1 { font-size: 30px; margin: 6px 0 10px; }
.cs-card .lead { margin: 0 0 22px; }
.cs-card .btn { margin: 0; }
@media (max-width: 480px) { .cs-card { padding: 24px 18px; } .cs-card h1 { font-size: 24px; } .cs-logos img { max-height: 72px; } }
