/* Delta Zulu — Custom styles beyond Tailwind */

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

/* ── Base ────────────────────────────────────────────── */
:root {
  --navy:  #081058;
  --navy2: #0a145f;
  --gold:  #707070;
  --gold2: #555555;
  --silver: #a0a8c0;
  --white: #f5f7fa;
  --border: rgba(112,112,112,0.25);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
}

.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.silver { color: var(--silver); }
.gold   { color: var(--gold); }

/* ── Navigation ──────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}

.wordmark span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--silver);
  transition: background 0.2s;
}

.nav-toggle:hover span { background: var(--white); }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(13, 27, 42, 0.98);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
  /* Subtle grid texture */
  background-image:
    linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--silver);
  max-width: 560px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 0.25rem;
}

/* ── Section base ─────────────────────────────────────── */
section { padding: 7rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--silver);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ── Divider ──────────────────────────────────────────── */
.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ── Tech Ventures ────────────────────────────────────── */
#technology { background: var(--navy2); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.tech-card {
  background: var(--navy2);
  padding: 2rem 1.75rem;
  transition: background 0.25s;
}

.tech-card:hover { background: #162840; }

.tech-card-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.tech-card p {
  font-size: 0.87rem;
  color: var(--silver);
  line-height: 1.6;
}

.advisory-bar {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.advisory-bar .label { flex-shrink: 0; }

.advisory-bar p {
  font-size: 0.9rem;
  color: var(--silver);
  margin: 0;
}

/* ── Portfolio ────────────────────────────────────────── */
#portfolio { background: var(--navy); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.portfolio-card {
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.25s;
}

.portfolio-card:hover { border-color: rgba(201,169,110,0.4); }

.portfolio-card-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.portfolio-card p {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.7;
}

.portfolio-card-detail {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--silver);
}

.portfolio-card-detail strong {
  color: var(--white);
  font-weight: 500;
}

/* ── About ────────────────────────────────────────────── */
#about { background: var(--navy2); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-text p strong { color: var(--white); font-weight: 500; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pillar {
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.pillar h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.pillar p {
  font-size: 0.87rem;
  color: var(--silver);
  line-height: 1.6;
  margin: 0;
}

/* ── Contact ──────────────────────────────────────────── */
#contact { background: var(--navy); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.contact-copy p {
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact-copy a {
  color: var(--gold);
  text-decoration: none;
}

.contact-copy a:hover { text-decoration: underline; }

/* Form */
form .form-group {
  margin-bottom: 1.25rem;
}

form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 0.5rem;
}

form input,
form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}

form input:focus,
form textarea:focus {
  border-color: rgba(201,169,110,0.5);
}

form input::placeholder,
form textarea::placeholder {
  color: rgba(138,155,176,0.5);
}

form textarea { resize: vertical; min-height: 130px; }

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-gold:hover { background: var(--gold2); }

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: #080f17;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-wordmark span { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--silver);
}

/* ── Utilities ────────────────────────────────────────── */
.mt-auto { margin-top: auto; }
