@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
  /* Colorful Nostalgic Palette */
  --bg-dark: #110B08;
  /* Deepest pitch black espresso */
  --text-light: #FDF6E3;
  /* Warm cream text */
  --text-muted: #A3968A;

  /* Nostalgic Heart-Warming Sunset Palette */
  --color-rust: #C57246;
  --color-gold: #B68346;

  /* Vibrant & Crisp Additions */
  --color-sunset-orange: #FF5E3A;
  --color-amber: #FF8C00;
  --color-golden-hour: #FFC371;
  --color-deep-purple: #3A0CA3;

  --glass-bg: rgba(17, 11, 8, 0.4);
  /* Darker glass */
  --glass-border: rgba(253, 246, 227, 0.1);

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  /* Spacing Variables used inline */
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
}

/* Hide AI Watermarks on images */
img {
  clip-path: inset(0 0 5% 0);
}

/* CUSTOM CURSOR */
@media (pointer: fine) {

  body,
  a,
  button,
  .hoverable {
    /* cursor: none !important; */
  }
}

.cursor {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-sunset-orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
}

.cursor-follower {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 197, 139, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), height 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.1s linear, border 0.3s;
}

.cursor.active {
  width: 60px;
  height: 60px;
  background: rgba(253, 246, 227, 0.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cursor-follower.active {
  width: 0;
  height: 0;
  border: none;
}

/* Colorful Glowing Orbs (Mesh Gradient effect) */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
  animation: float 20s infinite alternate ease-in-out;
}

body::before {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--color-sunset-orange) 0%, transparent 70%);
  top: -10vw;
  left: -10vw;
  opacity: 0.25;
  /* Kept crisp, not overwhelming */
}

body::after {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-amber) 0%, transparent 70%);
  bottom: -10vw;
  right: -10vw;
  opacity: 0.25;
}

/* A third orb for extra color */
.bg-orb-3 {
  position: fixed;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--color-deep-purple) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.2;
  animation: float 25s infinite alternate-reverse ease-in-out;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(5vw, 5vh) scale(1.1);
  }

  100% {
    transform: translate(-5vw, -5vh) scale(0.9);
  }
}

/* RIPPLE CANVAS */
#rippleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  /* Let clicks pass through */
  z-index: -2;
  /* Just above the background but below text */
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(25, 20, 16, 0.8) 0%, rgba(25, 20, 16, 0) 100%);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-mark {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.logo-word {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-rust);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(197, 114, 70, 0.45);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #fff;
  color: var(--color-rust);
  box-shadow: 0 4px 20px rgba(197, 114, 70, 0.6);
}

/* HERO: FULL SCREEN VIDEO */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  will-change: transform, border-radius;
  transform-origin: top center;
  /* Better for scroll reveal */
  transition: transform 0.1s ease-out, border-radius 0.1s ease-out;
}

.hero-video-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: slowZoom 30s infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1.0);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(28, 24, 20, 0.4) 0%, rgba(140, 90, 51, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
  animation: fadeUp 1.5s 0.5s forwards ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
}

.hero-tagline .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-right: 10px;
}

.hero-title {
  display: block;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 30px;
}

