/* ============================================================
   AATC — styles.css
   Editorial-finance aesthetic: Lora display, Manrope body,
   burgundy accents, warm cream / deep ink dual themes.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* brand */
  --brand: #8E0F18;
  --brand-soft: #b63442;
  --brand-ghost: rgba(142, 15, 24, 0.08);

  /* LIGHT theme */
  --bg: #ffffff;
  --bg-elev: #FBF6EB;
  --surface: #ffffff;
  --ink: #141317;
  --ink-muted: #5A5862;
  --ink-faint: #8F8C96;
  --rule: rgba(20, 19, 23, 0.12);
  --rule-strong: rgba(20, 19, 23, 0.22);
  --grain-opacity: 0;

  /* type */
  --f-display: 'Lora', 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, sans-serif;

  /* layout */
  --max: 1240px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);
  --section-pad: clamp(5rem, 10vw, 9rem);
  --radius: 2px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* illustration palette — light */
  --figure-sky-top: #EAE0CC;
  --figure-sky-bot: #F5EEE1;
  --figure-sun: #C4442F;
  --figure-stone-light: #E8DFCC;
  --figure-stone-dark: #C9BFA6;
  --figure-shadow: #141317;
  --figure-line: #8F8C96;
  --figure-grain: #C9BFA6;

  --banner-dot: rgba(20, 19, 23, 0.12);
  --banner-line: rgba(20, 19, 23, 0.18);
  --banner-bar: #C9BFA6;
  --banner-text: #5A5862;
}

html[data-theme="dark"] {
  --bg: #0E0F13;
  --bg-elev: #15161C;
  --surface: #1A1C24;
  --ink: #F2EADB;
  --ink-muted: #A8A5B0;
  --ink-faint: #6E6B78;
  --rule: rgba(242, 234, 219, 0.12);
  --rule-strong: rgba(242, 234, 219, 0.22);
  --brand: #D43B4E;
  --brand-soft: #e56778;
  --brand-ghost: rgba(212, 59, 78, 0.14);
  --grain-opacity: 0.25;

  /* illustration palette — dark */
  --figure-sky-top: #1B1D26;
  --figure-sky-bot: #0E0F13;
  --figure-sun: #D43B4E;
  --figure-stone-light: #383842;
  --figure-stone-dark: #1E1F27;
  --figure-shadow: #000;
  --figure-line: #6E6B78;
  --figure-grain: #1E1F27;

  --banner-dot: rgba(242, 234, 219, 0.12);
  --banner-line: rgba(242, 234, 219, 0.2);
  --banner-bar: #383842;
  --banner-text: #A8A5B0;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* grain overlay for paper-like depth */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
html[data-theme="dark"] .grain { mix-blend-mode: screen; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
  z-index: 2;
}

/* ---------- typography ---------- */
.hero-title, .section-title, h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
}

.hero-title em, .section-title em {
  font-style: italic;
  color: var(--brand);
  font-weight: 400;
}

p { margin: 0 0 1em; color: var(--ink-muted); }
.lead { font-size: clamp(1.05rem, 1.2vw, 1.2rem); color: var(--ink); line-height: 1.65; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: 80px;
  width: auto;
  transform: rotate(-20deg);
  transition: transform 0.3s var(--ease);
}
html[data-theme="dark"] .nav-logo img { filter: brightness(1.05) contrast(1.05); }
.nav-logo:hover img { transform: rotate(-20deg) scale(1.05); }

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink);
  opacity: 0.75;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; color: var(--brand); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--brand);
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-ghost {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Language dropdown — pill-shaped trigger with caret, floating menu below */
.lang-switcher { position: relative; }
.lang-btn {
  width: auto;
  padding: 0 0.75rem;
  gap: 0.35rem;
  border-radius: 999px;
  min-width: 64px;
}
.lang-btn .lang-caret {
  transition: transform 0.2s var(--ease);
  opacity: 0.7;
}
.lang-switcher.open .lang-btn {
  border-color: var(--brand);
  color: var(--brand);
}
.lang-switcher.open .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 60;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu li { margin: 0; }
.lang-menu button {
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-radius: 4px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  cursor: pointer;
  font-family: inherit;
}
.lang-menu button:hover {
  background: var(--brand-ghost);
  color: var(--brand);
}
.lang-menu button[aria-selected="true"] {
  color: var(--brand);
  background: var(--brand-ghost);
}
.lang-menu button[aria-selected="true"]::after {
  content: '●';
  float: right;
  font-size: 0.65rem;
  line-height: 1.6;
}

#themeToggle .icon-moon { display: none; }
html[data-theme="dark"] #themeToggle .icon-sun { display: none; }
html[data-theme="dark"] #themeToggle .icon-moon { display: block; }

.nav-close { display: none; }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.nav-burger span {
  width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem var(--pad) 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.hero-left { display: flex; flex-direction: column; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--brand-ghost);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--brand-ghost); }
  50%      { box-shadow: 0 0 0 10px transparent; }
}

