/* ============================================
   What Is This Page - Rebuilt from Figma
   Design: node 245:85
   ============================================ */

/* ============================================
   403 Super Vega Custom Font
   ============================================ */
@font-face {
  font-family: '403 Super Vega';
  src: url('../fonts/403-super-vega-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   CSS Custom Properties (Rounded Figma Values)
   ============================================ */
:root {
  /* Colors */
  --color-bg: #000000;
  --color-text: #FFFFFF;
  
  /* Typography */
  --font-title: '403 Super Vega', sans-serif;
  --font-body: 'Nanum Myeongjo', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-arrow: 'Alegreya', serif;
  
  /* Title - matches home page */
  --title-size: 136px;
  --title-line-height: 130px;
  --title-letter-spacing: -4px;
  
  /* Quote - 67px (Figma: 67.02px) */
  --quote-size: 67px;
  --quote-line-height: 77px;
  --quote-letter-spacing: -2px;
  
  /* Body Large - 22px */
  --body-large-size: 22px;
  --body-large-line-height: 36px;
  
  /* Body - 20px */
  --body-size: 20px;
  --body-line-height: 26px;
  
  /* Labels - 14px */
  --label-size: 14px;
  --label-line-height: 14px;
  
  /* Arrows - 18px */
  --arrow-size: 18px;
  --arrow-line-height: 22px;
  
  /* Layout */
  --page-padding-x: clamp(20px, 5vw, 80px);
  --section-gap: 80px;
  
  /* Internal Gaps */
  --gap-title-to-text: 32px;
  --gap-large: 48px;
  --gap-images: 16px;
  --gap-day-cards: 40px;
  
  /* Corner Accents */
  --corner-width: 25px;
  --corner-height-top: 25px;
  --corner-height-bottom: 25px;
  
  /* Content Width */
  --content-max-width: 1400px;
}

/* ============================================
   Base Page Styles
   ============================================ */
html:has(.what-is-this-page),
body:has(.what-is-this-page) {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
}

.what-is-this-page {
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
  display: flex;
  justify-content: center;
}

.what-is-this-page-inner {
  width: 100%;
  max-width: var(--content-max-width);
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  position: relative;
  min-height: 100vh;
}

.what-is-this-page-inner::before,
.what-is-this-page-inner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 4px,
    transparent 4px,
    transparent 8px
  );
  pointer-events: none;
}

.what-is-this-page-inner::before {
  left: 0;
}

.what-is-this-page-inner::after {
  right: 0;
}

/* ============================================
   Corner Accents
   ============================================ */
.corner-accents-top,
.corner-accents-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.corner-accent-top {
  width: var(--corner-width);
  height: var(--corner-height-top);
  background-color: var(--color-text);
}

.corner-accent-bottom {
  width: var(--corner-width);
  height: var(--corner-height-bottom);
  background-color: var(--color-text);
}

/* ============================================
   Section Base
   ============================================ */
.section {
  width: 100%;
}

.section-title {
  font-family: var(--font-title);
  font-size: var(--title-size);
  font-weight: normal;
  line-height: var(--title-line-height);
  letter-spacing: var(--title-letter-spacing);
  color: var(--color-text);
  margin: 0;
}

/* ============================================
   Back Button
   ============================================ */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--color-text);
  border-radius: 30px;
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 500;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  width: fit-content;
  flex-shrink: 0;
  white-space: nowrap;
  margin-bottom: 20px;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.back-arrow {
  font-family: var(--font-arrow);
  font-size: 16px;
  font-style: italic;
  flex-shrink: 0;
}

/* ============================================
   Section 1: Hero (Edge to Edge, Full Viewport)
   ============================================ */
.section-hero {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  background: var(--color-bg);
  overflow: hidden;
}

/* Dotted line at base of hero */
.section-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.2) 0px,
    rgba(255, 255, 255, 0.2) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* Corner Accents for Hero */
.section-hero .corner-accent {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: var(--color-text);
  z-index: 10;
}

.section-hero .corner-accent.top-left {
  top: 0;
  left: 0;
}

.section-hero .corner-accent.top-right {
  top: 0;
  right: 0;
}

.section-hero .corner-accent.bottom-left {
  bottom: 0;
  left: 0;
}

.section-hero .corner-accent.bottom-right {
  bottom: 0;
  right: 0;
}

