/* ============================================================
   THOMSEN & DEVECCHI Advogados
   Paleta clássica: azul-marinho, dourado discreto, off-white
   ============================================================ */
:root {
  /* Marinho */
  --navy-050: #EEF2F8;
  --navy-100: #D6DEEA;
  --navy-200: #A7B6CE;
  --navy-300: #6F84A6;
  --navy-400: #3F5680;
  --navy-500: #1B3B66;
  --navy-600: #143055;
  --navy-700: #0E2547;
  --navy-800: #08172E;
  --navy-900: #050E1F;

  /* Dourado discreto */
  --gold-100: #F1E8D2;
  --gold-200: #E0CFA0;
  --gold-300: #CDB372;
  --gold-400: #B89968;
  --gold-500: #9E7E4A;
  --gold-600: #7B6238;

  /* Off-white / Ivory */
  --ivory:    #F7F3EC;
  --ivory-2:  #EFE9DD;
  --paper:    #FBF9F4;
  --cream:    #F2ECDF;

  /* Neutros */
  --ink:        #14223A;
  --ink-soft:   #3A465C;
  --ink-mute:   #6E7689;
  --rule:       #E2DAC7;
  --rule-soft:  #ECE5D2;
  --shade-1:    rgba(20, 34, 58, 0.04);
  --shade-2:    rgba(20, 34, 58, 0.08);
  --shade-3:    rgba(20, 34, 58, 0.14);

  /* Tipografia */
  --font-serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-sans:  "Montserrat", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-serif); /* Trocado pelo Tweak de tipografia */

  /* Espaçamento */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Raio */
  --r-2: 2px;
  --r-4: 4px;
  --r-6: 6px;
  --r-8: 8px;

  /* Elevação */
  --elev-1: 0 1px 2px rgba(8, 23, 46, 0.04), 0 2px 8px rgba(8, 23, 46, 0.05);
  --elev-2: 0 4px 12px rgba(8, 23, 46, 0.06), 0 12px 32px rgba(8, 23, 46, 0.08);
  --elev-3: 0 8px 24px rgba(8, 23, 46, 0.10), 0 24px 60px rgba(8, 23, 46, 0.14);

  /* Intensidade do parallax (Tweak) */
  --parallax-intensity: 1;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============ TYPE ============ */
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.005em; }
.sans  { font-family: var(--font-sans); }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--navy-700); letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 7vw, 96px); line-height: 1.02; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; }
h3 { font-size: clamp(24px, 2.2vw, 36px); line-height: 1.15; }
h4 { font-size: 22px; line-height: 1.25; }

