:root {
  --bg:      #080f12;
  --bg-2:    #0a1417;
  --panel:   #0e1c21;
  --text:    #eef4f5;
  --muted:   #9bb0b6;
  --faint:   #6f878e;
  --line:    rgba(255,255,255,0.10);
  --glass:   rgba(14,28,33,0.55);
  --accent:  #a9c9d0;
  --max:     1180px;
  --ease:    cubic-bezier(.16,.84,.28,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400; line-height: 1.5; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #d8e8ea); z-index: 100; transition: width .1s linear; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 64px;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8,15,18,0.6); backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { font-weight: 600; letter-spacing: .02em; text-decoration: none; font-size: 1.04rem; }
.nav nav a { text-decoration: none; color: var(--muted); margin-left: 28px; font-size: .9rem; transition: color .2s; }
.nav nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; cursor: pointer; text-decoration: none; border: none;
  background: var(--text); color: #080f12; font-weight: 600; font-size: 1rem;
  padding: 13px 30px; border-radius: 980px; transition: transform .15s var(--ease), opacity .2s, box-shadow .3s; }
.btn:hover { opacity: .92; box-shadow: 0 10px 40px rgba(169,201,208,.25); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--line);
  backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.link-arrow { color: var(--accent); text-decoration: none; font-size: 1.02rem; font-weight: 500; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 660px; overflow: hidden; }
.hero .layer { position: absolute; inset: -6% ; width: 112%; height: 112%; }
.hero .scene { width: 100%; height: 100%; display: block; }
/* real photo slot — drop web/images/hero.jpg to activate; sits above the drawn scene */
.hero .photo { background: center/cover no-repeat; background-image: url('images/hero.jpg');
  animation: kenburns 24s ease-in-out infinite alternate; }
.hero .photo:not([data-loaded]) { } /* hidden gracefully if 404 via onerror handler */
.hero .veil { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(8,15,18,.45) 0%, rgba(8,15,18,.12) 38%, rgba(8,15,18,.66) 100%); }
@keyframes kenburns { from { transform: scale(1);} to { transform: scale(1.08);} }
.hero-overlay { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; text-align: center; padding-top: 18vh; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .44em; font-size: .72rem;
  margin: 0 0 24px; padding-left: .44em; }
.hero h1 { font-size: clamp(2.9rem, 7.5vw, 6rem); font-weight: 600; letter-spacing: -0.035em;
  margin: 0; line-height: 1.0; text-shadow: 0 4px 60px rgba(0,0,0,.55); }
.hero .sub { color: #d7e3e6; font-size: clamp(1.05rem, 2.4vw, 1.55rem); font-weight: 300;
  margin: 22px 0 0; max-width: 32ch; text-shadow: 0 2px 40px rgba(0,0,0,.55); }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: var(--faint); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  animation: float 2.4s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }
.mist ellipse { animation: drift 28s ease-in-out infinite alternate; }
.mist ellipse:nth-child(2){ animation-duration: 36s; animation-direction: alternate-reverse; }
@keyframes drift { from{ transform: translateX(-44px);} to{ transform: translateX(44px);} }

