/* ============================================================
   ELITBAU — Premium Advisory Website
   Brand: Gold #b5a57d | Charcoal #141414 | Warm White #FAF8F4
   Type:  Lato (all text — client spec, no serif)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #b5a57d;   /* CEO-specified gold */
  --gold-light:  #cbbd97;   /* lighter — headings / hovers on dark */
  --gold-dark:   #8f7f57;   /* deeper — accents / hovers on light */
  --gold-cream:  #e3d7b6;   /* legible warm-gold body text on black */
  --charcoal:    #141414;
  --charcoal-2:  #2A2A2A;
  --charcoal-3:  #3E3E3E;
  --warm-white:  #FAF8F4;
  --warm-grey:   #F0EDE7;
  --mid-grey:    #A09488;
  --text-main:   #1C1C1C;
  --text-muted:  #6B6259;
  --border:      rgba(181,165,125,.22);
  --shadow-card: 0 2px 24px rgba(20,20,20,.07);
  --radius:      4px;
  --transition:  .28s cubic-bezier(.4,0,.2,1);
  --max-w:       1200px;
  --serif:       'Lato', 'Helvetica Neue', Arial, sans-serif;  /* client wants Lato only — no serif */
  --sans:        'Lato', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--sans);
  background: var(--warm-white);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

/* ---------- Layout Helpers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section { padding: clamp(4rem, 8vw, 8rem) 0; }
.section--dark { background: var(--charcoal); color: var(--warm-white); }
.section--dark p { color: var(--gold-cream); }
.section--grey { background: var(--warm-grey); }
.section--gold-line { border-top: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.section-header { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

.gold-rule {
  width: 44px; height: 2px;
  background: var(--gold);
  margin: 1.4rem 0 1.8rem;
}
.centered .gold-rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .92em 2.2em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(181,165,125,.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: #fff;
  box-shadow: 0 6px 28px rgba(181,165,125,.45);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--charcoal); }
.btn-outline-white {
  background: transparent;
  color: var(--warm-white);
  border: 1.5px solid rgba(250,248,244,.45);
}
.btn-outline-white:hover {
  background: rgba(250,248,244,.08);
  border-color: var(--warm-white);
}

/* ---------- NAV ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
#nav.scrolled {
  background: rgba(20,20,20,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(181,165,125,.18);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--warm-white);
  letter-spacing: .04em;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250,248,244,.72);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links .members-link {
  color: rgba(250,248,244,.42);
  border: 1px solid rgba(250,248,244,.16);
  padding: .4em .9em;
  border-radius: 2px;
  font-size: .72rem;
}
.nav-links .members-link:hover { color: var(--gold); border-color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.lang-toggle {
  display: flex; align-items: center; gap: .3rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  background: none; border: none; cursor: pointer;
}
.lang-btn {
  padding: .28em .6em;
  border-radius: 2px;
  color: rgba(250,248,244,.5);
  background: transparent;
  border: none; cursor: pointer;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  transition: color var(--transition), background var(--transition);
}
.lang-btn.active {
  color: var(--gold);
  background: rgba(181,165,125,.14);
  border-radius: 2px;
}
.nav-cta { font-size: .78rem !important; padding: .6em 1.4em !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--warm-white); transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; z-index: 999;
  background: rgba(20,20,20,.97);
  backdrop-filter: blur(16px);
  padding: 1.5rem 2rem 2rem;
  flex-direction: column; gap: 1rem;
  border-top: 1px solid rgba(181,165,125,.2);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: .9rem; font-weight: 500;
  color: rgba(250,248,244,.72);
  letter-spacing: .08em; text-transform: uppercase;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-lang { display: flex; gap: .6rem; margin-top: .5rem; }

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}
/* Animated gradient — the "something moving" placeholder until drone video lands */
.hero-bg {
  position: absolute; inset: -12%; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(181,165,125,.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 20% 80%, rgba(181,165,125,.06) 0%, transparent 55%),
    linear-gradient(160deg, #141414 0%, #1e1a15 60%, #141414 100%);
  background-size: 170% 170%, 170% 170%, 100% 100%;
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 55% 45%, 35% 65%, 0 0; }
}

