/* =========================================================
   geoffbush.com — stylesheet
   ---------------------------------------------------------
   To change the look, edit the variables in :root first.
   Sections below follow the page order top to bottom.
   ========================================================= */

/* ---------- 1. Design tokens (colors, fonts, spacing) ---------- */
:root {
  /* Colors */
  --paper:      #F6F2EA;  /* warm off-white page background */
  --paper-alt:  #EFE9DE;  /* slightly deeper band for alternating sections */
  --ink:        #1B1A17;  /* near-black text */
  --ink-soft:   #57534B;  /* secondary text */
  --rule:       #D9D1C2;  /* hairlines and borders */
  --accent:     #8A3A22;  /* understated oxblood accent */
  --ph-bg:      rgba(138, 58, 34, .07);  /* placeholder tint (accent at 7%) */
  --ph-line:    rgba(138, 58, 34, .55);  /* placeholder dashed underline */

  /* Fonts */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max:     1200px;
  --gutter:  clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 144px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }

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

/* Visible keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Placeholder marker ----------
   Wrap any not-yet-real text in <span class="ph">…</span>.
   Remove the wrapper when the content is final. */
.ph {
  background: var(--ph-bg);
  border-bottom: 1px dashed var(--ph-line);
  border-radius: 2px;
  padding: 0 .2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ph em { font-style: italic; color: var(--accent); }

/* ---------- 4. Shared pieces: labels, buttons, links ---------- */
.eyebrow, .section-num, .outcome-tag, .feed-type, .seen-label, .path-num {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 500 15px/1 var(--sans);
  padding: 15px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.text-link {
  display: inline-flex; gap: .4em;
  font-weight: 500; font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.text-link:hover { border-color: var(--accent); }

/* Screen-reader-only text */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
/* Inline icons (LinkedIn) */
.icon { display: inline-block; width: 15px; height: 15px; flex: none; }

/* ---------- 5. Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.wordmark {
  font-family: var(--serif);
  font-size: 22px; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover { color: var(--ink); border-color: var(--ink); }
.nav .nav-icon { display: inline-flex; padding: 6px; margin: -6px; border: 0; transform: translateY(2px); }
.nav .nav-icon:hover { color: var(--accent); }
.nav .nav-icon .icon { width: 15px; height: 15px; }

/* ---------- 6. Hero ---------- */
.hero { padding: clamp(56px, 8vw, 112px) 0 var(--section); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: end;
}
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.1;
  letter-spacing: -.022em;
  font-variation-settings: "opsz" 144;
}
.hero-title .ph,
.outcome-metric .ph,
.pullquote blockquote .ph { background: none; padding: 0; border-bottom-width: 2px; }
.hero-sub {
  margin-top: 32px; max-width: 34em;
  font-size: 19px; line-height: 1.6; color: var(--ink-soft);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* Small secondary links under the hero buttons */
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-size: 14px; }
.hero-links a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.hero-links a:hover { color: var(--ink); border-color: var(--ink); }
.hero-links .ph { background: none; padding: 0; }

.portrait { margin: 0; }
.portrait-frame {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, rgba(255,255,255,.35), rgba(0,0,0,.04)),
    #E4DBCB;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  text-align: center;
}
.portrait-label {
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-soft);
}
.portrait-label small { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .08em; }
.portrait figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }

/* ---------- 7. Section scaffolding ---------- */
.section { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.section-alt { background: var(--paper-alt); }
.section-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 24px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-num { padding-top: 14px; color: var(--accent); }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -.02em;
}
.section-intro { grid-column: 2; margin-top: 16px; max-width: 36em; color: var(--ink-soft); font-size: 18px; }

