/* Reset  fonts */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header – much tighter */
.site-header {
  padding: 40px 0 20px;   /* was 40px 0 60px → drastically reduce bottom padding */
}

.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;         /* ← changed from flex-start to center */
  flex-wrap: nowrap;           /* ← prevents nav from wrapping under the name */
}

.main-nav {
  flex-shrink: 0;              /* ← stops the nav from shrinking too early */
}

/* Space between name and "Austin, TX" */
.name-location h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #1a1a1a;
  line-height: 0.95;
  white-space: nowrap;
  margin-bottom: 4px;     /* ADD THIS LINE – was default ~1rem */
}

.location {
  font-size: 1.4rem;
  color: #666;
  margin-top: 0;          /* CHANGE from 12px to 0 */
  font-weight: 300;
}

.main-nav a {
  margin-left: 40px;
  text-decoration: none;
  color: #555;
  font-weight: 400;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #000;
}

/* Main hero section – remove the huge top padding that’s killing you */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 30px 0 120px;   /* CHANGE from 80px 0 120px → 30px is perfect */
}

.headshot img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.credits h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #000;
  position: relative;
  display: inline-block;
}

.credits h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background: #4fc3f7;
}

.credits p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #444;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #4fc3f7;
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
}

.cta-button:hover {
  background: #4fc3f7;
  color: white;
}

/* Mobile */
@media (max-width: 900px) {
  .header-grid { flex-direction: column; align-items: flex-start; }
  .main-nav { margin-top: 30px; }
  .main-nav a { margin: 0 25px 0 0; }
  .home-grid { grid-template-columns: 1fr; gap: 60px; }
  .headshot img { max-width: 100%; }
}
