/* =============================================
   BUOYANT OPERATIONS — Shared Stylesheet
   Colors: Navy #0D1B2A | Ocean Blue #0E5A8A
           Mid Blue #1D6FA8 | Light Blue #D6EAF8
           Sand #F4F1EC | Gray #595959
   Fonts: Playfair Display | Inter | Libre Baskerville
============================================= */

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

:root {
  --navy:       #0D1B2A;
  --navy-dark:  #070f18;
  --blue:       #0E5A8A;
  --mid-blue:   #1D6FA8;
  --light-blue: #D6EAF8;
  --pale-blue:  #EBF5FB;
  --sand:       #F4F1EC;
  --sand-dark:  #E8E3DA;
  --gray:       #595959;
  --mid-gray:   #888888;
  --white:      #FFFFFF;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --quote:      'Libre Baskerville', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--sand);
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 15, 24, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 40px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}

.nav-logo-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
}

.nav-logo-sub {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 6px;
  color: #7BAFD4;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 2px;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--mid-blue) !important; color: #fff !important; }

/* ── PAGE WRAPPER ── */
.page-content { padding-top: 84px; }

/* ── HERO VARIANTS ── */
.hero {
  background: var(--navy);
  padding: 100px 40px 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border: 60px solid rgba(14,90,138,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border: 40px solid rgba(29,111,168,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #7BAFD4;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: #7BAFD4;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 em {
  color: #7BAFD4;
  font-style: italic;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--mid-blue); }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

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

/* ── BTN WHITE (for use on colored backgrounds) ── */
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-white:hover { background: var(--pale-blue); color: var(--blue); }

/* ── CTA STRIP ── */
.cta-strip {
  padding: 88px 40px;
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
}
.cta-strip p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* ── SECTION UTILITIES ── */
.section { padding: 88px 40px; }
.section-sand { background: var(--sand); }
.section-white { background: #fff; }
.section-navy { background: var(--navy); }
.section-pale { background: var(--pale-blue); }

.section-inner { max-width: 860px; margin: 0 auto; }
.section-inner-wide { max-width: 1080px; margin: 0 auto; }

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--mid-blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.section-label.light { color: #7BAFD4; }
.section-label.light::before { background: #7BAFD4; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light { color: #fff; }
.section-title em { color: var(--blue); font-style: italic; }
.section-title.light em { color: #7BAFD4; }

.section-body {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px;
}

.section-body.light { color: rgba(255,255,255,0.65); }

/* ── DIVIDER ── */
.divider { width: 48px; height: 3px; background: var(--blue); margin: 20px 0 40px; }
.divider.light { background: #7BAFD4; }
.divider.center { margin-left: auto; margin-right: auto; }

/* ── STATS ROW ── */
.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {}
.stat-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid #E8E3DA;
  border-radius: 3px;
  padding: 36px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(13,27,42,0.08);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--pale-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-body {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
}

/* ── PULL QUOTE ── */
.pull-quote {
  font-family: var(--quote);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  padding-left: 28px;
  border-left: 3px solid var(--blue);
  margin: 48px 0;
}

.pull-quote.light {
  color: rgba(255,255,255,0.85);
  border-left-color: #7BAFD4;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  padding: 56px 40px 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 5px;
  color: #7BAFD4;
  margin-bottom: 14px;
}

.footer-tagline {
  font-family: var(--quote);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* ── BUOY LOGO MARK SVG ── */
.buoy-mark { flex-shrink: 0; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 72px; }
  .nav-logo-name { font-size: 20px; }
  .nav-logo-sub { font-size: 9px; letter-spacing: 4px; }
  .nav-links { display: none; }
  .page-content { padding-top: 72px; }
  .hero { padding: 56px 20px 52px; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .hero-sub { font-size: 16px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { text-align: center; }
  .stats-row { gap: 24px; }
  .stat-num { font-size: 28px; }
  .section { padding: 52px 20px; }
  .section-title { font-size: clamp(22px, 6vw, 32px); }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .cta-strip { padding: 56px 20px; }
  .cta-strip h2 { font-size: clamp(22px, 6vw, 32px); }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 0 0 28px; }
  .footer-links { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  footer { padding: 40px 20px 28px; }
}

@media (max-width: 480px) {
  nav { padding: 0 16px; }
  .hero { padding: 48px 16px 44px; }
  .section { padding: 44px 16px; }
  .hero h1 { font-size: clamp(26px, 9vw, 36px); }
  .stats-row { flex-direction: column; gap: 20px; padding-top: 28px; }
  .pull-quote { font-size: 16px; padding-left: 18px; }
  footer { padding: 36px 16px 24px; }
}

/* ── HAMBURGER MENU (mobile) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(7,15,24,0.98);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 2px;
  transition: all 0.15s;
}
.nav-mobile-menu a:hover, .nav-mobile-menu a.active {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.nav-mobile-menu .nav-cta-mobile {
  background: var(--blue);
  color: #fff !important;
  text-align: center;
  margin-top: 8px;
}

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