/* KARAZ — "Ink & Cherry" theme.
   No external fonts or scripts: nothing is loaded from other companies,
   which keeps the privacy promise on privacy.html true. */

:root {
  --ink: #0E1525;          /* deep navy, almost black — hero + footer */
  --ink-soft: #1A2338;
  --cherry: #9B1B30;       /* the KARAZ accent ("karaz" = cherry) */
  --cherry-light: #C8394F;
  --ivory: #F7F3EC;        /* light text on dark, and soft section background */
  --paper: #FFFFFF;
  --text: #1C1F26;
  --muted: #5E6472;
  --line: #E7E1D6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }   /* menu links land below the 64px top bar */
body { font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.65; }
a { color: inherit; }

/* ── Top bar ── */
nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 6%;
  background: var(--ink);   /* fully solid, so text does not show through while scrolling */
  border-bottom: 1px solid rgba(247, 243, 236, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ivory); }
.brand img { width: 26px; height: 26px; }
.brand span { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.18em; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: rgba(247, 243, 236, 0.72); font-size: 0.9rem; }
.nav-links a:hover { color: var(--ivory); }

/* ── Hero ── */
.hero {
  background: radial-gradient(ellipse at 50% 0%, var(--ink-soft) 0%, var(--ink) 70%);
  color: var(--ivory); text-align: center; padding: 110px 6% 100px;
}
.hero img { width: 64px; height: 64px; margin-bottom: 26px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: 3.4rem; letter-spacing: 0.22em; margin-bottom: 18px; }
.hero p { font-size: 1.2rem; max-width: 560px; margin: 0 auto 28px; color: rgba(247, 243, 236, 0.85); }
.hero .tag {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--cherry-light);
  border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #F0C9D0;
}

/* ── Sections ── */
section { max-width: 1040px; margin: 0 auto; padding: 84px 6%; }
.band { background: var(--ivory); }
.label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cherry); margin-bottom: 10px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; color: var(--ink); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-bottom: 44px; }

/* ── Cards ── */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .bar { width: 28px; height: 3px; background: var(--cherry); margin-bottom: 16px; border-radius: 2px; }

/* ── Projects ── */
.projects { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.project { border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: var(--paper); display: flex; flex-direction: column; }
.project .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.project h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.badge { font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.badge.live { background: #FBE9EC; color: var(--cherry); }
.badge.beta { background: #ECEEF3; color: var(--ink-soft); }
.project p { color: var(--muted); margin-bottom: 26px; flex: 1; }
.btn {
  align-self: flex-start; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 11px 22px; border-radius: 10px; background: var(--cherry); color: var(--ivory);
}
.btn:hover { background: var(--cherry-light); }

/* ── Company details ── */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; font-size: 1rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { color: var(--ink); font-weight: 500; }

/* ── Contact ── */
.contact { text-align: center; }
.contact .lead { margin: 0 auto 30px; }
.contact a.mail { font-family: var(--serif); font-size: 1.4rem; color: var(--cherry); text-decoration: none; border-bottom: 1px solid var(--cherry); }

/* ── Footer ── */
footer { background: var(--ink); color: rgba(247, 243, 236, 0.65); text-align: center; padding: 30px 6%; font-size: 0.85rem; }
footer a { color: var(--ivory); }

/* ── Privacy page ── */
.doc { max-width: 760px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; color: var(--ink); margin-bottom: 8px; }
.doc h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--text); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc .muted { color: var(--muted); }

/* ── Phones ── */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .hero { padding: 80px 6% 72px; }
  .hero h1 { font-size: 2.5rem; }
  h2 { font-size: 1.7rem; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 12px; }
}
