/* ============================================
   HABEZION GROUP — Corporate Holding
   Palette: Deep navy + gold accent
   Type: Fraunces (display) + Inter (body)
   ============================================ */

:root {
  /* Colors */
  --navy-950: #060d1c;
  --navy-900: #0a1628;
  --navy-800: #10203a;
  --navy-700: #182d4d;
  --navy-600: #24406b;
  --gold:     #c9a75c;
  --gold-bright: #dfb968;
  --gold-dim:  #8f7638;
  --ivory:    #f6f2e8;
  --paper:    #fbf9f4;
  --ink:      #12192a;
  --ink-2:    #38425a;
  --ink-3:    #6b7386;
  --line:     #e6e2d6;
  --line-dark: rgba(255,255,255,0.10);

  /* Type */
  --f-display: 'Fraunces', ui-serif, Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ivory);
  transition: transform .25s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}
.site-footer .brand-logo { height: 60px; }
@media (max-width: 640px) {
  .brand-logo { height: 42px; }
}

.nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 24px;
}
.nav a {
  color: var(--ivory);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity .2s, color .2s;
}
.nav a:hover { opacity: 1; color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 2px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory);
  transition: all .3s;
}
.mobile-menu {
  display: none;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(14px);
  padding: 20px var(--pad);
  border-top: 1px solid var(--line-dark);
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--ivory);
  font-size: 15px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu.open { display: block; }

@media (max-width: 860px) {
  .nav, .site-header .btn { display: none; }
  .mobile-toggle { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,13,28,0.55) 0%, rgba(6,13,28,0.75) 60%, rgba(6,13,28,0.95) 100%),
    linear-gradient(90deg, rgba(6,13,28,0.85) 0%, rgba(6,13,28,0.35) 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 500;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.5s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,167,92,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(201,167,92,0); }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ivory);
}
.hero-title .accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  max-width: 620px;
  color: rgba(246,242,232,0.85);
  margin: 0 0 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 720px;
}
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,242,232,0.7);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-title br { display: none; }
}

/* ============ SECTIONS ============ */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
}
.section-dark {
  background: var(--navy-900);
  color: var(--ivory);
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 600;
  margin-bottom: 20px;
}
.section-eyebrow.accent-text { color: var(--gold); }
.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.section-title.light { color: var(--ivory); }
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.65;
}
.section-sub.light-sub { color: rgba(246,242,232,0.7); }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
.lede {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 24px;
}
.about-body p { color: var(--ink-2); font-size: 1.02rem; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 720px) { .pillar-grid { grid-template-columns: 1fr; gap: 24px; } }
.pillar {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pillar-num {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.pillar h3 {
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}
.pillar p { margin: 0; color: var(--ink-2); font-size: 0.92rem; line-height: 1.6; }

/* ============ COMPANIES ============ */
.companies-header {
  max-width: 780px;
  margin: 0 auto 80px;
  text-align: center;
}
.companies-header .section-sub { margin: 0 auto; }

.company-list {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 140px);
}
.company-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.company-card.reverse { direction: rtl; }
.company-card.reverse > * { direction: ltr; }
@media (max-width: 860px) {
  .company-card,
  .company-card.reverse { grid-template-columns: 1fr; direction: ltr; }
}

.company-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-800);
}
.company-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
  filter: brightness(0.92);
}
.company-card:hover .company-image img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 20px; left: 20px;
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.badge-active { background: rgba(46, 160, 67, 0.9); color: white; }
.badge-launching { background: rgba(201, 167, 92, 0.95); color: var(--navy-900); }
.badge-soon { background: rgba(246, 242, 232, 0.15); color: var(--ivory); border: 1px solid rgba(246,242,232,0.3); }

.company-info { padding: 8px 0; }
.company-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.company-num {
  font-family: var(--f-display);
  color: var(--gold);
  font-weight: 700;
}
.company-jur { color: rgba(246,242,232,0.55); font-weight: 500; }

.company-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  color: var(--ivory);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.company-tag {
  font-size: 14px;
  color: var(--gold);
  margin: 0 0 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.company-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(246,242,232,0.75);
  margin: 0 0 24px;
  max-width: 520px;
}
.company-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.company-attrs span {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid rgba(246,242,232,0.15);
  color: rgba(246,242,232,0.75);
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.company-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap .2s;
}
.company-link:hover { gap: 14px; }
.company-link.muted {
  color: rgba(246,242,232,0.5);
  border-bottom-color: rgba(246,242,232,0.25);
  cursor: default;
}

/* ============ APPROACH ============ */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr; } }
.approach-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) { .approach-cards { grid-template-columns: 1fr; } }
.approach-card {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10, 22, 40, 0.18);
  border-color: var(--gold);
}
.approach-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--navy-900);
  color: var(--gold);
  border-radius: 3px;
  margin-bottom: 20px;
}
.approach-icon svg { width: 22px; height: 22px; }
.approach-card h3 {
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
}
.approach-card p { margin: 0; font-size: 0.94rem; color: var(--ink-2); line-height: 1.6; }

/* ============ LEADERSHIP ============ */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 900px) { .leadership-grid { grid-template-columns: 1fr; } }

.leader-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
  background: rgba(255,255,255,0.03);
  padding: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
}
@media (max-width: 640px) {
  .leader-card { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
}
.leader-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-radius: 4px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
}
.leader-monogram {
  font-family: var(--f-display);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.leader-shield {
  width: 68%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}
.leader-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.leader-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.9rem;
  color: var(--ivory);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.leader-bio {
  color: rgba(246,242,232,0.75);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 20px;
}
.leader-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.leader-attrs span {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border: 1px solid rgba(246,242,232,0.15);
  color: rgba(246,242,232,0.75);
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ CTA / CONTACT ============ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,167,92,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201,167,92,0.08) 0%, transparent 40%);
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cta-inner .section-eyebrow { color: var(--gold); }
.cta-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: var(--ivory);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(246,242,232,0.75);
  margin: 0 0 56px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  transition: all .3s;
  cursor: pointer;
}
.contact-card:not(.static):hover {
  background: rgba(201,167,92,0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.contact-card.static { cursor: default; }
.contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-value {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--ivory);
  margin-bottom: 12px;
  word-break: break-word;
}
.contact-hint {
  font-size: 12px;
  color: rgba(246,242,232,0.55);
  letter-spacing: 0.04em;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-950);
  color: var(--ivory);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-desc {
  color: rgba(246,242,232,0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-col a, .footer-col .static-line {
  color: rgba(246,242,232,0.72);
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(246,242,232,0.5);
  letter-spacing: 0.02em;
}

/* ============ REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
