/* =========================================================================
   GLAUR — Grupo de Lingüística Aplicada de la Universidad de La Rioja
   Design system: warm editorial-academic. Palette pulled from the logo.
   ========================================================================= */

:root {
  /* Brand palette (sampled from the GLAUR logo) */
  --terracotta: #c75643;
  --terracotta-deep: #a8412f;
  --clay: #df9874;
  --clay-soft: #ecb99a;
  --sage: #9cb3a4;
  --sage-deep: #7e978a;
  --slate: #5d6e6a;
  --slate-deep: #43514e;
  --gold: #e6be6a;
  --gold-soft: #f0d49a;

  /* Neutrals */
  --cream: #fbf7f0;
  --cream-2: #f4ece0;
  --paper: #ffffff;
  --ink: #2c302e;
  --ink-soft: #5a615e;
  --line: #e4dccf;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(67, 81, 78, .06);
  --shadow-md: 0 16px 44px -18px rgba(67, 81, 78, .28);
  --shadow-lg: 0 40px 80px -36px rgba(67, 81, 78, .4);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}

::selection { background: var(--gold-soft); color: var(--ink); }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate-deep);
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--slate-deep);
  display: inline-block;
}

.lead { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--ink-soft); line-height: 1.6; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .96rem;
  padding: .82rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--slate-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--slate); transform: translateY(-2px); }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 240, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 78px;
}
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 42px; width: auto; transition: transform .4s var(--ease); }
.nav__brand:hover img { transform: scale(1.04); }

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; }
.nav__links a {
  position: relative;
  font-weight: 540;
  font-size: .95rem;
  padding: .5rem .85rem;
  border-radius: 100px;
  color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--terracotta); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--terracotta); transform: translateX(-50%);
}
/* Contact CTA in the nav — brand accent + forced white text so it isn't
   overridden by the more specific `.nav__links a` colour rules. */
.nav__cta { margin-left: .35rem; padding: .6rem 1.2rem !important; }
.nav__links a.nav__cta,
.nav__links a.nav__cta:hover,
.nav__links a.nav__cta.is-active { color: #fff; }
.nav__links a.nav__cta { background: var(--terracotta); box-shadow: var(--shadow-sm); }
.nav__links a.nav__cta:hover { background: var(--terracotta-deep); transform: translateY(-1px); }
.nav__links a.nav__cta.is-active::after { display: none; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 1.6rem;
    transform: translateY(-120%); transition: transform .42s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: .9rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links li:last-child a { border-bottom: none; }
  .nav__cta { margin-top: .8rem; text-align: center; justify-content: center; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .22;
}
.hero__blob--1 { width: 460px; height: 460px; background: var(--clay-soft); top: -180px; right: -140px; }
.hero__blob--2 { width: 380px; height: 380px; background: var(--sage); bottom: -200px; left: -140px; opacity: .16; }
.hero__blob--3 { display: none; }

.hero .wrap { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.9rem);
  margin: 1.4rem 0 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--terracotta-deep); font-weight: inherit; }
.hero__lead { max-width: 34ch; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 2.2rem; margin-top: 3rem; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--display); font-size: 2.4rem; font-weight: 580; line-height: 1; color: var(--slate-deep); }
.hero__stat .lbl { font-size: .82rem; color: var(--ink-soft); margin-top: .4rem; max-width: 14ch; }

