/* THE EVORA - cinematic scroll hero (v2: centred house, clouds from the sides, mark revealed through the house) */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.evh {
  --evh-charcoal: #20201E;
  --evh-stone: #77736C;
  --evh-ivory: #F5F1EA;
  --evh-white: #FAF8F4;
  --evh-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --evh-sans: "Manrope", system-ui, sans-serif;
  --evh-gutter: clamp(20px, 4.2vw, 80px);
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #b7d3eb;
  color: var(--evh-charcoal);
  font-family: var(--evh-sans);
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
.evh *, .evh *::before, .evh *::after { box-sizing: border-box; }
.evh .evh__layer { position: absolute; pointer-events: none; will-change: transform, opacity; }

/* L1: sky. Colours sampled from the reference: cool blue overhead, warm peach glow low on the left */
.evh .evh__sky {
  inset: -4%;
  transform-origin: 50% 60%;
  background:
    radial-gradient(115% 72% at 6% 104%, var(--evh-glow, rgba(253, 207, 148, 0.96)) 0%, var(--evh-glow, rgba(253, 207, 148, 0.96)) 12%, var(--evh-glow-soft, rgba(242, 210, 192, 0.55)) 38%, rgba(233, 214, 214, 0) 70%),
    radial-gradient(70% 45% at 52% 104%, rgba(243, 206, 182, 0.55) 0%, rgba(243, 206, 182, 0) 72%),
    radial-gradient(60% 50% at 30% 52%, rgba(225, 221, 231, 0.55) 0%, rgba(225, 221, 231, 0) 70%),
    linear-gradient(180deg, var(--evh-sky-top, #98b9da) 0%, var(--evh-sky-upper, #b5d2eb) 30%, var(--evh-sky-mid, #d2e3f2) 58%, var(--evh-sky-low, #e8e3e6) 86%, var(--evh-sky-bottom, #eee0dc) 100%);
}
/* soft cloud texture in the sky */
.evh .evh__wisp { opacity: 0.4; }
.evh .evh__wisp img, .evh .evh__cloud img, .evh .evh__bank img, .evh .evh__bank-b img { display: block; width: 100%; height: auto; }
.evh .evh__wisp--a { width: 64vw; left: -26vw; top: -12%; }
.evh .evh__wisp--b { width: 26vw; right: -6vw; top: 4%; opacity: 0.3; }

/* L4: opening copy (sits BEHIND the house) */
.evh .evh__copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 17vh;
  top: 17svh;
  padding: 0 var(--evh-gutter);
  text-align: center;
  will-change: transform, opacity;
}
.evh .evh__title {
  margin: 0;
  font-family: var(--evh-serif);
  font-weight: 500;
  font-size: clamp(52px, 6.4vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--evh-charcoal);
  white-space: nowrap;
}
.evh .evh__sub {
  margin: clamp(14px, 2.2vh, 24px) 0 0;
  font-family: var(--evh-sans);
  font-weight: 500;
  font-size: clamp(15px, 1.15vw, 20px);
  line-height: 1.5;
  color: var(--evh-charcoal);
}
.evh .evh__sub span { color: var(--evh-stone); }
.evh .evh__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(18px, 3vh, 32px);
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--evh-charcoal);
  color: var(--evh-ivory);
  font-family: var(--evh-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: auto;
  transition: background-color 250ms ease;
}
.evh .evh__cta:hover { background: #2E2E2B; color: var(--evh-ivory); }
.evh .evh__cta-arrow { display: inline-block; transition: transform 300ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.evh .evh__cta:hover .evh__cta-arrow { transform: translateX(4px); }

/* House: centred, rises from below */
.evh .evh__house {
  z-index: 3;
  left: 50%;
  top: 0;
  width: 70vw;
  aspect-ratio: 1454 / 1082;
  transform-origin: 50% 0%;
}
.evh .evh__house img { display: block; width: 100%; height: 100%; object-fit: contain; }
.evh .evh__haze {
  z-index: 4;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, rgba(200, 222, 240, 0) 0%, rgba(214, 228, 242, 0.55) 45%, rgba(250, 248, 244, 0.85) 100%);
}

/* Mark: outline that draws, then the house shows through the letters */
.evh .evh__mark { z-index: 9; inset: 0; width: 100%; height: 100%; overflow: visible; }
.evh .evh__mark text {
  font-family: var(--evh-serif);
  font-weight: 700;
  text-transform: uppercase;
}
.evh .evh__mark-line text { fill: none; stroke: #FFFFFF; stroke-width: 1.3; stroke-linejoin: round; }
.evh .evh__mark-base { fill: #857A6F; }
/* Editor: a static, editable composition (no pin) unless animation preview is switched on */
.evh.evh--static .evh__mark { opacity: 0; }

/* Clouds that come in from the sides, and the cloud bank that rises */
.evh .evh__cloud { z-index: 7; }
.evh .evh__cloud { opacity: 0.94; }
.evh .evh__cloud img, .evh .evh__bank img, .evh .evh__bank-b img { filter: brightness(1.14) saturate(0.85); }
.evh .evh__mark-fill { filter: drop-shadow(0 10px 24px rgba(21, 21, 19, 0.12)); }
.evh .evh__cloud--l { width: 50vw; left: -24vw; top: 52%; }
.evh .evh__cloud--r { width: 34vw; right: -15vw; top: 26%; }
.evh .evh__bank { z-index: 8; width: 130vw; left: -15vw; top: 86%; }
.evh .evh__bank-b { z-index: 8; width: 110vw; left: -5vw; top: 104%; }
.evh .evh__fog {
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24%;
  background: linear-gradient(0deg, rgba(250, 248, 244, 0.92) 0%, rgba(247, 241, 236, 0.6) 45%, rgba(247, 241, 236, 0) 100%);
}
.evh .evh__veil {
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140%;
  background: linear-gradient(0deg, var(--evh-white) 0%, var(--evh-white) 58%, transparent 100%);
  transform: translate3d(0, 100%, 0);
}

/* Nav */
.evh .evh__nav {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(16px, 2.6vh, 28px) var(--evh-gutter);
  color: var(--evh-charcoal);
}
.evh .evh__brand {
  font-family: var(--evh-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.evh .evh__links { display: flex; gap: clamp(18px, 2.6vw, 40px); margin: 0; padding: 0; list-style: none; }
.evh .evh__links a {
  position: relative;
  font-family: var(--evh-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  padding: 6px 0;
}
.evh .evh__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.evh .evh__links a:hover::after, .evh .evh__links a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.evh a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* The section the hero hands over to */
.evh-next { background: #FAF8F4; min-height: 100vh; }

/* Laptop */
@media (max-width: 1366px) {
  .evh .evh__house { width: 74vw; }
}

/* Mobile: recomposed */
@media (max-width: 767px) {
  .evh { min-height: 520px; }
  .evh .evh__nav { padding: 16px 20px; gap: 12px; }
  .evh .evh__brand { font-size: 12px; letter-spacing: 0.2em; }
  .evh .evh__links { gap: 14px; }
  .evh .evh__links a { font-size: 10px; letter-spacing: 0.08em; }
  .evh .evh__copy { top: 14svh; padding: 0 20px; }
  .evh .evh__title { white-space: normal; font-size: clamp(44px, 12.6vw, 60px); line-height: 0.95; }
  .evh .evh__sub { font-size: 14px; }
  .evh .evh__house { width: 150vw; }
  .evh .evh__cloud--l { width: 110vw; left: -60vw; top: 70%; }
  .evh .evh__cloud--r { width: 80vw; right: -46vw; top: 56%; }
  .evh .evh__bank { width: 260vw; left: -80vw; top: 64%; }
  .evh .evh__fog { height: 38%; }
  .evh .evh__bank-b { width: 220vw; left: -60vw; top: 104%; }
  .evh .evh__wisp--a { width: 150vw; left: -70vw; top: -6%; }
  .evh .evh__wisp--b { width: 70vw; right: -30vw; top: 6%; }
}

@media (prefers-reduced-motion: reduce) {
  .evh .evh__links a::after, .evh .evh__cta-arrow { transition: none; }
}
