/* oceanviewaccounting.com look, loaded after the shared site.css (SITE_CSS in site.py). Ocean blues from the logo:
   navy, ocean blue and seafoam, sand and mist rows; the site's own ocean pictures as a full-width slide hero;
   Plus Jakarta Sans headings. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0c2340;
  --navy-2: #133a66;
  --ocean: #1f5fae;
  --ocean-hover: #184d8f;
  --seafoam: #39a9bd;
  --sky: #a6d8ea;
  --mist: #eef4fa;
  --sand: #f6f1e8;
  --ink: #0c2340;
  --ink-2: #133a66;
  --ink-3: #1b4a7e;
  --paper: #ffffff;
  --paper-2: #f3f6fa;
  --surface: #ffffff;
  --line: #dbe4ee;
  --text: #223040;
  --muted: #5a6878;
  --teal: #39a9bd;
  --teal-ink: #1f5fae;
  --magenta: #b4532a;
  --heading: #0c2340;
  --link: #1f5fae;
  --link-hover: #0c2340;
  --accent-text: #1f5fae;
  --card-dark: #0c2340;
  --chip-on-bg: #1f5fae;
  --chip-on-text: #ffffff;
  --shadow: rgba(12,35,64,.12);
  --on-dark: #eef4fa;
  --on-dark-muted: #b4c6dc;
  --radius: 12px;
  --head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; }
:focus-visible { outline-color: var(--ocean); }
.ov-hero :focus-visible, .band-navy :focus-visible, .band-ocean :focus-visible, .page-head :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }
.skip { background: var(--ocean); color: #fff; }

/* buttons */
.btn { background: var(--ocean); border-color: var(--ocean); color: #fff; font: 700 1rem/1 var(--head); padding: .95em 1.4em; border-radius: 10px; }
.btn:hover { background: var(--ocean-hover); border-color: var(--ocean-hover); color: #fff; }

/* header: navy strip with the tagline, white bar for the logo */
.site-header { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(12,35,64,.06); }
.topbar { background: var(--navy); color: var(--on-dark); font-size: .86rem; }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-label { font: 700 .82rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.topbar-place { color: var(--on-dark-muted); }
.header-row { min-height: 76px; }
.brand img { width: 190px; }
.site-nav a { color: var(--heading); font: 700 .98rem/1 var(--head); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ocean); }
.site-nav .btn-call { color: #fff; }
.nav-toggle span:not(.vh) { background: var(--heading); }
.nav-open .site-nav { background: #fff; border-bottom: 1px solid var(--line); }
.nav-open .site-nav li a { border-bottom-color: var(--line); }
@media (min-width: 900px) { .brand img { width: 220px; } .header-row { min-height: 88px; } }

/* hero: the site's four slides, full width; a navy fade for the words; a wave into the page */
.ov-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.ov-slides { list-style: none; margin: 0; padding: 0; position: relative; height: clamp(400px, 44vw, 580px); }
.ov-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.ov-slide.is-on { opacity: 1; z-index: 1; }
.ov-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov-slide::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,35,64,.86) 0%, rgba(12,35,64,.55) 45%, rgba(12,35,64,.08) 80%); }
.ov-cap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: 40px; }
.ov-cap-box { max-width: 560px; }
.ov-cap-box h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); line-height: 1.08; margin: 0 0 .35em; }
.ov-cap-box p { font-size: clamp(1.02rem, .95rem + .4vw, 1.22rem); color: #e3edf7; margin: 0 0 1.2em; }
.ov-cap-box .btn { background: #fff; border-color: #fff; color: var(--navy); }
.ov-cap-box .btn:hover { background: var(--mist); border-color: var(--mist); }
.ov-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 62px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.ov-prev, .ov-next { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(12,35,64,.35);
  color: #fff; font: 400 24px/1 var(--ui); cursor: pointer; display: grid; place-items: center; }
.ov-prev:hover, .ov-next:hover { background: rgba(255,255,255,.18); }
.ov-dots { display: flex; gap: 8px; }
.ov-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.ov-dot[aria-current="true"] { background: #fff; width: 26px; border-radius: 6px; }
.ov-hero::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; height: 48px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 28C200 6 420 2 640 18s520 28 800 2v28H0z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
@media (max-width: 699px) {
  .ov-slide::after { background: linear-gradient(180deg, rgba(12,35,64,.45) 0%, rgba(12,35,64,.85) 100%); }
  .ov-cap { align-items: flex-end; padding-bottom: 104px; }
}

/* rows */
.band { padding: 60px 0; }
.band-intro { padding-top: 48px; }
.intro { text-align: center; }
.intro h1 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); letter-spacing: .02em; margin: 0 0 .7em; color: var(--navy); }
.intro h1::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; margin: .55em auto 0;
  background: linear-gradient(90deg, var(--ocean), var(--seafoam)); }
.intro .prose { max-width: 70ch; margin: 0 auto; font-size: 1.12rem; }
.band-navy { background: radial-gradient(ellipse at 90% 0%, rgba(57,169,189,.25), transparent 55%),
  linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-dark); }