.title-fade {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #E6DBC9 0%, #A3968A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-main {
  font-family: var(--font-sans);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 500;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #ffffff 0%, #FDF6E3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

.serif-glow {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #F2C58B 0%, #C57246 50%, #7E8C58 100%);
  /* Vibrant Gold -> Rust -> Sage Green */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 15px;
  filter: drop-shadow(0 0 30px rgba(197, 114, 70, 0.6));
  /* Intense rust glow */
}

.hero-desc {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  color: rgba(253, 246, 227, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-bottom-bar {
  position: absolute;
  bottom: 40px;
  left: 50px;
  right: 50px;
  display: flex;
  justify-content: flex-end;
  /* Push mini-tag to the right */
  align-items: flex-end;
  z-index: 20;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 246, 227, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce-scroll 2s infinite ease-in-out;
}

.hero-scroll::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 30px;
  background: rgba(253, 246, 227, 0.5);
  margin-bottom: 15px;
}

@keyframes bounce-scroll {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

.hero-mini-tag {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  background: rgba(17, 11, 8, 0.65);
  /* Deep dark espresso container */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(253, 246, 227, 0.1);
  border-radius: 100px;
  /* Modern pill shape */
  padding: 12px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-mini-tag span {
  background: linear-gradient(135deg, var(--color-golden-hour) 0%, var(--color-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes pulse {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

/* NARRATIVE SECTION (General) */
.narrative-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
}

.narrative-content {
  width: 100%;
  text-align: center;
}

.narrative-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.2;
}

/* LADDER (Why Rewynd) - Sticky Split Screen */
.split-section {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 150px 40px;
  gap: 100px;
  align-items: flex-start;
  /* Crucial for sticky behavior */
}

.split-left {
  flex: 1;
  position: sticky;
  top: 30vh;
}

.split-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
}

.split-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20vh;
}

.ladder-step {
  padding: 40px 50px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  text-align: left;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ladder-step.highlight {
  background: rgba(197, 114, 70, 0.2);
  border-color: rgba(197, 114, 70, 0.4);
}

.ladder-step.highlight h3 {
  color: var(--color-gold);
}

.ladder-step.highlight p {
  color: var(--text-light);
}

.ladder-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: block;
}

.ladder-step h3 {
  font-size: 20px;
  font-family: var(--font-serif);
  margin-bottom: 10px;
}

.ladder-step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* HORIZONTAL SCROLL SECTION (FILM STRIP) */
.horizontal-scroll-wrapper {
  position: relative;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.film-strip-title {
  position: absolute;
  top: 8vh;
  left: 10vw;
  z-index: 10;
}

.film-strip-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 64px);
}

.horizontal-content {
  display: flex;
  gap: 10vw;
  padding: 0 50vw 0 35vw;
  /* Start offset, end offset */
  will-change: transform;
  margin-top: 30vh;
  /* Increased margin to prevent overlap with title */
}

.film-frame {
  position: relative;
  width: 60vw;
  min-width: 600px;
  height: 60vh;
  border-radius: 4px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.film-image-container {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 120px;
  overflow: hidden;
  border-radius: 2px;
}

.film-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transition: filter 0.8s ease, transform 0.8s ease;
  transform: scale(1.05);
}

.film-frame:hover img {
  filter: brightness(1.05);
  transform: scale(1);
}

.film-text {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 0 10px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 0.8;
  color: var(--color-rust);
}

.step-desc h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 5px;
  color: var(--text-light);
}

.step-desc p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 400px;
}

/* CAMERA ROLL WALL */
.camera-roll-section {
  position: relative;
  width: 100%;
  min-height: 130vh;
  overflow: hidden;
  background: #050302;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-roll-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.scattered-text-badge {
  display: inline-block;
  background: rgba(17, 11, 8, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(253, 246, 227, 0.1);
  padding: 50px 80px;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
  pointer-events: auto;
  text-align: center;
}

.camera-roll-grid-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vw;
  /* Wider than screen */
  height: 150vh;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.camera-roll-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  /* Fixed 8 columns */
  gap: 4px;
  /* Phone gallery gap */
  width: 100%;
  align-content: center;
  transform: perspective(1200px) rotateX(15deg) scale(1.1);
  transform-style: preserve-3d;
  will-change: transform;
}

.cr-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  background: #111;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.4s, box-shadow 0.4s;
  /* cursor: none; Let custom cursor handle it */
}

.cr-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s;
  filter: brightness(0.9);
}

