@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600&display=swap");

/* Visual Threshold — cinematic scroll story.
   Geometry, transforms and choreography values are unchanged from the original
   rig; only palette, typography and edge treatment carry the eyewear theme.
   Scene-layer class names keep their original scaffold names so they stay in
   lockstep with the custom properties the engine writes:
     .back-four  -> chrome highlight layer      .bridge-img -> hero still
     .back-bazaar-> layout wall                 .frame-two-img -> macro reveal
     .story-panel-bridge -> frame beat          .story-panel-bazaar -> collection beat */

:root {
  --mx: 0;
  --my: 0;
  --back-opacity: 1;
  --back-x: 0px;
  --back-y: 0px;
  --back-scale: 0.76;
  --four-y: 10vh;
  --four-scale: 0.78;
  --bazaar-y: 20vh;
  --blur-px: 0px;
  --back-brightness: 1;
  --bazaar-blur-px: 0px;
  --bazaar-brightness: 1;
  --bazaar-saturation: 1;
  --shade-opacity: 1;
  --shade-z: 2;
  --shade-top-alpha: 0;
  --shade-mid-alpha: 0;
  --shade-bottom-alpha: 0;
  --blur-tint: 236, 234, 228;
  --title-y: 0px;
  --title-scale: 1;
  --title-opacity: 1;
  --bridge-x: -50%;
  --bridge-y: 0px;
  --bridge-bottom: 5vh;
  --bridge-width: 67.2vw;
  --bridge-scale: 1.02;
  --split-left-x: -50%;
  --split-left-y: 0px;
  --split-left-scale: 1;
  --split-right-x: -50%;
  --split-right-y: 0px;
  --split-right-scale: 1;
  --frame2-opacity: 0;
  --frame2-x: -50%;
  --frame2-y: -50%;
  --frame2-scale: 1.06;
  --intro-copy-y: 0px;
  --intro-copy-opacity: 1;
  --panel2-opacity: 0;
  --panel2-y: calc(-50% + 58px);
  --panel3-opacity: 0;
  --panel3-y: calc(-50% + 58px);
  --sights-opacity: 0;
  --sights-controls-opacity: 0;
  --sights-y: 0px;
  --sights-enter-x: 420vw;
  --sights-visibility: hidden;
  --sights-shift: 0px;
  --sights-scale: 1;
  --sights-top: clamp(112px, 19vh, 220px);
  --sights-screen-top: clamp(112px, 19vh, 220px);

  --ink: #101010;
  --paper: #eceae4;
  --card: #f7f5f0;
  --muted: rgba(16, 16, 16, 0.62);
  --line: rgba(16, 16, 16, 0.16);
  --shadow: rgba(0, 0, 0, 0.18);
  /* display face taken from the opac wordmark reference */
  --display: "Bodoni Moda", Didot, "Bodoni MT", "Times New Roman", serif;
  --ui: "Helvetica Neue", "Arial Nova", Arial, "Segoe UI", system-ui, sans-serif;

  font-family: Inter, Satoshi, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #e8e6e0;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: #e8e6e0;
}

button {
  border: 0;
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

/* ---------------------------------------------------------------- scroll rig */

.cinema-scroll {
  position: relative;
  height: calc(100vh + 3700px);
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #e8e6e0;
}

.world,
.back-stack,
.sky-img,
.shade,
.scene-img,
.site-header,
.sights-slider,
.sights-controls,
.hero-title,
.story-panel {
  position: absolute;
}

.world {
  inset: 0;
  overflow: hidden;
  background: #eae8e2;
}

/* ------------------------------------------------------------------- header */

.site-header {
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 18px 32px;
  color: rgba(16, 16, 16, 0.82);
  /* a real bar, so the links stay legible across the bone and dark-macro beats */
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  pointer-events: auto;
}

.site-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.site-mark {
  display: block;
  width: 44px;
  height: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.2vw, 44px);
}

.site-nav a,
.language-switcher {
  color: rgba(16, 16, 16, 0.72);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: none;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.language-switcher:hover {
  color: var(--ink);
}

.language-switcher {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.language-switcher span {
  display: inline-flex;
  line-height: 1;
}

/* ------------------------------------------------------------- scene images */

.scene-img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity, filter;
  pointer-events: none;
}

.sky-img {
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  filter: blur(var(--blur-px)) brightness(var(--back-brightness));
}

.back-stack {
  z-index: 1;
  top: 0;
  right: -3vw;
  bottom: 0;
  left: -3vw;
  opacity: var(--back-opacity);
  transform: translate3d(var(--back-x), var(--back-y), 0) scale(var(--back-scale));
  transform-origin: 50% 100%;
  will-change: transform, filter, opacity;
}

.back-img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(var(--blur-px)) brightness(var(--back-brightness));
}

