/* ============================================================
   Zekby LLC — restrained corporate identity
   Newsreader (serif display) · Hanken Grotesk (text)
   White · ink · a single deep navy accent
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --ink: #17181b;
  --ink-2: #40434a;
  --muted: #767a82;
  --line: #e7e6e2;
  --line-2: #d8d7d2;
  --navy: #1d3a63;
  --navy-deep: #142a49;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--navy); color: #fff; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-deep); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
}
.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand .llc {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-left: 9px;
  vertical-align: 2px;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .16s;
}
.nav-links a:hover { color: var(--navy); }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner {
  padding-top: 116px; padding-bottom: 104px;
  max-width: 960px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--navy);
  margin-bottom: 34px;
  animation: rise .6s ease both;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--navy); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  max-width: 17ch;
  animation: rise .6s .07s ease both;
}
.hero h1 em { font-style: italic; color: var(--navy); }
.hero p {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0 0 44px;
  animation: rise .6s .14s ease both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; animation: rise .6s .21s ease both; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: transparent;
  transition: border-color .16s, color .16s, background .16s;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn .arw { transition: transform .18s; }
.btn:hover .arw { transform: translateX(4px); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- credentials strip ---------- */
.creds { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.creds-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: 30px 30px; border-left: 1px solid var(--line); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred b {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.cred span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- sections ---------- */
section { padding-top: 108px; padding-bottom: 108px; }

.sec-head { display: grid; grid-template-columns: 200px 1fr; gap: 48px; margin-bottom: 68px; }
.sec-label { color: var(--navy); padding-top: 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
  margin: 0;
  max-width: 24ch;
}

/* about */
.about-grid { display: grid; grid-template-columns: 200px 1fr; gap: 48px; }
.about-body { max-width: 70ch; }
.about-body p { margin: 0 0 24px; color: var(--ink-2); font-size: 1.08rem; }
.about-body p:last-child { margin-bottom: 0; }
.about-body p.lead {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
}

/* services — numbered rows */
.svc { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-list { border-top: 1px solid var(--line-2); }
.svc-row {
  display: grid;
  grid-template-columns: 88px 280px 1fr;
  gap: 36px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-2);
}
.svc-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--navy); padding-top: 3px; }
.svc-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -0.012em; }
.svc-desc { color: var(--ink-2); max-width: 56ch; padding-top: 3px; }

/* contact */
.contact { background: var(--ink); color: #f3f3f1; }
.contact .sec-label { color: #8aa2c4; }
.contact .sec-title { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 200px 1fr; gap: 48px; }
.contact-list { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.contact-list li {
  display: flex; justify-content: space-between; gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  font-size: 1.04rem;
}
.contact-list li:first-child { border-top: 1px solid rgba(255,255,255,0.13); }
.contact-list .k { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #9aa7ba; padding-top: 6px; white-space: nowrap; }
.contact-list .v { text-align: right; color: #ececeb; }
.contact-list a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 1px; }
.contact-list a:hover { color: #fff; border-color: #fff; }

/* ---------- inner pages ---------- */
.page { padding-top: 92px; padding-bottom: 120px; }
.page-head { max-width: 760px; margin-bottom: 60px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.8vw, 3.3rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
}
.page-head .meta { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 720px; }
.prose > p:first-child { font-size: 1.16rem; color: var(--ink); }
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.012em;
  margin: 52px 0 16px;
}
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 52px; padding-bottom: 56px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.footer-note { font-size: 0.86rem; color: var(--muted); margin: 8px 0 0; max-width: 44ch; line-height: 1.5; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.footer-links a:hover { color: var(--navy); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .sec-head, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .sec-head { margin-bottom: 48px; }
  .svc-row { grid-template-columns: 60px 1fr; gap: 20px 24px; }
  .svc-desc { grid-column: 2; }
  .hero-inner { padding-top: 84px; padding-bottom: 76px; }
  section { padding-top: 80px; padding-bottom: 80px; }
}
@media (max-width: 720px) {
  .creds-inner { grid-template-columns: 1fr 1fr; }
  .cred { border-left: 0; padding-left: 0; padding-right: 20px; }
  .cred:nth-child(2) { padding-right: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.06em; }
  .contact-list li { flex-direction: column; gap: 5px; }
  .contact-list .v { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow, .hero h1, .hero p, .hero-actions { animation: none; }
}
