/* ═══════════════════════════════════════════════════════════════
   ANCALOFA — Main Stylesheet
   Stack: Plain CSS · No build step · Hugo asset pipeline
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --anc-navy:   #071545;
  --anc-gold:   #B8922A;
  --anc-indigo: #1A1480;
  --anc-chalk:  #F7F6F2;
  --anc-linen:  #EDECEA;
  --anc-ink:    #111827;
  --anc-muted:  #6B7280;
  --anc-white:  #FFFFFF;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-2xl: 120px;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 80px;

  /* Radius */
  --r-sm:   4px;
  --r-md:   8px;
  --r-pill: 24px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-mid:  200ms ease;
  --t-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 2. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--anc-ink);
  background: var(--anc-chalk);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── 3. LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 64px;
}
.section { padding-block: var(--space-2xl); }
.section--linen { background: var(--anc-linen); }
.section--navy  { background: var(--anc-navy); }

/* ── 4. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  color: var(--anc-navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(48px, 6vw, 80px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); }
h4 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; letter-spacing: 0; }

p { color: var(--anc-muted); line-height: 1.75; }

.text-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--anc-gold);
}

/* ── 5. GOLD RULE ──────────────────────────────────────────── */
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--anc-gold);
  margin-bottom: 32px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gold-rule.is-visible { transform: scaleX(1); }
.gold-rule--center {
  margin-inline: auto;
  margin-bottom: 32px;
  transform-origin: center center;
}

/* Label in page-hero: rule matches text width via border-bottom */
.page-hero span.label {
  display: table;
  border-bottom: 2px solid var(--anc-gold);
  padding-bottom: 16px;
  margin-bottom: 32px;
}
.page-hero span.label + .gold-rule { display: none; }

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  transition: background var(--t-mid), color var(--t-mid), border-color var(--t-mid);
  white-space: nowrap;
}
.btn--primary {
  background: var(--anc-navy);
  color: var(--anc-chalk);
  border: 1.5px solid var(--anc-navy);
}
.btn--primary:hover {
  background: var(--anc-indigo);
  border-color: var(--anc-indigo);
}
.btn--outline {
  background: transparent;
  color: var(--anc-navy);
  border: 1.5px solid var(--anc-navy);
}
.btn--outline:hover {
  background: var(--anc-navy);
  color: var(--anc-chalk);
}
.btn--gold {
  background: var(--anc-gold);
  color: var(--anc-navy);
  border: 1.5px solid var(--anc-gold);
}
.btn--gold:hover { background: #a07a22; border-color: #a07a22; }
.btn--ghost {
  background: transparent;
  color: var(--anc-chalk);
  border: 1.5px solid rgba(247,246,242,0.35);
}
.btn--ghost:hover { border-color: var(--anc-chalk); }

/* ── 7. NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--t-mid), box-shadow var(--t-mid);
}
.nav.nav--scrolled {
  background: var(--anc-chalk);
  box-shadow: 0 1px 0 var(--anc-linen);
}
.nav.nav--hero .nav__logo svg polygon:first-child { fill: var(--anc-chalk); }
.nav.nav--hero .nav__logo svg polygon:last-child  { fill: var(--anc-navy); }
.nav.nav--hero .nav__logo-word  { color: var(--anc-chalk); }
.nav.nav--hero .nav__link       { color: rgba(255,255,255,0.82); }
.nav.nav--hero .nav__link:hover,
.nav.nav--hero .nav__link--active { color: #fff; }
.nav.nav--hero .nav__lang       { color: rgba(255,255,255,0.55); }
.nav.nav--hero .nav__lang:hover,
.nav.nav--hero .nav__lang--active { color: #fff; border-bottom-color: var(--anc-gold); }
.nav.nav--hero .nav__lang-sep   { color: rgba(255,255,255,0.2); }
.nav.nav--hero .btn--outline    { color: #fff; border-color: rgba(255,255,255,0.4); }
.nav.nav--hero .btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 64px;
}
.nav__logo { display: flex; align-items: flex-end; gap: 0; flex-shrink: 0; }
.nav__logo-word {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--anc-navy);
  line-height: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--anc-navy);
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link--active { color: var(--anc-indigo); }
.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.nav__lang {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--anc-muted);
  transition: color var(--t-fast);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav__lang:hover,
.nav__lang--active { color: var(--anc-navy); border-bottom-color: var(--anc-gold); }
.nav__lang-sep { color: var(--anc-linen); font-size: 12px; }

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--anc-navy);
  transition: transform var(--t-mid), opacity var(--t-mid);
}

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--anc-navy);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-link {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  color: var(--anc-chalk);
  transition: color var(--t-fast);
}
.nav__mobile-link:hover { color: var(--anc-gold); }
.nav__mobile-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 32px;
  color: rgba(247,246,242,0.6);
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  background: none;
  border: none;
  padding: 8px;
  transition: color var(--t-fast);
}
.nav__mobile-close:hover { color: var(--anc-chalk); }

/* Hamburger → X animation */
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 8. HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 64px;
  padding-bottom: var(--space-xl);
}
.hero__left { padding-top: var(--space-xl); }
.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(52px, 6.5vw, 80px);
  font-weight: 700;
  color: var(--anc-navy);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero__tagline-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--anc-muted);
  margin-bottom: 28px;
}
.hero__sub {
  font-size: 16px;
  color: var(--anc-muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 48px;
}
.hero__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  padding-bottom: 8px;
}

