/* ==========================================================================
   Hachette Books Publishing — stylesheet
   Brand teal #23566C (taken from the logo)
   ========================================================================== */

:root {
  --teal: #23566C;
  --teal-deep: #163B4B;
  --teal-ink: #0F2A36;
  --teal-soft: #5E8899;
  --mist: #EEF4F6;
  --line: #D4E0E5;
  --paper: #FFFFFF;
  --ink: #1D2B31;
  --muted: #56676E;
  --marigold: #E3A33B;
  --marigold-dark: #C98A22;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-s: 4px;
  --radius-m: 10px;
  --space: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.18; color: var(--teal-ink); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-s); border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); color: #fff; }
.btn--accent { background: var(--marigold); color: var(--teal-ink); }
.btn--accent:hover { background: var(--marigold-dark); color: var(--teal-ink); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--line:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--teal-ink); color: #C9DAE1; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__note { margin: 0; }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__phone { font-weight: 600; }
.topbar__chat { background: none; border: 0; color: var(--marigold); font-weight: 600; padding: 0; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 120px; height: auto; }
.site-nav .btn { white-space: nowrap; padding: 12px 20px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li > a {
  display: block; padding: 10px 12px; white-space: nowrap; color: var(--ink); font-weight: 500; text-decoration: none; border-radius: var(--radius-s);
}
.site-nav__list > li > a:hover, .site-nav__list > li > a[aria-current="page"] { color: var(--teal); background: var(--mist); }
.site-nav__cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-weight: 700; color: var(--teal-ink); text-decoration: none; white-space: nowrap; }

.has-mega { position: relative; }
.mega-trigger::after { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-42%);
  width: min(880px, 92vw); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal);
  border-radius: 0 0 var(--radius-m) var(--radius-m); padding: 28px 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  box-shadow: 0 24px 48px -24px rgba(15,42,54,.35);
  visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { visibility: visible; opacity: 1; }
