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

:root {
  --dark: #0a0e1a;
  --dark2: #111827;
  --accent: #c8a96e;
  --accent2: #e2c99a;
  --light: #f5f5f5;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-muted: #666;
  --font-head: 'Georgia', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200,169,110,0.2);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo img { display: block; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  flex: 1;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-social { display: flex; gap: 14px; align-items: center; }
.nav-social img { opacity: 0.7; transition: opacity 0.2s; }
.nav-social img:hover { opacity: 1; }

/* ── SHARED ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 30px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 36px;
}
.divider-light { background: rgba(255,255,255,0.5); }

.btn-primary {
  display: inline-block;
  padding: 13px 36px;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--dark);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 20px;
}
.hero-logo {
  width: 90px;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: 54px;
  font-weight: 400;
  letter-spacing: 6px;
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 40px;
}

/* ── ABOUT ── */
#about {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.about-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%);
}
.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,0.82);
}
.about-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 820px;
}
.about-content h2 { color: var(--white); }
.about-content p {
  line-height: 1.9;
  color: rgba(255,255,255,0.82);
  margin-bottom: 20px;
  font-size: 16px;
}
.about-details { margin-top: 24px; }

/* ── PORTFOLIO ── */
#portfolio {
  padding: 100px 0;
  background: var(--light);
}
#portfolio h2 { color: var(--dark); }
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 28px 20px 22px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 0 1 200px;
  min-width: 160px;
}
.portfolio-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.portfolio-logo-wrap {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-logo-wrap img {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
}
.portfolio-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

/* ── TEAM ── */
#team {
  padding: 100px 0;
  background: var(--white);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; }
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.team-card h3 {
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  color: var(--dark);
}
.team-title {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.team-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: left;
}
.team-bio a { color: inherit !important; text-decoration: none !important; }

/* ── ADVISORS ── */
#advisors {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
}
#advisors h2 { color: var(--white); }
#advisors .section-label { color: var(--accent2); }
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.advisor-card {
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 4px;
  padding: 28px 22px;
  transition: border-color 0.2s, background 0.2s;
}
.advisor-card:hover {
  border-color: var(--accent);
  background: rgba(200,169,110,0.05);
}
.advisor-card h4 {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--accent2);
  margin-bottom: 10px;
}
.advisor-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

/* ── CONTACT ── */
#contact {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,0.88);
}
.contact-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.contact-content h2 { color: var(--white); }
.contact-content .section-label { color: var(--accent2); }
.contact-intro {
  max-width: 600px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 50px;
  font-size: 16px;
}
.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 768px) { .contact-cols { grid-template-columns: 1fr; } }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}
.contact-item a { color: var(--accent2); text-decoration: none; }
.contact-item a:hover { color: var(--white); }
.contact-icon {
  color: var(--accent);
  font-size: 18px;
  margin-top: 2px;
  min-width: 22px;
}
.contact-social {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}
.contact-social img { opacity: 0.7; transition: opacity 0.2s; filter: brightness(0) invert(1); }
.contact-social img:hover { opacity: 1; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  padding: 40px 30px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { color: var(--white); }
.footer-social { display: flex; gap: 14px; }
.footer-social img { opacity: 0.5; filter: brightness(0) invert(1); transition: opacity 0.2s; }
.footer-social img:hover { opacity: 1; }

/* ── NAV TOGGLE (mobile) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FORM SUCCESS ── */
.form-success {
  color: var(--accent2);
  font-size: 15px;
  line-height: 1.8;
  padding: 20px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-social { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    flex-direction: column;
    padding: 8px 0 16px;
    gap: 0;
    z-index: 99;
    border-top: 1px solid rgba(200,169,110,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a { display: block; padding: 15px 30px; font-size: 13px; }
  .hero-content h1 { font-size: 36px; }
  .portfolio-card { flex: 0 1 calc(50% - 12px); }
  .advisors-grid { grid-template-columns: repeat(2, 1fr); }
}