/* Typography variations (Tweak)
   "serif"      → Cormorant Garamond (clássico)
   "sans"       → Manrope (sóbrio, contemporâneo)
   "editorial"  → Bricolage Grotesque (editorial, optical)
   "geo"        → Space Grotesk (geométrico, técnico)
*/
body[data-typography="sans"] {
  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
}
body[data-typography="editorial"] {
  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
}
body[data-typography="geo"] {
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
}
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) h1,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) h2 {
  font-weight: 700;
  letter-spacing: -0.04em;
}
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) h3,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) h4,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .area-title,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .partner-info h3,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .hero-card .card-title,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .faq-q,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .map-card strong,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .service-card h4,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .commitment-item h4,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .process-step h4,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .pillar h4 {
  font-weight: 600;
  letter-spacing: -0.025em;
}
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--gold-500);
}
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .hero-title em,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) h2 em,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) h1 em,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .area-hero h1 em {
  font-weight: 300;
}
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .hero-title { font-weight: 700; }
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .pillar-num,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .service-num,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .area-num,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .faq-num,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .commitment-item .num,
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .process-step .step-num {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}
body:is([data-typography="sans"], [data-typography="editorial"], [data-typography="geo"]) .area-overview-body p:first-child::first-letter {
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* Editorial: Bricolage tem optical sizes — empurrar opsz no display grande */
body[data-typography="editorial"] h1,
body[data-typography="editorial"] .hero-title,
body[data-typography="editorial"] .area-hero h1 {
  font-variation-settings: "opsz" 96;
  font-weight: 700;
  letter-spacing: -0.045em;
}
body[data-typography="editorial"] h2,
body[data-typography="editorial"] .section-head h2 {
  font-variation-settings: "opsz" 56;
}

/* Geo: Space Grotesk pede um pouco mais de tracking aberto em sizes médios */
body[data-typography="geo"] h3,
body[data-typography="geo"] h4,
body[data-typography="geo"] .area-title,
body[data-typography="geo"] .service-card h4,
body[data-typography="geo"] .commitment-item h4,
body[data-typography="geo"] .process-step h4,
body[data-typography="geo"] .pillar h4,
body[data-typography="geo"] .partner-info h3 {
  letter-spacing: -0.015em;
}
body[data-typography="geo"] h1,
body[data-typography="geo"] .hero-title,
body[data-typography="geo"] .area-hero h1 {
  letter-spacing: -0.035em;
  font-weight: 600;
}

p { margin: 0; }
.lede { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6; color: var(--ink-soft); font-weight: 400; }
.body { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.body-sm { font-size: 14px; line-height: 1.6; color: var(--ink-mute); }
.tiny { font-size: 12px; line-height: 1.5; color: var(--ink-mute); letter-spacing: 0.02em; }

em { font-style: italic; color: var(--gold-500); font-family: var(--font-serif); font-weight: 500; }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.container.narrow { max-width: 980px; }
.container.tight  { max-width: 760px; }

section { position: relative; }

/* ============ NAVBAR ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--rule-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  display: grid; place-items: center;
  color: var(--navy-700);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.05em;
  background: var(--paper);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 0.5px solid var(--gold-300);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy-700);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-sub {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: 3px;
}
.brand-text { display: flex; flex-direction: column; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--navy-700); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--navy-700);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.nav-cta:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--elev-2);
}
.nav-cta .icon { width: 14px; height: 14px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-700);
  color: var(--ivory);
  border: 1.5px solid var(--navy-700);
}
.btn-primary:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
}
.btn-gold {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--gold-400);
}
.btn-gold:hover {
  background: var(--gold-400);
  color: var(--paper);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  padding: 10px 0;
  border-radius: 0;
}
.btn-ghost .arrow {
  width: 22px; height: 1px; background: currentColor;
  position: relative;
  transition: width 0.3s;
}
.btn-ghost .arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: 50%;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn-ghost:hover .arrow { width: 38px; }

.btn .wa-icon { width: 16px; height: 16px; }

/* ============ DECORATIVE ============ */
.ornament {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-400);
}
.ornament::before, .ornament::after {
  content: "";
  width: 38px; height: 1px;
  background: currentColor;
}
.ornament .diamond {
  width: 6px; height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}

.rule-gold {
  width: 60px; height: 1px;
  background: var(--gold-400);
  margin: 24px 0;
}

/* ============ HERO (LANDING) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(184, 153, 104, 0.10), transparent 60%),
    radial-gradient(900px 500px at -5% 110%, rgba(27, 59, 102, 0.08), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
}

/* Hero stamp (alternate layout) — institutional seal */
.hero-stamp {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  display: none;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.hero-stamp .stamp-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
}
.hero-stamp .stamp-ring.r1 { inset: 0; opacity: 0.55; }
.hero-stamp .stamp-ring.r2 { inset: 24px; opacity: 0.30; border-style: dashed; }
.hero-stamp .stamp-ring.r3 { inset: 56px; opacity: 0.65; }
.hero-stamp .stamp-text {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-stamp .stamp-text text {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  fill: var(--gold-500);
}
.hero-stamp .stamp-core {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold-400);
  display: grid;
  place-items: center;
  box-shadow: var(--elev-2);
  text-align: center;
}
.hero-stamp .stamp-core::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 0.5px solid var(--gold-300);
}
.hero-stamp .stamp-mono {
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 1;
  color: var(--navy-700);
  font-weight: 500;
  letter-spacing: -0.02em;
}
body[data-typography="serif"] .hero-stamp .stamp-mono {
  font-style: italic;
  font-weight: 500;
}
.hero-stamp .stamp-rule {
  width: 50px;
  height: 1px;
  background: var(--gold-400);
  margin: 14px auto;
}
.hero-stamp .stamp-sub {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.hero-stamp .stamp-year {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* Top ornament for centered hero */
.hero-top-ornament {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-400);
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 1s ease 0.1s forwards;
}
.hero-top-ornament::before,
.hero-top-ornament::after {
  content: "";
  width: 60px;
  height: 1px;
  background: currentColor;
}
.hero-top-ornament .dot {
  width: 8px; height: 8px;
  background: currentColor;
  transform: rotate(45deg);
}

/* ====================================================
   HERO VARIATION: "centered" — texto centralizado, sem cards
   ==================================================== */
body[data-hero="centered"] .hero {
  text-align: center;
  min-height: 0;
  padding: 140px 0 96px;
}
body[data-hero="centered"] .hero-inner {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
}
body[data-hero="centered"] .hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body[data-hero="centered"] .hero-top-ornament { display: inline-flex; }
body[data-hero="centered"] .eyebrow::before { display: none; }
body[data-hero="centered"] .hero-title { text-align: center; }
body[data-hero="centered"] .hero-lede {
  margin: 0 auto;
  text-align: center;
  max-width: 580px;
}
body[data-hero="centered"] .hero-actions,
body[data-hero="centered"] .hero-meta {
  justify-content: center;
}
body[data-hero="centered"] .hero-visual { display: none; }
body[data-hero="centered"] .hero-stamp { display: none; }
body[data-hero="centered"] .hero .float-deco { display: none; }

/* ====================================================
   HERO VARIATION: "stamp" — texto à esquerda + selo institucional
   ==================================================== */
body[data-hero="stamp"] .hero-visual { display: none; }
body[data-hero="stamp"] .hero-stamp { display: flex; }
body[data-hero="stamp"] .hero-inner {
  grid-template-columns: 1.3fr 1fr;
}

/* ====================================================
   HERO VARIATION: "split" — padrão (texto + 3 cards) */
.hero::before {
  /* faint paper grain */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(184, 153, 104, 0.12) 0 0.5px, transparent 0.5px),
    radial-gradient(circle at 65% 70%, rgba(184, 153, 104, 0.08) 0 0.5px, transparent 0.5px);
  background-size: 90px 90px, 120px 120px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 7.6vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  color: var(--navy-700);
  margin: 28px 0 32px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-500);
  font-weight: 400;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-line-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  white-space: nowrap;
}
body[data-hero="centered"] .hero-title {
  font-size: clamp(44px, 6.4vw, 92px);
}
.hero-title .line:nth-child(2) span { animation-delay: 0.15s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.30s; }
@keyframes hero-line-rise { to { transform: translateY(0); } }

