/* INVICTA — Design & Construction */
:root {
  --navy: #0a1626;
  --navy-2: #0d1d33;
  --navy-3: #122540;
  --gold: #c9926b;
  --gold-light: #e8c39a;
  --gold-dim: rgba(201, 146, 107, 0.35);
  --ink: #e9eef5;
  --ink-dim: #9fb0c4;
  --serif: "Marcellus", serif;
  --sans: "Jost", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.serif { font-family: var(--serif); font-weight: 400; }
.gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  background: linear-gradient(to bottom, rgba(10, 22, 38, 0.85), rgba(10, 22, 38, 0));
  backdrop-filter: blur(2px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
}
.nav-logo-text {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.38em;
  color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  border: 1px solid var(--gold);
  padding: 10px 22px;
  color: var(--gold-light) !important;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }

/* ---------- HERO SCRUB ---------- */
.scrub-section { height: 520vh; position: relative; }
.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.scrub-sticky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.scrub-loader {
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  width: 180px;
  height: 2px;
  background: rgba(233, 238, 245, 0.12);
  transition: opacity 0.6s;
  z-index: 5;
}
.scrub-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.scrub-loader.done { opacity: 0; }

.scrub-copy { position: absolute; inset: 0; pointer-events: none; }
.copy-line {
  position: absolute;
  opacity: 0;
  will-change: opacity, transform;
}
.hero-line-1 { left: 8%; top: 24%; max-width: 560px; }
.hero-line-1 h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.12;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(10, 22, 38, 0.8);
}
.hero-line-2 {
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}
.hero-line-2 h2 {
  font-size: clamp(26px, 3.4vw, 46px);
  letter-spacing: 0.14em;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.scroll-hint {
  position: absolute;
  right: 42px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  z-index: 5;
}
.scroll-hint-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: hint 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes hint {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- STATEMENT ---------- */
.statement {
  padding: 160px 0 140px;
  background: linear-gradient(to bottom, var(--navy), var(--navy-2));
}
.statement h2 {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.35;
  max-width: 940px;
}

/* ---------- SERVICES ---------- */
.services { padding: 60px 0 140px; background: var(--navy-2); }
.section-head { margin-bottom: 70px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 50px); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  padding: 46px 36px 40px;
  border: 1px solid rgba(201, 146, 107, 0.22);
  background: linear-gradient(160deg, rgba(201, 146, 107, 0.05), rgba(10, 22, 38, 0));
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.service-card.featured { border-color: var(--gold-dim); }
.service-num {
  position: absolute;
  top: 34px;
  right: 32px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-dim);
  letter-spacing: 0.2em;
}
.service-icon {
  width: 56px;
  height: 56px;
  color: var(--gold-light);
  margin-bottom: 30px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.service-card p { color: var(--ink-dim); font-size: 15px; margin-bottom: 24px; }
.service-card ul { list-style: none; }
.service-card li {
  font-size: 14px;
  color: var(--ink);
  padding: 9px 0;
  border-top: 1px solid rgba(201, 146, 107, 0.14);
  letter-spacing: 0.04em;
}
.service-card li::before {
  content: "—";
  color: var(--gold);
  margin-right: 10px;
}

/* ---------- PROCESS ---------- */
.process {
  padding: 130px 0;
  background: linear-gradient(to bottom, var(--navy-2), var(--navy));
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.process-step {
  padding: 34px 26px;
  border-top: 1px solid var(--gold-dim);
}
.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 18px;
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.process-step p { color: var(--ink-dim); font-size: 14px; }

/* ---------- ABOUT / STATS ---------- */
.about { padding: 130px 0; background: var(--navy); }
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-copy h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 24px; }
.about-text { color: var(--ink-dim); font-size: 16px; max-width: 480px; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(201, 146, 107, 0.18);
  border: 1px solid rgba(201, 146, 107, 0.18);
}
.stat {
  background: var(--navy-2);
  padding: 40px 32px;
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- CONTACT ---------- */
.contact {
  position: relative;
  padding: 0 0 130px;
  background: linear-gradient(to bottom, var(--navy), #081220);
}
.skyline-divider {
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 90px;
}
.skyline-divider svg { display: block; width: 100%; height: 120px; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-copy h2 { font-size: clamp(36px, 4.4vw, 62px); margin-bottom: 20px; }
.contact-sub { color: var(--ink-dim); font-size: 17px; }

.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 28px;
  border: 1px solid rgba(201, 146, 107, 0.22);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.contact-card:hover {
  border-color: var(--gold);
  background: rgba(201, 146, 107, 0.06);
  transform: translateX(6px);
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-value {
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid rgba(201, 146, 107, 0.16);
  padding: 34px 0;
  background: #081220;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--serif);
  letter-spacing: 0.3em;
  font-size: 15px;
}
.footer-brand em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 10px;
}
.footer-tag, .footer-copy { color: var(--ink-dim); font-size: 13px; letter-spacing: 0.06em; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-line-1 { left: 7%; right: 7%; top: 20%; }
  .statement, .about, .process { padding: 90px 0; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .container { padding: 0 22px; }
  .nav { padding: 18px 22px; }
  .nav-logo-text { font-size: 16px; letter-spacing: 0.28em; }
  .scroll-hint { right: 22px; }
}
