/* ============================================================
   ADRIATIC MARINE CONSULTING — style.css
   ============================================================ */

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

:root {
  --ink:       #0e1a26;
  --ink2:      #1a2d40;
  --ink3:      #163356;
  --gold:      #9c7a3c;
  --gold2:     #b8952e;
  --sand:      #f4f1eb;
  --white:     #ffffff;
  --border:    #ddd8ce;
  --muted:     #5f6b78;
  --light:     #e8e4dc;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'IBM Plex Sans', system-ui, sans-serif;
  --max-w:     1120px;
  --transition: 0.25s ease;
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

em { font-style: italic; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── Utility ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section {
  padding: 5.5rem 2.5rem;
}

.section--white { background: var(--white); }
.section--sand  { background: var(--sand); }
.section--dark  { background: var(--ink); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: block;
  flex-shrink: 0;
}

.eyebrow--gold { color: var(--gold); }

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-title--light { color: var(--white); }

.section-lead {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 500px;
  font-weight: 300;
  margin-bottom: 2.75rem;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background var(--transition), backdrop-filter var(--transition);
}

nav.solid {
  background: rgba(14, 26, 38, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(156, 122, 60, 0.5);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 14px;
  height: 14px;
  stroke: none;
  fill: var(--gold);
}

.nav-brand {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nav-brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(156, 122, 60, 0.75);
  font-weight: 300;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold2); }

.nav-cta {
  border: 1px solid rgba(156, 122, 60, 0.45);
  color: rgba(184, 149, 46, 0.9);
  padding: 6px 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: rgba(14, 26, 38, 0.98);
  border-top: 1px solid rgba(156, 122, 60, 0.12);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  padding: 1.25rem 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.mobile-link {
  display: block;
  padding: 0.9rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color var(--transition);
}

.mobile-link:hover { color: var(--gold2); }

/* ── Hero ── */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 26, 38, 0.97) 0%,
    rgba(14, 26, 38, 0.5) 45%,
    rgba(14, 26, 38, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem 4.5rem;
  width: 100%;
}

.hero-rule {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

.hero h1 em { color: rgba(184, 149, 46, 0.9); }

.hero-sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 440px;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2.25rem;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  padding: 12px 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: background var(--transition);
  display: inline-block;
}

.btn-primary:hover { background: var(--gold2); }

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 26px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: all var(--transition);
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--gold2);
  color: var(--gold2);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: rgba(184, 149, 46, 0.9);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 5px;
  display: block;
}

/* ── Visual Strip ── */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 240px;
  overflow: hidden;
}

.strip-item {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.strip-item svg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.strip-item:hover svg { transform: scale(1.04); }

.strip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(to top, rgba(14, 26, 38, 0.85), transparent);
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 400;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.about-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-weight: 300;
}

.highlight-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.highlight-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
}

.highlight-list li::before {
  content: '—';
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
}

.founder-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-card {
  background: var(--white);
  padding: 1.6rem 1.75rem;
  border-left: 2px solid transparent;
  transition: border-color var(--transition);
}

.founder-card:hover { border-left-color: var(--gold); }

.founder-card-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.founder-card-role {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.founder-card-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

.founder-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0.8rem;
}

.tag {
  font-size: 10px;
  color: var(--ink);
  background: var(--sand);
  padding: 3px 8px;
  letter-spacing: 0.03em;
  font-weight: 400;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.75rem;
}

.service-card {
  background: var(--white);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.service-card:hover { background: var(--sand); }

.service-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: rgba(156, 122, 60, 0.08);
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  line-height: 1;
  user-select: none;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

.service-list {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-list li {
  font-size: 11.5px;
  color: var(--ink);
  padding-left: 12px;
  position: relative;
  font-weight: 400;
  line-height: 1.5;
}

.service-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── LNG Onboard Callout ── */
.onboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.onboard-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.onboard-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.onboard-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}

.onboard-point-body strong {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-family: var(--font-sans);
  margin-bottom: 4px;
}

.onboard-point-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  font-weight: 300;
}

.onboard-right {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 4rem;
  padding-top: 0.5rem;
}

.onboard-right p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1rem;
}

.onboard-right p:last-child { margin-bottom: 0; }

/* ── Training ── */
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.75rem;
}

.training-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  transition: background var(--transition);
}

.training-card:hover { background: var(--sand); }

.training-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.training-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

/* ── Numbers Bar ── */
.numbers-bar {
  background: var(--ink2);
  padding: 0;
}

.numbers-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.number-box {
  background: var(--ink2);
  padding: 2.75rem 2rem;
  text-align: center;
}

.number-val {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(184, 149, 46, 0.9);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.number-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.75rem;
}

.team-card {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--light);
}

.team-avatar {
  width: 52px;
  height: 52px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(184, 149, 46, 0.85);
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 3px;
}

.team-role {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 500;
}

.team-bio {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
  flex: 1;
}

.team-quals {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--light);
  padding-top: 1.5rem;
}

.team-quals li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.5;
}

.team-quals li::before {
  content: '—';
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
}

/* ── Case Studies ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.75rem;
}

.case-card {
  background: var(--white);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.case-card:hover { background: var(--sand); }

.case-num {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  color: rgba(156, 122, 60, 0.08);
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  line-height: 1;
  user-select: none;
}

.case-tag {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.case-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  max-width: 290px;
}

.case-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

.case-outcome {
  margin-top: 1.1rem;
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-outcome::before {
  content: '';
  display: block;
  width: 12px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-label {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1px;
}

.contact-value {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field label {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 5px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--sand);
  border: 1px solid var(--border);
  padding: 10px 13px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 12px 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--transition);
  align-self: flex-start;
  margin-top: 4px;
}

.form-submit:hover { background: var(--ink3); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-feedback {
  font-size: 12px;
  min-height: 18px;
  font-weight: 400;
}

.form-feedback.success { color: #2e6b4f; }
.form-feedback.error   { color: #8b2020; }

/* ── Footer ── */
footer {
  background: var(--ink);
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(156, 122, 60, 0.12);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(156, 122, 60, 0.6);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

/* ═══════════════════════════════
   RESPONSIVE
════════════════════════════════ */

@media (max-width: 1000px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 860px) {
  .about-grid,
  .contact-grid,
  .onboard-grid { grid-template-columns: 1fr; gap: 3rem; }

  .onboard-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr; height: auto; }
  .strip-item { height: 180px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 1.5rem; }
  .container { padding: 0 1.5rem; }
  .services-grid,
  .numbers-grid,
  .cases-grid,
  .training-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .hero-content { padding: 0 1.5rem 3.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { gap: 1.25rem; }
}
