/* ─── Variables ─────────────────────────────────────────── */
:root {
  --navy:       #0B1D31;
  --navy-mid:   #122540;
  --navy-soft:  #1A3050;
  --white:      #FFFFFF;
  --off-white:  #F6F6F4;
  --gray-100:   #E5E7EB;
  --gray-400:   #9CA3AF;
  --gray-600:   #4B5563;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── Nav ────────────────────────────────────────────────── */
#nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.375rem 2.5rem;
  background: rgba(11, 29, 49, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: padding 0.3s var(--ease);
}

#nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

#nav ul a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

#nav ul a:hover { color: #fff; }

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  color: #fff !important;
  transition: background 0.2s, border-color 0.2s !important;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.3) !important;
}

.nav-logo img { display: block; }

/* hamburger — hidden on desktop */
.nav-toggle { display: none; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  display: block;
}

/* dark gradient overlay so text stays readable regardless of photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,29,49,0.85) 40%, rgba(11,29,49,0.45) 100%),
    linear-gradient(to top, rgba(11,29,49,0.6) 0%, transparent 50%);
}

/* geometric accent — mirrors the AM mountain mark */
.hero-geo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  margin-bottom: 2.75rem;
}

.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 2.5rem;
  color: rgba(255,255,255,0.25);
  z-index: 1;
  animation: bob 2.5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s;
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-light:hover { background: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.88); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.45); }

.btn-dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-dark:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-100);
}
.btn-outline:hover { border-color: var(--navy); }

.btn-full { width: 100%; justify-content: center; }

/* ─── Shared section styles ──────────────────────────────── */
.section { padding: 6.5rem 2.5rem; }

.section-dark {
  background: var(--navy);
  color: #fff;
}

.container {
  max-width: 1060px;
  margin-inline: auto;
}

.label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.875rem;
}
.label-light { color: rgba(255,255,255,0.35); }

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.section-dark h2 { color: #fff; }

.section-divider {
  height: 1px;
  background: var(--gray-100);
  max-width: 1060px;
  margin-inline: auto;
}

/* ─── About ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

/* Portrait column */
.about-portrait { position: relative; }

.portrait-frame {
  position: sticky;
  top: 6rem;
}

.portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  background: var(--off-white);
  /* placeholder tint when no image is loaded */
  filter: brightness(0.98);
}

/* two city chips overlaid at the bottom of the portrait */
.portrait-locations {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.875rem;
}

.location-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.75rem;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  flex: 1;
  overflow: hidden;
}

.location-photo {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 1px;
  flex-shrink: 0;
  background: var(--gray-100);
}

/* Right text column */
.about-right h2 { margin-bottom: 1.5rem; }

.about-right p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 1.125rem;
}

.about-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin: 2rem 0;
}

.meta-item { display: flex; flex-direction: column; gap: 0.25rem; }

.meta-number {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.01em;
}

/* Career highlights list */
.career-highlights {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.career-highlights li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.career-highlights li::before {
  content: '→';
  font-size: 0.8125rem;
  color: var(--gray-400);
  flex-shrink: 0;
}

.career-highlights li:last-child {
  color: var(--navy);
  font-weight: 500;
}

.career-highlights li:last-child::before {
  color: var(--navy);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 0.125rem;
  transition: border-color 0.2s, gap 0.2s var(--ease);
}
.link-arrow:hover { border-color: var(--navy); gap: 0.75rem; }

/* ─── Advisory ───────────────────────────────────────────── */
.advisory-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 4rem;
}

.advisory-header h2 { margin-top: 0.5rem; }

.advisory-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  align-self: end;
  padding-bottom: 0.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.07);
}

.service-card {
  padding: 2.75rem;
  background: var(--navy);
  transition: background 0.25s var(--ease);
}
.service-card:hover { background: var(--navy-mid); }

.service-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.22);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.48);
}

/* ─── Team ───────────────────────────────────────────────── */
.team-header {
  margin-bottom: 3.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.team-card:hover { border-color: var(--gray-400); }

.team-photo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--off-white);
  flex-shrink: 0;
  margin: 2rem 2rem 0;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: transform 0.4s var(--ease);
}
.team-card:hover .team-photo { transform: scale(1.05); }

.team-info {
  padding: 1.25rem 2rem 2rem;
}

.team-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.team-name-row h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.team-linkedin {
  color: var(--gray-400);
  transition: color 0.2s;
  flex-shrink: 0;
}
.team-linkedin:hover { color: var(--navy); }

.team-title {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-600);
}

@media (max-width: 680px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ─── Quote ──────────────────────────────────────────────── */
.section-quote {
  background: var(--off-white);
  padding-block: 5rem;
}

.section-quote blockquote {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.section-quote blockquote p {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-quote cite {
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--gray-400);
  letter-spacing: 0.03em;
}

/* ─── Contact ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.contact-left h2 { margin-top: 0.5rem; margin-bottom: 1.25rem; }

.contact-left p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.contact-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 4px;
  padding: 2.5rem;
}

.contact-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.875rem;
}

.contact-card-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.75rem;
}

.contact-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
  margin-top: 1.5rem;
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 2.25rem 2.5rem;
}

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

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── Mobile nav ─────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: transform 0.2s, opacity 0.2s;
}

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

  .portrait-frame { position: static; }

  .portrait-img { aspect-ratio: 4/3; object-position: center 20%; }

  .advisory-header,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .advisory-header { margin-bottom: 2.5rem; }
  .advisory-intro { padding-bottom: 0; }

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

@media (max-width: 680px) {
  #nav { padding: 1.125rem 1.5rem; }

  #nav ul {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 199;
  }

  #nav ul a { font-size: 1.25rem; color: rgba(255,255,255,0.8) !important; }
  .nav-cta { border: none !important; background: none !important; padding: 0 !important; }

  .nav-toggle { display: flex; position: relative; z-index: 201; }

  body.nav-open #nav ul { display: flex; }

  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-scroll-hint { left: 1.5rem; }

  .section { padding: 4.5rem 1.5rem; }
  .section-quote { padding-block: 3.5rem; }

  .portrait-locations { flex-direction: column; }

  .about-meta { gap: 1.5rem; }

  .service-card { padding: 2rem; }

  .contact-card { padding: 2rem; }

  footer { padding: 2rem 1.5rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { justify-content: center; }
}
