/* jeffkindred.com */

:root {
  --bg: #121314;
  --text: #EDEDEA;
  --text-soft: #C9C9C4;
  --text-muted: #A9A9A4;
  --line: #2C2D2F;
  --line-strong: #4A4B4E;
  --accent: #8FD9A0;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.mono { font-family: var(--mono); }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.nav__name { font-weight: 600; font-size: 17px; }
.nav__links { display: flex; gap: 28px; font-family: var(--mono); font-size: 13px; }
.nav__links a { text-decoration: none; }

/* Hero */
.hero {
  padding: 140px 0 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__kicker { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 920px;
  text-wrap: balance;
}
.hero p {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 620px;
}

/* Stories */
.story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.story__body { display: flex; flex-direction: column; gap: 20px; }
.story__label { display: flex; gap: 16px; font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.story__num { color: var(--accent); }
.story h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.quote { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.quote blockquote {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-style: italic;
  color: var(--accent);
}
.quote figcaption { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.story__pitch { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-soft); }

.beats {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.beats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 2px solid var(--line-strong);
}
.beats li:first-child { border-top-color: var(--accent); }
.beats h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.beats li:first-child h3 { color: var(--accent); }
.beats p { margin: 0; font-size: 16px; line-height: 1.5; }

.shot { margin: 0; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; }
.shot figcaption { font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--text-muted); }

/* Closer */
.next {
  padding: 120px 0;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
}
.next__head { display: flex; flex-direction: column; gap: 20px; }
.next__label { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.next h2 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 500; }
.next__text { display: flex; flex-direction: column; gap: 24px; font-size: 21px; line-height: 1.6; color: var(--text-soft); }
.next__text p { margin: 0; }
.next__text p:last-child { color: var(--text); }
.next .shot { grid-column: 1 / -1; }
.next .shot img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Tagline */
.tagline {
  padding: 120px 0 100px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tagline span:last-child { color: var(--accent); }

/* Contact */
.contact {
  padding: 0 0 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.contact__links { display: flex; flex-wrap: wrap; gap: 32px; font-size: 17px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
}
.button:hover { color: var(--bg); background: #A8E4B5; }

/* Motion: hero fades on load, sections fade as they scroll in */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .1s; }
.d2 { animation-delay: .25s; }

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Phones */
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav__links { gap: 18px; }
  .hero { padding: 88px 0 72px; }
  .story { padding: 56px 0; gap: 32px; }
  .story h2, .next h2 { font-size: 28px; }
  .next { padding: 80px 0; }
  .next__text { font-size: 19px; }
  .tagline { padding: 80px 0 64px; }
}
