/* landing-page-styles.css - COMPLETE UPDATED VERSION */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  background-color: #e8e8e8;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 60px;
  cursor: none; /* Hide default cursor */
}

/* ============================================ */
/* LANDING PAGE                                */
/* ============================================ */

.landing-section {
  height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #e8e8e8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  
}

.landing-content {
  position: relative;
  z-index: 1;
  overflow: visible; /* ADD THIS - make sure parent allows overflow */
  padding: 0 60px;
}

/* Frosted glass overlay on top of text */
.landing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2;
  pointer-events: none;
  mask-image: none;
  -webkit-mask-image: none;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  
}

/* Sharp sandy grain texture for landing */
.landing-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: overlay;
  mask-image: none;
  -webkit-mask-image: none;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/* Variable font settings for landing text */
.landing-content .piper,
.landing-content .stones,
.landing-content .subtitle,
.landing-content .portfolio-title {
  font-family: 'Roboto Flex', 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-variation-settings: 'wght' 400, 'opsz' 9;
  color: #000;
  
}

.landing-content h1 span,
.landing-content h2 span {
  display: inline-block;
  position: relative;
  font-variation-settings: inherit;
  transition: font-variation-settings 0.05s ease-out;
}

.landing-content .piper {
  font-size: 45pt;
  font-weight: bold;
  text-transform: lowercase;
  margin-bottom: 0;
  position: fixed; /* Fixed so it can move smoothly */
  top: 0px; /* Will be updated by JavaScript */
  left: 250px; /* Original left position */
  z-index: 999;
  transition: top 0.1s linear, opacity 0.3s ease; /* Smooth movement */
  pointer-events: none; /* Don't block clicks */
}

.landing-content .stones {
  font-size: 45pt;
  font-weight: bold;
  text-transform: lowercase;
  margin-bottom: 0;
  position: relative;
  left: 40px;
  top: -30px;
}

.landing-content .subtitle {
  font-size: 45pt;
  font-weight: bold;
  text-transform: lowercase;
  line-height: 1.2;
  margin-bottom: 0;
  position: relative;
  left: 580px;
  top: -150px;
}

.landing-content .portfolio-title {
  font-size: 140pt;
  font-weight: bold;
  font-style: normal;
  text-transform: lowercase;
  margin-top: -200px;
  text-align: center;
  padding: 0 50px;
  overflow: visible;
  position: relative;
  
  
  /* Two gradients: normal one and vertically flipped one above it */
  background: 
  url('https://cp59-jhb.za-dns.com/~pipersto/images/textFill.png'),
  url('https://cp59-jhb.za-dns.com/~pipersto/images/textFill.png');
  background-size: 56% auto, 56% auto;
  background-position: center bottom, center top;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-clip: text;
}

.landing-content .portfolio-title {
  font-size: 140pt;
  font-weight: bold;
  font-style: normal;
  text-transform: lowercase;
  margin-top: -200px;
  text-align: center;
  padding: 0 50px;
  overflow: visible;
  position: relative;
  
  /* Main gradient */
  background: url('https://cp59-jhb.za-dns.com/~pipersto/images/textFill.png');
  background-size: 112% 200%;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-clip: text;
}

.landing-content .portfolio-title span {
  display: inline-block;
  position: relative;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variation-settings: inherit;
  transition: font-variation-settings 0.05s ease-out;
  padding: 0 5px;
  overflow: visible;
  
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}


/* ============================================ */
/* NAVIGATION BAR                              */
/* ============================================ */

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.25s ease;
  z-index: 1000;
  padding: 0 40px;
  overflow: visible;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  margin: 0;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  gap: 0;
}

.logo-item {
  margin-right: 20px;
  padding: 0 !important;
  flex-shrink: 0;
}

.nav-logo {
  height: 20px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-list li:nth-child(4) {
  margin-right: auto;
}

.nav-list li { 
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 16px 20px;
  text-decoration: none;
  color: #000;
  text-transform: lowercase;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.2s ease;
  white-space: nowrap;
}

.logo-item a {
  padding: 10px 10px 10px 0;
}

.nav-list a:hover { 
  background-color: rgba(0, 0, 0, 0.05);
}

.logo-item a:hover {
  background-color: transparent;
}

/* ============================================ */
/* ABOUT SECTION                               */
/* ============================================ */


.about-section {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #e8e8e8;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 100px 80px;
  display: flex;
  align-items: center;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ===== LEFT COLUMN ===== */
.about-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.about-main-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: lowercase;
  margin-bottom: 40px;
  line-height: 1.1;
  position: relative;
  left: 120px; /* CHANGE THIS to move title */
  top: -20px;
}

.about-intro {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 60px;
  position: relative;
  left: 120px; /* CHANGE THIS to move intro paragraph */
  top: 0px;
  max-width: 400px; /* CHANGE THIS - maximum width in pixels */
}

.about-subheading {
  font-size: 1.3rem;
  font-weight: normal;
  text-transform: lowercase;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  left: 120px; /* CHANGE THIS to move subheading */
  top: 0px;
}

.software-icons {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  gap: 30px;
  position: relative;
  left: 120px; /* CHANGE THIS to move icon grid */
  top: 0px;
}

.software-icon {
  width: 50px;
  height: 60px;
  display: block;
  object-fit: contain;
}

/* ===== RIGHT COLUMN ===== */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.about-philosophy-title {
  font-size: 1.3rem;
  font-weight: normal;
  text-transform: lowercase;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  left: 300px; /* CHANGE THIS to move philosophy title */
  top: 20px;
}

.about-philosophy-p1 {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px; /* CHANGE THIS to move paragraph 1 */
  top: 60px;
  max-width: 400px; /* CHANGE THIS - maximum width in pixels */
}

.about-philosophy-p2 {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px; /* CHANGE THIS to move paragraph 2 */
  top: 60px;
  max-width: 400px; /* CHANGE THIS - maximum width in pixels */
}

.about-philosophy-p3 {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 0;
  position: relative;
  left: 0px; /* CHANGE THIS to move paragraph 3 */
  top: 60px;
  max-width: 400px; /* CHANGE THIS - maximum width in pixels */
}


/* ============================================ */
/* FEATURED WORK SECTION                       */
/* ============================================ */

.featured-work-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: #e8e8e8;
  padding: 30px;
}

