/* Drivon family design system: the look of drivonconsulting.com (Cormorant Infant headings, Work Sans text,
   square uppercase buttons, deep bands alternating with white) with each firm's own colors.
   Each site sets its colors in /assets/theme.css; nothing here names a brand color directly. */

/* Self-hosted Google Fonts (SIL Open Font License), the Latin variable files drivonconsulting.com uses. */
@font-face { font-family: "Cormorant Infant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/cormorant-infant-latin.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/work-sans-latin.woff2") format("woff2"); }

:root {
  --brand: #183046;          /* deep band color (header text, dark sections, footer) */
  --brand-rgb: 24, 48, 70;   /* the same color as r, g, b, for translucent overlays */
  --brand-deep: #0f2131;     /* footer */
  --accent: #378a51;         /* buttons, kickers, rules */
  --accent-dark: #2c6f41;    /* button hover */
  --accent-soft: #edf6f0;    /* light accent tint */
  --on-accent: #ffffff;
  --ink: #13263a;
  --text: #5b6670;
  --muted: #7a8590;
  --line: #dfe4e9;
  --mist: #f4f6f8;
  --white: #ffffff;
  --serif: "Cormorant Infant", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --narrow: 780px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--brand); font-family: var(--serif); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(34px, 4.6vw, 54px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(var(--narrow), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
[id] { scroll-margin-top: 100px; } /* anchor targets clear the sticky header */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Buttons ----------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 24px; border: 1px solid var(--accent); border-radius: 0;
  background: var(--accent); color: var(--on-accent); font: 500 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-accent); }
.btn .arrow { width: 16px; height: 10px; flex: none; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.tone-dark .btn-outline, .hero-page .btn-outline, .cta-band .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.tone-dark .btn-outline:hover, .hero-page .btn-outline:hover, .cta-band .btn-outline:hover { background: var(--white); color: var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 28px; }
.center .actions { justify-content: center; }

/* ---- Utility bar and header --------------------------------------------------------------- */
.utility { background: var(--white); border-bottom: 1px solid var(--line); font-size: 13px; }
.utility .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-height: 36px; }
.utility a { color: var(--ink); text-decoration: none; }
.utility a:hover { color: var(--accent); }
.utility .phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; border-bottom: 1px solid var(--ink); }
.utility .phone svg { width: 13px; height: 13px; flex: none; }
.utility .links { display: flex; gap: 0; }
.utility .links a + a::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 9px; background: var(--muted); vertical-align: middle; }
.socials { display: flex; gap: 12px; align-items: center; }
.socials a { display: inline-flex; color: inherit; }
.socials svg { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 18px rgba(16, 30, 44, .07); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 54px; width: auto; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); color: var(--brand); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav li { position: relative; }
.site-nav a, .site-nav .sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; color: var(--ink);
  font: 500 13px/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.site-nav a:hover, .site-nav a[aria-current="page"], .site-nav .sub-toggle:hover { color: var(--accent); }