/* ── Hero cards (practice area hover cards) ── */
.hero__card {
  position: relative;
  overflow: hidden;
  width: 260px;
  height: 148px;
  text-decoration: none;
  display: block;
  flex-shrink: 0;
}
.hero__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.hero__card:hover .hero__card-img {
  transform: scale(1.07);
}
.hero__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,21,69,0.82) 0%, rgba(7,21,69,0.42) 50%, rgba(7,21,69,0.12) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 18px;
  transition: background 0.4s ease;
}
.hero__card:hover .hero__card-overlay {
  background: linear-gradient(to top, rgba(7,21,69,0.97) 0%, rgba(7,21,69,0.82) 100%);
}
.hero__card-label {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-left: 2px solid var(--anc-gold);
  padding-left: 10px;
  display: block;
}
.hero__card-desc {
  font-size: 13px;
  color: rgba(247,246,242,0.82);
  line-height: 1.5;
  margin-top: 8px;
  padding-left: 12px;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  max-height: 0;
  overflow: hidden;
}
.hero__card:hover .hero__card-desc {
  transform: translateY(0);
  opacity: 1;
  max-height: 90px;
}

/* ── Hero with background image ── */
.hero--image {
  position: relative;
  max-width: 100%;
  margin-inline: 0;
  padding: 0;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/AncalofaMain/images/brand/hero-bg.jpg');
  background-size: cover;
  background-position: center 92%;
  filter: saturate(0.7) brightness(0.55);
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,21,69,1) 0%, rgba(7,21,69,0.7) 24%, rgba(7,21,69,0.1) 48%, transparent 62%),
    linear-gradient(105deg, rgba(7,21,69,0.97) 36%, rgba(7,21,69,0.45) 68%, rgba(7,21,69,0.08) 100%);
  z-index: 1;
}
.hero--image .hero__left {
  position: relative;
  z-index: 2;
  height: 100vh;
  max-width: 56%;
  padding-top: var(--nav-h);
  padding-bottom: 162px;
  padding-left: 64px;
  display: flex;
  flex-direction: column;
  justify-content: safe center; /* falls back to flex-start when content overflows — prevents gold rule disappearing behind nav */
}
.hero--image .hero__right {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 40px 56px 40px;
}
.hero--image .hero__card {
  width: 250px;
  height: 195px;
  flex-shrink: 0;
}
.hero--image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 162px;
  background: linear-gradient(to bottom, transparent 0%, rgba(7,21,69,0.18) 100%);
  z-index: 3;
  pointer-events: none;
}
.hero--image .hero__statement {
  position: absolute;
  top: calc(var(--nav-h) + 40px);
  left: 52%;
  right: 4%;
  z-index: 4;
  font-size: clamp(24px, 2.8vw, 40px);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(7,21,69,0.8);
}
.hero--image .hero__tagline { color: #fff; font-size: clamp(38px, 4.5vw, 64px); font-weight: 700; }
.hero--image .hero__tagline-en { color: rgba(255,255,255,0.5); }
.hero--image .hero__sub { color: rgba(255,255,255,0.68); }
.hero--image .gold-rule { width: 48px; height: 2px; transform: scaleX(1); transition: none; }
.hero--image .hero__left .btn { margin-bottom: 0; }

/* ── 9. PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--space-xl));
  padding-bottom: var(--space-lg);
}
.page-hero__label { margin-bottom: 16px; }
.page-hero__title { color: var(--anc-navy); margin-bottom: 16px; }
.page-hero__desc  { font-size: 18px; max-width: 600px; }

/* ── 10. SERVICE CARDS ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--anc-white);
  border: 1px solid var(--anc-linen);
  border-radius: var(--r-sm);
  padding: 32px 28px;
  transition: border-left-color var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid);
  border-left: 3px solid transparent;
  position: relative;
}
.service-card:hover {
  border-left-color: var(--anc-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(7,21,69,0.07);
}
.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--anc-navy);
}
.service-card__name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--anc-navy);
  margin-bottom: 10px;
  letter-spacing: 0;
}
.service-card__desc {
  font-size: 14px;
  color: var(--anc-muted);
  line-height: 1.65;
}

/* ── 11. SECTION HEADERS ───────────────────────────────────── */
.section-header { margin-bottom: var(--space-xl); }
.section-header--center { text-align: center; }
.section-header--center .gold-rule { margin-inline: auto; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 18px; max-width: 560px; }
.section-header--center p { margin-inline: auto; }

/* ── 12. ABOUT TEASER ──────────────────────────────────────── */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-teaser__text h2  { margin-bottom: 20px; }
.about-teaser__text p   { margin-bottom: 24px; }
.about-teaser__visual {
  aspect-ratio: 4/3;
  background: var(--anc-navy);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-teaser__visual-text {
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 700;
  color: rgba(247,246,242,0.06);
  letter-spacing: -0.05em;
  user-select: none;
}

/* ── Why Ancalofa / differentiator section ── */
.about-intro {
  max-width: 680px;
  margin-bottom: 56px;
}
.about-intro h2 { margin-bottom: 20px; }
.about-intro__lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--anc-ink);
  margin-bottom: 12px;
}
.about-intro__sub {
  font-size: 0.9375rem;
  color: var(--anc-muted);
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.diff-item {
  border-left: 3px solid var(--anc-gold);
  padding-left: 24px;
}
.diff-item h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--anc-navy);
  margin-bottom: 10px;
}
.diff-item p {
  font-size: 0.9375rem;
  color: var(--anc-ink);
  line-height: 1.65;
}

