/* ============================================================
   THE ART, HISTORY, AND TECHNOLOGY OF DJING
   HBCU Research Guide — Apple-Inspired Design System
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:    #F5F5F7;
  --bg-white:      #FFFFFF;
  --text-primary:  #1D1D1F;
  --text-secondary:#515154;
  --text-muted:    #6E6E73;
  --accent-dark:   #0A2540;
  --accent-gold:   #B8860B;
  --accent-burgundy: #5A1A1A;
  --accent-royal:  #1F4E79;
  --card-bg:       #FFFFFF;
  --border:        #E5E5EA;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.13);
  --radius-card:   20px;
  --radius-btn:    980px;
  --radius-badge:  6px;
  --font-system:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width:     1180px;
  --nav-h:         60px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-system);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary); }
a  { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 3px; border-radius: 4px; }

/* ── Layout Utilities ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-white); }
.section--dark { background: var(--accent-dark); color: #fff; }
.section--dark p, .section--dark h2 { color: #fff; }
.section--dark h3 { color: rgba(255,255,255,.85); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Navigation ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(245,245,247,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-width); width: 100%; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand {
  font-size: .95rem; font-weight: 700; color: var(--text-primary);
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: -.01em;
}
.nav-brand span { color: var(--accent-gold); }
.nav-links {
  display: flex; align-items: center; gap: 4px; flex-wrap: nowrap;
  list-style: none;
}
.nav-links li { position: relative; }
.nav-links a {
  display: block; padding: 6px 10px;
  font-size: .82rem; font-weight: 500; color: var(--text-secondary);
  border-radius: 8px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--border); color: var(--text-primary);
  text-decoration: none;
}
.nav-dropdown { position: relative; }
/* Dropdown toggle is now a <button> — reset browser styles */
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px;
  font-size: .82rem; font-weight: 500; color: var(--text-secondary);
  border-radius: 8px; white-space: nowrap; font-family: var(--font-system);
  transition: background .15s, color .15s;
}
.nav-dropdown-toggle:hover { background: var(--border); color: var(--text-primary); }
.nav-dropdown-toggle:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 3px; border-radius: 8px; }
.nav-caret { font-size: .6rem; opacity: .6; transition: transform .2s; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  min-width: 210px; padding: 8px; list-style: none; z-index: 200;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 9px 14px;
  font-size: .85rem; border-radius: 8px; color: var(--text-secondary);
  transition: background .12s, color .12s;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible { background: var(--bg-primary); color: var(--text-primary); text-decoration: none; outline: none; }

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; flex-direction: column; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--bg-white); padding: calc(var(--nav-h) + 24px) 24px 40px;
  overflow-y: auto; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 16px 0;
  font-size: 1.1rem; font-weight: 500; color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--accent-dark); text-decoration: none; }

/* Page offset for sticky nav */
.page-content { padding-top: var(--nav-h); }

/* ── Hero ── */
.hero {
  background: var(--accent-dark);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,134,11,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.2rem); color: rgba(255,255,255,.72);
  max-width: 720px; margin: 0 auto 32px;
}
.hero-body {
  font-size: 1.05rem; color: rgba(255,255,255,.65);
  max-width: 680px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: var(--radius-btn);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: none; transition: opacity .2s, transform .15s, box-shadow .2s;
  text-decoration: none !important;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 3px; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent-gold); color: #fff; }