.container { 
  max-width: 1800px; 
  margin: 0 auto; 
}

.main-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-transform: lowercase;
  color: #000;
  padding: 0 40px;
}

/* ============================================ */
/* ACCORDION                                   */
/* ============================================ */

.accordion { 
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.accordion-item { 
  position: relative;
  margin-top: -10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.accordion-item:first-child {
  margin-top: 0;
}

.accordion-item:hover {
  z-index: 10;
  transform: translateY(-8px);
  margin-bottom: 8px;
}

.accordion-item:hover ~ .accordion-item {
  transform: translateY(8px);
}

.accordion-header { 
  padding: 45px 40px;
  cursor: pointer; 
  display: flex; 
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* UPDATED - stronger shadow */
  overflow: hidden;
}

.accordion-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulance type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.accordion-header:hover { 
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2); /* UPDATED - stronger hover shadow */
}

.accordion-header h2 { 
  font-size: 2rem; 
  font-weight: 500; 
  text-transform: lowercase; 
  color: #222;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.accordion-item:hover .accordion-header h2 {
  transform: translateX(8px);
}

.accordion-arrow {
  font-size: 2rem;
  font-weight: bold;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(90deg);
  color: #666;
  position: relative;
  z-index: 1;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(270deg);
}

.accordion-item:hover .accordion-arrow {
  transform: rotate(90deg) scale(1.2);
}

.accordion-item.active:hover .accordion-arrow {
  transform: rotate(270deg) scale(1.2);
}

.accordion-content { 
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  position: relative;
}

.accordion-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.accordion-item.active .accordion-content { 
  max-height: 8000px;
}

.content-inner { 
  padding: 40px;
  position: relative;
  z-index: 1;
}


/* ============================================ */
/* ANIMATION SECTION - MAIN LAYOUT             */
/* ============================================ */

.animation-layout {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #e8e8e8;
  padding: 120px 140px 180px 140px;
  min-height: 100vh;
  position: relative;
}

/* ============================================ */
/* TOP THREE-COLUMN GRID - ISOLATED LAYOUT     */
/* Left: Purpose | Center: Characters | Right: Achievement */
/* ============================================ */

.top-grid {
  position: relative;
  width: 100%;
  height: 800px;  /* Fixed height prevents text from affecting layout */
  margin-bottom: 180px;
}

/* Left column - Purpose */
.text-block.purpose {
  position: absolute;
  left: -50px;
  top: 30px;
  width: 20%;  /* Fixed width */
  max-height: 100%;
  overflow: visible;
}

/* Right column - Achievement */
.text-block.achievement {
  position: absolute;
  right: -50px;
  top: 0;
  width: 20%;  /* Fixed width */
  max-height: 100%;
  overflow: visible;
}

/* Purpose heading - INDEPENDENTLY POSITIONED */
.text-block.purpose h3 {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 30px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move purpose heading left/right */
  top: 0px;       /* CHANGE THIS to move purpose heading up/down */
}

/* Purpose paragraph 1 - INDEPENDENTLY POSITIONED */
.text-block.purpose p:nth-of-type(1) {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move first purpose paragraph */
  top: 10px;
}

/* Purpose paragraph 2 - INDEPENDENTLY POSITIONED */
.text-block.purpose p:nth-of-type(2) {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move second purpose paragraph */
  top: 45px;
}

/* Achievement heading - INDEPENDENTLY POSITIONED */
.text-block.achievement h4 {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 30px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move achievement heading left/right */
  top: 0px;       /* CHANGE THIS to move achievement heading up/down */
}

/* Objective heading - INDEPENDENTLY POSITIONED */
.text-block.achievement h5.objective-right {
  text-align: right;
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 50px;
  text-transform: lowercase;
  font-style: italic;
  position: relative;
  left: 0px;      /* CHANGE THIS to move objective heading left/right */
  top: -40px;       /* CHANGE THIS to move objective heading up/down */
}

/* Achievement paragraph 1 - INDEPENDENTLY POSITIONED */
.text-block.achievement p:nth-of-type(1) {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move first achievement paragraph */
  top: -70px;
}

/* Achievement paragraph 2 - INDEPENDENTLY POSITIONED */
.text-block.achievement p:nth-of-type(2) {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move second achievement paragraph */
  top: -50px;
}

/* ============================================ */
/* CENTER COLUMN: Characters + Watermark Text  */
/* Rocky (LEFT, FLIPPED) and Pluck (RIGHT)    */
/* ============================================ */

.topsection {
  display: flex;
  align-items: flex-end;
  gap: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  justify-content: center;
  flex-shrink: 0;
}

.idiom-image {
  width: 600px;
  height: auto;
  position: relative;
  flex-shrink: 0;
  left: 0px;
  top: -150px;
  z-index: 3;
  opacity: 0.8;
}

.rocky-image {
  transform: scaleX(-1);  
  width: 230px;
  height: auto;
  position: relative;
  flex-shrink: 0;
  left: 200px;    /* Moves Rocky right to overlap idiom */
  top: -150px;
  z-index: 2;
}

.pluck-image {
  width: 220px;
  height: auto;
  position: relative; 
  flex-shrink: 0;
  left: -220px;   /* Moves Pluck left to overlap idiom */
  top: -150px;
  z-index: 2;
}

/* ============================================ */
/* PARALLAX BUILDINGS SECTION - UPDATED        */
/* Three building layers with scroll effect    */
/* ============================================ */

.buildings-parallax {
  position: relative;
  width: 100vw;
  height: 500px;              /* CHANGE THIS: Height of buildings section */
  margin-left: calc(-50vw + 50%);
  margin-top: -570px;          /* CHANGE THIS: More negative = moves buildings higher */
  margin-bottom: 100px;
  overflow: hidden;
}

.building-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: auto 100%;
  background-position: bottom center;
  background-repeat: repeat-x;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Buildings One - Back layer (slowest parallax) */
.building-layer.buildings-one {
  background-image: url('animation/buildingsone.png');
  z-index: 3;
  opacity: 1;
}

/* Buildings Two - Middle layer */
.building-layer.buildings-two {
  background-image: url('animation/buildingstwo.png');
  z-index: 2;
  opacity: 1;
}

/* Buildings Three - Front layer (fastest parallax) */
.building-layer.buildings-three {
  background-image: url('animation/buildingsthree.png');
  z-index: 1;
  opacity: 1;
}

/* ============================================ */
/* APPROACH SECTION - ISOLATED LAYOUT          */
/* Left: Title image + text + "approach" | Right: 6 storyboards */
/* ============================================ */

.approach-section {
  position: relative;
  width: 100%;
  min-height: 1100px;  /* Increased to accommodate moved storyboards */
  margin-bottom: 200px;
}

/* LEFT SIDE - Fixed position container */
.approach-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 45%;  /* Fixed width */
  display: flex;
  flex-direction: column;
  gap: 0;  /* Remove gap, we'll position individually */
}