/* ── Project Spotlight ── */
.spotlight-card {
  border: 1.5px solid var(--anc-linen);
  border-left: 4px solid var(--anc-gold);
  border-radius: var(--r-sm);
  padding: 40px 48px;
  max-width: 820px;
}
.spotlight-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.spotlight-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.spotlight-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--anc-muted);
}
.spotlight-tag + .spotlight-tag::before {
  content: "·";
  margin-right: 8px;
  color: var(--anc-linen);
}
.spotlight-card__name {
  font-size: 1.5rem;
  color: var(--anc-navy);
  margin-bottom: 8px;
}
.spotlight-card__tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--anc-gold);
  margin-bottom: 16px;
}
.spotlight-card__desc {
  font-size: 0.9375rem;
  color: var(--anc-ink);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 640px;
}

/* ── Acronym list ── */
.acr-list { list-style:none; padding:0; margin:24px 0; display:flex; flex-direction:column; gap:10px; }
.acr-list li { display:flex; gap:0; align-items:baseline; }
.acr-letter { font-family:var(--font-serif); font-size:18px; font-weight:700; color:var(--anc-gold); flex-shrink:0; }
.acr-word  { font-family:var(--font-serif); font-size:18px; font-weight:700; color:var(--anc-gold); flex-shrink:0; }
.acr-def   { color:var(--anc-ink); font-size:15px; line-height:1.5; flex:1; min-width:0; margin-left:4px; }