.hero-lede {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  opacity: 0;
  animation: fade-up 1s ease 0.65s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 1s ease 0.85s forwards;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 56px;
  opacity: 0;
  animation: fade-up 1s ease 1s forwards;
}
.hero-meta .meta-item .k {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.hero-meta .meta-item .v {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--navy-700);
  margin-top: 6px;
  line-height: 1;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HERO VISUAL (parallax stack) */
.hero-visual {
  position: relative;
  height: 560px;
}
.hero-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: var(--elev-2);
  overflow: hidden;
  will-change: transform;
}
.hero-card.card-1 {
  top: 0; right: 40px;
  width: 320px; height: 420px;
  transform: rotate(-3deg);
  opacity: 0;
  animation: fade-card 1.2s ease 0.4s forwards;
}
.hero-card.card-2 {
  bottom: 0; left: 0;
  width: 280px; height: 360px;
  transform: rotate(2.5deg);
  opacity: 0;
  animation: fade-card 1.2s ease 0.6s forwards;
}
.hero-card.card-3 {
  top: 80px; left: 200px;
  width: 220px; height: 280px;
  transform: rotate(-1deg);
  opacity: 0;
  animation: fade-card 1.2s ease 0.8s forwards;
  z-index: 2;
}
@keyframes fade-card { to { opacity: 1; } }

.hero-card .card-band {
  height: 4px;
  background: var(--gold-400);
}
.hero-card .card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.hero-card .card-eyebrow {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.hero-card .card-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
  color: var(--navy-700);
  font-weight: 500;
}
.hero-card .card-line {
  height: 1px;
  background: var(--rule);
  margin: 4px 0;
}
.hero-card .card-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.hero-card .card-lines span {
  display: block;
  height: 6px;
  background: var(--ivory-2);
  border-radius: 2px;
}
.hero-card .card-lines span:nth-child(odd) { width: 92%; }
.hero-card .card-lines span:nth-child(2) { width: 78%; }
.hero-card .card-lines span:nth-child(4) { width: 65%; }
.hero-card .card-seal {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.hero-card .card-seal .seal-circle {
  width: 32px; height: 32px;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: 14px;
}
.hero-card .card-seal .seal-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.3;
}