.title-image {
  width: 130%;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  left: -45px;      /* CHANGE THIS to move title image */
  top: 90px;
}

/* "approach" title - NOW ABOVE PARAGRAPHS */
.approach-text-bottom {
  position: relative;
  left: 0px;      /* CHANGE THIS to move approach heading */
  top: 70px;      /* Space below title image */
}

.approach-text-bottom h3 {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin: 0;
  margin-bottom: 30px;  /* Space before paragraphs */
}

/* Two-column text grid - BELOW "approach" heading */
.approach-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;  /* Increased gutter from 30px to 50px */
  width: 110%;
  position: relative;
  left: 0px;      /* CHANGE THIS to move paragraph grid */
  top: 70px;      /* Positioned below approach heading */
}

/* Individual paragraph positioning */
.approach-text-grid > div:nth-child(1) {
  position: relative;
  left: 0px;      /* CHANGE THIS to move left paragraph */
  top: 0px;
}

.approach-text-grid > div:nth-child(2) {
  position: relative;
  left: 0px;      /* CHANGE THIS to move right paragraph */
  top: 0px;
}

.approach-text-grid p {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 0;
}

/* RIGHT SIDE - Fixed position 6 Storyboards - MOVED DOWN AND RIGHT */
.storyboard-grid {
  position: absolute;
  right: -10px;   /* MOVED RIGHT (was 0) - CHANGE THIS for more/less */
  top: 230px;     /* MOVED DOWN (was 0) - CHANGE THIS for more/less */
  width: 40%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  column-gap: 20px;  /* Horizontal space between columns */
  row-gap: 50px;     /* Vertical space between rows */
}

.storyboard-item {
  width: 90%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  left: 0px;      /* CHANGE THIS to move individual storyboard */
  top: 0px;
}

/* Move individual storyboards if needed */
.storyboard-item:nth-child(1) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 1 */
  top: 0px;
}

.storyboard-item:nth-child(2) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 2 */
  top: 0px;
}

.storyboard-item:nth-child(3) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 3 */
  top: 0px;
}

.storyboard-item:nth-child(4) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 4 */
  top: 0px;
}

.storyboard-item:nth-child(5) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 5 */
  top: 0px;
}

.storyboard-item:nth-child(6) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 6 */
  top: 0px;
}

.storyboard-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 2px solid #000;
}

/* ============================================ */
/* SCREENSHOTS SECTION - NEW LAYOUT            */
/* Left: 6 environments in 3x2 grid | Right: Text + Desk */
/* ============================================ */

.screenshots-section {
  position: relative;
  width: 110%;
  margin-bottom: 200px;
}

.screenshots-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;  /* Left side wider for environments */
  gap: 80px;
  margin-bottom: 120px;
  width: 100%;
  align-items: start;
}

/* LEFT SIDE: 6 Environment frames in 3 rows x 2 columns */
.frames-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  column-gap: 40px;  /* Horizontal space between columns */
  row-gap: 60px;     /* Vertical space between rows */
  width: 100%;
  position: relative;
  left: 0px;    /* CHANGE THIS: positive = right, negative = left */
  top: -400px;     /* CHANGE THIS: positive = down, negative = up */
}

.frame-item {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.frame-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* Border removed for environment images */
}

/* Move individual environment frames if needed */
.frame-item:nth-child(1) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 1 */
  top: 0px;
}

.frame-item:nth-child(2) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 2 */
  top: 0px;
}

.frame-item:nth-child(3) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 3 */
  top: 0px;
}

.frame-item:nth-child(4) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 4 */
  top: 0px;
}

.frame-item:nth-child(5) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 5 */
  top: 0px;
}

.frame-item:nth-child(6) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 6 */
  top: 0px;
}

/* RIGHT SIDE: Text + Desk Container */
.screenshots-right {
  display: flex;
  flex-direction: column;
  gap: 40px;  /* Space between text and desk */
  position: relative;
  left: 100px;  /* CHANGE THIS to move entire right side */
  top: -400px;
  align-items: flex-start;  /* Align items to left */
}
/* Text Paragraphs - NARROWER */
.screenshots-text {
  position: relative;
  left: -50px;
  top: -10px;
  width: 60%;
  max-width: 450px;
}

