/* Keelstone Marine Services concept. Deep harbor navy, brass, chart-paper whites, sharp corners and fine rules. */
:root {
  --navy: #0c2236;
  --navy-2: #14324d;
  --text: #142231;
  --muted: #4b5a67;
  --on-navy: #dfe7ee;
  --on-navy-muted: #a9bccc;
  --brass: #c9a24a;
  --brass-hover: #d9b462;
  --brass-ink: #765610;
  --chart: #f3f5f4;
  --white: #ffffff;
  --line: #d3dbe0;
  --focus: #0c5a8a;
  --radius: 2px;
  --wrap: 1180px;
  --font: Futura, "Futura PT", "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--focus); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.navy :focus-visible, .concept-bar :focus-visible { outline-color: var(--brass); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--brass); color: var(--navy); padding: .6rem 1rem; z-index: 50; font-weight: 600; }
.skip:focus { top: 3rem; }
h1, h2, h3 { font-family: var(--font); color: var(--navy); font-weight: 500; line-height: 1.15; letter-spacing: -.005em; margin: 0; }
h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
.overline { font-family: var(--font); font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: .8rem; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 36rem; margin-top: 1rem; }

/* Concept label */
.concept-bar { position: sticky; top: 0; z-index: 40; background: #071624; color: var(--on-navy); font-size: .82rem; text-align: center; }
.concept-bar a { display: flex; align-items: center; justify-content: center; min-height: 34px; padding: .4rem 1rem; color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Header */
.site-head { background: var(--navy); color: var(--on-navy); border-bottom: 1px solid var(--navy-2); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; min-height: 44px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-word { display: grid; line-height: 1.05; font-family: var(--font); }
.brand-word b { font-size: 1.2rem; font-weight: 600; letter-spacing: .26em; }
.brand-word span { font-size: .68rem; letter-spacing: .32em; color: var(--brass); margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav-links { display: none; }
@media (min-width: 840px) { .nav-links { display: flex; gap: .25rem; } }
.nav a:not(.btn) { color: var(--on-navy); text-decoration: none; padding: .55rem .85rem; min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; }
.nav a:not(.btn):hover { color: #fff; text-decoration: underline; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--brass); }
.btn.head-call { display: none; }
@media (min-width: 560px) { .btn.head-call { display: inline-flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: var(--radius); border: 1.5px solid transparent; font: 600 .9rem/1.1 var(--font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-brass { background: var(--brass); color: var(--navy); }
.btn-brass:hover { background: var(--brass-hover); }
.btn-line { border-color: currentColor; color: var(--on-navy); background: transparent; }
.btn-line:hover { background: var(--navy-2); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--chart); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Navy hero */
.navy { background: var(--navy); color: var(--on-navy); }
.navy h1, .navy h2 { color: #fff; }
.navy .lede { color: var(--on-navy-muted); }
.navy .overline { color: var(--brass); }
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-art { width: 100%; height: auto; }
.specs { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 1.75rem 0 0; padding: 1.1rem 0 0; list-style: none; border-top: 1px solid var(--navy-2); color: var(--on-navy-muted); font-size: .95rem; }
.specs li { display: flex; align-items: center; gap: .45rem; }
.specs svg { width: 18px; height: 18px; color: var(--brass); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section.chart { background: var(--chart); border-block: 1px solid var(--line); }
.head { max-width: 42rem; margin-bottom: 2.25rem; }

/* Services by boat size */
.sizes { display: grid; border-top: 2px solid var(--navy); }
@media (min-width: 860px) { .sizes { grid-template-columns: repeat(3, 1fr); } }
.size { padding: 1.5rem 0 1.75rem; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .size { padding: 1.5rem 1.5rem 1.75rem; border-bottom: 0; border-left: 1px solid var(--line); } .size:first-child { border-left: 0; padding-left: 0; } }
.size-ft { font-family: var(--font); font-size: 1.6rem; color: var(--navy); }
.size-kind { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.size ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.size li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px dotted var(--line); }
.size li span:last-child { color: var(--muted); font-size: .92rem; text-align: right; }
@media (max-width: 519px) { .size li { flex-direction: column; gap: .1rem; } .size li span:last-child { text-align: left; } }
.fine { margin-top: 1.25rem; font-size: .92rem; color: var(--muted); }

/* Two ways */
.ways { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: 1.6rem; }
.way svg.ico { width: 30px; height: 30px; color: var(--navy); margin-bottom: .9rem; }
.way p { color: var(--muted); margin-top: .45rem; }
.ticks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .45rem; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; color: var(--brass-ink); flex: none; margin-top: .25rem; }

/* Plans */
.plans { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid var(--line); padding: 1.6rem; }
.plan .price { font-family: var(--font); font-size: 1.15rem; color: var(--brass-ink); margin-top: .4rem; border: 1px dashed #b7a06b; display: inline-block; padding: .2rem .6rem; }

/* Placeholders */
.fills { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .fills { grid-template-columns: 1fr 1fr; } }
.fill { border: 2px dashed #9fb0bd; padding: 1.5rem; background: var(--white); }
.fill-tag { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.fill p { color: var(--muted); margin-top: .45rem; }

/* CTA */
.cta { padding: clamp(2.75rem, 6vw, 4rem) 0; }
.cta-row { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .cta-row { grid-template-columns: 1fr auto; } }
.cta-row .actions { margin-top: 0; }
.cta p { margin-top: .6rem; color: var(--on-navy-muted); max-width: 34rem; }

/* Request page */
.page-head { padding: clamp(2.25rem, 5vw, 3.25rem) 0; }
.req { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem); align-items: start; }
@media (min-width: 940px) { .req { grid-template-columns: 1.55fr 1fr; } }
.form { border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); }
.form h2 { font-size: 1.4rem; }
.grid { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
@media (min-width: 620px) { .grid { grid-template-columns: 1fr 1fr; } .grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .35rem; }
label, legend { font-weight: 600; color: var(--navy); }
input, select, textarea { font: inherit; color: var(--text); background: #fff; border: 1.5px solid #8796a3; border-radius: var(--radius); padding: .65rem .8rem; min-height: 48px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.hint { font-size: .9rem; color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .5rem; }
.modes { display: grid; gap: .6rem; }
@media (min-width: 620px) { .modes { grid-template-columns: 1fr 1fr; } }
.modes label { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border: 1.5px solid #8796a3; cursor: pointer; font-weight: 600; min-height: 48px; }
.modes label small { display: block; font-weight: 400; color: var(--muted); font-size: .93rem; margin-top: .15rem; }
.modes label:has(input:checked) { border-color: var(--navy); background: var(--chart); box-shadow: inset 3px 0 0 var(--brass); }
.modes input { width: 20px; height: 20px; min-height: 0; margin: .15rem 0 0; flex: none; accent-color: var(--navy); }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.form-foot p { color: var(--muted); font-size: .92rem; }
.form-note { margin-top: 1.1rem; padding: .9rem 1rem; background: var(--chart); border-left: 4px solid var(--brass); font-weight: 600; color: var(--navy); }
.side { display: grid; gap: 1.25rem; }
.side-card { border: 1px solid var(--line); padding: 1.4rem; }
.side-card h2 { font-size: 1.15rem; }
.side-card p { color: var(--muted); margin-top: .5rem; }
.side-card .btn { margin-top: 1rem; }

/* Footer */
.site-foot { background: var(--navy); color: var(--on-navy-muted); padding: 2.75rem 0 1.5rem; font-size: .95rem; }
.site-foot a { color: var(--on-navy); }
.site-foot :focus-visible { outline-color: var(--brass); }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot h2 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: .6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.site-foot ul a { display: inline-flex; align-items: center; min-height: 40px; }
.site-foot .about { margin-top: .8rem; max-width: 28rem; }
.foot-base { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--navy-2); margin-top: 2rem; padding-top: 1rem; }
.foot-base a { display: inline-flex; align-items: center; min-height: 40px; }

/* Phones: call from the dock */
.dock-bar { position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--navy); border-top: 1px solid var(--navy-2); }
.dock-bar :focus-visible { outline-color: var(--brass); }
@media (min-width: 760px) { .dock-bar { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 76px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
