/* ============================================
   NURAYA — components.css
   Reusable components used across multiple pages.
   Loaded on every page.
   ============================================ */

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.5rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(250, 250, 247, 0.97);
  padding: 0.25rem 0;
  box-shadow: 0 1px 0 var(--rule);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 96px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

/* Default: header on dark background (hero) — show gold-on-forest */
.logo__img--for-dark {
  display: block;
}

.logo__img--for-light {
  display: none;
}

/* Scrolled: header on light background — swap to color-on-white */
.scrolled .logo__img--for-dark {
  display: none;
}

.scrolled .logo__img--for-light {
  display: block;
}

/* Pages that start with light backgrounds — visible header from the start */
.site-header--light {
  background: rgba(250, 250, 247, 0.97);
  box-shadow: 0 1px 0 var(--rule);
  backdrop-filter: blur(12px);
}

.site-header--light .logo__img--for-dark {
  display: none;
}

.site-header--light .logo__img--for-light {
  display: block;
}

/* When scrolled on light pages, keep showing color-on-white */
.site-header--light.scrolled .logo__img--for-dark {
  display: none;
}

.site-header--light.scrolled .logo__img--for-light {
  display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: var(--fs-caption);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(242, 228, 206, 0.7);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid var(--amber);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { opacity: 1; }

/* Active nav state — emitted by Nuraya_Nav_Walker when $item->current (or an
   ancestor/parent of the current page) is true. Persistent amber triangle,
   matching the hover indicator but always visible on the current page. */
a.nav-link--active { color: var(--cream); }
a.nav-link--active::after { opacity: 1; }

.scrolled .nav-link { color: var(--muted); }
.scrolled .nav-link:hover { color: var(--forest); }
.scrolled a.nav-link--active { color: var(--forest); }

.site-header--light .nav-link { color: var(--muted); }
.site-header--light .nav-link:hover { color: var(--forest); }
.site-header--light a.nav-link--active { color: var(--forest); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Jost', sans-serif;
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn--amber {
  background: var(--amber);
  color: var(--white);
}

.btn--amber:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(242, 228, 206, 0.3);
}

.btn--ghost:hover {
  border-color: var(--cream);
  background: rgba(242, 228, 206, 0.06);
}

.scrolled .btn--ghost {
  color: var(--forest);
  border-color: var(--forest);
}

.scrolled .btn--ghost:hover {
  background: var(--forest);
  color: var(--white);
}

.site-header--light .btn--ghost {
  color: var(--forest);
  border-color: var(--forest);
}

.site-header--light .btn--ghost:hover {
  background: var(--forest);
  color: var(--white);
}

/* ============================================
   NAV TOGGLE (MOBILE)
   ============================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s ease;
  transform-origin: center;
}

.scrolled .nav-toggle span { background: var(--forest); }
.site-header--light .nav-toggle span { background: var(--forest); }

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

/* ============================================
   MOBILE NAV
   ============================================ */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--forest);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-mobile.open { opacity: 1; pointer-events: all; }

.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--cream);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.nav-mobile.open a { opacity: 1; transform: translateY(0); }
.nav-mobile.open a:nth-child(2) { transition-delay: 0.05s; }
.nav-mobile.open a:nth-child(3) { transition-delay: 0.1s; }
.nav-mobile.open a:nth-child(4) { transition-delay: 0.15s; }
.nav-mobile.open a:nth-child(5) { transition-delay: 0.2s; }
.nav-mobile.open a:nth-child(6) { transition-delay: 0.25s; }

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.section-header__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header__lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================
   FRAMEWORK SPINE
   ============================================ */
.framework {
  background: var(--offwhite);
  padding: var(--space-xl) 0;
}

.framework__spine {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.framework__spine::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 1px;
  background: var(--rule);
}

.framework__step {
  text-align: center;
  position: relative;
}

.framework__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}

