/* ============================================================
   VYON — Home page
   ============================================================ */

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(4, 6, 14, 0.1) 0%, rgba(4, 6, 14, 0.55) 100%),
    linear-gradient(180deg, rgba(4, 6, 14, 0.5) 0%, rgba(4, 6, 14, 0.12) 32%, rgba(4, 6, 14, 0.2) 68%, var(--midnight) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-eyebrow { opacity: 0; }

.hero-title {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(5.5rem, 22vw, 19rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  margin: 1rem 0 0.6rem -0.06em;
  color: var(--cream);
  display: flex;
  justify-content: center;
}
.hero-letter {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity, filter;
  text-shadow: 0 0 80px rgba(212, 175, 55, 0.25);
}

.hero-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.14em;
  color: var(--gold-warm);
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.8rem;
  opacity: 0;
}
.hero-actions .btn {
  width: min(100%, 310px);
  justify-content: center;
}

@media (max-width: 600px) {
  .hero-content { width: 100%; max-width: 100%; padding: 0 var(--pad); }
  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(4rem, 21vw, 5.8rem);
    letter-spacing: 0.055em;
    margin-left: -0.025em;
  }
  .hero-actions { gap: 0.8rem; margin-top: 2rem; }
  .hero-actions .btn { width: min(100%, 310px); justify-content: center; }
}

/* ---------- manifesto ---------- */

.manifesto {
  position: relative;
  padding: clamp(9rem, 24vh, 16rem) var(--pad);
  background:
    radial-gradient(ellipse 60% 45% at 50% 55%, rgba(16, 26, 63, 0.75) 0%, transparent 100%),
    var(--midnight);
}
.manifesto-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  line-height: 1.35;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}
.manifesto-text .vy-word { color: rgba(242, 234, 217, 0.14); transition: none; }

/* ---------- philosophy ---------- */

.philosophy {
  background: var(--midnight);
  overflow: hidden;
  padding: 0 0 0 var(--pad);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 0;
  align-items: stretch;
  min-height: min(72vh, 1000px);
  max-width: none;
  margin: 0;
}
.philosophy-copy {
  position: relative;
  z-index: 3;
  padding-right: clamp(1.5rem, 3.2vw, 4rem);
  padding-top: clamp(4rem, 9vh, 7rem);
  padding-bottom: clamp(4rem, 9vh, 7rem);
  align-self: center;
}
.philosophy-copy .display-lg { margin: 1.4rem 0 2rem; }
.philosophy-copy .display-lg {
  font-size: clamp(2.75rem, 4.7vw, 4.75rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
}
.philosophy-copy .serif-lead {
  max-width: 44ch;
  margin-bottom: 1.15rem;
  font-size: clamp(1.15rem, 1.75vw, 1.55rem);
  line-height: 1.48;
}
.philosophy-copy .body-dim {
  max-width: 54ch;
  margin-bottom: 0.9rem;
  font-size: clamp(0.82rem, 1.05vw, 0.96rem);
  line-height: 1.65;
}
.philosophy-copy .keep-together { white-space: nowrap; }

.philosophy-visual {
  position: relative;
  margin-left: clamp(-5rem, -5vw, -2rem);
  min-height: 100%;
}

.philosophy-film {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #05070f;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.72) 8%, #000 20%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.72) 8%, #000 20%);
}
.philosophy-film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  will-change: transform;
}
.philosophy-film-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--midnight) 0%, rgba(4,6,14,0.44) 11%, transparent 28%);
  pointer-events: none;
}

@media (max-width: 960px) {
  .philosophy { padding: 0; }
  .philosophy-grid { grid-template-columns: 1fr; min-height: 0; }
  .philosophy-copy {
    padding: clamp(6rem, 12vh, 9rem) var(--pad) 3.5rem;
  }
  .philosophy-visual {
    margin: 0;
    min-height: 0;
  }
  .philosophy-film {
    position: relative;
    aspect-ratio: 16 / 11;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .philosophy-film-shade { display: none; }
}

/* ---------- harmony of contrast (horizontal scroll) ---------- */

.contrast { position: relative; background: var(--midnight); }
.contrast-pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.contrast-head {
  padding: 0 var(--pad);
  margin-bottom: clamp(2rem, 5vh, 4rem);
}
.contrast-head .display-md { margin-top: 1rem; }

.contrast-track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0 var(--pad);
  will-change: transform;
  width: max-content;
}

