/* =============================================================
   ECS Konsult (Pty) Ltd
   Hand-built static design system. No framework.
   Industrial identity: charcoal + the brand gold (#e4bd4d).
   Page theme is locked dark throughout.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:       #16181b;   /* page background */
  --ink-2:     #1a1d21;   /* alternating band */
  --surface:   #20242a;   /* raised panels */
  --surface-2: #272c33;   /* cards */
  --steel:     #333a42;   /* input borders */
  --line:      rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);

  --gold:        #e4bd4d;  /* brand accent (single accent, locked) */
  --gold-bright: #f2d475;
  --gold-deep:   #b8912f;
  --gold-tint:   rgba(228, 189, 77, 0.12);
  --gold-tint-2: rgba(228, 189, 77, 0.22);

  --text:       #eceeec;
  --text-dim:   #a9b0b3;
  --text-faint: #7b8286;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--text-dim);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h1, h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); font-weight: 600; }
.h2, h2 { font-size: clamp(1.9rem, 1.4rem + 2.1vw, 2.95rem); }
.h3, h3 { font-size: clamp(1.28rem, 1.1rem + 0.85vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p { max-width: 65ch; }
strong { color: var(--text); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.lead { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.28rem); line-height: 1.6; color: var(--text-dim); }
.accent { color: var(--gold); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 3rem + 7vw, 8rem); }
.section--tight { padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head .h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.25rem; }
.bg-surface { background: var(--ink-2); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 0.9rem 1.6rem; border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-primary { background: var(--gold); color: #14100a; font-weight: 700; }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn:disabled:hover { transform: none; background: var(--gold); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-weight: 600; color: var(--gold-bright);
}
.text-link svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
              border-color 0.3s var(--ease), height 0.3s var(--ease);
}
.nav.is-stuck {
  height: 64px;
  background: rgba(20, 22, 25, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__brand img { width: 178px; transition: width 0.3s var(--ease); }
.nav.is-stuck .nav__brand img { width: 152px; }
.nav__links { display: flex; align-items: center; gap: 0.3rem; }
.nav__links a {
  font-family: var(--font-display); font-size: 0.93rem; font-weight: 500;
  color: var(--text-dim); padding: 0.5rem 0.8rem; border-radius: 7px;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--gold-bright); }
.nav__links a.btn-primary { color: #14100a; font-weight: 700; }
.nav__links .btn { display: none; }
.nav__cta { margin-left: 0.5rem; }
.nav__toggle { display: none; }

@media (max-width: 980px) {
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px; z-index: 110; }
  .nav__toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
  body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 0.5rem;
    background: rgba(18, 20, 23, 0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  body.menu-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1.45rem; padding: 0.55rem 1rem; }
  .nav__links .btn { margin-top: 1rem; display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 4rem; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(16,18,21,0.72), rgba(16,18,21,0.68)),
    linear-gradient(to top, var(--ink) 2%, rgba(22,24,27,0) 42%);
}
.hero__inner { max-width: 880px; }
.hero h1 { margin: 1.3rem 0 0; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__sub { margin-top: 1.5rem; max-width: 52ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); }
.hero__actions { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
@media (min-width: 992px) {
  /* Sized so the headline holds 2 lines in the wider block */
  .hero h1 { font-size: 3.3rem; }
  .hero__bg::after {
    background:
      linear-gradient(90deg, rgba(16,18,21,0.92) 0%, rgba(16,18,21,0.8) 45%, rgba(16,18,21,0.55) 100%),
      linear-gradient(to top, var(--ink) 1%, rgba(22,24,27,0) 46%);
  }
}

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.stats__item { background: var(--ink); padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.2rem, 2vw, 2rem); }
.stats__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); color: var(--text);
  letter-spacing: -0.03em; line-height: 1;
}
.stats__num span { color: var(--gold); }
.stats__label { margin-top: 0.7rem; font-size: 0.92rem; color: var(--text-faint); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; }
.split__media .tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(18,20,23,0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1rem; font-family: var(--font-display); font-size: 0.8rem; color: var(--text);
}
ul.checklist { margin-top: 1.6rem; display: grid; gap: 0.85rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--text-dim); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 13px; height: 13px; border-radius: 3px;
  background: var(--gold-tint-2); border: 1.5px solid var(--gold);
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* ---------- Service grid (hairline spec grid, not boxed cards) ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.svc-cell {
  background: var(--ink); padding: clamp(1.7rem, 2.6vw, 2.4rem);
  transition: background 0.35s var(--ease);
}
.svc-cell:hover { background: var(--surface); }
.svc-cell .ic {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold); margin-bottom: 1.2rem;
}
.svc-cell .ic svg { width: 22px; height: 22px; }
.svc-cell h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.svc-cell p { font-size: 0.95rem; color: var(--text-dim); }
.bg-surface .svc-cell { background: var(--ink-2); }
.bg-surface .svc-cell:hover { background: var(--surface); }
/* Detail variant used on the Services page: fewer columns, room for a checklist */
.svc-grid--detail { grid-template-columns: repeat(2, 1fr); }
.svc-grid--detail .svc-cell { padding: clamp(1.8rem, 3vw, 2.6rem); }
.svc-grid--detail .checklist { margin-top: 1.3rem; }
.svc-grid--detail .checklist li { font-size: 0.93rem; padding-left: 1.7rem; }
.svc-grid--detail .checklist li::before { width: 11px; height: 11px; }
.svc-num { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.18em; color: var(--gold); font-weight: 600; display: block; margin-bottom: 0.7rem; }
@media (max-width: 900px) { .svc-grid, .svc-grid--detail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid, .svc-grid--detail { grid-template-columns: 1fr; } }