.hero-title {
  font-size: clamp(0.9rem, 4.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.hero-title .line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1.1s var(--ease) forwards;
}
.hero-title .line-1 { animation-delay: 0.15s; }
.hero-title .line-2 { animation-delay: 0.3s; font-style: italic; color: var(--brand); padding-left: clamp(3rem, 7vw, 8rem); }


@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  max-width: 52ch;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.65s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.8s forwards;
}

.hero-meta {
  display: flex;
  align-items: flex-end;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  max-width: 640px;
  opacity: 0;
  animation: rise 1s var(--ease) 1s forwards;
}
.meta-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.meta-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}
.meta-sep {
  width: 1px;
  height: 40px;
  background: var(--rule);
}

.hero-mark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 700px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}
.hero-mark img { width: 100%; }
html[data-theme="dark"] .hero-mark { opacity: 0.09; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadein 1s var(--ease) 1.5s forwards;
}
.hero-scroll svg { animation: bounce 2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes fadein { to { opacity: 0.7; } }

/* ---------- CLIENTS MARQUEE ---------- */
.clients {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.clients-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.clients-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  flex-shrink: 0;
}
.clients-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.marquee {
  overflow: hidden;
  position: relative;
}
/* Soft fade edges — use pseudo-elements instead of mask-image for wider browser support */
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 6vw, 90px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
  width: max-content;
  padding: 0 clamp(1.5rem, 2.5vw, 2.5rem);
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.client-logo {
  flex-shrink: 0;
  height: 32px;
  display: flex;
  align-items: center;
  color: var(--ink-muted);
  opacity: 0.65;
  filter: saturate(0);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.client-logo:hover {
  opacity: 1;
  color: var(--brand);
  filter: saturate(1);
  transform: translateY(-1px);
}
.client-logo svg {
  height: 100%;
  width: auto;
  display: block;
}

/* Reduced motion: keep animating but very slowly, so users with the preference
   still see the list as scrolling (not a static grid), just gently */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-duration: 150s;
  }
}


.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--rule);
}

.section-head {
  margin-bottom: 4rem;
  max-width: 900px;
}
.section-title {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.02;
}
.section-title em { display: block; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.about-body {
  position: relative;
}
.about-body p { font-size: 1rem; line-height: 1.75; }
.about-body .lead { margin-bottom: 1.5rem; }

.about-figure {
  float: right;
  width: 45%;
  max-width: 320px;
  margin: 0.25rem 0 1.5rem 2rem;
  shape-outside: margin-box;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--bg-elev);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.25);
}
.about-figure svg {
  width: 100%;
  height: 100%;
  display: block;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pillar {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.pillar:last-child { border-bottom: 1px solid var(--rule); }
.pillar-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.pillar p { font-size: 0.95rem; margin: 0; }

/* ---------- BANNER (abstract chart divider) ---------- */
.banner {
  padding: 0;
  border-top: 1px solid var(--rule);
  background: var(--bg-elev);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--pad);
  position: relative;
}
.banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 260px;
}

/* ---------- MAP ---------- */
.map-wrap {
  margin-top: clamp(3rem, 6vw, 5rem);
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--bg-elev);
}
.map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.map-head .eyebrow { margin: 0; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}
.map-link:hover { color: var(--brand); }

