/* J&J Coastal Complete site styles */
  :root {
    --bg: #ffffff;
    --bg-soft: #f4f5f3;
    --ink: #5b6066;
    --body: #3a3d3f;
    --muted: #666b6e;
    --line: #dcdedb;
    --accent: #0a5c6b;
    --accent-ink: #ffffff;
    --dark: #5b6066;
    --gutter: clamp(16px, 5vw, 80px);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  [id] { scroll-margin-top: 96px; }
  body {
    margin: 0; background: var(--bg); color: var(--body);
    font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--accent); }
  a:hover { color: var(--ink); }
  a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
  p { margin: 0; }
  .inner { max-width: 1180px; margin: 0 auto; }

  h1, h2, h3 { margin: 0; font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; color: var(--ink); }
  h1 { font-weight: 700; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; text-wrap: balance; }
  h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; text-wrap: balance; }
  h3 { font-weight: 600; font-size: 24px; line-height: 1.15; }
  .eyebrow { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
  .lead { font-size: 20px; color: var(--body); max-width: 600px; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
    border: 2px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 20px;
    letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px;
  }
  .btn:hover { background: var(--ink); color: #fff; }
  .btn.solid { background: var(--ink); color: #fff; }
  .btn.solid:hover { background: var(--accent); border-color: var(--accent); }
  .btn.sm { min-height: 44px; padding: 0 20px; font-size: 18px; }
  .btn.light { border-color: #fff; color: #fff; }
  .btn.light:hover { background: #fff; color: var(--ink); }
  .btn.light.solid { background: #fff; color: var(--ink); }
  .btn.light.solid:hover { background: transparent; color: #fff; }

  /* header: dark bar keeps the logo (white on black) readable */
  header.site { position: sticky; top: 0; z-index: 20; background: var(--dark); }
  .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding: 10px var(--gutter); max-width: 1280px; margin: 0 auto; }
  .bar img { height: 60px; width: auto; }
  nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
  nav a.l { color: #fff; text-decoration: none; padding: 10px 0; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; }
  nav a.l:hover { color: #9fd3dc; }

  /* hero */
  .hero { padding: 64px var(--gutter) 72px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
  .hero .inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
  .hero .copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
  .hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero .trust { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
  .hero .trust span::before { content: "\2713\00a0\00a0"; color: var(--accent); }
  .hero .art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
  .hero .badge { background: var(--dark); padding: 28px; border-radius: 4px; width: 100%; max-width: 440px; }
  .hero .badge img { width: 100%; }

  section.blk { padding: 84px var(--gutter); }
  section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .head { display: flex; flex-direction: column; gap: 14px; max-width: 700px; margin-bottom: 40px; }

  /* what do you need */
  .paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
  .path { border: 2px solid var(--ink); background: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
  .path .tag { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
  .path h3 { font-size: 34px; }
  .path ul { margin: 0; padding: 0 0 0 22px; display: grid; gap: 6px; }
  .path .go { margin-top: auto; padding-top: 8px; }

  /* what we do */
  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
  .card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
  .card svg { color: var(--accent); }
  .card p { font-size: 17px; }

  /* steps */
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
  .step { border-top: 4px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
  .step .n { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
  .step h3 { font-size: 28px; }

  /* why */
  .why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
  .why > div { display: flex; flex-direction: column; gap: 8px; }
  .why h3 { font-size: 22px; }
  .why > div::before { content: ""; width: 44px; height: 4px; background: var(--accent); }

  /* also */
  .also { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
  .also li { border: 2px solid var(--ink); background: #fff; padding: 8px 18px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }

  /* faq */
  details { border-top: 1px solid var(--line); }
  details:last-of-type { border-bottom: 1px solid var(--line); }
  summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; font-size: 21px; text-transform: uppercase; color: var(--ink); }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 500; color: var(--accent); }
  details[open] summary::after { content: "\2212"; }
  details p { max-width: 760px; margin: 0 0 22px; }

  .pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
  .pills li { border: 2px solid var(--ink); padding: 8px 18px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: #fff; }

  /* contact (dark band for contrast) */
  .contact { background: var(--dark); color: #eef0f1; padding: 84px var(--gutter); }
  .contact h2 { color: #fff; }
  .contact .inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
  .contact .l { flex: 1 1 400px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  .contact .r { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .contact .cta { display: flex; flex-wrap: wrap; gap: 12px; }
  .crow { display: flex; flex-direction: column; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.25); }
  .crow .k { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 500; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: #e6e8e9; }
  .crow a { color: #fff; text-decoration: none; }
  .crow a:hover { color: #9fd3dc; }
  .crow .ph { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; font-size: clamp(30px, 4vw, 44px); }
  .crow .em { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: 0.05em; text-transform: uppercase; overflow-wrap: anywhere; }
  .crow .v { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; font-size: 22px; text-transform: uppercase; color: #fff; }

  footer { background: var(--dark); color: #eef0f1; padding: 26px var(--gutter) 110px; font-size: 14px; }
  footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
  footer .c { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; }

  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
  .callbar .btn { flex: 1; }

  @media (min-width: 960px) {
    .callbar { display: none; }
    footer { padding-bottom: 26px; }
  }
  @media (max-width: 640px) {
    nav a.l { display: none; }
    section.blk { padding: 60px var(--gutter); }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- conversion additions ---- */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; color: #fff; font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 30px; }
.wordmark small { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.2em; color: #9fd3dc; margin-top: 4px; }
.hero { background: linear-gradient(180deg, #eef0ee 0%, #f8f9f7 100%); }
.hero .art { align-items: flex-start; }
.quote { width: 100%; max-width: 480px; background: #fff; border: 2px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 8px 8px 0 var(--accent); }
.quote h2 { font-size: clamp(26px, 3vw, 34px); }
.quote .qsub { color: var(--body); margin: 0; }
.qf { display: flex; flex-direction: column; gap: 6px; }
.qf label, .qfallback label { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.qf input, .qf select, .qf textarea, .qfallback textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.qf textarea, .qfallback textarea { resize: vertical; }
.qf input:focus, .qf select:focus, .qf textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.quote .btn { width: 100%; }
.quote .qfine { font-size: 15px; color: var(--muted); margin: 0; }
.qfallback { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.qfallback[hidden] { display: none; }
.formwrap { display: flex; justify-content: center; }
.strip { background: var(--ink); color: #fff; padding: 22px var(--gutter); }
.strip .inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 24px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 500; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.strip .k { font-weight: 600; color: #ffffff; }

/* ---- multi-page additions ---- */
.crumbs { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 500; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pagehero { padding: 52px var(--gutter) 60px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.pagehero .inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pagehero h1 { font-size: clamp(34px, 5vw, 64px); max-width: 960px; }
.pagehero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split .prose { flex: 2 1 480px; min-width: 0; }
.split .side { flex: 1 1 300px; min-width: 0; border: 2px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 18px; background: #fff; }
.prose h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.prose h3 { margin: 28px 0 12px; }
.prose p { margin: 0 0 16px; max-width: 720px; }
.prose a { font-weight: 600; }
ul.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
ul.ticks li { padding-left: 30px; position: relative; max-width: 720px; }
ul.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
ol.num { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ink); text-decoration: none; color: var(--body); }
.tile:hover { border-top-color: var(--accent); box-shadow: 0 6px 20px rgba(0,0,0,0.08); color: var(--body); }
.tile h3 { font-size: 22px; }
.tile .arrow { margin-top: auto; padding-top: 6px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.linkpills li { padding: 0; }
.linkpills a { display: block; padding: 8px 18px; text-decoration: none; color: var(--ink); }
.linkpills a:hover { background: var(--ink); color: #fff; }
.path .more, .more { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
footer.sitefoot { background: var(--dark); color: #eef0f1; border-top: 1px solid rgba(255,255,255,0.22); padding: 56px var(--gutter) 110px; font-size: 16px; }
.sitefoot a { color: #ffffff; text-decoration: none; }
.sitefoot a:hover { color: #9fd3dc; text-decoration: underline; }
.sitefoot .fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.sitefoot .fh { font-size: 20px; color: #fff; margin-bottom: 14px; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sitefoot ul.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.sitefoot p { margin: 0 0 12px; }
.sitefoot .fbase { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 24px; font-size: 14px; }
.sitefoot .c { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 960px) { footer.sitefoot { padding-bottom: 36px; } }

/* ---- slate palette (Dec 2026): small text on slate stays white for contrast ---- */
.contact .eyebrow { color: #ffffff !important; }

/* ---- coastal blue pass (Dec 2026): blue calls to action, more blue in the wording ----
   Contrast: teal #0a5c6b on coastal blue #9fd3dc is 4.7:1 (any text size).
   Coastal blue on slate is 3.9:1, so blue words on slate are kept 24px and up. */
.btn.solid { background: #9fd3dc; border-color: #0a5c6b; color: #0a5c6b; box-shadow: 0 4px 0 #0a5c6b; }
.btn.solid:hover { background: #0a5c6b; border-color: #0a5c6b; color: #fff; }
.btn.solid:active { transform: translateY(2px); box-shadow: 0 2px 0 #0a5c6b; }
.btn.light.solid { background: #9fd3dc; border-color: #9fd3dc; color: #0a5c6b; box-shadow: 0 4px 0 rgba(0,0,0,0.25); }
.btn.light.solid:hover { background: #fff; border-color: #fff; color: #0a5c6b; }
.btn.light:hover { background: #9fd3dc; border-color: #9fd3dc; color: #0a5c6b; }
.btn:focus-visible { outline: 3px solid #0a5c6b; outline-offset: 3px; }
.contact .btn:focus-visible, header.site .btn:focus-visible { outline-color: #9fd3dc; }
.head h2::after, .prose h2::after { content: ""; display: block; width: 72px; height: 6px; background: #9fd3dc; margin-top: 14px; }
.strip .k { color: #9fd3dc; font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 24px; font-weight: 600; }
.contact h2 { color: #9fd3dc; }
.crow .ph { color: #9fd3dc; }
.crow .ph:hover { color: #fff; }
.sitefoot .fh { color: #9fd3dc; }
.quote { box-shadow: 8px 8px 0 #9fd3dc; }
.why > div::before { background: #9fd3dc; height: 6px; }
.hero .trust span::before { color: #0a5c6b; }
.linkpills a:hover { background: #9fd3dc; color: #0a5c6b; }
@media (prefers-reduced-motion: reduce) { .btn.solid:active { transform: none; } }