/* Hat Image - Positioned on top of text */
.hat-image {
  position: absolute;
  width: 80px;          /* CHANGE THIS to resize hat */
  height: auto;
  right: -50px;         /* CHANGE THIS to move hat left/right */
  top: -4px;           /* CHANGE THIS to move hat up/down */
  transform: rotate(57deg);  /* CHANGE THIS for rotation angle */
  z-index: 10;
  pointer-events: none;
}

.screenshots-text p {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
}

.screenshots-text p:last-child {
  margin-bottom: 0;
}
/* Individual paragraph positioning */
.screenshots-text p:nth-child(1) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move paragraph 1 */
  top: 0px;
}

.screenshots-text p:nth-child(2) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move paragraph 2 */
  top: 0px;
}

.screenshots-text p:nth-child(3) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move paragraph 3 */
  top: 0px;
}

/* Desk Image Container - SMALLER */
.desk-image-container {
  width: 45%;  /* SMALLER - was 100%, now 60% */
  max-width: 350px;  /* Maximum width constraint */
  position: relative;
  left: 100px;  /* CHANGE THIS to move desk */
  top: 0px;
}

.desk-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============================================ */
/* SIDE CONTENT - UPDATED (Blue block only)    */
/* ============================================ */

.side-content {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 120px;
}

.color-block-large {
  width: 350px;  /* Fixed size square */
  height: 350px;
  position: relative;
  left: 0px;  /* CHANGE THIS to move blue block */
  top: 0px;
}

.color-block-large.blue {
  background: #4a8ff5;
}

/* Remove old screenshot grid styles */
.screenshots-grid {
  display: none;  /* Hide old placeholder grid */
}

.screenshot-placeholder {
  display: none;  /* Hide old placeholders */
}

.side-text {
  display: none;  /* Text moved to screenshots section */
}


/* ============================================ */
/* FINAL VIDEO SHOWCASE                        */
/* ============================================ */

.final-showcase {
  margin-top: 160px;
  padding: 0 100px;
  position: relative;
}

.final-video-container {
  max-width: 1000px;
  margin: 0 auto;
}

.final-video-placeholder {
  background: #2a2a2a;
  aspect-ratio: 16/9;
  border-radius: 0;
  margin-bottom: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.final-video-placeholder:hover {
  transform: scale(1.01);
}

.final-video-placeholder .play-icon {
  font-size: 80px;
  color: #ffffff;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.final-video-placeholder:hover .play-icon {
  opacity: 1;
}

.final-caption {
  text-align: left;
  padding-left: 0;
}

.final-caption p {
  margin: 5px 0;
  font-size: 1rem;
}

.final-caption p:first-child {
  font-style: italic;
}

/* ============================================ */
/* BOTTOM SPACER                               */
/* ============================================ */

.animation-bottom-spacer {
  height: 120px;
  background: transparent;
}

/* ============================================ */
/* RESPONSIVE DESIGN - UPDATED                 */
/* ============================================ */

@media (max-width: 1400px) {
  .animation-layout {
    padding: 100px 100px 140px 100px;
  }
  
  /* Restore grid layout for smaller screens */
  .top-grid {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .text-block.purpose,
  .text-block.achievement,
  .center-showcase {
    position: static;
    width: 100%;
  }
  
  .approach-section {
    min-height: auto;
  }
  
  .approach-left,
  .storyboard-grid {
    position: static;
    width: 100%;
  }
  
  .storyboard-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
  }
  
  .side-content {
    min-height: auto;
  }
  
  .side-text,
  .color-block-large {
    position: static;
    width: 100%;
  }
  
  .color-block-large {
    margin-top: 40px;
  }
}

@media (max-width: 900px) {
  .animation-layout {
    padding: 80px 40px 100px 40px;
  }
  
  .top-grid {
    margin-bottom: 100px;
  }
  
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
  
  .storyboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .final-showcase {
    padding: 0 20px;
  }
  
  .animation-bottom-spacer {
    height: 80px;
  }
}



/* ============================================ */
/* PRODUCT DESIGN SECTION                      */
/* ============================================ */

.product-layout {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #e8e8e8; /* Keep this for overall section */
  padding: 0;
  min-height: 100vh;
  position: relative;
}

.product-hero {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 100px;
  background: #e7e7e7; /* ADD THIS - your requested color */
}

/* ===== LEFT SIDE: Logo + Text ===== */
.product-left {
  position: absolute;
  left: 100px;
  top: 350px;
  transform: translateY(-50%);
  z-index: 2;
}

.product-logo {
  width: 350px;
  margin-bottom: 40px;
}

.product-description {
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: justify;
  max-width: 220px;
  
}



/* ===== CENTER: Large Product VIDEO - REPOSITIONED ===== */
.productvideo-right {
  position: absolute;
  left: 50%; /* Centered horizontally */
  top: 40%; /* Centered vertically */
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* VIDEO styles - replaces image */
.product-video-large {
  height: 700px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ============================================ */
/* PRODUCT VIDEO SHOWCASE SECTION - SMALLER    */
/* ============================================ */

.product-video-showcase-section {
  width: 100%;
  background: #e8e8e8;
  padding: 120px 100px 180px 100px;
  position: relative;
}

.product-video-container {
  max-width: 900px; /* SMALLER - was 1000px */
  margin: 0 auto;
}

/* Video Wrapper - 16:9 aspect ratio container */
.product-video-wrapper {
  width: 100%;
  background: #2a2a2a;
  border-radius: 0;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.product-video-wrapper iframe {
  display: block;
}

/* Video Caption */
.product-video-caption {
  text-align: left;
  padding-left: 0;
}

.product-video-caption p {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  color: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
  .product-video-showcase-section {
    padding: 100px 60px 140px 60px;
  }
  
  .product-video-container {
    max-width: 600px; /* SMALLER for responsive */
  }
}

@media (max-width: 768px) {
  .product-video-showcase-section {
    padding: 80px 40px 100px 40px;
  }
  
  .product-video-container {
    max-width: 100%; /* Full width on mobile */
  }
  
  .product-video-caption p {
    font-size: 0.9rem;
  }
}




/* ===== FROSTED GLASS PANEL - Full width below ===== */
.product-glass-panel {
  width: 100%;
  height: 1000px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  position: relative;
  margin-top: 0; /* CHANGE THIS - adds space above panel */
  left: 0px;     /* CHANGE THIS - moves panel left/right */
  top: -150px;    /* CHANGE THIS - moves panel up/down */
  z-index: 3;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Drop shadow like navbar */
  overflow: hidden;
}

.product-glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

/* ===== PRODUCT CONTENT GRID ===== */
.product-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
  padding: 80px 100px 200px 100px;
  position: relative;
  z-index: 5;
}


/* ===== USER JOURNEY SECTION ===== */
.user-journey-section {
  width: 100%;
  background: #e8e8e8;
  padding: 120px 100px;
  position: relative;
  left: 0px; /* CHANGE THIS to move entire section */
  top: 0px;
}

.user-journey-title {
  font-size: 2rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 60px;
  position: relative;
  left: 0px; /* CHANGE THIS to move title */
  top: 0px;
}

.user-journey-image-container {
  width: 120%;
  max-width: 1400px;
  margin: 0 auto 120px auto;
  position: relative;
  left: 170px; /* CHANGE THIS to move image */
  top: 0px;
}

.user-journey-image {
  width: 70%;
  height: auto;
  display: block;
  object-fit: contain;
}




/* ===== PERSONA CARDS ===== */
.personas-title {
  font-size: 2rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 80px;
  position: relative;
  left: 0px;
  top: 0px;
}


.personas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0;
  position: relative;
  left: 0px;
  top: 0px;
  width: 100%;
  margin: 0 auto;
}

.persona-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 80px 100px; /* Space around the image */
  position: relative;
  overflow: visible;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  width: 450px;
  min-height: 800px; /* ADD THIS - ensures all cards are same height */
  display: flex; /* ADD THIS - centers the image */
  align-items: center; /* ADD THIS - vertically centers */
  justify-content: center; /* ADD THIS - horizontally centers */
  flex-shrink: 0;
}

/* Make cards overlap - each card shifts left */
.persona-card:not(:first-child) {
  margin-left: -80px; /* CHANGE THIS - negative value creates overlap */
}

/* Slide-in animation classes (added by JavaScript) */
.persona-card.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays - FRONT CARD FIRST */
.persona-card[data-persona="1"] {
  transition-delay: 0s;
  z-index: 3; /* Front card on top */
}

.persona-card[data-persona="2"] {
  transition-delay: 0.3s;
  z-index: 2; /* Middle card */
}

.persona-card[data-persona="3"] {
  transition-delay: 0.6s;
  z-index: 1; /* Back card */
}

/* Grain texture for persona cards */
.persona-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}

