/* ============================================================
   LAVIVA PROJECTS — Stylesheet
   Premium Property Investment & Infrastructure Advisory
   ============================================================ */

/* ── 1. FONTS & VARIABLES ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Backgrounds */
  --bg-0:   #060810;
  --bg-1:   #0b0e18;
  --bg-2:   #0f1420;
  --bg-3:   #141928;

  /* Gold Accent */
  --gold:         #c8913a;
  --gold-light:   #dba84e;
  --gold-pale:    rgba(200, 145, 58, 0.08);
  --gold-b:       rgba(200, 145, 58, 0.15);
  --gold-b-s:     rgba(200, 145, 58, 0.38);

  /* Text */
  --text-1: #ede9e0;
  --text-2: #93979f;
  --text-3: #555a6a;

  /* System */
  --nav-h:    80px;
  --sec-pad:  120px;
  --radius:   0;

  /* Fonts */
  --f-disp: 'Cormorant Garamond', 'Georgia', serif;
  --f-body: 'Outfit', system-ui, sans-serif;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 2. RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }
em { font-style: italic; color: var(--gold); }

/* ── 3. SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--gold-b-s); border-radius: 2px; }

/* ── 4. TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--f-disp);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.d-xl {
  font-family: var(--f-disp);
  font-size: clamp(52px, 7.5vw, 106px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.d-lg {
  font-family: var(--f-disp);
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.d-md {
  font-family: var(--f-disp);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
}
.d-sm {
  font-family: var(--f-disp);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-2);
}

/* ── 5. LAYOUT ── */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 56px;
}
.section { padding: var(--sec-pad) 0; }
.section--sm { padding: 80px 0; }
.section--xs { padding: 56px 0; }

/* ── 6. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 38px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn--gold {
  background: var(--gold);
  color: var(--bg-0);
}
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn--gold:hover::after { transform: scaleX(1); }
.btn--gold span, .btn--gold svg { position: relative; z-index: 1; }

.btn--outline {
  border: 1px solid var(--gold-b-s);
  color: var(--text-1);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--gold-pale);
}

.btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg { transform: translateX(5px); }

/* ── 7. NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 8, 16, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--gold-b);
}
.nav__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 56px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.nav__logo-a { font-family: var(--f-disp); font-size: 21px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-1); }
.nav__logo-b { font-size: 7.5px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); }

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  transition: color 0.25s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav__link:hover,
.nav__link.active { color: var(--text-1); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* CTA */
.nav__cta {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 11px 26px;
  border: 1px solid var(--gold-b-s);
  color: var(--gold);
  transition: all 0.3s ease;
}
.nav__cta:hover { background: var(--gold); color: var(--bg-0); border-color: var(--gold); }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-1);
  transition: all 0.4s var(--ease);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile .nav__link {
  font-family: var(--f-disp);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-1);
  transition: color 0.25s ease;
}
.nav-mobile .nav__link:hover { color: var(--gold); }
.nav-mobile .nav__link::after { display: none; }

/* ── 8. PAGE LOADER ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__name {
  font-family: var(--f-disp);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-1);
}
.loader__sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}
.loader__bar {
  width: 180px;
  height: 1px;
  background: var(--bg-3);
  overflow: hidden;
}
.loader__bar-fill {
  height: 100%;
  background: var(--gold);
  animation: loaderFill 1.6s var(--ease) forwards;
}
@keyframes loaderFill {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 9. HOME HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-0);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 68% 45%, rgba(200, 145, 58, 0.075) 0%, transparent 52%),
    radial-gradient(ellipse at 15% 85%, rgba(200, 145, 58, 0.04) 0%, transparent 38%);
}
.hero__left {
  position: relative;
  z-index: 2;
  padding: 80px 48px 80px 0;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
}
.hero__eyebrow::before {
  content: '';
  width: 52px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero__title {
  font-family: var(--f-disp);
  font-size: clamp(54px, 7.2vw, 104px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 36px;
}
.hero__title .italic-gold { font-style: italic; color: var(--gold-light); }
.hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 52px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__right {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero__graphic {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* Animate hero elements */
.hero-in {
  opacity: 0;
  animation: heroUp 1s var(--ease) forwards;
}
.hi-1 { animation-delay: 0.15s; }
.hi-2 { animation-delay: 0.3s;  }
.hi-3 { animation-delay: 0.5s;  }
.hi-4 { animation-delay: 0.7s;  }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 10. MARQUEE ── */
.marquee-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--gold-b);
  border-bottom: 1px solid var(--gold-b);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 38s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.marquee-item {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.marquee-item::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 11. SECTION HEADER PATTERN ── */
.sec-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.sec-header--center {
  display: block;
  text-align: center;
  margin-bottom: 72px;
}
.sec-header--center .eyebrow { display: block; margin-bottom: 16px; }
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.eyebrow-row::before {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── 12. INTRO SECTION ── */
.home-intro { background: var(--bg-1); }
.intro-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 100px;
  align-items: start;
}
.intro-numeral {
  font-family: var(--f-disp);
  font-size: 200px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-b);
  letter-spacing: -0.05em;
  margin-top: -24px;
  user-select: none;
}
.intro-body h2 { margin-bottom: 24px; }
.intro-body p { font-size: 15px; color: var(--text-2); line-height: 1.85; margin-bottom: 20px; }
.intro-body p:last-of-type { margin-bottom: 36px; }

