/* ============================================
   VEXUAR Studio — Design System & Styles
   ============================================ */

/* --- CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img, video {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Custom Properties: Palette --- */
:root {
  /* Neutrals */
  --neutral-0: #FFFFFF;
  --neutral-50: #F4F5F7;
  --neutral-100: #ECEEF2;
  --neutral-200: #DDE1E8;
  --neutral-300: #D1D5DB;
  --neutral-400: #A3ACB9;
  --neutral-500: #717B8A;
  --neutral-600: #4E5866;
  --neutral-700: #39414D;
  --neutral-800: #242A32;
  --neutral-900: #1A1D21;
  --neutral-950: #0B0D10;

  /* Violet / Ultraviolet */
  --violet-50: #F2EFFF;
  --violet-100: #E3DCFF;
  --violet-200: #C6B8FF;
  --violet-300: #A48BFF;
  --violet-400: #7A4DFF;
  --violet-500: #5200FF;
  --violet-600: #3F00D6;
  --violet-700: #2F00AD;
  --violet-800: #210084;
  --violet-900: #14005B;
  --violet-950: #0A0038;

  /* Semantic */
  --color-success: #22C55E;
  --color-error: #EF4444;

  /* --- Light theme (default) --- */
  --bg-canvas: var(--neutral-50);
  --bg-surface: var(--neutral-0);
  --bg-surface-muted: var(--neutral-100);
  --border-subtle: var(--neutral-200);
  --border-default: var(--neutral-300);
  --border-strong: var(--neutral-400);
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-600);
  --text-tertiary: var(--neutral-500);
  --text-on-accent: var(--neutral-0);
  --action-primary: var(--violet-500);
  --action-primary-hover: var(--violet-600);
  --action-primary-pressed: var(--violet-700);
  --action-primary-text: var(--neutral-0);
  --link-default: var(--violet-800);
  --link-hover: var(--violet-700);
  --focus-ring: rgba(122, 77, 255, 0.35);

  /* Helper (inside card) */
  --helper-bg: var(--neutral-100);
  --helper-border: var(--neutral-300);
  --helper-text: var(--neutral-600);

  /* --- Typography scale (desktop) --- */
  --font-primary: 'IBM Plex Sans', sans-serif;
  --font-display: 'Playfair Display', serif;

  --fs-display: 56px;
  --lh-display: 1.1;
  --ls-display: -0.02em;
  --fw-display: 400;

  --fs-h1: 60px;
  --lh-h1: 1.1;
  --ls-h1: -0.01em;
  --fw-h1: 400;

  --fs-h1-section: 44px;
  --lh-h1-section: 1.15;
  --ls-h1-section: -0.01em;
  --fw-h1-section: 600;

  --fs-h2: 28px;
  --lh-h2: 1.25;
  --ls-h2: 0;
  --fw-h2: 600;

  --fs-h3: 20px;
  --lh-h3: 1.35;
  --ls-h3: 0;
  --fw-h3: 500;

  --fs-body: 17px;
  --lh-body: 1.6;
  --ls-body: 0;
  --fw-body: 400;

  --fs-body-small: 15px;
  --lh-body-small: 1.55;
  --ls-body-small: 0;
  --fw-body-small: 400;

  --fs-caption: 13px;
  --lh-caption: 1.4;
  --ls-caption: 0.08em;
  --fw-caption: 600;

  /* --- Border radius --- */
  --radius-0: 0px;
  --radius-1: 2px;
  --radius-2: 6px;
  --radius-3: 10px;

  /* --- Easing & durations --- */
  --ease-global: cubic-bezier(0.25, 0.1, 0.25, 1.0);
  --duration-hover: 250ms;
  --duration-header: 300ms;
}

