/* ─────────────────────────────────────────
   OmegaBIM — Premium Dark Landing Theme
   ───────────────────────────────────────── */

:root {
  /* Depth palette */
  --bg:           #080810;
  --bg-2:         #0c0c18;
  --surface:      #101020;
  --surface-2:    #14142a;
  --surface-3:    #1a1a38;
  --border:       rgba(232,149,42,0.10);
  --border-hover: rgba(232,149,42,0.28);

  /* Text */
  --fg:           #ede8e0;
  --fg-2:         #a09888;
  --fg-3:         #6a6050;

  /* Accent — refined amber, not neon */
  --accent:       #e8952a;
  --accent-glow:  rgba(232,149,42,0.18);
  --accent-dim:   #c47820;

  /* Fonts */
  --mono:   'DM Mono', monospace;
  --serif:  'DM Serif Display', serif;
  --sans:   'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Entrance Animations ───────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50%       { box-shadow: 0 0 36px rgba(232,149,42,0.32); }
}

.animate-in {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.15s; }
.animate-in:nth-child(3) { animation-delay: 0.25s; }
.animate-in:nth-child(4) { animation-delay: 0.35s; }

.animate-hero {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Navigation ─────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 56px;
  background: linear-gradient(180deg, rgba(8,8,16,0.92) 0%, transparent 100%);
  backdrop-filter: blur(0px);
  transition: background 0.3s ease;
}
.nav.scrolled {
  background: rgba(8,8,16,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.nav-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
}
.nav-social {
  color: var(--fg-3);
  transition: color 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
}
.nav-social:hover { color: var(--accent); transform: scale(1.1); }

/* ── Hero ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero:hover .hero-bg { transform: scale(1.0); }

/* Deep gradient overlay — text readable over any image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,   rgba(8,8,16,1)    0%, rgba(8,8,16,0.5) 45%, rgba(8,8,16,0.15) 100%),
    linear-gradient(to right, rgba(8,8,16,0.6)   0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 56px 100px;
  max-width: 760px;
}

.manifesto-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  animation: slideRight 0.6s ease forwards 0.1s;
}
.manifesto-eyebrow .sep { color: var(--fg-3); }

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.0;
  font-weight: 400;
  color: #fff;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.hero-body {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.35s;
}
.hero-body p {
  font-size: 17px;
  color: rgba(237,232,224,0.78);
  line-height: 1.75;
  margin-bottom: 14px;
}
.hero-body p:last-child { color: var(--accent); font-weight: 500; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}
.stat { flex: 1; padding: 0 32px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-value {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.05em;
}

/* ── Render Showcase ────────────────────── */
.render-showcase {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.render-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.render-showcase-item {
  position: relative;
  overflow: hidden;
  height: 280px;
}

/* Gradient overlay on showcase images */
.render-showcase-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(8,8,16,0.7) 100%
  );
  pointer-events: none;
}

.render-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.render-showcase-item:hover img { transform: scale(1.05); }

/* ── Deliverables ────────────────────────── */
.deliverables {
  padding: 96px 56px;
  background: var(--surface);
}

.deliverables-header { margin-bottom: 48px; }

.deliverables-render-strip {
  margin-bottom: 48px;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

/* Gradient overlay on deliverables hero image */
.deliverables-render-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16,16,32,0.6) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.render-strip-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.deliverables-render-strip:hover .render-strip-img { transform: scale(1.02); }

.render-strip-caption {
  background: rgba(232,149,42,0.08);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
}

.section-label {
  display: block;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.deliverables-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--fg);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

/* Premium cards — elevated with glow on hover */
.deliverable-card {
  background: var(--surface-2);
  padding: 44px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line */
.deliverable-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.deliverable-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 32px var(--accent-glow), 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.deliverable-card:hover::before { opacity: 1; }

.card-icon {
  color: var(--accent);
  margin-bottom: 24px;
}
.card-title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ── Sectors ─────────────────────────────── */
.sectors {
  padding: 96px 56px;
  background: var(--bg-2);
}

.sectors-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.sectors-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--fg);
  margin: 16px 0 20px;
}

.sectors-body {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.75;
}

.sector-list { display: flex; flex-direction: column; gap: 0; }
.sector-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
}
.sector-item:first-child { border-top: 1px solid var(--border); }
.sector-item:hover { border-bottom-color: var(--border-hover); }
.sector-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.sector-desc {
  font-size: 13px;
  color: var(--fg-2);
}