/* ── 13. WHAT WE DO (Home preview) ── */
.what-we-do { background: var(--bg-0); }

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gold-b);
  border: 1px solid var(--gold-b);
}
.prev-card {
  background: var(--bg-1);
  padding: 48px 40px 52px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.prev-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.prev-card:hover { background: var(--bg-2); }
.prev-card:hover::after { transform: scaleX(1); }

.prev-card__num {
  font-family: var(--f-disp);
  font-size: 52px;
  font-weight: 400;
  color: var(--gold-b);
  line-height: 1;
  transition: color 0.3s;
}
.prev-card:hover .prev-card__num { color: rgba(200,145,58,0.28); }
.prev-card__title {
  font-family: var(--f-disp);
  font-size: 21px;
  font-weight: 500;
  color: var(--text-1);
}
.prev-card__text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
}
.prev-card__link {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  transition: gap 0.3s ease;
}
.prev-card:hover .prev-card__link { gap: 14px; }
.prev-card__link svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
}

/* ── 14. FEATURED PROJECTS (Home) ── */
.home-projects { background: var(--bg-1); }
.proj-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.proj-prev-card {
  border: 1px solid var(--gold-b);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease);
}
.proj-prev-card:hover {
  border-color: var(--gold-b-s);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.proj-prev-img {
  height: 260px;
  overflow: hidden;
  position: relative;
}
.proj-prev-img-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}
.proj-prev-card:hover .proj-prev-img-inner { transform: scale(1.06); }
.proj-img-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 55%, rgba(200,145,58,0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.proj-img-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 38px,
    rgba(200,145,58,0.025) 38px, rgba(200,145,58,0.025) 39px
  );
}
.proj-img-bg svg {
  width: 56px;
  height: 56px;
  stroke: var(--gold-b);
  stroke-width: 1;
  fill: none;
  position: relative;
  z-index: 1;
}
.proj-prev-body { padding: 32px 36px 40px; }
.proj-prev-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.proj-prev-title {
  font-family: var(--f-disp);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 14px;
  line-height: 1.2;
}
.proj-prev-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── 15. INSTITUTIONS ── */
.institutions {
  background: var(--bg-0);
  border-top: 1px solid var(--gold-b);
  border-bottom: 1px solid var(--gold-b);
}
.institutions-header {
  text-align: center;
  margin-bottom: 64px;
}
.institutions-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}
.inst-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
.inst-logo:hover { opacity: 1; }
.inst-logo-box {
  width: 100px;
  height: 56px;
  border: 1px solid var(--gold-b-s);
  display: flex;
  align-items: center;
  justify-content: center;
}
.inst-logo-box svg { fill: none; }
.inst-name {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}

/* ── 16. CTA TEASER ── */
.cta-teaser { background: var(--bg-1); position: relative; overflow: hidden; }
.cta-teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold-b));
}
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 24px; }
.cta-inner p  { margin-bottom: 44px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── 17. PAGE HERO ── */
.page-hero {
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-0);
}
.page-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 40%, rgba(200,145,58,0.06) 0%, transparent 55%);
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold-b);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.page-hero__label::before { content: ''; width: 44px; height: 1px; background: var(--gold); }
.page-hero__sub { margin-top: 24px; max-width: 640px; }