.section-hero .back-button {
  position: absolute;
  top: 35px;
  left: 30px;
  margin-bottom: 0;
  z-index: 5;
}

.hero-layout {
  display: flex;
  flex: 1;
  gap: 60px;
  align-items: stretch;
  padding: 30px;
  padding-top: 80px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
  flex: 0 0 auto;
  width: 510px;
  max-width: 510px;
}

.hero-left .specs-list {
  margin-top: auto;
}

.section-hero .section-title {
  white-space: nowrap;
  margin-top: 0;
}

.hero-right {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: clamp(280px, 40vw, 540px);
}

.hero-image {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Spacing after hero */
.section-hero + .what-is-this-page {
  padding-top: 0;
}

.section-hero + .what-is-this-page .what-is-this-page-inner {
  padding-top: 150px;
}

.specs-list {
  font-family: var(--font-body);
  font-size: var(--body-large-size);
  font-weight: 700;
  line-height: var(--body-large-line-height);
  color: var(--color-text);
}

.specs-list p {
  margin: 0;
}

.specs-emphasis {
  margin-top: 8px !important;
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cta-label {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  line-height: var(--body-line-height);
  color: var(--color-text);
  margin: 0;
  white-space: nowrap;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: visible;
}

.cta-row .cta-label {
  margin-bottom: 0;
  display: inline;
  white-space: nowrap;
}

.cta-arrow {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  line-height: var(--body-line-height);
  color: var(--color-text);
}

.nav-pills {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  overflow: visible;
}

@media screen and (min-width: 769px) {
  .nav-pills {
    flex-direction: row !important;
    align-items: center !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  width: fit-content;
  flex-shrink: 0;
  overflow: visible;
}

.btn:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.btn-text {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: var(--label-line-height);
  text-transform: uppercase;
}

.btn-arrow {
  font-family: var(--font-arrow);
  font-size: var(--arrow-size);
  font-style: italic;
  line-height: 1;
  flex-shrink: 0;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-secondary.active {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Section 2: Backstory
   ============================================ */
.section-backstory {
  display: flex;
  flex-direction: column;
  gap: var(--gap-title-to-text);
}

.backstory-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 32px;
}

.backstory-icon svg {
  width: 100%;
  height: 100%;
}

.backstory-header {
  font-family: var(--font-title);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--color-text);
  margin: 0 0 32px 0;
  text-transform: lowercase;
  max-width: 60%;
}

.backstory-header em {
  font-style: italic;
}

.backstory-text {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  line-height: var(--body-line-height);
  color: var(--color-text);
  max-width: 600px;
}

.backstory-text p {
  margin: 0 0 1em 0;
}

.backstory-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Section 3: Quote
   ============================================ */
.section-quote {
  padding: 10px 0;
}

.quote-block {
  max-width: 862px;
}

.quote-mark {
  font-family: var(--font-title);
  font-size: var(--quote-size);
  font-weight: normal;
  line-height: var(--quote-line-height);
  letter-spacing: var(--quote-letter-spacing);
  color: var(--color-text);
  display: block;
}

.quote-text {
  font-family: var(--font-title);
  font-size: var(--quote-size);
  font-weight: normal;
  line-height: var(--quote-line-height);
  letter-spacing: var(--quote-letter-spacing);
  color: var(--color-text);
  margin: 0;
}

/* ============================================
   Section 4: Research Text
   ============================================ */
.section-research {
  padding: 10px 0;
}

.research-text {
  max-width: 600px;
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  line-height: var(--body-line-height);
  color: var(--color-text);
}

.research-text p {
  margin: 0 0 1em 0;
}

.research-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Section 5: The Space
   ============================================ */
.section-space {
  display: flex;
  flex-direction: column;
  gap: var(--gap-large);
}

.space-sketches {
  display: flex;
  gap: var(--gap-images);
  align-items: stretch;
  width: 100%;
  padding: 80px 0 120px 0;
}

.space-sketch {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.space-sketch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.space-images {
  display: flex;
  gap: var(--gap-images);
  align-items: stretch;
  flex-wrap: wrap;
}

.space-image-large {
  flex: 2;
  min-width: 300px;
  aspect-ratio: 700 / 440;
  overflow: hidden;
  position: relative;
}

.space-image-large img,
.space-image-large video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video shimmer for space section */
.space-image-large:not(.video-loaded) {
  background: #1a1a1a;
}

.space-image-large:not(.video-loaded)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%
  );
  animation: shimmerSlide 1.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.space-image-large:not(.video-loaded) video {
  opacity: 0;
}

.space-image-large.video-loaded video {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.space-image-small {
  flex: 1;
  min-width: 200px;
  aspect-ratio: 295 / 440;
  overflow: hidden;
}

.space-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-text {
  max-width: 600px;
  font-family: var(--font-body);
  font-size: var(--body-large-size);
  font-weight: 700;
  line-height: var(--body-large-line-height);
  color: var(--color-text);
}

.space-text p {
  margin: 0 0 1.5em 0;
}

.space-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Section 5b: Wall Projections
   ============================================ */
.section-projections {
  display: flex;
  flex-direction: column;
  gap: var(--gap-large);
  padding-top: 40px;
}

.projections-content {
  display: flex;
  gap: 60px;
  width: 100%;
}

.projection-column {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
}

.projection-label {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--color-text);
  border-radius: 30px;
  width: fit-content;
}

.projection-text {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  line-height: var(--body-line-height);
  color: var(--color-text);
  margin: 0;
}

.projection-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
  margin-top: auto;
}

.projection-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video placeholder shimmer */
.projection-video:not(.video-loaded)::before {
  content: 'VIDEO';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
}

.projection-video:not(.video-loaded) video {
  opacity: 0;
}

.projection-video.video-loaded video {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.projection-video.video-loaded::before {
  display: none;
}

/* ============================================
   Section 6: Centrepiece
   ============================================ */
.section-centrepiece {
  display: flex;
  flex-direction: column;
  gap: var(--gap-large);
}

.centrepiece-header {
  display: flex;
  flex-direction: column;
  gap: var(--gap-title-to-text);
}

.centrepiece-intro {
  max-width: 600px;
  font-family: var(--font-body);
  font-size: var(--body-large-size);
  font-weight: 700;
  line-height: var(--body-large-line-height);
  color: var(--color-text);
  margin: 0;
}

.centrepiece-media {
  width: 100%;
  aspect-ratio: 1015 / 525;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  overflow: hidden;
  position: relative;
}

.centrepiece-media video,
.centrepiece-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video shimmer - only for video content, not images */
.centrepiece-media:has(video):not(.video-loaded) {
  background: #1a1a1a;
}

.centrepiece-media:has(video):not(.video-loaded)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%
  );
  animation: shimmerSlide 1.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* Hide video until loaded */
.centrepiece-media:has(video):not(.video-loaded) video {
  opacity: 0;
}

.centrepiece-media.video-loaded video {
  opacity: 1;
  transition: opacity 0.3s ease;
}

@keyframes shimmerSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.centrepiece-text {
  max-width: 600px;
  font-family: var(--font-body);
  font-size: var(--body-large-size);
  font-weight: 700;
  line-height: var(--body-large-line-height);
  color: var(--color-text);
  margin: 0;
}

.final-style-label {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: var(--label-line-height);
  text-transform: uppercase;
  color: var(--color-text);
  padding: 6px 14px;
  border: 1px solid var(--color-text);
  border-radius: 30px;
  align-self: center;
}

.centrepiece-video {
  width: 40%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
  align-self: flex-start;
}

.centrepiece-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Rejected Iterations Carousel */
.rejected-iterations {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.rejected-iterations-label {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: var(--label-line-height);
  text-transform: uppercase;
  color: var(--color-text);
  padding: 6px 14px;
  border: 1px solid var(--color-text);
  border-radius: 30px;
}

.rejected-carousel {
  width: 60%;
  max-width: 60%;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.rejected-carousel::-webkit-scrollbar {
  height: 6px;
}

.rejected-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.rejected-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.rejected-carousel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.rejected-carousel-track {
  display: flex;
  gap: 0;
}

.rejected-carousel-item {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.rejected-carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rejected Thumbnails */
.rejected-thumbnails {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.rejected-thumb {
  width: 80px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 2px solid transparent;
  background: #1a1a1a;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.rejected-thumb:hover {
  opacity: 0.8;
}

.rejected-thumb.active {
  border-color: var(--color-text);
  opacity: 1;
}

.rejected-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Video shimmer for rejected carousel */
.rejected-carousel-item:not(.video-loaded) video {
  opacity: 0;
}

.rejected-carousel-item:not(.video-loaded)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%
  );
  animation: shimmerSlide 1.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.rejected-carousel-item.video-loaded video {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ============================================
   Section 7: Setting It Up
   ============================================ */
.section-setup {
    display: flex;
    flex-direction: column;
  gap: var(--gap-large);
}

.setup-intro {
  max-width: 650px;
  font-family: var(--font-body);
  font-size: var(--body-large-size);
  font-weight: 700;
  line-height: var(--body-large-line-height);
  color: var(--color-text);
  margin: 0;
}

.day-cards {
  display: flex;
  gap: var(--gap-day-cards);
  flex-wrap: wrap;
    width: 100%;
}

.day-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 200px;
}

.day-card-image {
    width: 100%;
  aspect-ratio: 295 / 440;
  overflow: hidden;
  }
  
.day-card-image img {
    width: 100%;
  height: 100%;
  object-fit: cover;
}

.day-label {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: var(--label-line-height);
  text-transform: uppercase;
  color: var(--color-text);
  padding: 4px 10px;
  border: 1px solid var(--color-text);
  border-radius: 30px;
}

/* Setup Videos Grid */
.setup-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 74px 24px; /* row-gap column-gap */
  width: 100%;
  margin-top: 20px;
}

.setup-video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.setup-video-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #1a1a1a;
}

/* Video placeholder shimmer for setup videos */
.setup-video-item:not(.video-loaded) video {
  opacity: 0;
}

.setup-video-item:not(.video-loaded)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%
  );
  animation: shimmerSlide 1.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.setup-video-item.video-loaded video {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.setup-video-label {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: var(--label-line-height);
  text-transform: uppercase;
  color: var(--color-text);
  padding: 4px 10px;
  border: 1px solid var(--color-text);
  border-radius: 30px;
}

/* ============================================
   Section 8: Personal Reflections
   ============================================ */
.section-reflections {
    display: flex;
    flex-direction: column;
  gap: var(--gap-title-to-text);
}

.reflections-text {
  max-width: 650px;
  font-family: var(--font-body);
  font-size: var(--body-large-size);
  font-weight: 700;
  line-height: var(--body-large-line-height);
  color: var(--color-text);
  margin: 0;
}

.reflections-image {
    width: 100%;
  max-width: 575px;
  aspect-ratio: 4096 / 2734;
  overflow: hidden;
  margin-top: 16px;
  }
  
.reflections-image img {
    width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-credit {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  line-height: var(--body-line-height);
  color: var(--color-text);
  margin: 0;
}

/* ============================================
   Section 9: Credits
   ============================================ */
.section-credits {
  display: flex;
  flex-direction: column;
  gap: var(--gap-title-to-text);
}

.credits-text {
  max-width: 650px;
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  line-height: var(--body-line-height);
  color: var(--color-text);
}

.credits-text p {
  margin: 0 0 1.5em 0;
}

.credits-text p:last-child {
  margin-bottom: 0;
}

.credits-intro {
  font-size: var(--body-large-size);
  line-height: var(--body-large-line-height);
}

/* ============================================
   Responsive - Large Desktop (1400px+)
   ============================================ */
@media screen and (min-width: 1400px) {
  :root {
    --page-padding-x: calc((100vw - 1076px) / 2);
  }
}

/* ============================================
   Responsive - Tablet (1024px and below)
   ============================================ */
@media screen and (max-width: 1024px) {
  :root {
    --title-size: 90px;
    --title-line-height: 86px;
    --title-letter-spacing: -3px;
    --quote-size: 48px;
    --quote-line-height: 56px;
    --section-gap: 60px;
  }
  
  .section-hero {
    gap: 60px;
    padding-top: 60px;
  }
  
  .hero-right {
    display: none;
  }
  
  .space-sketches {
    flex-wrap: wrap;
    padding: 40px 0 60px 0;
  }
  
  .space-sketch {
    flex: 1 1 30%;
    min-width: 200px;
  }
  
  .space-images {
    flex-direction: column;
  }
  
  .projections-content {
    flex-direction: column;
    gap: 50px;
  }
  
  .projection-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .projection-video {
    margin-top: 10px;
  }
  
  .space-image-large,
  .space-image-small {
    max-width: 100%;
    width: 100%;
  }
  
  .day-cards {
    justify-content: center;
  }
  
  .setup-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 20px;
  }
}

/* ============================================
   Responsive - Mobile (768px and below)
   ============================================ */
@media screen and (max-width: 768px) {
  :root {
    --page-padding-x: 20px;
    --section-gap: 50px;
    
    --title-size: 42px;
    --title-line-height: 40px;
    --title-letter-spacing: -1px;
    
    --quote-size: 32px;
    --quote-line-height: 40px;
    --quote-letter-spacing: -1px;
    
    --body-large-size: 18px;
    --body-large-line-height: 28px;
    
    --body-size: 15px;
    --body-line-height: 24px;
    
    --label-size: 12px;
    --arrow-size: 14px;
    
    --corner-width: 15px;
    --corner-height-top: 15px;
    --corner-height-bottom: 15px;
    
    --gap-day-cards: 24px;
  }
  
  .section-hero {
    min-height: auto !important;
    height: auto !important;
    padding: 20px;
    padding-top: 20px;
    padding-bottom: 40px;
    overflow: visible;
  }
  
  .hero-layout {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }
  
  .hero-left {
    width: 100%;
    max-width: 100%;
    gap: 20px;
  }
  
  .hero-left .cta-block {
    margin-top: 20px;
  }
  
  .hero-right {
    display: block !important;
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    margin-top: 20px;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 300px;
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }
  
  .section-hero .back-button {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin-bottom: 8px;
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .back-arrow {
    font-size: 14px;
  }
  
  .section-hero {
    padding-top: 20px !important;
  }
  
  .hero-layout {
    padding-top: 0 !important;
  }
  
  .section-hero .corner-accent {
    width: 15px;
    height: 15px;
  }
  
  .cta-block {
    gap: 10px;
  }
  
  .cta-row {
    gap: 10px;
  }
  
  .cta-arrow {
    font-size: 12px;
  }
  
  .nav-pills {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px;
  }
  
  .nav-pills .btn {
    padding: 5px 10px;
    width: fit-content;
    flex-shrink: 0;
    overflow: visible;
  }
  
  .nav-pills .btn-text {
    font-size: 11px;
    flex-shrink: 0;
  }
  
  .nav-pills .btn-arrow {
    font-size: 12px;
    flex-shrink: 0;
  }
  
  .day-card {
    min-width: 150px;
  }
  
  .setup-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 16px;
  }
  
  .setup-video-item {
    gap: 12px;
  }
  
  .rejected-iterations {
    gap: 16px;
  }
  
  .rejected-carousel {
    width: 100%;
    max-width: 100%;
  }
  
  .rejected-carousel-item {
    flex: 0 0 100%;
    width: 100%;
  }
  
  .rejected-thumb {
    width: 60px;
  }
  
  .rejected-thumbnails {
    gap: 6px;
  }
  
  /* Portrait crop for final style image on mobile */
  .centrepiece-media {
    aspect-ratio: 3 / 4;
  }
  
  .centrepiece-media img {
    object-position: center center;
  }
  
  .centrepiece-video {
    width: 100%;
  }
  
  .backstory-header {
    max-width: 80%;
  }
  
  .specs-text,
  .backstory-text,
  .research-text,
  .space-text,
  .centrepiece-intro,
  .centrepiece-text,
  .setup-intro,
  .reflections-text {
    max-width: 100%;
  }
}

/* ============================================
   Responsive - Small Mobile (480px and below)
   ============================================ */
@media screen and (max-width: 480px) {
  :root {
    --title-size: 48px;
    --title-line-height: 44px;
    --title-letter-spacing: -1.5px;
    
    --quote-size: 24px;
    --quote-line-height: 30px;
    
    --body-large-size: 16px;
    --body-large-line-height: 24px;
    
    --body-size: 15px;
    --body-line-height: 24px;
  }
  
  .nav-pills {
    gap: 5px;
  }
  
  .nav-pills .btn {
    padding: 4px 8px;
  }
  
  .nav-pills .btn-text {
    font-size: 10px;
  }
  
  .nav-pills .btn-arrow {
    font-size: 11px;
  }
  
  .day-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .day-card {
    width: 100%;
    max-width: 250px;
  }
  
  .setup-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 12px;
  }
  
  .setup-video-item {
    gap: 10px;
  }
  
  .setup-video-label {
    font-size: 10px;
    padding: 3px 8px;
  }
}