/* ── 13. PERSPECTIVAS TEASER ───────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: var(--anc-white);
  border: 1px solid var(--anc-linen);
  border-radius: var(--r-sm);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-left-color var(--t-mid), transform var(--t-mid);
  border-left: 3px solid transparent;
}
.article-card:hover {
  border-left-color: var(--anc-gold);
  transform: translateY(-3px);
}
.article-card__date { font-size: 12px; color: var(--anc-gold); font-weight: 600; letter-spacing: 0.05em; }
.article-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--anc-navy);
  line-height: 1.3;
}
.article-card__excerpt { font-size: 14px; color: var(--anc-muted); line-height: 1.65; flex: 1; }
.article-card__link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--anc-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.article-card:hover .article-card__link { gap: 10px; color: var(--anc-indigo); }

/* ── 14. CONTACT CTA BAND ──────────────────────────────────── */
.cta-band {
  background: var(--anc-navy);
  padding-block: var(--space-xl);
  text-align: center;
}
.cta-band h2   { color: var(--anc-chalk); margin-bottom: 12px; }
.cta-band p    { color: rgba(247,246,242,0.6); margin-bottom: 40px; font-size: 18px; }
.cta-band .gold-rule { background: var(--anc-gold); margin-inline: auto; margin-bottom: 24px; }

/* ── 15. FOOTER ────────────────────────────────────────────── */
.footer__logo-word {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--anc-chalk);
  line-height: 1;
}
.footer {
  background: var(--anc-ink);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: var(--space-xl);
}
.footer__brand-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(247,246,242,0.5);
  margin-top: 16px;
  line-height: 1.5;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--anc-gold);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__link {
  font-size: 14px;
  color: rgba(247,246,242,0.55);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--anc-chalk); }
.footer__bottom {
  border-top: 1px solid rgba(247,246,242,0.08);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: 13px;
  color: rgba(247,246,242,0.35);
}
.footer__legal-links { display: flex; gap: 24px; }
.footer__legal-link {
  font-size: 13px;
  color: rgba(247,246,242,0.35);
  transition: color var(--t-fast);
}
.footer__legal-link:hover { color: rgba(247,246,242,0.7); }

/* ── 16. FORM ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--anc-navy);
  letter-spacing: 0.02em;
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--anc-ink);
  background: var(--anc-white);
  border: 1px solid var(--anc-linen);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--anc-navy);
  box-shadow: 0 0 0 3px rgba(7,21,69,0.08);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--anc-navy); }
.form-check-label { font-size: 13px; color: var(--anc-muted); line-height: 1.5; }
.form-check-label a { color: var(--anc-navy); text-decoration: underline; }
.form-msg { font-size: 14px; padding: 14px 20px; border-radius: var(--r-sm); display: none; }
.form-msg--success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; display: block; }
.form-msg--error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; display: block; }

/* ── 17. PERSPECTIVAS LIST ─────────────────────────────────── */
.articles-list { display: flex; flex-direction: column; gap: 0; }
.article-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 32px;
  align-items: center;
  padding-block: 32px;
  padding-left: 20px;
  border-bottom: 1px solid var(--anc-linen);
  border-left: 3px solid transparent;
  transition: border-left-color var(--t-mid), transform var(--t-mid);
}
.article-row:first-child { border-top: 1px solid var(--anc-linen); }
.article-row:hover { border-left-color: var(--anc-gold); transform: translateX(6px); }
.article-row__date { font-size: 13px; color: var(--anc-gold); font-weight: 600; }
.article-row__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--anc-navy);
  margin-bottom: 6px;
}
.article-row__excerpt { font-size: 14px; color: var(--anc-muted); }
.article-row__arrow { color: var(--anc-gold); font-size: 20px; }

