/* Florida Geology — Prestige Editorial Redesign
   Fonts: Cormorant Garamond (headings) + IBM Plex Sans (body)
   Palette: sand #C2A882, limestone #E8E0D0, slate #6B7280, dark #1a1a1a
   Gold accent lines and atmospheric depth throughout */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

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

:root {
  --sand: #C2A882;
  --sand-light: #d4be9a;
  --sand-glow: rgba(194, 168, 130, .15);
  --limestone: #E8E0D0;
  --limestone-light: #f3efe7;
  --slate: #6B7280;
  --slate-light: #9CA3AF;
  --dark: #1a1a1a;
  --darker: #111;
  --darkest: #0a0a0a;
  --white: #FAFAF8;
  --off-white: #f5f3ef;
  --accent: #8B6914;
  --link: #5B6E3E;
  --link-hover: #3D4A2A;
  --max-width: 1200px;
  --body-font: 'IBM Plex Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --heading-font: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --transition: .25s ease;
  --transition-slow: .5s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  font-weight: 400;
}

/* ── Utility ─────────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.gold-rule {
  border: none;
  height: 1px;
  background: var(--sand);
  margin: 0;
  opacity: .6;
}

.gold-rule-thin {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sand), transparent);
  margin: 2.5rem 0;
}

.section-label {
  font-family: var(--body-font);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .75rem;
  display: block;
}

/* ── Header / Navigation ─────────────────────────────── */

.site-header {
  background: rgba(26, 26, 26, .97);
  color: var(--limestone);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid rgba(194, 168, 130, .1);
}

.site-header.scrolled {
  background: rgba(17, 17, 17, .88);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  border-bottom-color: rgba(194, 168, 130, .08);
}

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

.site-logo {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sand);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color var(--transition);
}

.site-logo:hover { color: var(--limestone); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(194, 168, 130, .25);
  border-radius: 4px;
  color: var(--limestone);
  font-size: 1.5rem;
  cursor: pointer;
  padding: .25rem .5rem;
  line-height: 1;
  transition: border-color var(--transition);
}

.nav-toggle:hover {
  border-color: var(--sand);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--limestone);
  margin: 4px 0;
  transition: transform var(--transition), opacity var(--transition);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.main-nav a {
  color: rgba(232, 224, 208, .7);
  text-decoration: none;
  font-family: var(--body-font);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding: .25rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width .3s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--sand);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

/* ── Hero — Homepage full-width ──────────────────────── */

.hero-full {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--darkest);
}

.hero-full-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  filter: brightness(.5) contrast(1.1) saturate(1.1);
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-full:hover .hero-full-bg {
  transform: scale(1.07);
}

/* Bottom gradient */
.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, .95) 0%,
    rgba(10, 10, 10, .7) 30%,
    rgba(10, 10, 10, .25) 60%,
    transparent 100%
  );
  z-index: 1;
}

/* Subtle grain texture */
.hero-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  z-index: 2;
  pointer-events: none;
}

.hero-full-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 5.5rem;
  width: 100%;
}

.hero-full-content .section-label {
  color: var(--sand);
  margin-bottom: 1.5rem;
  font-size: .75rem;
  opacity: .9;
}

.hero-full-content h1 {
  font-family: var(--heading-font);
  font-size: 4.2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  max-width: 720px;
  letter-spacing: -.01em;
}

.hero-full-content p {
  color: rgba(232, 224, 208, .8);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 0;
  font-weight: 300;
}

.hero-rule {
  width: 60px;
  height: 2px;
  background: var(--sand);
  border: none;
  margin: 1.75rem 0;
}

/* ── Hero — Subpage (shorter) ────────────────────────── */

.hero {
  background: var(--dark);
  color: var(--limestone);
  padding: 5rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind text */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(194, 168, 130, .04) 0%, transparent 70%);
  pointer-events: none;
}

/* Grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}

.hero h1 {
  font-family: var(--heading-font);
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -.01em;
}

.hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(232, 224, 208, .75);
}

.hero .hero-rule {
  margin: 1.5rem auto;
}

/* ── Featured Article — Asymmetric Layout ────────────── */

.featured-article {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0;
}

.featured-article-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.featured-article-image:hover img {
  transform: scale(1.04);
}

/* Gold border accent on hover */
.featured-article-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(194, 168, 130, .15);
  border-radius: 6px;
  pointer-events: none;
  transition: border-color var(--transition);
}

.featured-article-image:hover::after {
  border-color: rgba(194, 168, 130, .35);
}

.featured-article-text .section-label {
  margin-bottom: .5rem;
}

