:root {
  --navy: #003366;
  --navy-dark: #002244;
  --navy-light: #004488;
  --steel: #4D6878;
  --steel-light: #a8bfcf;
  --gray-light: #CCCCCC;
  --gray-mid: #666666;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --cream: #F5F3EF;
  --black: #000000;
  --text: #2C2C2C;
  --text-light: #5A6E7F;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

/* Skip navigation link (accessibility) */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.75;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0, 51, 102, 0.97);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav.scrolled { background: rgba(0, 34, 68, 0.99); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 72px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
  padding: 8px 14px; border-radius: 4px;
  transition: all 0.2s ease; text-transform: uppercase;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: #fff; background: rgba(255,255,255,0.08); }

/* Dropdown */
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--navy); border-radius: 6px;
  min-width: 260px; padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
}
.nav-links > li:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 10px 20px; color: rgba(255,255,255,0.8);
  text-decoration: none; font-size: 15px; font-weight: 400;
  transition: all 0.15s ease;
}
.dropdown-menu a:hover, .dropdown-menu a.active { background: rgba(255,255,255,0.06); color: #fff; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 12px; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

/* ---- HERO SECTIONS ---- */
.hero {
  position: relative; aspect-ratio: 21/9; min-height: 280px; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-home { aspect-ratio: 21/9; min-height: 280px; max-width: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,33,66,0.55) 0%, rgba(0,33,66,0.7) 100%);
  z-index: 1;
}
.hero-video, .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; text-align: center; padding: 0 40px;
}
.hero-content h1 {
  font-family: var(--serif); color: var(--white);
  font-size: clamp(32px, 5vw, 56px); font-weight: 500;
  line-height: 1.2; margin-bottom: 20px;
}
.hero-content p {
  color: rgba(255,255,255,0.85); font-size: clamp(16px, 2vw, 20px);
  font-weight: 300; line-height: 1.6; max-width: 600px; margin: 0 auto;
}
.hero-cta {
  display: inline-block; margin-top: 36px;
  padding: 14px 36px; background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white); font-family: var(--sans);
  font-size: 14px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.3s ease; border-radius: 2px;
}
.hero-cta:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }

/* ---- SPLIT HERO ---- */
.hero-split {
  position: relative; aspect-ratio: 21/9; min-height: 280px; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-split-bg {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: 1fr 1fr; z-index: 0;
}
.hero-split-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-split .hero-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-split .hero-content { position: relative; z-index: 2; }
.hero-split-titles {
  position: absolute; inset: 0; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
}
.hero-split-titles .hero-title-half {
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px;
}
.hero-split-titles h1, .hero-split-titles .hero-h1 {
  font-family: var(--serif); color: var(--white);
  font-size: clamp(28px, 4vw, 48px); font-weight: 500;
  text-align: center; line-height: 1.2;
}

/* ---- SECTIONS ---- */
.section {
  padding: 40px 40px;
  max-width: 1200px; margin: 0 auto;
}
.section-narrow { max-width: 780px; }
.section-wide { max-width: 1400px; }

.section-label {
  font-size: 13px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--steel);
  margin-bottom: 16px;
}

h2.section-title {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 42px);
  font-weight: 500; color: var(--navy); line-height: 1.25;
  margin-bottom: 24px;
}


.body-text {
  font-size: 18px; line-height: 1.8; color: var(--text);
  margin-bottom: 28px;
}
.body-text:last-child { margin-bottom: 0; }