/* Floating decorative items (parallax) */
.float-deco {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.float-deco.column {
  top: 40px; right: 6%;
  width: 140px;
  opacity: 0.18;
}
.float-deco.scale {
  bottom: 60px; left: 8%;
  width: 130px;
  opacity: 0.14;
}
.float-deco.ornate {
  top: 30%; left: 38%;
  width: 100px;
  opacity: 0.10;
}

/* ============ SCROLL REVEAL UTILITIES ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* ============ SECTION HEADER ============ */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 64px;
  max-width: 760px;
}
.section-head.centered {
  align-items: center;
  text-align: center;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
}
.section-head h2 em {
  font-style: italic;
  color: var(--gold-500);
  font-weight: 400;
}
.section-head .sub {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
}

/* ============ INSTITUTIONAL (ABOUT) ============ */
.institutional {
  padding: 140px 0;
  background: var(--paper);
  position: relative;
}
.institutional::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
}
.institutional-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.institutional-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: var(--ivory-2);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--elev-2);
}
.institutional-visual .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink-mute);
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 18px, rgba(184, 153, 104, 0.06) 18px, rgba(184, 153, 104, 0.06) 19px);
}
.institutional-visual .placeholder-icon {
  width: 64px; height: 64px;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-500);
}
.institutional-visual .placeholder-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.institutional-visual .frame-stamp {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.institutional-visual .frame-stamp.r { left: auto; right: 20px; }
.institutional-visual .frame-stamp.bl { top: auto; bottom: 20px; }

.institutional-body h2 em { font-style: italic; color: var(--gold-500); font-weight: 400; }
.institutional-body p { margin-top: 24px; font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.institutional-pillars {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pillar {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.pillar .pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-500);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.pillar h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--navy-700);
  margin: 6px 0 8px;
}
.pillar p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ============ AREAS GRID ============ */
.areas {
  padding: 140px 0;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.areas-bg-deco {
  position: absolute;
  top: 10%; right: -100px;
  width: 360px; height: 360px;
  border: 1px solid var(--gold-300);
  border-radius: 50%;
  opacity: 0.25;
  pointer-events: none;
  will-change: transform;
}
.areas-bg-deco.b {
  top: auto; right: auto;
  bottom: -120px; left: -120px;
  width: 480px; height: 480px;
  border-color: var(--navy-200);
  opacity: 0.30;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.area-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 36px 32px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.3s;
  cursor: pointer;
  will-change: transform;
}
.area-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 30% 0%, rgba(184, 153, 104, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--elev-3);
  border-color: var(--gold-200);
}
.area-card:hover::before { transform: scaleX(1); }
.area-card:hover::after { opacity: 1; }

.area-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-500);
  letter-spacing: 0.06em;
}
.area-icon {
  margin-top: 18px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  color: var(--navy-700);
  transition: transform 0.4s ease;
}
.area-card:hover .area-icon { transform: scale(1.08) rotate(-2deg); }
.area-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  color: var(--navy-700);
}
.area-desc {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.area-link {
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.area-link .arrow {
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s;
}
.area-link .arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.area-card:hover .area-link .arrow { width: 36px; }

/* Card style variations (Tweak) */
body[data-card-style="bordered"] .area-card {
  border-color: var(--gold-300);
}
body[data-card-style="bordered"] .area-card::before {
  height: 1px;
  background: var(--navy-700);
}
body[data-card-style="minimal"] .area-card {
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
body[data-card-style="minimal"] .area-card::before { display: none; }
body[data-card-style="minimal"] .area-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-top-color: var(--gold-400);
}

/* ============ PARTNERS ============ */
.partners {
  padding: 140px 0;
  background: var(--paper);
  position: relative;
}
.partners::before, .partners::after {
  content: "";
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
}
.partners::before { top: 0; }
.partners::after { bottom: 0; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 48px;
}
.partner-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: flex-start;
}
.partner-photo {
  aspect-ratio: 4/5;
  background: var(--ivory-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(135deg, transparent 0, transparent 16px, rgba(184, 153, 104, 0.06) 16px, rgba(184, 153, 104, 0.06) 17px);
}
.partner-photo .placeholder-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-500);
}
.partner-photo .photo-label {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.partner-info .partner-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.partner-info h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy-700);
}
.partner-info .partner-oab {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.partner-info .partner-rule {
  width: 40px; height: 1px;
  background: var(--gold-400);
  margin: 18px 0;
}
.partner-info .partner-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.partner-info .partner-areas {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.partner-info .tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  padding: 5px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}

/* ============ COMMITMENT (Ethics / Compliance) ============ */
.commitment {
  padding: 140px 0;
  background: var(--navy-700);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.commitment::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(184, 153, 104, 0.10), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(184, 153, 104, 0.07), transparent 60%);
  pointer-events: none;
}
.commitment .container { position: relative; z-index: 2; }
.commitment h2 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 400;
}
.commitment h2 em {
  color: var(--gold-300);
  font-style: italic;
  font-weight: 400;
}
.commitment .lede {
  color: rgba(247, 243, 236, 0.78);
  max-width: 720px;
  font-size: 19px;
}
.commitment-list {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.commitment-item {
  padding-top: 24px;
  border-top: 1px solid rgba(184, 153, 104, 0.30);
}
.commitment-item .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--gold-300);
}
.commitment-item h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ivory);
  margin-top: 10px;
}
.commitment-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(247, 243, 236, 0.70);
  margin-top: 10px;
}

