@font-face {
  font-family: "Cairo";
  src: url("assets/Cairo-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --graphite: #181817;
  --offwhite: #f3efe7;
  --copper: #c06f3e;
  --sage: #6e766f;
  --paper: #e8e1d6;
  --line: rgba(24, 24, 23, 0.18);
  --wrap: min(1420px, calc(100vw - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--graphite);
  font-family: "Cairo", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--offwhite); color: var(--graphite); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 104px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  transition: background .25s ease, height .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { height: 78px; background: rgba(24, 24, 23, .96); box-shadow: 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.brand { position: relative; z-index: 4; }
.brand img { width: 230px; height: auto; }
.site-nav { display: flex; gap: 42px; align-items: center; }
.site-nav a { position: relative; font-size: 14px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--copper); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; width: 26px; height: 1px; margin: 6px 0; background: white; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span:not(.sr-only) { transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 780px; height: 100svh; background: var(--graphite); color: white; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background-image: url("assets/varevo-hero.png"); background-size: cover; background-position: center; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,24,23,.92) 0%, rgba(24,24,23,.70) 37%, rgba(24,24,23,.13) 75%, rgba(24,24,23,.05) 100%), linear-gradient(0deg, rgba(24,24,23,.38), transparent 45%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 86px; }
.eyebrow { margin: 0 0 28px; color: var(--copper); font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #e2a078; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(55px, 6.2vw, 108px); font-weight: 520; line-height: .98; letter-spacing: -.035em; }
.hero-copy { max-width: 600px; margin: 38px 0 0; font-size: clamp(20px, 1.55vw, 27px); font-weight: 330; line-height: 1.45; color: rgba(255,255,255,.84); }
.scroll-cue { position: absolute; z-index: 3; right: 48px; bottom: 40px; display: flex; gap: 18px; align-items: center; text-decoration: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue i { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 42%; width: 8px; height: 8px; border-right: 1px solid white; border-bottom: 1px solid white; transform: translate(-50%,-50%) rotate(45deg); }

.section { padding: 150px 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: 10vw; }
h2 { margin: 0; font-size: clamp(42px, 5vw, 78px); line-height: 1.08; font-weight: 480; letter-spacing: -.03em; }
.lead-block { padding-top: 72px; max-width: 620px; }
.lead { margin: 0 0 30px; font-size: clamp(25px, 2vw, 34px); line-height: 1.35; font-weight: 430; }
.lead-block > p:last-child { max-width: 580px; color: #484a47; }

.dark-section { color: var(--offwhite); background: var(--graphite); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; align-items: start; margin-bottom: 96px; }
.section-head h2 { font-size: clamp(42px, 5.5vw, 84px); }
.participation { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr) 280px; gap: 44px; padding: 60px 0 70px; border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.participation-index { color: var(--copper); font-size: 14px; letter-spacing: .1em; }
.participation-main { max-width: 780px; }
.participation-main .kicker { margin: 0 0 14px; color: #aab1aa; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.participation-main h3 { margin: 0 0 22px; font-size: clamp(38px, 4vw, 64px); font-weight: 480; line-height: 1.1; }
.participation-main p { color: rgba(243,239,231,.75); max-width: 760px; }
.text-link { display: inline-block; margin-top: 22px; color: var(--offwhite); text-underline-offset: 7px; text-decoration-color: var(--copper); }
.text-link span { color: var(--copper); margin-left: 8px; }
.participation-mark { display: flex; align-items: flex-start; justify-content: flex-end; color: var(--copper); line-height: .8; }
.participation-mark span { font-size: 128px; font-weight: 280; letter-spacing: -.08em; }
.participation-mark small { margin: 10px 0 0 8px; font-size: 25px; }
.source-note { margin: 20px 0 0; color: rgba(243,239,231,.46); font-size: 11px; }

.approach { padding-bottom: 180px; }
.approach-intro { align-items: end; }
.approach-intro .lead { margin: 0 0 6px; max-width: 650px; }
.principles { list-style: none; padding: 0; margin: 110px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principles li { min-height: 330px; padding: 30px 32px 22px 0; border-right: 1px solid var(--line); }
.principles li:not(:first-child) { padding-left: 32px; }
.principles li:last-child { border-right: 0; }
.principles span { color: var(--copper); font-size: 13px; }
.principles h3 { margin: 82px 0 20px; font-size: 25px; line-height: 1.25; font-weight: 520; }
.principles p { color: #5e625e; font-size: 15px; }

.statement { position: relative; overflow: hidden; min-height: 550px; display: grid; align-items: center; background: var(--copper); color: var(--graphite); }
.statement-line { position: absolute; top: 32px; left: -20px; white-space: nowrap; color: rgba(24,24,23,.13); font-size: 100px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.statement-content { position: relative; padding-top: 50px; }
.statement p { margin: 0; font-size: clamp(50px, 6.8vw, 105px); line-height: 1.04; font-weight: 450; letter-spacing: -.045em; }
.statement p span { color: var(--offwhite); }

.site-footer { padding: 90px 0 28px; background: var(--graphite); color: rgba(243,239,231,.75); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr .8fr; gap: 60px; padding-bottom: 72px; }
.footer-brand img { width: 245px; }
.footer-brand p { max-width: 400px; margin-top: 28px; }
.footer-label { margin: 0 0 20px; color: var(--copper); font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { display: block; width: fit-content; margin-bottom: 10px; color: var(--offwhite); text-underline-offset: 5px; text-decoration-color: rgba(192,111,62,.8); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(243,239,231,.48); font-size: 12px; }

.legal-page { min-height: 100vh; background: var(--offwhite); }
.legal-header { position: static; background: var(--graphite); }
.legal-main { padding: 100px 0 140px; }
.legal-main .eyebrow { margin-bottom: 18px; }
.legal-main h1 { margin: 0 0 70px; font-size: clamp(50px, 7vw, 90px); line-height: 1; font-weight: 480; letter-spacing: -.04em; }
.legal-grid { display: grid; grid-template-columns: 280px minmax(0, 720px); gap: 80px; }
.legal-nav { position: sticky; top: 40px; align-self: start; }
.legal-nav a { display: block; margin-bottom: 12px; color: #555a56; text-underline-offset: 5px; }
.legal-content h2 { margin: 54px 0 14px; font-size: 24px; font-weight: 600; letter-spacing: 0; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #464a47; }
.legal-content a { text-underline-offset: 4px; }
.legal-note { margin-top: 60px; padding: 24px; background: var(--paper); font-size: 14px; }

@media (max-width: 980px) {
  :root { --wrap: min(100% - 48px, 760px); }
  .site-header { height: 82px; padding: 0 24px; }
  .brand img { width: 190px; }
  .nav-toggle { display: block; z-index: 3; }
  .site-nav { position: fixed; z-index: 2; inset: 0; display: none; flex-direction: column; justify-content: center; background: var(--graphite); font-size: 24px; }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: 22px; }
  .split-grid, .section-head { grid-template-columns: 1fr; gap: 46px; }
  .lead-block { padding-top: 0; }
  .participation { grid-template-columns: 62px 1fr; }
  .participation-mark { display: none; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principles li:nth-child(2) { border-right: 0; }
  .principles li:nth-child(3), .principles li:nth-child(4) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 48px; }
  .legal-nav { position: static; }
}

@media (max-width: 620px) {
  :root { --wrap: calc(100% - 36px); }
  body { font-size: 16px; }
  .site-header { padding: 0 18px; }
  .brand img { width: 166px; }
  .hero { min-height: 700px; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(24,24,23,.91), rgba(24,24,23,.38)), linear-gradient(0deg, rgba(24,24,23,.55), transparent 55%); }
  .hero h1 { font-size: clamp(38px, 10.3vw, 50px); letter-spacing: -.045em; }
  .hero-copy { font-size: 19px; }
  .scroll-cue { right: 18px; bottom: 22px; }
  .scroll-cue span { display: none; }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 58px; }
  .participation { grid-template-columns: 1fr; gap: 12px; padding: 42px 0 52px; }
  .principles { grid-template-columns: 1fr; margin-top: 70px; }
  .principles li, .principles li:not(:first-child) { min-height: 240px; padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .principles li:first-child { border-top: 0; }
  .principles h3 { margin-top: 48px; }
  .statement { min-height: 430px; }
  .statement-line { font-size: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .legal-main { padding: 70px 0 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