@media (max-width: 600px) {
  .contrast-pin { padding-top: 5.4rem; padding-bottom: 2.5rem; }
  .contrast-head { margin-bottom: 1.5rem; }
  .contrast-panel {
    width: min(86vw, 410px);
    min-height: min(58vh, 510px);
    padding: 1.6rem;
  }
  .contrast-panel .display-md { font-size: clamp(2rem, 9vw, 2.7rem); }
  .contrast-panel .body-dim { font-size: 0.88rem; }
}

.contrast-panel {
  position: relative;
  width: min(78vw, 620px);
  min-height: min(52vh, 480px);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--hairline-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.2rem;
  overflow: hidden;
  transition: border-color 0.5s, transform 0.8s var(--ease);
  background: #060813;
}
.contrast-panel:hover { border-color: var(--hairline); transform: translateY(-4px); }
.contrast-panel[data-tint="nordic"] {
  --panel-image: url('../assets/img/contrast-nordics.webp');
  --panel-tint: rgba(8, 22, 38, 0.64);
}
.contrast-panel[data-tint="mediterranean"] {
  --panel-image: url('../assets/img/contrast-mediterranean.webp');
  --panel-tint: rgba(51, 35, 15, 0.58);
}
.contrast-panel[data-tint="middleeast"] {
  --panel-image: url('../assets/img/contrast-middle-east.webp');
  --panel-tint: rgba(44, 9, 16, 0.56);
  --panel-opacity: 0.78;
  --panel-saturation: 0.9;
  --panel-contrast: 1.02;
}
.contrast-panel::before,
.contrast-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contrast-panel::before {
  background-image: var(--panel-image);
  background-size: cover;
  background-position: center;
  opacity: var(--panel-opacity, 0.6);
  filter: saturate(var(--panel-saturation, 0.72)) contrast(var(--panel-contrast, 0.94));
  transform: scale(1.015);
  transition: transform 1.4s var(--ease), opacity 0.7s;
}
.contrast-panel::after {
  background:
    linear-gradient(90deg, var(--panel-tint) 0%, rgba(4,6,14,0.38) 56%, rgba(4,6,14,0.26) 100%),
    linear-gradient(180deg, rgba(4,6,14,0.06) 0%, rgba(4,6,14,0.44) 48%, rgba(4,6,14,0.96) 100%);
}
.contrast-panel:hover::before {
  transform: scale(1.05);
  opacity: 0.72;
}
.contrast-panel .panel-number {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: rgba(232, 198, 106, 0.46);
  text-shadow: 0 2px 26px rgba(4,6,14,0.55);
  z-index: 3;
}
.contrast-panel .display-md,
.contrast-panel .body-dim,
.contrast-panel .panel-key { position: relative; z-index: 3; }
.contrast-panel .body-dim {
  max-width: 44ch;
  color: rgba(242, 234, 217, 0.78);
  text-shadow: 0 2px 20px rgba(4,6,14,0.9);
}
.contrast-panel .panel-key {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- atelier interlude (pinned, scroll-scrubbed) ---------- */

.interlude {
  position: relative;
  height: 500vh; /* long pin: the film and its words complete before release */
}
.interlude-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.interlude-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.interlude-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 14, 0.18);
}
.interlude-caption {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 2rem max(var(--pad), calc((100vw - 980px) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.4;
  color: var(--cream);
  opacity: 0;
  text-shadow: 0 2px 16px rgba(4, 6, 14, 0.92), 0 10px 38px rgba(4, 6, 14, 0.72);
  pointer-events: none;
}

/* ---------- process ---------- */

.process { background: linear-gradient(180deg, var(--midnight), #070c22 50%, var(--midnight)); }
.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}
.process-sticky {
  position: sticky;
  top: 18vh;
}
.process-sticky .display-lg { margin: 1.4rem 0 1.8rem; }
.process-sticky .body-dim { max-width: 44ch; margin-bottom: 2.4rem; }

.process-steps { position: relative; padding-left: clamp(2.4rem, 4vw, 4rem); }
.process-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(212, 175, 55, 0.14);
}
.process-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--gold-warm));
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}

