/* Everlit, the site's shared dress (2026-11-06): the landing page's faces, colours, header bar and footer, for the pages
   beside it (/partners, /family-video). The landing page itself carries its own copy inline. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/Fraunces-var.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('/fonts/Fraunces-var-Italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/InstrumentSans-var.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('/fonts/InstrumentSans-var-Italic.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --gold: #D4A976; --gold-warm: #C49A6C; --gold-deep: #A6794A;
  --ink: #1A1613; --cream: #F5F0EB; --dark: rgb(25, 20, 19); --dark-warm: rgb(32, 26, 24);
  --soft: rgba(245, 240, 235, .78); --faint: rgba(245, 240, 235, .6); --hair: rgba(245, 240, 235, .14);
  --disp: 'Fraunces', 'Playfair Display', Georgia, serif;
  --text: 'Instrument Sans', -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(18px, 3vw, 44px);
}

html { background: var(--dark); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body.ev { margin: 0; color: var(--cream); font-family: var(--text); font-size: clamp(17px, .35vw + 14px, 19px); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; background: var(--dark); }
/* The valley, still, behind the whole page: the landing's own picture, held dark enough to read on. */
.ev-valley { position: fixed; inset: 0; z-index: -1; background: #191413 url('/landing-new/valley-still.jpg?v=5') center 40% / cover no-repeat; }
.ev-valley::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 20, 19, .55) 0%, rgba(25, 20, 19, .62) 40%, rgba(25, 20, 19, .8) 100%); }
.ev h1, .ev h2, .ev h3, .ev .serif { font-family: var(--disp); font-weight: 300; font-variation-settings: 'SOFT' 60; letter-spacing: -.015em; line-height: 1.08; }
.ev h1 em, .ev h2 em, .ev h3 em { font-style: italic; font-weight: 300; color: var(--gold); }
.ev .over { font-family: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-warm); }

/* The bar: the landing page's folded bar, always folded here. */
.ev-top { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; justify-content: center; padding: 0 var(--gutter); }
.ev-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: 1080px; min-height: 56px; padding: 7px 26px; border: 1px solid rgba(212, 169, 118, .14); border-top: 0; border-radius: 0 0 20px 20px; background: rgba(10, 8, 7, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 32px rgba(0, 0, 0, .4); }
.ev-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--cream); font-family: var(--disp); font-size: 22px; font-weight: 500; font-variation-settings: 'SOFT' 60; letter-spacing: -.02em; }
.ev-brand img { width: 36px; height: 36px; margin: 0 -8px 0 -10px; }
.ev-top nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.ev-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 500; letter-spacing: .2px; }
.ev-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; color: rgba(245, 240, 235, .84); text-decoration: none; transition: color .2s ease; }
.ev-links a:hover { color: var(--cream); }
.ev-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; white-space: nowrap; border-radius: 999px; background: #D4A976; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1.5px #D4A976, 0 8px 18px rgba(0, 0, 0, .35); transition: background .15s ease, box-shadow .15s ease, transform .12s ease; }
.ev-pill:hover { background: #E1BA8C; box-shadow: inset 0 0 0 1.5px #E1BA8C, 0 8px 18px rgba(0, 0, 0, .35); }
.ev-pill:active { background: #C09664; transform: scale(.97); }
.ev-pill:focus-visible { outline: 2.5px solid #E7C49C; outline-offset: 2px; }
.ev-links { flex-wrap: nowrap; } .ev-links li { flex: none; }
@media (max-width: 720px) { .ev-links { display: none; } .ev-bar { padding: 7px 16px 7px 18px; } .ev-top { padding: 0 10px; } }

/* The foot: a hairline, the mark, three short lines. */
.ev-foot { position: relative; max-width: 980px; margin: 72px auto 0; padding: 34px var(--gutter) 40px; border-top: 1px solid var(--hair); text-align: center; color: var(--soft); font-size: 15px; }
.ev-foot .ev-mark { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); box-sizing: border-box; width: 48px; height: 48px; padding: 10px; margin: 0; border-radius: 50%; background: rgba(25, 20, 19, .96); border: 1px solid rgba(234, 217, 181, .3); }
.ev-foot p { margin: 0; }
.ev-foot .ev-flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; margin-top: 6px; }
.ev-foot .ev-flinks a { display: inline-flex; align-items: center; min-height: 40px; color: var(--soft); text-decoration-color: rgba(245, 240, 235, .35); text-underline-offset: 4px; }
.ev-foot .ev-flinks a:hover { color: var(--cream); }
.ev-foot .ev-copy { margin-top: 6px; font-size: 14px; color: var(--faint); }
