/* ========================================
   Jarom Brown Portfolio — styles.css
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-light);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Custom Properties --- */
:root {
  --bg: #0a0a0a;
  --bg-surface: #141414;
  --bg-card: #1a1a1a;
  --border: #2a2a2a;
  --accent: #c9a84c;
  --accent-light: #e0c56a;
  --accent-dark: #a88a30;
  --text: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 8px;
  --transition: 0.3s ease;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.accent-text {
  color: var(--accent);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: var(--bg-surface);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav__logo:hover {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 200;
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.25rem;
  }

  .nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle--active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.4);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.9) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 600px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__name {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__description {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__image img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    max-width: 100%;
    order: 2;
  }

  .hero__description {
    max-width: 100%;
  }

  .hero__image {
    order: 1;
  }

  .hero__image img {
    max-width: 280px;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: all var(--transition);
}

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

.btn--primary:hover {
  background: var(--accent-light);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn--outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: 24px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* --- Credits Table --- */
.credits-section {
  margin-bottom: 48px;
}

.credits-section h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.credit-item {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 42, 42, 0.5);
  font-size: 0.9375rem;
  align-items: baseline;
}

.credit-item:last-child {
  border-bottom: none;
}

.credit-item__role {
  color: var(--text);
  font-weight: 500;
}

.credit-item__production {
  color: var(--text-secondary);
  font-style: italic;
}

.credit-item__venue {
  color: var(--text-muted);
  text-align: right;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .credit-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .credit-item__venue {
    text-align: left;
  }
}

/* --- Directing Credits --- */
.directing-credit {
  display: grid;
  grid-template-columns: 2fr 80px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 42, 42, 0.5);
  font-size: 0.9375rem;
  align-items: baseline;
}

.directing-credit:last-child {
  border-bottom: none;
}

.directing-credit__title {
  color: var(--text);
  font-weight: 500;
}

.directing-credit__year {
  color: var(--accent);
  text-align: center;
  font-weight: 600;
}

.directing-credit__venue {
  color: var(--text-muted);
  text-align: right;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .directing-credit {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .directing-credit__year {
    text-align: left;
  }

  .directing-credit__venue {
    text-align: left;
  }
}

/* --- Teaching Entry --- */
.teaching-entry {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.teaching-entry:last-child {
  border-bottom: none;
}

.teaching-entry__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.teaching-entry__institution {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
}

.teaching-entry__dates {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
}

.teaching-entry__role {
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.teaching-entry__description {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Photo Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-section {
  margin-bottom: 48px;
}

.gallery-section h3 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox--active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

.lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-align: center;
  max-width: 600px;
}

/* --- Video Section --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-card__embed {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-card__embed iframe,
.video-card__embed video {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card__info {
  padding: 20px;
}

.video-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.video-card__description {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Audio Player Placeholder --- */
.audio-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.audio-placeholder__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.audio-placeholder__text {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.form__input,
.form__textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form__textarea {
  resize: vertical;
  min-height: 150px;
}

.form__status {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  display: none;
}

.form__status--success {
  display: block;
  background: rgba(76, 175, 80, 0.15);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form__status--error {
  display: block;
  background: rgba(244, 67, 54, 0.15);
  color: #e57373;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-info__value {
  color: var(--text);
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: all var(--transition);
}

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

/* --- Footer --- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--accent);
}

/* --- Page Header (non-home pages) --- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg) 100%);
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header__subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Placeholder Section --- */
.placeholder-section {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 60px 32px;
  text-align: center;
}

.placeholder-section__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.placeholder-section__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.placeholder-section__text {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* --- Education Timeline --- */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.timeline__degree {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 4px;
}

.timeline__school {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.9375rem;
}

.timeline__date {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.timeline__details {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --- Awards --- */
.awards-list {
  display: grid;
  gap: 16px;
}

.award-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
}

.award-item__title {
  color: var(--text);
  font-weight: 500;
}

.award-item__org {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.award-item__year {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .award-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Bio Layout --- */
.bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.bio-grid--home {
  grid-template-columns: 1fr 2fr;
  align-items: center;
}

.bio-grid img {
  border-radius: var(--radius);
  width: 100%;
}

@media (max-width: 768px) {
  .bio-grid,
  .bio-grid--home {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .bio-grid img {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* --- Utility --- */
.text-center {
  text-align: center;
}

.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* --- Honeypot (form spam prevention) --- */
.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* --- Responsive fine-tuning --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }

  .page-header {
    padding: 120px 0 60px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