/* Article tags */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags--list { margin-top: 12px; }
.article-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--anc-gold);
  border: 1px solid var(--anc-gold);
  border-radius: 2px;
  padding: 3px 8px;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
a.article-tag:hover { background: var(--anc-gold); color: var(--anc-chalk); }

/* Single article */
.article-body { max-width: 720px; }
.article-body h2, .article-body h3 { margin-block: 40px 16px; }
.article-body p  { margin-bottom: 20px; color: var(--anc-ink); }
.article-body ul { margin-bottom: 20px; padding-left: 24px; list-style: disc; }
.article-body li { margin-bottom: 8px; color: var(--anc-ink); }

/* ── 18. PROJECTS ──────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--anc-white);
  border: 1px solid var(--anc-linen);
  border-radius: var(--r-sm);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-left-color var(--t-mid), transform var(--t-mid);
  border-left: 3px solid transparent;
}
.project-card:hover { border-left-color: var(--anc-gold); transform: translateY(-3px); }
.project-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(7,21,69,0.07);
  color: var(--anc-navy);
  width: fit-content;
}
.project-card__badge--live { background: #f0fdf4; color: #15803d; }
.project-card__badge--dev  { background: rgba(184,146,42,0.12); color: var(--anc-gold); }
.project-card__name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--anc-navy);
}
.project-card__desc { font-size: 14px; color: var(--anc-muted); flex: 1; }
.project-card__link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--anc-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast);
}
.project-card:hover .project-card__link { gap: 10px; }

/* ── 19. LEGAL ─────────────────────────────────────────────── */
.legal-body {
  max-width: 760px;
}
.legal-body h2 { font-size: 26px; margin-block: 48px 16px; }
.legal-body h3 { font-size: 20px; font-family: var(--font-sans); font-weight: 600; margin-block: 32px 12px; letter-spacing: 0; }
.legal-body p  { margin-bottom: 16px; color: var(--anc-ink); font-size: 15px; line-height: 1.75; }
.legal-body ul { margin-bottom: 16px; padding-left: 24px; list-style: disc; }
.legal-body li { margin-bottom: 8px; color: var(--anc-ink); font-size: 15px; }
.legal-body a  { color: var(--anc-indigo); text-decoration: underline; }
.legal-meta { font-size: 13px; color: var(--anc-muted); margin-bottom: 48px; }

/* ── 20. PAGE-SPECIFIC COMPONENTS ─────────────────────────── */

/* Services cluster (Servicios page) */
.services-cluster { }
.services-cluster__header {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
}
.services-cluster__icon {
  width: 56px;
  height: 56px;
  color: var(--anc-navy);
  margin-top: 4px;
}
.services-cluster__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-item {
  padding: 28px;
  background: var(--anc-white);
  border: 1px solid var(--anc-linen);
  border-left: 3px solid var(--anc-gold);
  border-radius: var(--r-sm);
}
.service-item h4 { font-size: 16px; color: var(--anc-navy); margin-bottom: 8px; }
.service-item p  { font-size: 14px; line-height: 1.65; }

/* Servicios — Image split layout */
.section--split { padding-block: 0; }

.svc-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 580px;
}
.svc-split--reverse {
  grid-template-columns: 2fr 3fr;
}
.svc-split--reverse .svc-split__image   { order: 1; }
.svc-split--reverse .svc-split__content { order: 2; }

.svc-split__content {
  padding: 96px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-split__image {
  position: relative;
  overflow: hidden;
}
.svc-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-split__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,21,69,0.72) 0%, rgba(7,21,69,0.40) 100%);
  transition: opacity 500ms ease;
}

/* Hover — slow zoom + overlay reveal */
.svc-split:hover .svc-split__image img {
  transform: scale(1.05);
}
.svc-split:hover .svc-split__image::after {
  opacity: 0.45;
}

/* Hover — gold rule slides in under heading */
.svc-split__content .services-cluster__header h2::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--anc-gold);
  margin-top: 10px;
  transition: width 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-split:hover .svc-split__content .services-cluster__header h2::after {
  width: 48px;
}

