/* ==========================================================================
   Venture Gate LLP — Premium / Editorial edition
   Fraunces display serif · Inter · deep navy + gold + ivory
   ========================================================================== */

:root {
  --navy:        #0c1a26;
  --navy-2:      #102534;
  --navy-3:      #16344a;
  --ink:         #182934;
  --slate:       #435666;
  --muted:       #71828f;
  --line:        #e4e0d7;
  --line-dark:   #21384b;
  --ivory:       #f7f4ed;
  --ivory-2:     #efeae0;
  --white:       #ffffff;
  --gold:        #b78d47;
  --gold-2:      #cba869;
  --gold-soft:   #d8be86;
  --gold-deep:   #93702f;

  --maxw: 1200px;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(12,26,38,0.05), 0 10px 30px rgba(12,26,38,0.06);
  --shadow-md: 0 24px 60px rgba(12,26,38,0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.12; letter-spacing: -0.01em; }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; }
.section-title.light { color: #fff; }
h3 { font-size: 1.55rem; }
p { color: var(--slate); }
em { font-style: italic; color: var(--gold-2); }
.lede { font-size: 1.15rem; color: var(--ink); }

.overline {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.overline.light { color: var(--gold-soft); }
.overline .rule { width: 34px; height: 1px; background: currentColor; opacity: 0.6; display: inline-block; }
.overline.center-rule { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { margin: 0 auto 64px; text-align: center; }
.section-intro { font-size: 1.1rem; margin-top: 20px; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 15px 30px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.28s var(--ease);
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(147,112,47,0.28); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 30px rgba(12,26,38,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { height: 40px; width: auto; }
.brand-text { display: flex; align-items: baseline; gap: 7px; font-family: var(--serif); }
.brand-name { font-size: 1.4rem; font-weight: 600; letter-spacing: 0.3px; color: #fff; transition: color 0.35s var(--ease); }
.brand-suffix { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; color: var(--gold-soft); font-family: var(--sans); text-transform: uppercase; transition: color 0.35s var(--ease); }
.scrolled .brand-name { color: var(--navy); }
.scrolled .brand-suffix { color: var(--gold-deep); }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.82); letter-spacing: 0.02em; transition: color 0.2s; }
.main-nav a:hover { color: #fff; }
.scrolled .main-nav a { color: var(--slate); }
.scrolled .main-nav a:hover { color: var(--navy); }
.main-nav .nav-cta { color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,0.4); padding: 9px 22px; border-radius: var(--radius); }
.main-nav .nav-cta:hover { background: var(--gold); border-color: var(--gold); }
.scrolled .main-nav .nav-cta { color: var(--navy); border-color: rgba(12,26,38,0.25); }
.scrolled .main-nav .nav-cta:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: 0.3s; }
.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(103deg, rgba(9,18,26,0.94) 0%, rgba(9,18,26,0.78) 42%, rgba(9,18,26,0.30) 100%),
    linear-gradient(to top, rgba(9,18,26,0.65) 0%, rgba(9,18,26,0) 40%);
}
.hero-content { position: relative; z-index: 3; padding: 130px 32px 80px; max-width: 940px; }
.hero-title { color: #fff; font-size: clamp(2.7rem, 6.4vw, 5rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; margin-bottom: 30px; }
.hero-lede { font-size: 1.25rem; color: rgba(255,255,255,0.86); max-width: 600px; margin-bottom: 40px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-facts { display: flex; gap: 54px; flex-wrap: wrap; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.16); max-width: 640px; }
.hero-fact { display: flex; flex-direction: column; gap: 4px; }
.hf-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--gold-soft); }
.hf-label { font-size: 0.82rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.72); text-transform: uppercase; }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 14px; display: flex; justify-content: center; }
.scroll-cue span { width: 3px; height: 8px; background: var(--gold-soft); border-radius: 2px; margin-top: 8px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Value strip ---------- */
.value-strip { background: var(--navy); color: #fff; }
.value-inner { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 22px 32px; }
.value-inner span { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: rgba(255,255,255,0.9); }
.value-inner i { color: var(--gold); font-size: 0.55rem; font-style: normal; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-tint { background: var(--ivory-2); }
.section-dark { background: var(--navy); color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.about-lead { position: sticky; top: 110px; }
.about-body p { margin-bottom: 22px; font-size: 1.08rem; }
.about-body .lede { color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.stat-num { display: block; font-family: var(--serif); font-size: 2.8rem; font-weight: 500; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.86rem; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Sectors ---------- */
.sectors .section-head { margin-bottom: 24px; }
.sector-row { padding: 44px 0; }
.sector-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sector-row.reverse .sector-figure { order: 2; }
.sector-figure { position: relative; }
.sector-figure::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 62%; height: 62%; border: 1px solid var(--gold); opacity: 0.5; z-index: 0; }
.sector-row.reverse .sector-figure::before { inset: -14px auto auto -14px; }
.sector-img { position: relative; z-index: 1; height: 440px; background-size: cover; background-position: center; box-shadow: var(--shadow-md); }
.s-solar { background-image: url("https://images.unsplash.com/photo-1762381157166-f51ac99ab412?auto=format&fit=crop&w=1100&q=80"); }
.s-realestate { background-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1200&q=80"); }
.s-finance { background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=80"); }
.sector-index { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); font-weight: 600; letter-spacing: 0.14em; }
.sector-text h3 { font-size: 2.1rem; margin: 10px 0 18px; }
.sector-text > p { font-size: 1.06rem; margin-bottom: 24px; }
.sector-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sector-points li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.98rem; }
.sector-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; grid-auto-flow: row dense; }
.pf-card { position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.pf-tall { grid-row: span 2; }
.pf-wide { grid-column: span 2; }
.pf-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s var(--ease); }
.pf-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,18,26,0.92) 0%, rgba(9,18,26,0.28) 48%, rgba(9,18,26,0.05) 100%); }
.pf-card:hover .pf-img { transform: scale(1.07); }
.pf-warehouse { background-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1000&q=80"); }
.pf-commercial { background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=800&q=80"); }
.pf-retail { background-image: url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=800&q=80"); }
.pf-residential { background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80"); }
.pf-solarfarm { background-image: url("https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=800&q=80"); }
.pf-caption { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 26px 26px; color: #fff; }
.pf-index { font-family: var(--serif); font-size: 0.9rem; color: var(--gold-soft); letter-spacing: 0.14em; }
.pf-caption h3 { color: #fff; font-size: 1.4rem; margin: 4px 0 6px; }
.pf-caption p { color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.5; max-width: 320px; }

/* ---------- Approach ---------- */
.approach-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.approach-step { padding: 36px 34px; position: relative; }
.approach-step:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: 0; width: 1px; height: calc(100% - 60px); background: var(--line-dark); }
.approach-num { font-family: var(--serif); font-size: 3rem; font-weight: 500; color: var(--gold-soft); display: block; margin-bottom: 14px; line-height: 1; }
.approach-step h3 { color: #fff; margin-bottom: 12px; font-size: 1.5rem; }
.approach-step p { color: rgba(255,255,255,0.72); font-size: 0.99rem; }

/* ---------- Ethos ---------- */
.ethos { background: var(--navy-2); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.ethos::before { content: ""; position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1600&q=80") center/cover; opacity: 0.10; }
.ethos-inner { position: relative; text-align: center; max-width: 900px; }
.ethos-mark { font-family: var(--serif); font-size: 5rem; color: var(--gold); line-height: 0.6; display: block; margin-bottom: 10px; }
.ethos blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.35rem); font-weight: 400; font-style: italic; color: #fff; line-height: 1.4; letter-spacing: -0.01em; }
.ethos cite { display: block; margin-top: 26px; font-family: var(--sans); font-style: normal; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Leadership ---------- */
.leaders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.leader-card { display: flex; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 36px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.leader-avatar { flex-shrink: 0; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center; border: 1px solid var(--gold); box-shadow: 0 0 0 5px rgba(183,141,71,0.10); }
.leader-body h3 { font-size: 1.5rem; margin-bottom: 4px; }
.leader-role { display: block; color: var(--gold-deep); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.leader-body p { font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info .lede { margin-bottom: 34px; max-width: 460px; }
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cv-address { text-align: right; max-width: 64%; line-height: 1.5; }
.ck { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; }
.cv { font-size: 1.06rem; color: var(--navy); font-weight: 500; }
a.cv:hover { color: var(--gold-deep); }

.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 52px 42px; box-shadow: var(--shadow-md); border-top: 3px solid var(--gold); text-align: center; }
.contact-card h3 { color: #fff; font-size: 1.9rem; margin-bottom: 6px; }
.cc-sub { color: var(--gold-soft); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 30px; }
.cc-buttons { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.cc-note { color: rgba(255,255,255,0.6); font-size: 0.85rem; letter-spacing: 0.03em; }

/* ---------- Footer ---------- */
.site-footer { background: #081019; color: #fff; padding-top: 76px; border-top: 3px solid var(--gold); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand .brand-name { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-brand .brand-suffix { color: var(--gold-soft); font-size: 0.8rem; }
.footer-brand p { color: rgba(255,255,255,0.58); max-width: 360px; font-size: 0.95rem; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { color: var(--gold-soft); font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 8px; font-weight: 600; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.66); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.84rem; color: rgba(255,255,255,0.48); flex-wrap: wrap; gap: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { animation: none; transform: scale(1); }
  .scroll-cue span { animation: none; }
}

/* ---------- Polish details ---------- */
::selection { background: var(--gold); color: #fff; }
.section-title, .hero-title, .ethos blockquote { text-wrap: balance; }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { -webkit-user-drag: none; user-select: none; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.32s var(--ease); }
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.contact-list li { transition: padding-left 0.25s var(--ease); }
.contact-list li:hover { padding-left: 6px; }
.footer-col a { position: relative; width: fit-content; }
.footer-col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--gold-soft); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.footer-col a:hover::after { transform: scaleX(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-lead { position: static; }
  .sector-inner { gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .section { padding: 84px 0; }
  .sector-inner { grid-template-columns: 1fr; gap: 30px; }
  .sector-row.reverse .sector-figure { order: 0; }
  .sector-img { height: 340px; }
  .approach-track { grid-template-columns: 1fr; gap: 8px; }
  .approach-step:not(:last-child)::after { display: none; }
  .approach-step { border-bottom: 1px solid var(--line-dark); padding: 28px 0; }
  .approach-step:last-child { border-bottom: none; }
  .leaders-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .pf-wide { grid-column: span 2; }
  .pf-tall { grid-row: span 1; }
  .main-nav {
    position: fixed; top: 82px; right: 0;
    width: min(80vw, 330px); height: calc(100vh - 82px);
    background: var(--ivory); flex-direction: column; align-items: flex-start;
    gap: 6px; padding: 32px 30px; border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.34s var(--ease);
    box-shadow: -12px 0 44px rgba(12,26,38,0.12);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--slate); padding: 12px 0; font-size: 1.05rem; width: 100%; }
  .main-nav .nav-cta { color: var(--navy); margin-top: 10px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span { background: var(--navy); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero-facts { gap: 30px; }
  .about-stats { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .pf-wide, .pf-tall { grid-column: auto; grid-row: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .leader-card { flex-direction: column; gap: 18px; }
  .hero-actions .btn { flex: 1; }
}
