@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,400;1,700&family=Epilogue:ital,wght@0,400;0,500;0,700;1,500;1,700&display=swap');

:root {
  --white-hsl: 60, 9.09%, 97.84%;
  --black-hsl: 0, 0%, 5.1%;
  --accent-hsl: 0, 100%, 56.86%;
  --lightAccent-hsl: 31.65, 90.1%, 80.2%;
  --darkAccent-hsl: 180, 1.96%, 10%;
  --font-heading: 'Epilogue', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --site-max-width: 1500px;
  --site-gutter: 4vw;
  --mobile-site-gutter: 6vw;
  --header-vert-padding: 1.9vw;
  --page-padding: 2vw;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: hsla(var(--black-hsl), 1);
  background: hsla(var(--white-hsl), 1);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsla(var(--white-hsl), 1);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 0 10px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--header-vert-padding) var(--site-gutter);
  max-width: calc(var(--site-max-width) + var(--site-gutter) * 2);
  margin: 0 auto;
}

.site-title a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  position: relative;
  transition: color 0.2s ease;
}

.header-nav a:hover { color: hsla(var(--accent-hsl), 1); }

.header-nav a.active { font-weight: 500; }

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  position: relative;
}

.burger-box {
  width: 22px;
  height: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-line {
  display: block;
  width: 100%;
  height: 1px;
  background: hsla(var(--black-hsl), 1);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.burger.is-open .burger-line:first-child {
  transform: translateY(5.5px) rotate(45deg);
}
.burger.is-open .burger-line:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: hsla(var(--white-hsl), 1);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.mobile-nav a:hover { color: hsla(var(--accent-hsl), 1); }
.mobile-nav a.active { font-weight: 500; }

/* ==========================================
   PAGE WRAPPER
   ========================================== */
.page-wrapper {
  padding-top: calc(var(--header-vert-padding) * 2 + 1.25rem + 10px);
}

/* ==========================================
   HOME — Hero Section
   ========================================== */
.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--site-gutter);
  max-width: 720px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
}

.home-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 2rem;
}

.home-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1.8rem;
  color: hsla(var(--accent-hsl), 1);
}

.home-bio {
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.9;
  color: hsla(var(--black-hsl), 0.78);
  font-weight: 300;
}

.home-bio strong {
  font-weight: 500;
  color: hsla(var(--black-hsl), 1);
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  text-align: center;
  padding: 2.5rem var(--site-gutter) 3.5rem;
  position: relative;
}

.footer-divider {
  width: 100%;
  height: 2vw;
  min-height: 12px;
  margin-bottom: 1.8rem;
  color: hsla(var(--accent-hsl), 1);
}

.footer-divider svg {
  width: 100%;
  height: 100%;
}

.footer-email {
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}

.footer-email a { transition: color 0.2s; }
.footer-email a:hover { color: hsla(var(--accent-hsl), 1); }

.social-icons {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: color 0.2s;
}

.social-icons a:hover { color: hsla(var(--accent-hsl), 1); opacity: 1; }

.social-icons svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  color: hsla(var(--black-hsl), 1);
  transition: color 0.2s;
}

.social-icons a:hover svg {
  color: hsla(var(--accent-hsl), 1);
}

/* ==========================================
   WRITING PAGE — Publication Sections
   ========================================== */
.writing-page {
  padding: 2rem var(--site-gutter) 0;
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.pub-section {
  margin-bottom: 5rem;
}

.pub-section-header {
  margin-bottom: 2rem;
}

.pub-section-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsla(var(--black-hsl), 0.45);
}

/* Card grid — horizontal scroll carousel */
.carousel-wrapper {
  position: relative;
}

.carousel-wrapper .carousel-arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: hsla(var(--black-hsl), 0.7);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}

.carousel-wrapper:hover .carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}

.carousel-arrow:hover {
  background: hsla(var(--accent-hsl), 1);
}

.carousel-arrow.left {
  left: -16px;
}

.carousel-arrow.right {
  right: -16px;
}


.cards-grid {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.cards-grid::-webkit-scrollbar {
  display: none;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
}

.card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 66.66%;
  overflow: hidden;
  margin-bottom: 10%;
  border-radius: 0;
  background: hsla(var(--lightAccent-hsl), 0.3);
}

.card-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0.8rem;
  letter-spacing: 0.01em;
}

.card-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8em 1.6em;
  border: 1.5px solid hsla(var(--accent-hsl), 1);
  background: hsla(var(--accent-hsl), 1);
  color: hsla(var(--white-hsl), 1);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-align: center;
  align-self: flex-start;
  margin-top: auto;
}

