@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-black: #000000;
  --c-white: #ffffff;
  --c-gray-100: #f5f5f5;
  --c-gray-200: #e8e8e8;
  --c-gray-300: #d0d0d0;
  --c-gray-500: #888888;
  --c-gray-700: #444444;
  --c-accent: #1a1a1a;
  --font-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 64px;
  --max-w: 1200px;
  --gap: clamp(16px, 3vw, 32px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-black);
  background: var(--c-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-black);
  color: var(--c-white);
  border-bottom: 1px solid #222;
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--c-white);
}

/* details/summary nav */
.nav-details {
  position: relative;
  flex: 1;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--c-white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-base);
  list-style: none;
  min-height: 40px;
  align-items: center;
}

.nav-toggle::-webkit-details-marker { display: none; }

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.nav-menu li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  border: 1px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  min-height: 40px;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a[aria-current="page"] {
  background: rgba(255,255,255,0.15);
  color: var(--c-white);
  border-color: rgba(255,255,255,0.3);
  opacity: 1;
}

.nav-search {
  flex-shrink: 0;
  margin-left: auto;
}

.search-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  overflow: hidden;
}

.search-form input[type="search"] {
  background: transparent;
  border: none;
  outline: none;
  color: var(--c-white);
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-family: var(--font-base);
  width: 160px;
  min-height: 40px;
}

.search-form input[type="search"]::placeholder {
  color: rgba(255,255,255,0.45);
}

.search-form button {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--c-white);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.8125rem;
  font-family: var(--font-base);
  font-weight: 500;
  min-height: 40px;
  transition: background 0.18s;
}

.search-form button:hover {
  background: rgba(255,255,255,0.28);
}

/* ============================================================
   WRAP / MAIN CONTAINER
   ============================================================ */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

main {
  min-height: 60vh;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 20px 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--c-gray-500);
}

.breadcrumb ol li + li::before {
  content: '›';
  margin-right: 6px;
}

.breadcrumb ol li a {
  color: var(--c-gray-700);
  text-decoration: none;
}

.breadcrumb ol li a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.home-hero-section {
  padding: 0;
}

.home-hero-article {
  padding: 0;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--c-black);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111 0%, #222 50%, #0a0a0a 100%);
  min-height: 100vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 100px) clamp(32px, 6vw, 80px);
  text-align: right;
  color: var(--c-white);
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  display: block;
}

.hero-h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 400px;
  margin-left: auto;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  padding: 14px 32px;
  background: var(--c-white);
  color: var(--c-black);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 48px;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
  opacity: 1;
}

/* home content area */
.home-content {
  padding: clamp(40px, 6vw, 80px) 0;
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.home-secondary-section {
  padding: 0;
  border-top: 1px solid var(--c-gray-200);
}

.home-secondary-article {
  padding: clamp(40px, 6vw, 80px) 0;
}

/* ============================================================
   HOME — PULL QUOTE
   ============================================================ */
.home-pullquote {
  margin-bottom: clamp(48px, 8vw, 96px);
}

.pullquote {
  position: relative;
  padding: 32px 48px;
  border-left: 4px solid var(--c-black);
  background: var(--c-gray-100);
}

.pullquote p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--c-black);
}

.pullquote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--c-gray-500);
  font-style: normal;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 48px);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-black);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gray-500);
}

.section-title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ============================================================
   HOME — CATEGORIES
   ============================================================ */
.home-categories {
  margin-bottom: clamp(48px, 8vw, 96px);
}

.catlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.catlist-item {
  border: 1px solid var(--c-gray-200);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.catlist-item:hover {
  border-color: var(--c-black);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.catlist-link {
  display: block;
  padding: 24px;
  text-decoration: none;
}

.catlist-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.catlist-desc {
  display: block;
  font-size: 0.875rem;
  color: var(--c-gray-700);
  line-height: 1.6;
}

/* ============================================================
   HOME — CARDS GRID
   ============================================================ */
.home-cards {
  margin-bottom: clamp(48px, 8vw, 96px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}

.card {
  border-radius: 10px;
  border: 1px solid var(--c-gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  border-bottom: 3px solid var(--c-black);
}

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

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

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-date {
  font-size: 0.75rem;
  color: var(--c-gray-500);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.card-title a {
  text-decoration: none;
}

.card-title a:hover {
  text-decoration: underline;
  opacity: 1;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--c-gray-700);
  line-height: 1.6;
  flex: 1;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.cat-section {
  padding: 0;
}

.cat-article {
  padding: clamp(32px, 6vw, 64px) 0;
}

.cat-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--gap);
  align-items: center;
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: 32px;
  border-bottom: 2px solid var(--c-black);
}

.cat-header-img .cat-hero-img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.cat-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: 12px;
}

.cat-h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cat-desc {
  font-size: 1.0625rem;
  color: var(--c-gray-700);
  line-height: 1.7;
  max-width: 600px;
}

.cat-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ============================================================
   CATEGORY — CHILDREN TABLE
   ============================================================ */
.cat-children {
  margin-top: clamp(32px, 5vw, 56px);
}

.cat-children-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-black);
}