.featured-article-text h2 {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.featured-article-text h2 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.featured-article-text h2 a:hover {
  color: var(--link);
}

.featured-article-text p {
  font-size: 1.02rem;
  color: var(--slate);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.read-more {
  font-family: var(--body-font);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color var(--transition), gap var(--transition);
}

.read-more:hover {
  color: var(--accent);
  gap: .85rem;
}

.read-more::after {
  content: '\2192';
  font-size: 1.05rem;
  transition: transform var(--transition);
}

.read-more:hover::after {
  transform: translateX(2px);
}

/* ── Layout ──────────────────────────────────────────── */

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

/* ── Typography ──────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  color: var(--dark);
  line-height: 1.2;
}

article h1 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2.5rem 0 .85rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 .5rem;
}

p { margin-bottom: 1.25rem; }

a {
  color: var(--link);
  transition: color var(--transition);
}

a:hover { color: var(--link-hover); }

ul, ol {
  margin: 0 0 1.25rem 1.5rem;
}

li { margin-bottom: .4rem; }

blockquote {
  border-left: 3px solid var(--sand);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, var(--limestone-light) 0%, rgba(243, 239, 231, .5) 100%);
  font-style: italic;
  border-radius: 0 6px 6px 0;
  box-shadow: var(--shadow-sm);
}

/* ── Cards ───────────────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(194, 168, 130, .2);
}

/* Gold top accent on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: 2;
  border-radius: 8px 8px 0 0;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

/* Gradient overlay on card images */
.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.15), transparent);
  pointer-events: none;
  z-index: 1;
}

.card-image img,
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s ease;
}

.card-image img {
  height: 100%;
}

.card:hover .card-image img,
.card:hover img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.5rem 1.75rem;
}

.card-body .section-label {
  font-size: .65rem;
  margin-bottom: .5rem;
  letter-spacing: .2em;
}

.card-body h3 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .7rem;
}

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

.card-body h3 a:hover {
  color: var(--link);
}

.card-body p {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Section Heading with Gold Rule ──────────────────── */

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: .75rem;
  margin-top: 0;
}

.section-heading p {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-heading .hero-rule {
  margin: 1.25rem auto;
}

/* ── Topic Grid — Explore by Topic ───────────────────── */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.topic-card {
  background: var(--limestone-light);
  border-radius: 8px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  border: 1px solid rgba(194, 168, 130, .12);
  transition: all var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.topic-card:hover {
  background: var(--limestone);
  border-color: var(--sand);
  transform: translateY(-3px);
  color: var(--dark);
  box-shadow: var(--shadow-md);
}

/* Gold bottom accent on topic cards */
.topic-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--sand);
  transition: width .3s ease;
  border-radius: 0 0 8px 8px;
}

.topic-card:hover::after {
  width: 60%;
}

.topic-card h3 {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 600;
  margin: .75rem 0 .5rem;
}

.topic-card p {
  font-size: .88rem;
  color: var(--slate);
  margin-bottom: 0;
  line-height: 1.55;
}

.topic-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: .25rem;
}

/* ── Definition Box (featured snippets) ──────────────── */

.definition-box {
  background: linear-gradient(135deg, var(--limestone-light) 0%, rgba(232, 224, 208, .3) 100%);
  border-left: 3px solid var(--sand);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* Subtle inner top shadow for depth */
.definition-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 3px;
  right: 0;
  height: 1px;
  background: rgba(194, 168, 130, .15);
  border-radius: 0 8px 0 0;
}

.definition-box h2,
.definition-box h3,
.definition-box strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .6rem;
  color: var(--dark);
}

.definition-box p {
  margin-bottom: 0;
  font-size: .96rem;
  line-height: 1.75;
}

.definition-box p + p {
  margin-top: .75rem;
}

/* ── FAQ Section ─────────────────────────────────────── */

.faq { margin: 2.5rem 0; }

.faq h2 { margin-bottom: 1.25rem; }

.faq details {
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 1.25rem 0;
}

.faq details[open] {
  padding-bottom: 1.5rem;
}

.faq summary {
  font-family: var(--heading-font);
  font-weight: 600;
  cursor: pointer;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: .85rem;
  transition: color var(--transition);
}

.faq summary:hover {
  color: var(--link);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: '+';
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--sand);
  flex-shrink: 0;
  width: 1.2rem;
  text-align: center;
  transition: transform .3s ease;
}

.faq details[open] summary::before {
  content: '\2212';
}

.faq details p,
.faq details > div {
  margin-top: .85rem;
  padding-left: 2.05rem;
  font-size: .96rem;
  line-height: 1.75;
}

/* FAQ h3 used as question headings in some pages */
.faq h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 .5rem;
}

/* ── Article / Content ───────────────────────────────── */

