/* David McAbee — Living Resume Site
   Clean light look with cinematic touch */

:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --accent: #8b7355;
  --accent-dark: #6b5a45;
  --border: #e6e2dc;
  --max: 1100px;
  --narrow: 680px;
}

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

body {
  font-family: 'Inter', system_ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links a {
  margin-left: 1.5rem;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--accent); }

.hero {
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #faf9f7 0%, var(--bg) 100%);
}

.hero-content { max-width: 720px; margin: 0 auto; }

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
}

.btn.primary:hover { background: var(--accent-dark); }

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.secondary:hover { border-color: var(--accent); color: var(--accent); }

.section { padding: 4rem 1.5rem; }

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

.container.narrow { max-width: var(--narrow); }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.card-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.work-card h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.work-card p { color: var(--text-soft); font-size: 0.95rem; }

.page { padding: 4rem 0 5rem; }

.lead {
  font-size: 1.2rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.project {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.project:last-of-type { border-bottom: none; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.project-card.wide {
  grid-column: span 2;
}

.project-card.wide img {
  height: 200px;
  object-fit: cover;
}

.project-card .card-info {
  padding: 1rem;
}

.project-card h3 {
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.project-still {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 1.25rem 0;
  border-radius: 6px;
}

.logline {
  font-style: italic;
  color: var(--text-soft);
  margin: 0.25rem 0 0.75rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 6px;
  background: #000;
  max-width: 720px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.reel-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 2rem 0 0.5rem;
  color: var(--text);
}

.hero-reel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0.5rem auto 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.hero-reel iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.text-link { color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.clean-list, .resume-list {
  list-style: none;
  margin-top: 0.5rem;
}

.clean-list li, .resume-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.resume-list li strong {
  color: var(--text);
}

.resume-list .note {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: #777;
}

.resume-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.note, .form-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.5rem;
}

.contact-block { margin: 2rem 0; }
.contact-block p { margin-bottom: 1.25rem; }

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
}

.contact-form button { margin-top: 0.5rem; }

.cta-row { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .nav-links a { margin-left: 1rem; font-size: 0.9rem; }
  .hero { padding: 4rem 1rem 3rem; }
  h1 { font-size: 2.4rem; }
}
