/* Reset and Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  font-family: 'Helvetica', Arial, sans-serif;
  background: #000;
  color: white;
  overflow-x: hidden;
}

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
  border: 2px solid #fff;
}

.skip-link:focus {
  top: 0;
}

/* Visually Hidden Class for Screen Reader Only Content */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Enhanced Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

.timeline-item:focus {
  outline: 3px solid #FFD700;
  outline-offset: 4px;
  border-radius: 4px;
}

.timeline-item:focus:not(:focus-visible) {
  outline: none;
}

.timeline-item:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Page Wrapper */
.page-wrapper {
  width: 100%;
  margin: 0;
  background: #000;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  padding: 20px 40px;
  background: white;
  position: relative;
  z-index: 100;
  gap: 20px;
}

.header-logo a {
  text-decoration: none;
  display: inline-block;
}

.header-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.header-divider {
  width: 1px;
  height: 40px;
  background: #000;
  flex-shrink: 0;
}

.header-center {
  font-family: 'Helvetica', sans-serif;
  font-size: 14px;
  color: #000;
  font-weight: 400;
  flex: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.subscribe-link {
  font-family: 'Helvetica', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgb(40, 34, 35);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subscribe-arrow {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 150%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 80px 60px;
}

.hero-left {
  flex: 1;
}

.hero-title-image {
  width: 484px;
  max-width: 100%;
}

.hero-title-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-icon {
  margin-top: 40px;
  width: 152px;
  height: 144px;
  cursor: pointer;
}

.hero-icon a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hero-icon:hover img {
  transform: translateY(5px);
}

/* Hero Separator */
.hero-separator {
  width: 100%;
  height: 3px;
  background: white;
  margin: 0;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-sun {
  width: 400px;
  height: 400px;
  object-fit: contain;
  filter: brightness(1.2);
}

/* Intro Over Background */
.intro-over-bg {
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 60px;
  flex-shrink: 0;
}

.intro-text {
  font-family: 'Roboto Slab', serif;
  font-size: 37px;
  font-weight: 300;
  line-height: 42px;
  letter-spacing: -0.37px;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 1100px;
}

.intro-author {
  font-family: 'Roboto Slab', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 40px;
}

.intro-body {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 21px;
  color: white;
  max-width: 100%;
}

.intro-body p {
  margin-bottom: 20px;
}

/* Article Section */
.article-section {
  position: relative;
  background: #000;
  padding: 80px 75px 80px;
  min-height: 100vh;
}

.article-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.85;
  overflow: hidden;
}

.article-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.article-content-wrapper {
  position: relative;
  z-index: 2;
}

/* Timeline Content Wrapper - Default for Desktop */
.timeline-content-wrapper {
  display: block;
}

/* Article Highlights Title */
.highlights-title {
  font-family: 'Helvetica', sans-serif;
  font-size: 65px;
  font-weight: 700;
  line-height: 74.74px;
  letter-spacing: -3.25px;
  color: white;
  margin-bottom: 50px;
  flex-shrink: 0;
}

/* Horizontal Timeline */
.timeline-container {
  position: relative;
  margin-bottom: 40px;
  padding: 0 20px;
  flex-shrink: 0;
  height: 180px;
}

.timeline-line {
  position: absolute;
  top: 25px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.timeline-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  height: 100%;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  object-fit: contain;
  opacity: 0.7;
}

.timeline-dot.active {
  width: 110px;
  height: 110px;
  margin-top: -30px;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 154, 86, 0.5));
}

.timeline-item:hover .timeline-dot,
.timeline-item:focus .timeline-dot {
  transform: scale(1.1);
  opacity: 1;
}

.timeline-item:active {
  transform: scale(0.98);
}

.timeline-label {
  font-family: 'Helvetica', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0;
  color: rgb(146, 140, 140);
  text-align: left;
  max-width: 150px;
}

.timeline-item.active .timeline-label {
  color: white;
  font-weight: 700;
}

/* White Separator Bar */
.white-separator {
  width: 100%;
  height: 3px;
  background: white;
  margin: 30px 0;
  flex-shrink: 0;
}

.article-heading {
  font-family: 'Helvetica', sans-serif;
  font-size: 65px;
  font-weight: 300;
  letter-spacing: -3.9px;
  line-height: 34px;
  color: white;
  margin-bottom: 40px;
}

.article-content {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0;
  color: white;
  max-width: 100%;
}

.article-content p {
  margin-bottom: 24px;
}