.card-btn:hover {
  background: transparent;
  color: hsla(var(--accent-hsl), 1);
}

/* Simple list — horizontal scroll carousel */
.simple-grid {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.simple-grid::-webkit-scrollbar {
  display: none;
}

.simple-item {
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 300px;
  flex-shrink: 0;
}

.simple-item-image {
  position: relative;
  width: 100%;
  padding-top: 50%;
  overflow: hidden;
  margin-bottom: 0.8rem;
  background: hsla(var(--lightAccent-hsl), 0.3);
}

.simple-item-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.simple-item-title {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.simple-item-title a {
  transition: color 0.2s;
}

.simple-item-title a:hover { color: hsla(var(--accent-hsl), 1); }

/* ==========================================
   VIDEO PAGE
   ========================================== */
.video-page {
  padding: 1rem var(--site-gutter) 0;
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.video-hero-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  padding: 2rem 0;
}

.video-hero-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.video-hero-text p {
  font-size: 0.9rem;
  color: hsla(var(--black-hsl), 0.65);
  line-height: 1.7;
}

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  justify-items: center;
}

.tiktok-embed-wrap {
  width: 100%;
  max-width: 340px;
  min-height: 500px;
  display: flex;
  justify-content: center;
}

.tiktok-embed-wrap blockquote {
  max-width: 340px !important;
  min-width: 280px !important;
}

.tiktok-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-section-block {
  margin-bottom: 4rem;
}

.video-section-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.youtube-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding-top: 56.25%;
  background: #000;
}

.youtube-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.native-video-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.native-video-wrap video {
  width: 100%;
  display: block;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

a:hover .play-overlay {
  opacity: 1;
}

.play-overlay--large {
  inset: 0;
  position: absolute;
}

.news-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 4rem;
}

.news-package-item {
  display: flex;
  flex-direction: column;
}

.news-package-link {
  display: block;
  margin-bottom: 0.8rem;
}

.news-package-image {
  position: relative;
  width: 100%;
  padding-top: 56%;
  overflow: hidden;
  background: hsla(var(--lightAccent-hsl), 0.3);
}

.news-package-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-package-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.video-section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsla(var(--black-hsl), 0.45);
  margin-bottom: 1.5rem;
  text-align: center;
}

.pasos-block {
  text-align: center;
  margin-bottom: 4rem;
}

.pasos-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pasos-block p {
  font-size: 0.9rem;
  color: hsla(var(--black-hsl), 0.65);
  margin-bottom: 1.5rem;
}

.pasos-block img {
  max-width: 100%;
  margin: 0 auto;
}

/* ==========================================
   AUDIENCE PAGE
   ========================================== */
.audience-page {
  padding: 3rem var(--site-gutter) 4rem;
  max-width: 780px;
  margin: 0 auto;
}

.audience-page h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.audience-page p {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
  color: hsla(var(--black-hsl), 0.82);
  font-weight: 300;
}

.audience-page a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  color: hsla(var(--accent-hsl), 1);
  transition: color 0.2s;
}

.audience-page a:hover { color: hsla(var(--darkAccent-hsl), 1); }

/* ==========================================
   FADE-IN ANIMATION
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .news-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    min-width: 270px;
    max-width: 300px;
  }

  .simple-item {
    min-width: 230px;
    max-width: 270px;
  }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .burger { display: block; }

  .header-inner {
    padding: 6vw var(--mobile-site-gutter);
  }

  .page-wrapper {
    padding-top: calc(6vw * 2 + 1.25rem + 6px);
  }

  .home-hero {
    min-height: auto;
    padding: 4rem var(--mobile-site-gutter) 3rem;
  }

  .home-photo {
    width: 220px;
    height: 220px;
  }

  .card {
    min-width: 240px;
    max-width: 280px;
  }

  .simple-item {
    min-width: 210px;
    max-width: 250px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .carousel-arrow.left { left: -8px; }
  .carousel-arrow.right { right: -8px; }

  .tiktok-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tiktok-embed-wrap {
    max-width: 340px;
    margin: 0 auto;
  }

  .news-packages-grid {
    grid-template-columns: 1fr;
  }

  .writing-page,
  .video-page {
    padding-left: var(--mobile-site-gutter);
    padding-right: var(--mobile-site-gutter);
  }
}

@media (max-width: 480px) {
  .mobile-nav a {
    font-size: 1.15rem;
  }
}