.site-nav .chev { width: 10px; height: 10px; transition: transform .2s; }
.site-nav li.has-sub > a + .sub-toggle { padding-left: 0; }
.site-nav .sub { position: absolute; top: 100%; left: 0; min-width: 260px; margin: 0; padding: 10px 0; list-style: none; background: var(--white);
  border-top: 2px solid var(--accent); box-shadow: 0 16px 34px rgba(16, 30, 44, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.site-nav .sub a { display: block; padding: 9px 20px; font-size: 13px; letter-spacing: .03em; text-transform: none; }
.site-nav li:hover > .sub, .site-nav li:focus-within > .sub, .site-nav li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta a { min-height: 42px; padding: 0 18px; background: var(--accent); color: var(--on-accent); }
.site-nav .nav-cta a:hover { background: var(--accent-dark); color: var(--on-accent); }

@media (max-width: 1023px) {
  .utility .links, .utility .socials { display: none; }
  .utility .wrap { justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(360px, 88vw); overflow-y: auto; padding: 80px 0 28px; background: var(--white);
    box-shadow: -18px 0 40px rgba(16, 30, 44, .18); transform: translateX(100%); transition: transform .25s; }
  .site-nav.open { transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .site-nav .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 24px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .site-nav .sub { position: static; display: none; min-width: 0; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: var(--mist); }
  .site-nav li.open > .sub { display: block; }
  .site-nav li.open .chev { transform: rotate(180deg); }
  .site-nav .sub a { padding: 12px 36px; }
  .site-nav li.has-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .site-nav li.has-sub > .sub { grid-column: 1 / -1; }
  .site-nav li.has-sub > a + .sub-toggle { width: 58px; justify-content: center; border-left: 1px solid var(--line); }
  .site-nav .nav-cta { margin: 18px 24px 0; }
  .site-nav .nav-cta a { justify-content: center; border: 0; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(10, 18, 26, .45); }
}
@media (min-width: 1024px) { .nav-close { display: none; } }

/* ---- Heroes ------------------------------------------------------------------------------- */
.kicker { display: block; margin: 0 0 14px; color: var(--ink); font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tone-dark .kicker, .hero-page .kicker, .cta-band .kicker { color: rgba(255, 255, 255, .78); }
.hero-home { position: relative; overflow: hidden; background: var(--mist) center / cover no-repeat; }
.hero-home::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .9) 42%, rgba(255, 255, 255, .55) 62%, rgba(255, 255, 255, .15) 100%); }
.hero-home .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: 40px; min-height: clamp(520px, 62vw, 680px); }
.hero-home .copy { align-self: center; padding: 64px 0; max-width: 560px; }
.hero-home h1 { margin-bottom: 10px; font-size: clamp(38px, 5vw, 60px); letter-spacing: .02em; }
.hero-home h1 em { color: var(--accent); font-style: normal; }
.hero-home .lede { color: #3f4b56; font-size: 17px; letter-spacing: .01em; }
.hero-home .portrait { align-self: end; justify-self: center; max-height: 640px; width: auto; }
.hero-home.no-portrait .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-page { position: relative; background: var(--brand) center / cover no-repeat; color: var(--white); }
.hero-page::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--brand-rgb), .94) 0%, rgba(var(--brand-rgb), .82) 55%, rgba(var(--brand-rgb), .6) 100%); }
.hero-page .wrap { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.hero-page h1 { max-width: 860px; color: var(--white); text-transform: uppercase; letter-spacing: .05em; font-size: clamp(32px, 4.2vw, 50px); }
.hero-page .lede { max-width: 720px; color: rgba(255, 255, 255, .88); font-size: 18px; }
.crumbs { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .5); }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
@media (max-width: 860px) {
  .hero-home .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-home .copy { padding: 52px 0 28px; }
  .hero-home .portrait { max-height: 420px; }
  .hero-home::before { background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .88) 60%, rgba(255, 255, 255, .55) 100%); }
}

/* ---- Sections ------------------------------------------------------------------------------ */
.section { padding: var(--section) 0; }
.section + .section.tone-light { padding-top: var(--section); }
.tone-light { background: var(--white); }
.tone-mist { background: var(--mist); }
.tone-dark { background: var(--brand); color: rgba(255, 255, 255, .86); }
.tone-dark h2, .tone-dark h3, .tone-dark h4 { color: var(--white); }
.tone-dark a:not(.btn) { color: var(--white); }
.section-head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.tone-dark .section-head h2, .section-head.caps h2 { text-transform: uppercase; letter-spacing: .06em; font-size: clamp(26px, 3vw, 38px); }
.section-head .intro { color: inherit; font-size: 16px; }
.section-head.left { margin-left: 0; text-align: left; }
.statement { max-width: 900px; margin: 0 auto; text-align: center; color: var(--brand); font: 500 clamp(22px, 2.4vw, 30px)/1.42 var(--serif); }
.tone-dark .statement { color: var(--white); }
.rule { display: block; width: 72px; height: 2px; margin: 18px auto 0; background: var(--accent); border: 0; }

