/* ─── Veinmark shared base ─────────────────────────────────────────────────── */

:root {
  --primary:   #7b1e3a;
  --secondary: #e8d8c3;
  --accent:    #2a1e1f;
  --paper:     #fffaf3;
  --ink:       #1a1412;
  --muted:     rgba(26, 20, 18, 0.58);
  --line:      rgba(26, 20, 18, 0.11);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: var(--primary); color: var(--paper); }

/* ── Scroll reveal (only active once JS adds .reveal-ready) ── */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
}
.reveal-ready .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.page { min-height: 100vh; display: flex; flex-direction: column; }

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  font-weight: 800;
  font-size: 15px;
}

.nav-logo { font-size: 17px; font-weight: 900; letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--paper) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* ── Typography helpers ── */
.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-size: clamp(52px, 8vw, 102px);
  line-height: 0.91;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.93;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.6;
}

/* ── Buttons ── */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary { background: var(--primary); color: var(--paper); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ── Sections ── */
.section { padding-block: 80px; }
.section-sm { padding-block: 48px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

/* ── Cards ── */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.55);
  padding: 28px;
  backdrop-filter: blur(6px);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

/* ── Tags ── */
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }

.tag {
  border-radius: 999px;
  background: var(--secondary);
  padding: 6px 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ── Dividers ── */
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ── Testimonial ── */
.testimonial-block {
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--paper);
  padding: 48px;
}

.testimonial-quote {
  margin: 0 0 28px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.95;
}

.testimonial-attribution { font-size: 14px; font-weight: 700; opacity: 0.7; }

/* ── Skill pill / badge ── */
.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* ── Stat ── */
.stat-num {
  display: block;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--primary);
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── Footer ── */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-block: 38px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-weight: 700; transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }

/* ── Grid helpers ── */
.grid { display: grid; gap: 18px; }
.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Responsive ── */
@media (max-width: 820px) {
  .nav { flex-direction: column; align-items: flex-start; padding-block: 20px; }
  .col-2, .col-3 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .testimonial-block { padding: 32px 24px; }
}
