/* Barracouta Sails — single stylesheet, no frameworks, no web fonts (fast). */

:root {
  --navy: #0b2a44;
  --navy-2: #123a5c;
  --sea: #1d6f9a;
  --sea-light: #e6f1f7;
  --sail: #f7f5f0;
  --white: #ffffff;
  --ink: #1b2430;
  --muted: #5a6776;
  --line: #dde3ea;
  --signal: #c8312b;      /* taken from the red boom bag in the covers photo */
  --signal-dark: #a82722;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 42, 68, .06), 0 8px 24px rgba(11, 42, 68, .08);
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.125rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--signal); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 10px; top: 10px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
}
.brand:hover { color: #fff; }
.brand img { width: 44px; height: 41px; filter: invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; }
.brand-sub  { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: 4px; }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff;
  border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer;
}
.nav-toggle-bars { display: inline-block; width: 18px; height: 2px; background: #fff; position: relative; vertical-align: middle; margin-right: 8px; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 500; font-size: .98rem;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.site-nav .nav-call {
  background: var(--signal); color: #fff; font-weight: 700; margin-left: 8px; border-radius: 8px;
  white-space: nowrap;
}
.site-nav .nav-call:hover { background: var(--signal-dark); }

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 8px 20px 20px;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--signal); padding-left: 12px; }
  .site-nav .nav-call { margin: 14px 0 0; text-align: center; border-radius: 8px; border: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--navy);
  overflow: hidden; isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 30%; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 42, 68, .92) 0%, rgba(11, 42, 68, .72) 45%, rgba(11, 42, 68, .25) 100%);
}
.hero-inner { padding: clamp(64px, 12vw, 140px) 20px; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 40ch; opacity: .92; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .12); padding: 6px 10px; border-radius: 999px; margin-bottom: 18px;
}

.page-hero { padding: 0; }
.page-hero .hero-inner { padding: clamp(48px, 9vw, 96px) 20px; }
.page-hero h1 { max-width: 20ch; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 8px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; font-size: 1rem; line-height: 1.2; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--sail); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { color: var(--signal); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* Trust strip */
.trust { background: var(--sea-light); border-bottom: 1px solid var(--line); }
.trust ul {
  list-style: none; margin: 0; padding: 18px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust svg { width: 22px; height: 22px; color: var(--sea); flex: none; }
@media (max-width: 800px) { .trust ul { grid-template-columns: 1fr 1fr; } }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sea-light); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: .98rem; margin: 0 0 14px; }
.card-more { margin-top: auto; color: var(--sea); font-weight: 700; font-size: .95rem; }
.card:hover .card-more { color: var(--signal); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair img { aspect-ratio: 3 / 4; object-fit: cover; height: 100%; }

.prose { max-width: 68ch; }
.prose p { color: #333e4b; }

.quote {
  border-left: 4px solid var(--signal); padding: 4px 0 4px 20px; margin: 28px 0;
  font-size: 1.2rem; font-weight: 600; color: var(--navy);
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat strong { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* Checklists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist.cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .checklist.cols { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sea-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231d6f9a'%3E%3Cpath d='M8.1 13.3 4.8 10l-1.1 1.1 4.4 4.4 9-9-1.1-1.1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.panel h3 { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* CTA band */
.cta { background: var(--navy); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; opacity: .85; }
.cta .btns { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--sea); flex: none; margin-top: 3px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { font-weight: 600; text-decoration: none; }

.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c7d0da; border-radius: 8px;
  background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(29, 111, 154, .18); }
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); background: var(--sea-light); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #081f33; color: rgba(255, 255, 255, .78); font-size: .95rem; padding: 56px 0 28px; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand img { width: 52px; filter: invert(1); margin-bottom: 12px; }
.footer-brand p { max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: rgba(255, 255, 255, .55);
}

/* ---------- Mobile quick-contact bar ---------- */
.quickbar { display: none; }
@media (max-width: 700px) {
  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--navy); box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .quickbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 10px; color: #fff; text-decoration: none; font-weight: 700;
  }
  .quickbar a:first-child { background: var(--signal); }
  .quickbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