/* Prose: article-like text */
.prose { color: #4a5560; font-size: 17px; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose h4 { margin: 1.3em 0 .3em; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--brand); font: 500 22px/1.5 var(--serif); }
.prose img { margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--mist); color: var(--ink); font-weight: 600; }
.tone-dark .prose { color: rgba(255, 255, 255, .86); }
.tone-dark .prose h2, .tone-dark .prose h3, .tone-dark .prose h4 { color: var(--white); }

/* Split: text beside an image */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.image-left .media { order: -1; }
.split .media img { width: 100%; aspect-ratio: auto; object-fit: cover; box-shadow: 0 24px 50px rgba(16, 30, 44, .14); }
.split .media.framed { position: relative; }
.split .media.framed::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid var(--accent); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.image-left .media { order: 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; background: var(--white); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
a.card:hover { border-color: var(--accent); box-shadow: 0 18px 40px rgba(16, 30, 44, .1); transform: translateY(-2px); color: var(--text); }
.card .card-img { margin: -32px -28px 14px; aspect-ratio: 16 / 10; object-fit: cover; width: calc(100% + 56px); max-width: none; }
.card h3 { margin: 0; font-size: 24px; }
.card .card-rule { width: 64%; height: 1px; margin: 4px 0 6px; background: var(--accent); border: 0; }
.card p { margin: 0; font-size: 15px; }
.card .more { margin-top: auto; padding-top: 10px; color: var(--accent); font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.card svg.icon { width: 44px; height: 44px; color: var(--accent); }
/* On dark bands: the practice-area grid with hairline dividers, as on drivonconsulting.com */
.tone-dark .cards { gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); border-left: 1px solid rgba(255, 255, 255, .14); }
.tone-dark .card { align-items: center; padding: 38px 24px; text-align: center; background: none; border: 0; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .78); }
.tone-dark a.card:hover { background: rgba(255, 255, 255, .05); transform: none; box-shadow: none; color: var(--white); }
.tone-dark .card h3 { color: var(--white); font: 600 14px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.tone-dark .card .card-img { margin: -38px -24px 16px; width: calc(100% + 48px); }
.tone-dark .card .card-rule { margin-inline: auto; }
@media (max-width: 960px) { .cards { --cols: 2 !important; } }
@media (max-width: 600px) { .cards { --cols: 1 !important; } }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 36px 28px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; margin-bottom: 18px; }
.person h3 { margin: 0 0 4px; font-size: 26px; }
.person .role, .person-feature .role { margin: 0 0 12px; color: var(--accent); font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.person .bio { font-size: 15px; }
.person-feature { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: 40px 0; border-top: 1px solid var(--line); }
.person-feature:first-child { border-top: 0; padding-top: 0; }
.person-feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .person-feature { grid-template-columns: 1fr; } }