.map-frame {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  background: var(--bg-elev);
}
html[data-theme="dark"] .map-frame {
  /* Invert and re-hue the light OpenStreetMap tiles so they look like a dark map */
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.95);
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.service {
  padding: clamp(2rem, 3.5vw, 3rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 1.5rem;
  transition: background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}
.service:hover { background: var(--bg-elev); }
.service:hover::before { transform: scaleY(1); transform-origin: top; }

.service-num {
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: var(--brand);
  flex-shrink: 0;
  padding-top: 0.2rem;
  font-feature-settings: 'tnum';
  letter-spacing: 0.05em;
}
.service-body h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  margin-bottom: 0.75rem;
  transition: color 0.3s var(--ease);
}
.service:hover .service-body h3 { color: var(--brand); }
.service-body p { font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* ---------- WHY ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.why-card {
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--rule-strong);
  position: relative;
}
.why-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 60px;
  height: 2px;
  background: var(--brand);
}
.why-icon {
  width: 44px;
  height: 44px;
  color: var(--brand);
  margin-bottom: 1.5rem;
}
.why-icon svg { width: 100%; height: 100%; }
.why-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.why-card p { font-size: 0.95rem; margin: 0; }

/* ---------- ADVISOR ---------- */
.advisor-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.advisor-photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.25);
}
.advisor-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.advisor-initials {
  font-family: var(--f-display);
  font-size: 5rem;
  font-style: italic;
  color: var(--brand);
  user-select: none;
  pointer-events: none;
}

.advisor-bio {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.25rem;
}
.advisor-header h3 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 0.6rem;
}
.advisor-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}
.advisor-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 0;
  max-width: 60ch;
}

