/* Navesink Docks — site styles */
/* Georgia everywhere. Gelasio is a free Georgia match that only downloads on devices without Georgia (Android). */
@font-face { font-family: "Gelasio"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/gelasio-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Gelasio"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/gelasio-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Gelasio"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/gelasio-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #ffffff;
  --ink: #26292b;
  --muted: #555d63;
  --brand: #20596b;
  --brand-dark: #164452;
  --rule: #dbe3e5;
  --soft: #a9b6ba;
  --sky: #cfe6ee;
  --head: Georgia, "Gelasio", "Times New Roman", serif;
  --body: Georgia, "Gelasio", "Times New Roman", serif;
  --wrap: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: 40rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

/* Header */
.site-head { padding: 1rem 0 .75rem; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 46px; height: 40px; flex: none; }
.logo span { font-family: var(--head); font-weight: 700; font-size: 1.4rem; line-height: 1.1; }
.head-call { text-align: right; line-height: 1.25; }
.head-call small { display: block; color: var(--muted); font-size: .95rem; }
.head-call a { font-family: var(--head); font-weight: 700; font-size: 1.45rem; text-decoration: none; }
.site-nav { margin-top: .4rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; }

/* The motif strip under the header and above the footer */
.motif { height: 16px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%3E%3Cpath%20d%3D%22M0%200H24V8%20Q18%2014%2012%208%20T0%208Z%22%20fill%3D%22%2320596b%22%2F%3E%3C%2Fsvg%3E"); background-repeat: repeat-x; background-size: auto 16px; }
.motif.flip { transform: scaleY(-1); }

/* Hero */
.hero { padding: 2.5rem 0 1.5rem; }
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .hero .wrap { grid-template-columns: 1.25fr 1fr; } }
.hero p.lead { font-size: 1.25rem; max-width: 34rem; }
.hero-art svg { width: min(100%, 360px); margin: 0 auto; }
.calls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.5rem; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  font-family: var(--head); font-weight: 700; font-size: 1.3rem; line-height: 1.2;
  padding: .8rem 1.4rem; border-radius: 8px; border: 0; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); color: #fff; }

/* Sections */
.section { padding: 2.25rem 0; }
.section > .wrap > h2 { margin-bottom: .9rem; }

.help-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 46rem) { .help-list { grid-template-columns: 1fr 1fr; } }
.help-list li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.help-list svg { width: 52px; height: 52px; }
.help-list h3 { margin: .1rem 0 .25rem; }
.help-list h3 a { color: var(--ink); text-decoration-color: var(--rule); }
.help-list h3 a:hover { color: var(--brand); text-decoration-color: var(--brand); }
.help-list p { margin: 0; color: var(--muted); }

.towns { list-style: none; padding: 0; margin: .5rem 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: 1.2rem; }
.towns a { font-weight: 700; }

ol.steps { padding-left: 1.4rem; margin: 0; }
ol.steps li { padding-left: .4rem; margin-bottom: .6rem; }
ol.steps li::marker { font-family: var(--head); font-weight: 700; color: var(--brand); }
ul.plain { padding-left: 1.3rem; }
ul.plain li { margin-bottom: .4rem; }

details { border-bottom: 1px solid var(--rule); padding: .9rem 0; max-width: 44rem; }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--head); font-size: 1.5rem; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "\2212"; }
details p { margin: .6rem 0 0; }

/* Page intro on inner pages */
.page-top { padding: 2rem 0 .5rem; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: .75rem; }
.crumbs a { color: var(--muted); }
.page-body { padding: .5rem 0 1rem; }
.page-body h2 { margin-top: 2rem; }
.page-body .prose > h2:first-child { margin-top: .75rem; }
.side-call { margin: 1.75rem 0; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: 40rem; }
.side-call p { margin: 0 0 .75rem; }

/* Form */
.note { padding: 2.25rem 0 3rem; }
.note form { max-width: 32rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--soft); border-radius: 6px; padding: .65rem .75rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.fine { font-size: .95rem; color: var(--muted); max-width: 32rem; }

/* Footer */
.site-foot { padding: 2rem 0 6rem; font-size: 1rem; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .site-foot .wrap { grid-template-columns: 1.3fr 1fr 1fr; } .site-foot { padding-bottom: 2.5rem; } }
.site-foot h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .25rem; }
.site-foot a { color: var(--ink); }
.site-foot .disclose { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 1rem; font-size: .92rem; }

/* Call bar that stays on screen on phones */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--rule); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); z-index: 5; }
.callbar .btn { display: block; text-align: center; }
.js .callbar { transform: translateY(110%); transition: transform .2s ease-out; }
.js .callbar.show { transform: none; }
@media (min-width: 46rem) { .callbar { display: none; } }

@media (max-width: 45.99rem) {
  .head-call small { display: none; }
  .head-call a { font-size: 1.2rem; }
  .logo span { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }