:root {
  --ink: #102238;
  --ink-2: #21364a;
  --teal: #2e747c;
  --teal-dark: #205861;
  --teal-soft: #e5f0f0;
  --copper: #bd673d;
  --copper-dark: #934825;
  --sand: #f3ede4;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: #d8dedf;
  --muted: #5d6b75;
  --success: #1f6a4c;
  --warning: #93611f;
  --shadow: 0 20px 50px rgba(16, 34, 56, .12);
  --radius: 20px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: var(--copper-dark); }
button, input, select, textarea { font: inherit; }
button, .button { touch-action: manipulation; }
:focus-visible { outline: 4px solid #f3ad55; outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-tight { padding: 3rem 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--white); }
.section-teal { background: var(--teal-dark); color: var(--white); }
.eyebrow { color: var(--copper-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; margin: 0 0 .65rem; }
.section-ink .eyebrow, .section-teal .eyebrow { color: #f4b184; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; margin-top: 0; }
h1 { font-size: clamp(2.55rem, 6vw, 5.4rem); max-width: 15ch; margin-bottom: 1.25rem; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.32rem, 2vw, 1.8rem); margin-bottom: .6rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.12rem, 2vw, 1.34rem); max-width: 64ch; color: var(--ink-2); }
.section-ink .lede, .section-teal .lede { color: #e7eef2; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .42rem .75rem; background: rgba(46,116,124,.12); border-radius: 999px; color: var(--teal-dark); font-weight: 800; font-size: .83rem; text-transform: uppercase; letter-spacing: .05em; }
.kicker::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--copper); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,249,.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16,34,56,.1); }
.utility { background: var(--ink); color: #dfe8ed; font-size: .82rem; }
.utility .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: .38rem; }
.utility a { color: white; text-decoration: none; font-weight: 700; }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; min-width: 250px; }
.brand-mark { width: 48px; height: 42px; position: relative; border: 3px solid var(--teal); border-top: 0; border-radius: 0 0 7px 7px; }
.brand-mark::before { content: ""; position: absolute; width: 38px; height: 38px; border-left: 3px solid var(--copper); border-top: 3px solid var(--copper); transform: rotate(45deg); top: -15px; left: 2px; }
.brand strong { display: block; font-family: Georgia, serif; font-size: 1.03rem; line-height: 1.05; }
.brand small { display: block; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }
.main-nav { display: flex; align-items: center; gap: .2rem; }
.main-nav a, .nav-toggle { color: var(--ink); text-decoration: none; font-weight: 750; font-size: .91rem; padding: .75rem .7rem; border-radius: 9px; white-space: nowrap; }
.main-nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.main-nav .nav-cta { background: var(--copper); color: white; margin-left: .45rem; padding-inline: 1rem; }
.main-nav .nav-cta:hover { background: var(--copper-dark); color: white; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); cursor: pointer; }

