/* ============================================================
   TEJOMARG FOUNDATION — Shared Stylesheet (Refined Edition)
   Brand: #FF700A orange · warm graphite neutrals
   Direction: editorial / institutional luxury — confident
   restraint, fine hairlines, soft deep shadows, paper-warm
   whites, and orange used as a deliberate accent.
   ============================================================ */

:root {
  /* Brand palette — orange stays the signature accent */
  --tm-orange:        #FF700A;
  --tm-orange-deep:   #C9530A;
  --tm-orange-bright: #FF8F3C;
  --tm-orange-glow:   #FFB877;
  --tm-orange-tint:   #FBE7D4;
  --tm-orange-haze:   #FCF6EF;

  /* Warm graphite neutrals — paper, not plastic */
  --tm-gray:          #6E665D;
  --tm-gray-deep:     #4A443D;
  --tm-gray-soft:     #A89F94;
  --tm-gray-mist:     #EAE5DD;
  --tm-gray-haze:     #F4F1EB;

  --tm-ink:           #1B1814;
  --tm-ink-soft:      #36302A;
  --tm-paper:         #FFFFFF;
  --tm-off-white:     #FBFAF7;

  /* Gradients — refined, not glossy */
  --gloss-orange: linear-gradient(135deg, #FF9A4D 0%, #FF700A 52%, #D2560A 100%);
  --gloss-orange-sheen: linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 55%, rgba(0,0,0,0.06) 100%);
  --gloss-dark: linear-gradient(165deg, #221E19 0%, #15120F 100%);
  --gloss-light: linear-gradient(180deg, #FFFFFF 0%, #FBFAF7 100%);
  --gloss-bg: linear-gradient(180deg, #FFFFFF 0%, #FCF6EF 100%);

  /* Type */
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Rhythm */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Shadows — soft, layered, expensive (less neon, more depth) */
  --shadow-soft:   0 1px 2px rgba(27,24,20,0.04), 0 8px 22px rgba(27,24,20,0.05);
  --shadow-md:     0 2px 8px rgba(27,24,20,0.05), 0 18px 48px rgba(27,24,20,0.08);
  --shadow-lg:     0 10px 30px rgba(27,24,20,0.07), 0 44px 100px rgba(27,24,20,0.13);
  --shadow-glow:   0 8px 26px rgba(255,112,10,0.18), 0 2px 8px rgba(255,112,10,0.12);
  --shadow-glow-strong: 0 14px 40px rgba(255,112,10,0.26), 0 4px 12px rgba(255,112,10,0.16);

  --max-w: 1240px;
  --tx: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--tm-paper);
  color: var(--tm-ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tm-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1em; color: var(--tm-gray-deep); }
a { color: var(--tm-orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tm-orange-deep); }
img { max-width: 100%; display: block; }
::selection { background: rgba(255,112,10,0.16); color: var(--tm-ink); }

/* ---------- Utilities ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tm-orange);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gloss-orange);
  display: inline-block;
  border-radius: 2px;
}

/* ---------- Buttons (refined, restrained orange) ---------- */
.btn {
  --mx: 50%;
  --my: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--tx), box-shadow .35s var(--tx), border-color .25s var(--tx), background .3s var(--tx);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ===== Primary (refined orange) ===== */
.btn-primary {
  background: linear-gradient(180deg, #FF8526 0%, #FF700A 55%, #ED6209 100%);
  color: var(--tm-paper);
  border-color: rgba(201,83,10,0.5);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 6px 16px rgba(255,112,10,0.20),
    0 1px 2px rgba(27,24,20,0.10);
}
/* Soft top sheen only — no heavy gloss */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
  z-index: 0;
}
/* Subtle cursor-tracking warmth */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    160px circle at var(--mx) var(--my),
    rgba(255,210,150,0.40) 0%,
    rgba(255,170,90,0.16) 30%,
    transparent 58%
  );
  opacity: 0;
  transition: opacity .3s var(--tx);
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover {
  border-color: rgba(201,83,10,0.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.28) inset,
    0 12px 30px rgba(255,112,10,0.28),
    0 2px 6px rgba(27,24,20,0.12);
  color: var(--tm-paper);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary > * { position: relative; z-index: 2; }

/* ===== Outline / "Partner With Us" (light glass, orange border on hover) ===== */
.btn-outline {
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F2F2 100%);
  color: var(--tm-ink);
  border-color: var(--tm-ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 -1px 0 rgba(0,0,0,0.04) inset,
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 14px rgba(0,0,0,0.06);
}
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
  z-index: 0;
}
.btn-outline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    180px circle at var(--mx) var(--my),
    rgba(255,170,80,0.40) 0%,
    rgba(255,140,40,0.20) 22%,
    rgba(255,112,10,0.08) 45%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity .25s var(--tx);
  pointer-events: none;
  z-index: 1;
}
.btn-outline:hover {
  color: var(--tm-ink);
  border-color: var(--tm-orange-deep);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 -1px 0 rgba(0,0,0,0.04) inset,
    0 4px 12px rgba(255,112,10,0.18),
    0 12px 28px rgba(255,112,10,0.14);
}
.btn-outline:hover::after { opacity: 1; }
.btn-outline > * { position: relative; z-index: 2; }

/* ===== Dark variant (used on CTA strip — "Begin a Conversation") ===== */
.cta-strip .btn-primary {
  background: linear-gradient(180deg, #2B2B2B 0%, #1A1A1A 100%);
  border-color: rgba(0,0,0,0.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 -1px 0 rgba(0,0,0,0.30) inset,
    0 2px 8px rgba(0,0,0,0.20),
    0 12px 28px rgba(0,0,0,0.18);
  color: var(--tm-paper);
}
.cta-strip .btn-primary::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%);
}
.cta-strip .btn-primary::after {
  background: radial-gradient(
    180px circle at var(--mx) var(--my),
    rgba(255,170,80,0.45) 0%,
    rgba(255,140,40,0.22) 22%,
    rgba(255,112,10,0.08) 45%,
    transparent 65%
  );
}
.cta-strip .btn-primary:hover {
  background: linear-gradient(180deg, #1A1A1A 0%, #000000 100%);
  border-color: var(--tm-orange-deep);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 -1px 0 rgba(0,0,0,0.30) inset,
    0 6px 18px rgba(255,112,10,0.28),
    0 18px 40px rgba(255,112,10,0.18);
  color: var(--tm-paper);
}

.btn-arrow .arrow {
  transition: transform .25s var(--tx);
  display: inline-block;
}
.btn-arrow:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER — single row · logo left · nav right · extra glossy
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid rgba(234,229,221,0.7);
  transition: all .35s var(--tx);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,112,10,0.22), transparent);
  pointer-events: none;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.9);
  border-bottom-color: rgba(234,229,221,0.95);
  box-shadow: 0 12px 40px rgba(27,24,20,0.05);
}

