/* =========================================================
   Sequel — Personal Brand v2 design system
   Black canvas. Bradford-style serif headlines.
   VisueltPro-style sans body. Lozenge buttons (9999px).
   ========================================================= */

:root {
  /* Colors — achromatic only */
  --void: #000000;
  --whisper: #ffffff;
  --slate-dust: #f5f5f0;     /* button bg, off-white surfaces */
  --steel: #202020;          /* containers slightly lifted from black */
  --mist: #c0c0c0;
  --charcoal: #333333;       /* badge bg when slightly darker contrast wanted */
  --ash: #999999;
  --light-ash: #cccccc;
  --cadet: #b3b3b3;
  --badge-overlay: rgba(200, 200, 200, 0.10);
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.20);

  /* Type families */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", "Bradford", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Type scale */
  --text-caption: 10px;
  --text-micro: 11px;
  --text-small: 13px;
  --text-body: 16px;
  --text-lg: 18px;
  --text-heading: 20px;
  --text-display-sm: 22px;
  --text-display: 30px;
  --text-display-lg: 32px;
  --text-display-xl: 58px;
  --text-display-xxl: 128px;

  /* Spacing — 4px base */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-20: 20px;
  --s-24: 24px;
  --s-28: 28px;
  --s-32: 32px;
  --s-40: 40px;
  --s-64: 64px;
  --s-80: 80px;
  --s-96: 96px;

  /* Radii */
  --r-card: 10px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-lg: rgba(0, 0, 0, 0.35) 0px 10px 30px 0px, rgba(255, 255, 255, 0.08) 0px 1px 0px 0px inset;
  --shadow-md: rgba(0, 0, 0, 0.15) 0px 4px 20px 0px;

  /* Layout */
  --max: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--whisper);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--whisper); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--mist); }

p { margin: 0 0 1.2em; color: var(--light-ash); line-height: 1.6; }
strong { font-weight: 500; color: var(--whisper); }
em { font-style: italic; }

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--whisper); color: var(--void); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--whisper);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 0.4em;
}

.display-xxl {
  font-size: clamp(56px, 11vw, 128px);
  line-height: 1.0;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.display-xl {
  font-size: clamp(40px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.display-lg {
  font-size: clamp(28px, 3.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: var(--s-20);
}

.lede {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--light-ash);
  max-width: 680px;
}
.lede strong { color: var(--whisper); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-24);
}
.container-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--s-24);
}

section {
  padding: clamp(64px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--hairline);
}
section:last-of-type { border-bottom: none; }
section.no-border { border-bottom: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s-16) var(--s-24);
}
.brand {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--whisper);
  display: flex;
  align-items: center;
  gap: var(--s-12);
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  border: 1px solid var(--whisper);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 13px;
  color: var(--whisper);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-28);
}
.nav-links a {
  color: var(--light-ash);
  font-size: 14px;
  font-weight: 400;
}
.nav-links a:hover, .nav-links a.active { color: var(--whisper); }
.nav-cta {
  background: var(--slate-dust);
  color: var(--void) !important;
  padding: 10px var(--s-20);
  border-radius: var(--r-full);
  font-weight: 500;
}
.nav-cta:hover { background: var(--whisper); color: var(--void) !important; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-full);
  padding: 8px 14px;
  color: var(--whisper);
  cursor: pointer;
  font-size: 13px;
}
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--void);
    padding: var(--s-12) var(--s-24) var(--s-24);
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links.open a:not(.nav-cta) { display: flex; width: 100%; padding: 12px 0; }
  .nav-links.open .nav-cta { margin-top: var(--s-12); }
}

/* ---------- Buttons (lozenge) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  padding: 14px var(--s-24);
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--slate-dust);
  color: var(--void);
}
.btn-primary:hover {
  background: var(--whisper);
  color: var(--void);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--whisper);
  border-color: var(--whisper);
  padding: 13px var(--s-20);
}
.btn-ghost:hover {
  background: var(--whisper);
  color: var(--void);
}
.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--badge-overlay);
  color: var(--whisper);
}
.badge-ghost {
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--light-ash);
}

/* ---------- Section heading ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-40);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ash); font-size: 16px; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-16); }
}

/* ---------- Hero (homepage default) ---------- */
.hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 10vw, 120px);
  position: relative;
  border-bottom: 1px solid var(--hairline);
}
.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(48px, 9vw, 128px);
  line-height: 1.0;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin: 0 0 var(--s-32);
}
.hero-name em { color: var(--mist); font-style: italic; }
.hero-tag {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--light-ash);
  max-width: 660px;
  line-height: 1.4;
  margin-bottom: var(--s-12);
}
.hero-sub {
  font-size: 16px;
  color: var(--ash);
  max-width: 580px;
  margin-bottom: var(--s-40);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-12);
}
.hero-proof {
  margin-top: var(--s-64);
  padding-top: var(--s-32);
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-32);
}
.hero-proof-item strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--whisper);
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin-bottom: 6px;
}
.hero-proof-item span {
  font-size: 13px;
  color: var(--ash);
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .hero-proof { grid-template-columns: repeat(2, 1fr); gap: var(--s-24); }
}

/* ---------- Cards ---------- */
.card {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.card-featured {
  background: transparent;
  border-radius: var(--r-card);
  overflow: hidden;
}
.surface {
  background: var(--steel);
  border-radius: var(--r-card);
  padding: var(--s-32);
}

/* ---------- Footer ---------- */
footer {
  background: var(--void);
  color: var(--ash);
  padding: var(--s-64) 0 var(--s-40);
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-24);
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-signoff {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--mist);
  font-size: 15px;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: var(--s-20); }
.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: var(--s-8);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-card);
  color: var(--whisper);
  padding: 14px var(--s-16);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ash); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--whisper);
  background: rgba(255, 255, 255, 0.02);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-20);
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Utilities ---------- */
.text-mist { color: var(--mist); }
.text-ash { color: var(--ash); }
.text-whisper { color: var(--whisper); }
.italic { font-style: italic; }
.serif { font-family: var(--font-serif); }
.mono { font-family: var(--font-mono); }
.accent-italic { font-style: italic; color: var(--mist); }
.divider {
  height: 1px;
  background: var(--hairline);
  border: none;
  margin: var(--s-40) 0;
}
.muted { color: var(--ash); }
.full-bleed { width: 100%; max-width: none; }

/* ---------- Page background variant ---------- */
.bg-steel { background: var(--steel); }
.bg-void { background: var(--void); }