.article-meta {
  font-family: var(--body-font);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.75rem;
}

figure {
  margin: 2.5rem 0;
}

figure img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

figcaption {
  font-size: .78rem;
  color: var(--slate);
  margin-top: .65rem;
  font-style: italic;
  line-height: 1.55;
  padding-left: .5rem;
  border-left: 2px solid rgba(194, 168, 130, .3);
}

/* Drop cap for first paragraph of articles */
article > p:first-of-type::first-letter {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  font-weight: 600;
  float: left;
  line-height: .85;
  margin-right: .12em;
  margin-top: .08em;
  color: var(--sand);
}

/* ── Sidebar ─────────────────────────────────────────── */

.sidebar {
  font-size: .92rem;
}

.sidebar h3 {
  font-size: 1.05rem;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--dark);
  padding-bottom: .6rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--sand);
  margin-top: 2rem;
}

.sidebar h3:first-child {
  margin-top: 0;
}

.sidebar ul {
  list-style: none;
  margin-left: 0;
}

.sidebar li {
  padding: .6rem 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.sidebar li:last-child {
  border-bottom: none;
}

.sidebar a {
  text-decoration: none;
  font-weight: 400;
}

/* ── Hub Page ────────────────────────────────────────── */

.hub-intro {
  font-size: 1.1rem;
  max-width: 780px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ── Contact Form ────────────────────────────────────── */

.contact-form {
  max-width: 600px;
}

.contact-form label {
  display: block;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  margin-top: 1.5rem;
  color: var(--slate);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 6px;
  font-family: var(--body-font);
  font-size: .95rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sand);
  box-shadow: 0 0 0 3px var(--sand-glow);
}

.contact-form textarea { min-height: 170px; resize: vertical; }

.contact-form button {
  margin-top: 1.75rem;
  background: var(--dark);
  color: var(--limestone);
  border: none;
  padding: .9rem 2.75rem;
  font-family: var(--body-font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-form button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  background: var(--darker);
  color: rgba(232, 224, 208, .7);
  padding: 0;
  margin-top: 0;
  font-size: .88rem;
  position: relative;
}

/* Subtle upward gradient for depth */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,.15), transparent);
  pointer-events: none;
}

.footer-top {
  border-top: 2px solid var(--sand);
}

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

.footer-brand p {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(232, 224, 208, .45);
  margin-top: .85rem;
}

.footer-brand .site-logo {
  font-size: 1.3rem;
}

.site-footer h4 {
  font-family: var(--body-font);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.1rem;
}

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

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

.site-footer a {
  color: rgba(232, 224, 208, .6);
  text-decoration: none;
  transition: color var(--transition);
  font-size: .88rem;
}

.site-footer a:hover { color: var(--sand); }

.footer-bottom {
  border-top: 1px solid rgba(194, 168, 130, .08);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(232, 224, 208, .3);
}

.footer-bottom a {
  color: rgba(232, 224, 208, .4);
}

/* Legacy footer-links support */
.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── Breadcrumbs ─────────────────────────────────────── */

.breadcrumbs {
  font-family: var(--body-font);
  font-size: .78rem;
  color: var(--slate-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--slate);
  transition: color var(--transition);
}

.breadcrumbs a:hover { color: var(--link); }
.breadcrumbs span { margin: 0 .4rem; color: var(--sand); }

/* ── Limestone band sections ─────────────────────────── */

.limestone-band {
  background: linear-gradient(180deg, var(--limestone-light) 0%, var(--off-white) 100%);
  border-top: 1px solid rgba(194, 168, 130, .12);
  border-bottom: 1px solid rgba(194, 168, 130, .12);
  position: relative;
}

/* ── Scroll Reveal Animation ─────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 1024px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .featured-article {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .main-nav ul {
    gap: 1.25rem;
  }

  .main-nav a {
    font-size: .75rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, .98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 1.5rem 2rem 1.75rem;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
    border-bottom: 1px solid rgba(194, 168, 130, .1);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: .85rem;
  }

  .main-nav a { font-size: .88rem; }

  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-full {
    min-height: 70vh;
  }

  .hero-full-content h1 {
    font-size: 2.6rem;
  }

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

  .hero {
    padding: 3.5rem 1.5rem 2.5rem;
  }

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

  .container {
    padding: 2.5rem 1.25rem;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  article > p:first-of-type::first-letter {
    font-size: 2.8rem;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .header-inner { padding: .65rem 1.25rem; }
  .hero-full-content h1 { font-size: 2.1rem; }
  .hero-full-content p { font-size: 1rem; }
  .hero-full { min-height: 60vh; }
  .hero h1 { font-size: 1.8rem; }
  article h1 { font-size: 2rem; }
}
