/* Bringer Ocean Lines — site styles */
:root {
  --navy-950: #050d33;
  --navy-900: #0a1757;
  --navy-700: #13208f;   /* logo navy */
  --ocean: #0b6fb3;
  --cyan: #22b5e8;       /* action color */
  --cyan-600: #0f9bd0;
  --sky-50: #eef7fc;
  --ink: #0c1533;
  --muted: #56607f;
  --line: #dde3ee;
  --bg-soft: #f4f8fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 23, 87, .09);
  --max: 1160px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ocean); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .76rem; color: var(--ocean); margin-bottom: .9rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: .95rem; border: 2px solid transparent; transition: transform .15s, background .15s, border-color .15s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--navy-950); }
.btn-primary:hover { background: var(--cyan-600); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn svg { width: 17px; height: 17px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--ocean); }
.nav .btn { padding: .55rem 1.1rem; color: var(--navy-950); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* hero */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,51,.9) 0%, rgba(5,13,51,.65) 45%, rgba(5,13,51,.1) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(64px, 9vw, 112px) 0; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { max-width: 14ch; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }

.strip { background: var(--navy-900); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div.item { padding: 20px 20px 20px 0; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .93rem; }
.strip div.item + div.item { border-left: 1px solid rgba(255,255,255,.12); padding-left: 20px; }
.strip svg { flex: none; width: 26px; height: 26px; color: var(--cyan); }

section { padding: clamp(48px, 6vw, 76px) 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 32px; }

/* service cards */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service .media { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.service .media img { width: 100%; height: 100%; object-fit: cover; }
.service .media img.contain { object-fit: contain; width: 70%; height: 80%; }
.service .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service .tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--ocean); }
.service p { color: var(--muted); font-size: .93rem; }
.service .link { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-size: .93rem; }
.service .link svg { width: 16px; height: 16px; }

/* split + band */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split img { border-radius: 18px; width: 100%; height: auto; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .4em; width: 17px; height: 17px; border-radius: 50%; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6fb3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.band { background: linear-gradient(90deg, rgba(5,13,51,.92), rgba(5,13,51,.6)), url("about-ship.jpg") center / cover no-repeat, var(--navy-900); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { margin: 0 0 .25em; }
.band p { margin: 0; color: rgba(255,255,255,.82); max-width: 54ch; }
.band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* page hero */
.page-hero { background: linear-gradient(90deg, rgba(5,13,51,.92), rgba(5,13,51,.55)), url("band-terminal.jpg") center / cover no-repeat, var(--navy-900); color: #fff; padding: 52px 0 46px; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 64ch; font-size: 1.05rem; margin: 0; }
.page-hero p a { color: var(--cyan); }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.person img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.person .body { padding: 16px; }
.person h3 { margin: 0; font-size: 1rem; }
.person .role { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocean); margin: 4px 0 8px; }
.person p { margin: 0; font-size: .88rem; color: var(--muted); }
.person a { text-decoration: none; font-weight: 600; }

/* tables + resource content */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
table.spec { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
table.spec th, table.spec td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec thead th { background: var(--navy-900); color: #fff; font-weight: 600; }
table.spec tbody tr:nth-child(even) { background: var(--bg-soft); }
table.spec td:first-child { font-weight: 700; }
.notes { font-size: .9rem; color: var(--muted); margin: 0 0 36px; padding-left: 18px; }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.term { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; background: #fff; }
.term h3 { font-size: 1rem; margin-bottom: .35em; }
.term h3 span { color: var(--ocean); margin-right: 6px; }
.term p { margin: 0; font-size: .9rem; color: var(--muted); }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
.form fieldset { border: 0; padding: 0; margin: 8px 0 0; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form legend { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean); padding: 0 0 10px; border-bottom: 1px solid var(--line); width: 100%; margin-bottom: 4px; }
.form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.form .req { color: #c0392b; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .form select { width: 100%; font: inherit; font-size: .95rem; padding: .72rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34,181,232,.18); }
.form textarea { min-height: 120px; resize: vertical; }
.form .choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .9rem; margin: 0 0 8px; }
.form .choice input { margin-top: .3em; accent-color: var(--ocean); }
.form .hint { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 13px 15px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f7ee; color: #146c3a; }
.form-status.err { display: block; background: #fdecea; color: #a12a1d; }
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.aside { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.aside dl { margin: 0; display: grid; gap: 16px; }
.aside dt { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); font-weight: 700; }
.aside dd { margin: 3px 0 0; font-weight: 600; }
.aside dd a { text-decoration: none; }
.quote-links { display: grid; gap: 8px; margin-top: 18px; }
.quote-links a { display: flex; justify-content: space-between; text-decoration: none; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; color: var(--ink); }
.quote-links a:hover, .quote-links a[aria-current="page"] { border-color: var(--cyan); color: var(--ocean); }

/* footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding: 48px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer .logo { height: 50px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; margin: 0 0 12px; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .services, .team { grid-template-columns: 1fr 1fr; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip div.item, .strip div.item + div.item { border-left: 0; padding: 14px 0; }
  .split, .form-layout, .terms { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .hero::after { background: linear-gradient(180deg, rgba(5,13,51,.72), rgba(5,13,51,.9)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
}
@media (max-width: 600px) {
  .services, .team, .form, .form fieldset, .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.form .row3 { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .form .row3 { grid-template-columns: 1fr; gap: 16px; } }