/* === Single header row === */
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* === Logo on the LEFT === */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform .35s var(--tx);
  position: relative;
  flex-shrink: 0;
}
.brand:hover { transform: scale(1.03); }
.brand img {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(27,24,20,0.10));
  transition: filter .35s var(--tx);
}
.brand:hover img {
  filter: drop-shadow(0 5px 16px rgba(255,112,10,0.22));
}

/* === Nav on the RIGHT (flat, glossy active) === */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.nav a {
  --mx: 50%;
  --my: 50%;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--tm-gray-deep);
  letter-spacing: 0.005em;
  padding: 10px 18px;
  transition: color .25s var(--tx), background .25s var(--tx);
  position: relative;
  z-index: 1;
  border-radius: 9px;
}
.nav a:hover {
  color: var(--tm-ink);
  background: rgba(27,24,20,0.04);
}
.nav a.active {
  color: var(--tm-ink);
  font-weight: 600;
  background: transparent;
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gloss-orange);
  box-shadow: 0 1px 6px rgba(255,112,10,0.4);
}
.nav a.active:hover { background: rgba(255,112,10,0.06); }

/* === Mobile toggle === */
.nav-toggle {
  display: none;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
  border: 1.5px solid var(--tm-gray-mist);
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 12px;
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255,255,255,1);
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--tm-ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .25s;
}

/* ============================================================
   FOOTER (glossy)
   ============================================================ */