.back-bazaar,
.back-four {
  top: auto;
  right: auto;
  bottom: 0;
  left: 48%;
  width: 112%;
  height: auto;
  object-fit: contain;
}

.back-bazaar {
  z-index: 3;
  opacity: 1;
  filter: blur(var(--bazaar-blur-px)) brightness(var(--bazaar-brightness))
    saturate(var(--bazaar-saturation));
  transform: translate3d(-50%, var(--bazaar-y), 0) scale(0.86);
}

.back-four {
  z-index: 1;
  opacity: 0.72;
  mix-blend-mode: screen;
  transform: translate3d(-50%, calc(var(--four-y) - 110px), 0) scale(var(--four-scale));
}

/* ------------------------------------------------------------ frames slider */

.sights-slider {
  z-index: 2;
  top: var(--sights-top);
  right: 0;
  left: 0;
  padding: 0;
  opacity: 1;
  visibility: var(--sights-visibility);
  transform: translate3d(var(--sights-enter-x), var(--sights-y), 0) scale(var(--sights-scale));
  transform-origin: 0 0;
  pointer-events: auto;
  will-change: transform;
}

.sights-track {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 1.15vw, 24px);
  transform: translate3d(calc(var(--sights-shift) - 18vw), 0, 0);
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sights-track.is-jumping {
  transition: none;
}

.sight-card {
  position: relative;
  flex: 0 0 clamp(360px, 19.4vw, 430px);
  height: 220px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 18px 52px rgba(16, 16, 16, 0.1);
  backdrop-filter: none;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
}

.sight-card::before,
.sight-card::after {
  content: none;
}

.sight-card:focus-visible,
.sight-card.is-active {
  outline: none;
}

.sight-kicker,
.sight-card h3,
.sight-card p {
  position: relative;
  z-index: 1;
  text-shadow: none;
}