/* ---------- Gallery cards (industries) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.gcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.gcard:hover { transform: translateY(-5px); border-color: var(--gold-deep); }
.gcard__img { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--ink-2); }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gcard:hover .gcard__img img { transform: scale(1.05); }
.gcard__body { padding: 1.5rem 1.5rem 1.75rem; }
.gcard__body h3 { font-size: 1.24rem; margin-bottom: 0.6rem; }
.gcard__body p { font-size: 0.94rem; color: var(--text-dim); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Industry detail rows ---------- */
.ind { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ind--reverse .ind__media { order: -1; }
.ind__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 3/2; object-fit: cover; background: var(--ink-2); }
.ind__num { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--gold); font-weight: 600; }
.ind h2 { margin: 0.7rem 0 1rem; }
@media (max-width: 860px) { .ind { grid-template-columns: 1fr; } .ind--reverse .ind__media { order: 0; } }

/* ---------- Story timeline ---------- */
.timeline { position: relative; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.timeline::before {
  content: ""; position: absolute; left: 39px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--gold-deep), var(--line-soft));
}
.tl-item { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 1.6rem; align-items: start; }
.tl-item__dot {
  width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--gold-deep); background: var(--ink);
  display: grid; place-items: center; position: relative; z-index: 1;
}
.tl-item__dot img { width: 100%; height: 100%; object-fit: cover; }
.tl-item__year {
  font-family: var(--font-display); font-weight: 700; color: var(--gold);
  font-size: 1.05rem; letter-spacing: 0.02em;
}
.tl-item h3 { font-size: 1.3rem; margin: 0.15rem 0 0.6rem; }
.tl-item p { font-size: 0.97rem; }
@media (max-width: 620px) {
  .timeline::before { left: 27px; }
  .tl-item { grid-template-columns: 56px 1fr; gap: 1.1rem; }
  .tl-item__dot { width: 56px; height: 56px; }
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.member {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; text-align: center;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.member:hover { border-color: var(--gold-deep); transform: translateY(-4px); }
.member__photo {
  width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 1.3rem;
  overflow: hidden; border: 2px solid var(--gold-deep); background: var(--ink-2);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.25rem; }
.member__role { color: var(--gold); font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; margin-top: 0.25rem; }
.member__bio { margin: 0.9rem auto 0; font-size: 0.93rem; color: var(--text-dim); max-width: 34ch; }
.member__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  margin-top: 1.2rem; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--text-dim);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.member__link:hover { color: var(--gold-bright); border-color: var(--gold-deep); }
.member__link svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- Client logo wall ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 5rem); }
.logos img {
  height: 42px; width: auto; opacity: 0.62;
  transition: opacity 0.3s var(--ease);
}
.logos a:hover img, .logos img:hover { opacity: 1; }

/* ---------- CTA banner ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); text-align: center;
  padding: clamp(3rem, 4vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(18,20,23,0.93), rgba(18,20,23,0.75)); }
.cta__inner { position: relative; z-index: 1; max-width: 56ch; margin-inline: auto; }
.cta h2 { margin-bottom: 1rem; }
.cta p { margin: 0 auto 2rem; }
.cta__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page head (interior pages) ---------- */
.phead {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(80% 120% at 85% -10%, var(--gold-tint) 0%, transparent 55%), var(--ink-2);
}
.phead__inner { max-width: 880px; }
.phead h1 { margin: 1.1rem 0 0; }
.phead p { margin-top: 1.2rem; max-width: 64ch; }
.crumbs { font-family: var(--font-display); font-size: 0.85rem; color: var(--text-faint); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs span[aria-current] { color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.ccard {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.ccard .ic { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold); }
.ccard .ic svg { width: 21px; height: 21px; }
.ccard h3 { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; }
.ccard a, .ccard p { color: var(--text); font-size: 1.05rem; margin-top: 0.25rem; }
.ccard a:hover { color: var(--gold-bright); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); }
.field { display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.field label { font-family: var(--font-display); font-size: 0.9rem; color: var(--text); font-weight: 600; }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink); border: 1px solid var(--steel); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; font: inherit; font-size: 0.98rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field-hint { font-size: 0.85rem; color: var(--text-faint); }
.form .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form__note { margin-top: 1rem; font-size: 0.86rem; color: var(--text-faint); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.g-recaptcha { margin: 0.25rem 0 1.2rem; min-height: 78px; }
.captcha-hint { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 0.6rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .field--row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand img { width: 168px; margin-bottom: 1.3rem; }
.footer__brand p { font-size: 0.94rem; color: var(--text-faint); max-width: 34ch; }
.footer h4 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; font-weight: 700; }
.footer ul { display: grid; gap: 0.7rem; }
.footer ul a, .footer ul li { font-size: 0.94rem; color: var(--text-dim); }
.footer ul a:hover { color: var(--gold-bright); }
.footer__bottom {
  margin-top: clamp(2.5rem, 4vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-faint);
}
.footer__bottom a:hover { color: var(--gold-bright); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .gcard:hover, .member:hover, .btn:hover { transform: none; }
}