.btn-secondary { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-outline { background: transparent; color: var(--accent-dark); border: 1.5px solid var(--accent-dark); }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-resource { background: var(--accent-dark); color: #fff; }
.btn-resource:hover { background: #1a3a5c; opacity: 1; }

/* ── Section Heading ── */
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-gold);
  margin-bottom: 10px; display: block;
}
.section-heading { margin-bottom: 14px; }
.section-subheading {
  font-size: 1.05rem; color: var(--text-muted); max-width: 600px; line-height: 1.6;
}

/* ── Cards ── */
.card {
  background: var(--card-bg); border-radius: var(--radius-card);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 28px 28px 24px;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Card image (hero image inside a card) */
.card-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; border-radius: 14px;
  margin-bottom: 16px; display: block;
  background: var(--border); /* fallback while loading */
}
.card-img-tall {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: 14px;
  margin-bottom: 16px; display: block;
  background: var(--border);
}

/* Section image banner */
.section-img-banner {
  width: 100%; max-height: 360px; object-fit: cover;
  border-radius: var(--radius-card);
  display: block; margin-bottom: 40px;
}

/* Resource Card */
.resource-card {
  background: var(--card-bg); border-radius: var(--radius-card);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 0; display: flex; flex-direction: column; gap: 0;
  transition: box-shadow .2s, transform .2s; overflow: hidden;
}
.resource-card-img {
  width: 100%; height: 160px; object-fit: cover;
  display: block; background: var(--accent-dark);
}
.resource-card-body {
  padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1;
}
/* Cards without an image get padding on the card itself
   (fallback for browsers that don't support :has) */
.resource-card { padding: 22px 22px 18px; gap: 10px; }
/* Cards WITH an image remove top padding (image fills the top) */
.resource-card:has(.resource-card-img) { padding: 0; gap: 0; }
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.resource-card-annotation { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; flex: 1; }
.resource-card-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.resource-best-for { font-size: .8rem; color: var(--text-muted); font-style: italic; }

/* Type Badge */
.badge {
  display: inline-block; padding: 3px 10px;
  border-radius: var(--radius-badge);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; flex-shrink: 0;
}
.badge-archive    { background: #EFF6FF; color: #1d4ed8; }
.badge-book       { background: #F0FDF4; color: #166534; }
.badge-database   { background: #FDF4FF; color: #7e22ce; }
.badge-video      { background: #FFF7ED; color: #c2410c; }
.badge-gov        { background: #F0F9FF; color: #0369a1; }
.badge-org        { background: #FFF1F2; color: #be123c; }
.badge-tool       { background: #ECFDF5; color: #065f46; }
.badge-multimedia { background: #FFFBEB; color: #92400e; }
.badge-museum     { background: #F5F3FF; color: #5b21b6; }
.badge-legal      { background: #FEFCE8; color: #713f12; }
.badge-institute  { background: #EFF6FF; color: #1e40af; }
.badge-catalog    { background: #F9FAFB; color: #374151; }

/* ── Step Cards ── */
.step-card {
  background: var(--card-bg); border-radius: var(--radius-card);
  border: 1px solid var(--border); padding: 28px 24px;
  display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
}
.step-card h3 { margin-bottom: 6px; }
.step-card p { font-size: .9rem; }

/* ── Explore Grid ── */
.explore-card {
  background: var(--card-bg); border-radius: var(--radius-card);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 24px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none !important; color: var(--text-primary);
  transition: box-shadow .2s, transform .2s;
}
.explore-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--text-primary); }
.explore-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.explore-card span { font-size: .9rem; font-weight: 600; }
.explore-card small { font-size: .78rem; color: var(--text-muted); }

/* ── Callout / Info Boxes ── */
.callout {
  border-radius: 16px; padding: 24px 28px;
  border-left: 4px solid var(--accent-gold);
  background: rgba(184,134,11,.07);
  margin: 32px 0;
}
.callout-research {
  border-left-color: var(--accent-royal);
  background: rgba(31,78,121,.06);
}
.callout-critical {
  border-left-color: var(--accent-burgundy);
  background: rgba(90,26,26,.05);
}
.callout-tip {
  border-left-color: #059669;
  background: rgba(5,150,105,.06);
}
.callout-copyright {
  border-left-color: #7c3aed;
  background: rgba(124,58,237,.05);
}
.callout-hbcu {
  border-left-color: var(--accent-gold);
  background: var(--accent-dark);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  border-left-width: 0;
}
.callout-hbcu h3, .callout-hbcu p { color: #fff; }
.callout-hbcu h3 { margin-bottom: 10px; font-size: 1.15rem; }
.callout-hbcu p { color: rgba(255,255,255,.8); }
.callout h3 { margin-bottom: 8px; font-size: 1rem; }
.callout p { font-size: .92rem; margin: 0; line-height: 1.65; }

/* Research Questions */
.rq-box {
  background: var(--accent-dark); color: #fff;
  border-radius: 18px; padding: 28px 30px; margin: 32px 0;
}
.rq-box h3 { color: var(--accent-gold); margin-bottom: 16px; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.rq-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rq-box li {
  padding-left: 22px; position: relative;
  font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.55;
}
.rq-box li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent-gold); font-size: .85rem;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--accent-dark); color: #fff;
  padding: 60px 0 48px; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero .page-purpose {
  font-size: 1.05rem; color: rgba(255,255,255,.7);
  max-width: 600px; margin: 14px auto 0;
}

/* ── Accordion (Key Terms) ── */
.accordion { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; background: var(--bg-white);
  border: none; cursor: pointer; text-align: left; gap: 12px;
  font-size: .95rem; font-weight: 600; color: var(--text-primary);
  font-family: var(--font-system);
  transition: background .15s;
}
.accordion-btn:hover { background: var(--bg-primary); }
.accordion-btn:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: -3px; }
.accordion-icon { flex-shrink: 0; font-size: 1.1rem; color: var(--text-muted); transition: transform .25s; }
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  background: var(--bg-white);
  display: none; padding: 0 24px 20px;
}
.accordion-panel.open { display: block; }
.accordion-panel p { font-size: .9rem; color: var(--text-secondary); }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -27px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-gold); border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--accent-gold);
}
.timeline-item h3 { font-size: 1rem; margin-bottom: 4px; }
.timeline-item p { font-size: .9rem; }

/* ── Search / Keyword Cards ── */
.keyword-cluster { background: var(--bg-white); border-radius: 16px; border: 1px solid var(--border); padding: 22px 24px; }
.keyword-cluster h3 { font-size: .95rem; margin-bottom: 14px; }
.keyword-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.keyword-tag {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 12px;
  font-size: .8rem; color: var(--text-secondary);
}

.search-example {
  background: var(--accent-dark); border-radius: 12px; padding: 14px 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .85rem; color: #a5f3fc; letter-spacing: .02em;
}
.search-example-grid { display: flex; flex-direction: column; gap: 10px; }

/* ── Works Cited ── */
.works-cited-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.works-cited-list li {
  font-size: .95rem; color: var(--text-secondary); line-height: 1.7;
  padding-left: 2em; text-indent: -2em;
}

/* ── Career Cards ── */
.career-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px; text-align: center;
  font-size: .88rem; font-weight: 600; color: var(--text-primary);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.career-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── Related Pages ── */
.related-pages { background: var(--bg-white); border-top: 1px solid var(--border); padding: 40px 0; }
.related-pages-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.related-link {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 16px;
  font-size: .85rem; font-weight: 600; color: var(--accent-dark);
  text-decoration: none; transition: background .15s;
}
.related-link:hover { background: var(--border); text-decoration: none; }

/* ── Video Card ── */
.video-card {
  background: var(--bg-white); border-radius: var(--radius-card);
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.video-card:hover { box-shadow: var(--shadow-md); }
.video-card-thumb {
  width: 100%; height: 180px; background: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.video-play-icon {
  width: 52px; height: 52px; background: rgba(255,255,255,.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.4);
}
.video-play-icon::after { content: '▶'; color: #fff; font-size: .9rem; margin-left: 3px; }
.video-card-body { padding: 18px 20px; }
.video-card-type { font-size: .75rem; font-weight: 700; color: var(--accent-gold); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.video-card-title { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.video-card-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }

/* ── Subsection Heading ── */
.subsection-heading {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.subsection-heading h2 { font-size: 1.45rem; }
.subsection-rule { flex: 1; height: 1px; background: var(--border); }

/* ── Page Intro Block ── */
.page-intro {
  background: var(--bg-white); border-radius: 18px;
  border: 1px solid var(--border); padding: 32px 36px;
  margin-bottom: 40px; line-height: 1.7;
}
.page-intro p + p { margin-top: 14px; }

/* ── Footer ── */
.site-footer {
  background: var(--accent-dark); color: rgba(255,255,255,.7);
  padding: 52px 0 32px;
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.footer-title { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.footer-audience { font-size: .85rem; margin-bottom: 28px; }
.footer-links-heading { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-gold); margin-bottom: 12px; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin-bottom: 32px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .88rem; transition: color .15s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 24px 0; }
.footer-legal { font-size: .78rem; color: rgba(255,255,255,.45); }

/* ── Utility ── */
.mb-6  { margin-bottom: 6px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-gold    { color: var(--accent-gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 72px 0 56px; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .step-card { flex-direction: row; }
  .hero-actions { flex-direction: column; align-items: center; }
  .card, .resource-card { padding: 20px; }
  .page-intro { padding: 22px; }
  .rq-box { padding: 22px 18px; }
}
@media (min-width: 860px) {
  .mobile-menu { display: none !important; }
}

/* ── Print ── */
@media print {
  .site-nav, .nav-hamburger, .mobile-menu { display: none; }
  .page-content { padding-top: 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
