/*
Theme Name: HCAMP
Theme URI: https://hawaiiconcussion.com/
Description: A responsive WordPress theme for the Hawaii Concussion Awareness and Management Program.
Version: 1.0.0
Author: HCAMP
Text Domain: hcamp
*/

:root {
  --navy: #123047;
  --blue: #23658a;
  --teal: #1c8a83;
  --gold: #e2b04a;
  --ink: #1f2e36;
  --muted: #60727a;
  --paper: #f7faf9;
  --white: #ffffff;
  --line: #d8e3e3;
  --display: Georgia, "Times New Roman", serif;
  --body: "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 14px 34px rgba(18, 48, 71, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
img { display: block; max-width: 100%; height: auto; }
.site-shell { overflow-x: hidden; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { max-width: 180px; line-height: 1.1; font-size: .88rem; }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: var(--teal); }
.hero { color: var(--white); background: var(--navy); }
.hero-image { min-height: 430px; display: flex; align-items: end; background: linear-gradient(90deg, rgba(18,48,71,.88), rgba(18,48,71,.28)), url("https://hawaiiconcussion.com/images/topheader.jpg") center/cover; }
.hero-copy { width: min(720px, 100%); padding: 96px 0 72px; }
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.1; }
.hero h1 { max-width: 680px; margin: 0 0 22px; color: var(--white); font: 500 clamp(2.9rem, 7vw, 5.8rem)/.95 var(--display); letter-spacing: -.03em; }
.hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,.88); font-size: 1.1rem; }
.section { padding: 80px 0; }
.section-header { max-width: 700px; margin-bottom: 34px; }
.section-header h2 { margin: 0 0 12px; font: 500 clamp(2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -.02em; }
.section-header p { margin: 0; color: var(--muted); }
.feature-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.feature-panel { padding: 34px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-panel h3 { margin: 0 0 14px; font: 500 2rem/1.05 var(--display); }
.feature-panel p { color: var(--muted); }
.feature-panel img { width: 100%; max-height: 275px; object-fit: cover; margin-bottom: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: var(--radius); background: var(--teal); color: var(--white); font-weight: 800; text-decoration: none; }
.button:hover { background: var(--blue); color: var(--white); }
.role-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.role-card { min-height: 150px; display: flex; align-items: end; padding: 18px; color: var(--white); background: var(--blue); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.role-card:nth-child(2n) { background: var(--teal); }
.role-card:hover { color: var(--white); background: var(--navy); transform: translateY(-4px); }
.role-card strong { font-size: 1.05rem; line-height: 1.1; }
.basics { background: var(--navy); }
.basics h2, .basics h3, .basics h4 { color: var(--white); }
.basics .section-header p, .basics p { color: rgba(255,255,255,.75); }
.basics-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; }
.video-frame { aspect-ratio: 16 / 9; width: 100%; border: 0; }
.link-list { margin: 0; padding: 0; list-style: none; }
.link-list li { border-top: 1px solid rgba(255,255,255,.2); }
.link-list a { display: block; padding: 13px 0; color: var(--white); font-weight: 700; text-decoration: none; }
.link-list a::before { content: "→"; margin-right: 10px; color: var(--gold); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-card { padding: 26px; background: var(--white); border: 1px solid var(--line); }
.content-card img { width: 100%; aspect-ratio: 1.55; object-fit: cover; margin-bottom: 18px; }
.content-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.content-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.site-footer { padding: 42px 0; color: rgba(255,255,255,.75); background: var(--navy); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
.site-footer h2 { margin: 0 0 8px; color: var(--white); font: 500 1.5rem var(--display); }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.footer-links a { color: var(--white); }
@media (max-width: 900px) { .site-nav ul { gap: 12px; } .feature-layout, .basics-layout { grid-template-columns: 1fr; } .role-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .container { width: min(100% - 28px, 1120px); } .header-inner { align-items: flex-start; padding: 14px 0; flex-direction: column; gap: 12px; } .site-nav ul { justify-content: flex-start; gap: 10px 14px; } .hero-image { min-height: 500px; } .hero-copy { padding: 80px 0 48px; } .section { padding: 56px 0; } .feature-panel { padding: 24px; } .role-grid, .content-grid { grid-template-columns: 1fr 1fr; } .footer-inner { flex-direction: column; } }
@media (max-width: 420px) { .role-grid, .content-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .role-card { transition: none; } }
