/* ============================================================
   THRIVE — Corporate Minimal (v1)
   Palette: deep navy · warm gold · off-white
   Type: Playfair Display (display) · DM Sans (body)
============================================================ */

:root {
  --bg:          #0b1221;
  --bg-alt:      #0e1929;
  --bg-card:     #101f33;
  --bg-surface:  #152840;

  --gold:        #c9a462;
  --gold-light:  #dfc07e;
  --gold-dark:   #9d7c3e;
  --gold-faint:  rgba(201, 164, 98, 0.07);
  --gold-border: rgba(201, 164, 98, 0.22);

  --text:        #e3dbd0;
  --text-muted:  #7a7468;
  --text-dim:    #2e3d52;

  --border:      rgba(201, 164, 98, 0.14);
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', system-ui, -apple-system, sans-serif;
  --nav-h:       72px;
  --pad:         clamp(64px, 10vw, 120px);
  --wrap:        1200px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.body-lg { font-size: 18px; line-height: 1.75; color: var(--text-muted); }
.body-md { font-size: 16px; line-height: 1.7;  color: var(--text-muted); }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.section { padding: var(--pad) 0; }
.section-alt { background: var(--bg-alt); }
.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  border: none;
  margin: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: #0b1221;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 164, 98, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--gold-border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── Navigation ─────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(11, 18, 33, 0.92);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: all 0.3s; }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 32px; color: var(--text); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--text); font-size: 28px; cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(21, 40, 64, 0.9) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(14, 24, 44, 0.7) 0%, transparent 60%);
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(201,164,98,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-accent {
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(201,164,98,0.03) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  padding-bottom: 80px;
}
.hero-pre {
  font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s ease 0.3s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--gold);
  perspective: 600px;
  white-space: nowrap;
}
.hero-title span {
  display: inline-block;
  opacity: 0;
  animation: letterIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-title span:nth-child(1) { animation-delay: 0.5s; }
.hero-title span:nth-child(2) { animation-delay: 0.58s; }
.hero-title span:nth-child(3) { animation-delay: 0.66s; }
.hero-title span:nth-child(4) { animation-delay: 0.74s; }
.hero-title span:nth-child(5) { animation-delay: 0.82s; }
.hero-title span:nth-child(6) { animation-delay: 0.90s; }
.hero-divider {
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 32px 0;
  animation: expandLine 1s ease 1.2s both;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic; color: var(--text);
  margin-bottom: 20px; max-width: 600px;
  opacity: 0; animation: fadeUp 0.8s ease 1.3s both;
}
.hero-desc {
  font-size: 16px; line-height: 1.75; color: var(--text-muted);
  max-width: 520px; margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.8s ease 1.45s both;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s ease 1.6s both; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; animation: fadeUp 0.8s ease 2s both;
}
.hero-scroll span { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(180deg, var(--gold), transparent); animation: scrollPulse 2s ease-in-out 2s infinite; }

/* ── Section headers ─────────────────────────────────────── */
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .label { margin-bottom: 16px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

/* ── About ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 24px; }
.about-text-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
}
.about-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }
.about-stat { background: var(--bg-card); padding: 32px 28px; display: flex; flex-direction: column; gap: 8px; }
.about-stat-val { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--gold); line-height: 1; }
.about-stat-label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.positioning-bar { margin-top: 48px; padding: 28px 32px; border-left: 2px solid var(--gold); background: var(--gold-faint); }
.positioning-bar p { font-family: var(--font-display); font-size: 18px; font-style: italic; color: var(--text); line-height: 1.6; }

/* ── Services ────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--border); }
.service-card {
  background: var(--bg-card);
  padding: clamp(32px, 4vw, 52px);
  display: flex; flex-direction: column; gap: 24px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--bg-surface); }
.service-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--gold-border); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.service-icon svg { width: 22px; height: 22px; }
.service-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.service-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.service-desc { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.service-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.service-list li { font-size: 14px; color: var(--text-muted); padding-left: 18px; position: relative; }
.service-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: var(--gold); }

/* ── Why Thrive ──────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px); }
.why-item { display: flex; gap: 24px; align-items: flex-start; }
.why-num { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--gold); opacity: 0.3; line-height: 1; flex-shrink: 0; width: 56px; }
.why-body { display: flex; flex-direction: column; gap: 12px; }
.why-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); }
.why-desc { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ── Team ────────────────────────────────────────────────── */
.team-featured {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 4vw, 56px);
  background: var(--bg-card); border: 1px solid var(--border);
  margin-bottom: 2px; position: relative; overflow: hidden;
}
.team-featured::before { content: 'FOUNDER'; position: absolute; top: 28px; right: 36px; font-size: 10px; letter-spacing: 0.3em; color: var(--gold); opacity: 0.5; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-surface); position: relative; flex-shrink: 0;
}
.team-avatar::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold-border); }
.team-avatar-sm {
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-surface); flex-shrink: 0;
}
.avatar-initials { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--gold); }
.avatar-initials-sm { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--gold); }
.team-info { display: flex; flex-direction: column; gap: 10px; }
.team-name { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text); }
.team-role { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.team-bio { font-size: 15px; line-height: 1.75; color: var(--text-muted); max-width: 560px; }
.team-contact { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-top: 4px; transition: color 0.2s; }
.team-contact:hover { color: var(--gold); }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--border); }
.team-member { background: var(--bg-card); padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; transition: background 0.3s; }
.team-member:hover { background: var(--bg-surface); }
.team-member .team-name { font-size: 16px; }
.team-member .team-role { font-size: 10px; }