/* --- Mobile typography --- */
@media (max-width: 768px) {
  :root {
    --fs-display: 36px;
    --lh-display: 1.12;

    --fs-h1: 40px;
    --lh-h1: 1.12;

    --fs-h1-section: 30px;
    --lh-h1-section: 1.18;

    --fs-h2: 22px;
    --lh-h2: 1.28;

    --fs-h3: 18px;
    --lh-h3: 1.35;

    --fs-body: 16px;
    --lh-body: 1.6;

    --fs-body-small: 14px;
    --lh-body-small: 1.55;

    --fs-caption: 12px;
    --ls-caption: 0.08em;
  }
}

/* --- Dark theme override --- */
[data-theme="dark"] {
  --bg-canvas: var(--neutral-950);
  --bg-surface: var(--neutral-900);
  --bg-surface-elevated: var(--neutral-800);
  --bg-surface-muted: var(--neutral-800);
  --border-subtle: var(--neutral-800);
  --border-default: var(--neutral-700);
  --border-strong: var(--neutral-600);
  --text-primary: var(--neutral-50);
  --text-secondary: var(--neutral-200);
  --text-tertiary: var(--neutral-400);
  --text-on-accent: var(--neutral-0);
  --action-primary: var(--violet-500);
  --action-primary-hover: var(--violet-400);
  --action-primary-pressed: var(--violet-600);
  --action-primary-text: var(--neutral-0);
  --link-default: var(--violet-300);
  --link-hover: var(--violet-200);
  --focus-ring: rgba(164, 139, 255, 0.35);

  --helper-bg: var(--neutral-800);
  --helper-border: var(--neutral-700);
  --helper-text: var(--neutral-200);
}

/* --- Base typography --- */
body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* --- Sections --- */
.section {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
}

/* --- Language visibility --- */
[data-lang="en"] [data-lang="it"],
[data-lang="it"] [data-lang="en"] {
  display: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: var(--fs-caption);
  font-weight: var(--fw-caption);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius-2);
  transition: background-color var(--duration-hover) var(--ease-global),
              border-color var(--duration-hover) var(--ease-global),
              color var(--duration-hover) var(--ease-global);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--action-primary);
  color: var(--action-primary-text);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--action-primary-hover);
}

.btn-primary:active {
  background-color: var(--action-primary-pressed);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  border-color: var(--violet-500);
  color: var(--violet-500);
}

@media (max-width: 768px) {
  .btn {
    padding: 14px 28px;
  }
}

/* ============================================
   SMART HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: transform var(--duration-header) var(--ease-global),
              background-color var(--duration-header) var(--ease-global);
}

.site-header.header--scrolled {
  background-color: rgba(11, 13, 16, 0.95);
}

.site-header.header--hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 48px;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 12px 24px;
  }
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 28px;
  width: auto;
}

/* Nav (desktop) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: var(--fs-caption);
  font-weight: var(--fw-caption);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);
  text-transform: uppercase;
  color: var(--neutral-50);
  transition: color var(--duration-hover) var(--ease-global);
}

.nav-link:hover {
  color: var(--violet-400);
}

/* Header right group */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--neutral-50);
  padding: 4px;
}

.lang-option {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-caption);
  text-transform: uppercase;
  color: #717B8A;
  font-weight: 400;
  cursor: pointer;
  transition: color var(--duration-hover) var(--ease-global),
              font-weight var(--duration-hover) var(--ease-global);
}

.lang-option.active {
  color: #FFFFFF;
  font-weight: 600;
}

.lang-separator {
  font-size: var(--fs-caption);
  opacity: 0.4;
}

/* Desktop CTA */
.header-cta-desktop {
  font-size: var(--fs-caption);
}

/* Mobile calendar CTA */
.header-cta-mobile {
  display: none;
  padding: 8px 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--neutral-50);
  transition: transform var(--duration-hover) var(--ease-global),
              opacity var(--duration-hover) var(--ease-global);
}

/* Hamburger open state */
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 24px;
  background-color: var(--neutral-900);
  border-radius: 0 0 var(--radius-3) var(--radius-3);
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

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

