/* ============================================
   humaineeti — Shared Styles
   ============================================ */

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

:root {
  --orange: #E05A00;
  --orange-light: #FF7A1A;
  --dark: #111;
  --light: #ffffff;
  --muted: #777;
  --bg-subtle: #fafafa;
  --border: #eee;
  --text: #555;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(224,90,0,0.1);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--light);
  color: var(--dark);
  min-height: 100dvh;
  -webkit-text-size-adjust: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: var(--orange); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

img {
  max-width: 100%;
  height: auto;
}

/* ---- TOP NAV ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
}

.nav-logo {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--dark);
}

.nav-logo .hum { font-weight: 300; }
.nav-logo .ai  { font-weight: 700; color: var(--orange); }
.nav-logo .neeti { font-weight: 300; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--dark);
  padding: 0.5rem 0.75rem;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active,
.nav-links > li > button.active {
  color: var(--orange);
}

.nav-links .dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 0.4rem 0;
  z-index: 600;
}

.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--dark);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:hover {
  background: var(--bg-subtle);
  color: var(--orange);
  opacity: 1;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open { display: flex; }

  .nav-links > li > a,
  .nav-links > li > button {
    padding: 0.75rem 1.5rem;
    font-size: 0.92rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links > li > a.active {
    color: var(--orange);
    font-weight: 400;
  }

  .nav-dropdown {
    position: static;
    border: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    padding: 0;
    background: var(--bg-subtle);
  }

  .nav-links > li:hover .nav-dropdown,
  .nav-links > li:focus-within .nav-dropdown {
    display: none;
  }

  .nav-links > li.mob-open .nav-dropdown {
    display: block;
  }

  .nav-links > li.mob-open > button .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown a {
    padding: 0.7rem 1.5rem 0.7rem 2.5rem;
    font-size: 0.88rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown a:last-child {
    border-bottom: none;
  }
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem 0;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
  opacity: 1;
}

.breadcrumb .sep {
  margin: 0 0.4rem;
}

.breadcrumb .current {
  color: var(--dark);
  font-weight: 400;
}

/* ---- PAGE CONTAINER ---- */
.page {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  width: 100%;
}

.page-hero {
  margin-bottom: 3rem;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.page-hero h1 strong {
  font-weight: 700;
  color: var(--orange);
}

.page-hero .subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.65;
  max-width: 720px;
}

/* Hide old page-hero when using new hero banner */
.page-hero-banner + .page .page-hero {
  display: none;
}

/* ---- SECTIONS ---- */
.section {
  margin-bottom: 3rem;
}

.section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.section h2 .highlight {
  color: var(--orange);
}

.section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.section p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

.section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.section ul li {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ---- TWO-COLUMN GRID ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 700px) {
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---- CARDS ---- */
.card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ---- PILLAR GRID (3 or 4 col) ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pillar {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.pillar .pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.pillar h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.pillar p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
}

/* ---- CTA BUTTON ---- */
.cta-btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  background: var(--orange);
  color: var(--light);
  border: none;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.cta-btn:hover {
  background: var(--orange-light);
  color: var(--light);
  opacity: 1;
  transform: translateY(-1px);
}

.cta-btn-outline {
  display: inline-block;
  padding: 0.65rem 1.8rem;
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.cta-btn-outline:hover {
  background: var(--orange);
  color: var(--light);
  opacity: 1;
}

/* ---- CONTACT FORM ---- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 500px;
  padding: 0.6rem 0.85rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: var(--light);
  color: var(--dark);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---- SITE FOOTER ---- */
.site-footer {
  background: var(--dark);
  color: #999;
  padding: 2.5rem 2rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 300;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-brand .footer-logo {
  font-size: 1.2rem;
  color: var(--light);
  margin-bottom: 0.5rem;
}

.footer-brand .footer-logo .ai { color: var(--orange); font-weight: 700; }
.footer-brand .footer-logo .hum,
.footer-brand .footer-logo .neeti { font-weight: 300; }

.footer-brand p {
  line-height: 1.6;
  color: #888;
  max-width: 320px;
}

.site-footer h5 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ccc;
  margin-bottom: 0.6rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.35rem;
}

.site-footer ul a {
  color: #888;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer ul a:hover {
  color: var(--orange);
  opacity: 1;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  font-size: 0.72rem;
  color: #666;
}

/* ---- HIGHLIGHT BAR ---- */
.highlight-bar {
  background: var(--bg-subtle);
  border-left: 3px solid var(--orange);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 2rem;
}

.highlight-bar p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* ---- PHASE STEPS ---- */
.phase-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.phase-step {
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 8px 8px;
  padding: 1.25rem;
}

.phase-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.phase-step p,
.phase-step ul li {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
}

.phase-step ul {
  list-style: none;
  padding: 0;
}

.phase-step ul li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.phase-step ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ---- PAGE HERO SECTION ---- */
.page-hero-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 50%, #16213e 100%);
  padding: 3.5rem 2rem 3rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224,90,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224,90,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero-banner h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--light);
}

.page-hero-banner h1 strong {
  font-weight: 700;
  color: var(--orange);
}

.page-hero-banner .subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  max-width: 700px;
}