.tbl-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.children-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.children-table thead {
  background: var(--c-black);
  color: var(--c-white);
}

.children-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.children-table tbody tr {
  border-bottom: 1px solid var(--c-gray-200);
  transition: background 0.15s;
}

.children-table tbody tr:hover {
  background: var(--c-gray-100);
}

.children-table td {
  padding: 16px;
  vertical-align: top;
}

.tbl-date {
  white-space: nowrap;
  font-size: 0.8125rem;
  color: var(--c-gray-500);
  width: 120px;
}

.tbl-title a {
  font-weight: 600;
  text-decoration: none;
  color: var(--c-black);
}

.tbl-title a:hover {
  text-decoration: underline;
  opacity: 1;
}

.tbl-desc {
  color: var(--c-gray-700);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-section {
  padding: 0;
}

.article-main {
  display: grid;
  grid-template-columns: 1fr;
  padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 8vw, 96px);
}

.article-header {
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: 32px;
  border-bottom: 2px solid var(--c-black);
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.article-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  background: var(--c-black);
  color: var(--c-white);
  border-radius: 999px;
}

.article-date, .article-mod {
  font-size: 0.8125rem;
  color: var(--c-gray-500);
}

.article-h1 {
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.article-lead {
  font-size: 1.125rem;
  color: var(--c-gray-700);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 28px;
}

.article-hero-fig {
  margin-top: 28px;
}

.article-hero-fig .article-hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 10px;
}

.article-hero-fig figcaption {
  font-size: 0.8125rem;
  color: var(--c-gray-500);
  margin-top: 10px;
  font-style: italic;
}

/* Article body */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  max-width: 720px;
  column-gap: 40px;
}

/* Drop cap */
.drop-cap > p:first-of-type::first-letter,
.article-body > p:first-of-type::first-letter {
  font-size: 4.5em;
  font-weight: 700;
  float: left;
  line-height: 0.75;
  margin: 6px 10px 0 0;
  color: var(--c-black);
  letter-spacing: -0.02em;
}

/* Rich content styles within article body */
.article-body h2, .cat-content h2, .home-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.5em 0 0.75em;
  padding-top: 0.5em;
  border-top: 1px solid var(--c-gray-200);
}

.article-body h3, .cat-content h3, .home-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2em 0 0.6em;
}

.article-body p, .cat-content p, .home-content p {
  margin-bottom: 1.25em;
}

.article-body ul, .article-body ol,
.cat-content ul, .cat-content ol {
  margin: 1em 0 1.5em 1.5em;
  list-style: disc;
}

.article-body ol, .cat-content ol {
  list-style: decimal;
}

.article-body li, .cat-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.article-body blockquote {
  border-left: 4px solid var(--c-black);
  padding: 16px 24px;
  margin: 2em 0;
  background: var(--c-gray-100);
  font-size: 1.05rem;
  font-style: italic;
}

.article-body figure {
  margin: 2em 0;
}

.article-body figcaption {
  font-size: 0.8125rem;
  color: var(--c-gray-500);
  margin-top: 8px;
  font-style: italic;
}

.article-body img {
  border-radius: 8px;
  width: 100%;
}

.article-body a {
  color: var(--c-black);
  font-weight: 500;
}

/* Related articles */
.related-articles {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 32px;
  border-top: 2px solid var(--c-black);
}

.related-title-main {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.related-item {
  border: 1px solid var(--c-gray-200);
  border-radius: 10px;
  border-bottom: 3px solid var(--c-black);
  transition: box-shadow 0.2s;
}

.related-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.related-link {
  display: block;
  padding: 18px;
  text-decoration: none;
}

.related-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}