/* ── 18. ABOUT ── */
.about-story { background: var(--bg-1); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about-text p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
  margin-bottom: 24px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-right { position: relative; }

.quote-block {
  border-left: 2px solid var(--gold);
  padding: 28px 40px;
  background: var(--bg-2);
  margin-bottom: 48px;
}
.quote-text {
  font-family: var(--f-disp);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-1);
  line-height: 1.55;
}
.quote-attr {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-accent-box {
  border: 1px solid var(--gold-b);
  padding: 44px 40px;
  background: var(--bg-2);
  position: relative;
}
.about-accent-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 80px;
  height: 2px;
  background: var(--gold);
}
.about-accent-box h3 { margin-bottom: 16px; }
.about-accent-box p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* Stats */
.stats-section { background: var(--bg-0); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-b);
  border: 1px solid var(--gold-b);
}
.stat-box {
  background: var(--bg-1);
  padding: 60px 40px;
  text-align: center;
  transition: background 0.4s ease;
}
.stat-box:hover { background: var(--bg-2); }
.stat-num {
  font-family: var(--f-disp);
  font-size: 54px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.6;
}

/* Values */
.values-section { background: var(--bg-1); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value-card {
  padding: 40px 28px;
  border-top: 1px solid var(--gold-b);
  transition: border-color 0.3s ease, background 0.3s ease;
  position: relative;
}
.value-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.45s var(--ease);
}
.value-card:hover::before { width: 100%; }
.value-card h3 {
  font-family: var(--f-disp);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
.value-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* Leadership */
.leadership { background: var(--bg-0); }
.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.leader-visual {
  background: var(--bg-2);
  border: 1px solid var(--gold-b);
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.leader-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 36px,
    rgba(200,145,58,0.025) 36px, rgba(200,145,58,0.025) 37px
  );
}
.leader-visual-inner { position: relative; z-index: 1; text-align: center; padding: 32px; }
.leader-visual-icon { margin: 0 auto 20px; opacity: 0.3; }
.leader-name { font-family: var(--f-disp); font-size: 22px; font-weight: 500; color: var(--text-1); margin-bottom: 6px; }
.leader-role { font-size: 10px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.leader-info { }
.leader-info h2 { margin-bottom: 24px; }
.leader-info p { font-size: 15px; color: var(--text-2); line-height: 1.85; margin-bottom: 20px; }

/* ── 19. SERVICES PAGE ── */
.services-list { background: var(--bg-1); }
.svc-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 56px;
  padding: 52px 64px;
  border: 1px solid var(--gold-b);
  border-bottom: none;
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.svc-card:last-child { border-bottom: 1px solid var(--gold-b); }
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-pale);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.svc-card:hover { border-color: var(--gold-b-s); background: var(--bg-2); }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover + .svc-card { border-top-color: var(--gold-b-s); }

.svc-card__num {
  font-family: var(--f-disp);
  font-size: 68px;
  font-weight: 400;
  color: rgba(200,145,58,0.14);
  line-height: 1;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
}
.svc-card:hover .svc-card__num { color: rgba(200,145,58,0.28); }
.svc-card__body { position: relative; z-index: 1; }
.svc-card__title {
  font-family: var(--f-disp);
  font-size: 27px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 12px;
}
.svc-card__desc { font-size: 14.5px; color: var(--text-2); line-height: 1.78; max-width: 620px; }
.svc-card__cta {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-12px);
  transition: all 0.4s var(--ease);
}
.svc-card:hover .svc-card__cta { opacity: 1; transform: translateX(0); }
.svc-card__cta svg { width: 13px; height: 13px; stroke: var(--gold); stroke-width: 1.5; fill: none; }

.svc-intro { background: var(--bg-0); }

/* ── 20. PROJECTS PAGE ── */
.proj-section { background: var(--bg-1); }
.proj-full-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gold-b);
  margin-bottom: 24px;
  overflow: hidden;
  transition: border-color 0.4s ease;
}
.proj-full-card:hover { border-color: var(--gold-b-s); }
.proj-full-card.reverse { direction: rtl; }
.proj-full-card.reverse > * { direction: ltr; }

.proj-visual {
  min-height: 440px;
  position: relative;
  overflow: hidden;
}
.proj-visual-inner {
  width: 100%;
  height: 100%;
  min-height: 440px;
  transition: transform 0.7s var(--ease);
}
.proj-full-card:hover .proj-visual-inner { transform: scale(1.04); }
.proj-visual-bg {
  width: 100%;
  height: 100%;
  min-height: 440px;
  background: linear-gradient(135deg, #101520 0%, var(--bg-3) 50%, rgba(200,145,58,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.proj-visual-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 42px,
    rgba(200,145,58,0.03) 42px, rgba(200,145,58,0.03) 43px
  );
}
.proj-visual-bg svg { position: relative; z-index: 1; }

