/* vladpetrov.eu — single shared stylesheet.
   Direction: institutional / trust — navy + cream + restrained brass, serif headings.
   No external requests (fonts, CDN, analytics) by design — see /privacy.

   FONT UPGRADE HOOK — to swap the system serif for a self-hosted display serif
   (e.g. Newsreader, Source Serif, Charter), drop the woff2 files into
   /assets/fonts/ and uncomment:

   @font-face {
     font-family: "Site Serif";
     src: url("/assets/fonts/site-serif.woff2") format("woff2");
     font-weight: 400 700; font-display: swap;
   }
   then prepend "Site Serif" to --serif below. Keep files LOCAL — no external host. */

:root {
  /* surfaces */
  --paper: #ffffff;
  --paper-alt: #f6f3ec;   /* warm cream — institutional paper feel */
  --navy: #0e2338;        /* hero / footer */
  --navy-2: #0a1a2b;

  /* ink */
  --ink: #121d29;
  --ink-soft: #52606d;
  --on-navy: #eef2f6;
  --on-navy-soft: #9fb1c4;

  /* accents */
  --accent: #1d4e7e;      /* deep ink-blue — links, buttons */
  --accent-dk: #143a5f;
  --brass: #a9853f;       /* restrained authority accent — hairlines + hero CTA */
  --brass-dk: #8f6e30;

  /* lines */
  --line: #e6e0d4;        /* warm hairline (on cream) */
  --line-cool: #dfe3e8;   /* cool hairline (on white cards) */

  --warn-bg: #fdf3d3;

  /* type */
  --serif: Georgia, "Iowan Old Style", "Source Serif Pro", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --max: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- headings ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.008em;
}

h2 {
  font-size: clamp(25px, 3.6vw, 34px);
  line-height: 1.22;
  margin: 0 0 20px;
}

h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; }

p { margin: 0 0 16px; }

.lead { font-size: 18.5px; color: var(--ink-soft); }
.lead strong { color: var(--ink); }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-dk); }

/* ---------- header ---------- */

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.lang { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; }

.lang a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 9px;
  border-radius: 5px;
}

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

.lang .active { color: var(--ink); background: var(--paper-alt); }

/* ---------- eyebrow (mono, brass tick) ---------- */

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass);
  flex: none;
}

/* ---------- hero (dark navy) ---------- */

.hero {
  background:
    radial-gradient(120% 120% at 85% -10%, #163150 0%, rgba(22,49,80,0) 55%),
    var(--navy);
  color: var(--on-navy);
  padding: 88px 0 78px;
  border-bottom: 3px solid var(--brass);
}

.hero .kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--on-navy-soft);
  margin: 0 0 22px;
}

.hero .kicker strong { color: var(--brass); font-weight: 600; }

.hero h1 {
  font-size: clamp(32px, 5.2vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 22px;
  max-width: 15em;
}

.hero .sub {
  font-size: 19.5px;
  line-height: 1.6;
  color: var(--on-navy-soft);
  max-width: 40em;
  margin: 0 0 34px;
}

.hero .sub strong { color: var(--on-navy); }

.hero.center { text-align: center; }
.hero.center h1, .hero.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 28px;
  border-radius: 7px;
  transition: background .15s ease, transform .15s ease;
}

.btn:hover { background: var(--accent-dk); color: #fff; }

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid #c7d2dd;
}

.btn.ghost:hover { background: var(--paper-alt); color: var(--accent-dk); }

/* hero CTA becomes the brass "seal" — the one warm focal element */
.hero .btn {
  background: var(--brass);
  color: #1c1305;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.6);
}
.hero .btn:hover { background: var(--brass-dk); color: #1c1305; }

/* ---------- sections ---------- */

section { padding: 66px 0; }
section.alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 32px 0;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line-cool);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: 0 1px 2px rgba(16,29,41,.03);
}

section.alt .card { border-color: var(--line-cool); }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* ---------- deadlines timeline ---------- */

.timeline { list-style: none; margin: 32px 0; padding: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }

.timeline .when { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--accent-dk); letter-spacing: 0.02em; }
.timeline .when.now { color: #9a2f27; }

@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: 5px; }
}

/* ---------- feature list (under the hood) ---------- */

.features { list-style: none; margin: 28px 0; padding: 0; }

.features li {
  padding: 16px 0 16px 30px;
  position: relative;
  border-top: 1px solid var(--line);
}
.features li:last-child { border-bottom: 1px solid var(--line); }

.features li::before {
  content: "";
  position: absolute;
  left: 3px; top: 25px;
  width: 8px; height: 8px;
  background: var(--brass);
  transform: rotate(45deg);
}

/* ---------- steps (how we work) ---------- */

.steps { list-style: none; counter-reset: step; margin: 34px 0; padding: 0; }

.steps li { counter-increment: step; position: relative; padding: 0 0 30px 64px; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20.5px; top: 46px; bottom: 4px;
  width: 1px; background: var(--line);
}

.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* ---------- pull quote / fear answer ---------- */

.pull {
  border-left: 3px solid var(--brass);
  background: var(--paper);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
  font-size: 18px;
  font-family: var(--serif);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16,29,41,.04);
}
section.alt .pull { background: #fff; }
.pull em { color: var(--accent-dk); font-style: italic; }

/* ---------- contact ---------- */

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.contact-meta { color: var(--ink-soft); font-size: 15.5px; font-family: var(--mono); letter-spacing: 0.01em; }
.contact-meta a { color: var(--accent); }

/* ---------- footer (dark, bookends the hero) ---------- */

footer.site {
  background: var(--navy-2);
  color: var(--on-navy-soft);
  padding: 34px 0 44px;
  font-size: 14.5px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
}

footer.site a { color: var(--on-navy-soft); text-decoration: none; }
footer.site a:hover { color: #fff; }

/* ---------- legal pages ---------- */

.legal { padding: 60px 0 76px; }
.legal h1 { font-size: clamp(30px, 4.2vw, 40px); margin: 0 0 8px; }
.legal .meta { color: var(--ink-soft); font-size: 15px; font-family: var(--mono); margin-bottom: 40px; }
.legal h2 { font-size: 23px; margin-top: 44px; padding-top: 4px; }
.legal h3 { font-size: 18.5px; margin-top: 30px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }

/* pre-launch placeholders — remove before go-live */
mark.todo {
  background: var(--warn-bg);
  padding: 1px 6px;
  border-radius: 4px;
  font-style: italic;
  font-family: var(--mono);
  font-size: 0.86em;
}

/* ---------- misc ---------- */

.center { text-align: center; }