.mobile-menu-cta {
  width: 100%;
  text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-cta-desktop {
    display: none;
  }

  .header-cta-mobile {
    display: inline-flex;
  }

  .hamburger {
    display: flex;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-headline {
  font-family: var(--font-primary);
  font-size: var(--fs-h1);
  font-weight: var(--fw-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  color: var(--neutral-0);
  opacity: 0;
  animation: heroFadeIn 400ms var(--ease-global) 200ms forwards;
}

.hero-subline {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-body);
  color: var(--neutral-200);
  margin-top: 16px;
  opacity: 0;
  animation: heroFadeIn 400ms var(--ease-global) 350ms forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: opacity var(--duration-hover) var(--ease-global);
}

.scroll-cue.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 40px;
    line-height: 1.12;
  }

  .hero-subline {
    font-size: 16px;
  }

  .scroll-cue {
    bottom: 24px;
  }
}

/* ============================================
   SHARED TYPOGRAPHY CLASSES
   ============================================ */
.h1-section {
  font-family: var(--font-primary);
  font-size: var(--fs-h1-section);
  font-weight: var(--fw-h1-section);
  line-height: var(--lh-h1-section);
  letter-spacing: var(--ls-h1-section);
  color: var(--text-primary);
}

.body-small {
  font-size: var(--fs-body-small);
  line-height: var(--lh-body-small);
  color: var(--text-secondary);
}

.tertiary-link {
  color: var(--link-default);
  text-decoration: underline;
  transition: color var(--duration-hover) var(--ease-global);
}

.violet-underline {
  text-decoration: underline;
  text-decoration-color: #7A4DFF;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.tertiary-link:hover {
  color: var(--link-hover);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement — hidden state applied by JS)
   ============================================ */
.scroll-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SELECTED WORK
   ============================================ */
.selected-work-container {
  padding-top: 78px;
  padding-bottom: 0;
  text-align: center;
}

.selected-work-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 24px;
}

.selected-work-poster {
  position: relative;
  display: inline-block;
  width: 36%;
  border-radius: 0;
  overflow: hidden;
}

.selected-work-poster img {
  width: 100%;
  height: calc(100% + 40px);
  display: block;
  border-radius: 0;
  object-fit: cover;
}

.poster-overlay {
  display: none;
}

.poster-btn {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--neutral-0);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  letter-spacing: 0.12em;
  padding: 12px 36px;
}

.poster-btn:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--neutral-0);
}

.selected-work-caption {
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.selected-work-divider {
  border: none;
  border-top: 1px solid rgba(209, 213, 219, 0.3);
  margin-top: 78px;
  margin-bottom: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .selected-work-container {
    padding-top: 48px;
    padding-bottom: 0;
  }

  .selected-work-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .selected-work-poster {
    width: 70%;
  }
}

/* ============================================
   THE METHOD
   ============================================ */
.method-container {
  padding-top: 91px;
  padding-bottom: 140px;
}

.method-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--neutral-50);
  margin-bottom: 64px;
}

/* Fold 1 — two columns */
.method-fold1 {
  display: flex;
  gap: 96px;
  margin-bottom: 120px;
}

.method-left {
  flex: 0 0 58%;
}

.method-label {
  font-family: var(--font-primary);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  line-height: var(--lh-h3);
  color: var(--text-primary);
  margin-bottom: 32px;
}

.method-group {
  margin-bottom: 32px;
}

.method-group-label {
  font-family: var(--font-primary);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  line-height: var(--lh-h3);
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Thumbnail row — 3 images side by side */
.method-thumbs {
  display: flex;
  gap: 12px;
  max-width: 35%;
}

.method-thumb {
  flex: 1;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-2);
}

/* Pipeline */
.pipeline {
  display: flex;
  flex-direction: column;
}

.method-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 80px;
}

.pipeline-step {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.pipeline-num {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.pipeline-name {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--neutral-50);
}

.pipeline-micro {
  margin-top: 40px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--neutral-200);
  text-align: left;
}