/* ---------- Sections ---------- */
.section { padding: clamp(86px, 13vw, 168px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.statement { text-align: center; }
.statement h2 { font-size: clamp(1.95rem, 4.8vw, 3.5rem); font-weight: 600; letter-spacing: -0.028em;
  line-height: 1.12; margin: 0 auto; max-width: 19ch; }
.statement p { color: var(--muted); font-size: 1.16rem; max-width: 60ch; margin: 24px auto 0; font-weight: 300; }
.kicker { text-align: center; color: var(--accent); text-transform: uppercase; letter-spacing: .32em;
  font-size: .74rem; margin: 0 0 20px; }

/* ---------- Flagship feature (full-bleed image + glass card) ---------- */
.feature { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.feature .bg { position: absolute; inset: -8%; background: center/cover no-repeat;
  background-color: #11252b;
  background-image: linear-gradient(180deg, rgba(8,15,18,.5) 0%, rgba(8,15,18,.78) 100%);
  will-change: transform; }
.feat-tech   .bg { background-image: linear-gradient(180deg, rgba(8,15,18,.5), rgba(8,15,18,.78)), url('images/tech.jpg'); }
.feat-re     .bg { background-image: linear-gradient(180deg, rgba(8,15,18,.5), rgba(8,15,18,.78)), url('images/real-estate.jpg'); }
.feat-invest .bg { background-image: linear-gradient(180deg, rgba(8,15,18,.5), rgba(8,15,18,.78)), url('images/investments.jpg'); }
.feature.right .glass { margin-left: auto; margin-right: 4%; }
.feature .glass { position: relative; z-index: 2; max-width: 560px; margin-left: 4%;
  background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 48px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.feature .tag { color: var(--accent); text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; margin: 0 0 14px; }
.feature h3 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.feature p { color: #cdd9dc; font-size: 1.14rem; font-weight: 300; margin: 18px 0 28px; }
.feature .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Venture grid (image tiles) ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.tile { position: relative; min-height: 280px; border-radius: 20px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); display: flex; align-items: flex-end;
  transition: transform .5s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-6px); border-color: rgba(169,201,208,.45); }
.tile .bg { position: absolute; inset: 0; background: center/cover no-repeat; transition: transform .8s var(--ease);
  background-image: linear-gradient(180deg, rgba(8,15,18,.15) 0%, rgba(8,15,18,.85) 100%); }
.tile:hover .bg { transform: scale(1.06); }
.tile-p1 .bg { background-image: linear-gradient(180deg, rgba(8,15,18,.2), rgba(8,15,18,.88)), url('images/portfolio-1.jpg'); background-color:#0e2026; }
.tile-p2 .bg { background-image: linear-gradient(180deg, rgba(8,15,18,.2), rgba(8,15,18,.88)), url('images/portfolio-2.jpg'); background-color:#101e26; }
.tile-p3 .bg { background-image: linear-gradient(180deg, rgba(8,15,18,.2), rgba(8,15,18,.88)), url('images/portfolio-3.jpg'); background-color:#0f2220; }
.tile-p4 .bg { background-image: linear-gradient(180deg, rgba(8,15,18,.2), rgba(8,15,18,.88)), url('images/portfolio-4.jpg'); background-color:#0c181c; }
.tile .content { position: relative; z-index: 2; padding: 34px; }
.tile .tag { color: var(--accent); font-size: .7rem; text-transform: uppercase; letter-spacing: .24em; margin: 0 0 10px; }
.tile h3 { font-size: 1.55rem; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.02em; }
.tile p { color: var(--muted); font-weight: 300; margin: 0 0 18px; }

/* ---------- Services cards + sub-headings ---------- */
.section-head { text-align: center; max-width: 50ch; margin: 0 auto; }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.028em; margin: 0; }
.section-head p { color: var(--muted); font-size: 1.12rem; font-weight: 300; margin: 18px auto 0; }
.subhead { text-align: center; color: var(--accent); text-transform: uppercase; letter-spacing: .26em;
  font-size: .74rem; margin: 56px 0 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.scard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  transition: transform .4s var(--ease), border-color .3s; }
.scard:hover { transform: translateY(-4px); border-color: rgba(169,201,208,.4); }
.scard h4 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.scard p { margin: 0; color: var(--muted); font-weight: 300; }
.locked { display: inline-flex; align-items: center; gap: 9px; color: var(--accent);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .26em; margin: 0 0 16px; }
.locked::before { content: "🔒"; font-size: .9rem; }

/* ---------- About (portrait + text) ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.portrait { aspect-ratio: 4/5; border-radius: 20px; border: 1px solid var(--line); background: center/cover no-repeat;
  background-color: #0e1c21;
  background-image: linear-gradient(160deg, rgba(169,201,208,.1), rgba(8,15,18,.5)), url('images/about.jpg'); }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.025em; margin: 0 0 18px; }
.about-text p { color: var(--muted); font-size: 1.12rem; font-weight: 300; }

/* ---------- Connect / form (glass) ---------- */
.connect { max-width: 680px; margin: 0 auto; }
.lead-form { margin-top: 34px; background: var(--glass); border: 1px solid var(--line); border-radius: 22px;
  padding: 36px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lead-form label { display: block; margin-bottom: 18px; font-size: .84rem; color: var(--muted); letter-spacing: .02em; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; margin-top: 8px; padding: 14px 16px;
  font: inherit; color: var(--text); background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 12px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--faint); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--accent);
  background: rgba(255,255,255,0.08); }
.lead-form select option { color: #0a1215; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .checkbox { display: flex; align-items: center; gap: 10px; color: var(--text); }
.lead-form .checkbox input { width: auto; margin: 0; }
.form-msg { min-height: 1.3em; font-weight: 500; }
.form-msg.ok { color: #7fd1a0; }
.form-msg.err { color: #e98b80; }

/* ---------- Footer ---------- */
.footer { background: #050a0c; color: var(--muted); padding: 58px 0; font-size: .92rem; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 26px; }
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .legal { color: var(--faint); font-size: .82rem; }
.footer strong { color: var(--text); font-weight: 600; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mist ellipse, .scroll-cue, .hero .photo { animation: none; }
}

/* ---------- Privacy doc ---------- */
.doc { max-width: 720px; padding: 130px 0 80px; }
.doc h1 { font-weight: 600; letter-spacing: -0.02em; }
.doc h2 { font-size: 1.2rem; margin-top: 30px; font-weight: 600; }
.doc p, .doc li { color: var(--muted); font-weight: 300; }
.back { display: inline-block; margin-bottom: 22px; color: var(--accent); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .lead-form .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  .hero-overlay { padding-top: 24vh; }
  .feature .glass { margin: 0 16px; padding: 34px; }
}