.framework__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--offwhite);
  border: 1px solid var(--rule);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.framework__step:hover .framework__number {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.framework__label {
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.framework__desc {
  font-size: var(--fs-caption);
  color: var(--muted);
  line-height: 1.55;
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   FRAMEWORK RIBBON — quiet brand watermark
   Promoted from services.css so service-detail pages can reuse it
   with --active / --muted modifiers for phase highlighting.
   ============================================ */
.framework-ribbon {
  background: var(--forest);
  border-top: 1px solid rgba(169, 103, 23, 0.18);
  border-bottom: 1px solid rgba(169, 103, 23, 0.18);
  padding: 1.25rem 0;
}

.framework-ribbon__list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.framework-ribbon__item {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  transition: color 0.3s ease, opacity 0.3s ease;
}

.framework-ribbon__item--active {
  color: var(--amber);
  font-weight: 500;
}

.framework-ribbon__item--muted {
  color: rgba(242, 228, 206, 0.45);
  font-weight: 400;
}

.framework-ribbon__dot {
  color: rgba(169, 103, 23, 0.45);
  font-size: 0.9rem;
  user-select: none;
}

.framework-ribbon__note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: var(--fs-caption);
  color: rgba(242, 228, 206, 0.6);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ============================================
   PILLAR CARDS + PILLARS GRID
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.pillar {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 3px;
  border: 1px solid rgba(4, 45, 34, 0.06);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(4, 45, 34, 0.08); }
.pillar:hover::before { transform: scaleX(1); }

.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Dark-stroke SVGs are invisible on the forest circle; filter flips them white. */
.pillar__icon img {
  display: block;
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.pillar__title {
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.pillar__desc {
  font-size: var(--fs-caption);
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================
   FOUNDER CARD
   ============================================ */
.founder-card {
  background: var(--white);
  border-radius: 3px;
  border: 1px solid rgba(4, 45, 34, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(4, 45, 34, 0.08);
}

.founder-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--dew);
  overflow: hidden;
}

.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-card__body {
  padding: 1.5rem;
}

.founder-card__name {
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.founder-card__role {
  font-size: var(--fs-caption);
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.founder-card__tag {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(169, 103, 23, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.founder-card__teaser {
  font-size: var(--fs-caption);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.founder-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-caption);
  color: var(--muted);
  transition: color 0.3s ease;
}

.founder-card__linkedin:hover {
  color: var(--forest);
}

/* ============================================
   ADJACENT PILLAR — compact sibling-pillar card.
   Used on Service Detail (adjacent pillars) and
   Engagement Type (related services).
   ============================================ */
.adjacent-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: var(--space-lg);
  text-align: left;
}

.adjacent-pillars--five {
  grid-template-columns: repeat(5, 1fr);
}

.adjacent-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.25rem 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.adjacent-pillar:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 45, 34, 0.05);
}

.adjacent-pillar__name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--forest);
}

.adjacent-pillar__hook {
  font-size: var(--fs-caption);
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

/* ============================================
   STATS
   ============================================ */
.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.stat__number {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: var(--fs-caption);
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================
   ARTICLE PULL-QUOTE — inline pull-quote variant
   used inside prose flow (article.html body,
   how-we-partner.html shared-success section).
   ============================================ */
.article-pullquote {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.article-pullquote p {
  font-weight: 300;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--forest);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ============================================
   PROSE — shared body typography for long-form
   reading (articles, legal pages, future detail pages).
   ============================================ */
.prose p {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.75em;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.3;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose strong {
  font-weight: 500;
}

.prose a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s ease;
}

.prose a:hover {
  text-decoration: underline;
}

.prose a:visited {
  color: var(--amber-light);
}

.prose blockquote {
  border-left: 3px solid var(--amber);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}

.prose blockquote p {
  font-weight: 300;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--forest);
  line-height: 1.65;
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  margin: 1.75em 0;
  padding-left: 0;
  list-style: none;
}

.prose ul li,
.prose ol li {
  padding-left: 1.5rem;
  position: relative;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 0.5em;
}

.prose ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 500;
}

.prose ol {
  counter-reset: prose-ol;
}

.prose ol li::before {
  counter-increment: prose-ol;
  content: counter(prose-ol) '.';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 500;
}

.prose figure {
  margin: 2.5rem 0;
}

.prose figure img {
  width: 100%;
  border-radius: 3px;
}

.prose figcaption {
  font-size: var(--fs-caption);
  font-style: italic;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ============================================
   INSIGHT CARDS
   ============================================ */
.insight-card {
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.insight-card:hover { transform: translateY(-4px); }

.insight-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--dew);
  border-radius: 3px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
}
.insight-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.insight-card:hover .insight-card__img img { transform: scale(1.04); }

.insight-card__topic {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.insight-card__title {
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.insight-card__meta {
  font-size: var(--fs-caption);
  color: var(--muted);
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--forest);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: 10%;
  width: 0;
  height: 0;
  border-left: 180px solid transparent;
  border-right: 180px solid transparent;
  border-bottom: 380px solid rgba(169, 103, 23, 0.04);
  pointer-events: none;
}

.cta-band__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-band__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-band__text {
  font-size: var(--fs-lead);
  font-weight: 300;
  color: rgba(242, 228, 206, 0.6);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--forest);
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid rgba(242, 228, 206, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: var(--space-lg);
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer__logo-img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

.footer__brand-text {
  font-size: var(--fs-caption);
  color: rgba(242, 228, 206, 0.45);
  line-height: 1.65;
  max-width: 280px;
  margin-top: 1rem;
}

.footer__heading {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: var(--fs-caption);
  color: rgba(242, 228, 206, 0.55);
  transition: color 0.3s ease;
}

.footer__links a:hover { color: var(--cream); }

.footer__contact-item {
  font-size: var(--fs-caption);
  color: rgba(242, 228, 206, 0.55);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer__contact-item strong {
  color: rgba(242, 228, 206, 0.75);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(242, 228, 206, 0.08);
}

.footer-bottom__copy {
  font-size: var(--fs-caption);
  color: rgba(242, 228, 206, 0.3);
}

.footer-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-dots__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(169, 103, 23, 0.3);
}

.footer-dots__dot:first-child { background: var(--amber); }

.footer-bottom__credit {
  font-size: var(--fs-caption);
  color: rgba(242, 228, 206, 0.3);
}

.footer-bottom__credit a {
  color: rgba(242, 228, 206, 0.45);
  transition: color 0.3s ease;
}

.footer-bottom__credit a:hover { color: var(--cream); }

/* ============================================
   RESPONSIVE — COMPONENTS
   ============================================ */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  /* Footer: logo full-width on top, then 3 equal columns of links */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-grid > div:first-child .footer__logo-img,
  .footer-grid > div:first-child .footer__brand-text {
    margin-left: auto;
    margin-right: auto;
  }
  .adjacent-pillars { grid-template-columns: repeat(2, 1fr); }
  .adjacent-pillars--five { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .logo__img { height: 64px; }

  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }

  .framework__spine { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .framework__spine::before { display: none; }

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

  /* Footer: keep 2 cols, logo and contact span full-width centered */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-grid > div:first-child .footer__logo-img,
  .footer-grid > div:first-child .footer__brand-text {
    margin-left: auto;
    margin-right: auto;
  }
  .footer__logo-img { max-width: 240px; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .prose blockquote { padding-left: 1rem; }

  .article-pullquote p { font-size: 1.3rem; }

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

@media (max-width: 480px) {
  /* Footer collapses to 1 column, content centered for visual balance */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-grid > div { text-align: center; }
  .footer__links { align-items: center; }
  .footer__logo-img { max-width: 200px; }
  .footer__brand-text { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .framework__spine { grid-template-columns: 1fr; gap: 2rem; }
  .framework__step { text-align: left; display: flex; gap: 1.25rem; align-items: flex-start; }
  .framework__icon { flex-shrink: 0; margin: 0; }
  .framework__number { flex-shrink: 0; width: 48px; height: 48px; font-size: 0.75rem; }
  .framework__desc { margin: 0; max-width: 100%; }

  .pillars { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; gap: 1.5rem; }
  .adjacent-pillars { grid-template-columns: 1fr; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--forest);
  padding: 1rem 0;
  z-index: 1000;
  border-top: 1px solid rgba(242, 228, 206, 0.1);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__text {
  color: rgba(242, 228, 206, 0.8);
  font-size: var(--fs-caption);
  margin: 0;
}

.cookie-banner__text a {
  color: var(--cream);
  text-decoration: underline;
  margin-left: 0.25rem;
}

.cookie-banner__accept {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}