/* ---- CARDS ---- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px; margin-top: 32px;
}
.card {
  background: var(--white); border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,51,102,0.06);
  transition: all 0.3s ease;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,51,102,0.1); }
.card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.03); }
.card-img-wrap { overflow: hidden; }
.card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1 1 auto; }
.card-body h2, .card-body h3 {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--navy); margin-bottom: 12px;
}
.card-body p {
  font-size: 17px; line-height: 1.7; color: var(--text-light);
  margin-bottom: 28px;
}

.card-cue {
  display: inline-block; margin-top: auto; align-self: center;
  padding: 12px 28px; border: 1px solid var(--navy);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--navy); transition: all 0.3s ease;
}
.card:hover .card-cue { background: var(--navy); color: var(--white); }


/* ---- SPLIT SECTION ---- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
  padding: 40px 40px;
  max-width: 1280px; margin: 0 auto;
}
.split-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 6px;
}
.split-text h2 {
  font-family: var(--serif); font-size: 34px; font-weight: 500;
  color: var(--navy); margin-bottom: 20px; line-height: 1.3;
}
.split-text p {
  font-size: 18px; line-height: 1.8; color: var(--text);
  margin-bottom: 20px;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--navy); padding: 40px 40px; text-align: center;
}
.cta-band h2 {
  font-family: var(--serif); font-size: 32px; font-weight: 500;
  color: var(--white); margin-bottom: 16px;
}
.cta-band p {
  color: rgba(255,255,255,0.7); font-size: 19px;
  max-width: 560px; margin: 0 auto 32px;
}
.cta-band .btn {
  display: inline-block; padding: 14px 40px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; transition: all 0.3s ease;
}
.cta-band .btn:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---- BACKGROUND VARIANTS ---- */
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.8); }
.bg-navy .section-label { color: var(--steel-light); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy-dark); padding: 0 40px 32px;
  color: rgba(255,255,255,0.6); font-size: 15px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-brand-center { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; align-items: center; height: 72px; }