/* Hero visual card — node network */
.hero__visual { position: relative; }
.hero__card {
  background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 2.2rem; position: relative; overflow: hidden;
}
.hero__card-logo { width: 78%; margin: .5rem auto 1.6rem; }
.node-net { display: block; width: 100%; height: auto; }
.node-net .edge { stroke: var(--line); stroke-width: 1.4; }
.node-net .pulse { stroke-dasharray: 4 6; animation: dash 4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -60; } }
.node-net .node { transform-box: fill-box; transform-origin: center; }
.node-net .node.float { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.hero__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.hero__tags span {
  font-size: .76rem; font-weight: 600; padding: .35rem .8rem; border-radius: 100px;
  background: var(--cream-2); color: var(--slate-deep);
}

/* =========================================================================
   MARQUEE / KEYWORDS STRIP
   ========================================================================= */
.strip { background: var(--slate-deep); color: var(--cream); overflow: hidden; padding-block: 1.15rem; }
.strip__track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track span { font-family: var(--display); font-style: italic; font-size: 1.3rem; display: inline-flex; align-items: center; gap: 3rem; opacity: .92; }
.strip__track span::after { content: "✦"; color: var(--gold); font-style: normal; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   GENERIC SECTION HEADER
   ========================================================================= */
.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 1rem 0 1.1rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

/* =========================================================================
   FEATURE / RESEARCH CARDS
   ========================================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent, var(--terracotta));
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent, var(--terracotta)) 16%, var(--paper));
  color: var(--accent, var(--terracotta)); margin-bottom: 1.2rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__num { font-family: var(--display); font-size: .9rem; color: var(--ink-soft); position: absolute; top: 1.6rem; right: 1.7rem; opacity: .5; }
.card h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.card p { font-size: .96rem; color: var(--ink-soft); }

/* color variants */
.card.v-terra { --accent: var(--terracotta); }
.card.v-clay  { --accent: var(--clay); }
.card.v-sage  { --accent: var(--sage-deep); }
.card.v-slate { --accent: var(--slate); }
.card.v-gold  { --accent: #c59b3a; }

/* =========================================================================
   ABOUT / SPLIT
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media { position: relative; }
.split__media .frame {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.split__media .frame::after {
  content: ""; position: absolute; right: 0; top: 0; width: 4px; height: 100%;
  background: var(--cream-2);
}
.split h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 1rem 0 1.3rem; }
.split p + p { margin-top: 1.1rem; }
.split .lead { margin-bottom: 1.3rem; }

.facts { list-style: none; margin-top: 1.8rem; display: grid; gap: .15rem; }
.facts li { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: none; }
.facts dt { font-weight: 700; min-width: 9.5rem; color: var(--slate-deep); font-size: .92rem; }
.facts dd { color: var(--ink-soft); font-size: .96rem; }

/* big quote */
.pull {
  font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3;
  font-weight: 480; color: var(--slate-deep); font-style: italic;
}
.pull span { color: var(--terracotta); }

/* =========================================================================
   STATS BAND
   ========================================================================= */
.band { background: var(--cream-2); }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 720px) { .band__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; } }
.band__item .num { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 580; color: var(--terracotta); line-height: 1; }
.band__item .lbl { margin-top: .6rem; color: var(--slate-deep); font-weight: 540; font-size: .95rem; }

/* =========================================================================
   TEAM
   ========================================================================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.3rem; }
.member {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member__avatar {
  aspect-ratio: 1.35 / 1; display: grid; place-items: center; position: relative;
  background: var(--av, var(--cream-2)); border-bottom: 1px solid var(--line);
}
.member__initials { font-family: var(--display); font-size: 2.2rem; font-weight: 560; color: var(--ini, var(--slate-deep)); letter-spacing: .02em; }
.member__body { padding: 1.15rem 1.2rem 1.4rem; }
.member__body h3 { font-size: 1.08rem; line-height: 1.18; }
.member__role { font-size: .82rem; color: var(--slate-deep); font-weight: 600; margin-top: .3rem; }
.member__tag { font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }

/* Muted, uniform avatar tones for an institutional register */
.av-a { --av: #f1e7da; --ini: #a8412f; }
.av-b { --av: #e8ece8; --ini: #43514e; }
.av-c { --av: #f3ece0; --ini: #8a6d2e; }
.av-d { --av: #e9ede9; --ini: #5d6e6a; }
.av-e { --av: #f1e7da; --ini: #a8412f; }
.av-f { --av: #e8ece8; --ini: #43514e; }

/* =========================================================================
   PUBLICATIONS / LIST
   ========================================================================= */
.pub-list { display: grid; gap: 1rem; }
.pub {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.7rem; transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.pub:hover { border-color: var(--clay); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.pub__year { font-family: var(--display); font-size: 1.4rem; font-weight: 580; color: var(--terracotta); line-height: 1; padding-top: .1rem; }
.pub__title { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.pub__title a { color: inherit; text-decoration: none; transition: color .2s; }
.pub__title a:hover { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.pub__title a::after {
  content: "↗"; font-size: .82em; margin-left: .3em; color: var(--terracotta);
  opacity: 0; transition: opacity .2s; vertical-align: baseline;
}
.pub:hover .pub__title a::after, .pub__title a:hover::after { opacity: .85; }
.pub__meta { color: var(--ink-soft); font-size: .9rem; margin-top: .35rem; }
.pub__type { align-self: center; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-deep); background: var(--cream-2); padding: .35rem .7rem; border-radius: 100px; white-space: nowrap; }
@media (max-width: 640px) { .pub { grid-template-columns: 1fr; gap: .5rem; } .pub__type { justify-self: start; } }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button {
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  padding: .5rem 1.1rem; border-radius: 100px; border: 1.5px solid var(--line);
  background: transparent; color: var(--ink-soft); transition: all .25s;
}
.filters button:hover { border-color: var(--slate); color: var(--ink); }
.filters button.is-active { background: var(--slate-deep); border-color: var(--slate-deep); color: var(--cream); }

/* =========================================================================
   CTA
   ========================================================================= */
.cta {
  background: var(--slate-deep); color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(50px);
}
.cta::before { width: 280px; height: 280px; background: var(--terracotta); opacity: .16; top: -100px; left: -60px; }
.cta::after { width: 240px; height: 240px; background: var(--gold); opacity: .12; bottom: -90px; right: -40px; }
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { color: var(--sage); justify-content: center; }
.cta .eyebrow::before { background: var(--sage); }
.cta h2 { color: var(--cream); font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 1rem auto 1.2rem; max-width: 22ch; }
.cta p { color: rgba(251,247,240,.8); max-width: 52ch; margin: 0 auto 2rem; }
.cta .btn--primary { background: var(--cream); color: var(--slate-deep); }
.cta .btn--primary:hover { background: #fff; }
.cta .btn--ghost { border-color: rgba(251,247,240,.3); color: var(--cream); }
.cta .btn--ghost:hover { border-color: var(--cream); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--cream-2); color: var(--terracotta); }
.contact-item h4 { font-family: var(--body); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-deep); margin-bottom: .25rem; }
.contact-item p, .contact-item a { color: var(--ink-soft); font-size: .98rem; }
.contact-item a:hover { color: var(--terracotta); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: .45rem; color: var(--slate-deep); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; padding: .85rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  color: var(--ink); transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); background: var(--paper); box-shadow: 0 0 0 4px rgba(199,86,67,.1); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .82rem; color: var(--ink-soft); margin-top: .6rem; }
.form__status { margin-top: 1rem; font-size: .92rem; font-weight: 600; color: var(--sage-deep); display: none; }
.form__status.show { display: block; }

/* =========================================================================
   PAGE HEADER (interior pages)
   ========================================================================= */
.page-head { position: relative; overflow: hidden; padding-block: clamp(3.2rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem); background: var(--cream-2); border-bottom: 1px solid var(--line); }
.page-head::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  background: radial-gradient(circle, var(--clay-soft), transparent 70%); opacity: .2; pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); margin: 1rem 0 1rem; max-width: 18ch; }
.page-head p { max-width: 54ch; }
.crumbs { font-size: .85rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: center; }
.crumbs a:hover { color: var(--terracotta); }
.crumbs span { opacity: .5; }

/* =========================================================================
   PROCESS / TIMELINE (research page)
   ========================================================================= */
.timeline { position: relative; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 2.2rem 3rem; }
.tl-item::before {
  content: ""; position: absolute; left: 3px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent, var(--terracotta)); z-index: 1;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.tl-item .yr { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }
.tl-item p { color: var(--ink-soft); font-size: .96rem; margin-top: .3rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--ink); color: rgba(251,247,240,.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { font-size: .92rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--body); color: var(--cream); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { font-size: .94rem; transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: var(--gold); padding-left: 3px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(251,247,240,.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem;
}
.footer-bottom a:hover { color: var(--gold); }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
