/* ICSRT 2026 — shared theme for static sub-pages.
   Tokens copied from the Next.js homepage's app/globals.css so these plain
   HTML pages render with the identical palette, type, and radius. */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500&family=Merriweather:wght@700;900&display=swap');

:root {
  --background: oklch(0.99 0.004 120);
  --foreground: oklch(0.22 0.03 140);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.22 0.03 140);
  --primary: oklch(0.38 0.09 138);
  --primary-foreground: oklch(0.98 0.02 110);
  --secondary: oklch(0.95 0.03 125);
  --secondary-foreground: oklch(0.33 0.08 138);
  --muted: oklch(0.96 0.01 125);
  --muted-foreground: oklch(0.48 0.03 140);
  --accent: oklch(0.82 0.16 88);
  --accent-foreground: oklch(0.28 0.06 90);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.88 0.02 130);
  --input: oklch(0.88 0.02 130);
  --ring: oklch(0.38 0.09 138);
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
  --sidebar: oklch(0.38 0.09 138);
  --sidebar-foreground: oklch(0.98 0.02 110);
  --sidebar-accent: oklch(0.33 0.08 138);
  --sidebar-accent-foreground: oklch(0.98 0.02 110);
  --sidebar-border: oklch(0.33 0.08 138);

  --font-sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--foreground);
}

p { margin: 0 0 1em; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}
.wrap-narrow { max-width: 860px; }

/* ── Header / nav ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--background) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 16px clamp(20px, 5vw, 64px);
  max-width: 1080px;
  margin: 0 auto;
}
.nav-brand {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 18px;
  color: var(--primary);
  margin-right: auto;
  letter-spacing: -0.01em;
}
.nav a {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover { color: var(--primary); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--primary); font-weight: 700; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; text-decoration: none; }
.btn-yellow { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
.btn-yellow:hover { opacity: 0.9; text-decoration: none; }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.btn-secondary:hover { opacity: 0.85; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { background: var(--secondary); text-decoration: none; }

/* ── Sections ─────────────────────────────────────────────────────── */
section { padding: 40px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
.hero-section { padding: 56px 0 40px; }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
h2.section-heading { font-size: 24px; margin-bottom: 20px; }
.section-intro {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 68ch;
}

/* ── Cards ────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.card-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-foreground);
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.photo-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 12px;
  border: 1px solid var(--border);
}

/* ── Tags ─────────────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.tag-neutral { background: var(--muted); color: var(--muted-foreground); }
.tag-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }

/* ── Table ────────────────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.table th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 700; }
.table tr:last-child td { border-bottom: none; }

/* ── Misc rows / lists ───────────────────────────────────────────── */
.row-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.row-list > div { background: var(--card); padding: 14px 16px; }
.topic-row { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: baseline; }
.topic-row .num { font-family: var(--font-serif); font-weight: 900; color: var(--primary); }
.field-row { display: flex; gap: 12px; align-items: baseline; }
.field-row .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); flex: none; margin-top: 6px; }
.guideline-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.guideline-row .label { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-foreground); }

.date-highlight { color: var(--primary); font-family: var(--font-serif); font-weight: 900; font-size: 22px; }
.date-label { font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted-foreground); }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer {
  background: var(--sidebar);
  color: var(--sidebar-foreground);
  padding: 28px clamp(20px, 5vw, 64px);
  font-size: 13.5px;
}
.site-footer, .site-footer a { color: color-mix(in srgb, var(--sidebar-foreground) 85%, transparent); }

@media (max-width: 640px) {
  .guideline-row { grid-template-columns: 1fr; }
  h1 { font-size: 30px !important; }
}