/* Fold 2 */
.method-fold2 {
  display: flex;
  gap: 0;
}

.method-fold2-card {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.method-fold2-card:first-child {
  flex: 0 0 58%;
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.method-fold2-card:last-child {
  padding-left: 48px;
}

.method-fold2-card-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--neutral-50);
  margin-bottom: 32px;
}

.method-fold2-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Left card — title + body items */
.method-fold2-item-title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--neutral-50);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.method-fold2-item-body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--neutral-200);
}

/* Right card — arrow items */
.method-fold2-check-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.method-fold2-check-icon {
  flex-shrink: 0;
  font-size: 16px;
  color: rgba(255,255,255,0.4);
}

.method-fold2-check-text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--neutral-200);
}

@media (max-width: 768px) {
  .method-container {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .method-title {
    margin-bottom: 40px;
  }

  .method-fold1 {
    flex-direction: column;
    gap: 48px;
    margin-bottom: 80px;
  }

  .method-left {
    flex: none;
  }

  .method-thumbs {
    max-width: 100%;
  }

  .method-thumb {
    min-width: 0;
  }

  .method-right {
    margin-top: 0;
  }

  .method-fold2 {
    flex-direction: column;
    gap: 0;
  }

  .method-fold2-card:first-child {
    padding-right: 0;
    border-right: none;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .method-fold2-card:last-child {
    padding-left: 0;
    padding-top: 32px;
  }
}

.fornot-faq-divider {
  border: none;
  border-top: 1px solid rgba(209, 213, 219, 0.3);
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
}

/* ============================================
   WHY US
   ============================================ */
.why-us-container {
  padding-top: 91px;
  padding-bottom: 140px;
}

.why-us-headline {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.why-us-body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
  margin-bottom: 80px;
  max-width: 640px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.benefit-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 80px;
}

.benefit-card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  padding-top: 32px;
  border-top: 1px solid rgba(209, 213, 219, 0.4);
}

.benefit-card-title {
  font-family: var(--font-primary);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.benefit-card-body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

.why-us-closing {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
  max-width: 720px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

@media (max-width: 768px) {
  .why-us-container {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .why-us-body {
    margin-bottom: 48px;
  }

  .benefit-cards {
    margin-bottom: 48px;
  }
}

/* ============================================
   SIGNALS STRIP
   ============================================ */
#signals-strip {
  padding: 80px 0;
}

.signals-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.signals-word {
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.signals-divider {
  width: 1px;
  height: 36px;
  background-color: var(--neutral-600);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  #signals-strip {
    padding: 64px 0;
  }

  .signals-strip-inner {
    flex-direction: column;
    gap: 24px;
  }

  .signals-word {
    font-size: 32px;
  }

  .signals-divider {
    display: none;
  }
}

/* ============================================
   FOR / NOT FOR
   ============================================ */
.fornot-container {
  padding-top: 120px;
  padding-bottom: 120px;
}

.fornot-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.fornot-card {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

.fornot-card--for {
  padding-right: 48px;
  border-right: 1px solid rgba(209, 213, 219, 0.3);
}

.fornot-card--not {
  padding-left: 48px;
}

.fornot-card-title {
  font-family: var(--font-primary);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-h3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.fornot-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fornot-list li {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}

.fornot-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .fornot-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .fornot-cards {
    grid-template-columns: 1fr;
  }

  .fornot-card--for {
    padding-right: 0;
    border-right: none;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(209, 213, 219, 0.3);
  }

  .fornot-card--not {
    padding-left: 0;
    padding-top: 32px;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq-container {
  padding-top: 120px;
  padding-bottom: 120px;
}

.faq-title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.faq-item {
  border-top: 1px solid var(--neutral-200);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--neutral-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
}

.faq-item.active .faq-question {
  font-weight: 600;
}

.faq-question-text {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 200ms var(--ease-global);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms var(--ease-global);
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: var(--fs-body-small);
  line-height: var(--lh-body-small);
  color: var(--text-secondary);
}

.faq-closing {
  margin-top: 48px;
  font-size: var(--fs-body-small);
  line-height: var(--lh-body-small);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .faq-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .faq-title {
    margin-bottom: 32px;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact-container {
  padding-top: 120px;
  padding-bottom: 120px;
}

.contact-layout {
  display: flex;
  align-items: center;
  gap: 64px;
}

.contact-left {
  flex: 0 0 55%;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--neutral-50);
  margin-bottom: 24px;
  text-align: left;
}

.contact-body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--neutral-400);
  max-width: 480px;
  text-align: left;
}

.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.contact-btn {
  min-width: 240px;
  text-align: center;
}

.contact-link {
  font-size: var(--fs-body);
}

/* Dark theme tertiary link */
[data-theme="dark"] .tertiary-link {
  color: var(--link-default);
}

[data-theme="dark"] .tertiary-link:hover {
  color: var(--link-hover);
}

@media (max-width: 768px) {
  .contact-container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .contact-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .contact-left {
    flex: none;
    width: 100%;
  }

  .contact-right {
    width: 100%;
  }
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background-color: var(--neutral-950);
  color: var(--neutral-50);
  padding: 64px 0 48px;
  border-top: 1px solid var(--neutral-800);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer-nav {
  align-items: center;
}

.footer-legal {
  align-items: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--neutral-50);
}

.footer-brandmark {
  height: 40px;
  width: 37px;
}

.footer-nav-link {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: #A3ACB9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--duration-hover) var(--ease-global);
}

.footer-nav-link:hover {
  color: #FFFFFF;
}

.footer-legal {
  font-size: var(--fs-body-small);
  color: var(--neutral-500);
}

@media (max-width: 768px) {
  .footer-nav {
    display: none;
  }

  #footer {
    padding: 48px 0 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-identity { order: 1; text-align: center; align-items: center; }
  .footer-nav { order: 2; text-align: center; }
  .footer-legal { order: 3; text-align: center; align-items: center; }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ============================================
   CASE VIEWER OVERLAY
   ============================================ */

/* Body scroll lock when overlay open */
body.overlay-open {
  overflow: hidden;
}

/* Overlay wrapper */
.case-viewer-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.case-viewer-overlay.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

/* Backdrop */
.case-viewer-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 13, 16, 0.6);
  opacity: 0;
  transition: opacity 300ms var(--ease-global);
}

.case-viewer-overlay.active .case-viewer-backdrop {
  opacity: 1;
}

/* Panel */
.case-viewer-panel {
  position: absolute;
  inset: 0;
  background-color: #0B0D10;
  transform: translateY(100%);
  transition: transform 400ms var(--ease-global);
  display: flex;
  flex-direction: column;
}

.case-viewer-overlay.active .case-viewer-panel {
  transform: translateY(0);
}

/* Scrollable container */
.case-viewer-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Minibar --- */
.case-minibar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background-color: #0B0D10;
  border-bottom: 1px solid var(--neutral-800);
}

.case-minibar-close {
  color: var(--neutral-50);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-hover) var(--ease-global);
}

.case-minibar-close:hover {
  color: var(--violet-400);
}

.case-minibar-label {
  font-family: var(--font-primary);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  color: var(--neutral-50);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: var(--fs-caption);
  font-weight: var(--fw-caption);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-caption);
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--radius-2);
  color: var(--neutral-50);
  border: 1px solid var(--neutral-600);
  background: transparent;
  transition: border-color var(--duration-hover) var(--ease-global),
              color var(--duration-hover) var(--ease-global);
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--violet-400);
  color: var(--violet-400);
}