/* Drone footage — covers the gradient when assets/hero-loop.mp4 exists; hidden until then (see main.js) */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  animation: heroZoom 28s ease-in-out infinite alternate;
}
.hero-video.is-playing { opacity: 1; }
@keyframes heroZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.12); }
}

/* Dark wash keeps the headline legible over any future video */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Darker on the left to protect the headline; lets the drone footage breathe on the right */
  background:
    linear-gradient(105deg, rgba(20,20,20,.86) 0%, rgba(20,20,20,.6) 42%, rgba(20,20,20,.28) 100%),
    linear-gradient(to top, rgba(20,20,20,.55) 0%, transparent 30%);
}

.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(181,165,125,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,165,125,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 80px 80px, 80px 80px; }
}

/* Hero grid glow — a soft spotlight travels across, lighting the lines as it passes */
.hero-grid-glow {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(181,165,125,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,165,125,.5) 1px, transparent 1px);
  background-size: 80px 80px;
  filter: blur(.4px);
  mix-blend-mode: screen;
  -webkit-mask: radial-gradient(circle, #000 8%, transparent 58%) 0 0 / 48% 48% no-repeat;
          mask: radial-gradient(circle, #000 8%, transparent 58%) 0 0 / 48% 48% no-repeat;
  animation: gridDrift 40s linear infinite, gridGlowSweep 15s ease-in-out infinite alternate;
}
@keyframes gridGlowSweep {
  0%   { -webkit-mask-position: 5% 18%;  mask-position: 5% 18%; }
  50%  { -webkit-mask-position: 78% 62%; mask-position: 78% 62%; }
  100% { -webkit-mask-position: 22% 92%; mask-position: 22% 92%; }
}
.hero-content { position: relative; z-index: 2; padding-top: 72px; max-width: 1060px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block; width: 28px; height: 1px;
  background: var(--gold);
}
#hero h1 {
  color: var(--warm-white);
  margin-bottom: 1.1rem;
  max-width: 1000px;
  line-height: 1.08;
}
#hero h1 em {
  font-style: normal;
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-light) 42%, #fff6df 50%, var(--gold-light) 58%, var(--gold) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 7s linear infinite;
}
@keyframes goldShimmer { to { background-position: 220% center; } }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: rgba(250,248,244,.66);
  max-width: 660px;
  line-height: 1.65;
  margin-bottom: 1.9rem;
}
.hero-sub strong { color: var(--gold-light); font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(250,248,244,.3); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase;
  z-index: 2;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(181,165,125,.5), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- PROBLEM / SOLUTION ---------- */
#problem .chain {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  margin: 2.5rem 0 3.5rem;
  position: relative;
}
#problem .chain::before {
  content: '';
  position: absolute; top: 28px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), var(--border), transparent);
  z-index: 0;
}
.chain-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1rem .5rem;
  position: relative; z-index: 1;
}
.chain-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: .9rem;
  position: relative;
}
.chain-step.highlight .chain-num {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
  box-shadow: 0 0 0 6px rgba(181,165,125,.12);
}
.chain-label {
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}
.chain-step.highlight .chain-label { color: var(--gold-dark); }

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.solution-item {
  background: var(--warm-white);
  padding: 2.2rem 2rem;
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.solution-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(181,165,125,.1);
  border-radius: 2px;
}
.solution-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.solution-item h4 { margin-bottom: .35rem; color: var(--text-main); }
.solution-item p { font-size: .92rem; }

/* ---------- L.E.A.D. ---------- */
#lead.section--dark .lead-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(181,165,125,.15);
  border: 1px solid rgba(181,165,125,.15);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1rem;
}
.lead-card {
  background: var(--charcoal-2);
  padding: 2.4rem 1.8rem;
  position: relative;
  transition: background var(--transition);
}
.lead-card:hover { background: var(--charcoal-3); }
.lead-letter {
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--gold);
  opacity: .25;
  position: absolute; top: 1.5rem; right: 1.8rem;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lead-card:hover .lead-letter { opacity: .42; }