.persona-image {
  max-width: 100%; /* Image won't exceed card width */
  max-height: 600px; /* CHANGE THIS - maximum height of the PNG */
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 1200px) {
  .personas-container {
    flex-direction: column;
    gap: 60px;
  }
  
  .persona-card {
    transform: translateX(0);
    opacity: 1;
    width: 100%;
    max-width: 400px;
  }
  
  .persona-card:not(:first-child) {
    margin-left: 0;
    margin-top: -40px;
  }
}

/* Responsive */
@media (max-width: 1400px) {
  .user-journey-section {
    padding: 100px 60px;
  }
}

@media (max-width: 900px) {
  .user-journey-section {
    padding: 80px 40px;
  }
  
  .user-journey-title,
  .personas-title {
    font-size: 1.5rem;
  }
  
  .persona-card:not(:first-child) {
    margin-top: 0;
  }
}

/* LEFT COLUMN: Objective + Achievement */
.product-left-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-objective-heading {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 10px;
  position: relative;
  left: 0px; /* CHANGE THIS */
  top: 0px;
}

.product-achievement-heading {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 30px;
  position: relative;
  left: 100px; /* CHANGE THIS */
  top: 0px;
}

.product-achievement-p1 {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px; /* CHANGE THIS */
  top: 30px;
  width: 70%;
}

.product-achievement-p2 {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 0;
  position: relative;
  left: 0px; /* CHANGE THIS */
  top: 80px;
  width: 70%;
}

/* CENTER COLUMN: 3 Product Images */
.product-center-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.product-image-item {
  width: 130%;
  position: relative;
  left: 0px; /* CHANGE THIS */
  top: 0px;
}

.product-detail-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Individual image positioning */
.product-image-item:nth-child(1) {
  position: relative;
  left: 0px; /* CHANGE THIS for compartment.png */
  top: 10px;
}

.product-image-item:nth-child(2) {
  position: relative;
  left: 0px; /* CHANGE THIS for midshot.png */
  top: 15px;
}

.product-image-item:nth-child(3) {
  position: relative;
  left: 0px; /* CHANGE THIS for screenclose.png */
  top: 20px;
}

/* RIGHT COLUMN: Purpose */
.product-right-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-purpose-heading {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 30px;
  position: relative;
  left: 80px; /* CHANGE THIS */
  top: 50px;
  
}

.product-purpose-p1 {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 80px; /* CHANGE THIS */
  top: 100px;
  width: 70%;
}

.product-purpose-p2 {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 0;
  position: relative;
  left: 80px; /* CHANGE THIS */
  top: 150px;
  width: 70%;
}

/* Responsive */
@media (max-width: 1400px) {
  .product-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .product-image-large {
    height: 800px;
  }
  
  .product-glass-panel {
    height: 800px;
  }
}

