/* =========================================================
   Morgan Vine Marine — styles
   ========================================================= */

:root {
  --navy-950: #040d1f;
  --navy-900: #071630;
  --navy-800: #0c2348;
  --navy-700: #14336a;
  --brand: #1d3f94;          /* logo blue */
  --sky: #6c9cfa;             /* brand accent blue on dark backgrounds */
  --sky-600: #4a7cf5;
  --sea: #eaf0fb;
  --sand: #f6f3ec;
  --white: #ffffff;
  --ink: #0d1b2e;
  --ink-2: #44546b;
  --line: #d8e1ea;
  --accent: #d93d1c;          /* call-to-action, 4.5:1 with white text */
  --accent-700: #bf3115;
  --accent-bright: #ff5a3c;   /* decorative antifoul red */
  --blue-ink: #3a5fd6;        /* accent blue for text on light backgrounds */

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(7, 22, 48, .06), 0 12px 32px -12px rgba(7, 22, 48, .22);
  --header-h: 124px;          /* header at the top of the page */
  --header-h-s: 84px;         /* compact header once scrolled */

  --f-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: .75em 1.25em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { font-size: 1.2rem; padding: .85em 1.6em; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(217, 61, 28, .75); }
.btn-accent:hover { background: var(--accent-700); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(217, 61, 28, .8); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--sea); }