.lead-num {
  font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.lead-card h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: .9rem;
}
.lead-card p {
  font-size: .92rem;
  color: rgba(227,215,182,.82);
  line-height: 1.75;
}
.lead-trademark {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(181,165,125,.3);
  padding: .4em .9em;
  border-radius: 2px;
  margin-bottom: 2rem;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  background: var(--warm-white);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { border-color: rgba(181,165,125,.45); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  border-color: rgba(181,165,125,.4);
  background: linear-gradient(160deg, #FAF8F4 0%, #F5EDD8 100%);
}
.service-card.featured::before { transform: scaleX(1); }
.service-badge {
  font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  padding: .3em .8em; border-radius: 2px;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.service-card h3 { margin-bottom: .6rem; }
.service-card > p { margin-bottom: 1.4rem; font-size: .95rem; }
.pricing-tiers { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.6rem; }
.tier {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .6rem .9rem;
  background: rgba(20,20,20,.04);
  border-radius: 2px;
  border-left: 2px solid transparent;
  transition: border-color var(--transition);
}
.tier:hover { border-left-color: var(--gold); }
.tier-label { font-size: .82rem; font-weight: 500; color: var(--text-main); }
.tier-price { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); font-weight: 600; }
.service-cta { margin-top: auto; }

/* ---------- OUTCOMES ---------- */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.outcome-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--warm-white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.outcome-item:hover { box-shadow: 0 4px 24px rgba(181,165,125,.12); transform: translateY(-2px); }
.outcome-icon {
  width: 52px; height: 52px; margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(181,165,125,.1);
  border-radius: 50%;
}
.outcome-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.outcome-item h4 { margin-bottom: .4rem; font-family: var(--sans); font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; }
.outcome-item p { font-size: .87rem; line-height: 1.6; }

.trust-badges {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--warm-grey);
}
.trust-badge {
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 500; color: var(--text-muted);
  padding: .5rem 1rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.trust-badge svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.8; }

/* ---------- PROOF ---------- */
#proof { background: var(--warm-grey); }
.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.ref-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--warm-white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.ref-card:hover { box-shadow: 0 8px 36px rgba(20,20,20,.1); transform: translateY(-4px); }
.ref-visual {
  height: 180px;
  background: linear-gradient(145deg, var(--charcoal-2) 0%, #1C1710 100%);
  position: relative;
  display: flex; align-items: flex-end;
  padding: 1.4rem 1.6rem;
  overflow: hidden;
}
.ref-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(181,165,125,.12) 0%, transparent 65%);
}
.ref-location {
  position: relative; z-index: 1;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(20,20,20,.7);
  border: 1px solid rgba(181,165,125,.3);
  padding: .35em .8em; border-radius: 2px;
}
.ref-area-badge {
  position: absolute; top: 1.2rem; right: 1.4rem; z-index: 1;
  font-family: var(--serif); font-size: 1.4rem; color: var(--warm-white);
  opacity: .18;
  line-height: 1;
  white-space: nowrap;
}
.ref-body { padding: 1.6rem; }
.ref-body h3 { margin-bottom: .4rem; font-size: 1.2rem; }
.ref-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin: .8rem 0 1rem;
}
.ref-tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(181,165,125,.1);
  padding: .3em .7em; border-radius: 2px;
}
.ref-body p { font-size: .9rem; }

/* Logo strip */
.logo-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-strip-label {
  text-align: center;
  font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 1.8rem;
}
.logo-items {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.2rem 2.4rem;
}
.logo-item {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mid-grey);
  letter-spacing: .04em;
  transition: color var(--transition);
  padding: .5rem 1rem;
  border: 1px solid transparent;
  border-radius: 2px;
}
.logo-item:hover { color: var(--gold); border-color: var(--border); }

