/* Iveta Uzunova — ivetauzunova.com
   Self-contained styles: no external fonts or assets. */

:root {
  --ink: #10233a;
  --ink-soft: #3c4a5e;
  --paper: #fbf8f3;
  --paper-alt: #f3ede4;
  --card: #ffffff;
  --accent: #b4552d;
  --accent-soft: #f0d9cb;
  --gold: #c99a3f;
  --line: #e2d9cc;
  --shadow: 0 1px 2px rgba(16, 35, 58, .05), 0 12px 32px -18px rgba(16, 35, 58, .35);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-size: 15px; letter-spacing: .02em;
}
.brand-name { font-family: var(--serif); font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-soft); font-size: 14.5px; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  color: #fff !important; background: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9c4624; }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; }
.eyebrow {
  margin: 0 0 14px; text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 700; color: var(--accent);
}
h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); margin: 0 0 20px; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--ink-soft); max-width: 34ch; margin: 0 0 22px; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; }
.chip {
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: var(--paper-alt); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.hero-card-title {
  margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.fact-list li { display: grid; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.fact-list span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 56px; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: var(--card);
}
.stat { padding: 22px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); }
.stat-label { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 20px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 12px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pillar h3 { font-size: 1.15rem; margin: 0 0 8px; color: var(--accent); }
.pillar p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Cards / work ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card-wide { grid-column: 1 / -1; }
.card-tag {
  margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.card h3 { font-size: 1.25rem; margin: 0 0 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card-metrics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.card-metrics strong { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline > li { position: relative; padding: 0 0 34px 34px; }
.timeline > li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.tl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.tl-head h3 { font-size: 1.2rem; margin: 0; }
.tl-when { font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.tl-org { margin: 4px 0 10px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.timeline ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }
.timeline ul li { margin-bottom: 6px; }
.timeline p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.tl-compact { opacity: .92; }
.cert-line { margin-top: 8px; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 20px; }

/* ---------- Toolbox ---------- */
.toolbox { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 12px; }
.tool-group h3 { font-size: 1.05rem; margin: 0 0 12px; color: var(--accent); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tags li {
  font-size: 13.5px; background: var(--card); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 999px; color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact h2 { color: var(--paper); }
.contact .eyebrow { color: var(--gold); }
.contact .lead { color: #c7d0dd; }
.contact-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px 0 18px; }
.contact .btn-primary { background: var(--accent); }
.contact .btn-ghost { border-color: #6b7c92; color: var(--paper); }
.contact .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.contact-meta { font-size: 13.5px; color: #97a5b8; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0; background: #0b1a2c; color: #8fa0b5; font-size: 13.5px; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: #c7d0dd; }
.site-footer p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .lede { max-width: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .pillars, .cards, .toolbox { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .header-inner { min-height: 56px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 48px 0 32px; }
  .section { padding: 60px 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .skip-link, .hero-actions, .contact-links, .nav-cta { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding: 12px 0; }
  .section-alt, .contact { background: #fff !important; color: #000 !important; }
  .card, .hero-card, .pillar { box-shadow: none; border-color: #ccc; }
  .contact .lead, .contact h2 { color: #000 !important; }
  a { color: #000; }
}