@media (max-width: 768px) {
  .case-minibar {
    padding: 12px 24px;
  }

  .case-minibar-label {
    font-size: var(--fs-body);
  }

  .case-minibar-cta {
    font-size: 11px;
    padding: 8px 16px;
  }
}

/* --- FOLD 1 — Brand DNA --- */
.case-fold-1 {
  padding-top: 120px;
  padding-bottom: 0;
  text-align: center;
}

.case-fold1-title {
  font-family: var(--font-primary);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  color: var(--neutral-50);
  margin-bottom: 40px;
}

.case-fold1-copy {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--neutral-200);
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 768px) {
  .case-fold-1 {
    padding-top: 80px;
  }
}

/* --- FOLD 2 — Zig-zag phases --- */
.case-fold-2 {
  padding-top: 140px;
}

.case-phase {
  display: flex;
  align-items: flex-start;
  gap: 5%;
  margin-bottom: 140px;
}

.case-phase:last-child {
  margin-bottom: 0;
}

.case-phase-text {
  flex: 0 0 40%;
}

.case-phase-images {
  flex: 0 0 55%;
}

/* Text-left: text first, images second (default flex order) */
/* Text-right: images first, text second */
.case-phase--text-right {
  flex-direction: row;
}

.case-phase--text-right .case-phase-images {
  order: -1;
}