/* ---------- SELECTED WORK ---------- */
.work-feature {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.6rem;
}
.work-feature-main {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
}
.work-feature-main img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s ease;
}
.work-feature-main:hover img { transform: scale(1.04); }
.work-feature-body { display: flex; flex-direction: column; justify-content: center; }
#work .ref-tag { color: var(--gold-light); background: rgba(181,165,125,.16); align-self: flex-start; }
.work-feature-body h3 { color: var(--gold-light); font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .7rem 0 .8rem; }
.work-feature-body p { color: var(--gold-cream); margin-bottom: 1.4rem; }
.work-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.work-thumbs img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 3px; display: block; opacity: .9;
  transition: transform .5s ease, opacity .3s ease;
}
.work-thumbs img:hover { transform: scale(1.05); opacity: 1; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem;
  margin-top: 1.6rem;
}
.work-grid figure {
  margin: 0; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.work-grid img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s ease;
}
.work-grid figure:hover img { transform: scale(1.06); }

/* Founder mini-card (contact) */
.founder { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.2rem; }
.founder img {
  width: 88px; height: 88px; flex-shrink: 0;
  border-radius: 50%; object-fit: cover; object-position: 42% 30%;
  border: 2px solid rgba(181,165,125,.5);
}
.founder-meta strong {
  display: block; font-family: var(--serif);
  font-size: 1.25rem; color: var(--gold-light); font-weight: 600;
}
.founder-meta span { font-size: .85rem; color: var(--gold-cream); line-height: 1.4; }

/* ---------- LEAD CAPTURE ---------- */
#contact.section--dark {
  background: linear-gradient(160deg, #161410 0%, #141414 60%, #1A1508 100%);
  position: relative; overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 80% at 80% 50%, rgba(181,165,125,.07) 0%, transparent 60%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  position: relative; z-index: 1;
}
.contact-left h2 { color: var(--gold); }
.contact-left p { color: var(--gold-cream); margin-bottom: 2rem; }
.voucher-box {
  border: 1px solid rgba(181,165,125,.3);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: rgba(181,165,125,.06);
  margin-top: 2.5rem;
}
.voucher-box .eyebrow { margin-bottom: .6rem; }
.voucher-box h3 { color: var(--gold); margin-bottom: .5rem; font-size: 1.3rem; }
.voucher-box p { font-size: .9rem; }

