:root {
  color-scheme: light;
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-alt: #fbfaf8;
  --ink: #15181f;
  --muted: #5f6672;
  --primary: #1f2f41;
  --primary-dark: #0f1720;
  --accent: #8a6d4f;
  --accent-soft: rgba(138, 109, 79, 0.12);
  --border: #e3e5ea;
  --shadow: 0 24px 48px rgba(16, 20, 28, 0.12);
  --shadow-soft: 0 12px 24px rgba(16, 20, 28, 0.08);
  --max-width: 1120px;
}

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

body {
  font-family: "Instrument Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Instrument Serif", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: min(var(--max-width), 100% - 48px);
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(21, 24, 31, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 24, 31, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -3;
}

.bg-orb {
  position: fixed;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(31, 47, 65, 0.12), transparent 70%);
  filter: blur(40px);
  z-index: -2;
}

.orb-one {
  top: -12%;
  right: -16%;
}

.orb-two {
  bottom: -18%;
  left: -10%;
  background: radial-gradient(circle, rgba(138, 109, 79, 0.14), transparent 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 245, 242, 0.92);
  border-bottom: 1px solid rgba(227, 229, 234, 0.9);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 30px rgba(31, 47, 65, 0.22);
}

.btn.secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 88px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 52px;
  align-items: center;
}

.campus-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.campus-pill img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pill-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.pill-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.hero-copy h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(40px, 5vw, 68px);
  margin: 20px 0 14px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.meta-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

.meta-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.meta-text {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.hero-media {
  position: relative;
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.preview-top h3 {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
}

.status-chip {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
}

.preview-list {
  display: grid;
  gap: 12px;
}

.post-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
}

.post-card h4 {
  font-family: "Instrument Serif", serif;
  font-size: 16px;
  margin: 6px 0 2px;
}

.post-card p {
  font-size: 12px;
  color: var(--muted);
}

.post-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

.hero-badge {
  position: absolute;
  right: -12px;
  top: -12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 18px 28px rgba(15, 23, 32, 0.25);
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: #ffffff;
}

.section-dark {
  background: #141c26;
  color: #f5f7fb;
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 15px;
}

.lead {
  font-size: 16px;
  color: var(--muted);
}

.countdown-status {
  font-size: 13px;
}

.section-dark .section-header p,
.section-dark .lead,
.section-dark .countdown-status {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.2fr);
  gap: 48px;
  align-items: start;
}

.section-copy h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 12px;
}

.section-copy p {
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.card-grid,
.resource-grid,
.safety-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover,
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.countdown-panel {
  border-radius: 28px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  box-shadow: 0 28px 56px rgba(10, 14, 20, 0.3);
}

.countdown-copy h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px;
}

.countdown-tile {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  transition: transform 0.2s ease;
}

.countdown-tile:hover {
  transform: translateY(-3px);
}

.count-value {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  display: block;
}

.count-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

.resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.resource-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.safety-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.safety-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.cta-panel {
  background: var(--surface);
  border-radius: 26px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-copy h2 {
  font-family: "Instrument Serif", serif;
  margin-bottom: 8px;
}

.cta-copy p {
  color: var(--muted);
}

.cta-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer {
  padding: 64px 0 24px;
  border-top: 1px solid var(--border);
  background: #f1f0ec;
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}

.footer p,
.footer span,
.footer a {
  color: var(--muted);
  font-size: 14px;
}

.footer h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-base {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-actions {
    flex-wrap: wrap;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    right: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), 100% - 32px);
  }

  .hero {
    padding-top: 64px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .cta-panel {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
