/* Ocean States — brand blue (#008FD4) and black from the OS logo.
   Layout: full-bleed photo hero, overlapping trust card, photo cards, alternating photo/text splits. */
:root {
  --bg: #FFFFFF;
  --soft: #F2F6F9;          /* cool light section */
  --sage: #E6F2F9;          /* light brand-blue tint */
  --ink: #12171C;
  --muted: #4F5B66;
  --line: #D9E1E7;
  --blue: #008FD4;          /* logo blue */
  --blue-light: #3AB5EE;    /* logo blue on dark backgrounds */
  --blue-btn: #0077B6;      /* buttons: logo blue deepened for readable white text */
  --blue-btn-hover: #00649A;
  --blue-ink: #006A9E;      /* links and labels on light backgrounds */
  --navy: #0B1F2E;
  --navy-deep: #081723;
  --white: #FFFFFF;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(10, 30, 45, .35);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; color: inherit; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
p, ul, ol, dl, dd, figure { margin: 0; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem .75rem; z-index: 50; }

/* Top bar + header */
.topbar { background: var(--navy); color: #CFDDE8; font-size: .9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; padding-block: .45rem; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; }
.site-header { background: var(--white); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--navy); }
.brand-text span { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue-ink); }
.nav a[aria-current="page"] { color: var(--blue-ink); border-color: var(--blue); }