.process-step {
  padding: clamp(3rem, 8vh, 5.5rem) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.process-step:last-child { border-bottom: 0; }
.process-step .step-index {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.process-step .display-md { margin-bottom: 1rem; }
.process-step .body-dim { max-width: 52ch; }

@media (max-width: 960px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
}

/* ---------- Magnifigue feature ---------- */

.feature {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.feature-media {
  position: absolute;
  inset: 0;
}
.feature-media img {
  position: relative;
  top: -6%;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 30%;
}
.feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--midnight) 0%, transparent 30%, rgba(4, 6, 14, 0.35) 62%, rgba(4, 6, 14, 0.94) 100%);
}
.feature-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0 0 clamp(4rem, 10vh, 7rem);
  text-align: center;
}
.feature-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 9rem);
  line-height: 1;
  margin: 1.6rem 0 1.2rem;
  letter-spacing: 0.04em;
}
.feature-notes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 2.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-warm);
}
.feature-notes i { color: rgba(212, 175, 55, 0.5); font-style: normal; }
.feature-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* ---------- collection strip ---------- */

.strip-section { overflow: hidden; padding-left: 0; padding-right: 0; }
.strip { margin-top: clamp(3rem, 7vh, 5rem); }
.strip-track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  width: max-content;
  padding: 0 var(--pad);
  will-change: transform;
}
.strip-card {
  position: relative;
  width: clamp(240px, 30vw, 420px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  flex-shrink: 0;
}
.strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.8s;
  filter: saturate(0.92) brightness(0.92);
}
.strip-card:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.strip-card span {
  position: absolute;
  left: 1.4rem;
  bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 20px rgba(4, 6, 14, 0.9);
}
.strip-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 14, 0.72) 100%);
}
.strip-card span { z-index: 2; }

/* ---------- founders ---------- */

.founders {
  background:
    radial-gradient(ellipse 56% 25% at 50% 2%, rgba(212,175,55,0.07), transparent 70%),
    var(--midnight);
}
.founders-intro { max-width: 860px; margin-bottom: clamp(5rem, 11vh, 9rem); }
.founders-intro .display-lg { margin: 1.2rem 0 1.6rem; }
.founders-intro .serif-lead { color: var(--cream-dim); }
.founder-profiles { display: grid; gap: clamp(7rem, 15vh, 12rem); }
.founder-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline-soft);
}
.founder-erson {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
}
.founder-erson .founder-portrait { order: 2; }
.founder-erson .founder-copy { order: 1; }
.founder-portrait {
  position: sticky;
  top: 12vh;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #080b16;
  border: 1px solid var(--hairline-soft);
  box-shadow: 0 45px 100px -48px rgba(0,0,0,0.95);
}
.founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(4,6,14,0.7) 100%);
  pointer-events: none;
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) brightness(0.94);
}
.founder-erson .founder-portrait img { object-position: center 24%; }
.founder-portrait figcaption {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  bottom: 1.25rem;
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(242,234,217,0.68);
}
.founder-copy { position: relative; padding-top: clamp(1rem, 3vw, 3rem); }
.founder-copy .display-lg { margin: 1rem 0 1.8rem; }
.founder-copy .body-dim { margin-bottom: 1.35rem; max-width: 61ch; }
.founder-lead {
  max-width: 52ch;
  margin-bottom: 1.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.55;
  color: var(--cream);
}
.founder-statement {
  max-width: 52ch;
  margin-top: 2.3rem;
  padding-left: 1.4rem;
  border-left: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.55;
  color: var(--cream);
}
.founder-statement em { color: var(--gold-warm); }
.founders-convergence {
  max-width: 940px;
  margin-top: clamp(8rem, 16vh, 13rem);
  padding-top: clamp(4rem, 8vh, 7rem);
  border-top: 1px solid var(--hairline-soft);
}
.founders-convergence .serif-lead { max-width: 68ch; margin: 0 auto 2rem; color: var(--cream-dim); }
.founders-convergence .display-lg { color: var(--gold-warm); }
.founders-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--cream);
  margin-top: 2.5rem;
}

@media (max-width: 960px) {
  .founder-profile,
  .founder-erson { grid-template-columns: 1fr; gap: 2.8rem; }
  .founder-portrait { position: relative; top: auto; width: min(100%, 620px); }
  .founder-erson .founder-portrait,
  .founder-erson .founder-copy { order: initial; }
}

@media (max-width: 600px) {
  .founder-portrait { aspect-ratio: 4 / 5; }
  .founder-copy .display-lg { font-size: clamp(3rem, 15vw, 4.4rem); }
}