.mega__title { font-family: var(--serif); color: var(--teal); font-size: 1.02rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.mega li a:hover, .mega li a[aria-current="page"] { color: var(--teal); text-decoration: underline; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--teal-ink); content: ""; transition: transform .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; left: 0; }
.nav-toggle__bar::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- The open-book spread (hero + service banners) ---------- */
.spread { background: var(--mist); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.spread__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; position: relative;
  background: #fff; border-radius: 6px;
  /* stacked page edges, echoing the logo */
  box-shadow: 0 6px 0 -2px #fff, 0 6px 0 -1px var(--line), 0 12px 0 -4px #fff, 0 12px 0 -3px var(--line), 0 30px 50px -30px rgba(15,42,54,.35);
  padding: 0;
  max-width: calc(var(--wrap) - 2 * var(--gutter));
}
.spread__inner::after { /* the spine */
  content: ""; position: absolute; top: 0; bottom: 0; left: 51.2%; width: 56px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(35,86,108,.10) 45%, rgba(35,86,108,.18) 50%, rgba(35,86,108,.10) 55%, transparent);
  pointer-events: none;
}
.spread__page { padding: clamp(32px, 5vw, 64px); }
.spread__page--left h1 { margin-bottom: .45em; }
.spread--service h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.spread__page--right { display: flex; align-items: center; }
.spread__page--right .quote-form { width: 100%; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.call-line { margin: 18px 0 0; color: var(--muted); font-size: .95rem; }
.call-line a { font-weight: 700; }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ticks--light li::before { background-color: var(--marigold); }

/* ---------- Quote form ---------- */
.quote-form__heading { font-family: var(--serif); font-size: 1.45rem; color: var(--teal-ink); margin: 0 0 4px; }
.quote-form__sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #BFD0D7; border-radius: var(--radius-s);
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid rgba(35,86,108,.2); outline-offset: 0; }
.is-invalid { border-color: #B3261E !important; background: #FFF6F5 !important; }
.quote-form__fine { font-size: .8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

.form-alert { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #B3261E; color: #fff; padding: 14px 20px; border-radius: var(--radius-s); z-index: 200; max-width: 92vw; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section--tint { background: var(--mist); }
.section--dark { background: var(--teal-deep); color: #D6E4EA; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__head p { color: #B9CDD5; }
.section__h { margin-bottom: 32px; }

/* Retailer strip */
.retailers { border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.retailers__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.retailers__label { color: var(--muted); font-size: .95rem; margin: 0; }
.retailers ul { display: flex; flex-wrap: wrap; gap: 12px 34px; list-style: none; margin: 0; padding: 0; }
.retailers li { font-family: var(--serif); font-size: 1.15rem; color: var(--teal); }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.facts div { padding: 28px 20px 4px 0; }
.facts strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; color: #fff; line-height: 1.1; }
.facts span { color: #B9CDD5; }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.svc { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.svc__img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-s); background: var(--mist); margin-bottom: 16px; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc:hover .svc__img img { transform: scale(1.03); }
.svc__group { font-size: .85rem; color: var(--teal-soft); margin: 0 0 4px; }
.svc h3 { margin-bottom: 6px; }
.svc:hover h3 { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.svc p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__img img { border-radius: var(--radius-s); width: 100%; }
.split--flip .split__img { order: 2; }

/* Process steps (true sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 28px 0 0; position: relative; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal);
  font-family: var(--serif); font-size: 1.2rem; margin-bottom: 18px; background: #fff; position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.section--tint .steps li::before { background: var(--mist); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { position: relative; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 5; }
.cat img { width: 100%; height: 100%; object-fit: cover; }
.cat span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-family: var(--serif); font-size: 1.1rem; background: linear-gradient(transparent, rgba(15,42,54,.85)); }

/* Portfolio shelf */
.shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 24px; }
.shelf figure { margin: 0; }
.shelf img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 6px 6px 2px; box-shadow: -4px 0 0 rgba(15,42,54,.18) inset, 0 16px 24px -14px rgba(15,42,54,.5); }
.shelf figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; line-height: 1.4; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quote { margin: 0; border-left: 3px solid var(--marigold); padding-left: 22px; }
.quote p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; color: #fff; }
.quote cite { font-style: normal; color: #B9CDD5; font-size: .92rem; }

/* ---------- Long-form article (service pages) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article__body { max-width: 74ch; }
.article__body h2 { margin-top: 1.6em; }
.article__body h2:first-child { margin-top: 0; }
.article__body h3 { margin-top: 1.4em; color: var(--teal); }
.article__body ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article__body li { margin-bottom: .5em; }
.article__body img { border-radius: var(--radius-s); margin: 8px 0 28px; }
.article__aside { position: sticky; top: 108px; display: grid; gap: 20px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; }
.aside-box__title { font-family: var(--serif); font-size: 1.15rem; color: var(--teal-ink); margin-bottom: 12px; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem; }
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover { color: var(--teal); }
.aside-list a[aria-current="page"] { color: var(--teal); font-weight: 700; }
.aside-box--dark { background: var(--teal-deep); border-color: var(--teal-deep); color: #D6E4EA; display: grid; gap: 12px; }
.aside-box--dark .aside-box__title { color: #fff; margin-bottom: 0; }
.aside-box--dark p { margin: 0; }

.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; padding: 0 !important; list-style: none; border-top: 1px solid var(--line); }
.includes li { padding: 16px 0 16px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.includes strong { display: block; color: var(--teal-ink); font-weight: 600; }
.includes span { color: var(--muted); font-size: .95rem; }

.callout { background: var(--mist); border-left: 4px solid var(--teal); padding: 22px 26px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 28px 0; }
.callout p:last-child { margin: 0; }

/* Related */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.related__item { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; }
.related__item img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-s); margin-bottom: 10px; }
.related__name { font-family: var(--serif); font-size: 1.2rem; color: var(--teal-ink); }
.related__item:hover .related__name { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.related__desc { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq h2 { text-align: center; margin-bottom: 32px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.15rem; color: var(--teal-ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; color: var(--teal); font-family: var(--sans); }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 0 22px; color: var(--muted); }
.faq__a p { margin: 0; }

/* CTA band */
.cta-band { background: var(--teal); color: #DCE9EE; padding: clamp(48px, 6vw, 72px) 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band__phone { color: #fff; font-weight: 700; text-decoration: none; margin-left: 6px; }
.cta-band__phone:hover { color: var(--marigold); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 18px; margin-top: 28px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px 22px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.contact-card a, .contact-card strong { font-size: 1.15rem; font-weight: 700; color: var(--teal-ink); text-decoration: none; }
.form-panel { border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(24px, 4vw, 40px); background: #fff; }

/* Simple page header */
.page-head { background: var(--mist); padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 62ch; margin: 0; }
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-ink); color: #A9C0C9; font-size: .95rem; }
.site-footer a { color: #E2EDF1; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; padding-top: 72px; padding-bottom: 48px; }
.site-footer__brand img { width: 200px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 38ch; }
.site-footer__h { font-family: var(--serif); color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 9px; }
.contact-list li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; margin-bottom: 8px; }
.contact-list span { color: #7F9CA7; }
.contact-list address { font-style: normal; color: #E2EDF1; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal, .social { display: flex; flex-wrap: wrap; gap: 18px; }

/* Mobile bar */
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,42,54,.65); }
.modal__box {
  position: relative; background: #fff; border-radius: var(--radius-m); width: min(860px, 100%); max-height: 94vh; overflow: auto;
  display: grid; grid-template-columns: 300px 1fr;
}
.modal__aside { background: var(--teal); color: #DCE9EE; padding: 40px 30px; display: flex; flex-direction: column; }
.modal__title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; color: #fff; margin-bottom: 24px; }
.modal__phone { margin-top: auto; color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.modal__box .quote-form { padding: 36px 32px 28px; }
.modal__close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--muted); z-index: 2; padding: 6px 10px; }
body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav-phone { display: none; }
}

@media (max-width: 1100px) {
  .site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .shelf { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 124px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 20px var(--gutter) 120px; overflow-y: auto; gap: 20px;
    transform: translateX(100%); transition: transform .25s; visibility: hidden;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.1rem; }
  .mega { position: static; transform: none; width: auto; display: none; visibility: visible; opacity: 1; grid-template-columns: 1fr 1fr; box-shadow: none; border: 0; padding: 12px 4px 4px; }
  .has-mega.is-open .mega { display: grid; }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open:hover .mega { display: grid; }
  .site-nav__cta { flex-direction: column; align-items: stretch; }
  body.nav-open { overflow: hidden; }

  .spread__inner { grid-template-columns: 1fr; }
  .spread__inner::after { display: none; }
  .spread__page--right { border-top: 1px dashed var(--line); }
  .article { grid-template-columns: 1fr; }
  .article__aside { position: static; }
  .svc-grid, .related, .quotes { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__img { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps li::after { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .shelf { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__aside { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--teal-ink); border-top: 1px solid rgba(255,255,255,.12);
  }
  .mobile-bar a, .mobile-bar button { background: none; border: 0; color: #fff; text-align: center; padding: 14px 6px; text-decoration: none; font-weight: 600; font-size: .95rem; }
  .mobile-bar button:last-child { background: var(--marigold); color: var(--teal-ink); }
  body { padding-bottom: 52px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar__links a[href^="mailto"] { display: none; }
  .site-header__inner { min-height: 72px; }
  .site-nav { inset: 112px 0 0 0; }
  .brand img { width: 90px; }
  .svc-grid, .related, .quotes, .includes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .mega { grid-template-columns: 1fr; }
  .cta-band__inner .btn-row { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
