/* ============================================================
   Eduardo Ferrari — Financial Crime Advisory
   Fraunces (display serif) + DM Sans (body)
   ============================================================ */

:root {
  --bg:        #0c0e12;
  --surface:   #111318;
  --surface-2: #15171e;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.11);
  --text:      #d8e0ee;
  --muted:     #8793a6;
  --muted-2:   #5e6878;
  --accent:    #7fa8d8;
  --white:     #edf2fb;
  --max:       1120px;
  --serif:     'Fraunces', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

/* ---- Shell ---- */
.shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* ---- Header ---- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12,14,18,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.brand:hover { color: var(--white); }
nav { display: flex; gap: 26px; }
nav a {
  font-size: 0.87rem;
  color: var(--muted);
  font-weight: 400;
  transition: color 0.12s;
}
nav a:hover, .nav-active { color: var(--text); }

/* ---- Language switcher ---- */
.lang-switcher {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.lang-switcher a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  transition: color 0.12s;
}
.lang-switcher a:hover { color: var(--text); }
.lang-switcher .lang-active {
  color: var(--accent);
}

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;
  align-items: start;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 760px;
}
.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Sidebar */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 6px;
}
.aside-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.aside-list li {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 300;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.aside-list li:last-child { border-bottom: none; }

/* ---- Buttons ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.87rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border-color 0.13s;
}
.button-primary {
  background: var(--white);
  color: #0c0e12;
}
.button-primary:hover { background: #c5d5ee; color: #0c0e12; }
.button-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border-2);
}
.button-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }
.button-submit {
  width: 100%;
  height: 46px;
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ---- Twin strip ---- */
.twin-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.twin-item {
  padding: 34px 40px 34px 0;
  border-right: 1px solid var(--border);
}
.twin-item:last-child {
  padding-left: 40px;
  padding-right: 0;
  border-right: none;
}
.kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.twin-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
}

/* ---- Sections ---- */
.content-section { padding: 68px 0; }
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 36px;
}

/* ---- About ---- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 60px;
  align-items: start;
}
.about-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}
.prose {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.9;
  font-weight: 300;
}
.prose p + p { margin-top: 16px; }

/* ---- Focus grid ---- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.focus-card {
  background: var(--surface);
  padding: 28px 26px;
  transition: background 0.13s;
}
.focus-card:hover { background: var(--surface-2); }
.focus-number {
  font-family: var(--serif);
  font-size: 0.75rem;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.focus-card h3 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.focus-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

/* ---- Perspectives ---- */
.perspectives-section { border-top: 1px solid var(--border); }
.perspectives-list {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}
.perspective-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.13s;
}
.perspective-item:last-child { border-bottom: none; }
.perspective-item:hover { background: var(--surface-2); }
.perspective-content { flex: 1; }
.perspective-content h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 7px;
}
.perspective-content p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}
.perspective-link {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-2);
  white-space: nowrap;
  padding-top: 2px;
  transition: color 0.13s;
}
.perspective-link:hover { color: var(--accent); }
.section-footer-link a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.13s;
}
.section-footer-link a:hover { color: var(--white); }

/* ---- Contact ---- */
.contact-section { border-top: 1px solid var(--border); padding-bottom: 80px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.contact-note p + p { margin-top: 12px; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--white);
  border-radius: 5px;
  padding: 12px 15px;
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 300;
  -webkit-appearance: none;
  transition: border-color 0.13s, box-shadow 0.13s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(127,168,216,0.45);
  box-shadow: 0 0 0 3px rgba(127,168,216,0.07);
}
.form-field textarea { resize: vertical; min-height: 128px; }

/* Honeypot */
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Turnstile spacing */
.cf-turnstile { margin-top: 2px; }

/* ---- Footer ---- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.footer-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.footer-note {
  font-size: 0.76rem;
  color: var(--muted-2);
}

/* ---- Insights page ---- */
.insights-title { margin-bottom: 10px; }
.insights-intro { max-width: 600px; margin-bottom: 44px; }
.insights-list {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.insight-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.13s;
}
.insight-row:last-child { border-bottom: none; }
.insight-row:hover { background: var(--surface-2); }
.insight-meta { padding-top: 2px; }
.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: 3px;
  padding: 4px 8px;
}
.insight-title {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 9px;
}
.insight-summary {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 14px;
}
.insight-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.13s;
}
.insight-link:hover { color: var(--white); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 56px; }
  .hero-aside { flex-direction: row; gap: 36px; }
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .focus-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .insight-row { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 10px; padding: 16px 0; }
  nav { order: 2; gap: 18px; flex-wrap: wrap; }
  .lang-switcher { order: 3; margin-left: auto; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .twin-strip { grid-template-columns: 1fr; }
  .twin-item,
  .twin-item:last-child { padding: 28px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .twin-item:last-child { border-bottom: none; }
  .focus-grid { grid-template-columns: 1fr; }
  .hero-aside { flex-direction: column; gap: 20px; }
  .perspective-item { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .perspective-link { white-space: normal; }
  .insight-row { padding: 22px 20px; }
}
