/* Fraunces latin 400 */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fraunces-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fraunces latin 500 */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/fraunces-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fraunces latin 600 */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fraunces-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter latin 400 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter latin 500 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter latin 600 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Aletheia Insight — styles
   Palette: deep ink + warm gold ("light that unveils")
   ============================================================ */

:root {
  --ink-950: #0b0e13;
  --ink-900: #0e1218;
  --ink-850: #131822;
  --ink-800: #1a212e;
  --line: rgba(217, 164, 65, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #e8e6e1;
  --text-dim: #a8a49c;
  --gold: #d9a441;
  --gold-soft: #e6bd6e;
  --radius: 10px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink-950);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 14, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 26px;
  height: 26px;
}

.brand-mark line { stroke-linecap: round; }

.mark-bar {
  stroke: var(--gold);
  stroke-width: 3.6;
}

/* one-time reveal on load: veil closed → wide open → rest */
.mark-bar-l {
  transform-origin: 7px 28px;
  transform: rotate(-7deg);
  animation: reveal-bar-l 2.6s ease-in-out;
}

.mark-bar-r {
  transform-origin: 25px 28px;
  transform: rotate(7deg);
  animation: reveal-bar-r 2.6s ease-in-out;
}

.mark-luz {
  stroke: var(--gold-soft);
  stroke-width: 2.6;
  opacity: 0.75;
  animation: reveal-luz 2.6s ease-in-out;
}

.mark-dot {
  fill: var(--gold-soft);
  opacity: 0.9;
  transform-origin: 16px 6.5px;
  animation: reveal-dot 2.6s ease-in-out;
}

@keyframes reveal-bar-l {
  0% { transform: rotate(0deg); }
  55% { transform: rotate(-18deg); }
  100% { transform: rotate(-7deg); }
}

@keyframes reveal-bar-r {
  0% { transform: rotate(0deg); }
  55% { transform: rotate(18deg); }
  100% { transform: rotate(7deg); }
}

@keyframes reveal-luz {
  0% { opacity: 0.12; }
  55% { opacity: 1; }
  100% { opacity: 0.75; }
}

@keyframes reveal-dot {
  0% { transform: translateY(4.5px) scale(0.8); opacity: 0.25; }
  55% { transform: translateY(-3px) scale(1.15); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .mark-bar-l, .mark-bar-r, .mark-luz, .mark-dot { animation: none; }
}

.brand-name {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
}

.brand-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold);
  margin-left: 0.35em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  font-family: var(--font-body);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--ink-950);
}

.btn-primary:hover { background: var(--gold-soft); }

.btn-ghost {
  border-color: var(--line-soft);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--gold); }

.btn-small {
  padding: 8px 18px !important;
  background: var(--gold);
  color: var(--ink-950) !important;
  font-size: 0.88rem !important;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 110px;
}

/* the light beam: a diagonal shaft of warm light cutting the dark */
.hero-beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg,
      transparent 42%,
      rgba(217, 164, 65, 0.07) 50%,
      rgba(217, 164, 65, 0.16) 56%,
      rgba(217, 164, 65, 0.07) 62%,
      transparent 70%),
    radial-gradient(ellipse 60% 45% at 78% 0%,
      rgba(230, 189, 110, 0.12),
      transparent 65%);
}

.hero-inner {
  position: relative;
  max-width: 820px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  margin-bottom: 24px;
}

.accent { color: var(--gold-soft); }

.lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- name strip ---------- */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-900);
  padding: 34px 0;
}

.strip p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.strip strong { color: var(--gold-soft); font-weight: 600; }
.strip em { color: var(--text); }

/* ---------- sections ---------- */

.section { padding: 96px 0; }

.section-alt { background: var(--ink-900); }

.section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin-bottom: 18px;
}

.section-lead {
  color: var(--text-dim);
  max-width: 640px;
  font-size: 1.08rem;
  margin-bottom: 40px;
}

/* ---------- service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.card {
  background: var(--ink-850);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.2s;
}

.card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--gold-soft);
}

.card > p {
  color: var(--text-dim);
  font-size: 0.97rem;
  margin-bottom: 18px;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.card li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* ---------- timeline ---------- */

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: week;
}

.timeline li {
  background: var(--ink-850);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}

.timeline-week {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.timeline h3 { font-size: 1.15rem; margin-bottom: 10px; }

.timeline p { font-size: 0.9rem; color: var(--text-dim); }

.note {
  margin-top: 32px;
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 700px;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}

/* ---------- who ---------- */

.who-points {
  display: grid;
  gap: 28px;
  margin-top: 36px;
  max-width: 680px;
}

.who-point h3 {
  font-size: 1.12rem;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.who-point p { color: var(--text-dim); font-size: 0.97rem; }

.who-linkedin { margin-top: 32px; }

.who-linkedin a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
}

.who-linkedin a:hover { text-decoration: underline; }

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-mail a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
}

.contact-mail a:hover { text-decoration: underline; }

.contact-form {
  display: grid;
  gap: 18px;
  background: var(--ink-850);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
}

.contact-form input,
.contact-form textarea {
  background: var(--ink-950);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea { resize: vertical; }

.form-error {
  background: rgba(217, 90, 65, 0.12);
  border: 1px solid rgba(217, 90, 65, 0.4);
  border-radius: 8px;
  padding: 12px 14px;
  color: #e8a79a;
  font-size: 0.92rem;
}

.consent {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
}

.consent input {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.consent a { color: var(--gold-soft); }

/* honeypot: visually gone, still in the DOM for bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------- legal pages ---------- */

.legal .container { max-width: 760px; }

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 1.25rem;
  color: var(--gold-soft);
  margin: 36px 0 12px;
}

.legal p { color: var(--text-dim); margin-bottom: 14px; }

.legal ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.legal li { color: var(--text-dim); }

.legal li strong { color: var(--text); font-weight: 600; }

.legal a { color: var(--gold-soft); }

.legal-updated {
  margin-top: 48px;
  font-size: 0.85rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-inner a { color: var(--text-dim); text-decoration: none; }
.footer-inner a:hover { color: var(--gold-soft); }

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-inner a { overflow-wrap: anywhere; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .cards, .timeline { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .hero { padding: 80px 0 70px; }
  .section { padding: 64px 0; }
  .cards, .timeline { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