.proj-info {
  padding: 64px 56px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.proj-info__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.proj-info__tag::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.proj-info__title {
  font-family: var(--f-disp);
  font-size: 30px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 22px;
  line-height: 1.2;
}
.proj-info__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 36px;
}
.proj-meta {
  border-top: 1px solid var(--gold-b);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proj-meta-row { display: flex; gap: 20px; align-items: baseline; }
.proj-meta-key {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  min-width: 90px;
}
.proj-meta-val { font-size: 13.5px; color: var(--text-2); }

.proj-institutions { background: var(--bg-0); }

/* ── 21. CONTACT PAGE ── */
.contact-hero-band {
  background: var(--bg-0);
  padding: 64px 0;
  border-bottom: 1px solid var(--gold-b);
}
.contact-hero-text {
  font-family: var(--f-disp);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-2);
  max-width: 700px;
}

.contact-main { background: var(--bg-1); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 80px;
  align-items: start;
}
.contact-details-list { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.contact-detail-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 15px; height: 15px; stroke: var(--gold); stroke-width: 1.5; fill: none; }
.contact-label { font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.contact-value { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* Form */
.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--gold-b);
  padding: 56px 52px;
  position: relative;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 100px;
  height: 2px;
  background: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 26px; }
.form-label {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid rgba(200,145,58,0.1);
  color: var(--text-1);
  font-family: var(--f-body);
  font-size: 14.5px;
  padding: 14px 18px;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-b-s);
  background: var(--bg-2);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-3); }
.form-select option { background: var(--bg-2); color: var(--text-1); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--bg-0);
  padding: 18px 40px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}
.form-submit:hover::after { transform: scaleY(1); }
.form-submit span { position: relative; z-index: 1; }

/* Form success/error states */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show { display: block; }
.form-success p { color: var(--gold); font-family: var(--f-disp); font-size: 22px; font-style: italic; }

/* ── 22. FOOTER ── */
.footer { background: var(--bg-0); border-top: 1px solid var(--gold-b); padding: 88px 0 44px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand-name { font-family: var(--f-disp); font-size: 26px; font-weight: 500; color: var(--text-1); letter-spacing: 0.06em; }
.footer-brand-sub { font-size: 7.5px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.footer-brand-text { font-size: 13.5px; color: var(--text-3); line-height: 1.8; }
.footer-col-head { font-size: 9.5px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-size: 13.5px; color: var(--text-2); transition: color 0.25s; cursor: pointer; }
.footer-link:hover { color: var(--gold); }
a.footer-link { text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(200,145,58,0.07);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 12px; color: var(--text-3); }
.footer-tag { font-family: var(--f-disp); font-size: 13px; font-style: italic; color: var(--text-3); }

/* ── 23. SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-delay="5"] { transition-delay: 0.5s; }
[data-reveal][data-delay="6"] { transition-delay: 0.6s; }

/* ── 24. HORIZONTAL LINE ── */
.h-rule { width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold-b), transparent); margin: 80px 0; }

