/* ============================================================
   Adenti Consulting — Certified Legal Translation
   Editorial minimalism · warm neutral palette
   Serif: Playfair Display (headings) · Sans: DM Sans (body)
   Rebuilt 2026-07-06 for the legal-translation relaunch.
   Previous stylesheet recoverable at git commit c58f955.
   ============================================================ */

:root {
  --paper: #faf7f2;
  --paper-deep: #f2ede4;
  --ink: #24211b;
  --ink-soft: #4c463c;
  --muted: #7d7466;
  --rule: #ddd5c7;
  --accent: #8a5a2b;        /* understated bronze, body-copy accent (eyebrows, links) */
  --accent-dark: #6e4620;
  --navy: #141a26;          /* contrast sections, alternates with paper down the page */
  --gold: #c99a5b;          /* the one wordplay/emphasis color — italic words, wordmark */
  --cream: #f4f1ea;         /* body text on navy */
  --bluegrey: #8b93a3;      /* muted label text on navy */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42em;
}

a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

/* ---------- Header / nav ---------- */

header {
  background: var(--navy);
  border-bottom: 1px solid rgba(244, 241, 234, 0.16);
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
}

.nav-logo {
  height: 56px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

.hero h1 {
  color: var(--cream);
  max-width: 17em;
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}

.hero .lede {
  color: var(--bluegrey);
  margin-bottom: 2.2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.section-navy .btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.section-navy .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}

/* ---------- Hero visual: logo image ---------- */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.dp-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
}

.dp-row:last-child {
  border-bottom: none;
}

.dp-k {
  color: var(--muted);
}

.dp-v {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-deep);
  padding: 1.6rem 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem 2rem;
  list-style: none;
}

.trust-items li {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.trust-items strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

/* ---------- Sections ---------- */

section {
  padding: 4.5rem 0;
}

section + section {
  border-top: 1px solid var(--rule);
}

.section-intro {
  color: var(--ink-soft);
  max-width: 44em;
  margin-bottom: 2.5rem;
}

/* ---------- Card grid (document types, reasons) ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.card {
  background: #fffdf9;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.5rem 1.6rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Navy sections (page rhythm: cream / navy / cream) ---------- */

.section-navy {
  background: var(--navy);
  border-top: none !important;
}

.section-navy + section {
  border-top: none;
}

.eyebrow-gold {
  color: var(--gold);
}

.h2-cream {
  color: var(--cream);
}

.section-navy .section-intro {
  color: var(--bluegrey);
}

.section-navy .card {
  background: var(--paper);
  border: none;
  box-shadow: 0 20px 34px -20px rgba(20, 26, 38, 0.4);
}

.stat-pairs {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 2rem 0 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
}

.stat-pair strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold);
}

.stat-pair span {
  font-size: 0.82rem;
  color: var(--bluegrey);
}

.float-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.3rem 1.5rem;
  box-shadow: 0 26px 48px -22px rgba(20, 26, 38, 0.45);
}

.float-card .dp-v a {
  color: var(--ink);
  text-decoration: none;
}

.float-card .dp-v a:hover {
  color: var(--accent-dark);
}

.btn-ghost-navy {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid rgba(244, 241, 234, 0.4);
  color: var(--cream);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost-navy:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.contact-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.contact-top h2 {
  max-width: 14em;
}

/* ---------- How it works ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.steps p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Turnaround table ---------- */

.table-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule);
}

th {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

td strong {
  font-weight: 600;
}

/* ---------- About ---------- */

.about-inner {
  max-width: 46em;
}

.about-inner p {
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
}

.about-inner p:last-child {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 2.5rem;
    justify-content: flex-start;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  section {
    padding: 3rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    gap: 1rem;
  }

  .stat-pairs {
    gap: 2rem;
  }
}