/* Service item hover — lift + shadow + gold heading */
.svc-split__content .service-item {
  transition: transform 280ms ease, box-shadow 280ms ease;
  cursor: default;
}
.svc-split__content .service-item h4 {
  transition: color 280ms ease;
}
.svc-split__content .service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(7, 21, 69, 0.07);
}
.svc-split__content .service-item:hover h4 {
  color: var(--anc-gold);
}

/* Founders (Nosotros page) */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.founder-card {
  padding: 40px;
  background: var(--anc-white);
  border: 1px solid var(--anc-linen);
  border-radius: var(--r-sm);
}
.founder-card__initial {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--anc-gold);
  line-height: 1;
  margin-bottom: 20px;
}
.founder-card__name { font-size: 22px; color: var(--anc-navy); margin-bottom: 4px; }
.founder-card__role { font-size: 13px; color: var(--anc-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.founder-card__bio  { font-size: 15px; line-height: 1.7; }

/* Founder photo placeholder */
.founder-photo-placeholder {
  width: 160px;
  height: 180px;
  flex-shrink: 0;
  background: var(--anc-linen);
  border: 2px dashed var(--anc-gold);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--anc-gold);
}
.founder-photo-placeholder svg {
  width: 52px;
  height: 52px;
  opacity: 0.6;
}
.founder-photo-placeholder span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--anc-muted);
}

/* Leader card (single founder — Nosotros page) */
.leader-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 720px;
  padding: 40px;
  background: var(--anc-white);
  border: 1px solid var(--anc-linen);
  border-left: 4px solid var(--anc-gold);
  border-radius: var(--r-sm);
}
.leader-card__body { flex: 1; }
.leader-card__name { font-size: 22px; color: var(--anc-navy); margin-bottom: 4px; }
.leader-card__role { font-size: 13px; color: var(--anc-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.leader-card__bio  { font-size: 15px; line-height: 1.7; margin-bottom: 12px; }

/* Network/Team grid (Nosotros page) */
.network-intro {
  max-width: 680px;
  margin-bottom: 48px;
}
.network-intro p { font-size: 1rem; line-height: 1.75; color: var(--anc-ink); }
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.network-item {
  border-left: 3px solid var(--anc-gold);
  padding-left: 20px;
}
.network-item h4 { font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 700; color: var(--anc-navy); margin-bottom: 8px; }
.network-item p  { font-size: 0.875rem; color: var(--anc-ink); line-height: 1.6; }

/* Values (Nosotros page) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-item {
  padding: 32px;
  border-top: 2px solid var(--anc-gold);
}
.value-item h4 { font-size: 17px; color: var(--anc-navy); margin-bottom: 8px; }
.value-item p  { font-size: 15px; }

/* About blocks (3-col — Nosotros/About) */
.about-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.about-block {
  padding: 32px 28px;
  background: var(--anc-white);
  border-top: 3px solid var(--anc-gold);
  border-radius: var(--r-sm);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.about-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(7, 21, 69, 0.07);
}
.about-block__title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--anc-navy);
  margin-bottom: 12px;
}
.about-block p { font-size: 15px; line-height: 1.7; }

/* How we work grid (2×2 — Nosotros/About) */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.how-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  border-radius: var(--r-sm);
  transition: background var(--t-mid), box-shadow var(--t-mid), transform var(--t-mid);
}
.how-item:hover {
  background: var(--anc-white);
  box-shadow: 0 8px 24px rgba(7, 21, 69, 0.08);
  transform: translateY(-3px);
}
.how-item__icon {
  width: 44px;
  height: 44px;
  color: var(--anc-gold);
  flex-shrink: 0;
}
.how-item__icon svg { width: 32px; height: 32px; stroke-width: 1.5; }
.how-item__title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--anc-navy);
  margin-bottom: 0;
}
.how-item p { font-size: 15px; line-height: 1.75; }