.advisor-quals {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.advisor-qual {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.qual-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.qual-value {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.55;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.contact-intro .section-title { margin-bottom: 2rem; }
.contact-intro .lead { margin-bottom: 3rem; max-width: 42ch; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.contact-list li:last-child { border-bottom: 1px solid var(--rule); }
.ct-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ct-value { color: var(--ink); font-size: 0.98rem; }
a.ct-value:hover { color: var(--brand); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: clamp(2rem, 3vw, 2.5rem);
  background: var(--bg-elev);
  border: 1px solid var(--rule);
}

/* Hidden honeypot field — invisible to humans, bots find it via DOM scraping
   and fill it, which lets Netlify auto-discard those submissions */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 0.8rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%238E0F18' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.4rem center;
  padding-right: 2rem;
}
html[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23D43B4E' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.form-submit .btn-primary { width: auto; }
.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.form-note.success { color: var(--brand); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--rule);
  margin-top: 0;
  position: relative;
  z-index: 2;
}
.footer-inner {
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
}
.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 32ch;
}
.footer-logo { height: 100px; width: auto; }
html[data-theme="dark"] .footer-logo { filter: brightness(1.05); }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col h4 {
  font-family: var(--f-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.footer-col a, .footer-col span {
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-tag { font-style: italic; font-family: var(--f-display); }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .about-grid, .contact-grid, .why-grid, .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .advisor-wrap { grid-template-columns: 1fr; max-width: 560px; }
  .advisor-photo { aspect-ratio: 4 / 3; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-mark { width: 80%; right: -25%; opacity: 0.04; }
  .about-figure {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 2rem 0;
    aspect-ratio: 16 / 10;
  }
  .map-frame { height: 320px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: var(--bg-elev);
    border-left: 1px solid var(--rule);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 40;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-burger { display: flex; }
  .nav-links a { padding: 0.5rem 0; opacity: 1; border-bottom: 1px solid var(--rule); }
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.25rem;
    height: 2.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--fg);
    border-radius: 50%;
    transition: background 0.2s;
  }
  .nav-close:hover { background: var(--rule); }

  .hero { padding-top: 7rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .hero-meta { gap: 1.5rem; }
  .meta-sep { display: none; }

  .contact-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .form-submit { flex-direction: column; align-items: stretch; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: left; }

  .advisor-qual { grid-template-columns: 110px 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

::selection { background: var(--brand); color: #fff; }

/* ================================================================
   REPORTS PAGE
   ================================================================ */

.page-hero {
  padding: clamp(9rem, 14vw, 12rem) var(--pad) clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 2;
}
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero .eyebrow { margin-bottom: 1.5rem; }
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--brand);
  font-weight: 400;
}
.page-hero-lead {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  color: var(--ink-muted);
  max-width: 58ch;
  line-height: 1.65;
  margin: 0;
}

.reports-section {
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(5rem, 10vw, 9rem);
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule);
}

.reports-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.report-item {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  position: relative;
  transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}
.report-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.3s var(--ease);
}
.report-item:hover {
  padding-left: 2rem;
}
.report-item:hover::before {
  width: 1.5rem;
}
.report-item:hover .report-title {
  color: var(--brand);
}
.report-item:hover .report-arrow {
  transform: translate(4px, -4px);
  color: var(--brand);
}

.report-year {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  font-feature-settings: 'tnum';
}

.report-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.report-title {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
  margin: 0;
}
.report-desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

.report-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.report-meta .meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.report-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  flex-shrink: 0;
}
.report-item:hover .report-arrow {
  border-color: var(--brand);
}

.report-item.disabled {
  pointer-events: none;
  opacity: 0.55;
}
.report-item.disabled .report-arrow {
  border-style: dashed;
}

.reports-empty-state {
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.reports-empty-state p {
  color: var(--ink-faint);
  font-style: italic;
  font-family: var(--f-display);
  font-size: 1.1rem;
}

/* ---- WHATSAPP FLOATING BUTTON ---- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  animation: wa-enter 0.6s var(--ease) 1.4s both;
}

@keyframes wa-enter {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.wa-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.32), 0 1px 4px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  flex-shrink: 0;
}

.wa-btn::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.8s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  60%       { transform: scale(1.22); opacity: 0; }
}

.wa-float:hover .wa-btn,
.wa-float:focus-visible .wa-btn {
  transform: scale(1.07);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.42), 0 2px 8px rgba(0, 0, 0, 0.14);
}

.wa-label {
  order: -1;
  background: var(--bg-elev);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--rule-strong);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(0.6rem);
  transition: opacity 0.22s ease, transform 0.28s var(--ease);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.wa-float:hover .wa-label,
.wa-float:focus-within .wa-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 720px) {
  .wa-float { bottom: 1.25rem; right: 1.25rem; }
  .wa-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-btn::before { animation: none; }
  .wa-float       { animation: none; }
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  overflow: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* floating numbers backdrop */
.loader-nums {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  pointer-events: none;
  user-select: none;
}
.loader-nums span {
  font-family: var(--f-display);
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 300;
  color: var(--brand);
  opacity: 0.06;
  animation: numFloat 3.2s ease-in-out infinite;
  will-change: transform;
}
.loader-nums span:nth-child(2) { animation-delay: -0.6s; font-size: clamp(3rem, 9vw, 8rem); opacity: 0.04; }
.loader-nums span:nth-child(3) { animation-delay: -1.2s; }
.loader-nums span:nth-child(4) { animation-delay: -1.8s; font-size: clamp(4rem, 11vw, 10rem); opacity: 0.05; }
.loader-nums span:nth-child(5) { animation-delay: -2.4s; }
.loader-nums span:nth-child(6) { animation-delay: -0.3s; font-size: clamp(3rem, 8vw, 7rem); opacity: 0.04; }
.loader-nums span:nth-child(7) { animation-delay: -1.5s; }
.loader-nums span:nth-child(8) { animation-delay: -0.9s; font-size: clamp(5rem, 12vw, 11rem); opacity: 0.05; }
.loader-nums span:nth-child(9) { animation-delay: -2.1s; }
.loader-nums span:nth-child(10){ animation-delay: -0.4s; font-size: clamp(3rem, 8vw, 7rem); opacity: 0.04; }

@keyframes numFloat {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-18px) rotate(2deg); }
}

/* progress bar */
.loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rule);
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  animation: loaderProgress 1.8s var(--ease) forwards;
}

@keyframes loaderProgress {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

.reports-footnote {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-elev);
  border-left: 2px solid var(--brand);
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .report-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "year arrow"
      "body arrow"
      "meta meta";
    gap: 0.5rem 1rem;
    padding: 1.5rem 0;
  }
  .report-year { grid-area: year; font-size: 1.75rem; }
  .report-body { grid-area: body; }
  .report-meta { grid-area: meta; margin-top: 0.35rem; }
  .report-arrow { grid-area: arrow; align-self: center; }
  .report-item:hover { padding-left: 0.5rem; }
  .report-item:hover::before { width: 0.5rem; left: -0.5rem; }
}
