/* Zara Imrie — personal site v1
   Palette + type from brand-identity.md */

:root {
  --navy: #1A2744;
  --navy-deep: #0F1A30;
  --cyan: #00C3E3;
  --cyan-ink: #0098b3;
  --ink: #0D1117;
  --muted: #6E7681;
  --line: #E2E8F0;
  --light: #F0F4F8;
  --paper: #FAF9F7;
  --white: #FFFFFF;
  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 26, 48, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}

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

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

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 16px;
}
.dark .eyebrow { color: var(--cyan); }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.dark .lead { color: rgba(255,255,255,0.78); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,195,227,0.35); }
.btn-outline { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.wordmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.wordmark span { color: var(--cyan-ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--navy);
  opacity: 0.85;
  transition: opacity .15s, color .15s;
}
.nav-links a:hover { opacity: 1; color: var(--cyan-ink); }
.nav-links a.active { color: var(--cyan-ink); opacity: 1; }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: var(--white); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* Sections */
section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.dark { background: var(--navy); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.deep { background: var(--navy-deep); }

.section-head { max-width: 64ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.dark .section-head p { color: rgba(255,255,255,0.75); }

/* Hero */
.hero { padding: 110px 0 96px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 16ch; }
.hero .lead { margin-top: 26px; font-size: 1.3rem; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

/* Stat band */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { background: var(--white); padding: 36px 28px; }
.stat .num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.1rem; color: var(--navy); }
.stat .label { color: var(--muted); margin-top: 6px; font-size: 0.98rem; }
.stats-wrap { margin-top: -56px; position: relative; z-index: 2; }

/* Card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .num-tag { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--cyan-ink); font-size: 0.9rem; letter-spacing: 0.1em; }
.card h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 1rem; }

/* Ventures */
.venture {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.venture:last-child { border-bottom: 0; }
.venture .vmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  min-width: 200px;
  color: var(--navy);
}
.venture .vbody p { color: var(--muted); }
.venture .vbody a { color: var(--cyan-ink); font-weight: 600; font-size: 0.95rem; display: inline-block; margin-top: 8px; }
.venture .vbody a:hover { text-decoration: underline; }

.venture-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: transform .18s, box-shadow .18s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vcard h3 { font-size: 1.4rem; }
.vcard .domain { color: var(--cyan-ink); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; }
.vcard p { color: var(--muted); margin: 14px 0 16px; }
.vcard a.more { color: var(--navy); font-weight: 700; font-size: 0.92rem; }
.vcard a.more:hover { color: var(--cyan-ink); }

/* Offer ladder */
.offer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer.featured { border: 2px solid var(--cyan); }
.offer .price { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--navy); margin: 6px 0 2px; }
.offer .tier { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-ink); font-weight: 700; }
.offer h3 { font-size: 1.25rem; margin: 16px 0 10px; }
.offer p { color: var(--muted); flex: 1; }
.offer .btn { margin-top: 22px; align-self: flex-start; }

/* For / not for */
.fit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fit-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.fit-col h3 { font-size: 1.2rem; margin-bottom: 18px; }
.fit-col ul { list-style: none; }
.fit-col li { padding: 9px 0 9px 30px; position: relative; color: var(--ink); border-bottom: 1px solid var(--light); }
.fit-col li:last-child { border-bottom: 0; }
.fit-col.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan-ink); font-weight: 800; }
.fit-col.no li::before { content: "✕"; position: absolute; left: 0; color: var(--muted); font-weight: 800; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.photo-ph {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--line);
}
.prose h3 { font-size: 1.4rem; margin: 40px 0 14px; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; font-size: 1.08rem; color: #34404f; }

.beliefs { list-style: none; }
.beliefs li {
  padding: 20px 0 20px 44px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
}
.beliefs li:last-child { border-bottom: 0; }
.beliefs li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan-ink);
  font-weight: 800;
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { margin: 18px auto 32px; max-width: 56ch; color: rgba(255,255,255,0.78); font-size: 1.15rem; }

/* Writing teaser */
.writing-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.writing-box p { color: var(--muted); max-width: 52ch; margin: 12px auto 22px; }
.social-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 60px 0 36px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .wordmark { color: var(--white); font-size: 1.3rem; }
.footer-brand p { margin-top: 12px; max-width: 34ch; font-size: 0.95rem; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.95rem; opacity: 0.8; }
.footer-col a:hover { opacity: 1; color: var(--cyan); }
.footer-bottom { padding-top: 24px; font-size: 0.85rem; opacity: 0.6; }

/* Utility */
.center { text-align: center; }
.mt-s { margin-top: 16px; }
.note { font-size: 0.8rem; color: var(--cyan-ink); }

/* Responsive */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .fit, .venture-card { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .venture { flex-direction: column; gap: 6px; }
  .venture .vmark { min-width: 0; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
}
