/* ============================================================
   TRUE LIGHT INTERNATIONAL CHURCH — Design Tokens & Styles
   Color palette inspired by brand: Orange/Gold + Navy Blue
   Reference: CrossCity Church layout style
   ============================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Work+Sans:wght@300..700&display=swap');

/* --- Type Scale --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* TRUE LIGHT brand palette — warm orange/gold + deep navy */
  --color-bg:             #FAFAF7;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #F5F3EF;
  --color-surface-offset: #EDE9E1;
  --color-divider:        #DDD8CF;
  --color-border:         #D4CFC5;

  --color-text:           #1A1A2E;
  --color-text-muted:     #5A5A6E;
  --color-text-faint:     #9A9AAE;
  --color-text-inverse:   #FFFFFF;

  /* Primary: Deep Navy (from logo) */
  --color-primary:        #1B2A5B;
  --color-primary-hover:  #152247;
  --color-primary-active: #0F1A33;
  --color-primary-light:  #2D3E72;

  /* Accent: Warm Orange/Gold (from logo) */
  --color-accent:         #E8891C;
  --color-accent-hover:   #D47A15;
  --color-accent-active:  #B86A0F;
  --color-accent-light:   #F5A84A;

  /* Section backgrounds */
  --color-section-dark:   #1B2A5B;
  --color-section-warm:   #E8891C;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(27, 42, 91, 0.06);
  --shadow-md: 0 4px 12px rgba(27, 42, 91, 0.08);
  --shadow-lg: 0 12px 32px rgba(27, 42, 91, 0.12);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* Dark mode */
[data-theme="dark"] {
  --color-bg:             #0F0F1A;
  --color-surface:        #161625;
  --color-surface-2:      #1C1C30;
  --color-surface-offset: #1A1A2E;
  --color-divider:        #2A2A40;
  --color-border:         #3A3A55;
  --color-text:           #E0E0EA;
  --color-text-muted:     #9A9AB0;
  --color-text-faint:     #6A6A80;
  --color-text-inverse:   #1A1A2E;
  --color-primary:        #5B7AD4;
  --color-primary-hover:  #7B96E0;
  --color-primary-active: #4A68BF;
  --color-accent:         #F5A84A;
  --color-accent-hover:   #F5B86A;
  --color-accent-active:  #E8891C;
  --color-section-dark:   #0F0F1A;
  --color-section-warm:   #D47A15;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #0F0F1A;
    --color-surface:        #161625;
    --color-surface-2:      #1C1C30;
    --color-surface-offset: #1A1A2E;
    --color-divider:        #2A2A40;
    --color-border:         #3A3A55;
    --color-text:           #E0E0EA;
    --color-text-muted:     #9A9AB0;
    --color-text-faint:     #6A6A80;
    --color-text-inverse:   #1A1A2E;
    --color-primary:        #5B7AD4;
    --color-primary-hover:  #7B96E0;
    --color-primary-active: #4A68BF;
    --color-accent:         #F5A84A;
    --color-accent-hover:   #F5B86A;
    --color-accent-active:  #E8891C;
    --color-section-dark:   #0F0F1A;
    --color-section-warm:   #D47A15;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

/* ============================================================
   GLOBAL STYLES
   ============================================================ */

body {
  font-family: var(--font-body);
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  color: var(--color-accent-hover);
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-default);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.header--transparent {
  background: transparent;
}

.header--scrolled {
  background: rgba(27, 42, 91, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .header--scrolled {
  background: rgba(15, 15, 26, 0.92);
}

[data-theme="dark"] .header--scrolled .header__logo-text {
  color: var(--color-text);
}

[data-theme="dark"] .header--scrolled .nav__link {
  color: var(--color-text);
}

[data-theme="dark"] .header--scrolled .nav__link:hover {
  color: var(--color-accent);
}

[data-theme="dark"] .header--scrolled .nav__toggle span {
  background: var(--color-text);
}

[data-theme="dark"] .header--scrolled .theme-toggle {
  background: rgba(255,255,255,0.08);
  color: var(--color-text);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text-inverse);
}

.header__logo img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-sm);
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text-inverse);
  transition: color 0.3s var(--ease-out);
}

.header__logo-text span {
  color: var(--color-accent);
}

/* Scrolled state: white text on light header */
.header--scrolled .header__logo-text {
  color: #FFFFFF;
}

.header--scrolled .header__logo-text span {
  color: #FFFFFF;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-inverse);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-2) 0;
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.header--scrolled .nav__link {
  color: #FFFFFF;
}

.header--scrolled .nav__link:hover {
  color: var(--color-accent-light);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-accent-light);
}

