/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #C9A84C;
  --gold-light: #e0c070;
  --dark: #0d1117;
  --dark-2: #141920;
  --dark-3: #1c2430;
  --dark-4: #252e3d;
  --text: #e8e8e8;
  --text-muted: #8a9ab0;
  --text-dim: #5a6a7a;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===========================
   NAV
=========================== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

#nav.scrolled {
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 0.5rem 1.2rem !important;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===========================
   MOBILE MENU
=========================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark-2);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  text-align: center;
}

.mobile-menu ul li {
  margin: 1.5rem 0;
}

.mobile-menu ul li a {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.mobile-menu ul li a:hover {
  color: var(--gold);
}

/* ===========================
   HERO
=========================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 6rem 2rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  overflow: hidden;
}

#hero::before {
  content: 'GAINDÉ';
  position: absolute;
  bottom: -0.1em;
  right: -0.05em;
  font-family: var(--font-serif);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.07);
  letter-spacing: -0.02em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

#hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-sans);
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-gold {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===========================
   SECTION LABEL
=========================== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 50px;
  background: var(--gold);
  opacity: 0.4;
}

.section-label.light {
  color: var(--gold);
  opacity: 0.8;
}

/* ===========================
   ABOUT
=========================== */
#about {
  padding: 7rem 0;
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}

#about h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 2rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
  max-width: 540px;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.headshot-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: var(--dark-3);
}

.headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s;
}

.headshot:hover {
  filter: grayscale(0%);
}

.aside-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 1.8rem;
}

.aside-card h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.edu-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.edu-list li strong {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ===========================
   EXPERIENCE
=========================== */
#experience {
  padding: 7rem 0;
  background: var(--dark-2);
}

.background-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

#experience h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  position: sticky;
  top: 6rem;
}

.background-summary p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.employer-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.employer-list span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
}

/* ===========================
   GAINDE ADVISORY
=========================== */
#gainde {
  background: var(--dark-3);
}

.gainde-bg {
  padding: 7rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
}

.gainde-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5rem;
  gap: 2rem;
}

.gainde-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.gainde-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.gainde-lion {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  opacity: 0.7;
}

.gainde-lion svg {
  width: 100%;
  height: 100%;
}

.gainde-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-bottom: 5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
}

.service-card {
  background: var(--dark-3);
  padding: 2.5rem;
  transition: background 0.3s;
}

.service-card:hover {
  background: var(--dark-4);
}

.service-icon {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.2);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.gainde-name-story {
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 3rem 0;
  margin-bottom: 4rem;
}

.name-story-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.name-story-word {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.name-story-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.name-story-inner p em {
  color: var(--gold);
  font-style: normal;
}

.gainde-cta {
  text-align: center;
}

.gainde-cta p {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ===========================
   CONTACT
=========================== */
#contact {
  padding: 7rem 0;
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.contact-left > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:not(.no-link):hover {
  background: var(--dark-3);
}

.contact-item:not(.no-link):hover .contact-value {
  color: var(--gold);
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-value {
  font-size: 0.85rem;
  color: var(--text);
  transition: color 0.2s;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea {
  background: var(--dark-4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201, 168, 76, 0.5);
}

.form-submit {
  align-self: flex-start;
  padding: 0.9rem 2.2rem;
}

.form-success {
  display: none;
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}

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

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .gainde-services {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .background-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #experience h2 {
    position: static;
  }

  .gainde-header {
    flex-direction: column-reverse;
  }

  .gainde-lion {
    width: 100px;
    height: 100px;
  }

  .name-story-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .about-aside {
    grid-template-columns: 1fr;
  }

  .about-stats {
    gap: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
