:root {
  --ev-story-dark: #0a0f0c;
  --ev-story-light: #f4f1eb;
  --ev-story-ink: #171817;
  --ev-story-muted: #cbcfc9;
  --ev-story-green: #9dff71;
  --ev-story-line: rgba(255, 255, 255, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ev-story-dark);
  color: #fff;
}

body,
button,
a {
  font-family: var(--ev-font-sans);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.ev-prototype-note {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(10, 15, 12, 0.82);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  backdrop-filter: blur(12px);
}

.ev-prototype-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100% - 48px, 1440px);
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.ev-prototype-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.ev-prototype-brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
}

.ev-prototype-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ev-prototype-lang {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ev-prototype-lang:hover {
  color: #fff !important;
}

.ev-prototype-hero {
  position: relative;
  display: flex;
  min-height: max(720px, 100svh);
  align-items: flex-end;
  overflow: hidden;
  background: var(--ev-story-dark);
}

.ev-prototype-hero__video,
.ev-story__scene > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-prototype-hero__video {
  object-position: center 42%;
}

.ev-prototype-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 7, 0.95) 0%, rgba(5, 9, 7, 0.72) 44%, rgba(5, 9, 7, 0.16) 78%),
    linear-gradient(0deg, rgba(5, 9, 7, 0.9) 0%, transparent 48%);
}

.ev-prototype-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  padding: 148px 0 92px;
}

.ev-prototype-eyebrow,
.ev-story__kicker {
  margin-bottom: 16px;
  color: var(--ev-story-green);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ev-prototype-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
  color: #fff;
  font-family: var(--ev-font-display);
  font-size: 76px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.ev-prototype-hero__lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  line-height: 1.45;
}

.ev-prototype-locations {
  display: grid;
  width: min(100%, 720px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ev-prototype-locations .ev-btn {
  width: 100%;
}

.ev-prototype-scroll {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1440px) / 2));
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.ev-story {
  position: relative;
  height: 440svh;
  background: var(--ev-story-dark);
}

.ev-story__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #050806;
}

.ev-story__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 520ms ease;
  pointer-events: none;
}

.ev-story__scene.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

.ev-story__scene > video {
  filter: saturate(0.88) contrast(1.04);
}

.ev-story__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 5, 0.96) 0%, rgba(3, 7, 5, 0.74) 40%, rgba(3, 7, 5, 0.12) 76%),
    linear-gradient(0deg, rgba(3, 7, 5, 0.7), transparent 55%);
}

.ev-story__chapter {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1440px) / 2));
  bottom: 13svh;
  width: min(650px, calc(100% - 48px));
}

.ev-story__chapter h2 {
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--ev-font-display);
  font-size: 92px;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

.ev-story__chapter > p:not(.ev-story__kicker) {
  max-width: 580px;
  margin-bottom: 28px;
  color: var(--ev-story-muted);
  font-size: 24px;
  line-height: 1.45;
}

.ev-story__progress {
  position: absolute;
  z-index: 10;
  right: max(24px, calc((100vw - 1440px) / 2));
  bottom: 44px;
  display: grid;
  width: min(360px, 32vw);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.ev-story__progress-track {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--ev-story-line);
}

.ev-story__progress-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: var(--ev-story-green);
  transition: width 280ms ease;
}

.ev-prototype-missions {
  padding: 112px max(24px, calc((100vw - 1440px) / 2));
  background: var(--ev-story-light);
  color: var(--ev-story-ink);
}

.ev-prototype-missions__intro {
  display: grid;
  margin-bottom: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  column-gap: 80px;
  align-items: end;
}

.ev-prototype-missions__intro .ev-prototype-eyebrow {
  grid-column: 1 / -1;
}

.ev-prototype-missions__intro h2,
.ev-prototype-close h2 {
  margin-bottom: 0;
  font-family: var(--ev-font-display);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.ev-prototype-missions__intro > p:last-child {
  margin-bottom: 4px;
  color: #5d625e;
  font-size: 18px;
  line-height: 1.55;
}

.ev-prototype-mission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ev-prototype-mission-card {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(23, 24, 23, 0.12);
  border-radius: 6px;
  background: #fff;
}

.ev-prototype-mission-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #07100b;
}

.ev-prototype-mission-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-prototype-mission-card__media::after {
  position: absolute;
  inset: 40% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(3, 8, 5, 0.78));
}

.ev-prototype-mission-card__media span {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7, 15, 10, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ev-prototype-mission-card__body {
  display: flex;
  padding: 24px;
  flex: 1;
  flex-direction: column;
}

.ev-prototype-mission-card h3 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.05;
}

.ev-prototype-mission-card p {
  margin-bottom: 24px;
  color: #5d625e;
  font-size: 16px;
  line-height: 1.5;
}

.ev-prototype-mission-card .ev-btn {
  width: 100%;
  margin-top: auto;
}

.ev-home-locations,
.ev-home-occasions,
.ev-home-why,
.ev-home-faq {
  padding: 112px max(24px, calc((100vw - 1440px) / 2));
}

.ev-home-locations,
.ev-home-why {
  background: #fff;
  color: var(--ev-story-ink);
}