.cr-item:hover {
  transform: scale(1.1) translateZ(20px);
  z-index: 20;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.cr-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* FLASHLIGHT DISCOVERY */
.flashlight-section {
  position: relative;
  width: 100%;
  height: 80vh;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* cursor: none; */
}

.flashlight-content {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.flashlight-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle 250px at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(circle 250px at 50% 50%, black 30%, transparent 100%);
  /* Disable transition to make it completely 1:1 with mouse */
}

.flashlight-collage {
  position: relative;
  width: 100%;
  height: 100%;
  background: #111;
}

.flashlight-collage img {
  position: absolute;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  border: 10px solid #fff;
  border-bottom-width: 40px;
}

/* USE CASES */
.usecases {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.usecase {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px 30px;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.usecase:hover {
  background: rgba(182, 131, 70, 0.15);
  /* Gold tint on hover */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.usecase h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 15px;
}

.usecase p {
  font-size: 15px;
  color: var(--text-muted);
}

/* FAQ */
.faq-section {
  min-height: auto;
  padding: 150px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-container {
  width: 100%;
  max-width: 1000px;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 40px 20px;
  margin-bottom: 0;
  transition: background 0.4s ease, padding 0.4s ease;
  border-radius: 12px;
}

.faq-item:hover {
  background: rgba(197, 114, 70, 0.05);
  padding-left: 30px;
}

.faq-item summary {
  font-size: clamp(24px, 4vw, 36px);
  font-family: var(--font-serif);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.faq-item:hover summary {
  color: var(--color-gold);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--color-rust);
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 300;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(135deg);
  color: var(--color-gold);
}

.faq-item p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
}

/* PREMIUM CTA */
.premium-cta {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px;
  background: var(--bg-dark);
}

.cta-inner {
  max-width: 1200px;
  width: 100%;
}

.cta-massive-text {
  font-family: var(--font-sans);
  font-size: clamp(50px, 9vw, 130px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 60px;
}

.cta-massive-text .gradient-text {
  background: linear-gradient(135deg, var(--color-sunset-orange) 0%, var(--color-amber) 50%, var(--color-golden-hour) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 40px;
}

.cta-action-row p {
  max-width: 400px;
  font-size: 18px;
  color: var(--text-muted);
}

.btn-orb {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(197, 114, 70, 0.1);
  border: 1px solid rgba(197, 114, 70, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.btn-orb .orb-text {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  position: relative;
  z-index: 2;
  text-align: center;
}

.btn-orb .orb-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(197, 114, 70, 0.4) 0%, transparent 60%);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1;
}

.btn-orb:hover {
  transform: scale(1.05);
  background: rgba(197, 114, 70, 0.15);
}

.btn-orb:hover .orb-glow {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* BUTTONS */
.btn-glass {
  display: inline-block;
  padding: 18px 40px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  text-decoration: none;
  background: rgba(197, 114, 70, 0.4);
  border: 1px solid var(--color-rust);
  border-radius: 100px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(197, 114, 70, 0.3);
}

.btn-glass:hover {
  background: var(--color-rust);
  color: #fff;
  box-shadow: 0 4px 20px rgba(197, 114, 70, 0.6);
}

/* MEGA FOOTER */
.mega-footer {
  background: #0A0605;
  /* Pitch black espresso */
  padding: 100px 40px 40px;
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  gap: 100px;
  z-index: 10;
}

.footer-brand .brand-desc {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 30px;
  color: var(--text-light);
}

.social-row {
  display: flex;
  gap: 20px;
}

.social-row a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.social-row a:hover {
  color: var(--color-gold);
}

.footer-links-grid {
  display: flex;
  gap: 80px;
}

.link-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-col .col-title {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

/* NEWSLETTER */
.footer-newsletter {
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(253, 246, 227, 0.2);
  padding-bottom: 8px;
  max-width: 300px;
  transition: border-color 0.3s ease;
}

.newsletter-form:hover {
  border-bottom: 1px solid var(--color-sunset-orange);
}

.newsletter-form input {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 16px;
  flex: 1;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(253, 246, 227, 0.3);
}

.newsletter-form button {
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateX(5px);
  color: var(--color-sunset-orange);
}

.link-col a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.link-col a:hover {
  color: var(--color-rust);
  transform: translateX(5px);
}

.back-to-top {
  background: none;
  border: none;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 20px;
  text-align: left;
  transition: color 0.3s;
}

.back-to-top:hover {
  color: var(--color-rust);
}

/* MASSIVE TEXT */
.footer-mega-text {
  width: 100%;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 20px;
  z-index: 5;
}

.footer-mega-text h2 {
  font-family: var(--font-sans);
  font-size: 16vw;
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin: 0;
  background: linear-gradient(135deg, var(--color-sunset-orange) 0%, var(--color-amber) 50%, var(--color-golden-hour) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  cursor: default;
}

.mega-footer:hover .footer-mega-text h2 {
  transform: scale(1.02) translateY(-20px);
}

/* COPYRIGHT ROW */
.footer-copyright {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(253, 246, 227, 0.05);
  padding-top: 30px;
  font-size: 13px;
  color: rgba(253, 246, 227, 0.3);
  z-index: 10;
}

/* SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(20px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1), filter 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform, filter;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* GLOWING MOUSE-TRACKING CARDS */
.glow-card {
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, -1000px);
  left: var(--mouse-x, -1000px);
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(182, 131, 70, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card>* {
  position: relative;
  z-index: 1;
}

/* DRAGGABLE FILM STRIP */
.film-strip-section {
  width: 100%;
  overflow: hidden;
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  z-index: 20;
}

.film-strip-track {
  display: flex;
  gap: 20px;
  cursor: grab;
  will-change: transform;
  user-select: none;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.film-strip-track::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.film-strip-track:active {
  cursor: grabbing;
}

.film-strip-track img {
  height: 350px;
  aspect-ratio: 4/5;
  border-radius: 4px;
  object-fit: cover;
  pointer-events: none;
  /* Let track handle drag */
  transition: filter 0.3s ease, transform 0.3s ease;
  filter: brightness(0.9);
}

.film-strip-track img:hover {
  filter: brightness(1.05);
}

/* KINETIC SCROLL TEXT */
.kinetic-text {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 20vw;
  font-weight: 800;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(253, 246, 227, 0.03);
  /* Extremely faint outline */
  z-index: -2;
  pointer-events: none;
  will-change: transform;
}

/* ============================================================
   MOBILE HAMBURGER MENU — hidden on desktop, shown on mobile
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 201;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.35s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile full-screen nav overlay */
.mobile-nav {
  display: none;
  /* JS will toggle .open which sets display:flex */
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 4, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 4px 10px;
}

.mobile-nav-close:hover {
  opacity: 1;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-gold);
  transform: translateX(8px);
}

.mobile-nav-cta {
  margin-top: 12px;
  font-size: 13px;
}

/* ============================================================
   TABLET  (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {

  /* Split section — stack */
  .split-section {
    flex-direction: column;
    padding: 100px 32px 80px;
    gap: 50px;
  }

  .split-left {
    position: relative;
    top: auto;
  }

  .split-left h2 {
    font-size: clamp(36px, 7vw, 56px);
  }

  /* Use cases — stack */
  .usecases {
    flex-direction: column;
  }

  /* Film frames — slightly narrower */
  .film-frame {
    width: 80vw;
    min-width: 340px;
  }

  /* Footer links — single column */
  .footer-links-grid {
    flex-direction: column;
    gap: 30px;
  }

  /* CTA action row — stack */
  .cta-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .cta-action-row p {
    max-width: 100%;
  }
}

/* ============================================================
   MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ---- NAV ---- */
  nav {
    padding: 18px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-inner>.btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* ---- HERO ---- */
  .hero-content {
    padding: 0 24px;
  }

  .hero-desc {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .btn-glass {
    padding: 14px 28px;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    left: 16px;
    right: 16px;
    bottom: 24px;
  }

  .hero-scroll {
    position: relative;
    left: auto;
    transform: none;
  }

  .hero-mini-tag {
    padding: 10px 18px;
    font-size: 11px;
    text-align: center;
  }

  /* ---- SPLIT SECTION (Why Rewynd) ---- */
  .split-section {
    flex-direction: column;
    padding: 80px 20px;
    gap: 40px;
  }

  .split-left {
    position: relative;
    top: auto;
  }

  .ladder-step {
    padding: 36px 24px;
  }

  /* ---- HOW IT WORKS — disable horizontal scroll, go vertical ---- */
  .horizontal-scroll-wrapper {
    height: auto !important;
  }

  .sticky-container {
    position: relative;
    height: auto;
    overflow: visible;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px;
    gap: 0;
  }

  .film-strip-title {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 36px;
  }

  .horizontal-content {
    flex-direction: column;
    padding: 0;
    gap: 24px;
    margin-top: 0;
    transform: none !important;
    /* override JS transform */
  }

  .film-frame {
    width: 100%;
    min-width: unset;
    height: auto;
    min-height: unset;
    padding: 16px;
  }

  .film-image-container {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    height: 200px;
    margin-bottom: 16px;
  }

  .film-text {
    padding: 0;
    gap: 16px;
  }

  .step-num {
    font-size: 48px;
  }

  .step-desc p {
    max-width: 100%;
  }

  /* ---- USE CASES ---- */
  .usecases {
    flex-direction: column;
    gap: 20px;
  }

  .usecase {
    padding: 36px 24px;
  }

  /* ---- CAMERA ROLL ---- */
  .camera-roll-section {
    min-height: 60vh;
  }

  .camera-roll-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .scattered-text-badge {
    padding: 32px 24px;
  }

  /* ---- FLASHLIGHT ---- */
  .flashlight-section {
    height: 60vh;
    cursor: auto;
  }

  .flashlight-content p {
    font-size: 18px;
  }

  /* ---- PREMIUM CTA ---- */
  .premium-cta {
    padding: 80px 20px;
  }

  .cta-massive-text {
    font-size: clamp(40px, 13vw, 80px);
    margin-bottom: 36px;
  }

  .cta-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .cta-action-row p {
    font-size: 16px;
    max-width: 100%;
  }

  .btn-orb {
    width: 120px;
    height: 120px;
  }

  .btn-orb .orb-text {
    font-size: 11px;
  }

  /* ---- FAQ ---- */
  .faq-section {
    padding: 80px 20px;
  }

  /* ---- FOOTER ---- */
  .mega-footer {
    padding: 60px 20px 36px;
  }

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

  .footer-links-grid {
    flex-direction: column;
    gap: 28px;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-mega-text h2 {
    font-size: 22vw;
  }

  /* ---- DRAGGABLE FILM STRIP ---- */
  .film-strip-track img {
    height: 200px;
  }

  /* ---- NARRATIVE SECTION ---- */
  .narrative-section {
    padding: 80px 20px;
  }
}

/* ============================================================
   SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .camera-roll-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .scattered-text-badge {
    padding: 24px 16px;
  }

  .hero-mini-tag {
    display: none;
  }

  .mobile-nav-link {
    font-size: 28px;
  }

  .footer-mega-text h2 {
    font-size: 24vw;
  }

  .faq-item summary {
    font-size: clamp(18px, 5vw, 26px);
  }
}


/* --- ADDITIONAL PAGES CSS --- */
.hero {
  padding: 150px 0 50px;
  position: relative;
  text-align: left;
  height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 48ch;
  color: var(--text-muted);
  margin-top: 20px;
}

.spotlight {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--glass-bg);
}

.spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 45%, rgba(17, 11, 8, 0.7) 100%);
  pointer-events: none;
}

.spotlight .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  z-index: 2;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 15px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(20px);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 114, 70, 0.3);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(197, 114, 70, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-rust);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 30px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 30px;
  align-items: start;
}

.step-num {
  counter-increment: step;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(197, 114, 70, 0.4);
  color: var(--color-rust);
  font-size: 20px;
  display: grid;
  place-items: center;
}


.rw-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass-bg);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

.rw-table th,
.rw-table td {
  text-align: left;
  padding: 20px 25px;
  border-bottom: 1px solid var(--glass-border);
  font-size: 15px;
}

.rw-table th {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.03);
}

.rw-table tr:last-child td {
  border-bottom: none;
}

.rw-table td.yes {
  color: var(--color-gold);
  font-weight: 600;
}

.rw-table td.muted {
  color: var(--text-muted);
}

.rw-table th.highlight,
.rw-table td.highlight {
  background: rgba(197, 114, 70, 0.08);
}

.voice-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text-light);
  border-left: 2px solid var(--color-rust);
  padding-left: 30px;
  margin: 30px 0;
}

.notice {
  border: 1px dashed rgba(197, 114, 70, 0.4);
  background: rgba(197, 114, 70, 0.1);
  border-radius: 16px;
  padding: 20px 30px;
  font-size: 15px;
  color: var(--text-light);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.notice strong {
  color: var(--color-rust);
}

.price-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 50px 40px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(20px);
}

.price-card.featured {
  border-color: var(--color-rust);
  background: rgba(197, 114, 70, 0.05);
}

.price-card .featured-tag {
  position: absolute;
  top: -14px;
  left: 40px;
  background: var(--color-rust);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 5px 15px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--text-light);
}