@media (max-width: 900px) {
  .product-layout {
    padding: 60px 40px;
  }
  
  .product-logo {
    width: 300px;
  }
  
  .product-image-large {
    height: 600px;
  }
  
  .product-glass-panel {
    height: 600px;
  }
}



/* ===== PRODUCT APPROACH SECTION - FIXED ===== */
.product-approach-section {
  width: 100%;
  background: #e8e8e8 !important; /* Correct color */
  padding: 120px 100px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.product-approach-title {
  font-size: 2rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 80px;
  position: relative;
  left: 0px;
  top: 0px;
}

/* Rotation Sequence Container - BIGGER SIZE */
.rotation-sequence-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 666px; /* BIGGER: 1500px × 0.444 = 666px */
  height: 1500px; /* FIXED: was 15px (typo!) */
  max-width: 90%;
}

.rotation-sequence-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}


/* Text Container */
.approach-text-container {
  position: relative;
  width: 100%;
  height: 1800px; /* Increased for 5 evenly spaced items */
  z-index: 2;
}

/* Text Block Base Styles */
.approach-text {
  position: absolute;
  max-width: 300px;
  font-size: 0.85rem;
  line-height: 1.7;
  text-align: justify;
  opacity: 0; /* Start invisible */
  transition: opacity 0.8s ease;
}

/* Fade-in class (added by JavaScript) */
.approach-text.visible {
  opacity: 1;
}

/* Fade-out class (when scrolling up) */
.approach-text.hidden {
  opacity: 0;
}

.approach-text strong {
  font-weight: bold;
  display: block; /* Put bold heading on its own line */
  margin-bottom: 10px; /* Space between heading and paragraph */
}

.approach-text p {
  margin: 0;
}

.approach-text p:first-child {
  margin-bottom: 10px; /* Space after bold heading */
}

/* STAGGERED LEFT AND RIGHT - EVENLY SPACED */

/* #1 - Top Left - 10% from top */
.approach-text.top-left {
  left: 50px;
  top: 10%;
}

/* #2 - Top Right - 27.5% from top */
.approach-text.top-right {
  right: 50px;
  top: 27.5%;
}

/* #3 - Middle Left - 45% from top (center) */
.approach-text.middle-left {
  left: 50px;
  top: 45%;
}

/* #4 - Bottom Right - 62.5% from top */
.approach-text.bottom-right {
  right: 50px;
  top: 62.5%;
}

/* #5 - Bottom Left - 80% from top */
.approach-text.bottom-left {
  left: 50px;
  top: 80%;
}

/* Remove old middle-right positioning */
.approach-text.middle-right {
  display: none; /* Not used anymore */
}

/* ============================================ */
/* INTERFACE SHOWCASE SECTION                  */
/* ============================================ */

.interface-showcase-section {
  width: 100%;
  background: #e8e8e8;
  padding: 0;
  position: relative;
}

/* Each Interface Row */
.interface-row {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  margin-bottom: 0;
}

/* ===== REEL INTERFACE ROW ===== */
.reel-interface-row {
  justify-content: space-between;
}

/* ===== ROD INTERFACE ROW ===== */
.rod-interface-row {
  justify-content: space-between;
}

/* ===== INTERFACE TEXT PANELS - WITH SLIDE-IN ANIMATION ===== */
.interface-text-panel {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 80px 100px;
  position: relative;
  overflow: visible;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 45%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* SLIDE-IN ANIMATION PROPERTIES */
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Reel panel - slides in from LEFT */
.reel-panel {
  padding-left: 100px;
  padding-right: 120px;
  margin-right: 0;
  transform: translateX(-100px);
}

/* Rod panel - slides in from RIGHT */
.rod-panel {
  padding-right: 100px;
  padding-left: 120px;
  margin-left: 0;
  transform: translateX(100px);
}

/* Slide-in animation class (added by JavaScript) */
.interface-text-panel.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* GRAIN TEXTURE */
.interface-text-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}

.interface-title {
  font-size: 2rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.interface-description {
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
  position: relative;
  z-index: 2;
  max-width: 450px;
}

/* ===== CAROUSEL CONTAINER ===== */
.interface-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  flex-shrink: 0;
  padding: 0 80px;
}

/* Screen Display Area */
.interface-screen-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reel Screen (Round) */
.reel-screen {
  width: 420px;
  height: 420px;
}

.reel-screen .interface-screen-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Rod Screen (Rectangular) */
.rod-screen {
  width: 280px;
  height: 520px;
}

.rod-screen .interface-screen-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ===== CAROUSEL ARROWS - NO BACKGROUND AT ALL ===== */
.carousel-arrow {
  width: 60px;
  height: 60px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: none;
  position: relative;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}

.carousel-arrow .arrow-icon {
  width: 28px;
  height: 28px;
  color: #1d1d1d;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-arrow:hover .arrow-icon {
  transform: scale(1.2);
  opacity: 0.7;
}

.carousel-arrow:active .arrow-icon {
  transform: scale(0.95);
}

.interface-screen-image {
  transition: none;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
  .interface-row {
    flex-direction: column;
    min-height: auto;
    padding: 80px 40px;
    gap: 60px;
  }
  
  .interface-text-panel {
    width: 100%;
    max-width: 600px;
    padding: 60px 40px !important;
    margin: 0 !important;
  }
  
  .interface-carousel-container {
    padding: 0 20px;
  }
  
  .reel-screen {
    width: 350px;
    height: 350px;
  }
  
  .rod-screen {
    width: 240px;
    height: 440px;
  }
  
  .carousel-arrow {
    width: 50px;
    height: 50px;
  }
  
  .carousel-arrow .arrow-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  .interface-title {
    font-size: 1.5rem;
  }
  
  .interface-description {
    font-size: 0.85rem;
  }
  
  .reel-screen {
    width: 280px;
    height: 280px;
  }
  
  .rod-screen {
    width: 200px;
    height: 360px;
  }
  
  .carousel-arrow {
    width: 45px;
    height: 45px;
  }
  
  .carousel-arrow .arrow-icon {
    width: 20px;
    height: 20px;
  }
  
  .interface-carousel-container {
    gap: 40px;
  }
}




