/* ocsmarine.com — OCSMARINE LLC
   Marine service engineering for federal and commercial operators
   Designed clean, fast, no tracking. */

:root {
  --navy:        #0A2540;
  --navy-deep:   #061829;
  --navy-light:  #1B3D5C;
  --gold:        #B8924A;
  --gold-light:  #C9A961;
  --ink:         #1A1F2C;
  --text:        #3A4555;
  --muted:       #6B7585;
  --line:        #E2E6EC;
  --bg:          #FFFFFF;
  --bg-soft:     #F7F8FA;
  --bg-tint:     #F0F4F8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-top: 1.5em; }
h3 { font-size: 1.25rem; margin-top: 1.4em; }

p { margin: 0 0 1.1em; }

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
a:hover { border-bottom-color: var(--navy); }

ul, ol { padding-left: 1.4em; margin: 0 0 1.1em; }
li { margin-bottom: 0.4em; }

strong { color: var(--ink); font-weight: 600; }

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.narrow { max-width: 740px; margin: 0 auto; padding: 0 32px; }

/* Navigation */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255,255,255,0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 0;
}
.brand:hover { border-bottom: 0; }
.brand .tag {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 12px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  border-bottom: 0;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

@media (max-width: 700px) {
  .nav { flex-direction: column; gap: 12px; padding: 16px 24px; }
  .nav-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .brand .tag { display: none; }
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border-bottom: 1px solid var(--line);
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lead {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 720px;
  line-height: 1.6;
}
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cta-row {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  border: 1.5px solid var(--navy);
  background: var(--navy);
  color: #fff;
  transition: all 0.15s;
  border-bottom: 1.5px solid var(--navy);
}
.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  border-bottom-color: var(--navy-deep);
}
.btn.outline {
  background: transparent;
  color: var(--navy);
}
.btn.outline:hover {
  background: var(--navy);
  color: #fff;
}

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-soft); }
section.dark {
  background: var(--navy-deep);
  color: #B5C5D5;
}
section.dark h1, section.dark h2, section.dark h3 {
  color: #fff;
}
section.dark a { color: var(--gold-light); }
section.dark strong { color: #fff; }

/* Cards / grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 8px 28px -10px rgba(10,37,64,0.18);
}
.card h3 {
  margin-top: 0;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.card p { font-size: 0.95rem; margin-bottom: 0; }

/* Stats / numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin: 40px 0;
}
.stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.stat .label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

/* Vessel list */
.vessel-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.vessel-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.vessel-list li:last-child { border-bottom: 0; }
.vessel-list .vessel-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: var(--ink);
  font-size: 1.1rem;
  min-width: 200px;
}
.vessel-list .vessel-note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.contact-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
}
.contact-block h3 {
  margin-top: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-block .value {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--ink);
  border-bottom: 0;
  display: block;
  margin-bottom: 4px;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #97A6B5;
  padding: 60px 0 40px;
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.site-footer a { color: #C9A961; border-bottom: 0; }
.site-footer a:hover { color: #E0BE7F; }
.site-footer .legal { color: #5C6B7A; font-size: 0.82rem; margin-top: 18px; width: 100%; border-top: 1px solid #1B2E42; padding-top: 18px; }

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 60px 0;
}
.divider.gold {
  border-top: 2px solid var(--gold);
  width: 50px;
  margin: 36px 0;
}

/* Smooth content for long pages */
.content p, .content li {
  max-width: 720px;
}

/* Side-by-side photo + text section (Layout 2) */
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 64px 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.photo-row img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 14px 40px -20px rgba(10, 37, 64, 0.25);
  display: block;
}
.photo-row h2 { margin-top: 0; }
.photo-row .text p:last-child,
.photo-row .text ul:last-child { margin-bottom: 0; }
.photo-row.reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .photo-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 40px auto;
  }
  .photo-row.reverse > :first-child { order: 0; }
}

/* Bio photo on experience.html */
.bio-strip {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  margin: 32px 0 48px;
  padding: 32px;
  background: var(--bg-soft);
  border-radius: 8px;
}
.bio-strip img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
@media (max-width: 800px) {
  .bio-strip { grid-template-columns: 1fr; padding: 24px; }
}

/* Trademark / independence disclaimer in footer */
.site-footer .disclaimer {
  width: 100%;
  border-top: 1px solid #1B2E42;
  margin-top: 14px;
  padding-top: 14px;
  font-size: 0.78rem;
  color: #5C6B7A;
  line-height: 1.55;
}

/* Flagship project callout */
.flagship {
  background: linear-gradient(180deg, #0A2540 0%, #061829 100%);
  color: #C9D4DF;
  padding: 56px 0;
  margin: 60px 0;
  border-radius: 8px;
}
.flagship .container { max-width: 980px; }
.flagship h2 { color: #fff; margin-top: 0; }
.flagship .eyebrow { color: var(--gold-light); margin-bottom: 14px; }
.flagship strong { color: #fff; }
.flagship a { color: var(--gold-light); }

/* Full-bleed hero with photo background (Hero A) */
.hero-photo-bg {
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,24,41,0.85) 0%, rgba(6,24,41,0.55) 60%, rgba(6,24,41,0.2) 100%);
}
.hero-photo-bg .container { position: relative; z-index: 1; }
.hero-photo-bg h1,
.hero-photo-bg .eyebrow,
.hero-photo-bg .lead { color: #fff; }
.hero-photo-bg .eyebrow { color: var(--gold-light); }
.hero-photo-bg .lead { color: #E2E6EC; }
.hero-photo-bg .btn.outline { color: #fff; border-color: #fff; }
.hero-photo-bg .btn.outline:hover { background: #fff; color: var(--navy); }