/* ---------- Header ---------- */
.site-header {
  --hh: var(--header-h);
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh);
  color: #fff; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s, height .3s ease, transform .35s cubic-bezier(.4, 0, .2, 1);
}
.site-header.is-scrolled { --hh: var(--header-h-s); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(7, 22, 48, .95);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
/* the logo fills the header bar and shrinks with it on scroll */
.brand-logo { display: block; height: calc(var(--hh) - 16px); width: auto; transition: height .3s ease; }
.footer-brand .brand-logo { height: 120px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; opacity: .88; position: relative; padding: 6px 0;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav ul a:hover, .site-nav ul a[aria-current] { opacity: 1; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); }
.site-nav ul a[aria-current] { color: var(--sky); }
.nav-cta { padding: .55em 1.1em; font-size: 1.05rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; position: relative;
}
.nav-toggle .bar {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle .bar:nth-of-type(2) { top: 16px; }
.nav-toggle .bar:nth-of-type(3) { top: 22px; }
.nav-toggle .bar:nth-of-type(4) { top: 28px; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(74, 124, 245, .22), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(29, 63, 148, .55), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-800));
  padding: calc(var(--header-h) + 48px) 0 150px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(108, 156, 250, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 156, 250, .07) 1px, transparent 1px),
    linear-gradient(rgba(108, 156, 250, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 156, 250, .035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--f-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem;
  color: var(--sky); background: rgba(108, 156, 250, .08); border: 1px solid rgba(108, 156, 250, .25);
  padding: 6px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(108, 156, 250, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(108, 156, 250, .6); } 70% { box-shadow: 0 0 0 10px rgba(108, 156, 250, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 156, 250, 0); } }

.hero h1 {
  font-size: clamp(3rem, 8.2vw, 6.4rem); font-weight: 800; text-transform: uppercase;
  line-height: .9; letter-spacing: -.005em; margin-bottom: 24px;
}
.hero h1 .hl, .page-hero h1 .hl {
  font-style: italic;
  background: linear-gradient(90deg, var(--sky), #c9d6ff 60%, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .8); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; color: rgba(255, 255, 255, .82); }
.hero-badges svg { width: 22px; height: 22px; fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* hull drawing */
.hero-art { margin: 0; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(-.6deg); } }
.hull { width: 100%; height: auto; overflow: visible; }
.hull .draw { fill: none; stroke: #d9e2fc; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s cubic-bezier(.6, .1, .2, 1) forwards; }
.hull .draw.thin { stroke-width: 1.3; stroke: rgba(217, 226, 252, .7); animation-delay: .6s; }
.hull .hull-line { stroke: #fff; stroke-width: 2.6; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hull .antifoul { fill: var(--accent-bright); opacity: 0; animation: fadeIn .8s 1.6s forwards; }
.hull .boot { fill: var(--sky); opacity: 0; animation: fadeIn .8s 1.8s forwards; }
.hull .dim path { fill: none; stroke: rgba(108, 156, 250, .55); stroke-width: 1.2; }
.hull .fill { fill: var(--sky); stroke: none; }
.hull text { fill: rgba(217, 226, 252, .85); font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .16em; }
.hull .patch ellipse { fill: rgba(108, 156, 250, .14); stroke: var(--sky); stroke-width: 1.6; stroke-dasharray: 5 4; animation: spin 14s linear infinite; transform-origin: 372px 186px; }
.hull .patch .inner { fill: rgba(108, 156, 250, .25); stroke-dasharray: none; animation: patchPulse 2.6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes patchPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.hull .callout { opacity: 0; animation: fadeIn .6s forwards; }
.hull .callout:nth-of-type(1) { animation-delay: 2.1s; }
.hull .callout:nth-of-type(2) { animation-delay: 2.35s; }
.hull .callout:nth-of-type(3) { animation-delay: 2.6s; }
.hull .callout path { fill: none; stroke: rgba(108, 156, 250, .75); stroke-width: 1.2; }
@keyframes fadeIn { to { opacity: 1; } }
.hull .antifoul { animation-name: fadeInAF; }
@keyframes fadeInAF { to { opacity: .9; } }

/* waves */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 110px; pointer-events: none; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.wave-back { fill: rgba(108, 156, 250, .16); animation: drift 18s linear infinite; }
.wave-front { fill: var(--sand); animation: drift 12s linear infinite reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Strip ---------- */
.strip { background: transparent; position: relative; z-index: 2; margin-top: -34px; }
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.strip-item { padding: 22px 24px; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item strong { display: block; font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--brand); }
.strip-item span { font-size: .95rem; color: var(--ink-2); line-height: 1.4; display: block; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .about-copy h2, .contact-info h2, .carbon h2 {
  font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; margin-bottom: 18px; color: var(--navy-900);
}
.section-head p { color: var(--ink-2); font-size: 1.12rem; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255, 255, 255, .75); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--f-display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .95rem; color: var(--blue-ink);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head.light .kicker { color: var(--sky); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px 26px 26px;
  border: 1px solid rgba(13, 27, 46, .06); box-shadow: 0 1px 2px rgba(7, 22, 48, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(74, 124, 245, .4); }
.card h3 { font-size: 1.65rem; font-weight: 700; text-transform: uppercase; margin: 18px 0 10px; color: var(--navy-900); }
.card p { color: var(--ink-2); margin: 0; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sea); color: var(--brand);
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card-feature {
  grid-row: span 2; color: #fff; overflow: hidden; display: flex; flex-direction: column;
  background:
    radial-gradient(400px 300px at 100% 0%, rgba(108, 156, 250, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 0;
}
.card-feature::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 260px; height: 260px; border-radius: 50%;
  border: 1px dashed rgba(108, 156, 250, .35); box-shadow: 0 0 0 30px rgba(108, 156, 250, .04), 0 0 0 60px rgba(108, 156, 250, .03);
}
.card-feature h3 { color: #fff; font-size: 2.1rem; margin-top: auto; padding-top: 40px; }
.card-feature p { color: rgba(255, 255, 255, .8); font-size: 1.08rem; }
.card-feature .card-icon { background: rgba(108, 156, 250, .14); color: var(--sky); }
.card-link {
  position: relative; z-index: 1; display: inline-flex; gap: 8px; margin-top: 22px; color: var(--sky);
  font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; font-size: 1.05rem;
}
.card-link span { transition: transform .2s; }
.card-link:hover span { transform: translateX(4px); }

/* ---------- Anatomy ---------- */
.anatomy {
  color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 500px at 100% 100%, rgba(74, 124, 245, .2), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.anatomy-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.layers {
  position: relative; border-radius: var(--radius); overflow: hidden; padding: 0;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.layer {
  position: relative; display: flex; align-items: center; padding: 0 20px;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem;
  transition: opacity .35s, filter .35s, transform .35s;
}
.layer span { position: relative; z-index: 2; padding: 4px 10px; border-radius: 6px; background: rgba(4, 13, 31, .55); color: #fff; }
.l-gel   { height: 46px; background: linear-gradient(180deg, #ffffff, #e9eef2); }
.l-fair  { height: 52px; background: repeating-linear-gradient(90deg, #c4ccd6 0 3px, #b8c1cc 3px 6px); }
.l-lam   { height: 96px; background:
            repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 2px, transparent 2px 9px),
            repeating-linear-gradient(-45deg, rgba(255,255,255,.12) 0 2px, transparent 2px 9px),
            linear-gradient(180deg, #4a7cf5, #3456c8); }
.l-core  { height: 88px; background:
            repeating-linear-gradient(90deg, rgba(120, 80, 30, .25) 0 1px, transparent 1px 22px),
            linear-gradient(180deg, #e2c290, #d1ad73); }
.l-inner { height: 46px; background:
            repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 2px, transparent 2px 9px),
            linear-gradient(180deg, #2c48a6, #223a88); }

.layers .layer { opacity: .28; filter: saturate(.4); }
.layers .layer.is-active { opacity: 1; filter: none; }

.scarf {
  position: absolute; left: 62%; top: 0; width: 240px; height: 150px; pointer-events: none;
  background: var(--sky); clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%) scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.4, .1, .2, 1);
}
.scarf::after {
  content: ""; position: absolute; inset: 0; background: var(--navy-950);
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 50% calc(100% - 6px));
}
.layers[data-step="2"] .scarf { transform: translateX(-50%) scaleY(1); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step {
  width: 100%; text-align: left; display: grid; grid-template-columns: 46px 1fr; gap: 2px 14px; align-items: baseline;
  background: rgba(255, 255, 255, .03); color: #fff; border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px; padding: 16px 18px; cursor: pointer; font: inherit;
  transition: background-color .25s, border-color .25s;
}
.step:hover { background: rgba(255, 255, 255, .06); }
.step-num { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: rgba(108, 156, 250, .55); grid-row: span 2; }
.step-title { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .04em; }
.step-desc {
  grid-column: 2; color: rgba(255, 255, 255, .72); font-size: 1rem; line-height: 1.5;
  max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .3s ease, margin .3s;
}
.step.is-active { background: rgba(108, 156, 250, .1); border-color: rgba(108, 156, 250, .5); }
.step.is-active .step-num { color: var(--sky); }
.step.is-active .step-desc { max-height: 8em; opacity: 1; margin-top: 4px; }

/* ---------- Process ---------- */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; position: relative; }
.process-list::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky-600) 0 8px, transparent 8px 16px); opacity: .5;
}
.process-list li { position: relative; }
.p-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-900); color: var(--sky); font-family: var(--f-display); font-weight: 800; font-size: 1.6rem;
  box-shadow: 0 0 0 8px var(--sand); margin-bottom: 20px;
}
.process-list h3 { font-size: 1.6rem; font-weight: 700; text-transform: uppercase; color: var(--navy-900); margin-bottom: 8px; }
.process-list p { color: var(--ink-2); margin: 0; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-visual { position: relative; }
.about-photo {
  position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--sea);
  box-shadow: 0 30px 60px -30px rgba(7, 22, 48, .45);
}
.about-photo img { width: 100%; height: auto; aspect-ratio: 698 / 460; object-fit: cover; }
.about-photo figcaption {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(4, 13, 31, .72); color: #fff; font-family: var(--f-display); font-weight: 600;
  font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.about-card {
  position: relative; border-radius: 24px; padding: clamp(24px, 3vw, 34px); color: #fff; overflow: hidden;
  margin: -84px 0 0 clamp(20px, 5vw, 56px);
  box-shadow: 0 30px 60px -28px rgba(7, 22, 48, .6);
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(108, 156, 250, .3), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--navy-900));
}
.about-card::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 30 C40 50 80 10 120 30 S200 50 240 30' fill='none' stroke='%236c9cfa' stroke-opacity='.18' stroke-width='1.5'/%3E%3C/svg%3E") repeat;
  background-size: 240px 30px; opacity: .8;
}
.about-badge {
  position: relative; display: inline-flex; align-items: center; gap: 14px; align-self: flex-start;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 12px 16px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.about-badge svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-badge strong { display: block; font-family: var(--f-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; }
.about-badge span { font-size: .9rem; color: rgba(255, 255, 255, .75); }
.about-card blockquote { position: relative; margin: 22px 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.about-card blockquote em { color: var(--sky); }
.about-card cite { display: block; margin-top: 16px; font-family: var(--f-body); font-style: normal; font-weight: 500; text-transform: none; font-size: 1rem; color: rgba(255, 255, 255, .75); }
.about-copy p { color: var(--ink-2); font-size: 1.1rem; }

.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%231d3f94' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* ---------- Where we work ---------- */
.yard { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.yard-media { position: relative; height: min(720px, 66.6vw); overflow: hidden; }
/* the frame keeps the photo's own proportions so the pins stay on their landmarks */
.yard-frame { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); aspect-ratio: 1400 / 933; }
.yard-frame img { width: 100%; height: 100%; object-fit: cover; }
.yard-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 13, 31, 0) 45%, rgba(4, 13, 31, .5)),
    linear-gradient(180deg, rgba(4, 13, 31, .25), rgba(4, 13, 31, 0) 25%, rgba(4, 13, 31, 0) 80%, rgba(4, 13, 31, .35));
}

.pin {
  position: absolute; z-index: 1; left: var(--x); top: var(--y); width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(4, 13, 31, .5), 0 4px 12px rgba(0, 0, 0, .4);
}
.pin::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--sky);
  animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.pin-label {
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; background: rgba(4, 13, 31, .82); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.yard-inner { position: absolute; inset: 0; margin-inline: auto; display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.yard-card {
  pointer-events: auto; width: min(440px, 100%); padding: clamp(26px, 3vw, 38px); border-radius: 24px;
  background: rgba(4, 13, 31, .8); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.yard .kicker { color: var(--sky); }
.yard-card h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.yard-card > p { color: rgba(255, 255, 255, .8); }
.yard-facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.yard-facts li { position: relative; padding-left: 30px; font-weight: 600; }
.yard-facts li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(108, 156, 250, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%236c9cfa' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.yard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.yard-address { font-size: .92rem; line-height: 1.4; color: rgba(255, 255, 255, .7); }

.pin--left .pin-label { left: auto; right: 24px; }

/* ---------- CTA band ---------- */
.cta-band {
  color: #fff; padding: clamp(48px, 7vw, 72px) 0;
  background:
    radial-gradient(500px 240px at 90% 50%, rgba(255, 255, 255, .18), transparent 70%),
    linear-gradient(110deg, #b52d12, var(--accent) 55%, #e8532c);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; text-transform: uppercase; max-width: 16em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-accent { background: var(--navy-900); box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--navy-950); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info > p { color: var(--ink-2); font-size: 1.1rem; }
.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--sky); }
.ci-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ci-label { display: block; font-family: var(--f-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--blue-ink); }
.contact-list a { font-weight: 600; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--sea); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* call / text panel on the contact page */
.quote-panel {
  position: sticky; top: calc(var(--header-h-s) + 20px);
  background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
  border-top: 6px solid var(--sky-600);
}
.quote-panel h3 { font-size: 2rem; text-transform: uppercase; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; }
.quote-panel > p { color: var(--ink-2); }
.quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 28px; }
.quote-action {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; text-decoration: none; color: #fff;
  transition: transform .15s ease, box-shadow .2s, background-color .2s;
}
.quote-action:hover { transform: translateY(-2px); }
.quote-action:active { transform: translateY(1px) scale(.99); }
.quote-action svg { flex: none; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quote-action strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.quote-action span span { font-weight: 600; opacity: .85; }
.quote-action--text { background: var(--accent); box-shadow: 0 12px 26px -12px rgba(217, 61, 28, .8); }
.quote-action--text:hover { background: var(--accent-700); }
.quote-action--call { background: var(--navy-900); }
.quote-action--call:hover { background: var(--navy-950); }
.quote-panel h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .95rem; color: var(--blue-ink); margin: 0 0 12px; }
.text-tips { margin: 0; padding: 0; list-style: none; counter-reset: tip; display: grid; gap: 10px; }
.text-tips li { position: relative; padding-left: 38px; font-weight: 600; color: var(--navy-900); counter-increment: tip; }
.text-tips li::before {
  content: counter(tip); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sea); color: var(--blue-ink); font-family: var(--f-display); font-weight: 800; font-size: .95rem;
}
.quote-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }

/* ---------- Service card links ---------- */
.card { display: flex; flex-direction: column; }
.card > p { flex: 1; }
.card .card-link { color: var(--blue-ink); margin-top: 18px; align-self: flex-start; }
.card-feature .card-link { color: var(--sky); }
.card-links { display: flex; flex-wrap: wrap; gap: 4px 24px; position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq .section-head a { color: var(--navy-900); font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 16px; border: 1px solid rgba(13, 27, 46, .06); transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(74, 124, 245, .4); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%230c2348' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .3s, background-color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--sky); }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 16px; }
.faq-a { padding: 0 22px 20px; color: var(--ink-2); }
.faq-a p { margin: 0; }
.faq-a a { color: var(--navy-900); font-weight: 700; }
.faq-item[open] .faq-a { animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--sky-600), var(--sky)); opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled .scroll-progress { opacity: 1; }

/* ---------- Anatomy: auto-play progress on the active step ---------- */
.step { position: relative; overflow: hidden; }
.step::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sky);
  transform: scaleX(0); transform-origin: left;
}
.anatomy.is-playing .step.is-active::after { animation: stepProgress var(--step-ms, 4200ms) linear forwards; }
@keyframes stepProgress { to { transform: scaleX(1); } }

/* ---------- Home: boats we work on ---------- */
.boats { background: #fff; }
.boat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.boat-card {
  border-radius: var(--radius); padding: 20px 22px 24px; border: 1px solid rgba(13, 27, 46, .06);
  background:
    linear-gradient(rgba(29, 63, 148, .05) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(29, 63, 148, .05) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--sand);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.boat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(74, 124, 245, .4); }
.boat-art { width: 100%; height: auto; margin-bottom: 14px; fill: none; stroke: var(--navy-700); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.boat-art .thin { stroke-width: 1.4; }
.boat-art .b-water { stroke: var(--sky-600); stroke-width: 1.6; stroke-dasharray: 6 5; }
.boat-art .sail { fill: rgba(74, 124, 245, .14); stroke-width: 1.6; }
.boat-card:hover .boat-art { animation: bob 2.4s ease-in-out infinite; }
.boat-card h3 { font-size: 1.55rem; font-weight: 700; text-transform: uppercase; color: var(--navy-900); margin-bottom: 6px; }
.boat-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* ---------- Home: warning signs ---------- */
.sign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sign-card {
  position: relative; display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  background: #fff; border: 1.5px solid rgba(13, 27, 46, .06); border-radius: 16px; padding: 20px;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.sign-card:hover { border-color: rgba(58, 95, 214, .45); }
.sign-card:active { transform: scale(.99); }
.sign-card input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sign-box {
  flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; border: 2px solid #c9d3de; background: #fff;
  transition: background-color .15s, border-color .15s;
}
.sign-card input:checked ~ .sign-box {
  border-color: var(--navy-900);
  background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%236c9cfa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.sign-card:has(input:checked) { border-color: var(--navy-900); box-shadow: var(--shadow); }
.sign-card input:focus-visible ~ .sign-box { outline: 3px solid var(--sky-600); outline-offset: 2px; }
.sign-title { display: block; font-weight: 700; font-size: 1.05rem; color: var(--navy-900); line-height: 1.35; }
.sign-desc { display: block; margin-top: 4px; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.sign-tag {
  display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 999px; background: var(--sea); color: var(--blue-ink);
  font-family: var(--f-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.signs-bar {
  position: sticky; bottom: 16px; z-index: 5; margin-top: 22px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 16px; padding: 12px 12px 12px 26px; border-radius: 999px;
  background: var(--navy-900); color: #fff; box-shadow: 0 20px 40px -20px rgba(4, 13, 31, .6);
}
.signs-count { margin: 0; font-weight: 600; }
.signs-count strong { color: var(--sky); }

.anatomy-more { margin: 40px 0 0; }
.faq-more { margin-top: 22px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(74, 124, 245, .22), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(29, 63, 148, .55), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-800));
  padding: calc(var(--header-h) + 40px) 0 clamp(120px, 12vw, 160px);
}
.page-hero-inner { position: relative; }
.page-hero-inner > h1, .page-hero-inner > .lede { max-width: 900px; }
.page-hero-inner > .lede { max-width: 40em; }
.page-hero h1 { font-size: clamp(2.8rem, 7.4vw, 5.6rem); font-weight: 800; text-transform: uppercase; line-height: .92; margin-bottom: 20px; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .hero-actions { margin: 28px 0 0; }
.page-hero:has(+ .about) .wave-front, .page-hero:has(+ .carbon) .wave-front { fill: #fff; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .92rem; color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb [aria-current] { color: var(--sky); }

.section-more { margin: 36px 0 0; text-align: center; }
.about-more { margin-top: 28px; }
.text-link { color: var(--blue-ink); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Services page ---------- */
.services-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.service-index { position: sticky; top: calc(var(--header-h) + 24px); transition: top .35s cubic-bezier(.4, 0, .2, 1); }
.site-header.is-hidden ~ main .service-index { top: 24px; }
.service-index-title { font-family: var(--f-display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .9rem; color: var(--blue-ink); margin-bottom: 12px; }
.service-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.service-index a {
  display: block; padding: 10px 14px; border-left: 2px solid var(--line); text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2);
  transition: color .2s, border-color .2s, background-color .2s;
}
.service-index a:hover { color: var(--navy-900); border-color: var(--sky-600); }
.service-index a[aria-current] { color: var(--navy-900); border-color: var(--sky-600); background: #fff; border-radius: 0 10px 10px 0; }

.service-blocks { display: grid; gap: 24px; }
.service-block {
  background: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(13, 27, 46, .06); scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.service-num { font-family: var(--f-display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: rgba(13, 27, 46, .08); }
.service-block h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; text-transform: uppercase; color: var(--navy-900); margin-bottom: 14px; }
.service-block > p { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; }
.jobs-title { font-family: var(--f-display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .9rem; color: var(--blue-ink); margin: 24px 0 12px; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.jobs li { position: relative; padding-left: 32px; font-weight: 600; }
.jobs li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%231d3f94' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.service-block-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.services-detail + .process { background: #fff; }
.services-detail + .process .p-num { box-shadow: 0 0 0 8px #fff; }

/* ---------- Fibreglass page ---------- */
.damage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.damage-card {
  position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid rgba(13, 27, 46, .06); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.damage-card::after {
  content: ""; position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M118 8 L88 34 L94 50 L70 62 L74 80 L52 92 M88 34 L104 44 M70 62 L58 54' fill='none' stroke='%234a7cf5' stroke-opacity='.35' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.damage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(74, 124, 245, .4); }
.damage-num { font-family: var(--f-display); font-weight: 800; letter-spacing: .12em; color: var(--blue-ink); }
.damage-card h3 { font-size: 1.6rem; font-weight: 700; text-transform: uppercase; color: var(--navy-900); margin: 10px 0 8px; }
.damage-card p { margin: 0; color: var(--ink-2); }

.callout {
  margin-top: 28px; display: flex; align-items: center; gap: 18px 26px; padding: 24px 28px; border-radius: 20px;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff;
}
.callout > div:nth-child(2) { flex: 1; }
.callout h3 { font-size: 1.7rem; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.callout p { margin: 0; color: rgba(255, 255, 255, .78); }
.callout-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 90, 60, .16); }
.callout-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.carbon { background: #fff; }
.carbon-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.carbon-copy p { color: var(--ink-2); font-size: 1.1rem; }
.carbon-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- About page ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid rgba(13, 27, 46, .06); }
.value-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px;
  background: var(--navy-900); color: var(--sky); font-family: var(--f-display); font-weight: 800; font-size: 1.4rem;
}
.value-card h3 { font-size: 1.7rem; font-weight: 700; text-transform: uppercase; color: var(--navy-900); margin-bottom: 8px; }
.value-card p { margin: 0; color: var(--ink-2); }

/* ---------- Contact page ---------- */
.contact + .faq { background: #fff; }
.contact + .faq .faq-item { background: var(--sand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .75); padding: 56px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand p { margin-top: 14px; max-width: 30em; }
.footer-brand .footer-areas { margin-top: 8px; font-size: .9rem; color: rgba(255, 255, 255, .55); }
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { text-decoration: none; overflow-wrap: anywhere; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--sky); }
.footer-contact a:first-child { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; font-size: .9rem; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--sky); }
.credit a { color: #fff; font-weight: 600; }
.credit-bar { color: var(--sky); margin: 0 1px; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .site-nav ul { gap: 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .damage-grid { grid-template-columns: repeat(2, 1fr); }
  .boat-grid { grid-template-columns: repeat(2, 1fr); }
  .sign-grid { grid-template-columns: repeat(2, 1fr); }
  .card-feature { grid-row: auto; grid-column: span 2; }
  .card-feature h3 { padding-top: 24px; }
}

@media (max-width: 920px) {
  :root { --header-h: 96px; --header-h-s: 72px; }

  /* a backdrop-filter on the header would trap the fixed menu panel inside it */
  .site-header.nav-open { background: var(--navy-900); -webkit-backdrop-filter: none; backdrop-filter: none; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--hh); left: 0; right: 0; height: calc(100dvh - var(--hh));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    background: var(--navy-900);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-header.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 16px 4px; font-size: 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav ul a::after { display: none; }
  .nav-cta { font-size: 1.25rem; padding: .9em; }

  .hero { padding: calc(var(--header-h) + 36px) 0 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }

  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .anatomy-body { grid-template-columns: 1fr; }

  .process-list { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .process-list::before { display: none; }

  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 640px; }

  .contact-inner { grid-template-columns: 1fr; }
  .quote-panel { position: static; }
  .faq-inner { grid-template-columns: 1fr; gap: 0; }

  /* minmax(0, 1fr) stops the scrolling chip row from widening the page */
  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .service-index {
    position: sticky; top: var(--header-h-s); z-index: 20; margin: 0 -20px; padding: 10px 20px;
    background: rgba(246, 243, 236, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-hidden ~ main .service-index { top: 0; }
  .service-index-title { display: none; }
  .service-index ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .service-index ul::-webkit-scrollbar { display: none; }
  .service-index a { white-space: nowrap; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .98rem; background: #fff; }
  .service-index a[aria-current] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); border-radius: 999px; }
  .service-block { scroll-margin-top: calc(var(--header-h-s) + 72px); }

  .carbon-inner { grid-template-columns: 1fr; gap: 0; }
  .values-grid { grid-template-columns: 1fr; }

  .yard-media { height: auto; }
  .yard-frame { position: relative; top: auto; transform: none; }
  .yard-media::after { background: linear-gradient(180deg, rgba(4, 13, 31, 0) 70%, rgba(4, 13, 31, .7)); }
  .yard-inner { position: relative; inset: auto; display: block; pointer-events: auto; margin-top: -48px; padding-bottom: 72px; }
  .yard-card { width: auto; max-width: 560px; background: var(--navy-900); }
  .action-bar { transition: transform .25s; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* bottom quick-action bar */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(7, 22, 48, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, .08); padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px;
    color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem;
  }
  .action-bar a:first-child { background: var(--accent); }
  .action-bar a:active { background: rgba(255, 255, 255, .08); }
  .action-bar a:first-child:active { background: var(--accent-700); }
  .action-bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .footer-brand .brand-logo { height: 100px; }

  .hero h1 { font-size: clamp(2.7rem, 13.5vw, 4rem); }
  .eyebrow { font-size: .78rem; letter-spacing: .1em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badges { flex-direction: column; }

  .strip { margin-top: -24px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .strip-item:last-child { border-bottom: 0; }

  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-feature { grid-column: auto; }
  .card { padding: 24px 22px; }

  .layer { font-size: .82rem; padding: 0 12px; }
  .l-lam { height: 76px; } .l-core { height: 66px; }
  .scarf { left: 70%; width: 150px; height: 128px; }

  .process-list { grid-template-columns: 1fr; gap: 0; }
  .process-list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 28px; position: relative; }
  .process-list li:not(:last-child)::after {
    content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 2px;
    background: repeating-linear-gradient(180deg, var(--sky-600) 0 6px, transparent 6px 12px); opacity: .5;
  }
  .p-num { grid-row: span 2; margin: 0; }
  .process-list h3 { align-self: center; margin-top: 12px; }

  .cta-actions, .cta-actions .btn { width: 100%; }

  .faq-item summary { font-size: 1.2rem; padding: 18px; }
  .damage-grid { grid-template-columns: 1fr; gap: 14px; }
  .boat-grid { gap: 12px; }
  .boat-card { padding: 14px 14px 18px; }
  .boat-card h3 { font-size: 1.25rem; }
  .boat-card p { font-size: .88rem; }
  .sign-grid { grid-template-columns: 1fr; gap: 10px; }
  .sign-card { padding: 16px; }
  .signs-bar { bottom: calc(76px + env(safe-area-inset-bottom)); border-radius: 18px; padding: 14px; }
  .signs-count { width: 100%; text-align: center; }
  .signs-bar .btn { width: 100%; }
  .quote-actions { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr; }
  .callout { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .callout .btn, .service-block-actions .btn, .carbon-actions .btn { width: 100%; }
  .breadcrumb ol { font-size: .85rem; }
  .pin { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
  .pin-label { left: 16px; font-size: .72rem; padding: 3px 8px; letter-spacing: .08em; }
  .pin { left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .pin--left .pin-label { left: 16px; right: auto; }
  .about-card { margin: -40px 12px 0; }
  .about-photo figcaption { font-size: .78rem; left: 12px; top: 12px; }
  .faq-a { padding: 0 18px 18px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