.hero { min-height: 720px; display: grid; align-items: end; position: relative; isolation: isolate; color: white; overflow: hidden; background: #223445; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-image) center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,20,35,.92) 0%, rgba(7,20,35,.76) 43%, rgba(7,20,35,.18) 75%), linear-gradient(0deg, rgba(7,20,35,.7), transparent 42%); }
.hero-content { padding: clamp(6rem, 12vw, 10rem) 0 4.5rem; }
.hero h1 { text-shadow: 0 3px 18px rgba(0,0,0,.25); }
.hero .lede { color: #f4f7f8; max-width: 57ch; }
.hero-note { margin-top: 1.5rem; display: inline-block; background: rgba(255,255,255,.92); color: var(--ink); border-left: 5px solid var(--copper); padding: .8rem 1rem; max-width: 650px; font-size: .9rem; font-weight: 720; }
.hero-badge { display: inline-flex; gap: .5rem; align-items: center; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: white; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; backdrop-filter: blur(8px); }
.hero-actions, .actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; padding: .72rem 1.15rem; border-radius: 9px; border: 2px solid transparent; background: var(--copper); color: white; font-weight: 850; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--copper-dark); color: white; }
.button-secondary { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.button-secondary:hover { background: var(--teal-dark); color: white; }
.hero .button-secondary, .page-hero .button-secondary, .section-ink .button-secondary, .section-teal .button-secondary { color: white; border-color: white; }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: #f7e8dc; color: var(--ink); }
.text-link { font-weight: 850; text-decoration-thickness: 2px; }

.trust-strip { background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.25rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--teal-dark); }
.trust-item span { color: var(--muted); font-size: .9rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 10px 28px rgba(16,34,56,.06); }
.card:hover { border-color: #9cbfc2; }
.card-number { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); border-radius: 50%; font-weight: 900; margin-bottom: 1rem; }
.card p:last-child { margin-bottom: 0; }
.card a.stretched { font-weight: 850; }
.path-card { position: relative; padding: 1.5rem 1.5rem 1.3rem; background: white; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: 14px; }
.path-card small { color: var(--copper-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.path-card a::after { content: " →"; }
.icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 900; font-size: 1.2rem; margin-bottom: .8rem; }

.image-card { margin: 0; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.image-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.image-card.hero-visual img { aspect-ratio: 16 / 10; }
.image-card figcaption { padding: .85rem 1rem; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }
.concept-label { display: inline-block; background: var(--ink); color: white; font-weight: 850; border-radius: 999px; padding: .17rem .55rem; margin-right: .35rem; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; }

.choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-top: 2rem; }
.choice { appearance: none; text-align: left; color: var(--ink); background: white; border: 2px solid var(--line); border-radius: 14px; padding: 1.15rem; cursor: pointer; min-height: 148px; }
.choice:hover, .choice[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.choice strong { display: block; font-family: Georgia, serif; font-size: 1.25rem; margin-bottom: .3rem; }
.choice span { color: var(--muted); font-size: .9rem; }
.result-panel { display: none; margin-top: 1.25rem; border-left: 6px solid var(--copper); background: white; padding: 1.25rem; border-radius: 0 12px 12px 0; box-shadow: 0 10px 25px rgba(16,34,56,.08); }
.result-panel.active { display: block; }

.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.compare-table th, .compare-table td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table th { background: var(--ink); color: white; font-size: .83rem; text-transform: uppercase; letter-spacing: .06em; }
.compare-table td:first-child { font-weight: 850; color: var(--teal-dark); width: 22%; }
.timeline { counter-reset: steps; display: grid; gap: 1rem; margin-top: 2rem; }
.timeline article { counter-increment: steps; position: relative; padding: 1.1rem 1.1rem 1.1rem 4.3rem; background: white; border: 1px solid var(--line); border-radius: 12px; }
.timeline article::before { content: counter(steps); position: absolute; left: 1rem; top: 1.1rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-weight: 900; }
.timeline h3 { margin-bottom: .25rem; font-size: 1.25rem; }

.notice { padding: 1rem 1.1rem; border-radius: 10px; background: #fff4df; border: 1px solid #e6c78f; color: #60440e; }
.notice strong { color: #523800; }
.notice-teal { background: var(--teal-soft); border-color: #aacdd0; color: var(--ink); }
.notice-dark { background: #142a40; border-color: #46637f; color: white; }
.quote { border-left: 6px solid var(--copper); padding-left: 1.2rem; font-family: Georgia, serif; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.3; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: .4rem 0 .4rem 1.9rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.x-list li::before { content: "×"; color: var(--copper-dark); }
.tag-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.tag { padding: .3rem .65rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 800; font-size: .78rem; }

.page-hero { padding: clamp(5rem, 9vw, 8rem) 0 4rem; background: linear-gradient(135deg, var(--ink), #244b62); color: white; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 80px solid rgba(255,255,255,.04); right: -140px; top: -170px; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.page-hero .lede { color: #e9f0f2; }
.breadcrumbs { font-size: .85rem; color: #cad9df; margin-bottom: 1.4rem; }
.breadcrumbs a { color: white; }

.wet-dry { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.wet-zone, .dry-zone { padding: clamp(1.6rem, 4vw, 3rem); min-height: 340px; }
.wet-zone { background: linear-gradient(145deg, #dfeff0, #f8fbfb); border-right: 1px solid var(--line); }
.dry-zone { background: linear-gradient(145deg, #f7ede3, #fffaf5); }
.zone-button { width: 100%; text-align: left; border: 0; background: white; border-left: 4px solid var(--teal); border-radius: 8px; padding: .7rem .85rem; margin: .3rem 0; cursor: pointer; color: var(--ink); font-weight: 780; box-shadow: 0 4px 12px rgba(16,34,56,.06); }
.zone-button:hover { transform: translateX(3px); }

.form-shell { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label, fieldset legend { display: block; font-weight: 850; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .78rem .85rem; border: 2px solid #bcc7cb; border-radius: 8px; color: var(--ink); background: white; }
.field textarea { min-height: 120px; resize: vertical; }
.field small { color: var(--muted); display: block; margin-top: .25rem; }
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 1rem; padding: 1rem; }
.check-option { display: flex; gap: .65rem; align-items: flex-start; margin: .55rem 0; }
.check-option input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--teal); }
.planner-progress { height: 8px; background: #e4eaeb; border-radius: 999px; overflow: hidden; margin-bottom: 1.6rem; }
.planner-progress span { display: block; height: 100%; width: 16.66%; background: var(--teal); transition: width .2s ease; }
.planner-step { display: none; }
.planner-step.active { display: block; }
.planner-options { display: grid; gap: .7rem; }
.planner-option { display: block; width: 100%; text-align: left; border: 2px solid var(--line); border-radius: 12px; background: white; color: var(--ink); padding: .9rem 1rem; cursor: pointer; }
.planner-option:hover, .planner-option.selected { border-color: var(--teal); background: var(--teal-soft); }
.planner-controls { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.calc-result { background: var(--ink); color: white; border-radius: 14px; padding: 1.3rem; margin-top: 1rem; }
.calc-result output { display: block; font-family: Georgia, serif; font-size: 2.2rem; }

.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 850; color: var(--ink); list-style-position: outside; padding-right: 1rem; }
.faq details p { margin: .8rem 0 0; color: var(--ink-2); }
.footer { background: #0b1a2b; color: #d9e3e9; padding: 4rem 0 1.5rem; }
.footer a { color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h3 { color: white; font-size: 1.1rem; font-family: inherit; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: .45rem 0; }
.footer small { color: #aebdc7; }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid #314458; padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; }
.mobile-actions { display: none; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; display: none; top: 100%; left: 0; right: 0; background: var(--paper); padding: .75rem 1rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(16,34,56,.12); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: .8rem; }
  .main-nav .nav-cta { margin: .25rem 0 0; text-align: center; }
  .choice-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .utility .container { justify-content: center; text-align: center; }
  .utility span:last-child { display: none; }
  .brand { min-width: auto; }
  .brand-mark { width: 42px; height: 37px; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .58rem; }
  .nav-row { min-height: 70px; }
  .hero { min-height: 650px; }
  .hero::after { background: linear-gradient(0deg, rgba(7,20,35,.96) 0%, rgba(7,20,35,.73) 66%, rgba(7,20,35,.3) 100%); }
  .hero-content { padding-bottom: 2.5rem; }
  .hero-actions .button { width: 100%; }
  .trust-grid, .grid-2, .cards, .grid-3, .choice-grid, .grid-4, .form-grid, .footer-grid, .wet-dry { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .wet-zone { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 3.6rem 0; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-table tr { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .compare-table td { border: 0; padding: .35rem .85rem; }
  .compare-table td:first-child { width: auto; font-size: 1.08rem; }
  .footer-bottom { display: block; }
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; display: grid; grid-template-columns: 1fr 1fr; background: white; border-top: 1px solid var(--line); padding: .55rem; gap: .55rem; box-shadow: 0 -8px 20px rgba(16,34,56,.12); }
  .mobile-actions .button { min-height: 48px; padding: .5rem .6rem; font-size: .87rem; }
}

@media print {
  .site-header, .utility, .footer, .mobile-actions, .button, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section, .page-hero { padding: 1.2rem 0; background: white !important; color: #000 !important; }
  .page-hero .lede, .section-ink .lede { color: #000; }
  a { color: #000; text-decoration: none; }
  .card, .form-shell { box-shadow: none; break-inside: avoid; }
}

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

/* ---- SJCC logos, NAP and footer (added 2026-10-10) ---- */
.brand { min-width: 0; }
.brand picture, .footer-brand picture { display: block; }
.brand img.brand-logo { display: block; height: 56px; width: auto; }
.utility a { white-space: nowrap; }
.footer-brand img.footer-logo { display: block; height: 64px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; box-sizing: content-box; }
.sjcc-division { display: flex; align-items: center; gap: 14px; max-width: 410px; margin: 18px 0 14px; color: #d9e3e9; text-decoration: none; font-size: .92rem; line-height: 1.5; }
.footer .sjcc-division { color: #d9e3e9; }
.sjcc-division picture { flex: 0 0 auto; }
.sjcc-division img.sjcc-mark { display: block; width: 74px; height: auto; background: #fff; padding: 5px; border-radius: 10px; }
.sjcc-division strong { color: #fff; }
.footer-nap { line-height: 1.7; margin: 0; }
.footer-umbrella { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.footer-umbrella a { text-decoration: none; }
.footer-legal { margin-top: 1rem; font-size: .8rem; color: #b8c6cf; }
.footer-legal p { margin: 0 0 .4rem; }
.policy h2 { margin-top: 2rem; }
@media (max-width: 720px) {
  .brand img.brand-logo { height: 44px; }
  .utility .container span { display: none; }
  .utility .container { justify-content: center; }
}
@media print { .sjcc-division, .footer-umbrella { display: none; } }
/* Keep the logo's shape; switch to the menu button before the nav crowds it */
.brand, .brand picture, .brand img.brand-logo { flex-shrink: 0; max-width: none; }
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; display: none; top: 100%; left: 0; right: 0; background: var(--paper); padding: .75rem 1rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(16,34,56,.12); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: .8rem; }
  .main-nav .nav-cta { margin: .25rem 0 0; text-align: center; }
}
.hero-credit { margin: 1rem 0 0; font-size: .78rem; color: rgba(255,255,255,.72); }