.contact-form {
  background: rgba(250,248,244,.04);
  border: 1px solid rgba(181,165,125,.18);
  border-radius: var(--radius);
  padding: 2.4rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(227,215,182,.72);
  margin-bottom: .5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem 1rem;
  background: rgba(250,248,244,.07);
  border: 1px solid rgba(181,165,125,.2);
  border-radius: var(--radius);
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: .92rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(250,248,244,.3); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group.checkbox { display: flex; align-items: flex-start; gap: .8rem; }
.form-group.checkbox input[type=checkbox] {
  width: 18px; height: 18px; min-width: 18px;
  padding: 0;
  accent-color: var(--gold);
  margin-top: 2px;
  cursor: pointer;
}
.form-group.checkbox label {
  font-size: .8rem; letter-spacing: 0; text-transform: none; color: rgba(250,248,244,.5);
  line-height: 1.5;
}
.form-group.checkbox label a { color: var(--gold); }
.form-submit { width: 100%; justify-content: center; margin-top: .4rem; }
.form-note {
  text-align: center; font-size: .74rem;
  color: rgba(250,248,244,.3);
  margin-top: .9rem;
}

/* ---------- FOOTER ---------- */
#footer {
  background: #0D0D0D;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(181,165,125,.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 2rem;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 1.2rem; }
.footer-brand .nav-logo img { height: 62px; width: auto; display: block; }
.footer-brand p { font-size: .9rem; color: rgba(227,215,182,.6); line-height: 1.75; max-width: 320px; }
.footer-col h4 {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a, .footer-col address {
  font-size: .9rem; color: rgba(227,215,182,.66);
  font-style: normal; line-height: 1.75;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(227,215,182,.45); }
.footer-bottom a { color: rgba(227,215,182,.7); font-size: .8rem; }
.footer-bottom a:hover { color: var(--gold); }
.footer-lang { display: flex; gap: .4rem; }

/* ---------- BACKGROUND BLUEPRINT MOTIF ---------- */
.section, #footer { position: relative; }
.section > .container, #footer > .container { position: relative; z-index: 1; }

.blueprint { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blueprint::before, .blueprint::after {
  content: ""; position: absolute; inset: 0;
  background: url(assets/blueprint.svg) center / 760px auto repeat;
}
.blueprint::before { opacity: .08; }            /* faint base plan */
.blueprint::after {                              /* travelling glow */
  opacity: .15;
  filter: blur(.5px);
  -webkit-mask: radial-gradient(circle, #000 6%, transparent 62%) 0 0 / 62% 62% no-repeat;
          mask: radial-gradient(circle, #000 6%, transparent 62%) 0 0 / 62% 62% no-repeat;
  animation: blueprintSweep 32s ease-in-out infinite alternate;
}
#work .blueprint::after    { animation-delay: -11s; }
#contact .blueprint::after { animation-delay: -22s; }
#footer .blueprint::after  { animation-delay: -6s; }
/* Dark sections: fainter than light, glow brightens via screen blend */
.section--dark .blueprint::before, #footer .blueprint::before { opacity: .03; }
.section--dark .blueprint::after,  #footer .blueprint::after  { opacity: .1; mix-blend-mode: screen; }

#problem  .blueprint::after { animation-delay: -19s; }
#services .blueprint::after { animation-delay: -16s; }
#outcomes .blueprint::after { animation-delay: -28s; }
#proof    .blueprint::after { animation-delay: -8s; }
@keyframes blueprintSweep {
  0%   { -webkit-mask-position: 8% 0%;    mask-position: 8% 0%; }
  50%  { -webkit-mask-position: 92% 65%;  mask-position: 92% 65%; }
  100% { -webkit-mask-position: 25% 100%; mask-position: 25% 100%; }
}

/* ============================================================
   SUBPAGES — page hero, team, blog, article, footer social
   ============================================================ */
.nav-link.active { color: var(--gold); }

.page-hero {
  position: relative; overflow: hidden;
  background: var(--charcoal);
  padding: calc(72px + clamp(2.6rem, 6vw, 5rem)) 0 clamp(2.6rem, 5vw, 4.5rem);
  text-align: center;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .blueprint::before { opacity: .035; }
.page-hero .blueprint::after  { opacity: .1; mix-blend-mode: screen; }
.page-hero h1 { color: var(--warm-white); font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.page-hero .gold-rule { margin-left: auto; margin-right: auto; }
.page-hero p { color: var(--gold-cream); max-width: 640px; margin: 0 auto; }
.page-back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.team-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.4rem 2rem; background: var(--warm-white); text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); border-color: rgba(181,165,125,.45); }
.team-photo, .team-avatar {
  width: 132px; height: 132px; border-radius: 50%;
  margin: 0 auto 1.3rem; border: 2px solid rgba(181,165,125,.4);
}
.team-photo { object-fit: cover; object-position: 45% 28%; }
.team-avatar {
  display: flex; align-items: center; justify-content: center;
  background: rgba(181,165,125,.12); color: var(--gold);
  font-size: 2.6rem; font-weight: 700;
}
.team-card h3 { font-size: 1.45rem; margin-bottom: .25rem; }
.team-role { color: var(--gold-dark); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.team-card p { font-size: .95rem; }
.team-links { display: flex; justify-content: center; gap: .8rem; margin-top: 1.2rem; }
.team-links a { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition); }
.team-links a:hover { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.team-links svg { width: 17px; height: 17px; }

/* Blog listing */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 1.6rem; }
.blog-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--warm-white); display: flex; flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: 0 8px 36px rgba(20,20,20,.1); transform: translateY(-4px); }
.blog-card-media {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--charcoal-2) 0%, #1C1710 100%);
  display: flex; align-items: flex-end; padding: 1rem 1.2rem;
}
.blog-card-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(181,165,125,.16) 0%, transparent 65%); }
.blog-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-cat { position: relative; z-index: 1; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(20,20,20,.7); border: 1px solid rgba(181,165,125,.3); padding: .3em .7em; border-radius: 2px; }
.blog-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .6rem; }
.blog-card h3 { font-size: 1.25rem; margin-bottom: .6rem; line-height: 1.3; }
.blog-card h3 a { color: var(--text-main); }
.blog-card h3 a:hover { color: var(--gold-dark); }
.blog-card p { font-size: .92rem; flex: 1; }
.blog-readmore { margin-top: 1.2rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); display: inline-block; }
.blog-card:hover .blog-readmore { color: var(--gold); }
.blog-readmore.disabled { color: var(--mid-grey); pointer-events: none; }