.subheading {
  font-family: 'Helvetica', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  color: white;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Q&A Content Area */
.qa-content-area {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
}

.qa-content-wrapper {
  width: 100%;
}

/* Custom Scrollbar */
.qa-content-area::-webkit-scrollbar {
  width: 8px;
}

.qa-content-area::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.qa-content-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.qa-content-area::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Question Items */
.question-item {
  margin-bottom: 80px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.question-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.question-item:last-child {
  margin-bottom: 0;
}

/* Pull Quotes Section */
.pull-quotes-section {
  background: #000;
  padding: 60px 75px 60px;
  color: #000;
}

.quote-container {
  background: #FAF6F4;
  border-radius: 20px;
  padding: 44px 66px 120px 66px;
  max-width: 1400px;
  height: 577px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.quote-container .section-title-dark {
  font-size: 65px;
  font-weight: 700;
  letter-spacing: -4.55px;
  color: #000;
  margin-bottom: 148px;
  margin-top: 0;
}

.quote-mark {
  width: 111px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.quote-content {
  flex: 1;
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
}

.quote-text {
  font-family: 'Roboto Slab', serif;
  font-size: 37px;
  font-weight: 300;
  line-height: 42px;
  letter-spacing: -0.74px;
  color: #000;
  margin: 0;
  padding-left: 140px;
  max-width: 891px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: opacity 0.5s ease-in-out;
}

.quote-nav {
  background: transparent;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 3;
}

.quote-nav:hover {
  transform: scale(1.15);
  opacity: 0.7;
}

.quote-nav:active {
  transform: scale(0.95);
}

.quote-nav svg {
  width: 24px;
  height: 24px;
}

/* Return Home Section */
.return-home-section {
  background: #000;
  padding: 80px 75px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.return-home-container {
  background: #FAF6F4;
  border-radius: 20px;
  padding: 60px 80px;
  max-width: 1400px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.return-home-text {
  font-family: 'Roboto Slab', serif;
  font-size: 37px;
  font-weight: 300;
  line-height: 42px;
  letter-spacing: -0.37px;
  color: #000;
  margin: 0;
}

.return-home-button {
  font-family: 'Helvetica', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #D32F2F;
  border: none;
  border-radius: 8px;
  padding: 18px 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.return-home-button:hover {
  background: #B71C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
}

.return-home-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

/* Footer */
.footer {
  background: #f5f5f5;
  padding: 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-logo {
  margin-bottom: 0;
}

.footer-logo a {
  text-decoration: none;
  display: inline-block;
}

.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-links {
  font-size: 16px;
  color: #000;
  font-weight: 400;
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links a {
  color: #000;
  text-decoration: none;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.footer-copyright p {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #666;
}

.footer-legal-links {
  font-size: 14px;
  color: #666;
}

.footer-legal-links a {
  color: #000;
  text-decoration: none;
  margin: 0 5px;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

.footer-legal-links span {
  margin: 0 5px;
  color: #999;
}

/* Responsive */

/* Desktop and Tablet - Reset mobile styles */
@media (min-width: 769px) {
  .timeline-content-wrapper {
    display: block !important;
    width: 100%;
    max-width: none;
  }

  .qa-content-area {
    width: 100% !important;
    flex: none !important;
    min-width: auto !important;
    max-width: none !important;
  }

  .timeline-container {
    display: block !important;
    margin-bottom: 30px;
    width: 100%;
    max-width: none;
  }

  .timeline-items {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100%;
  }

  .white-separator {
    display: block !important;
    width: 100%;
  }

  .article-content {
    max-width: none !important;
  }

  .intro-body {
    max-width: none !important;
  }
}

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
  .header {
    padding: 15px 30px;
  }

  .hero-content {
    padding: 60px 40px;
  }

  .hero-title-image {
    width: 400px;
  }

  .article-section {
    padding: 60px 40px 40px;
  }

  .highlights-title {
    font-size: 50px;
  }

  .timeline-container {
    padding: 0 10px;
  }

  .timeline-label {
    font-size: 16px;
    max-width: 120px;
  }

  .intro-text {
    font-size: 28px;
    line-height: 38px;
  }

  .intro-author {
    font-size: 28px;
    line-height: 38px;
  }

  .quote-container {
    padding: 40px 80px 80px 60px;
    height: 400px;
  }

  .quote-content {
    height: 180px;
  }

  .quote-text {
    font-size: 24px;
    line-height: 34px;
    padding-left: 90px;
  }

  .quote-mark {
    top: 0;
    left: 0;
    width: 60px;
  }

  .return-home-section {
    padding: 60px 40px;
  }

  .return-home-container {
    padding: 50px 60px;
  }

  .return-home-text {
    font-size: 28px;
    line-height: 38px;
  }

  .return-home-button {
    font-size: 16px;
    padding: 16px 45px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .header {
    padding: 10px 15px;
  }

  .header-divider {
    display: none;
  }

  .header-logo img {
    height: 25px;
  }

  .header-center {
    display: none;
  }

  .header-right {
    display: flex;
    margin-left: auto;
  }

  .subscribe-link {
    font-size: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px;
    padding: 0;
    position: relative;
  }

  .subscribe-link::before {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
  }

  .subscribe-arrow {
    display: none;
  }

  /* Hero Section */
  .hero-content {
    padding: 40px 20px;
    justify-content: center;
  }

  .hero-title-image {
    width: 280px;
  }

  .hero-icon {
    width: 80px;
    height: 80px;
    margin-top: 30px;
  }

  /* Article Section */
  .article-section {
    padding: 40px 20px 30px;
  }

  .intro-text {
    font-size: 20px;
    line-height: 28px;
  }

  .intro-author {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 30px;
  }

  .highlights-title {
    font-size: 36px;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
  }

  /* Two Column Layout - Timeline Left, Content Right (Mobile Only) */
  .timeline-content-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-start;
  }

  .timeline-container {
    padding: 0;
    margin-bottom: 0;
  }

  .timeline-line {
    display: none;
  }

  .timeline-items {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    width: auto;
    padding: 0;
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
  }

  .timeline-dot {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    margin-right: 0;
    flex-shrink: 0;
  }

  .timeline-dot.active {
    width: 42px;
    height: 42px;
    margin-top: 0;
  }

  .timeline-label {
    display: block;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    max-width: 65px;
  }

  .white-separator {
    display: none;
  }

  /* Q&A Content Area beside timeline */
  .qa-content-area {
    max-height: 700px;
    padding-right: 10px;
    flex: 1;
    min-width: 0;
  }

  .timeline-container {
    height: auto;
    min-height: auto;
  }

  .article-heading {
    font-size: 24px;
    letter-spacing: -1px;
    line-height: 28px;
    margin-bottom: 20px;
  }

  .article-content {
    font-size: 15px;
    line-height: 21px;
  }

  .article-content p {
    margin-bottom: 20px;
  }

  .subheading {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .question-item {
    margin-bottom: 60px;
  }

  .white-separator {
    margin: 20px 0;
  }

  /* Pull Quotes Section */
  .pull-quotes-section {
    padding: 60px 20px 80px;
  }

  .quote-container {
    padding: 30px 15px 40px 15px;
    height: auto;
    min-height: 280px;
    gap: 10px;
  }

  .quote-container .section-title-dark {
    font-size: 32px;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
  }

  .quote-content {
    height: 200px;
  }

  .quote-mark {
    width: 40px;
    top: 0;
    left: 0;
  }

  .quote-text {
    font-size: 16px;
    line-height: 24px;
    padding-left: 50px;
    padding-right: 10px;
  }

  .quote-nav {
    width: 35px;
    height: 35px;
  }

  .quote-nav svg {
    width: 18px;
    height: 18px;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-links {
    font-size: 12px;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .hero-title-image {
    width: 240px;
  }

  .hero-icon {
    width: 60px;
    height: 60px;
    margin-top: 20px;
  }

  .intro-text {
    font-size: 18px;
    line-height: 25px;
  }

  .intro-author {
    font-size: 18px;
    line-height: 25px;
  }

  .highlights-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .timeline-content-wrapper {
    gap: 8px;
  }

  .timeline-dot {
    width: 28px;
    height: 28px;
    margin-bottom: 5px;
  }

  .timeline-dot.active {
    width: 38px;
    height: 38px;
    margin-top: 0;
  }

  .timeline-items {
    gap: 12px;
  }

  .timeline-label {
    font-size: 9px;
    line-height: 11px;
    max-width: 55px;
  }

  .article-heading {
    font-size: 20px;
  }

  .article-content {
    font-size: 14px;
    line-height: 20px;
  }

  .quote-text {
    font-size: 15px;
    line-height: 22px;
    margin-left: 40px;
    margin-top: 45px;
  }

  .quote-container .section-title-dark {
    font-size: 26px;
    letter-spacing: -1px;
  }

  .quote-mark {
    width: 35px;
    top: 0;
    left: 0;
  }

  .quote-content {
    height: 240px;
    display: flex;
    align-items: center;
  }

  .quote-text {
    font-size: 13px;
    line-height: 19px;
    padding-left: 45px;
    padding-right: 5px;
    position: static;
    transform: none;
  }

  .quote-container {
    padding: 25px 8px 35px 8px;
    min-height: 300px;
    gap: 6px;
  }

  .quote-nav {
    width: 30px;
    height: 30px;
  }

  .quote-nav svg {
    width: 16px;
    height: 16px;
  }

  .return-home-section {
    padding: 40px 20px;
  }

  .return-home-container {
    padding: 40px 20px;
  }

  .return-home-text {
    font-size: 20px;
    line-height: 28px;
  }

  .return-home-button {
    font-size: 16px;
    padding: 14px 40px;
  }

  .footer-links {
    font-size: 11px;
    gap: 10px;
  }

  .footer-copyright p {
    font-size: 11px;
  }

  .footer-legal-links {
    font-size: 11px;
  }

  .footer-legal-links a {
    font-size: 11px;
  }
}