.page-hero-banner .hero-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(224,90,0,0.4);
  border-radius: 20px;
}

@media (max-width: 480px) {
  .page-hero-banner {
    padding: 2.5rem 1.25rem 2rem;
  }
}

/* ---- TEAM CARDS ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.team-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.15s;
}

.team-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.team-card-avatar {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.team-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.team-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.team-card-body .team-role {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--orange);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.team-card-body p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.team-card-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-card-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.team-card-links a:hover {
  border-color: var(--orange);
  color: var(--orange);
  opacity: 1;
}

@media (max-width: 480px) {
  .team-card-avatar {
    height: 220px;
  }
}

/* ---- BLOG / RESOURCE CARDS ---- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.resource-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  background: var(--light);
}

.resource-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.resource-card-body {
  padding: 1.25rem;
}

.resource-card-body .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.resource-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.resource-card-body h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.resource-card-body h3 a:hover {
  color: var(--orange);
  opacity: 1;
}

.resource-card-body p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
}

/* Blog article styles */
.article-meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--dark);
}

.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--dark);
}

.article-body p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1rem;
}

.article-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.article-body ul li {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.article-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.article-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-subtle);
  border-radius: 0 6px 6px 0;
}

.article-body blockquote p {
  margin: 0;
  font-style: italic;
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ---- TABLET (max-width: 768px) ---- */
@media (max-width: 768px) {
  .page { padding: 1.5rem 1.5rem 3rem; }
  .breadcrumb { padding: 0.85rem 1.5rem 0; }

  /* Hero banner */
  .page-hero-banner { padding: 2.5rem 1.5rem 2rem; }
  .page-hero-banner h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .page-hero-banner .subtitle { font-size: 0.92rem; }

  /* Section headings */
  .section h2 { font-size: 1.2rem; }
  .section h3 { font-size: 1rem; }

  /* Resource card grid — 2 columns on tablet */
  .resource-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
  }

  .resource-card img { height: 160px; }

  /* Team grid — 2 columns on tablet */
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
  }

  /* Footer — 2 col on tablet */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Article body */
  .article-body h2 { font-size: 1.15rem; margin-top: 1.75rem; }
  .article-body h3 { font-size: 1rem; }
  .article-body p { font-size: 0.92rem; }

  /* Pillar grid — 2 cols */
  .pillar-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }

  /* Phase steps — 2 cols */
  .phase-steps {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }

  /* CTA button — full width on narrow */
  .cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
  }
}