/* ============ FAQ ============ */
.faq {
  padding: 140px 0;
  background: var(--ivory);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  padding: 28px 0;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-700);
  line-height: 1.3;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold-500); }
.faq-q .faq-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-500);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  width: 36px;
  padding-top: 6px;
}
.faq-q .faq-text { flex: 1; padding-right: 24px; }
.faq-q .faq-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--navy-700);
  transition: all 0.3s;
  position: relative;
}
.faq-q .faq-toggle::before,
.faq-q .faq-toggle::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.faq-q .faq-toggle::before {
  width: 12px; height: 1px;
}
.faq-q .faq-toggle::after {
  width: 1px; height: 12px;
  transition: transform 0.3s;
}
.faq-item.open .faq-q .faq-toggle {
  background: var(--navy-700);
  color: var(--ivory);
  border-color: var(--navy-700);
}
.faq-item.open .faq-q .faq-toggle::after {
  transform: scaleY(0);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
}
.faq-a-inner {
  padding: 0 60px 28px 60px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============ LOCATION (MAP) ============ */
.location {
  padding: 140px 0;
  background: var(--paper);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: stretch;
}
.location-info {
  padding: 8px 0;
}
.location-info h2 em { font-style: italic; color: var(--gold-500); font-weight: 400; }
.location-info p { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.location-info .addr-line {
  margin-top: 36px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.location-info .addr-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  color: var(--gold-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.location-info .addr-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.location-info .addr-text strong { color: var(--navy-700); display: block; margin-bottom: 4px; font-weight: 600; font-family: var(--font-sans); letter-spacing: 0.04em; }

.location-map {
  position: relative;
  min-height: 480px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background:
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%);
}
.location-map svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.location-map .map-pin {
  position: absolute;
  top: 46%; left: 52%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
}
.location-map .pin-circle {
  width: 44px; height: 44px;
  background: var(--navy-700);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid; place-items: center;
  box-shadow: var(--elev-2);
  position: relative;
}
.location-map .pin-circle::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50% 50% 50% 0;
  border: 1px solid var(--gold-300);
}
.location-map .pin-circle::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--gold-300);
  transform: rotate(45deg);
}
.location-map .pin-pulse {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy-700);
  opacity: 0.18;
  top: -20px; left: -18px;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}
.location-map .map-card {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 18px 22px;
  box-shadow: var(--elev-2);
  max-width: 320px;
}
.location-map .map-card strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy-700);
  display: block;
  margin-bottom: 6px;
}
.location-map .map-card .addr {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============ CONTACT (WhatsApp CTA) ============ */
.contact-cta {
  padding: 120px 0;
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(184, 153, 104, 0.10), transparent 60%),
    var(--ivory);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.contact-cta .container { position: relative; z-index: 2; }
.contact-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
}
.contact-cta h2 em { font-style: italic; color: var(--gold-500); font-weight: 400; }
.contact-cta .lede { margin: 24px auto 40px; max-width: 640px; text-align: center; }
.contact-cta .cta-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-cta .cta-row .btn {
  padding: 18px 32px;
  font-size: 13.5px;
}
.contact-cta .micro {
  margin-top: 32px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-800);
  color: rgba(247, 243, 236, 0.65);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(184, 153, 104, 0.20);
}
.footer .brand-name { color: var(--ivory); }
.footer .footer-tag {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 360px;
}
.footer-social {
  margin-top: 28px;
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(184, 153, 104, 0.35);
  display: grid;
  place-items: center;
  color: var(--gold-300);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.footer-social a:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-800);
  transform: translateY(-2px);
}
.footer-social a svg {
  width: 18px;
  height: 18px;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0 0 20px;
}
.footer-col a, .footer-col .footer-item {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(247, 243, 236, 0.65);
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: rgba(247, 243, 236, 0.45);
  letter-spacing: 0.04em;
}
.footer-disclaimer {
  margin-top: 24px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.45);
  max-width: 780px;
}

