/**
 * TruOath Nutrition Footer CSS
 * Aesop-inspired: dark charcoal (#252525) base, off-white text, newsletter top band
 */

/* ==========================================================================
   Footer Base
   ========================================================================== */
.truoath-footer {
  background-color: var(--truoath-dark);  /* #252525 — exact Aesop charcoal */
  color: rgba(255, 254, 242, 0.75);        /* Aesop's off-cream at 75% */
}

/* ==========================================================================
   Top: Newsletter Band
   ========================================================================== */
.truoath-footer__newsletter-band {
  padding: 60px 0 40px; /* Reduced from 90px 0 80px */
  border-bottom: 1px solid rgba(255, 254, 242, 0.08);
}

.truoath-footer__newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.truoath-footer__newsletter-kicker {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--truoath-tan);
  margin-bottom: 16px;
  display: block;
}

.truoath-footer__newsletter-heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: #fffef2;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.truoath-footer__newsletter-sub {
  font-size: var(--text-sm);
  color: rgba(255, 254, 242, 0.65);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 0;
}

/* Newsletter Form */
.truoath-footer__newsletter-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 254, 242, 0.55);
  margin-bottom: 12px;
}

.truoath-footer__newsletter-row {
  display: flex;
  width: 100%;
}

.truoath-footer__newsletter-row input[type="email"] {
  flex: 1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;

  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,254,242,0.15);
  border-radius: 10px;

  color: #fffef2;
  caret-color: #fffef2;

  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.4;

  padding: 18px 22px;

  outline: none;
  box-shadow: none;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.truoath-footer__newsletter-row input[type="email"]::placeholder {
  color: rgba(255,254,242,0.38);
}

.truoath-footer__newsletter-row input[type="email"]:hover {
  border-color: rgba(255,254,242,0.22);
}

.truoath-footer__newsletter-row input[type="email"]:focus {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,254,242,0.35);

  box-shadow: 0 0 0 3px rgba(255,255,255,0.03);

  outline: none;
}

.truoath-footer__newsletter-row input[type="email"]:invalid {
  box-shadow: none !important;
  outline: none !important;
}

.truoath-footer__newsletter-row input[type="email"]::selection {
  background: rgba(255,254,242,0.18);
  color: #fffef2;
}

.truoath-footer__newsletter-row button {
  display: none;
}

.truoath-footer__newsletter-consent {
  font-size: 11px;
  color: rgba(255,254,242,0.65);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 520px;
}

/* ==========================================================================
   Middle: Links Grid
   ========================================================================== */
.truoath-footer__body {
  padding: 40px 0 40px; /* Reduced from 70px 0 60px */
}

.truoath-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 30px; /* Reduced from 50px */
}

/* Brand column */
.truoath-footer__logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fffef2;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: opacity 0.3s ease;
}

.truoath-footer__logo:hover {
  opacity: 0.75;
  text-decoration: none;
}

.truoath-footer__brand-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 254, 242, 0.5);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 260px;
}

/* Social icons */
.truoath-footer__social {
  display: flex;
  gap: 18px;
  align-items: center;
}

.truoath-footer__social a {
  color: rgba(255, 254, 242, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.truoath-footer__social a:hover {
  color: #fffef2;
  text-decoration: none;
}

/* Column headings */
.truoath-footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 254, 242, 0.6); /* was 0.4 — bumped for WCAG */
  margin-bottom: 24px;
  font-weight: 400;
}

/* Link lists */
.truoath-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.truoath-footer__links li {
  margin-bottom: 12px;
}

.truoath-footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 254, 242, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.truoath-footer__links a:hover {
  color: #fffef2;
  text-decoration: none;
}

/* ==========================================================================
   Bottom Bar
   ========================================================================== */
.truoath-footer__bottom-bar {
  border-top: 1px solid rgba(255, 254, 242, 0.1);
  padding: 24px 0;
}

.truoath-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.truoath-footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 254, 242, 0.65); /* was 0.35 — fails WCAG AA */
  letter-spacing: 0.02em;
}

.truoath-footer__bottom-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.truoath-footer__bottom-links a {
  font-size: var(--text-xs);
  color: rgba(255, 254, 242, 0.65); /* was 0.35 — bumped for WCAG */
  text-decoration: none;
  transition: color 0.3s ease;
}

.truoath-footer__bottom-links a:hover {
  color: rgba(255, 254, 242, 0.7);
  text-decoration: none;
}

.truoath-footer__bottom-links span {
  font-size: var(--text-xs);
  color: rgba(255, 254, 242, 0.6); /* bumped from 0.2 for WCAG AA compliance */
  font-style: italic;
  font-family: var(--font-heading);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .truoath-footer__newsletter-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .truoath-footer__newsletter-heading {
    font-size: var(--text-3xl);
  }

  .truoath-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .truoath-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .truoath-footer__newsletter-band {
    padding: 60px 0;
  }

  .truoath-footer__newsletter-heading {
    font-size: var(--text-3xl);
  }

  .truoath-footer__newsletter-row {
    flex-direction: column;
  }

  .truoath-footer__newsletter-row input[type="email"] {
    border-right: 1px solid rgba(255, 254, 242, 0.25);
    border-bottom: none;
  }

  .truoath-footer__newsletter-row button {
    padding: 14px;
    text-align: center;
    border: 1px solid rgba(255, 254, 242, 0.25);
    border-top: none;
  }

  .truoath-footer__body {
    padding: 50px 0 40px;
  }

  .truoath-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .truoath-footer__bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .truoath-footer__bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .truoath-footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer-signature{
    color: #c9b38a;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    letter-spacing: 0.05em;
    opacity: 0.95;
    transition: all 0.3s ease;

    cursor: default;
    user-select: none;
}

.footer-signature:hover{
    color: #f0dcc0;
    text-shadow: 0 0 12px rgba(201,179,138,0.35);
}

/* ==========================================================================
   FOOTER — Premium Refinements (consolidated)
   ========================================================================== */

/* Footer links — refined spacing */
.truoath-footer__links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 2.2;
  transition: opacity 0.2s ease;
}

/* Footer headings — refined sizing */
.truoath-footer__heading {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255, 254, 242, 0.6);
}

/* Legal line — subtle but WCAG-compliant */
.truoath-footer__copyright {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 254, 242, 0.6);
}

/* ==========================================================================
   NEWSLETTER INPUT — Rounded box (intentional exception to sharp-edge system)
   ========================================================================== */
.truoath-footer__newsletter-row input[type="email"],
.truoath-footer__newsletter-band input[type="email"] {
  border-radius: 10px;
  border: 1px solid rgba(255,254,242,0.18);
  background: rgba(255,255,255,0.04);
  color: #fffef2;
  padding: 18px 22px;
  font-size: 14px;
  font-family: var(--font-body);
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.truoath-footer__newsletter-row input[type="email"]:focus,
.truoath-footer__newsletter-band input[type="email"]:focus {
  border-color: rgba(255,254,242,0.38);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.03);
}
.truoath-footer__newsletter-row input[type="email"]::placeholder,
.truoath-footer__newsletter-band input[type="email"]::placeholder {
  color: rgba(255,254,242,0.38);
}