/* ── Proof ───────────────────────────────── */
.proof {
  padding: 96px 56px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--fg);
  margin: 16px 0 48px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

/* Premium project cards — image + overlay text, not stacked boxes */
.proof-card {
  background: var(--surface-2);
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.proof-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 28px var(--accent-glow), 0 12px 40px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

.proof-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Dark gradient over image so text below is visually connected */
.proof-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16,16,32,0.85) 0%,
    rgba(16,16,32,0.2) 60%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.proof-card:hover .proof-img-wrap::after {
  opacity: 0.85;
}

.proof-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.proof-card:hover .proof-img-wrap img { transform: scale(1.06); }

.proof-info {
  padding: 20px 22px 24px;
  border-left: 2px solid var(--accent);
  position: relative;
  z-index: 1;
}
.proof-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}
.proof-name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.2;
}
.proof-detail {
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ── Closing ──────────────────────────────── */
.closing {
  padding: 112px 56px;
  background: var(--bg);
  position: relative;
}

/* Subtle radial glow behind closing section */
.closing::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(232,149,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 28px;
  position: relative;
}
.closing-body {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.8;
  max-width: 600px;
  position: relative;
}

/* ── CTA Button — refined with glow ─────── */
.closing-cta { margin-top: 48px; }

.btn-cta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 18px 44px;
  text-decoration: none;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

/* Subtle glow on CTA */
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.btn-cta:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,149,42,0.35);
}

.btn-cta:active { transform: translateY(0); }

/* ── Nav Links ──────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-contact {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(237,232,224,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 6px 14px;
  border: 1px solid rgba(237,232,224,0.2);
  border-radius: 3px;
}
.nav-contact:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Hero CTA Row ───────────────────────── */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  padding: 14px 28px;
  border-radius: 3px;
  border: 1px solid var(--accent);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.btn-primary:hover {
  background: #f0a030;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,149,42,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(237,232,224,0.7);
  padding: 14px 20px;
  border: 1px solid rgba(237,232,224,0.25);
  border-radius: 3px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(237,232,224,0.5);
  background: rgba(237,232,224,0.06);
}
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-2);
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-ghost-sm:hover {
  color: var(--fg);
  border-color: var(--fg-3);
}

/* ── Contact Section ────────────────────── */
.contact-section {
  padding: 96px 56px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-section-inner { max-width: 680px; }
.contact-section-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contact-section-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 20px;
}
.contact-section-body {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 40px;
}
.contact-section-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  color: var(--fg-3);
}
.contact-email-link {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.contact-email-link:hover { border-bottom-color: var(--accent); }
.contact-section-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 56px;
  background: var(--surface);
}
.footer-inner { max-width: 900px; }
.footer-brand {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--fg-2);
  margin-bottom: 8px;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
}

/* ── Scrollbar Styling ────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

/* ── Selection Color ─────────────────────── */
::selection { background: rgba(232,149,42,0.25); color: var(--fg); }

/* ── Focus States ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
  .nav { padding: 20px 40px; }
  .hero-content { padding: 100px 40px 80px; }
  .deliverables, .sectors, .proof, .contact-section, .closing { padding-left: 40px; padding-right: 40px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 18px 24px; }
  .nav-meta { display: none; }
  .nav-links { gap: 12px; }

  .hero-content { padding: 96px 24px 64px; }
  .hero-headline { font-size: 38px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .stat { padding: 0; }

  .render-showcase-grid { grid-template-columns: 1fr; }
  .render-showcase-item { height: 220px; }

  .deliverables { padding: 56px 24px; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .deliverable-card { padding: 32px; }

  .sectors { padding: 56px 24px; }
  .sectors-inner { grid-template-columns: 1fr; gap: 40px; }
  .sector-item { grid-template-columns: 110px 1fr; gap: 16px; }

  .proof { padding: 56px 24px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }

  .contact-section { padding: 64px 24px; }
  .contact-section-actions { flex-direction: column; align-items: flex-start; }
  .contact-section-actions .btn-primary { width: 100%; justify-content: center; }

  .closing { padding: 72px 24px; }
  .closing-headline { font-size: 36px; }

  .footer { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .sector-item { grid-template-columns: 100px 1fr; gap: 12px; }
  .hero-stats { gap: 16px; }
}