/* ============ AREA PAGE — HEADER / HERO ============ */
.area-hero {
  position: relative;
  padding: 220px 0 140px;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(184, 153, 104, 0.12), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%);
  overflow: hidden;
}
.area-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(184, 153, 104, 0.10) 0 0.5px, transparent 0.5px);
  background-size: 90px 90px;
  opacity: 0.5;
  pointer-events: none;
}
.area-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: flex-end;
}
.area-hero-breadcrumb {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.area-hero-breadcrumb a { color: var(--gold-500); }
.area-hero-breadcrumb a:hover { color: var(--gold-600); }
.area-hero-breadcrumb .sep { opacity: 0.5; }

.area-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy-700);
}
.area-hero h1 em { font-style: italic; color: var(--gold-500); font-weight: 400; }
.area-hero .lede { margin-top: 28px; max-width: 580px; font-size: 18px; }

.area-hero-aside {
  position: relative;
  height: 460px;
}
.area-hero-symbol {
  position: absolute;
  right: 0; bottom: 0;
  width: 360px; height: 360px;
  display: grid; place-items: center;
  will-change: transform;
}
.area-hero-symbol .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold-300);
  opacity: 0.5;
}
.area-hero-symbol .ring-1 { inset: 0; }
.area-hero-symbol .ring-2 { inset: 36px; opacity: 0.35; }
.area-hero-symbol .ring-3 { inset: 72px; opacity: 0.2; }
.area-hero-symbol .core {
  width: 180px; height: 180px;
  background: var(--paper);
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  display: grid; place-items: center;
  color: var(--navy-700);
  box-shadow: var(--elev-2);
  position: relative;
  z-index: 2;
}

/* AREA — CONTENT SECTIONS */
.area-section {
  padding: 110px 0;
}
.area-section.alt { background: var(--paper); }

.area-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: flex-start;
}
.area-overview-side {
  position: sticky;
  top: 120px;
}
.area-overview-side .eyebrow { margin-bottom: 16px; }
.area-overview-side h2 em { font-style: italic; color: var(--gold-500); font-weight: 400; }

.area-overview-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.area-overview-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  float: left;
  line-height: 0.85;
  margin: 8px 12px 0 0;
  color: var(--gold-500);
  font-weight: 500;
}

.area-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 4px 4px 0;
  padding: 28px 28px 28px 32px;
  transition: transform 0.35s, box-shadow 0.35s, border-left-color 0.35s;
}
.service-card:hover {
  transform: translateX(4px);
  box-shadow: var(--elev-2);
  border-left-color: var(--navy-700);
}
.service-card .service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-500);
}
.service-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-700);
  margin-top: 6px;
}
.service-card p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.area-process {
  background: var(--paper);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%; right: 8%;
  height: 1px;
  background: var(--gold-300);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.process-step .step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold-400);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy-700);
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy-700);
}
.process-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* AREA — RELATED AREAS */
.related-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  transition: all 0.3s;
}
.related-card:hover {
  border-color: var(--gold-400);
  background: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--elev-1);
}
.related-card .related-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--navy-700);
}
.related-card .related-name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy-700);
  font-weight: 500;
}
.related-card .related-arrow {
  margin-left: auto;
  color: var(--gold-500);
}