.footer-brand-center img { height: 36px; width: auto; justify-self: center; }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 0 0 36px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
.footer-col .footer-col-heading {
  color: var(--white); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.55); text-decoration: none;
  padding: 8px 0; font-size: 15px; transition: color 0.2s; min-height: 44px;
  display: flex; align-items: center;
}
.footer-col a:hover { color: var(--white); }
.footer-col .footer-col-heading a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer-col .footer-col-heading a:hover { color: var(--steel-light); }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; font-size: 14px; color: rgba(255,255,255,0.35);
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- CONTACT FORM ---- */
.contact-form { max-width: 600px; margin-top: 40px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(0,51,102,0.15);
  border-radius: 4px; font-family: var(--sans); font-size: 16px;
  color: var(--text); background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.submit-btn {
  display: block; margin: 0 auto; width: fit-content;
  padding: 16px 40px; min-height: 44px;
  background: transparent; color: var(--navy);
  border: 1px solid var(--navy); font-family: var(--sans);
  font-size: 14px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer;
  transition: all 0.3s; border-radius: 2px;
}
.submit-btn:hover { background: var(--navy); color: var(--white); }
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; border: 1px solid #ccc; border-radius: 4px; padding: 16px 16px; }
.checkbox-label { display: block; position: relative; padding: 12px 0 12px 30px; min-height: 44px; font-family: var(--sans); font-size: 15px; color: var(--steel); cursor: pointer; font-weight: 400; line-height: 1.35; }
.checkbox-label input[type="checkbox"] { position: absolute; left: 0; top: 12px; width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; margin: 0; }

/* ---- BREADCRUMB BAR ---- */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 40px;
}
.breadcrumb-bar span {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.breadcrumb-bar span a {
  color: var(--gray);
  text-decoration: none;
}
.breadcrumb-bar span a:hover {
  color: var(--navy);
}
.breadcrumb-bar .breadcrumb-current {
  color: var(--navy);
  font-weight: 600;
}

/* ---- ABOUT GRID ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.about-grid-item {
  padding: 40px 40px;
}
.about-grid-item:nth-child(1) { background: #E8EEF3; }
.about-grid-item:nth-child(2) { background: var(--white); }
.about-grid-item:nth-child(3) { background: #E8EEF3; }
.about-grid-item:nth-child(4) { background: var(--white); }
.about-grid-item .section-label { margin-bottom: 8px; }
.about-grid-item .section-title { font-size: clamp(20px, 2.5vw, 28px); margin-bottom: 20px; }
.about-grid-item .body-text { font-size: 16px; }


/* ---- ABOUT PAGE OVERRIDE ---- */
.about-grid-3col {
  grid-template-columns: 1fr 1fr 1fr;
}
.about-grid-3col .about-grid-item:nth-child(4) { display: none; }
/* ---- RESPONSIVE ---- */
@media (max-width: 968px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-img { aspect-ratio: 4/3; }
  .footer-cols, .footer-brand-center { gap: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy-dark); padding: 20px;
  }
  .dropdown-menu {
    position: static; box-shadow: none; border: none;
    padding-left: 16px;
  }
  .nav-links > li > a { padding: 14px 20px; min-height: 44px; }
  .dropdown-menu a { padding: 14px 20px; min-height: 44px; }
  .nav-links > li:hover .dropdown-menu { display: block; }
  .hero-content h1 { font-size: 28px; }
  .section { padding: 40px 24px; }
  .split { padding: 40px 24px; }
  .footer-cols, .footer-brand-center { gap: 16px; }
  .footer-col a, .footer-col .footer-col-heading { font-size: 13px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .cta-band .btn { padding: 14px 28px; }
}
@media (max-width: 430px) {
  .footer-cols, .footer-brand-center { gap: 10px; }
  .footer-col a { font-size: 12px; min-height: 0; padding: 6px 0; }
}

/* ---- INLINE-STYLE MIGRATION (July 2, 2026; audit finding C1) ----
   These rules replaced the style attributes on the pages so the CSP
   can forbid inline styles. Values are copied verbatim. The block
   sits after the media queries on purpose: the inline styles took
   precedence over the responsive overrides, and these rules must
   keep that precedence. */

/* Fixed-nav offset, formerly inline on every page's main element */
main { padding-top: 72px; }

/* Hero and card art direction (owner-set framing, July 2026) */
.pos-top { object-position: center top; }
.pos-bottom { object-position: center bottom; }
.pos-left-top { object-position: left top; }
.pos-c95 { object-position: center 95%; }
.pos-c825 { object-position: center 82.5%; }

/* Section and heading spacing */
.pt-0 { padding-top: 0; }
.pt-20 { padding-top: 20px; }
.pb-0 { padding-bottom: 0; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }

/* Home page: oversized pillar heading and the navy band statement */
h2.section-title-xl { font-size: clamp(32px, 5vw, 48px); }
.band-statement {
  font-family: var(--serif); font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500; color: var(--white); line-height: 1.4;
  margin-bottom: 0;
}

/* Lifestyle hub: two-column card grid at every width */
.card-grid-2col { grid-template-columns: repeat(2, 1fr); }

/* Contact page form */
.field-hint { display: block; margin-top: 6px; color: #666; font-family: var(--sans); font-size: 13px; }
.form-subhead { font-size: 20px; margin-top: 32px; margin-bottom: 4px; }
.pillar-label { font-family: var(--sans); font-weight: 600; color: #003366; margin: 18px 0 6px; }
.pillar-label-first { margin-top: 12px; }
/* Honeypot wrapper: must stay off screen; if it ever renders, real
   inquiries get discarded as spam by send-contact.php */
.hp-field { position: absolute; left: -9999px; }
/* Hidden until the status script sets display on the element */
.form-status { display: none; margin-top: 24px; padding: 16px 20px; border-radius: 4px; font-family: var(--sans); font-size: 15px; }

/* Privacy policy page */
h2.policy-heading { font-size: 24px; margin-top: 48px; }
.policy-meta { color: var(--text-light); margin-bottom: 8px; }
.policy-meta-last { margin-bottom: 40px; }

/* 404 page */
.notfound-section { text-align: center; padding-top: 120px; padding-bottom: 120px; }
.notfound-title { font-family: var(--serif); font-size: clamp(32px, 5vw, 56px); font-weight: 500; color: var(--navy); margin-bottom: 24px; }
.notfound-text { color: var(--text-light); max-width: 480px; margin: 0 auto 40px; }
.hero-cta-navy, .hero-cta-navy:hover { border-color: var(--navy); color: var(--navy); }

/* Footer legal link */
.footer-legal-link { color: rgba(255, 255, 255, 0.55); }