/* Bennett's Petroleum - v2 stylesheet.
   Design system (one of each, reused on every page):
   - Theme: light, locked. Navy for type and bands, red as the one accent (primary actions, key highlights).
   - Type: Manrope; one scale (h1, h2, h3, body, .lede, .label).
   - Radius: 10px on everything.
   - Buttons: .btn-primary (red) and .btn-secondary (navy outline). Documented exception: on the red CTA band
     the pair inverts (.on-red), because a red button cannot sit on red.
   - Hero: one split hero (.hero): copy panel left, photo right; .hero-page is the shorter inner-page size.
   - Card: one card (.card) for locations, brands, promos and form panels. Photos are 3:2, cover, centred;
     artwork (card mock-up, poster) is contained on tint inside the same 3:2 box (.media-art).
   - Lists: .rule-list (ruled rows) and .cols (multi-column names). Facts: .facts. Tags: .chips.
   - Sections: .section (one rhythm); .band-navy and .cta-band are the only coloured bands. */

:root {
  color-scheme: light;
  --navy: #003e52;
  --navy-dark: #002b38;
  --red: #e1251b;
  --red-hover: #c41f16;
  --bg: #f4f6f6;
  --surface: #fcfdfd;
  --tint: #e8eef0;
  --ink: #13232a;
  --ink-soft: #33454c;
  --muted: #52636a;
  --line: #d9e1e4;
  --on-dark: #f2f6f7;
  --on-dark-soft: #bfd0d6;
  --r: 10px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 10px 30px -12px rgba(0, 43, 56, 0.28);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-hover); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Type scale */
h1, h2, h3 { color: var(--navy); line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin: 0.3em 0; }
strong { font-weight: 700; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.label { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.eyebrow { color: var(--red); margin-bottom: 1rem; }
.muted { color: var(--muted); }
.prose { max-width: 68ch; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--on-dark); padding: 12px 18px; border-radius: var(--r); font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section.flush-top { padding-top: 0; }
.surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 28px; }
.section-head > :last-child { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > .media-photo, .split.flip > .media-art { order: 2; }
@media (max-width: 899px) {
  .two-col, .split { grid-template-columns: 1fr; }
  .split.flip > .media-photo, .split.flip > .media-art { order: 0; }
}
.stack-gap { margin-top: 40px; }

/* Image treatment: photos 3:2 cover; artwork contained on tint in the same 3:2 box. */
.media-photo, .media-art { aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--tint); }
.media-photo img, .media-art img { width: 100%; height: 100%; }
.media-photo img { object-fit: cover; object-position: 50% 50%; }
.media-art img { object-fit: contain; padding: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--r); border: 2px solid transparent; font: 700 1rem/1.2 var(--font); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fffdfb; }
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fffdfb; }
.btn-primary:disabled { opacity: 0.7; cursor: progress; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--on-dark); }
.on-red .btn-primary { background: var(--surface); border-color: var(--surface); color: var(--navy-dark); }
.on-red .btn-primary:hover { background: var(--tint); border-color: var(--tint); color: var(--navy-dark); }
.on-red .btn-secondary { color: #fffdfb; border-color: #fffdfb; }
.on-red .btn-secondary:hover { background: #fffdfb; color: var(--red-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; color: var(--navy); }
.text-link::after { content: " \2192"; color: var(--red); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 12px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; position: relative; }
.nav-link, .nav-toggle, .sub-nav a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 11px; border: 0; background: none;
  font: 600 0.95rem/1 var(--font); color: var(--ink); text-decoration: none; white-space: nowrap; cursor: pointer; border-radius: var(--r);
  position: relative;
}
.nav-link:hover, .nav-toggle:hover, .sub-nav a:hover { color: var(--navy); background: var(--tint); }
.nav-link[aria-current="page"]::after, .nav-toggle.is-current::after, .sub-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 3px; background: var(--red); border-radius: 2px;
}
.nav-toggle .caret { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; transition: transform 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.submenu[hidden] { display: none; }
.submenu a { display: block; padding: 10px 12px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.submenu a:hover { background: var(--tint); color: var(--navy); }
.submenu a[aria-current="page"] { color: var(--red-hover); }
.header-cta { min-height: 44px; padding: 0 16px; font-size: 0.95rem; }
.menu-button { display: none; }

@media (max-width: 1100px) and (min-width: 900px) {
  .brand img { width: 118px; }
  .header-inner { gap: 10px; }
  .nav-list { gap: 0; }
  .nav-link, .nav-toggle { padding: 0 7px; font-size: 0.875rem; }
  .nav-link[aria-current="page"]::after, .nav-toggle.is-current::after { left: 7px; right: 7px; }
  .header-cta { padding: 0 10px; font-size: 0.875rem; }
  .nav { gap: 6px; }
}
@media (max-width: 899px) {
  .brand img { width: 140px; }
  .menu-button {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 12px;
    background: none; border: 2px solid var(--navy); border-radius: var(--r); cursor: pointer;
  }
  .menu-button span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 12px; padding: 12px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 0 12px; min-height: 48px; }
  .nav-link[aria-current="page"]::after, .nav-toggle.is-current::after { left: 12px; right: auto; width: 28px; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; background: transparent; }
  .header-cta { width: 100%; min-height: 48px; }
}
.sub-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.sub-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 10px 0; }
.sub-nav li { margin: 0; }