.ev-home-occasions,
.ev-home-faq {
  background: var(--ev-story-light);
  color: var(--ev-story-ink);
}

.ev-home-section-head {
  display: grid;
  margin-bottom: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  column-gap: 80px;
  align-items: end;
}

.ev-home-section-head > div .ev-prototype-eyebrow {
  margin-bottom: 14px;
}

.ev-home-section-head h2 {
  margin: 0;
  font-family: var(--ev-font-display);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.ev-home-section-head > p {
  margin: 0 0 4px;
  color: #5d625e;
  font-size: 18px;
  line-height: 1.55;
}

.ev-home-location-grid,
.ev-home-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ev-home-location-card {
  display: flex;
  min-height: 300px;
  padding: 28px;
  flex-direction: column;
  border: 1px solid rgba(23, 24, 23, 0.14);
  border-radius: 6px;
  background: #f8f7f3;
}

.ev-home-location-card > p {
  margin-bottom: 24px;
  color: #377424;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.ev-home-location-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.1;
}

.ev-home-location-card > span {
  margin-bottom: 28px;
  color: #5d625e;
  font-size: 16px;
  line-height: 1.5;
}

.ev-home-location-card .ev-btn {
  width: 100%;
  margin-top: auto;
}

.ev-home-proof {
  display: grid;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  color: var(--ev-story-ink);
}

.ev-home-proof > div {
  display: flex;
  min-height: 150px;
  padding: 28px 30px;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(23, 24, 23, 0.14);
  border-right: 1px solid rgba(23, 24, 23, 0.14);
  border-bottom: 1px solid rgba(23, 24, 23, 0.14);
}

.ev-home-proof > div:first-child {
  border-left: 1px solid rgba(23, 24, 23, 0.14);
}

.ev-home-proof strong {
  margin-bottom: 8px;
  font-family: var(--ev-font-display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.ev-home-proof span {
  color: #5d625e;
  font-size: 14px;
  line-height: 1.35;
}

.ev-home-link-grid a {
  display: flex;
  min-height: 280px;
  padding: 28px;
  flex-direction: column;
  border: 1px solid rgba(23, 24, 23, 0.14);
  border-radius: 6px;
  background: #fff;
  color: var(--ev-story-ink) !important;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.ev-home-link-grid a:hover {
  border-color: #377424;
  transform: translateY(-3px);
}

.ev-home-link-grid small {
  margin-bottom: 28px;
  color: #377424;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ev-home-link-grid strong {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 1.25;
}

.ev-home-link-grid span {
  margin-top: auto;
  color: #377424;
  font-size: 14px;
  font-weight: 800;
}

.ev-home-why {
  background: var(--ev-story-dark);
  color: #fff;
}

.ev-home-why .ev-home-section-head > p {
  color: var(--ev-story-muted);
}

.ev-video-fullscreen {
  position: relative;
  width: min(100%, 1120px);
  aspect-ratio: 16 / 9;
  margin: 0 auto 32px;
  overflow: hidden;
  border: 1px solid var(--ev-story-line);
  border-radius: 6px;
  background: #000;
}

.ev-video-fullscreen__media,
.ev-video-fullscreen img,
.ev-video-fullscreen video {
  width: 100%;
  height: 100%;
}

.ev-video-fullscreen__media {
  position: absolute;
  inset: 0;
}

.ev-video-fullscreen img,
.ev-video-fullscreen video {
  display: block;
  object-fit: cover;
}

.ev-video-fullscreen__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 72px;
  height: 72px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(7, 15, 10, 0.78);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease;
}

.ev-video-fullscreen__play:hover,
.ev-video-fullscreen__play:focus-visible {
  background: #377424;
  transform: translate(-50%, -50%) scale(1.04);
}

.ev-video-fullscreen__play span {
  margin-left: 4px;
  font-size: 25px;
  line-height: 1;
}

.ev-home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ev-story-line);
  border-bottom: 1px solid var(--ev-story-line);
}

.ev-home-why-grid article {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--ev-story-line);
}

.ev-home-why-grid article:last-child {
  border-right: 0;
}

.ev-home-why-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--ev-story-green);
  font-size: 13px;
  font-weight: 800;
}

.ev-home-why-grid h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 28px;
}

.ev-home-why-grid p {
  margin: 0;
  color: var(--ev-story-muted);
  font-size: 16px;
  line-height: 1.55;
}

.ev-home-faq-list {
  border-top: 1px solid rgba(23, 24, 23, 0.2);
}

.ev-home-faq-list details {
  border-bottom: 1px solid rgba(23, 24, 23, 0.2);
}

.ev-home-faq-list summary {
  padding: 24px 44px 24px 0;
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
}

.ev-home-faq-list details p {
  max-width: 860px;
  padding: 0 0 26px;
  color: #5d625e;
  font-size: 17px;
  line-height: 1.6;
}

.ev-prototype-close {
  padding: 112px max(24px, calc((100vw - 1440px) / 2));
  border-top: 1px solid var(--ev-story-line);
  background: var(--ev-story-dark);
  color: #fff;
  text-align: center;
}