.price-amount .unit {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  flex-grow: 1;
}

.price-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-light);
  font-size: 15px;
}

.price-list li svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  stroke: var(--color-rust);
  margin-top: 3px;
}

.photo-strip {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.photo-strip::-webkit-scrollbar {
  display: none;
}

.photo-strip img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  filter: saturate(0.92);
}

.memory-reveal {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 800px) {
  .memory-reveal {
    flex-direction: column;
  }
}

.memory-reveal .chaos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 700px;
  width: 100%;
}

.memory-reveal .chaos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.45;
  filter: grayscale(0.4) saturate(0.7);
  transform: rotate(var(--r, 0deg));
}

.memory-reveal .chaos img:nth-child(2) {
  --r: 2deg;
}

.memory-reveal .chaos img:nth-child(4) {
  --r: -1.5deg;
}

.memory-reveal .chaos img:nth-child(6) {
  --r: 1deg;
}

.memory-reveal .arrow {
  color: var(--color-gold);
  width: 28px;
  height: 28px;
  justify-self: center;
}

.memory-reveal .chosen {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 0 0 2px var(--color-gold), 0 20px 50px rgba(182, 131, 70, 0.25);
}

.memory-reveal .chosen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.memory-reveal .chosen .reveal-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(17, 11, 8, 0.8);
  padding: 5px 12px;
  border-radius: 100px;
}