/* ---------- 8. Selected outcomes ---------- */
.outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.outcome {
  display: flex; flex-direction: column;
  padding: 32px 28px 36px;
  border-right: 1px solid var(--rule);
  transition: background .25s ease;
}
.outcome:first-child { padding-left: 0; }
.outcome:last-child { border-right: 0; padding-right: 0; }
.outcome:hover { background: rgba(138, 58, 34, .035); }
.outcome-metric {
  margin-top: 40px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(48px, 4.4vw, 64px); line-height: 1; letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
}
.outcome-label { margin-top: 18px; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.outcome-body { margin-top: 16px; font-size: 15px; color: var(--ink-soft); flex: 1; }
.outcome .text-link { margin-top: 28px; align-self: flex-start; }

/* ---------- 9. Thinking ---------- */
.thinking-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.feed { border-top: 1px solid var(--ink); margin-bottom: 36px; }
.feed li { border-bottom: 1px solid var(--rule); }
.feed-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  text-decoration: none;
  transition: padding .25s ease;
}
.feed-type { color: var(--accent); }
.feed-title { font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.feed-meta { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.feed-item:hover .feed-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.feed-item:hover { padding-left: 8px; }

.pullquote { position: sticky; top: 40px; padding-top: 8px; }
.pullquote blockquote {
  position: relative;
  padding-top: 64px;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(26px, 2.5vw, 34px); line-height: 1.3; letter-spacing: -.01em;
}
.pullquote blockquote::before {
  content: "“";
  position: absolute; top: -20px; left: -6px;
  font-size: 120px; line-height: 1; font-style: normal; color: var(--accent);
}
.pullquote figcaption { margin-top: 28px; font-size: 14px; color: var(--ink-soft); }

/* ---------- 10. Ways to connect ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.path {
  display: flex; flex-direction: column;
  padding: 36px 32px 32px;
  border: 1px solid var(--rule);
  background: #FBF8F2;
  transition: border-color .25s ease, transform .25s ease;
}
.path:hover { border-color: var(--ink); transform: translateY(-2px); }
.path-num { font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--accent); }
.path-title { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -.015em; }
.path-body { margin-top: 16px; color: var(--ink-soft); font-size: 16px; flex: 1; }
.path .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- 11. As seen in ---------- */
.seen { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 36px 0; }
.seen-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.seen-list { display: flex; flex-wrap: wrap; gap: 16px 44px; flex: 1; justify-content: space-between; }
.seen-list li { font-family: var(--serif); font-size: 21px; color: var(--ink-soft); }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 120px) 0 40px; }
.site-footer .ph { background: rgba(246, 242, 234, .1); border-color: #C98A72; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.footer-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.03em;
}
.footer-cta { max-width: 26em; }
.footer-li {
  display: inline-flex; align-items: baseline; gap: .4em;
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 242, 234, .35); padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-li:hover { color: #E3B5A3; border-color: #E3B5A3; }
.footer-note { margin-top: 16px; font-size: 15px; color: rgba(246, 242, 234, .7); }
.footer-bottom {
  margin-top: clamp(64px, 8vw, 104px); padding-top: 28px;
  border-top: 1px solid rgba(246, 242, 234, .18);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(246,242,234,.35); padding-bottom: 2px; transition: border-color .2s ease; }
.footer-links a:hover { border-color: var(--paper); }
.copyright { font-size: 14px; color: rgba(246, 242, 234, .65); }
.site-footer :focus-visible { outline-color: var(--paper); }

/* ---------- 13. Responsive ---------- */
@media (max-width: 1080px) {
  .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome:nth-child(2) { border-right: 0; padding-right: 0; }
  .outcome:nth-child(3) { padding-left: 0; }
  .outcome:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .thinking-grid { grid-template-columns: 1fr; }
  .pullquote { position: static; max-width: 40em; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .paths { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: auto; padding-top: 18px; padding-bottom: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav { gap: 18px; flex-wrap: wrap; }
  .hero-sub { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .section-head { grid-template-columns: 1fr; }
  .section-num { padding-top: 0; margin-bottom: 12px; }
  .section-intro { grid-column: 1; }
  .outcomes { grid-template-columns: 1fr; }
  .outcome, .outcome:nth-child(n) { padding: 28px 0 32px; border-right: 0; }
  .outcome:nth-child(n+2) { border-top: 1px solid var(--rule); }
  .outcome-metric { margin-top: 20px; }
  .feed-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .feed-meta { white-space: normal; }
  .feed-title { font-size: 20px; }
  .path { padding: 28px 24px; }
  .seen-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .seen-list { justify-content: flex-start; gap: 10px 28px; }
  .seen-list li { font-size: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .portrait { max-width: 240px; }
}