.site-footer {
  background: var(--gloss-dark);
  color: #B5B5B5;
  padding: 88px 0 36px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,112,10,0.18), transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,112,10,0.5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tm-orange-bright);
  font-weight: 700;
  margin-bottom: 24px;
}
.footer-grid p, .footer-grid li {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #D5D5D5; transition: color .2s; }
.footer-grid a:hover { color: var(--tm-orange-bright); }
.footer-brand-block img {
  height: 48px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255,255,255,0.1));
  margin-bottom: 24px;
}
.footer-brand-block .tag {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--tm-paper);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.footer-brand-block .tag em {
  font-style: normal;
  background: var(--gloss-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #777;
  position: relative;
}
.footer-bottom strong {
  color: var(--tm-orange-bright);
  font-weight: 500;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  max-width: 920px;
  letter-spacing: -0.03em;
}
.page-hero h1 .accent {
  background: var(--gloss-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .lead {
  font-size: 19px;
  max-width: 680px;
  margin-top: 28px;
  color: var(--tm-gray-deep);
  line-height: 1.6;
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.section { padding: 100px 0; }
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 820px;
  letter-spacing: -0.025em;
}
.section-title .accent {
  background: var(--gloss-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 18px;
  color: var(--tm-gray);
  max-width: 660px;
  margin-bottom: 64px;
}

/* ============================================================
   GLOSSY CARDS (extra shine)
   ============================================================ */
.card {
  background: var(--gloss-light);
  border: 1px solid var(--tm-gray-mist);
  border-radius: var(--radius-lg);
  padding: 38px;
  transition: transform .4s var(--tx), box-shadow .4s var(--tx), border-color .4s var(--tx);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 112, 10, 0.32);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--tx), transform .8s var(--tx);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .header-inner { padding: 14px 20px; }
  .brand img { height: 42px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 78px; right: 16px;
    width: calc(100% - 32px);
    max-width: 360px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,250,250,0.98) 100%);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-radius: 20px;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s var(--tx), opacity .25s var(--tx);
    box-shadow:
      0 20px 60px rgba(0,0,0,0.18),
      0 8px 24px rgba(0,0,0,0.10),
      inset 0 1px 0 rgba(255,255,255,1);
    border: 1px solid rgba(232,232,232,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    font-size: 16px;
    padding: 14px 20px;
    text-align: left;
    border-radius: 12px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .section { padding: 64px 0; }
  .page-hero { padding: 56px 0 40px; }
}

/* ============================================================
   MOTION MODULE STYLES
   ============================================================ */

/* --- Reading progress bar (top of viewport) --- */
#tm-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(232,232,232,0.4);
  z-index: 200;
  pointer-events: none;
}
#tm-progress .tm-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFB068 0%, #FF700A 50%, #D45A00 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .12s linear;
  box-shadow: 0 0 12px rgba(255,112,10,0.6), 0 1px 4px rgba(255,112,10,0.4);
}

/* --- Headline word-by-word reveal --- */
.tm-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--tx), transform .7s var(--tx);
  transition-delay: var(--d, 0s);
  /* Important: preserve baseline for inline-block spans */
  vertical-align: top;
}
.tm-reveal-in .tm-word {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero & feature dark backgrounds breathe very gently --- */
@keyframes tm-breathe {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 1; }
  50%      { transform: scale(1.03) translate(5px, -3px); opacity: 0.95; }
}
.hero::before, .hero-panel::before,
.featured::before,
.cta-strip::before {
  animation: tm-breathe 20s ease-in-out infinite;
}
.hero::after {
  /* The grid backdrop stays still — only glow elements breathe */
  animation: none;
}
.cta-strip::after {
  animation: tm-breathe 18s ease-in-out infinite reverse;
}

/* --- Parallax variable (drives gentle bg shift on scroll) --- */
.hero::before, .page-hero::before,
.initiatives-hero::before, .impact-hero::before,
.about-hero::before, .contact-hero::before {
  transition: transform .4s linear;
  will-change: transform;
}

/* --- Floating dots inside hero panel --- */
.tm-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  z-index: 0;
}
.tm-dot {
  position: absolute;
  left: var(--x);
  top:  var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,120,0.8) 0%, rgba(255,112,10,0.2) 70%, transparent 100%);
  box-shadow: 0 0 5px rgba(255,176,104,0.4);
  animation: tm-drift var(--dur, 12s) ease-in-out infinite;
  animation-delay: var(--del, 0s);
  opacity: 0.5;
}
@keyframes tm-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  25%      { transform: translate(calc(var(--amp) * -0.5), calc(var(--amp) * -0.3)) scale(1.2); opacity: 0.6; }
  50%      { transform: translate(calc(var(--amp) * 0.25), calc(var(--amp) * -0.6)) scale(0.85); opacity: 0.45; }
  75%      { transform: translate(calc(var(--amp) * 0.55), calc(var(--amp) * 0.15)) scale(1.1); opacity: 0.55; }
}