.rw-form {
  display: grid;
  gap: 15px;
  max-width: 480px;
}

.rw-form label {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 5px;
}

.rw-form input[type="email"],
.rw-form input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 15px;
}

.rw-form input:focus {
  outline: 2px solid var(--color-rust);
  outline-offset: 1px;
}

.platform-choice {
  display: flex;
  gap: 15px;
}

.platform-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.platform-option:has(input:checked) {
  border-color: var(--color-rust);
  background: rgba(197, 114, 70, 0.14);
}

.platform-option input {
  accent-color: var(--color-rust);
}

.platform-option svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-light);
}

.privacy-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px;
}

.privacy-box h4 {
  color: var(--color-gold);
  margin-bottom: 10px;
}

.privacy-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.privacy-box li {
  margin-bottom: 8px;
}


/* --- BLOG EDITORIAL STYLING --- */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 80px;
}

.blog-hero-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 26px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  background: var(--glass-bg);
}

@media (max-width: 768px) {
  .blog-hero-wrapper {
    aspect-ratio: 16/9;
  }
}

.blog-hero-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.blog-hero-wrapper:hover img {
  transform: scale(1.03);
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 11, 8, 0.9) 0%, transparent 60%);
  pointer-events: none;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--text-light);
}

.blog-meta {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.blog-meta span.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
}