/* ============================================ */
/* SHOWREEL & CONTACT SECTIONS                 */
/* ============================================ */

.showreel-section, .contact-section {
  min-height: 50vh;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #e8e8e8;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 100px 80px;
}

.showreel-section h2, .contact-section h2 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: lowercase;
  margin-bottom: 40px;
  
}
.contact-glass-panel {
  position: fixed;
  bottom: -350px;
  left: 0;
  width: 100%;
  height: 150vh; /* UPDATED - extends much lower (was 100vh) */
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
  z-index: 500;
  transform: translateY(0);
  transition: transform 0.1s linear;
  overflow: hidden;
}

.contact-glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* Footer on frosted glass panel */
.contact-footer {
  position: fixed;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  z-index: 501;
  pointer-events: auto;
}

.contact-footer-left p {
  font-size: 0.9rem;
  margin: 0;
  color: #000;
}

.contact-footer-right {
  display: flex;
  gap: 25px;
  align-items: center;
}

.contact-footer-icon {
  width: 35px;
  height: 35px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.contact-footer-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}


.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-email p {
  font-size: 1.2rem;
  margin: 0;
}

.contact-social {
  display: flex;
  gap: 30px;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}


.contact-section {
  position: relative;
  min-height: 100vh;
  overflow: visible;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}



/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
  max-width: 600px;
  margin: 60px auto 0;
  position: relative;
  z-index: 501;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.9rem;
  color: #000;
  text-transform: capitalize;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #999;
  background: rgba(255, 255, 255, 0.6);
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
  background: rgba(255, 255, 255, 0.9);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  align-self: flex-end;
  padding: 12px 40px;
  background: #1d1d1d;
  color: #fff;
  border: none;
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  font-size: 1rem;
  text-transform: capitalize;
  cursor: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
  background: #6B3410;
  transform: translateY(-2px);
}

.submit-button:active {
  transform: translateY(0);
}

/* ===== FOOTER CONTENT - Inside glass panel ===== */
.footer-content {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  z-index: 10;
}

.footer-left p {
  font-size: 0.9rem;
  margin: 0;
  color: #000;
}

.footer-right {
  display: flex;
  gap: 25px;
  align-items: center;
}

.footer-social-icon {
  width: 35px;
  height: 35px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.footer-social-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}


