/* ==========================================================================
   Section-Specific Styles
   ========================================================================== */

/* --- Hero Video Section — full-screen video only, no text --- */

.hero-video-section {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Mobile: keep video playing, just hide controls on small screens */
@media (max-width: 767px) {
  .hero-video-controls {
    display: none;
  }
}

/* Video controls — bottom-right corner */
.hero-video-controls {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 3;
  display: flex;
  gap: var(--space-2);
}

.hero-video-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 28, 66, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-video-btn:hover {
  background: rgba(85, 200, 232, 0.3);
  transform: scale(1.1);
}

/* --- Hero Content Section — text below video, scrolls into view --- */

.hero-content-section {
  background: var(--gradient-hero);
  padding: var(--space-16) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative dot grid behind text */
.hero-content-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(85, 200, 232, 0.1) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content-section .container {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.hero-content-section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-bitstream-blue);
  margin-bottom: var(--space-4);
}

.hero-content-section__title {
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.hero-content-section__subtitle {
  font-family: var(--font-body);
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
  color: var(--color-text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 920px;
  margin-inline: auto;
}

.hero-content-section__subtitle p {
  margin-bottom: var(--space-4);
}

.hero-content-section__subtitle p:last-child {
  margin-bottom: 0;
}

/* Two-row badge layout (credentials + impact) */
.hero-content-section__badge-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.hero-badge-row {
  text-align: center;
}

.hero-badge-row__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-2);
}

.hero-badge-row__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.hero-content-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* Badge variant for dark backgrounds */
.badge--on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- Expertise (Expanded) --- */

.expertise__intro {
  max-width: 700px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

/* Expertise cards — 2-column grid for depth */
.expertise__cards {
  margin-bottom: var(--space-12);
}

.expertise__cards .card {
  padding: var(--space-8) var(--space-8) var(--space-6);
}

.expertise__cards .card__text {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

.expertise__cards .card__text strong {
  color: var(--color-text-secondary);
}

.expertise__cards .card__text em {
  color: var(--color-bitstream-blue);
}

/* Card keyword tags */
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.card__tag {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-portal-purple);
  background: rgba(103, 48, 143, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
}

/* Practitioner + Visionary callout */
.expertise__callout {
  background: var(--gradient-hero);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8) var(--space-10);
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
  overflow: hidden;
}

.expertise__callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(85, 200, 232, 0.08) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}

.expertise__callout-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(118, 192, 67, 0.15);
  color: var(--color-gamer-green);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--border-radius-full);
  margin-bottom: var(--space-4);
  position: relative;
}

.expertise__callout-text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
  line-height: var(--leading-normal);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.expertise__callout-text strong {
  color: var(--color-white);
}

/* Hot Topics grid */
.expertise__topics {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8) var(--space-10);
  box-shadow: var(--shadow-md);
}

.expertise__topics-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--space-6);
}

.expertise__topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 600px) {
  .expertise__topics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.expertise__topic-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--border-radius);
  transition: background var(--transition-fast);
}

.expertise__topic-item:hover {
  background: rgba(85, 200, 232, 0.06);
}

.expertise__topic-item::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--color-bitstream-blue);
}

@media (max-width: 599px) {
  .expertise__callout {
    padding: var(--space-6);
  }
  .expertise__topics {
    padding: var(--space-6);
  }
}

/* --- Why Adam / Bio --- */

.bio__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

@media (min-width: 900px) {
  .bio__top {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.bio__quote-block {
  background: var(--gradient-hero);
  border-radius: var(--border-radius-xl);
  padding: var(--space-10);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.bio__quote-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(85, 200, 232, 0.1) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}

.bio__latin {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  font-style: italic;
  margin-bottom: var(--space-3);
  position: relative;
}

.bio__latin-translation {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-bitstream-blue);
  font-weight: var(--weight-medium);
  font-style: italic;
  position: relative;
}

.bio__story {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
}

.bio__story strong {
  color: var(--color-text);
}

/* Timeline */

.timeline {
  position: relative;
  padding-left: var(--space-10);
}

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

.timeline__item {
  position: relative;
  padding-bottom: var(--space-8);
}

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

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-10) + 8px);
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-bitstream-blue);
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-glow);
}

.timeline__item--active .timeline__dot {
  width: 18px;
  height: 18px;
  left: calc(-1 * var(--space-10) + 6px);
  background: var(--color-odyssey-orange);
  box-shadow: 0 0 20px rgba(247, 143, 30, 0.3);
}

.timeline__year {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-1);
}

.timeline__role {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-1);
}

.timeline__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Stats row */

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  padding: var(--space-10) 0;
}

@media (min-width: 600px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Media Showcase --- */

.media-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 600px) {
  .media-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .media-showcase__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Topics --- */

.topics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 600px) {
  .topics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Media Kit --- */

.media-kit {
  text-align: center;
}

.media-kit__box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-12) var(--space-16);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
}

.media-kit__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, rgba(85, 200, 232, 0.1), rgba(103, 48, 143, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.media-kit__desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

@media (max-width: 599px) {
  .media-kit__box {
    padding: var(--space-8);
  }
}

/* --- Showreel --- */

.showreel__container {
  max-width: 900px;
  margin: 0 auto;
}

.showreel__player {
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-xl);
}

.showreel__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}

.showreel__placeholder-text {
  color: var(--color-text-on-dark-muted);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  position: relative;
}

.showreel__play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.showreel__play-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
  margin-left: 4px;
}

/* --- Testimonials --- */

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Contact --- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact__info {
  padding-top: var(--space-4);
}

.contact__info-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.contact__info-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: var(--leading-normal);
}

.contact__method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-surface-alt);
}

.contact__method-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, rgba(85, 200, 232, 0.1), rgba(103, 48, 143, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__method-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact__method-value {
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

.contact__form-card {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.contact__success {
  display: none;
  text-align: center;
  padding: var(--space-12);
}

.contact__success--visible {
  display: block;
}

.contact__success-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

/* --- Parallax Sections --- */

.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(85, 200, 232, 0.06) 1px, transparent 0);
  background-size: 50px 50px;
}

.parallax-bg--dots {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(103, 48, 143, 0.08) 1px, transparent 0);
  background-size: 35px 35px;
}

.parallax-bg--gradient {
  background-image: none;
  background: radial-gradient(ellipse at 30% 50%, rgba(85, 200, 232, 0.05) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 50%, rgba(103, 48, 143, 0.05) 0%, transparent 70%);
}

/* --- Footer --- */

.footer {
  background: var(--color-primary);
  color: var(--color-text-on-dark-muted);
  padding: var(--space-8) 0;
  text-align: center;
  font-size: var(--text-sm);
}

.footer a {
  color: var(--color-bitstream-blue);
}

.footer a:hover {
  color: var(--color-white);
}

.footer__divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-accent);
  margin: var(--space-4) auto;
  border-radius: 1px;
}
