/* ========================================
   George Calaway — Milwaukee Real Estate
   Custom CSS: DM Sans + Inter, Teal + Amber
   ======================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@600;700&family=Inter:wght@400;500&display=swap');

/* --- Custom Properties --- */
:root {
  --bg: #FAFAF8;
  --bg-alt: #F0EFEB;
  --bg-card: #FFFFFF;
  --bg-dark: #1B6B6D;
  --text: #1A1A18;
  --text-muted: #5C5B56;
  --text-faint: #8A8985;
  --primary: #1B6B6D;
  --primary-rgb: 27, 107, 109;
  --primary-light: #E6F2F2;
  --primary-dark: #155556;
  --accent: #D4883A;
  --accent-rgb: 212, 136, 58;
  --accent-light: #FDF3E7;
  --border: #D8D6CF;
  --border-light: #F0EFEB;
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --transition: 0.25s ease;
}

html.dark {
  --bg: #141413;
  --bg-alt: #1E1E1C;
  --bg-card: #262624;
  --bg-dark: #0E3A3B;
  --text: #EDEDEB;
  --text-muted: #9C9B96;
  --text-faint: #6A6965;
  --primary: #3BA3A6;
  --primary-rgb: 59, 163, 166;
  --primary-light: #1A2E2E;
  --primary-dark: #4BB8BB;
  --accent: #E09B4E;
  --accent-rgb: 224, 155, 78;
  --accent-light: #2A2118;
  --border: #2E2D2A;
  --border-light: #1E1E1C;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.3);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 2.25rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
}
.overline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--bg-dark);
  color: #fff;
}
.section--dark h2,
.section--dark h3,
.section--dark .overline {
  color: #fff;
}
.section--dark .overline {
  color: rgba(255,255,255,0.7);
}
.section--amber {
  background: var(--accent-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn--white {
  background: #fff;
  color: var(--primary);
}
.btn--white:hover {
  background: var(--primary-light);
}
.btn svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
}
.nav__logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__logo-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav__link:hover,
.nav__link--active {
  color: var(--primary);
}
.nav__phone {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: 1.5rem;
}
.nav__phone svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  margin-left: 1rem;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--primary-dark);
}
.nav-cta svg {
  width: 0.875rem;
  height: 0.875rem;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.75rem;
}
.theme-toggle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.theme-toggle:hover {
  background: var(--bg-alt);
}
.theme-toggle svg {
  width: 1.125rem;
  height: 1.125rem;
}
.icon-sun { display: none; }
html.dark .icon-moon { display: none; }
html.dark .icon-sun { display: block; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 1.75rem;
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav__links {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 99;
  }
  .nav__links.open {
    transform: translateX(0);
  }
  .nav__links li {
    width: 100%;
  }
  .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--border-light);
  }
  .nav__phone {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
  .nav__hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  /* Show phone + CTA inside mobile menu */
  .nav__links::after {
    content: '';
    display: block;
    margin-top: 1.5rem;
  }
}

/* --- Hero (Split) --- */
.hero {
  padding: 4rem 0 3rem;
  background: var(--bg);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__content {
  max-width: 32rem;
}
.hero__overline {
  margin-bottom: 0.75rem;
}
.hero h1 {
  margin-bottom: 1.25rem;
}
.hero__sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__phone-big {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__phone-big svg {
  width: 1.25rem;
  height: 1.25rem;
}
.hero__image {
  position: relative;
}
.hero__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.hero__image::after {
  content: '';
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.2;
}
@media (max-width: 767px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__image {
    order: -1;
    max-width: 20rem;
    margin: 0 auto;
  }
  .hero__content {
    text-align: center;
    max-width: 100%;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__phone-big {
    justify-content: center;
  }
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--primary-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-stat {
  text-align: center;
}
.trust-stat__number {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
}
.trust-stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- Dual Path --- */
.dual-path .container > .overline,
.dual-path .container > h2 {
  text-align: center;
}
.dual-path h2 {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.path-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.path-card--buyer {
  border-top: 4px solid var(--primary);
}
.path-card--seller {
  border-top: 4px solid var(--accent);
}
.path-card h3 {
  margin-bottom: 1rem;
}
.path-card--buyer h3 { color: var(--primary); }
.path-card--seller h3 { color: var(--accent); }
.path-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.path-card ul {
  margin-bottom: 1.75rem;
}
.path-card li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.path-card--buyer li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}
.path-card--seller li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 767px) {
  .dual-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Testimonials (dark band) --- */
.testimonials {
  background: var(--bg-dark);
  padding: 5rem 0;
  color: #fff;
}
.testimonials .overline {
  text-align: center;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}
.testimonials h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 3rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.92);
}
.testimonial-card__quote::before {
  content: '\201C';
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.testimonial-card__author {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 767px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Neighborhoods --- */
.neighborhoods h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.neighborhoods .overline {
  text-align: center;
  margin-bottom: 0.5rem;
}
.neighborhoods .section-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.hood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hood-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hood-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.hood-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.hood-card__body {
  padding: 1.25rem;
}
.hood-card__body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
}
.hood-card__body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
@media (max-width: 767px) {
  .hood-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .hood-grid {
    grid-template-columns: 1fr;
  }
}

/* --- About George (split) --- */
.about-george .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-george__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about-george__content .overline {
  margin-bottom: 0.5rem;
}
.about-george__content h2 {
  margin-bottom: 1.25rem;
}
.about-george__content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
@media (max-width: 767px) {
  .about-george .container {
    grid-template-columns: 1fr;
  }
  .about-george__image {
    max-width: 24rem;
    margin: 0 auto;
  }
}

/* --- How It Works --- */
.how-it-works .overline,
.how-it-works h2 {
  text-align: center;
}
.how-it-works h2 {
  margin-bottom: 3rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.step h3 {
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}
@media (max-width: 767px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- Final CTA Band --- */
.cta-band {
  background: var(--accent-light);
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 {
  margin-bottom: 1rem;
}
.cta-band p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cta-band__email {
  display: block;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.cta-band__email a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 4rem 0 3rem;
  background: var(--bg);
}
.page-hero h1 {
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 40rem;
  line-height: 1.7;
}

/* --- Content sections (about, service pages) --- */
.content-section {
  padding: 3rem 0;
}
.content-section + .content-section {
  padding-top: 0;
}
.content-section h2 {
  margin-bottom: 1rem;
}
.content-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 48rem;
}
.content-section ul {
  margin-bottom: 1.5rem;
  max-width: 48rem;
}
.content-section li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}
.content-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.value-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.value-card h3 {
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
@media (max-width: 767px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ --- */
.faq-list {
  max-width: 48rem;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
}
.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer__inner {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.form-group textarea {
  min-height: 7rem;
  resize: vertical;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.form-status--success { color: #2c7a3e; }
.form-status--error { color: #c0392b; }
.contact-info h3 {
  margin-bottom: 0.75rem;
}
.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-detail:last-child {
  border-bottom: none;
}
.contact-detail__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.contact-detail strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}
.contact-detail span,
.contact-detail a {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.contact-detail a:hover {
  color: var(--primary);
}
@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .nav__logo {
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 20rem;
}
.site-footer h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}
.footer-links li {
  padding: 0.25rem 0;
}
.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
}
.footer-credit {
  font-size: 0.85rem;
  color: var(--text-faint);
}
.footer-credit a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover {
  color: var(--primary);
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Disclaimer Bar --- */
.disclaimer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.disclaimer-bar svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Print --- */
@media print {
  .site-header, .disclaimer-bar, .theme-toggle, .nav__hamburger { display: none; }
  body { padding-bottom: 0; }
}