.showreel-placeholder {
  width: 960px;
  height: 540px;
  background: rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.showreel-placeholder:hover { 
  transform: scale(1.02); 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.play-icon { 
  font-size: 80px; 
  color: #ffffff; 
  opacity: 0.8; 
  transition: opacity 0.3s ease;
}

.showreel-placeholder:hover .play-icon { 
  opacity: 1; 
}

/* ============================================ */
/* CUSTOM CURSOR                               */
/* ============================================ */

.custom-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: difference;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.custom-cursor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

a, button, .accordion-header, .showreel-placeholder {
  cursor: none;
}

@supports not (backdrop-filter: blur(10px)) {
  .landing-section,
  .navbar,
  .accordion-header,
  .about-section,
  .showreel-section,
  .contact-section {
    background: rgba(255, 255, 255, 0.85);
  }
  
  .accordion-content {
    background: rgba(255, 255, 255, 0.75);
  }


  
}




/* Add this at the very end of your landing-page-styles-v3.css file */

/* ============================================ */
/* RESPONSIVE DESIGN - LARGER SCREENS          */
/* ============================================ */

/* For screens larger than 1920px (like 2560x1440) */
@media (min-width: 1920px) {
  
  /* Scale the entire body content proportionally */
  body {
    font-size: 18px; /* Increase base font size */
  }
  
  /* LANDING PAGE - Scale proportionally */

.lan.landing-content .piper {
  font-size: 45pt;
  font-weight: bold;
  text-transform: lowercase;
  margin-bottom: 0;
  position: relative; /* Keep relative ON the landing page */
  top: 0px;
  left: -40px;
  z-index: 1;
  transition: none;
}

.landing-content .piper {
  font-size: 45pt;
  font-weight: bold;
  text-transform: lowercase;
  margin-bottom: 0;
  position: fixed; /* Fixed so it can move smoothly */
  top: 0px; /* Will be updated by JavaScript */
  left: -40px; /* Original left position */
  z-index: 999;
  transition: top 0.1s linear; /* Smooth vertical movement */
  pointer-events: none; /* Don't block clicks */
}
  
  .landing-content .stones,
  .landing-content .subtitle {
    font-size: 3.5rem; /* Was 45pt, now scaled */
  }
  
  .landing-content .portfolio-title {
    font-size: 10rem; /* Was 140pt, now scaled */
  }
  
  /* NAVBAR - Keep centered and scaled */
  .navbar {
    max-width: 2560px; /* Allow full width on large screens */
    padding: 0 80px; /* More padding */
  }
  
  .nav-logo {
    height: 28px; /* Slightly larger logo */
  }
  
  .nav-list a {
    font-size: 1.1rem;
    padding: 18px 24px;
  }
  
  /* ABOUT SECTION - Scale text and spacing */
  .about-section {
    padding: 140px 120px;
  }
  
  .about-container {
    max-width: 1800px;
    gap: 160px;
  }
  
  .about-main-title {
    font-size: 3.5rem;
  }
  
  .about-intro,
  .about-philosophy-p1,
  .about-philosophy-p2,
  .about-philosophy-p3 {
    font-size: 1.1rem;
    max-width: 500px;
  }
  
  .software-icons {
    grid-template-columns: repeat(3, 80px);
    gap: 40px;
  }
  
  .software-icon {
    width: 70px;
    height: 80px;
  }
  
  /* FEATURED WORK SECTION */
  .container {
    max-width: 2400px;
  }
  
  .main-title {
    font-size: 4rem;
    padding: 0 80px;
  }
  
  /* ACCORDION */
  .accordion-header {
    padding: 60px 80px;
  }
  
  .accordion-header h2 {
    font-size: 2.5rem;
  }
  
  /* ANIMATION SECTION */
  .animation-layout {
    padding: 160px 200px 220px 200px;
  }
  
  .top-grid {
    height: 1000px;
    margin-bottom: 220px;
  }
  
  .text-block.purpose,
  .text-block.achievement {
    width: 22%;
  }
  
  .text-block h3,
  .text-block h4,
  .text-block h5 {
    font-size: 1.6rem;
  }
  
  .text-block p {
    font-size: 1.1rem;
  }
  
  /* CENTER CHARACTERS - Scale proportionally */
  .idiom-image {
    width: 750px;
  }
  
  .rocky-image {
    width: 280px;
    left: 250px;
  }
  
  .pluck-image {
    width: 270px;
    left: -270px;
  }
  
  /* BUILDINGS PARALLAX */
  .buildings-parallax {
    height: 650px;
    margin-top: -650px;
  }
  
  /* APPROACH SECTION */
  .approach-section {
    min-height: 1400px;
  }
  
  .title-image {
    width: 140%;
  }
  
  .approach-text-grid {
    gap: 70px;
  }
  
  .approach-text-grid p {
    font-size: 1.1rem;
  }
  
  .storyboard-grid {
    width: 45%;
    top: 280px;
    column-gap: 30px;
    row-gap: 70px;
  }
  
  /* SCREENSHOTS SECTION */
  .screenshots-container {
    gap: 100px;
  }
  
  .frames-grid {
    column-gap: 50px;
    row-gap: 80px;
  }
  
  .screenshots-text {
    max-width: 550px;
  }
  
  .screenshots-text p {
    font-size: 1.1rem;
  }
  
  .hat-image {
    width: 100px;
  }
  
  .desk-image-container {
    max-width: 450px;
  }
  
  /* COLOR BLOCK */
  .color-block-large {
    width: 450px;
    height: 450px;
  }
  
  /* FINAL SHOWCASE */
  .final-showcase {
    margin-top: 200px;
    padding: 0 140px;
  }
  
  .final-video-container {
    max-width: 1400px;
  }
  
  /* PRODUCT DESIGN SECTION */
  .product-hero {
    padding: 0 140px;
  }
  
  .product-left {
    left: 140px;
  }
  
  .product-logo {
    width: 400px;
  }
  
  .product-description {
    font-size: 0.9rem;
    max-width: 280px;
  }
  
  .product-right {
    left: 1200px;
  }
  
  .product-image-large {
    height: 750px;
  }
  
  .product-glass-panel {
    height: 1200px;
  }
  
  .product-content-grid {
    gap: 80px;
    padding: 100px 140px 240px 140px;
  }
  
  .product-achievement-p1,
  .product-achievement-p2,
  .product-purpose-p1,
  .product-purpose-p2 {
    font-size: 1.1rem;
  }
  
  /* USER JOURNEY SECTION */
  .user-journey-section {
    padding: 160px 140px;
  }
  
  .user-journey-title,
  .personas-title {
    font-size: 2.5rem;
  }
  
  .user-journey-image-container {
    left: 220px;
  }
  
  .persona-card {
    width: 550px;
    min-height: 950px;
    padding: 100px 120px;
  }
  
  .persona-card:not(:first-child) {
    margin-left: -100px;
  }
  
  .persona-image {
    max-height: 750px;
  }
  






  /* SHOWREEL SECTION */
  .showreel-section,
  .contact-section {
    padding: 140px 120px;
  }
  
  .showreel-section h2,
  .contact-section h2 {
    font-size: 4rem;
  }
  
  .showreel-placeholder {
    width: 1280px;
    height: 720px;
  }
  
  /* CONTACT SECTION */
  .contact-form-wrapper {
    max-width: 800px;
  }
  
  .form-group label,
  .form-group input,
  .form-group textarea {
    font-size: 1.1rem;
  }
  
  .submit-button {
    font-size: 1.2rem;
    padding: 14px 50px;
  }
  
  .contact-footer {
    padding: 0 140px;
  }
  
  .contact-footer-left p {
    font-size: 1.1rem;
  }
  
  .contact-footer-icon {
    width: 45px;
    height: 45px;
  }
  
  /* CUSTOM CURSOR - Scale for larger screens */
  .custom-cursor {
    width: 50px;
    height: 50px;
  }
  
  .custom-cursor.hover {
    width: 75px;
    height: 75px;
  }
}

/* For ultra-wide screens (2560px and above) */
@media (min-width: 2560px) {
  
  /* Further scale for ultra-wide monitors */
  body {
    font-size: 20px;
  }
  
  .landing-content .portfolio-title {
    font-size: 12rem;
  }
  
  .navbar {
    padding: 0 120px;
  }
  
  .about-container {
    max-width: 2200px;
  }
  
  .animation-layout {
    padding: 200px 280px 260px 280px;
  }
  
  .container {
    max-width: 2800px;
  }
  
  .main-title {
    font-size: 5rem;
  }
  
  .product-hero {
    padding: 0 200px;
  }
  
  .showreel-placeholder {
    width: 1600px;
    height: 900px;
  }
}

/* Maintain aspect ratio for background image on all screens */
@media (min-width: 1440px) {
  .landing-content .portfolio-title {
    background-size: 120% 200%;
  }
}