/* Make sure existing pseudo-elements still receive their parallax offset */
.hero, .featured, .feature-card { --tm-parallax: 0px; }

/* Respect reduced motion — no fancy animations */
@media (prefers-reduced-motion: reduce) {
  .tm-word { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero-panel::before, .featured::before, .cta-strip::before,
  .cta-strip::after, .tm-dot {
    animation: none !important;
  }
  #tm-progress .tm-progress-fill { transition: none; }
}

/* ============================================================
   FOOTER TRUST BLOCK + LEGAL LINKS + COOKIE BANNER
   ============================================================ */

/* Footer bottom — three-column with legal links in the centre */
.footer-bottom {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 13px;
  color: #777;
  position: relative;
  gap: 24px;
}
.footer-legal-links {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.footer-legal-links a {
  color: #999;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  transition: color .2s;
}
.footer-legal-links a:hover { color: var(--tm-orange-bright); }
.footer-bottom > div:last-child { text-align: right; }

@media (max-width: 720px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .footer-bottom > div:last-child { text-align: center; }
}

/* ============================================================
   COOKIE BANNER — bottom-floating, dismissible
   ============================================================ */
#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
  border: 1.5px solid var(--tm-gray-mist);
  border-radius: 14px;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.16),
    0 4px 16px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,1);
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 22px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .4s var(--tx), opacity .25s var(--tx);
}
#cookie-banner.is-shown {
  transform: translateY(0);
  opacity: 1;
}
#cookie-banner .cb-body {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
#cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--tm-ink);
  flex: 1;
  min-width: 240px;
}
#cookie-banner p a {
  color: var(--tm-orange-deep);
  font-weight: 600;
  white-space: nowrap;
}
#cookie-banner .cb-actions {
  flex-shrink: 0;
}
#cookie-banner .cb-accept {
  padding: 10px 22px;
  font-size: 13px;
}

@media (max-width: 600px) {
  #cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }
  #cookie-banner .cb-body { flex-direction: column; align-items: stretch; gap: 14px; }
  #cookie-banner .cb-accept { width: 100%; justify-content: center; }
}

/* ============================================================
   FOOTER SOCIAL BLOCK — 2-col grid; 5th centered on row 3
   ============================================================ */
.footer-social .social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 320px;
}
/* 5th item spans both columns and centers its content */
.footer-social .social-list li:nth-child(5) {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}
.footer-social .social-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #D5D5D5;
  font-size: 14px;
  transition: background .25s var(--tx),
              border-color .25s var(--tx),
              color .25s var(--tx),
              transform .25s var(--tx);
  width: 100%;
}
/* The lone 5th item shouldn't stretch full-width — keep it tight */
.footer-social .social-list li:nth-child(5) a {
  width: auto;
  min-width: 140px;
}
.footer-social .social-list a:hover {
  background: linear-gradient(180deg, rgba(255, 138, 51, 0.18) 0%, rgba(255, 112, 10, 0.10) 100%);
  border-color: rgba(255, 138, 51, 0.45);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.footer-social .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFB068;
  transition: background .25s var(--tx),
              border-color .25s var(--tx),
              color .25s var(--tx);
  flex-shrink: 0;
}
.footer-social .social-list a:hover .social-icon {
  background: linear-gradient(180deg, #FF8A33 0%, #FF700A 50%, #E26309 100%);
  border-color: var(--tm-orange-deep);
  color: #FFFFFF;
  box-shadow:
    0 2px 8px rgba(255, 112, 10, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.footer-social .social-label {
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .footer-social .social-list { max-width: 100%; }
}

/* ============================================================
   PLACEHOLDER TREATMENT — uniform style for content awaiting fill-in
   ============================================================ */
.placeholder {
  font-style: italic;
  color: var(--tm-gray);
  font-weight: 400;
  letter-spacing: 0;
}
.placeholder::before { content: "["; }
.placeholder::after  { content: "]"; }
