/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Tokens ── */
:root {
  --black:      #1a1a1a;
  --sidebar-bg: #222222;
  --white:      #ffffff;
  --off-white:  #f5f5f5;
  --yellow:     #ffdd00;
  --text:       #1a1a1a;
  --muted:      #666666;
  --border:     #e0e0e0;
  --sidebar-w:  220px;
  --font-d: 'DM Serif Display', Georgia, serif;
  --font-b: 'Inter', -apple-system, sans-serif;
}

/* ── Base ── */
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--white);
  display: flex;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px 28px;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-logo {
  width: 60px; height: 60px;
  object-fit: contain;
  margin-bottom: 36px;
}

.sidebar-nav { list-style: none; width: 100%; flex: 1; }
.sidebar-nav li { margin-bottom: 2px; }
.sidebar-nav a {
  display: block;
  text-align: center;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.6);
  border-radius: 3px;
  transition: color .2s, background .2s;
}
.sidebar-nav a:hover,
.sidebar-nav a.active { color: var(--white); background: rgba(255,255,255,0.08); }

.sidebar-socials {
  display: flex; gap: 14px; margin-top: 28px;
}
.sidebar-socials a { color: var(--white); transition: color .2s; }
.sidebar-socials a:hover { color: var(--yellow); }
.sidebar-socials svg { width: 16px; height: 16px; fill: currentColor; display: block; }

/* ═══════════════════════════════════════════════
   MAIN
═══════════════════════════════════════════════ */
.main { margin-left: var(--sidebar-w); flex: 1; }

/* ── Shared section padding ── */
.section { padding: 80px 72px; }

.section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.section-label.light { color: rgba(255,255,255,0.35); }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); }

/* ═══════════════════════════════════════════════
   BUTTON SYSTEM
═══════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  border-radius: 5px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--yellow);
  transition: box-shadow .15s, transform .15s;
  text-align: center;
}
.btn:hover {
  box-shadow: 6px 6px 0 var(--yellow);
  transform: translate(-1px, -1px);
}
.btn:active {
  box-shadow: 2px 2px 0 var(--yellow);
  transform: translate(1px, 1px);
}

/* Dark-bg variant */
.btn-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 4px 4px 0 var(--yellow);
}
.btn-dark:hover { box-shadow: 6px 6px 0 var(--yellow); transform: translate(-1px,-1px); }

/* ═══════════════════════════════════════════════
   1. HERO — full dark split
═══════════════════════════════════════════════ */
#subscribe {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 56px 72px 72px;
}

.hero-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero-tm {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 2px;
}

#expectations h2, #insider h2, #testimonials h2, #aboutjef h2,
#hireacopywriter h2, .issue-hero h1, .issue-body h2, .issue-body h3,
.not-found-num, .not-found-wrap h1 {
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}

.hero-badges {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.badge {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.badge svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Email + button stacked on dark */
.hero-form {
  display: flex; flex-direction: column;
  gap: 12px; max-width: 380px;
}
.hero-form input[type="email"] {
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font-b);
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: 5px;
  outline: none;
  width: 100%;
}
.hero-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.hero-form input[type="email"]:focus { border-color: var(--yellow); }

.hero-disclaimer {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  max-width: 380px;
  line-height: 1.7;
}

.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-img-caption {
  position: absolute;
  bottom: 24px; right: 24px;
  font-size: 11px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  max-width: 200px;
  line-height: 1.6;
  text-align: right;
}

/* subscribe feedback */
.subscribe-msg {
  font-size: 13px;
  color: #f87171;
  margin-top: 8px;
  max-width: 380px;
}
.subscribe-success {
  font-size: 16px;
  color: var(--yellow);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   2. EXPECTATIONS
═══════════════════════════════════════════════ */
#expectations { background: var(--off-white); }

.expectations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

#expectations h2 {
  font-family: var(--font-d);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 20px;
}

.lead {
  font-size: 16px; font-weight: 600;
  line-height: 1.65; margin-bottom: 28px;
}

.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; line-height: 1.55;
}
.check-list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