.blog-content {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-muted);
}

.blog-content p {
  margin-bottom: 30px;
}

.blog-content h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--text-light);
  margin: 60px 0 30px;
  position: relative;
}

.blog-content h2::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-rust);
}

.blog-pull-quote {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.4;
  color: var(--color-gold);
  padding: 40px;
  margin: 60px 0;
  border-left: 2px solid var(--color-rust);
  background: linear-gradient(to right, rgba(197, 114, 70, 0.05), transparent);
  border-radius: 0 20px 20px 0;
  font-style: italic;
}






/* --- ADVANCED CREATIVE UPGRADES --- */

/* 1. Global Header Floating Glass Effect */
nav {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background: transparent;
}

nav.scrolled {
  padding: 10px 20px;
}

nav.scrolled .nav-inner {
  background: rgba(23, 23, 26, 0.85);
  /* Dark charcoal transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 114, 70, 0.3);
  /* Subtle rust glow border */
  border-radius: 50px;
  padding: 10px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(182, 131, 70, 0.1);
}

/* 2. Cinematic Hero Fades */
.blog-hero-wrapper img {
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* 3. Robust Family Timeline */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(245, 241, 232, 0.1);
  /* Subtle track */
  transform: translateX(-50%);
}

.timeline-line-fill {
  position: absolute;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, var(--color-gold), var(--color-rust));
  transition: height 0.3s ease-out;
}

.timeline-item {
  width: 45%;
  margin-bottom: 80px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-item.in {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 55%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold);
  z-index: 2;
  transition: all 0.4s ease;
}

.timeline-item.in .timeline-dot {
  background: var(--color-gold);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -11.5%;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -11.5%;
}

/* Timeline Mobile Responsiveness */
@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: calc(100% - 50px);
    left: 50px !important;
    text-align: left !important;
    margin-bottom: 50px;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: -38px;
    right: auto;
  }
}


/* 4. Beautiful Blog Grid */
.blog-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: 100%;
}

.blog-card-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 25px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card-wrapper:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(197, 114, 70, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(197, 114, 70, 0.15);
}