/* ---- MOBILE (max-width: 480px) ---- */
@media (max-width: 480px) {
  .page { padding: 1.25rem 1rem 2.5rem; }
  .breadcrumb { padding: 0.75rem 1rem 0; font-size: 0.72rem; }
  .nav-inner { padding: 0.65rem 1rem; }

  /* Hero banner — tighter for mobile */
  .page-hero-banner { padding: 2rem 1rem 1.5rem; }
  .page-hero-banner h1 { font-size: 1.35rem; margin-bottom: 0.5rem; }
  .page-hero-banner .subtitle { font-size: 0.85rem; line-height: 1.5; }
  .page-hero-banner .hero-tag { font-size: 0.6rem; padding: 0.25rem 0.6rem; margin-bottom: 0.6rem; }

  /* Section typography */
  .section h2 { font-size: 1.1rem; margin-bottom: 0.6rem; }
  .section h3 { font-size: 0.95rem; }
  .section p { font-size: 0.88rem; line-height: 1.65; }
  .section ul li { font-size: 0.86rem; line-height: 1.55; }

  /* Resource cards — single column on mobile */
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .resource-card img { height: 180px; }
  .resource-card-body { padding: 1rem; }
  .resource-card-body h3 { font-size: 0.95rem; }
  .resource-card-body p { font-size: 0.82rem; }

  /* Team grid — single column on small mobile */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .team-card-avatar { height: 200px; }
  .team-card-body { padding: 1rem; }
  .team-card-body h3 { font-size: 0.95rem; }
  .team-card-body p { font-size: 0.8rem; }

  /* Cards — tighter padding */
  .card { padding: 1.15rem; }
  .card h3 { font-size: 0.92rem; }
  .card p { font-size: 0.84rem; }
  .card ul li { font-size: 0.82rem; }

  /* Grid-2 — always single col on mobile */
  .grid-2 { gap: 1rem; }

  /* Pillar grid — single col */
  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .pillar { padding: 1rem; }
  .pillar h4 { font-size: 0.85rem; }
  .pillar p { font-size: 0.8rem; }

  /* Phase steps — single col */
  .phase-steps {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .phase-step { padding: 1rem; }
  .phase-step h4 { font-size: 0.88rem; }

  /* Footer — single col, compact */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-brand { grid-column: auto; }
  .site-footer { padding: 2rem 1rem 1.25rem; }
  .site-footer h5 { font-size: 0.7rem; margin-bottom: 0.4rem; }
  .site-footer ul a { font-size: 0.78rem; }
  .footer-bottom { font-size: 0.68rem; margin-top: 1.25rem; }

  /* Article body — mobile reading */
  .article-meta { font-size: 0.72rem; margin-bottom: 1.25rem; }
  .article-body h2 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.6rem; }
  .article-body h3 { font-size: 0.95rem; margin-top: 1.25rem; }
  .article-body p { font-size: 0.88rem; line-height: 1.7; }
  .article-body ul li { font-size: 0.86rem; line-height: 1.6; }
  .article-body blockquote { padding: 0.85rem 1rem; margin: 1.25rem 0; }

  /* Highlight bar */
  .highlight-bar { padding: 1rem 1.15rem; }
  .highlight-bar p { font-size: 0.88rem; }

  /* CTA buttons — full width on mobile */
  .cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .cta-btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
  }

  /* Touch targets — minimum 44px */
  .nav-links > li > a,
  .nav-links > li > button {
    min-height: 44px;
    padding: 0.75rem 2rem;
  }

  .nav-dropdown a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-left: 2.5rem;
  }

  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---- SMALL MOBILE (max-width: 360px) ---- */
@media (max-width: 360px) {
  .page { padding: 1rem 0.75rem 2rem; }
  .breadcrumb { padding: 0.6rem 0.75rem 0; }
  .nav-inner { padding: 0.55rem 0.75rem; }
  .nav-logo { font-size: 1.15rem; }

  .page-hero-banner { padding: 1.5rem 0.75rem 1.25rem; }
  .page-hero-banner h1 { font-size: 1.2rem; }
  .page-hero-banner .subtitle { font-size: 0.8rem; }

  .section h2 { font-size: 1rem; }
  .resource-card img { height: 150px; }

  .site-footer { padding: 1.5rem 0.75rem 1rem; }
}