/* ============ ICONS ============ */
.icon-line { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner, .institutional-grid, .location-grid, .area-overview-grid, .area-hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-visual, .area-hero-aside { height: 420px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .commitment-list, .process-grid, .area-services, .related-areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .partner-card { grid-template-columns: 160px 1fr; gap: 24px; }
  .nav-links { display: none; }
  .hero-stamp { right: 0; width: 320px; height: 320px; position: relative; margin: 40px auto 0; top: auto; transform: none; }
  body[data-hero="stamp"] .hero-stamp { display: flex; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .container.narrow, .container.tight { max-width: 100%; }

  /* Hide all decorative parallax SVGs on mobile to avoid overflow & visual noise */
  .float-deco,
  .areas-bg-deco,
  .hero-visual,
  .hero-stamp {
    display: none !important;
  }
  body[data-hero="stamp"] .hero-stamp,
  body[data-hero="split"] .hero-visual { display: none !important; }

  /* Nav */
  .nav { padding: 14px 0; }
  .nav.scrolled { padding: 10px 0; }
  .brand-mark { width: 38px; height: 38px; font-size: 15px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 8.5px; letter-spacing: 0.24em; }
  .nav-cta { padding: 9px 14px; font-size: 11px; gap: 6px; }
  .nav-cta .icon { width: 12px; height: 12px; }

  /* Hero */
  .hero { padding: 120px 0 72px; min-height: auto; }
  body[data-hero="centered"] .hero { padding: 110px 0 72px; }
  .hero-inner { gap: 32px; }
  .hero-title { font-size: clamp(38px, 11vw, 56px) !important; }
  .hero-title .line span { white-space: normal; }
  .hero-lede { font-size: 16px; line-height: 1.6; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 12px; }
  .hero-meta { gap: 32px; margin-top: 40px; flex-wrap: wrap; }
  .hero-meta .meta-item .v { font-size: 22px; }

  /* Section padding */
  .institutional, .areas, .partners, .commitment, .faq, .location { padding: 80px 0; }
  .contact-cta { padding: 80px 0; }
  .area-section { padding: 72px 0; }
  .area-hero { padding: 130px 0 72px; }

  /* Section heads */
  .section-head { margin-bottom: 40px; max-width: 100%; }
  .section-head h2 { font-size: clamp(30px, 8vw, 44px) !important; }
  .section-head .sub { font-size: 15px; }
  .area-hero h1 { font-size: clamp(36px, 9vw, 54px) !important; }

  /* Grids → single column */
  .areas-grid, .commitment-list, .process-grid, .area-services,
  .related-areas-grid, .partners-grid, .footer-grid, .institutional-pillars {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Cards */
  .area-card { min-height: auto; padding: 28px 24px; }
  .area-title { font-size: 26px; }
  .service-card { padding: 24px; }
  .pillar p { font-size: 13.5px; }

  /* Institutional visual */
  .institutional-visual { aspect-ratio: 4/3; max-width: 100%; }

  /* Partners */
  .partner-card { grid-template-columns: 1fr; gap: 20px; }
  .partner-photo { max-width: 200px; }
  .partner-info h3 { font-size: 26px; }

  /* Process — remove the connecting line that breaks on stack */
  .process-grid::before { display: none; }
  .process-step { padding-left: 4px; }

  /* FAQ */
  .faq-q { font-size: 17px; gap: 14px; padding: 22px 0; }
  .faq-q .faq-num { width: 26px; padding-top: 4px; font-size: 13px; }
  .faq-q .faq-toggle { width: 26px; height: 26px; }
  .faq-q .faq-toggle::before, .faq-q .faq-toggle::after { width: 10px; }
  .faq-q .faq-toggle::after { height: 10px; }
  .faq-a-inner { padding: 0 0 24px 40px; font-size: 14.5px; }

  /* Location / Map */
  .location-info p { font-size: 15px; }
  .location-map { min-height: 360px; }
  .location-map .map-card { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 14px 16px; }

  /* Commitment */
  .commitment-item { padding-top: 18px; }
  .commitment-item h4 { font-size: 19px; }
  .commitment-item .num { font-size: 26px; }

  /* Contact CTA */
  .contact-cta h2 { font-size: clamp(30px, 8vw, 44px); }
  .contact-cta .cta-row { flex-direction: column; gap: 12px; }
  .contact-cta .cta-row .btn { width: 100%; padding: 15px 20px; font-size: 12.5px; }

  /* Footer */
  .footer { padding: 60px 0 28px; }
  .footer-grid { gap: 36px; padding-bottom: 36px; }
  .footer-col h5 { margin-bottom: 12px; }
  .footer-bottom { font-size: 11px; }
  .footer-disclaimer { font-size: 11px; }

  /* Area page hero aside hidden */
  .area-hero-aside { display: none; }

  /* Breadcrumb */
  .area-hero-breadcrumb { font-size: 11px; gap: 8px; flex-wrap: wrap; }

  /* Drop cap smaller */
  .area-overview-body p:first-child::first-letter { font-size: 48px; }
  .area-overview-body p { font-size: 15.5px; }

  /* Tweaks panel — push smaller, full-width-ish */
  .tweaks-panel {
    right: 12px; left: 12px; bottom: 12px;
    width: auto; max-width: none;
    max-height: 70vh;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: clamp(32px, 12vw, 44px) !important; }
  .area-hero h1 { font-size: clamp(32px, 11vw, 44px) !important; }
  .section-head h2 { font-size: clamp(26px, 9vw, 36px) !important; }
  .nav-cta { padding: 8px 12px; font-size: 10.5px; }
  .nav-cta .icon { width: 11px; height: 11px; }
  .brand-text .brand-sub { display: none; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; font-size: 14px; }
  .hero-meta { gap: 24px; }
  .hero-meta .meta-item .k { font-size: 9px; letter-spacing: 0.18em; }
  .hero-meta .meta-item .v { font-size: 19px; }
  .area-card { padding: 24px 20px; }
  .area-title { font-size: 24px; }
  .service-card { padding: 20px; padding-left: 24px; }
  .faq-q { font-size: 16px; }
  .faq-a-inner { padding: 0 0 22px 36px; }
  .map-card strong { font-size: 16px; }
  .partner-info h3 { font-size: 24px; }
  .footer-disclaimer { line-height: 1.6; }
}

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: var(--elev-3);
  width: 320px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: none;
  font-family: var(--font-sans);
}
.tweaks-panel.open { display: block; }
.tweaks-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks-head h5 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy-700);
  font-weight: 500;
}
.tweaks-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
}
.tweaks-close:hover { background: var(--ivory); }
.tweaks-body { padding: 16px 20px 20px; }
.tweaks-group { margin-bottom: 20px; }
.tweaks-group:last-child { margin-bottom: 0; }
.tweaks-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.tweaks-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.tweaks-swatch {
  display: flex;
  flex: 1;
  min-width: 60px;
  height: 44px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: transform 0.2s, border-color 0.2s;
}
.tweaks-swatch:hover { transform: translateY(-2px); }
.tweaks-swatch.active { border-color: var(--ink); }
.tweaks-swatch .s-col {
  flex: 1;
  height: 100%;
}
.tweaks-radio { display: flex; gap: 6px; }
.tweaks-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.tweaks-radio button {
  flex: 1;
  padding: 9px 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 4px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.tweaks-radio button:hover { border-color: var(--gold-300); }
.tweaks-radio button.active {
  background: var(--navy-700);
  color: var(--ivory);
  border-color: var(--navy-700);
}
.tweaks-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--rule);
  border-radius: 999px;
  outline: none;
}
.tweaks-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy-700);
  cursor: pointer;
  border: 2px solid var(--paper);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.tweaks-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy-700);
  cursor: pointer;
  border: 2px solid var(--paper);
}
.tweaks-value {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-700);
  margin-top: 6px;
}

/* PALETTE VARIATIONS (via data attribute) */
body[data-palette="bordeaux"] {
  --navy-050: #F7EEEE;
  --navy-100: #ECD2D2;
  --navy-200: #D49B9B;
  --navy-300: #B96666;
  --navy-400: #993737;
  --navy-500: #7B1F1F;
  --navy-600: #5C1717;
  --navy-700: #471212;
  --navy-800: #2E0B0B;
  --navy-900: #1A0606;
}
body[data-palette="emerald"] {
  --navy-050: #EEF4F0;
  --navy-100: #C9DED1;
  --navy-200: #94BBA1;
  --navy-300: #5F9774;
  --navy-400: #2F6E4A;
  --navy-500: #1F5234;
  --navy-600: #173E27;
  --navy-700: #102B1B;
  --navy-800: #0A1E13;
  --navy-900: #06120B;
}
body[data-palette="charcoal"] {
  --navy-050: #F0F0F2;
  --navy-100: #D5D5DA;
  --navy-200: #ABABB5;
  --navy-300: #7C7C8A;
  --navy-400: #4D4D5C;
  --navy-500: #2F2F3D;
  --navy-600: #232330;
  --navy-700: #181822;
  --navy-800: #0F0F17;
  --navy-900: #06060B;
}