.expectations-img img { width: 100%; border-radius: 2px; }

/* ═══════════════════════════════════════════════
   3. WHAT'S INSIDE
═══════════════════════════════════════════════ */
#insider { background: var(--white); text-align: center; }

#insider h2 {
  font-family: var(--font-d);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700; line-height: 1.2;
  margin: 0 auto 44px; max-width: 700px;
}

.insider-list-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.insider-coming {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0;
}

.insider-cta { margin-top: 44px; }

/* ═══════════════════════════════════════════════
   4. TESTIMONIALS
═══════════════════════════════════════════════ */
#testimonials { background: var(--off-white); }

#testimonials h2 {
  font-family: var(--font-d);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700; margin-bottom: 44px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.t-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
}
.t-card blockquote {
  font-size: 15px; line-height: 1.75;
  font-style: italic; color: var(--text);
  margin-bottom: 20px;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.t-author strong { display: block; font-size: 13px; font-weight: 700; }
.t-author span { font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════════════════════
   5. ABOUT
═══════════════════════════════════════════════ */
#aboutjef { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

#aboutjef h2 {
  font-family: var(--font-d);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700; line-height: 1.05;
  margin-bottom: 16px;
}

.about-subtitle {
  font-size: 17px; font-weight: 700;
  margin-bottom: 24px; line-height: 1.5;
}

.about-body p {
  font-size: 15px; line-height: 1.8;
  color: var(--text); margin-bottom: 14px;
}
.about-body p:last-of-type { margin-bottom: 32px; }
.about-body a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.about-body a:hover { color: var(--muted); }

.about-img { position: relative; }
.about-img img { width: 100%; border-radius: 2px; }

/* ═══════════════════════════════════════════════
   6. NEED HELP — dark
═══════════════════════════════════════════════ */
#hireacopywriter {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

#hireacopywriter h2 {
  font-family: var(--font-d);
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700; line-height: 1.2;
  margin: 0 auto 72px;
  max-width: 930px;
}

#hireacopywriter.section {
  padding: 100px 72px;
}

.hire-ctas { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; justify-content: center; }

.hire-link {
  display: flex; align-items: center; gap: 12px;
  font-size: 25px; font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: opacity .2s;
}
.hire-link:hover { opacity: 0.75; }

.hire-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hire-icon img { width: 44px; height: 44px; object-fit: contain; }
.hire-wa-icon {
  width: 32px; height: 32px;
  fill: var(--yellow);
  flex-shrink: 0;
}

.hire-divider {
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.2);
  align-self: center;
}
.hire-item { display: flex; flex-direction: column; gap: 8px; }
.hire-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hire-external {
  width: 13px; height: 13px;
  fill: currentColor; opacity: 0.5;
  display: inline; vertical-align: middle;
  margin-left: 4px;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.45);
  padding: 28px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  font-size: 12px;
}
.footer a { color: rgba(255,255,255,0.45); text-decoration: underline; text-underline-offset: 2px; }
.footer a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { text-decoration: none; }
.footer-socials svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* ═══════════════════════════════════════════════
   MOBILE NAV
═══════════════════════════════════════════════ */
.hamburger {
  display: none; position: fixed;
  top: 14px; left: 14px; z-index: 200;
  background: var(--sidebar-bg);
  border: none; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); }
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 99;
}