/* ── Philosophy ──────────────────────────────────────────── */
.philosophy-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.philosophy-values { display: flex; flex-direction: column; }
.value-item { padding: 28px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.value-item:first-child { border-top: 1px solid var(--border); }
.value-word { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text); }
.value-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.philosophy-statements { display: flex; flex-direction: column; gap: 2px; }
.statement { padding: 32px; background: var(--bg-card); border-top: 2px solid var(--gold); display: flex; flex-direction: column; gap: 12px; }
.statement-type { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.statement-text { font-family: var(--font-display); font-size: clamp(18px, 2.5vw, 24px); font-style: italic; color: var(--text); line-height: 1.5; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea { background: var(--bg-card); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 14px 18px; border-radius: 2px; outline: none; transition: border-color 0.2s; resize: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 2px; font-size: 14px; display: none; }
.form-status.success { display: block; background: rgba(201,164,98,0.1); border: 1px solid var(--gold-border); color: var(--gold-light); }
.form-status.error { display: block; background: rgba(180,60,60,0.1); border: 1px solid rgba(180,60,60,0.3); color: #e07070; }
.contact-info { display: flex; flex-direction: column; gap: 40px; padding-top: 8px; }
.office { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: var(--bg-card); border-left: 2px solid var(--gold); }
.office-label { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.office-name { font-family: var(--font-display); font-size: 18px; color: var(--text); }
.office-addr { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.contact-direct { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-muted); }
.contact-row svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.contact-row a:hover { color: var(--gold); }

/* ── Footer ──────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 10px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); max-width: 240px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .label { margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes letterIn {
  from { opacity: 0; transform: translateY(60px) rotateX(40deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expandLine {
  from { width: 0; }
  to   { width: min(480px, 60vw); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid        { grid-template-columns: 1fr; }
  .services-grid     { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: repeat(3, 1fr); }
  .philosophy-grid   { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links         { display: none; }
  .hamburger         { display: flex; }
  .why-grid          { grid-template-columns: 1fr; }
  .team-featured     { grid-template-columns: 1fr; text-align: center; }
  .team-avatar       { margin: 0 auto; }
  .team-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-inner      { flex-direction: column; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .hero-btns         { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .team-grid         { grid-template-columns: 1fr; }
  .about-stat-grid   { grid-template-columns: 1fr; }
  .hero-title        { font-size: clamp(52px, 14vw, 80px); letter-spacing: 0.08em; }
}