/* Phase label */
.case-phase-label {
  font-family: var(--font-primary);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  line-height: var(--lh-h3);
  color: var(--neutral-50);
  margin-bottom: 24px;
}

/* Phase copy */
.case-phase-copy {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--neutral-200);
}

/* Duo images — side by side with vertical offset */
.case-phase-images--duo {
  display: flex;
  gap: 14px;
}

.case-phase-img {
  flex: 1;
}

.case-phase-img img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* Vertical misalignment: near image shifted up */
.case-phase-img--near {
  margin-top: -40px;
}

.case-phase-img--far {
  margin-top: 0;
}

/* Single image — centered */
.case-phase-images--single {
  display: flex;
  justify-content: center;
}

.case-phase-images--single .case-phase-img {
  flex: 0 0 65%;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .case-fold-2 {
    padding-top: 80px;
  }

  .case-phase {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 100px;
  }

  .case-phase-text {
    flex: none;
    width: 100%;
  }

  .case-phase-images {
    flex: none;
    width: 100%;
  }

  .case-phase--text-right .case-phase-images {
    order: 0;
  }

  /* On mobile, text always comes first */
  .case-phase--text-right .case-phase-text {
    order: -1;
  }

  .case-phase-img--near {
    margin-top: 0;
  }

  .case-phase-images--single .case-phase-img {
    flex: 0 0 80%;
  }
}

/* --- FOLD 3 — Video --- */
.case-fold-3 {
  padding-top: 140px;
  padding-bottom: 120px;
}

.case-video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-video-label {
  font-family: var(--font-primary);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  line-height: var(--lh-h3);
  color: var(--neutral-50);
  margin-bottom: 40px;
  text-align: center;
}

.case-video-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.case-video {
  max-height: 75vh;
  width: auto;
  border-radius: 0;
  display: block;
}

/* Audio toggle */
.case-video-audio-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 13, 16, 0.6);
  border-radius: var(--radius-2);
  color: var(--neutral-50);
  transition: background var(--duration-hover) var(--ease-global);
}

.case-video-audio-toggle:hover {
  background: rgba(11, 13, 16, 0.85);
}

/* Show/hide muted/unmuted icons */
.case-video-audio-toggle .icon-unmuted {
  display: none;
}

.case-video-audio-toggle.unmuted .icon-muted {
  display: none;
}

.case-video-audio-toggle.unmuted .icon-unmuted {
  display: block;
}

.case-video-callout {
  margin-top: 40px;
  text-align: center;
  color: var(--neutral-400);
}

/* Dark theme links inside overlay */
.case-video-callout .tertiary-link {
  color: var(--violet-300);
}

.case-video-callout .tertiary-link:hover {
  color: var(--violet-200);
}

@media (max-width: 768px) {
  .case-fold-3 {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .case-video {
    max-height: none;
    width: 100%;
  }

  .case-video-audio-toggle {
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