/* ═══════════════════════════════════════════════
   NEWSLETTER ARCHIVE PAGE
═══════════════════════════════════════════════ */
.archive-header {
  background: var(--black);
  color: var(--white);
  padding: 72px 72px 56px;
}
.archive-header h1 {
  font-family: var(--font-d);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; line-height: 1.05;
  margin-bottom: 12px;
}
.archive-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
}
.archive-section { background: var(--white); padding: 0 72px 80px; }
.archive-table {
  list-style: none;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.archive-row {
  display: grid;
  grid-template-columns: 88px 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.archive-num {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.archive-date {
  font-size: 13px; color: var(--muted);
  white-space: nowrap;
}
.archive-title {
  font-size: 16px; font-weight: 600;
  color: var(--text);
}
.archive-title:hover { color: var(--muted); }
.archive-empty {
  font-size: 16px; color: var(--muted);
  font-style: italic;
  padding: 48px 0;
}

/* ═══════════════════════════════════════════════
   NEWSLETTER ISSUE PAGE
═══════════════════════════════════════════════ */
.issue-hero {
  background: var(--black);
  color: var(--white);
  padding: 72px 72px 56px;
}
.issue-breadcrumbs {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.issue-breadcrumbs a { color: rgba(255,255,255,0.4); }
.issue-breadcrumbs a:hover { color: rgba(255,255,255,0.7); }
.issue-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.issue-hero h1 {
  font-family: var(--font-d);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700; line-height: 1.08;
  margin-bottom: 20px;
}
.issue-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.issue-body-wrap {
  background: var(--white);
  padding: 64px 72px 80px;
  max-width: 860px;
}
.issue-body { font-size: 17px; line-height: 1.78; }
.issue-body h2 {
  font-family: var(--font-d);
  font-size: 28px; font-weight: 700;
  margin: 48px 0 18px;
  color: var(--black);
}
.issue-body h3 {
  font-family: var(--font-d);
  font-size: 22px; font-weight: 700;
  margin: 36px 0 14px;
  color: var(--black);
}
.issue-body p { margin-bottom: 22px; }
.issue-body a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.issue-body a:hover { color: var(--muted); }
.issue-body ul, .issue-body ol { padding-left: 26px; margin-bottom: 22px; }
.issue-body li { margin-bottom: 7px; }
.issue-body blockquote {
  border-left: 3px solid var(--yellow);
  padding-left: 24px;
  margin: 32px 0;
  color: var(--muted);
  font-style: italic;
  font-size: 18px;
}
.issue-body code {
  font-family: monospace;
  font-size: 14px;
  background: var(--off-white);
  padding: 2px 6px;
  border: 1px solid var(--border);
}
.issue-body pre {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 24px;
  overflow-x: auto;
  margin-bottom: 22px;
}
.issue-body pre code { background: none; border: none; padding: 0; }
.issue-cta {
  background: var(--off-white);
  padding: 48px 72px;
  border-top: 1px solid var(--border);
}
.issue-cta p {
  font-size: 15px; color: var(--muted);
  margin-bottom: 20px; max-width: 480px;
}

/* ═══════════════════════════════════════════════
   404
═══════════════════════════════════════════════ */
.not-found-wrap {
  background: var(--black);
  color: var(--white);
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
}
.not-found-num {
  font-family: var(--font-d);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
}
.not-found-wrap h1 {
  font-family: var(--font-d);
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}
.not-found-wrap p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 36px;
}
.not-found-actions { display: flex; gap: 20px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .sidebar { transform: translateX(-100%); transition: transform .3s; }
  .sidebar.open { transform: translateX(0); }
  .overlay.open { display: block; }
  .main { margin-left: 0; }

  #subscribe { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 72px 32px 64px; }

  .section { padding: 60px 32px; }
  .divider { margin: 0; }
  .footer { padding: 24px 32px; }

  .expectations-grid,
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .archive-header { padding: 56px 32px 40px; }
  .archive-section { padding: 0 32px 60px; }
  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .archive-date { display: none; }

  .issue-hero { padding: 56px 32px 40px; }
  .issue-body-wrap { padding: 40px 32px 60px; }
  .issue-cta { padding: 40px 32px; }

  .not-found-wrap { padding: 60px 32px; }
}

@media (max-width: 600px) {
  .hero-badges { flex-direction: column; gap: 10px; }
  .hire-ctas { flex-direction: column; align-items: flex-start; }
  .hire-divider { display: none; }
  .not-found-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, html { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
