/* ==========================================================================
   Blackstone & Co FZE — Design System & Stylesheet
   Maritime & Ports Strategic Advisory
   Typography: Headings -> Fraunces | Body/Nav -> IBM Plex Sans | Mono -> IBM Plex Mono
   Palette: Ink (#0F1B2D) | Paper (#F6F4EF) | Brass Accent (#AD8A52)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Core Brand Tokens */
  --ink: #0F1B2D;
  --paper: #F6F4EF;
  --brass: #AD8A52;
  --brass-light: #C4A46E;
  --brass-subtle: rgba(173, 138, 82, 0.12);
  --brass-border: rgba(173, 138, 82, 0.4);

  /* Fonts */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Global Metrics */
  --max-w-container: 1200px;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  font-family: var(--font-body);
  background-color: var(--ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w-container);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Typography Utilities */
.font-heading {
  font-family: var(--font-heading) !important;
  font-optical-sizing: auto;
}
.font-mono { font-family: var(--font-mono); }
.text-brass { color: var(--brass); }

/* Badges & Section Tags */
.coordinates-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--brass);
  background: var(--brass-subtle);
  border: 1px solid var(--brass-border);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.radar-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brass);
  border-radius: 50%;
  position: relative;
}

.radar-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--brass);
}

/* ==========================================================================
   Section Themes (Alternating Rhythm)
   ========================================================================== */

/* Dark Section (Ink Background) */
.section-dark {
  background-color: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(246, 244, 239, 0.08);
  border-bottom: 1px solid rgba(246, 244, 239, 0.08);
}

.section-dark .section-title {
  color: var(--paper);
}

.section-dark .section-subtitle {
  color: #A0AEC0;
}

.section-dark .card {
  background-color: #142236;
  border: 1px solid rgba(246, 244, 239, 0.1);
  color: var(--paper);
}

.section-dark .card:hover {
  background-color: #192B45;
  border-color: var(--brass-border);
}

.section-dark .card-title {
  color: var(--paper);
}

.section-dark .card-desc {
  color: #A0AEC0;
}

.section-dark .callout-box {
  background: #142236;
  border: 1px solid var(--brass-border);
  color: var(--paper);
}

/* Light Section (Paper Background) */
.section-light {
  background-color: var(--paper) !important;
  color: var(--ink);
  border-top: 1px solid rgba(15, 27, 45, 0.08);
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
}

.section-light p,
.section-light li {
  color: #2D3748;
}

.section-light .section-title {
  color: var(--ink) !important;
}

.section-light .section-subtitle {
  color: #4A5568 !important;
}

.section-light .card {
  background-color: #FFFFFF !important;
  border: 1px solid rgba(15, 27, 45, 0.12);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(15, 27, 45, 0.04);
}

.section-light .card:hover {
  background-color: #FAF8F5 !important;
  border-color: var(--brass);
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.08);
}

.section-light .card-title {
  color: var(--ink) !important;
}

.section-light .card-desc {
  color: #4A5568 !important;
}

.section-light .card-num {
  color: var(--brass);
}

.section-light .callout-box {
  background: #FFFFFF !important;
  border: 1px solid var(--brass-border);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(15, 27, 45, 0.05);
}

.section-light .callout-title {
  color: var(--ink) !important;
}

.section-light .text-secondary {
  color: #4A5568 !important;
}

.section-light .profile-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 27, 45, 0.12);
  color: var(--ink);
}

.section-light .profile-avatar-box {
  background: #FAF8F5;
  border: 1px solid var(--brass-border);
}

.section-light .profile-name {
  color: var(--ink);
}

.section-light .experience-tag {
  background: rgba(15, 27, 45, 0.04);
  border: 1px solid rgba(15, 27, 45, 0.1);
  color: #2D3748;
}

.section-light .form-control {
  background: #FFFFFF;
  border: 1px solid rgba(15, 27, 45, 0.18);
  color: var(--ink);
}

.section-light .form-control:focus {
  border-color: var(--brass);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(173, 138, 82, 0.15);
}

.section-light .form-label {
  color: #2D3748;
}

.section-light .showcase-image-box {
  background: #FFFFFF;
  border: 1px solid rgba(15, 27, 45, 0.12);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 27, 45, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(246, 244, 239, 0.1);
  padding: 1.1rem 0;
  transition: var(--transition-smooth);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-crest {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #8C9BAE;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #CBD5E1;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--paper);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brass);
  border-radius: 1px;
}

/* ==========================================================================
   Buttons & CTAs (Outlined or text-only with Brass accent — NEVER solid fill)
   ========================================================================== */

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--brass) !important;
  background: transparent !important;
  border: 1.5px solid var(--brass) !important;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--brass-subtle) !important;
  color: var(--brass-light) !important;
  border-color: var(--brass-light) !important;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--brass) !important;
  border: 1.5px solid var(--brass) !important;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.btn-primary:hover {
  background: var(--brass-subtle) !important;
  background-color: var(--brass-subtle) !important;
  color: var(--brass-light) !important;
  border-color: var(--brass-light) !important;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent !important;
  background-color: transparent !important;
  color: inherit;
  border: 1px solid rgba(173, 138, 82, 0.45) !important;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.btn-secondary:hover {
  border-color: var(--brass) !important;
  color: var(--brass) !important;
  background: var(--brass-subtle) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(246, 244, 239, 0.15);
  color: var(--paper);
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  background-color: var(--ink);
  color: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-tag {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #A0AEC0;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.hero-cover-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--brass-border);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  background: #080D1A;
}

.hero-cover-frame img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cover-frame:hover img {
  transform: scale(1.03);
}

.hero-cover-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 27, 45, 0.95) 0%, rgba(15, 27, 45, 0) 100%);
  padding: 1.5rem 1.25rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--brass);
  text-transform: uppercase;
}

/* ==========================================================================
   Metrics Strip
   ========================================================================== */

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.metric-sub {
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Cards & Layout Components
   ========================================================================== */

.section {
  padding: 4.75rem 0;
}

.section-head {
  margin-bottom: 2.75rem;
  max-width: 760px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 2.25rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
  position: relative;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brass);
  margin-bottom: 0.75rem;
  display: block;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
}

.callout-box {
  padding: 2.25rem;
  border-radius: 6px;
  margin: 2.5rem 0;
}

.callout-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.showcase-image-box {
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-image-box img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.showcase-image-box:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   Leadership Profile Component
   ========================================================================== */

.profile-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  border-radius: 6px;
  align-items: start;
}

.profile-avatar-box {
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-monogram {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  background: var(--brass-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
  margin: 0 auto 0.9rem;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.profile-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--brass);
  text-transform: uppercase;
}

.experience-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: auto;
  background-color: #0B1320;
  color: var(--paper);
  border-top: 1px solid rgba(246, 244, 239, 0.08);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: #8C9BAE;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.88rem;
  color: #CBD5E1;
}

.footer-link:hover {
  color: var(--brass-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 244, 239, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8C9BAE;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0F1B2D;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(246, 244, 239, 0.12);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