/* ---------- Hero (one component) ---------- */
/* Percentage padding resolves against the page width, so the copy lines up with .wrap exactly. */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); background: var(--surface); border-bottom: 1px solid var(--line);
  min-height: clamp(520px, calc(100dvh - var(--header-h)), 760px);
  padding-left: max(0px, calc((100% - var(--wrap)) / 2));
}
.hero-page { min-height: 400px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 48px 56px var(--gutter); }
.hero-copy h1 { max-width: 14ch; }
.hero-copy h1 .pre { display: block; font-size: 0.45em; font-weight: 700; letter-spacing: 0; color: var(--ink-soft); margin-bottom: 0.35em; }
.hero-copy .lede { margin-bottom: 0; }
.hero-copy .btn-row { margin-top: 28px; }
.hero-media { position: relative; overflow: hidden; background: var(--tint); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media.map img { object-position: 92% 50%; background: #003f52; }
.hero.no-media { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.hero.no-media .hero-copy { padding-top: 56px; padding-bottom: 56px; }
.hero.no-media h1 { max-width: none; }
@media (max-width: 899px) {
  .hero, .hero-page { grid-template-columns: 1fr; min-height: 0; padding-left: 0; }
  .hero-copy { padding: 32px var(--gutter); }
  .hero-media { aspect-ratio: 3 / 2; }
}

/* ---------- Card (one component) ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; color: var(--ink); text-decoration: none; scroll-margin-top: calc(var(--header-h) + 16px);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card > .media-photo, .card > .media-art { border-radius: 0; flex: none; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; font-size: 0.98rem; }
.card-body > * { margin: 0; }
.card-body > .text-link { margin-top: auto; padding-top: 4px; }
.card-body h2 { font-size: 1.5rem; }
.card-body h3 { margin: 0; }
a.card:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--ink); }
a.card .media-photo img { transition: transform 0.5s var(--ease); }
a.card:hover .media-photo img { transform: scale(1.03); }
.card-pad { padding: clamp(22px, 3vw, 32px); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1023px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.card dl { margin: 0; display: grid; gap: 10px; }
.card dd { margin: 2px 0 0; }
.card dd ul { list-style: none; padding: 0; margin: 0; }
.card dd ul li { margin: 0; }

/* Brand band: navy band holding standard cards in a 1 + 2 bento. */
.band-navy { background: var(--navy-dark); color: var(--on-dark); }
.band-navy h2 { color: var(--on-dark); }
.brand-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 22px; }
.brand-grid > .card:first-child { grid-row: span 2; }
/* The spanning card's photo grows to fill the two rows (still cover, centred; never shorter than 3:2). */
.brand-grid > .card:first-child > .media-photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 380px; position: relative; }
.brand-grid > .card:first-child > .media-photo img { position: absolute; inset: 0; }
.brand-grid > .card:first-child > .card-body { flex: 0 0 auto; }
@media (max-width: 899px) {
  .brand-grid > .card:first-child > .media-photo { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
}
@media (max-width: 899px) { .brand-grid { grid-template-columns: 1fr; } .brand-grid > .card:first-child { grid-row: auto; } }
.slogan { font-weight: 800; color: var(--navy); }
.slogan em { font-style: normal; color: var(--red-hover); }

/* ---------- Lists ---------- */
.rule-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.rule-list > li { margin: 0; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.rule-list.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 760px) { .rule-list.two { grid-template-columns: 1fr; } }
.rule-list.labelled > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 24px; align-items: baseline; }
.rule-list.labelled > li > strong { color: var(--navy); font-size: 1.2rem; }
@media (max-width: 640px) { .rule-list.labelled > li { grid-template-columns: 1fr; } }
ol.rule-list { counter-reset: n; }
ol.rule-list > li { counter-increment: n; display: grid; grid-template-columns: 2rem 1fr; gap: 10px; }
ol.rule-list > li::before { content: counter(n); font-weight: 800; color: var(--red-hover); }
.rule-list.links > li { padding: 0; }
.rule-list.links a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 4px; text-decoration: none; color: var(--ink);
  transition: padding-left 0.25s var(--ease);
}
.rule-list.links a strong { color: var(--navy); font-size: 1.2rem; }
.rule-list.links a span { grid-column: 1; color: var(--muted); font-size: 0.97rem; }
.rule-list.links a::after { content: "\2192"; grid-column: 2; grid-row: 1 / span 2; font-size: 1.4rem; color: var(--red); transition: transform 0.25s var(--ease); }
.rule-list.links a:hover { padding-left: 10px; }
.rule-list.links a:hover::after { transform: translateX(4px); }
.cols { columns: 3 220px; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.cols li { break-inside: avoid; padding: 5px 0 5px 16px; margin: 0; position: relative; }
.cols li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 7px; height: 2px; background: var(--red); }
.cols.wide { columns: 4 200px; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { margin: 0; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
/* A button row after a facts list keeps the same gap a paragraph leaves (Z Card and Bulk Deliveries match). */
.facts + .btn-row { margin-top: 1em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li { margin: 0; padding: 3px 10px; border-radius: var(--r); background: var(--tint); color: var(--navy); font-weight: 600; font-size: 0.86rem; }
.chips li.hl { background: var(--red); color: #fffdfb; }
.chips b { font-weight: 800; margin-right: 6px; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gallery > * { grid-column: span 2; }
.gallery.g5 > :nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery > *, .gallery.g5 > :nth-child(-n+2) { grid-column: span 1; }
  .gallery.g5 > :first-child { grid-column: 1 / -1; }
}

/* ---------- Locations partner table ---------- */
.partner-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 0.96rem; }
.partner-table th, .partner-table td { text-align: left; padding: 11px 14px; vertical-align: top; }
.partner-table thead th { background: var(--navy); color: var(--on-dark); font-weight: 700; }
.partner-table tbody tr:nth-child(even) { background: var(--bg); }
.partner-table tbody th { color: var(--navy); font-weight: 700; }
@media (max-width: 760px) {
  .partner-table, .partner-table tbody, .partner-table tr, .partner-table th, .partner-table td { display: block; width: 100%; }
  .partner-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .partner-table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .partner-table th, .partner-table td { padding: 2px 0; }
  .partner-table td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}

/* ---------- Red CTA band ---------- */
.cta-band { background: var(--red); color: #fffdfb; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.cta-band h2 { color: #fffdfb; margin-bottom: 0.25em; }
.cta-band p { margin: 0; max-width: 52ch; }
.on-red :focus-visible { outline-color: #fffdfb; }

/* ---------- Forms (rules carried over from the v1 stylesheet; classes come from js/wix-form.js) ---------- */
.wix-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > label, .field legend { font-weight: 700; color: var(--ink); }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.field .req { color: var(--red-hover); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="number"], .field input[type="date"], .field input[type="time"], .field input[type="datetime-local"],
.field input[type="password"], .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 1rem/1.4 var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid #7a8a90; border-radius: var(--r);
}
.field ::placeholder { color: #5d6d73; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--red-hover); }
.choice { display: flex; align-items: flex-start; gap: 10px; min-height: 32px; font-weight: 400; }
.choice input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.help { color: var(--muted); font-size: 0.93rem; margin: 0; }
.error { color: #a8170f; font-size: 0.95rem; font-weight: 700; margin: 0; min-height: 0; }
.error:empty { display: none; }
.form-error { background: #fbe9e8; color: #8f140d; border-radius: var(--r); padding: 12px 16px; font-weight: 700; }
.form-error:empty { display: none; }
.form-outcome { background: #e8f2ea; color: #245a2c; border-radius: var(--r); padding: 24px; }
.form-outcome p:last-child { margin-bottom: 0; }
.skeleton { display: grid; gap: 18px; }
.skeleton span { display: block; height: 48px; border-radius: var(--r); background: linear-gradient(90deg, var(--tint), var(--line), var(--tint)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton span.short { width: 40%; height: 18px; }
.skeleton span.tall { height: 120px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: var(--on-dark-soft); font-size: 0.97rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #ffb3ad; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.5fr 1fr 1fr; gap: 32px; padding: 64px var(--gutter) 40px; }
.footer-grid h2 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer-grid h2.follow { margin-top: 22px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-grid p { margin: 0 0 8px; }
.footer-name { color: var(--on-dark); font-weight: 800; font-size: 1.1rem; }
.footer-base { border-top: 1px solid rgba(191, 208, 214, 0.25); padding-top: 20px; padding-bottom: 28px; font-size: 0.9rem; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; padding-top: 48px; } }

/* ---------- Motion: one scroll reveal (JS adds .reveal-ready only when motion is allowed) ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}