/* Results / figures */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.result { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result .figure { display: block; margin-bottom: 6px; color: var(--accent); font: 600 clamp(30px, 3vw, 40px)/1.1 var(--serif); }
.result h3 { margin: 0 0 6px; font: 600 14px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.result p { margin: 0; font-size: 15px; }
.tone-dark .results, .tone-dark .result { border-color: rgba(255, 255, 255, .14); }
.tone-dark .result h3 { color: var(--white); }

/* Quotes / testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.quote { margin: 0; padding: 32px; background: var(--white); border-top: 3px solid var(--accent); box-shadow: 0 14px 34px rgba(16, 30, 44, .08); }
.quote p { color: var(--brand); font: 500 21px/1.5 var(--serif); }
.quote cite { color: var(--muted); font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; font-style: normal; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; color: var(--brand); font: 500 21px/1.4 var(--serif); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border: 1px solid var(--accent); color: var(--accent); font: 400 20px/28px var(--sans); text-align: center; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; }
.tone-dark .faq, .tone-dark .faq details { border-color: rgba(255, 255, 255, .16); }
.tone-dark .faq summary { color: var(--white); }

/* Lists of links (news, documents) */
.link-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.link-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.link-list .date { display: block; color: var(--muted); font: 500 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.link-list a.title { color: var(--brand); font: 500 22px/1.35 var(--serif); text-decoration: none; }
.link-list a.title:hover { color: var(--accent); }
.link-list p { margin: 6px 0 0; font-size: 15px; }

/* Gallery and video */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto; background: #000; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Columns of short items (checklists) */
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-details { margin: 0; padding: 0; list-style: none; }
.contact-details li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-details svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.contact-details strong { display: block; color: var(--ink); font: 600 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.contact-details a { color: inherit; }
.map { margin-top: 24px; aspect-ratio: 4 / 3; border: 0; width: 100%; filter: grayscale(.25); }
.form-card { padding: clamp(24px, 4vw, 40px); background: var(--white); border-top: 3px solid var(--accent); box-shadow: 0 22px 50px rgba(16, 30, 44, .1); }
.tone-dark .form-card { color: var(--text); }
.tone-dark .form-card h3 { color: var(--brand); }
.tone-dark .contact-details li { border-color: rgba(255, 255, 255, .16); }
.tone-dark .contact-details strong { color: var(--white); }
.form-card h3 { margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font: 500 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cdd5dc; border-radius: 0; background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--sans); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.consent input { margin-top: 4px; }
.form-card .btn { width: 100%; justify-content: center; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }
.drivon-form-notice { margin-top: 14px; padding: 12px 16px; font: 500 15px/1.45 var(--sans); }
.drivon-form-notice[hidden] { display: none; }
.drivon-form-notice.is-success { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--ink); }
.drivon-form-notice.is-error { background: #fff4ef; border: 1px solid #f0b9a4; color: #5a2614; }
.drivon-form-notice a { color: inherit; font-weight: 600; }
.drivon-turnstile { width: 100%; margin: 0 0 10px; }
.drivon-turnstile:empty { display: none; }
.drivon-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Call-to-action band */
.cta-band { position: relative; padding: clamp(56px, 7vw, 88px) 0; background: var(--brand) center / cover no-repeat; color: rgba(255, 255, 255, .88); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(var(--brand-rgb), .88); }
.cta-band .wrap { position: relative; max-width: 860px; }
.cta-band h2 { color: var(--white); text-transform: uppercase; letter-spacing: .06em; }
.cta-band .actions { justify-content: center; }

/* Notes and disclaimers */
.note { padding: 18px 22px; background: var(--mist); border-left: 3px solid var(--accent); font-size: 15px; }

/* ---- Footer -------------------------------------------------------------------------------- */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .72); font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding: 72px 0 48px; }
.site-footer .footer-logo img { height: 58px; width: auto; margin-bottom: 18px; }
.site-footer h2 { margin: 0 0 16px; color: var(--white); font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer .socials { margin-top: 16px; gap: 14px; }
.site-footer .socials svg { width: 18px; height: 18px; }
.site-footer .disclaimer { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: 12px; line-height: 1.6; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: 13px; }
@media (max-width: 960px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; } }

/* Mobile call / contact bar */
.cta-bar { display: none; }
@media (max-width: 767px) {
  .cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(var(--brand-rgb), .97); box-shadow: 0 -6px 18px rgba(0, 0, 0, .18); }
  .cta-bar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; text-decoration: none; font: 600 15px/1.2 var(--sans); }
  .cta-bar .call { background: var(--white); color: var(--brand); }
  .cta-bar .go { background: var(--accent); color: var(--on-accent); }
  body { padding-bottom: 72px; }
}

/* Reveal on scroll. Fail-safe: nothing is hidden unless site.js is running (it sets .reveal-ready on <html>
   after showing whatever is already on screen), and never with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
  .reveal-ready .reveal { transition: opacity .6s ease, transform .6s ease; }
}