.ev-prototype-close h2 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.ev-prototype-close__lead {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--ev-story-muted);
  font-size: 18px;
  line-height: 1.55;
}

.ev-prototype-close__actions {
  display: flex;
  margin-top: 34px;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .ev-prototype-header {
    width: calc(100% - 32px);
    min-height: 68px;
  }

  .ev-page a.ev-prototype-header__cta {
    display: none;
  }

  .ev-prototype-brand {
    font-size: 18px;
  }

  .ev-prototype-hero {
    min-height: 100svh;
  }

  .ev-prototype-hero__shade {
    background:
      linear-gradient(0deg, rgba(5, 9, 7, 0.96) 0%, rgba(5, 9, 7, 0.68) 62%, rgba(5, 9, 7, 0.28) 100%);
  }

  .ev-prototype-hero__content {
    width: calc(100% - 32px);
    padding: 110px 0 52px;
  }

  .ev-prototype-hero h1 {
    font-size: 46px;
    line-height: 0.98;
  }

  .ev-prototype-hero__lead {
    font-size: 19px;
  }

  .ev-prototype-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ev-prototype-scroll {
    display: none;
  }

  .ev-story {
    height: auto;
  }

  .ev-story__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .ev-story__progress {
    display: none;
  }

  .ev-story__scene,
  .ev-story__scene.is-active {
    position: relative;
    min-height: 76svh;
    opacity: 1;
    pointer-events: auto;
  }

  .ev-story__veil {
    background: linear-gradient(0deg, rgba(3, 7, 5, 0.96) 0%, rgba(3, 7, 5, 0.52) 64%, rgba(3, 7, 5, 0.16) 100%);
  }

  .ev-story__chapter {
    left: 24px;
    bottom: 48px;
    width: calc(100% - 48px);
  }

  .ev-story__chapter h2 {
    font-size: 54px;
  }

  .ev-story__chapter > p:not(.ev-story__kicker) {
    font-size: 18px;
  }

  .ev-prototype-missions {
    padding: 76px 20px;
  }

  .ev-home-locations,
  .ev-home-occasions,
  .ev-home-why,
  .ev-home-faq {
    padding: 76px 20px;
  }

  .ev-prototype-missions__intro {
    display: block;
    margin-bottom: 30px;
  }

  .ev-prototype-missions__intro h2,
  .ev-home-section-head h2,
  .ev-prototype-close h2 {
    margin-bottom: 20px;
    font-size: 46px;
  }

  .ev-home-section-head {
    display: block;
    margin-bottom: 30px;
  }

  .ev-prototype-mission-grid {
    grid-template-columns: 1fr;
  }

  .ev-home-location-grid,
  .ev-home-link-grid,
  .ev-home-why-grid {
    grid-template-columns: 1fr;
  }

  .ev-prototype-mission-card {
    min-height: 0;
  }

  .ev-home-location-card,
  .ev-home-link-grid a {
    min-height: 0;
  }

  .ev-home-proof {
    padding: 0 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ev-home-proof > div {
    min-height: 130px;
    padding: 22px;
    border: 0;
    border-top: 1px solid rgba(23, 24, 23, 0.14);
    border-right: 1px solid rgba(23, 24, 23, 0.14);
  }

  .ev-home-proof > div:first-child {
    border-left: 1px solid rgba(23, 24, 23, 0.14);
  }

  .ev-home-proof > div:nth-child(3) {
    border-bottom: 1px solid rgba(23, 24, 23, 0.14);
    border-left: 1px solid rgba(23, 24, 23, 0.14);
  }

  .ev-home-proof > div:nth-child(4) {
    border-bottom: 1px solid rgba(23, 24, 23, 0.14);
  }

  .ev-home-proof strong {
    font-size: 32px;
  }

  .ev-home-why-grid article {
    min-height: 0;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--ev-story-line);
  }

  .ev-home-why-grid article:last-child {
    border-bottom: 0;
  }

  .ev-home-why-grid span {
    margin-bottom: 26px;
  }

  .ev-video-fullscreen {
    margin-bottom: 24px;
  }

  .ev-video-fullscreen__play {
    width: 60px;
    height: 60px;
  }

  .ev-home-faq-list summary {
    font-size: 19px;
  }

  .ev-prototype-close {
    padding: 76px 20px 100px;
  }

  .ev-prototype-close__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ev-prototype-note {
    right: 10px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ev-story {
    height: auto;
  }

  .ev-story__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .ev-story__progress {
    display: none;
  }

  .ev-story__scene,
  .ev-story__scene.is-active {
    position: relative;
    min-height: 76svh;
    opacity: 1;
  }
}

/* Production shell integration. */
.ev-page--home-story .ev-prototype-hero {
  min-height: calc(100svh - 72px);
}

.ev-page--home-story .ev-prototype-hero__content {
  padding-top: 72px;
}

@media (max-width: 820px) {
  .ev-page--home-story .ev-prototype-hero {
    min-height: calc(100svh - 66px);
  }

  .ev-page--home-story .ev-prototype-hero__content {
    padding-top: 56px;
  }
}