.sight-kicker {
  display: block;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sight-pin {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 67.2px;
  height: 67.2px;
  border-radius: 2px;
  object-fit: cover;
  pointer-events: none;
}

.sight-card h3 {
  position: absolute;
  right: 24px;
  bottom: calc(24px + (16px * 1.16 * 2) + 12px);
  left: 24px;
  max-width: calc(100% - 76px);
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 24px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sight-card p {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: -webkit-box;
  max-width: 100%;
  max-height: calc(2em * 1.16);
  margin: 12px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ---------------------------------------------------------- slider controls */

.sights-controls {
  z-index: 5;
  top: calc(var(--sights-screen-top) + 220px + 16px);
  right: auto;
  left: 48px;
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  opacity: var(--sights-controls-opacity);
  transform: translate3d(0, var(--sights-y), 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.sights-controls.is-ready {
  pointer-events: auto;
}

.sight-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: rgba(247, 245, 240, 0.94);
  box-shadow: 0 18px 36px rgba(16, 16, 16, 0.12);
  cursor: pointer;
}

/* --------------------------------------------------------------- hero title */

.hero-title {
  /* above .bridge-img (4): the hero is an opaque photo, not a cutout, so on
     short viewports it would otherwise paint straight over the wordmark */
  z-index: 5;
  top: clamp(175px, 19vh, 205px);
  left: 50%;
  width: min(94vw, 1780px);
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 14rem;
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: 0.005em;
  text-align: center;
  text-shadow: 0 2px 22px rgba(236, 234, 228, 0.55);
  opacity: var(--title-opacity);
  transform: translate3d(-50%, var(--title-y), 0) scale(var(--title-scale));
  will-change: transform, opacity;
}

/* ------------------------------------------------------- hero / splitframes */

.bridge-img {
  z-index: 4;
  bottom: var(--bridge-bottom);
  left: 50%;
  width: min(var(--bridge-width), 2140px);
  height: auto;
  border: 1px solid rgba(16, 16, 16, 0.14);
  transform: translate3d(var(--bridge-x), var(--bridge-y), 0) scale(var(--bridge-scale));
  transform-origin: 50% 48%;
}

.splitframe-img {
  z-index: 6;
  bottom: -2vh;
  left: 50%;
  width: min(118vw, 2240px);
  height: auto;
  pointer-events: none;
}

.splitframe-left {
  transform: translate3d(var(--split-left-x), var(--split-left-y), 0) scale(var(--split-left-scale));
  transform-origin: 21% 52%;
}

.splitframe-right {
  transform: translate3d(var(--split-right-x), var(--split-right-y), 0)
    scale(var(--split-right-scale));
  transform-origin: 79% 52%;
}

.frame-two-img {
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(122vw, 2160px);
  height: auto;
  filter: none !important;
  backdrop-filter: none;
  opacity: var(--frame2-opacity);
  transform: translate3d(var(--frame2-x), var(--frame2-y), 0) scale(var(--frame2-scale));
  transform-origin: 50% 48%;
}

/* -------------------------------------------------------------------- shade */

.shade {
  z-index: var(--shade-z);
  inset: 0;
  opacity: var(--shade-opacity);
  background: linear-gradient(
    180deg,
    rgba(var(--blur-tint), var(--shade-top-alpha)) 0%,
    rgba(var(--blur-tint), var(--shade-mid-alpha)) 48%,
    rgba(var(--blur-tint), var(--shade-bottom-alpha)) 100%
  );
  pointer-events: none;
}

/* --------------------------------------------------------------- intro copy */





/* -------------------------------------------------------------- story panels */

.story-panel {
  z-index: 10;
  top: 45%;
  left: 50%;
  width: min(760px, calc(100vw - 42px));
  text-align: center;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.story-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 4.75rem;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 16px rgba(236, 234, 228, 0.72);
}

.story-panel p {
  width: min(520px, 100%);
  margin: 26px auto 0;
  color: rgba(16, 16, 16, 0.78);
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.18;
  text-shadow: 0 1px 12px rgba(236, 234, 228, 0.9), 0 0 4px rgba(236, 234, 228, 0.8);
}

.story-panel-bridge {
  top: 60%;
  opacity: var(--panel2-opacity);
  transform: translate3d(-50%, var(--panel2-y), 0);
}

/* the frame beat plays over the dark macro reveal, so this panel inverts */
.story-panel-bridge h2,
.story-panel-bridge .facts dt {
  color: var(--paper);
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.58);
}

.story-panel-bridge p,
.story-panel-bridge .facts dd {
  color: rgba(236, 234, 228, 0.88);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

.story-panel-bazaar {
  top: 29%;
  opacity: var(--panel3-opacity);
  transform: translate3d(-50%, var(--panel3-y), 0);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 86px;
  width: min(470px, 100%);
  margin: 72px auto 0;
}

.facts dt {
  color: var(--ink);
  font-family: var(--display);
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-shadow: none;
}

.facts dd {
  margin: 18px 0 0;
  color: rgba(16, 16, 16, 0.66);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.14;
  text-shadow: none;
}

.note-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  margin-top: 28px;
  padding: 0 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: rgba(247, 245, 240, 0.92);
  box-shadow: 0 16px 34px rgba(16, 16, 16, 0.1);
  pointer-events: auto;
  cursor: pointer;
}

.note-button span:first-child {
  font-size: 1.25rem;
  line-height: 1;
}

/* ----------------------------------------------------------- media queries */

@media (max-width: 1500px) {
  .hero-title {
    top: clamp(157px, 19vh, 205px);
    font-size: 11rem;
  }

  .story-panel h2 {
    font-size: 4.1rem;
  }
}

@media (max-width: 1100px) {
  .hero-title {
    top: max(15vh, 136px);
    font-size: 7.5rem;
  }

  .bridge-img {
    width: 138vw;
  }

  .frame-two-img {
    width: 132vw;
  }

  .story-panel h2 {
    font-size: 3.2rem;
  }

  .facts {
    gap: 34px;
    margin-top: 44px;
  }

  .facts dt {
    font-size: 3.2rem;
  }

  .sight-card {
    flex-basis: clamp(320px, 40vw, 390px);
    min-height: 178px;
  }
}

@media (max-width: 640px) {
  .stage {
    min-height: 640px;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 16px;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav a {
    font-size: 10px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .site-mark {
    width: 34px;
    height: 34px;
  }

  .language-switcher {
    font-size: 11px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-title {
    top: max(16vh, 96px);
    font-size: 4.5rem;
  }

  .bridge-img {
    bottom: 2vh;
    width: 190vw;
  }

  .frame-two-img {
    width: 176vw;
  }

  .story-panel p {
    font-size: 1rem;
  }

  .story-panel {
    top: 42%;
  }

  .story-panel-bazaar {
    top: 26%;
  }

  .story-panel h2 {
    font-size: 2.45rem;
  }

  .facts {
    gap: 18px;
    margin-top: 34px;
  }

  .facts dt {
    font-size: 2.5rem;
  }

  .sights-slider {
    padding: 0;
  }

  .sights-track {
    gap: 12px;
    transform: translate3d(calc(var(--sights-shift) - 18vw), 0, 0);
  }

  .sight-card {
    flex-basis: min(82vw, 330px);
    height: 220px;
    padding: 24px;
    border-radius: 2px;
  }

  .sights-controls {
    top: calc(var(--sights-screen-top) + 236px);
  }

  .sight-card h3 {
    max-width: 78%;
  }

  .sight-card p {
    max-width: 100%;
    margin-top: 10px;
  }

  .sight-kicker {
    margin-bottom: 56px;
  }

  .sight-pin {
    top: 24px;
    right: 24px;
    width: 57.6px;
    height: 57.6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scene-img,
  .back-stack,
  .hero-title,
  .story-panel,
  .sights-track,
  .sights-slider {
    transition: none;
  }
}
