/* Home Page Specific Styles */

.page {
  max-width: 1280px;
  padding: 32px 24px 64px;
}

/* Full-width hero section */
.hero {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
  margin-bottom: 80px;
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(47, 52, 50, 0.92) 0%, rgba(47, 52, 50, 0.85) 50%, rgba(90, 95, 92, 0.75) 100%),
              url('/photos/20251029_183601.jpg') center center / cover no-repeat;
  animation: fadeIn 0.6s ease-out;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(170, 181, 161, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin: 0 0 24px;
  font-size: clamp(48px, 5.5vw, 68px);
  line-height: 1.1;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-text h1 span {
  color: #aab5a1;
  display: block;
  margin-top: 8px;
}

.hero-text p {
  margin: 0 0 32px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-bullets .pill {
  background: rgba(170, 181, 161, 0.25);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(170, 181, 161, 0.3);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
}

.hero-bullets .pill:hover {
  background: rgba(170, 181, 161, 0.35);
  border-color: rgba(170, 181, 161, 0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-actions .btn-primary {
  padding: 14px 32px;
  font-size: 15px;
  background: #aab5a1;
  color: #2f3432;
  font-weight: 600;
}

.hero-actions .btn-primary:hover {
  background: #c7d1c1;
  transform: translateY(-2px);
}

.hero-actions .btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.hero-actions .btn-ghost:hover {
  color: rgba(255, 255, 255, 1);
}

.hero-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
  font-weight: 400;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  border: 1px solid rgba(170, 181, 161, 0.2);
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  border-color: rgba(170, 181, 161, 0.3);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle at top right, rgba(170, 181, 161, 0.15), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-panel-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: var(--colour-text-main);
  font-weight: 600;
}

.hero-panel-sub {
  font-size: 15px;
  color: var(--colour-text-muted);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.hero-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.hero-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  animation: slideIn 0.5s ease-out backwards;
}

.hero-panel-list li:nth-child(1) { animation-delay: 0.1s; }
.hero-panel-list li:nth-child(2) { animation-delay: 0.2s; }
.hero-panel-list li:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-panel-list span.bullet {
  margin-top: 2px;
  font-size: 14px;
  color: var(--colour-accent);
  font-weight: bold;
}

.hero-panel-footer {
  font-size: 11px;
  color: var(--colour-text-muted);
  position: relative;
  z-index: 1;
}

section[aria-label="What I do"] {
  margin-bottom: 48px;
}

.section-heading {
  margin: 0 0 40px;
  font-family: var(--font-serif);
  font-size: 36px;
  position: relative;
  padding-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--colour-accent), rgba(197, 122, 61, 0.3));
  border-radius: 2px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-family: var(--font-serif);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h3 .icon {
  font-size: 24px;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--colour-text-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 60px 0;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 24px;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: clamp(36px, 8vw, 48px);
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-panel {
    order: -1;
    padding: 28px 24px 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 40px 0;
  }

  .hero-container {
    padding: 32px 20px;
  }

  .hero-text h1 {
    font-size: 32px;
  }
}