/* Article */
.article { max-width: 740px; margin: 0 auto; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ol, .article-body ul { margin: 0 0 1.4rem 1.3rem; }
.article-body li { font-size: 1.04rem; color: var(--text-muted); margin-bottom: .8rem; line-height: 1.75; }
.article-body li strong { color: var(--text-main); }

/* Footer social */
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(181,165,125,.25); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gold-cream); transition: var(--transition); }
.footer-social a:hover { background: rgba(181,165,125,.14); color: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 17px; height: 17px; }

/* Article body headings, cover hero, values grid */
.article-body h2, .article-body h3, .article-body h4 {
  font-size: 1.3rem; margin: 2rem 0 .7rem; color: var(--text-main); font-weight: 700;
}
.article-body a { color: var(--gold-dark); text-decoration: underline; }
.page-hero--cover { background-size: cover; background-position: center; }
.page-hero--cover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20,20,20,.5) 0%, rgba(20,20,20,.84) 100%); }
.page-hero--cover > .container { position: relative; z-index: 1; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; margin-top: 2.4rem; }
.value-item { padding: 1.7rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--warm-white); }
.value-item h4 { color: var(--gold-dark); margin-bottom: .5rem; font-family: var(--sans); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.value-item p { font-size: .9rem; }

/* ---------- UTILITY ---------- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.hide-en [lang="en"], .hide-sl [lang="sl"] { display: none !important; }

/* ---------- ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-video, .hero-grid-lines, .hero-grid-glow, #hero h1 em, .hero-scroll,
  .blueprint::before, .blueprint::after {
    animation: none !important;
  }
  [data-reveal] { transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .lead-cards { grid-template-columns: 1fr 1fr !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .work-feature { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .lead-cards { grid-template-columns: 1fr !important; }
  .reference-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  #problem .chain { grid-template-columns: repeat(3, 1fr); }
  #problem .chain::before { display: none; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .outcomes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MEMBERS — Knowledge Hub: library gate & client-portal stub
   ============================================================ */
.nav-links .members-link.active { color: var(--gold); border-color: var(--gold); }

/* Members' library — downloadable resource cards */
.library-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.lib-item {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.1rem 1.2rem; background: var(--warm-white);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.lib-item:hover { border-color: rgba(181,165,125,.5); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.lib-item .lib-icon { color: var(--gold-dark); flex-shrink: 0; line-height: 0; margin-top: .15rem; }
.lib-item .lib-icon svg { width: 22px; height: 22px; }
.lib-item h4 { font-family: var(--sans); font-size: .98rem; margin-bottom: .25rem; }
.lib-tag { display: inline-flex; align-items: center; gap: .4em; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.lib-tag svg { width: 13px; height: 13px; }

/* Members access form */
.members-gate { max-width: 540px; margin-top: 2.4rem; }
.members-gate form { display: flex; gap: .6rem; flex-wrap: wrap; }
.members-gate input[type="email"] {
  flex: 1; min-width: 220px; font: inherit; font-size: .95rem;
  padding: .85em 1.1em; color: var(--text-main); background: var(--warm-white);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.members-gate input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,165,125,.15); }
.members-gate small { display: block; margin-top: .8rem; color: var(--text-muted); font-size: .78rem; }

/* Client-portal preview chips */
.portal-preview { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 1.9rem 0; }
.portal-metric {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em 1em; font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-cream);
  background: rgba(181,165,125,.06); border: 1px solid rgba(181,165,125,.3); border-radius: 2px;
}
.portal-metric svg { width: 15px; height: 15px; color: var(--gold); }
.btn.is-locked { opacity: .5; cursor: default; pointer-events: none; }