/* Difference cards (2×2 — Nosotros/About) */
.diff-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.diff-card-item {
  padding: 36px 32px;
  background: var(--anc-white);
  border: 1px solid var(--anc-linen);
  border-top: 3px solid var(--anc-gold);
  border-radius: var(--r-sm);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.diff-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(7, 21, 69, 0.07);
}
.diff-card-item__title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--anc-navy);
  margin-bottom: 12px;
}
.diff-card-item p { font-size: 15px; line-height: 1.7; }

/* Brand closer / acrostic compact */
.brand-close { max-width: 640px; margin-inline: auto; text-align: center; }
.brand-close__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--anc-gold);
  margin-bottom: 16px;
}
.brand-close__intro { font-size: 16px; margin-bottom: 32px; }
.acr-list--compact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin: 0;
}
.acr-list--compact li { display: flex; align-items: baseline; gap: 4px; }
.acr-list--compact .acr-letter { font-size: 20px; }
.acr-list--compact .acr-word  { font-size: 16px; color: var(--anc-navy); }

/* Prose (generic single pages) */
.prose { max-width: 720px; }
.prose h2 { margin-block: 40px 16px; }
.prose h3 { margin-block: 32px 12px; font-size: 22px; }
.prose p  { margin-bottom: 20px; color: var(--anc-ink); }
.prose ul { margin-bottom: 20px; padding-left: 24px; list-style: disc; }
.prose li { margin-bottom: 8px; color: var(--anc-ink); }

/* ── 21. SCROLL ANIMATIONS ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 100ms; }
.fade-up-delay-2 { transition-delay: 200ms; }
.fade-up-delay-3 { transition-delay: 300ms; }
.fade-up-delay-4 { transition-delay: 400ms; }

/* desktop-only hero spacing (keeps content above card strip) */
@media (min-width: 769px) {
  .hero--image .hero__tagline { margin-bottom: 10px; }
  .hero--image .hero__tagline-en { margin-bottom: 12px; }
  .hero--image .hero__sub { margin-bottom: 20px; }
  .hero--image .gold-rule { margin-bottom: 20px; }
}

/* ── 21. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding-inline: 40px; }
  .hero { padding-inline: 40px; }
  .nav__inner { padding-inline: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .svc-split__content { padding: 72px 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; --space-2xl: 80px; }
  .container { padding-inline: 24px; }
  .hero { grid-template-columns: 1fr; padding-inline: 24px; gap: 48px; }
  .hero__right { align-items: flex-start; }
  .hero--image {
    display: block;
    height: 100vh;
    height: 100svh;
  }
  .hero--image .hero__left {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    height: auto;
    max-width: 100%;
    padding: var(--nav-h) 28px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero--image .hero__right { display: none; }
  .hero--image .hero__statement { display: none; }
  .nav__inner { padding-inline: 24px; }
  .nav__links { display: none; }
  .nav__right .btn { display: none; }
  .nav__hamburger { display: flex; }
  .about-teaser { grid-template-columns: 1fr; gap: 40px; }
  .diff-grid { grid-template-columns: 1fr; gap: 28px; }
  .articles-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 1fr; }
  .article-row__date { font-size: 12px; }
  .article-row__arrow { display: none; }
  .services-cluster__header { grid-template-columns: 1fr; }
  .services-cluster__items { grid-template-columns: 1fr; }
  .svc-split, .svc-split--reverse { grid-template-columns: 1fr; }
  .svc-split__image { min-height: 260px; order: 0 !important; }
  .svc-split__content { order: 1 !important; padding: 48px 24px; }
  .founders-grid { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .network-grid  { grid-template-columns: 1fr; gap: 24px; }
  .leader-card   { flex-direction: column; gap: 20px; }
  .founder-photo-placeholder { width: 100%; height: 140px; }
  .about-blocks  { grid-template-columns: 1fr; gap: 20px; }
  .how-grid      { grid-template-columns: 1fr; gap: 32px; }
  .diff-cards    { grid-template-columns: 1fr; gap: 20px; }
  .acr-list--compact { gap: 10px 20px; }
}