/* Buttons */
.btn { display: inline-block; font-weight: 800; font-size: 1rem; text-decoration: none; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-align: center; }
.btn-gold { background: var(--blue-btn); color: var(--white); }
.btn-gold:hover { background: var(--blue-btn-hover); }
.btn-light { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-light:hover { background: rgba(255,255,255,.12); }
.btn-green { background: var(--navy); color: var(--white); }
.btn-green:hover { background: #000000; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Photo hero */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,38,.88) 0%, rgba(8,24,38,.65) 45%, rgba(8,24,38,.2) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(4rem, 11vw, 8rem) clamp(5.5rem, 12vw, 9rem); }
.hero-copy { max-width: 38rem; display: flex; flex-direction: column; gap: 1.2rem; }
.hero .lede { font-size: 1.2rem; color: #EEF4F8; }
.hero.short .wrap { padding-block: clamp(3.5rem, 9vw, 6rem); }

/* Trust card overlapping the hero */
.trust { position: relative; z-index: 2; margin-top: -3.5rem; }
.trust ul { list-style: none; padding: 1.4rem 1.6rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.trust li { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.trust b { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }
.trust span { font-size: .92rem; color: var(--muted); line-height: 1.4; }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.soft { background: var(--soft); }
.section.sage { background: var(--sage); }
.section > .wrap { display: flex; flex-direction: column; gap: 2.25rem; }
.head { display: flex; flex-direction: column; gap: .7rem; max-width: 46rem; }
.head.center { text-align: center; align-self: center; align-items: center; }
.head p { color: var(--muted); font-size: 1.1rem; }

/* Photo cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); min-width: 0; transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card .ph { aspect-ratio: 4 / 3; background: var(--sage); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { display: flex; flex-direction: column; gap: .55rem; padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.card .body p { color: var(--muted); }
.card .more { margin-top: auto; padding-top: .4rem; color: var(--blue-btn); font-weight: 800; }

/* Split: photo + text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip .photo { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--sage); box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.text { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.text p { color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; counter-increment: s; }
.steps li::before { content: counter(s); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blue-btn); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.steps p { color: var(--muted); }

/* Checklist */
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--blue-btn);
  -webkit-mask: none; box-shadow: inset 0 0 0 4px var(--blue-btn); }
.checks li::after { content: ""; position: absolute; left: .42rem; top: .5rem; width: .4rem; height: .7rem; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Tiles (claim types) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.tile { background: var(--white); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .45rem; border: 1px solid var(--line); }
.section.soft .tile, .section.sage .tile { border-color: transparent; }
.tile p { color: var(--muted); font-size: 1rem; }

/* Church band */
.church-band { background: var(--navy); color: var(--white); }
.church-band .text p { color: #D3E1EB; }
.church-band .eyebrow { color: var(--blue-light); }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .35rem .9rem; font-size: .92rem; }

/* Mike / about */
.quote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-style: italic; line-height: 1.45; color: var(--navy); }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.badges li { background: var(--sage); color: var(--navy); border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .9rem; }

/* CTA photo band */
.cta { position: relative; color: var(--white); background: var(--navy); overflow: hidden; text-align: center; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(8, 24, 38, .78); }
.cta .wrap { position: relative; z-index: 1; padding-block: clamp(3.5rem, 8vw, 5.5rem); display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.cta p { color: #E1EBF2; max-width: 36rem; }
.cta .phone { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 600; color: var(--white); text-decoration: none; line-height: 1.1; }
.cta .actions { justify-content: center; }

/* Contact details */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.contact-grid .tile a { font-weight: 800; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C3D0DA; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3rem; }
.site-footer .col { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.site-footer h4 { margin: 0 0 .25rem; color: var(--white); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.site-footer a { color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.fineprint { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .fineprint .wrap { display: block; padding-block: 1.1rem; font-size: .82rem; color: #93A6B5; }

@media (max-width: 900px) {
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 32rem; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.flip .photo { order: 0; }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::after { background: linear-gradient(180deg, rgba(8,24,38,.7) 0%, rgba(8,24,38,.85) 100%); }
}
@media (max-width: 560px) {
  .site-header { position: static; }
  .trust ul { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .topbar .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } .card:hover { transform: none; } }

/* Grid splits that sit directly in a section wrapper */
.section > .wrap.split { display: grid; }
.split > .photo { width: 100%; }
.city-links { justify-content: center; }
.badges a { color: inherit; text-decoration: none; }
.badges a:hover { text-decoration: underline; }
.section.sage .badges li { background: var(--white); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.faqs { display: flex; flex-direction: column; gap: .75rem; max-width: 50rem; }
.faq { background: var(--soft); border-radius: var(--radius); padding: 1rem 1.25rem; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.faq p { margin-top: .6rem; color: var(--muted); }
.site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1100px) { .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards.four, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer .wrap { grid-template-columns: 1.15fr 1.35fr 1.1fr 1fr .8fr; }
@media (max-width: 900px) { .tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles.three, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Logo */
.brand img { height: 52px; width: auto; }
.footer-logo { height: 46px; width: auto; margin-bottom: .5rem; }
.hero .eyebrow, .cta .eyebrow, .church-band .eyebrow { color: var(--blue-light); }
.card .more, .tile a { color: var(--blue-ink); }
@media (max-width: 560px) { .brand img { height: 40px; } }
.cards.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.areas-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); max-width: none; }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.btn-sm { padding: .55rem 1.05rem; font-size: .92rem; }
.site-header .btn-sm { color: var(--white); }
.topbar a + a, .topbar span a:last-child { margin-left: 0; }
@media (max-width: 1100px) { .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cards.six { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 560px) { .cards.six, .tiles.four { grid-template-columns: minmax(0, 1fr); } .site-header .btn-sm { display: none; } }
.photo.portrait { aspect-ratio: 4 / 5; max-width: 28rem; width: 100%; justify-self: center; }
.photo.portrait img { object-position: center 25%; }

/* Church photo with credit line (city pages) */
.photo-col { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.split.flip .photo-col { order: 2; }
.credit { font-size: .78rem; line-height: 1.4; color: var(--muted); }
.credit a { color: inherit; }
.church-band .credit { color: #A9BDCB; }
.section.sage .split .text p { color: var(--muted); }
.hero-alt::after { background: linear-gradient(0deg, rgba(8,24,38,.9) 0%, rgba(8,24,38,.55) 60%, rgba(8,24,38,.35) 100%); }
@media (max-width: 900px) { .split.flip .photo-col { order: 0; } }