.spec-h { color: #fff; text-align: center; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); margin: 0 0 28px; }
.spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.spec li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font: 600 1.02rem/1.35 var(--head); color: #fff; }
.spec .ico { color: var(--sky); flex: none; }
.band-ocean { background: linear-gradient(135deg, var(--ocean) 0%, #1a7fa3 60%, var(--seafoam) 100%); color: #fff; }
.band-ocean h2 { color: #fff; }
.band-mist { background: var(--mist); }
.contact-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .contact-split { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.contact-intro p { font-size: 1.12rem; color: #eef6fb; }
.contact-intro .small { font-size: .95rem; color: #d4e6f2; }
.form-card { background: #fff; color: var(--text); border-radius: 16px; padding: 24px; box-shadow: 0 18px 44px rgba(12,35,64,.18); }
.form-card h2 { margin: 0 0 16px; font-size: 1.35rem; }
.contact-form input, .contact-form textarea { border-radius: 10px; }
.form-note.ok { border-color: var(--ocean); }

/* page title band */
.page-head { color: var(--on-dark); border-bottom: 0; padding: 40px 0 36px;
  background: radial-gradient(ellipse at 90% 0%, rgba(57,169,189,.3), transparent 55%), linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--ocean) 100%); }
.page-head h1 { color: #fff; }
.page-head a { color: var(--sky); }
.page-head .crumbs, .page-head .lede { color: #cddcec; }

/* contact page: the map and the skyline beside the form */
.contact-page { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .contact-page { grid-template-columns: 1.2fr .8fr; gap: 40px; } }
.contact-media { max-width: none; }
.contact-media iframe { display: block; width: 100%; border-radius: var(--radius); background: #dfe7f0; }
.contact-media img { width: 100%; border-radius: var(--radius); }
.contact-page .form-row { grid-template-columns: 1fr; }

/* footer */
.site-footer { background: var(--navy); border-top: 0; }
.site-footer a:hover { color: var(--sky); }
.footer-grid > div:first-child img { background: #fff; padding: 12px 16px; border-radius: 12px; width: 230px; height: auto; }
.foot-h { font: 800 1.05rem/1.2 var(--head); text-transform: none; letter-spacing: 0; }

/* home: the specialties link to their service pages */
.spec li > a { flex: 1; display: flex; align-items: center; gap: 12px; margin: -16px -18px; padding: 16px 18px;
  border-radius: inherit; color: inherit; text-decoration: none; }
.spec li > a:hover { background: rgba(255,255,255,.08); }
.spec li > a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.spec-more { text-align: center; margin: 28px 0 0; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }

/* services: title band over one of the site's photos (small file on phones) */
.page-head.ph { padding: 56px 0 52px; background-color: var(--navy); background-position: center; background-size: cover;
  background-image: linear-gradient(110deg, rgba(12,35,64,.94) 0%, rgba(19,58,102,.86) 55%, rgba(31,95,174,.62) 100%), var(--ph-s); }
@media (min-width: 700px) {
  .page-head.ph { padding: 72px 0 64px;
    background-image: linear-gradient(110deg, rgba(12,35,64,.94) 0%, rgba(19,58,102,.86) 55%, rgba(31,95,174,.62) 100%), var(--ph); }
}
.page-head.ph .lede { color: #e3edf7; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); max-width: 64ch; margin-top: .6em; }
.svc-text h2 { color: var(--navy); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
.svc-text ul { list-style: none; padding-left: 0; }
.svc-text ul li { position: relative; padding-left: 1.6em; }
.svc-text ul li::before { content: ""; position: absolute; left: .2em; top: .55em; width: .55em; height: .55em; border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--seafoam)); }
.svc-text ol { padding-left: 0; list-style: none; counter-reset: step; }
.svc-text ol li { counter-increment: step; position: relative; padding-left: 2.6em; min-height: 1.9em; }
.svc-text ol li::before { content: counter(step); position: absolute; left: 0; top: -.05em; width: 1.9em; height: 1.9em; border-radius: 50%;
  display: grid; place-items: center; background: var(--mist); color: var(--ocean); font: 800 .9rem/1 var(--head); }
.svc-cta { border-radius: var(--radius); padding: 22px; color: var(--on-dark);
  background: radial-gradient(ellipse at 90% 0%, rgba(57,169,189,.3), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); }
.svc-cta h2 { color: #fff; font-size: 1.2rem; margin: 0 0 .4em; }
.svc-cta p { margin: 0 0 1em; color: #dbe7f3; }
.svc-cta .btn { background: #fff; border-color: #fff; color: var(--navy); }
.svc-cta .btn:hover { background: var(--mist); border-color: var(--mist); }
.svc-menu { border-radius: var(--radius); padding: 20px 22px; background: var(--mist); border: 1px solid var(--line); }
.svc-menu h2 { font-size: 1.05rem; margin: 0 0 .6em; }
.svc-menu h2 a { color: var(--navy); text-decoration: none; }
.svc-menu ul { list-style: none; margin: 0; padding: 0; }
.svc-menu li a { display: block; padding: .55em 0; border-top: 1px solid var(--line); color: var(--ink-3); text-decoration: none; font-weight: 600; }
.svc-menu li:first-child a { border-top: 0; }
.svc-menu li a:hover { color: var(--ocean); }
.svc-menu li a[aria-current] { color: var(--ocean); font-weight: 800; }
.svc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.svc-card { display: flex; flex-direction: column; height: 100%; padding: 24px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--seafoam); color: var(--text); text-decoration: none; box-shadow: 0 6px 20px rgba(12,35,64,.06);
  transition: transform .15s ease, box-shadow .15s ease; }
.svc-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(12,35,64,.12); }
.svc-card h2 { color: var(--navy); font-size: 1.22rem; margin: 0 0 .5em; }
.svc-card p { margin: 0 0 1em; color: var(--muted); }
.svc-more { margin-top: auto; color: var(--ocean); font: 700 .98rem/1 var(--head); }
@media (prefers-reduced-motion: reduce) { .svc-card, .svc-card:hover { transition: none; transform: none; } }