.related-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--c-gray-700);
  line-height: 1.55;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  padding: 0;
}

.about-article {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 8vw, 96px);
  align-items: start;
}

.about-header {
  grid-column: 1 / -1;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--c-black);
}

.about-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: 12px;
}

.about-h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.about-lead {
  font-size: 1.125rem;
  color: var(--c-gray-700);
  line-height: 1.7;
  max-width: 600px;
}

.about-body {
  font-size: 1.0625rem;
  line-height: 1.85;
}

.about-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2em 0 0.75em;
  letter-spacing: -0.02em;
}

.about-body p {
  margin-bottom: 1.25em;
}

.about-links {
  padding: 24px;
  background: var(--c-gray-100);
  border-radius: 10px;
  border-left: 4px solid var(--c-black);
  align-self: start;
}

.about-links-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.about-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-links ul li a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-black);
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}

.about-links ul li a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-section {
  padding: 0;
}

.privacy-article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 8vw, 96px);
}

.privacy-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--c-black);
}

.privacy-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: 12px;
}

.privacy-h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.privacy-updated {
  font-size: 0.875rem;
  color: var(--c-gray-500);
}

.privacy-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 48px;
}

.privacy-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2em 0 0.75em;
  border-top: 1px solid var(--c-gray-200);
  padding-top: 0.75em;
}

.privacy-body p {
  margin-bottom: 1.25em;
}

.privacy-body ul {
  margin: 1em 0 1.5em 1.5em;
  list-style: disc;
}

.privacy-body li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.privacy-nav-links {
  padding: 24px;
  background: var(--c-gray-100);
  border-radius: 10px;
}

.privacy-nav-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.privacy-nav-links ul li a {
  font-weight: 500;
  font-size: 0.9375rem;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   DEFAULT PAGE
   ============================================================ */
.default-section {
  padding: 0;
}

.default-article {
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 8vw, 96px);
  max-width: 760px;
}

.default-h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--c-black);
}

.default-body {
  font-size: 1.0625rem;
  line-height: 1.85;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-black);
  color: var(--c-white);
  margin-top: clamp(48px, 8vw, 96px);
}

.footer-cta {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: clamp(48px, 8vw, 96px) var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  flex: 1 1 300px;
}

.footer-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  flex: 1 1 240px;
  line-height: 1.6;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--c-white);
  color: var(--c-black);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s;
  min-height: 48px;
  white-space: nowrap;
}

.footer-cta-btn:hover {
  opacity: 0.85;
}

.footer-cols {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--gap);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.18s;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.footer-col ul li a:hover {
  color: var(--c-white);
  opacity: 1;
}

.footer-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--gap);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer-bar a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-bar a:hover {
  color: var(--c-white);
  opacity: 1;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .catlist-item,
  .related-item,
  .children-table tbody tr {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }

  .card.is-visible,
  .catlist-item.is-visible,
  .related-item.is-visible,
  .children-table tbody tr.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 50vh;
  }

  .hero-placeholder {
    min-height: 50vh;
  }

  .hero-text {
    text-align: left;
    min-height: auto;
    padding: clamp(40px, 8vw, 80px) var(--gap);
  }

  .hero-desc {
    margin-left: 0;
  }

  .hero-cta {
    align-self: flex-start;
  }

  .cat-header {
    grid-template-columns: 1fr;
  }

  .cat-header-img .cat-hero-img {
    width: 100%;
    height: 240px;
  }

  .about-article {
    grid-template-columns: 1fr;
  }

  .about-header {
    grid-column: 1;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --nav-h: 56px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-details .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    z-index: 200;
  }

  .nav-details[open] .nav-menu {
    display: flex;
  }

  .nav-menu li a {
    width: 100%;
    border-radius: 8px;
    min-height: 48px;
    font-size: 0.9375rem;
  }

  .nav-search {
    display: none;
  }

  .hero-section {
    min-height: 100svh;
  }

  .hero-media {
    min-height: 45vw;
  }

  .hero-h1 {
    font-size: 1.75rem;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

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

  .related-list {
    grid-template-columns: 1fr;
  }

  .tbl-desc {
    display: none;
  }

  .about-article {
    grid-template-columns: 1fr;
  }

  .pullquote {
    padding: 20px 24px;
  }
}

@media (max-width: 400px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}
