/* Marvel Advisors: one shared stylesheet. Fonts: Arvo + Lato (SIL OFL, self-hosted). */
@font-face { font-family: "Arvo"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/arvo-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Arvo"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/arvo-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/lato-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/lato-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/lato-latin-700-normal.woff2) format("woff2"); }

:root {
  --dark: #282828;
  --dark-2: #2e2a2a;
  --field: #383838;
  --red: #d01818;
  --red-hi: #dc1f1f;
  --accent: #ef4b4b;
  --ink: #111;
  --muted: #555;
  --white: #fff;
  --head: "Arvo", Georgia, serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1232px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--dark); }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
[id] { scroll-margin-top: 88px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 12px; border-radius: var(--radius); }
.skip:focus { top: 8px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--body); font-size: 1rem; line-height: 1.2; padding: 12px 24px; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s, color .15s; }
.btn-sm { font-size: .875rem; padding: 7px 16px; }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: #b01414; border-color: #b01414; }
.btn-red:disabled { opacity: .7; cursor: default; }
.btn-black { background: #000; color: var(--white); border-color: #000; }
.btn-black:hover { background: #222; }
.btn-accent { background: var(--accent); color: #1a1a1a; border-color: var(--accent); }
.btn-accent:hover { background: #f26a6a; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: var(--white); }
.header-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; max-width: none; }
@media (min-width: 768px) { .header-grid { padding: 0 32px 0 32px; } }
.brand { font-family: var(--head); font-size: 1.5rem; text-decoration: none; white-space: nowrap; }
.header-cta { justify-self: end; }
.main-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; margin-left: -8px; cursor: pointer; }
body.home .site-header { background: #f4f4f3; color: var(--ink); }
body.home .site-header .btn-outline { color: var(--ink); border-color: var(--ink); }
body.home .site-header .btn-outline:hover { background: var(--ink); color: var(--white); }

@media (max-width: 860px) {
  .header-grid { min-height: 60px; }
  .brand { font-size: 1.25rem; }
  .nav-toggle { display: inline-flex; }
  .main-nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: inherit; padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.25); }
  .site-header { background-clip: padding-box; }
  .main-nav ul { background: var(--dark); }
  body.home .main-nav ul { background: #f4f4f3; }
  body.nav-open .main-nav ul { display: flex; }
  .main-nav li a { display: block; padding: 12px 0; }
  .header-cta .btn { padding: 6px 10px; font-size: .8125rem; }
}

/* Footer */
.site-footer { background: var(--dark); color: var(--white); padding: 56px 0 72px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.footer-grid .brand { margin-right: auto; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Wave dividers: color comes from the parent's `color` */
.wave { display: block; width: 100%; height: clamp(24px, 4.5vw, 64px); fill: currentColor; }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; }
.curved { position: relative; }

/* Sections */
.section { padding: 64px 0; }
.section-title { text-align: center; font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 40px; text-transform: uppercase; }
.on-dark { color: var(--white); }
.bg-dark { background: var(--dark); }
.bg-white { background: var(--white); }
/* Red gradients (darkest red kept >= 4.5:1 against white text) */
.grad-dark-red { background: linear-gradient(180deg, var(--dark-2) 0%, #7a1d1d 45%, var(--red-hi) 100%); }
.grad-red-dark { background: linear-gradient(180deg, var(--red-hi) 0%, #7a1d1d 55%, var(--dark-2) 100%); }
.grad-home-services { background: linear-gradient(180deg, var(--dark-2) 0%, #8e1c1c 30%, var(--red-hi) 50%, #8e1c1c 75%, var(--dark-2) 100%); }

/* Home hero: marble-like light texture in pure CSS */
.hero-marble {
  background-color: #f4f4f3;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(160,160,160,.12) 41%, transparent 43%),
    linear-gradient(160deg, transparent 60%, rgba(150,150,150,.10) 61%, transparent 62.5%),
    linear-gradient(35deg, transparent 20%, rgba(170,170,170,.10) 21%, transparent 22%),
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(220,220,220,.7), transparent 60%);
  color: var(--ink);
}
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 96px 16px 72px; }
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.hero p { font-size: 1.25rem; max-width: 34ch; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 520px; height: auto; mix-blend-mode: multiply; }
.hero-art .icon { width: min(100%, 380px); height: auto; stroke-width: .6; color: #f2f2f2; }
.banner { padding: 96px 0 112px; color: var(--white); }
.banner .hero { padding-top: 0; padding-bottom: 0; }
.banner p { max-width: 42ch; }

/* Service cards */
.cards { display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); text-align: center; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; }
.card .icon { width: 132px; height: 132px; margin: 0 auto 20px; display: block; color: var(--white); }
.card h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); text-transform: uppercase; margin-bottom: 16px; }
.card p { font-size: .95rem; max-width: 30ch; margin: 0 auto 16px; }
.card .btn { margin-top: 4px; }
@media (max-width: 860px) { .cards.cols-3 { grid-template-columns: 1fr; } }

/* Feature lists on service pages */
.features { display: grid; gap: 40px 48px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); text-align: center; max-width: 1100px; margin: 0 auto; }
.features.left { text-align: left; }
.features h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 12px; }
.features p { font-size: .95rem; margin: 0; }
.chips { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0 auto; padding: 0; max-width: 1100px; }
.chips li { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 18px 20px; font-family: var(--head); font-size: 1.1rem; line-height: 1.35; }

/* Contact */
.contact { padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-grid.form-right .contact-text { order: -1; }
.contact h2, .contact h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.contact-text p { font-size: 1.125rem; }
.contact-form { color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .95rem; margin-bottom: 4px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--white); background: var(--field); border: 1px solid #555; border-radius: 6px; padding: 10px 12px; }
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: #ffbf47; }
.field [aria-invalid="true"] { border-color: #ff8a8a; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .btn { min-width: 144px; }
.form-status { margin: 0; font-size: .95rem; flex: 1 1 220px; }
.form-status.is-error { color: #ffb3b3; }
.form-status.is-success { color: #b8f5c4; }
.form-status a, .form-noscript a { color: var(--white); }
.form-noscript { margin-top: 16px; font-size: .95rem; }
.contact.light .contact-form { color: var(--ink); }
.contact.light .field input, .contact.light .field textarea { background: #f2f2f2; color: var(--ink); border-color: #bbb; }
.contact.light .form-status.is-error { color: #a30f0f; }
.contact.light .form-status.is-success { color: #11622a; }
.contact.light .form-status a, .contact.light .form-noscript a { color: var(--red); }

/* Home blog CTA: abstract dark backdrop instead of a photo */
.cta { text-align: center; padding: 120px 0; color: var(--white);
  background:
    radial-gradient(circle at 18% 30%, rgba(239,75,75,.35), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,.12), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #3a3a3a, #1f1f1f); }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta p { font-size: 1.25rem; max-width: 46ch; margin: 0 auto 28px; }

/* Prose pages (about, FAQ, policies, blog posts) */
.prose { max-width: 880px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-top: 1.4em; }
.prose h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: inherit; text-decoration: underline; }
.about-art { height: clamp(220px, 32vw, 460px);
  background:
    radial-gradient(circle at 25% 40%, rgba(255,255,255,.55) 0 8%, transparent 30%),
    repeating-radial-gradient(circle at 70% 65%, rgba(255,255,255,.18) 0 2px, transparent 2px 38px),
    linear-gradient(120deg, #e9eef0 0%, #7fb2c4 45%, #1d5a73 100%); }
.policy { font-size: .95rem; }
.policy h1 { font-size: 1.1rem; font-family: var(--body); font-weight: 700; }
.policy h2 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin-top: 2em; }
.policy.on-dark { background: var(--dark); }
.faq h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.faq h2:first-of-type { margin-top: 0; }

/* Blog index */
.blog-head h1 { font-size: clamp(2rem, 3vw, 2.5rem); }
.post-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; margin: 0; padding: 0; }
.post-card a { text-decoration: none; display: block; }
.post-card a:hover h3 { text-decoration: underline; }
.post-card h3 { font-size: 1.5rem; margin: 16px 0 6px; }
.post-date { font-size: .875rem; color: var(--muted); }
.post-art { aspect-ratio: 16 / 9; border-radius: 16px; position: relative; display: flex; align-items: center; justify-content: center; color: var(--white); }
.post-art .icon { width: 34%; max-width: 128px; height: auto; stroke-width: 1.25; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.topic-label { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.5); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.post-topic { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 22px; }
.post-topic .icon { width: 96px; height: 96px; stroke-width: 1.25; }
.post-topic .topic-label { position: static; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; gap: 28px; } .post-art { aspect-ratio: 3 / 1; border-radius: 10px; } .post-art .icon { width: auto; height: 62%; } .topic-label { left: 10px; bottom: 10px; font-size: .7rem; } .post-card h3 { font-size: 1.25rem; margin-top: 10px; } }

/* Original abstract headers, one per post (cycled) */
.art-0 { background: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 2px, transparent 2px 18px), linear-gradient(135deg, #d01818, #3a1010); }
.art-1 { background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.18) 0 18%, transparent 19%), radial-gradient(circle at 70% 65%, rgba(255,255,255,.12) 0 26%, transparent 27%), linear-gradient(160deg, #282828, #8e1c1c); }
.art-2 { background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 28px), linear-gradient(120deg, #1f2a33, #d01818); }
.art-3 { background: conic-gradient(from 210deg at 70% 60%, #ef4b4b, #282828, #7a1d1d, #ef4b4b); }
.art-4 { background: repeating-radial-gradient(circle at 20% 80%, rgba(255,255,255,.1) 0 2px, transparent 2px 24px), linear-gradient(200deg, #3a3a3a, #b01414); }
.art-5 { background: linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.14) 48% 52%, transparent 52%), linear-gradient(45deg, transparent 0 48%, rgba(255,255,255,.1) 48% 52%, transparent 52%), linear-gradient(180deg, #8e1c1c, #1f1f1f); background-size: 48px 48px, 48px 48px, auto; }

/* Blog post */
.post-hero { color: var(--white); text-align: center; padding: 96px 0 72px; }
.post-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; margin: 0 auto 16px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.post-meta { font-size: .9rem; margin: 0; }
.post-meta img { display: block; width: 40px; height: 40px; margin: 12px auto 0; border-radius: 50%; background: var(--white); padding: 4px; object-fit: contain; }
.post-body { max-width: 680px; }
.post-body h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.post-body h3 { font-size: 1.5rem; }

@media (max-width: 860px) {
  .hero, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 16px 48px; }
  .hero p { font-size: 1.125rem; }
  .banner { padding: 56px 0 72px; }
  .banner .hero-art .icon { width: 200px; }
  .contact-grid .contact-text { order: -1; }
  .card .icon { width: 96px; height: 96px; }
  .card h3 { font-size: 1.2rem; }
  .cards { gap: 48px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 48px 0; }
  .cta { padding: 80px 0; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
.checklist { list-style: none; padding-left: 0; }
.checklist li::before { content: "\2610"; margin-right: .6em; color: var(--red, #d01818); }