/* ── 25. RESPONSIVE ── */
@media (max-width: 1100px) {
  .container { padding: 0 36px; }
  .nav__inner { padding: 0 36px; }
  .hero { grid-template-columns: 1fr; padding: 160px 0 80px; min-height: auto; }
  .hero__right { display: none; }
  .hero__left { padding: 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-numeral { font-size: 120px; margin-top: 0; }
  .preview-cards { grid-template-columns: 1fr 1fr; }
  .proj-preview-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .leader-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .svc-card { grid-template-columns: 70px 1fr; gap: 32px; padding: 40px 36px; }
  .svc-card__cta { display: none; }
  .svc-card__num { font-size: 48px; }
  .proj-full-card { grid-template-columns: 1fr; direction: ltr !important; }
  .proj-full-card.reverse > * { direction: ltr; }
  .proj-visual { min-height: 320px; }
  .proj-visual-inner { min-height: 320px; }
  .proj-visual-bg { min-height: 320px; }
  .proj-info { padding: 44px 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 40px 32px; }
  .sec-header { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; --sec-pad: 80px; }
  .container { padding: 0 24px; }
  .nav__inner { padding: 0 24px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .preview-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .proj-info { padding: 36px 28px; }
  .proj-full-card.reverse { direction: ltr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-box { padding: 44px 32px; }
}

/* ── INLINE GRID OVERRIDES (responsive) ── */
@media (max-width: 768px) {
  /* Services: "How we work" 4-col grid */
  .svc-intro + section > .container > div[style*="repeat(4"],
  .svc-intro ~ section > .container > div[style*="repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Contact: "What happens next" 3-col grid */
  .steps-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  /* Services how-we-work */
  .svc-intro + section > .container > div[style*="repeat(4"],
  .svc-intro ~ section > .container > div[style*="repeat(4"] {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
   LAVIVA IMAGE INTEGRATION — supplied brand and transaction assets
   Keeps the original Netlify structure and animation system intact.
   ============================================================ */

/* Logo integration */
.loader__logo {
  width: min(320px, 72vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 80px rgba(0, 0, 0, 0.45));
  margin-bottom: 28px;
}
.loader__bar { width: min(280px, 64vw); }

.nav__logo {
  width: 128px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.nav__logo-img {
  max-width: 128px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}
.footer-brand-logo {
  display: inline-flex;
  width: 260px;
  max-width: 100%;
  margin-bottom: 24px;
}
.footer-brand-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Background image integration */
.hero__bg {
  background:
    linear-gradient(90deg, rgba(6, 8, 16, 0.97) 0%, rgba(6, 8, 16, 0.86) 42%, rgba(6, 8, 16, 0.36) 100%),
    linear-gradient(0deg, rgba(6, 8, 16, 1) 0%, rgba(6, 8, 16, 0.26) 44%, rgba(6, 8, 16, 0.82) 100%),
    url('../img/hero-towers.jpg') center center / cover no-repeat;
}
.hero__bg::before {
  background:
    radial-gradient(ellipse at 68% 45%, rgba(200, 145, 58, 0.12) 0%, transparent 52%),
    radial-gradient(ellipse at 15% 85%, rgba(200, 145, 58, 0.05) 0%, transparent 38%);
  mix-blend-mode: screen;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 16, 0.96) 0%, rgba(6, 8, 16, 0.72) 48%, rgba(6, 8, 16, 0.16) 100%);
}

.page-hero__bg {
  background:
    linear-gradient(90deg, rgba(6, 8, 16, 0.96) 0%, rgba(6, 8, 16, 0.78) 46%, rgba(6, 8, 16, 0.38) 100%),
    linear-gradient(0deg, rgba(6, 8, 16, 1) 0%, rgba(6, 8, 16, 0.18) 52%, rgba(6, 8, 16, 0.74) 100%),
    url('../img/corporate-towers.jpg') center center / cover no-repeat;
}
.page-hero__bg::before {
  background:
    radial-gradient(ellipse at 65% 40%, rgba(200,145,58,0.12) 0%, transparent 55%),
    linear-gradient(90deg, rgba(6,8,16,0.74), transparent);
}

.cta-teaser {
  background:
    linear-gradient(0deg, rgba(11,14,24,0.96), rgba(11,14,24,0.91)),
    url('../img/office-atrium.jpg') center center / cover no-repeat;
}
.cta-teaser::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,145,58,0.08), transparent 58%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

/* Transaction image slots */
.project-photo-single,
.project-photo-stack {
  width: 100%;
  height: 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.project-photo-single::before,
.project-photo-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(6, 8, 16, 0.18) 55%, rgba(6, 8, 16, 0.68) 100%),
    radial-gradient(ellipse at 68% 36%, rgba(200,145,58,0.12), transparent 45%);
  z-index: 2;
  pointer-events: none;
}
.project-photo-single img,
.project-photo-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.88) contrast(1.04) brightness(0.78);
}
.project-photo-stack img:nth-child(1) {
  animation: bloemFadeA 9s var(--ease) infinite;
}
.project-photo-stack img:nth-child(2) {
  opacity: 0;
  animation: bloemFadeB 9s var(--ease) infinite;
}
.proj-prev-card:hover .project-photo-single img,
.proj-prev-card:hover .project-photo-stack img,
.proj-full-card:hover .project-photo-single img,
.proj-full-card:hover .project-photo-stack img {
  transform: scale(1.08);
  filter: saturate(0.95) contrast(1.06) brightness(0.9);
}
@keyframes bloemFadeA {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes bloemFadeB {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

/* Use the city road as a subtle atmospheric layer in the What We Do section */
.what-we-do {
  position: relative;
  overflow: hidden;
}
.what-we-do::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,8,16,0.96), rgba(6,8,16,0.86)),
    url('../img/city-road.jpg') center center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.what-we-do > .container { position: relative; z-index: 1; }

@media (max-width: 700px) {
  .nav__logo { width: 112px; height: 48px; }
  .nav__logo-img { max-width: 112px; max-height: 48px; }
  .footer-brand-logo { width: 220px; }
  .hero__bg {
    background:
      linear-gradient(0deg, rgba(6,8,16,1) 0%, rgba(6,8,16,0.72) 45%, rgba(6,8,16,0.88) 100%),
      url('../img/hero-towers.jpg') center center / cover no-repeat;
  }
}