.header--scrolled .nav__toggle span {
  background: #FFFFFF;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-inverse);
  background: var(--color-accent);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}

.nav__cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 110;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text-inverse);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100dvh;
    background: var(--color-section-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-24) var(--space-8) var(--space-8);
    gap: var(--space-4);
    transition: right 0.35s var(--ease-out);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { right: 0; }
  .nav__link { font-size: var(--text-lg); }
  .nav__cta { margin-top: var(--space-4); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a0a1a;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__video-bg iframe,
.hero__video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 30, 0.55) 0%,
    rgba(27, 42, 91, 0.45) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: var(--space-8) var(--space-4);
}

.hero__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.3);
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5D998 40%, #E8891C 70%, #F5A84A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.25));
}

.hero__title span {
  background: linear-gradient(135deg, #F5A84A 0%, #E8891C 50%, #FFD480 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: var(--text-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,217,152,0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-inline: auto;
  font-weight: 300;
  filter: drop-shadow(0 1px 8px rgba(0,0,0,0.2));
}

.hero__cta-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  border: 2px solid var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-text-inverse);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-inverse);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--color-text-inverse);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--accent-fill {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}
.btn--accent-fill:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

/* ============================================================
   SECTION PATTERNS
   ============================================================ */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-32)) var(--space-4);
}

.section--dark {
  background: var(--color-section-dark);
  color: var(--color-text-inverse);
}

.section--warm {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

.section--alt {
  background: var(--color-surface-2);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section__label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section--dark .section__label,
.section--warm .section__label {
  color: var(--color-accent-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

.section--dark .section__title {
  color: var(--color-text-inverse);
}

.section--dark .section__subtitle {
  color: rgba(255,255,255,0.75);
}

.section--warm .section__title {
  color: var(--color-text-inverse);
}

/* ============================================================
   PLAN YOUR VISIT / SPLIT SECTION
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}
.split--reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .split--reverse {
    direction: ltr;
  }
}

.split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.split__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.split__images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split__images img:first-child {
  transform: rotate(-2deg);
}
.split__images img:nth-child(2) {
  transform: rotate(1deg);
  margin-top: var(--space-4);
}
.split__images img:nth-child(3) {
  transform: rotate(1.5deg);
}
.split__images img:nth-child(4) {
  transform: rotate(-1.5deg);
  margin-top: var(--space-4);
}

/* ============================================================
   CARDS (values, ministries, team)
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body {
  padding: var(--space-6);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.card__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Value cards with accent top border */
.card--value {
  border-top: 4px solid var(--color-accent);
  text-align: left;
}

[data-theme="dark"] .card {
  background: var(--color-surface);
}

/* Team card */
.team-card {
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-card__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.team-card__body {
  padding: var(--space-5);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  text-align: center;
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-4);
  position: relative;
  overflow: hidden;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.cta-banner__text {
  font-size: var(--text-base);
  margin-bottom: var(--space-8);
  max-width: 55ch;
  margin-inline: auto;
  opacity: 0.9;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */

.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 42, 91, 0.8) 0%,
    rgba(27, 42, 91, 0.65) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-24) var(--space-4) var(--space-12);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  max-width: 55ch;
  margin-inline: auto;
  font-weight: 300;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--color-section-dark);
  color: var(--color-text-inverse);
  padding: var(--space-16) var(--space-4) var(--space-6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__brand-logo img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-sm);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
}

.footer__brand-name span {
  color: var(--color-accent);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  max-width: 30ch;
  line-height: 1.5;
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-light);
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer__links a:hover {
  color: var(--color-accent-light);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-3);
}

.footer__contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  opacity: 0.7;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-text-inverse);
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}

.footer__social a:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

.footer__bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.footer__bottom a:hover {
  color: var(--color-accent-light);
}

/* ============================================================
   SCROLL ANIMATIONS (CSS-only)
   ============================================================ */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* Fallback for browsers without scroll-timeline */
@supports not (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
  }
  .fade-in.visible {
    opacity: 1;
  }
}

/* ============================================================
   DARK MODE TOGGLE
   ============================================================ */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-text-inverse);
  cursor: pointer;
  transition: background var(--transition-interactive), color 0.3s var(--ease-out);
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.2);
}

.header--scrolled .theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.header--scrolled .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   FORM STYLES
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 42, 91, 0.1);
  outline: none;
}

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

/* ============================================================
   UTILITY
   ============================================================ */

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
