/* Local Sites by Shai — site styles (redesign, 26 November 2026)
   Mobile-first. Navy for headings, header, hero and footer; warm white background;
   amber for main buttons and small accents (always with navy text: 7.7:1 contrast).
   Fewer boxed cards: sections are separated by rules, type and spacing instead. */

:root {
  --navy: #13233A;
  --navy-2: #1E3556;
  --navy-deep: #0E1A2B;
  --bg: #FAFAF7;
  --sand: #F3EFE6;          /* warm alternative band, used sparingly */
  --alt: #EEF1F5;
  --white: #FFFFFF;
  --amber: #F2A541;
  --amber-hover: #E8962C;
  --text: #2A3647;
  --muted: #4D5B6E;          /* 6.9:1 on --bg */
  --line: #D9DEE6;
  --line-strong: #B9C2CF;
  --on-navy: #FAFAF7;
  --on-navy-muted: #C6D0DE;  /* 10.4:1 on --navy */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* headings: Schibsted Grotesk (Taste Skill pairing "schibsted": sturdy, trusted, for services) */
  --font-display: "Schibsted Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1120px;
  --r: 10px;
  --section: clamp(48px, 6.5vw, 84px);
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-offset, var(--header-h)) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--navy); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; font-family: var(--font-display); }
h1 { font-size: clamp(2.1rem, 5.8vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
/* skip-link target: focus moves here, but it is not a control, so no ring */
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.narrow { max-width: calc(760px + 40px); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.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;
}
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; outline-color: var(--on-navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 22px; border-radius: 10px;
  font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .16s var(--ease-out), border-color .16s var(--ease-out), color .16s var(--ease-out), transform .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .06s; }
.btn-primary:hover { box-shadow: 0 6px 14px -8px rgba(19, 35, 58, .55); }
.btn-sm { min-height: 44px; padding: 9px 14px; font-size: .95rem; gap: 8px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--on-navy); }
.btn-on-dark { background: transparent; color: var(--on-navy); border-color: rgba(250, 250, 247, .7); }
.btn-on-dark:hover { background: rgba(250, 250, 247, .1); border-color: var(--on-navy); }
.text-link { font-weight: 700; color: var(--navy); text-decoration-thickness: 1px; transition: text-decoration-thickness .16s var(--ease-out), text-underline-offset .16s var(--ease-out); }
.text-link:hover { text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link .icon { vertical-align: -0.2em; }

/* ---------- Header + navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--on-navy); border-bottom: 1px solid rgba(250, 250, 247, .1); }
.header-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: var(--header-h); padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.2; }
.brand-by { font-weight: 500; color: var(--on-navy-muted); white-space: nowrap; }
.site-header :focus-visible { outline-color: var(--on-navy); }
.header-inner .btn { flex: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.nav a { display: flex; align-items: center; min-height: 44px; color: var(--on-navy-muted); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-navy); text-decoration: underline; text-underline-offset: 6px; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px;
  background: transparent; color: var(--on-navy); border: 2px solid rgba(250, 250, 247, .55); border-radius: 10px;
  font: 700 .95rem/1 var(--font); cursor: pointer;
}
.menu-btn:hover { border-color: var(--on-navy); }
.menu-btn .bars { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-btn .bars::before { top: -6px; } .menu-btn .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Below 1060px: with JavaScript, the links sit behind the Menu button.
   Without JavaScript, they show as a second row that scrolls sideways if needed. */
@media (max-width: 1059.98px) {
  /* DOM order is brand, Menu, links, WhatsApp so that Tab goes from Menu straight into the open menu;
     visually WhatsApp sits just before Menu */
  .header-wa { order: 1; }
  .menu-btn { order: 2; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .nav { order: 5; width: 100%; overflow-x: auto; }
  html:not(.js) .nav ul { gap: 20px; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(250, 250, 247, .14); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .5);
    max-height: calc(100vh - var(--header-offset, var(--header-h))); max-height: calc(100dvh - var(--header-offset, var(--header-h))); overflow-y: auto; }
  .js .menu-open .nav { display: block; }
  .js .nav ul { flex-direction: column; padding: 8px max(20px, env(safe-area-inset-left)) 16px; }
  .js .nav li + li { border-top: 1px solid rgba(250, 250, 247, .1); }
  .js .nav a { min-height: 52px; font-size: 1.05rem; color: var(--on-navy); }
}
@media (min-width: 1060px) {
  .menu-btn { display: none; }
  .nav { order: 0; }
  .nav ul { gap: 26px; }
  .header-inner { gap: 32px; flex-wrap: nowrap; }
}
@media (max-width: 520px) {
  .sm-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 419.98px) {
  /* very narrow screens and 400% zoom: icon-only WhatsApp button (it keeps its text name) */
  .header-wa { width: 44px; padding: 0; }
  .header-wa .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand-mark { display: none; }
}
@media (max-width: 359.98px) {
  .wrap { padding-inline: 16px; }
  .brand-name { font-size: 1rem; }
  /* 320px wide (or 400% zoom): icon-only Menu button so the header stays on one row; it keeps its name "Menu" */
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Shared section bits ---------- */
.section { padding-block: var(--section); }
.alt { background: var(--alt); }
.sand { background: var(--sand); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 700; color: var(--muted); margin-bottom: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--amber); flex: none; }
.intro { font-size: 1.125rem; max-width: 62ch; color: var(--muted); margin-bottom: 0; }
.section-head { display: grid; gap: 4px 48px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: .25em; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { margin-top: .25em; padding: 3px; width: 1.35em; height: 1.35em; border-radius: 50%; background: var(--navy); color: var(--on-navy); stroke-width: 3; }
.note { font-size: .95rem; color: var(--muted); margin-top: 16px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--navy); background: var(--alt); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; padding: 18px 20px; border-left: 4px solid var(--amber); background: var(--white); color: var(--text); max-width: 860px; }
.callout .icon { width: 1.5em; height: 1.5em; color: var(--navy); margin-top: 1px; }
.callout strong { color: var(--navy); }

/* ---------- Hero (navy band, short on phones) ---------- */
.hero { position: relative; isolation: isolate; background: var(--navy); color: var(--on-navy-muted); padding-block: clamp(36px, 7vw, 96px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero :focus-visible { outline-color: var(--on-navy); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; } }
.hero .eyebrow { color: var(--amber); }
.hero h1 { color: var(--on-navy); max-width: 16ch; }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); max-width: 50ch; }
.hero .lead { color: var(--on-navy-muted); }
.price-line { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; color: var(--on-navy); font-weight: 600; }
.price-line li { display: flex; align-items: baseline; gap: 8px; padding-right: 18px; margin-right: 18px; border-right: 1px solid rgba(250, 250, 247, .3); }
.price-line li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.price-line b { color: var(--amber); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 699.98px) {
  .price-line { display: grid; gap: 6px; }
  .price-line li { display: block; border: 0; margin: 0; padding: 0 0 0 14px; border-left: 3px solid var(--amber); }
  .price-line b { margin-left: 4px; white-space: nowrap; }
}
.hero .actions { margin-top: 26px; }
.alt-contact { margin: 14px 0 0; font-size: .95rem; }
.hero .alt-contact { color: var(--on-navy-muted); }
.hero .alt-contact a { color: var(--on-navy); }
@media (max-width: 520px) { .hero .actions .btn { width: 100%; } }

/* the hero enters once on load (opacity + small rise); nothing else fades in on scroll */
.js .hero-copy > *, .js .hero-figure { animation: hero-in .6s var(--ease-out) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .06s; } .js .hero-copy > :nth-child(3) { animation-delay: .12s; }
.js .hero-copy > :nth-child(n+4) { animation-delay: .18s; } .js .hero-figure { animation-delay: .22s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* one phone, straight on: the real 5-page demo */
.hero-figure { margin: 0; display: none; }
@media (min-width: 900px) { .hero-figure { display: block; justify-self: center; width: min(100%, 300px); } }
.phone-frame { background: var(--navy-deep); border-radius: 36px; padding: 10px; box-shadow: 0 0 0 1px rgba(250, 250, 247, .14), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.phone-frame img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 27px; background: var(--navy-2); }
.hero-figure figcaption { margin-top: 12px; font-size: .85rem; text-align: center; color: var(--on-navy-muted); }

/* ---------- Work showcase ---------- */
.showcase { display: grid; gap: 40px; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; gap: 40px; } }
.work { margin: 0; display: flex; flex-direction: column; }
.browser { display: block; text-decoration: none; color: inherit; border-radius: 10px; overflow: hidden; background: var(--white); border: 1px solid var(--line-strong); box-shadow: 0 24px 48px -32px rgba(19, 35, 58, .45); transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); }
.browser:hover { transform: translateY(-2px); box-shadow: 0 30px 56px -30px rgba(19, 35, 58, .55); }
.browser img { transition: transform .35s var(--ease-out); }
.browser:hover img { transform: scale(1.02); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #E7EBF0; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.browser-bar .dots { display: flex; gap: 5px; flex: none; }
.browser-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #B9C2CF; }
.browser-bar .addr { flex: 1; min-width: 0; padding: 3px 10px; background: var(--white); border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--line); }
.work-body { padding-top: 22px; display: flex; flex-direction: column; flex: 1; }
.work-kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 6px; }
.work-kicker .pkg { font-weight: 800; color: var(--navy); font-size: 1.3rem; letter-spacing: -0.015em; }
.work-kicker .pkg-price { font-weight: 800; color: var(--navy); font-size: 1.3rem; }
.work-body p { color: var(--muted); max-width: 52ch; }
.work-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: auto; padding-top: 6px; }
.demo-disclaimer { margin-top: 32px; font-size: .95rem; color: var(--muted); max-width: 70ch; }

/* ---------- Packages ---------- */
.packages { display: grid; gap: 24px; }
.package { background: var(--white); border: 1px solid var(--line-strong); border-radius: 14px; padding: clamp(22px, 4vw, 32px); display: grid; align-content: start; }
.package.featured { border: 2px solid var(--navy); }
.package-head h3 { font-size: 1.35rem; margin-bottom: .3em; }
.package .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 4px 0 8px; }
.amount { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.1rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.unit { color: var(--muted); font-weight: 600; }
.package .for { color: var(--muted); margin: 0; }
.spec { margin: 20px 0 24px; display: grid; }
.spec > div { padding-block: 13px; border-top: 1px solid var(--line); }
.spec dt { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.spec dd { margin: 0; color: var(--text); }
.spec .no { color: var(--muted); }
.package .btn { align-self: end; }
/* side by side from 860px: every row lines up across both packages (CSS subgrid) */
@media (min-width: 860px) {
  .packages { grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 0; }
  .package { grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
  .spec { grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
}
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 860px) { .packages { grid-template-rows: none; } .package, .spec { grid-row: auto; grid-template-rows: none; } }
}
.package-after { display: grid; gap: 12px; margin-top: 24px; max-width: 860px; }
.package-after p { margin: 0; color: var(--text); }
.package-after .both { padding: 14px 18px; background: var(--white); border-left: 4px solid var(--amber); }
.package-after strong { color: var(--navy); }

/* ---------- One before/after example ---------- */
.example { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .example { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; } }
.pif { margin: 20px 0 0; display: grid; gap: 14px; }
.pif div { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--line-strong); }
.pif div:last-child { border-left-color: var(--amber); }
.pif dt { font-weight: 800; color: var(--navy); }
.pif dd { margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 0 40px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0 32px; } }
.steps li { counter-increment: step; padding: 20px 0 22px; border-top: 2px solid var(--navy); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 800; color: #8A5300; /* dark amber: 5.6:1 on --alt, 6.4:1 on --bg */ font-size: .95rem; letter-spacing: .06em; margin-bottom: 6px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Founder (text-led, no photo) ---------- */
.founder { display: grid; gap: 28px; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.founder-name { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: .95; color: var(--navy); margin: 0 0 14px; }
.founder-role { margin: 0; padding-top: 14px; border-top: 4px solid var(--amber); max-width: 26ch; font-weight: 600; color: var(--muted); }
.founder-copy p { max-width: 60ch; }
.founder-copy .big { font-size: clamp(1.2rem, 2.2vw, 1.45rem); color: var(--navy); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.promises { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 620px) { .promises { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.promises li { padding: 12px 0; border-top: 1px solid var(--line); }
.promises b { display: block; color: var(--navy); }

/* ---------- FAQ (native details, ruled list) ---------- */
.faq { display: grid; max-width: 860px; border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 4px; font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--navy); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "−"; content: "−" / ""; background: var(--navy); color: var(--on-navy); }
.faq details > div { padding: 0 4px 20px; color: var(--text); max-width: 70ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Contact CTA ---------- */
.cta-panel { background: var(--navy); color: var(--on-navy-muted); border-radius: 18px; padding: clamp(28px, 6vw, 60px); }
.cta-panel h2 { color: var(--on-navy); max-width: 22ch; }
.cta-panel p { max-width: 58ch; font-size: 1.08rem; }
.cta-panel .alt-contact a, .cta-panel a:not(.btn) { color: var(--on-navy); }
@media (max-width: 520px) { .cta-panel .btn { width: 100%; } }
.cta-panel :focus-visible { outline-color: var(--on-navy); }
.check-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; max-width: 60ch; counter-reset: c; }
.check-steps li { counter-increment: c; display: flex; gap: 12px; color: var(--on-navy); }
.check-steps li::before { content: counter(c); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 800; font-size: .9rem; }

/* sample check (clearly labelled demonstration) */
.sample { margin-top: 28px; background: var(--white); color: var(--text); border-radius: 12px; padding: 20px 22px; max-width: 640px; }
.sample h3 { font-size: 1rem; margin-bottom: .2em; }
.sample .sample-label { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.sample ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.sample li::marker { font-weight: 800; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-top: 56px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.2fr .8fr 1fr 1.2fr; } }
.footer-brand { color: var(--on-navy); font-weight: 800; font-size: 1.15rem; margin-bottom: .4em; }
.footer-h { color: var(--on-navy); font-size: 1rem; margin-bottom: 10px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer a { color: var(--on-navy); display: inline-block; padding: 6px 0; min-height: 24px; }
.site-footer :focus-visible { outline-color: var(--on-navy); }
.footer-base { margin-top: 40px; border-top: 1px solid rgba(250, 250, 247, .14); padding-block: 20px max(20px, env(safe-area-inset-bottom)); }
.footer-base p { margin: 0; font-size: .85rem; }

/* ---------- Legal and error pages ---------- */
.legal { padding-block: clamp(48px, 8vw, 88px); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal table { border-collapse: collapse; width: 100%; margin: 8px 0 16px; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.error-links { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; max-width: 520px; }
.error-links li { border-top: 1px solid var(--line); }
.error-links li:last-child { border-bottom: 1px solid var(--line); }
.error-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; font-weight: 700; text-decoration: none; }
.error-links a:hover { text-decoration: underline; }

/* long email addresses must wrap at narrow widths and with larger text spacing (WCAG 1.4.10 / 1.4.12) */
a[href^="mailto:"] { overflow-wrap: anywhere; }


/* ---------- Background video and photo bands (AI-generated trade art, added 27 Nov 2026) ---------- */
/* hero: footage behind a navy tint that stays dark under the text (white text stays above 7:1) */
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--navy) url("/img/trades/hero-poster-960.webp") center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19, 35, 58, .9) 0%, rgba(19, 35, 58, .84) 60%, rgba(19, 35, 58, .9) 100%); }
@media (min-width: 900px) {
  .hero-media { background-image: url("/img/trades/hero-poster-1280.webp"); }
  .hero-media::after { background: linear-gradient(90deg, rgba(19, 35, 58, .94) 0%, rgba(19, 35, 58, .88) 48%, rgba(19, 35, 58, .55) 78%, rgba(19, 35, 58, .45) 100%); }
}
.video-toggle {
  position: absolute; right: max(20px, env(safe-area-inset-right)); bottom: 52px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: rgba(14, 26, 43, .72); color: var(--on-navy); border: 1px solid rgba(250, 250, 247, .45); border-radius: 999px;
  font: 600 .9rem/1 var(--font); cursor: pointer; transition: background-color .16s var(--ease-out);
}
.video-toggle:hover { background: rgba(14, 26, 43, .92); }
.video-toggle:focus-visible { outline-color: var(--on-navy); }
.vt-icon { width: 12px; height: 12px; display: inline-block; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.video-toggle.is-paused .vt-icon { border: 0; border-left: 11px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; width: 0; height: 0; }

/* trades strip straight after the hero */
.trades { background: var(--navy-deep); color: var(--on-navy-muted); padding-block: clamp(28px, 4vw, 44px) 0; }
.trades-head { display: grid; gap: 4px 40px; align-items: end; margin-bottom: 22px; }
@media (min-width: 900px) { .trades-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.trades h2 { color: var(--on-navy); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.trades-head p { margin: 0; max-width: 52ch; }
.trade-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
@media (min-width: 700px) { .trade-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .trade-strip { grid-template-columns: repeat(6, 1fr); } }
.trade-strip li { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2); }
@media (min-width: 1100px) { .trade-strip li { aspect-ratio: 3 / 4; } }
.trade-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.trade-strip li:hover img { transform: scale(1.03); }
.trade-strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; color: #FFFFFF; font-weight: 700; font-size: .95rem; line-height: 1.25;
  background: linear-gradient(180deg, rgba(14, 26, 43, 0) 0%, rgba(14, 26, 43, .88) 70%); }

/* sections with a photograph behind a deep navy tint */
.photo-band { position: relative; isolation: isolate; color: var(--on-navy-muted); background: var(--navy-deep); }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; background-repeat: no-repeat; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 26, 43, .9), rgba(14, 26, 43, .86)); }
.band-driveway::before { background-image: url("/img/trades/driveway-960.webp"); }
.band-bathroom::before { background-image: url("/img/trades/bathroom-960.webp"); }
@media (min-width: 900px) {
  .band-driveway::before { background-image: url("/img/trades/driveway-1600.webp"); }
  .band-bathroom::before { background-image: url("/img/trades/bathroom-1600.webp"); }
}
.photo-band h2, .photo-band h3 { color: var(--on-navy); }
.photo-band .eyebrow { color: var(--on-navy-muted); }
.photo-band :focus-visible { outline-color: var(--on-navy); }
.photo-band .steps li { border-top-color: var(--amber); }
.photo-band .steps li::before { color: var(--amber); }
.photo-band .steps p { color: var(--on-navy-muted); }
.photo-band .cta-panel { background: rgba(19, 35, 58, .82); border: 1px solid rgba(250, 250, 247, .16); }
.photo-band .sample h3 { color: var(--navy); }
@media (max-width: 899.98px) { .video-toggle { position: relative; right: auto; bottom: auto; margin: 20px 0 0 max(20px, env(safe-area-inset-left)); } }
@media (max-width: 699.98px) {
  .trade-strip { grid-template-columns: repeat(3, 1fr); }
  .trade-strip li { aspect-ratio: 1 / 1; }
  .trade-strip span { font-size: .78rem; padding: 22px 7px 7px; }
  .trades-head p { font-size: .98rem; }
}

/* ---------- Examples: before and after pairs (27 Nov 2026) ---------- */
.pair { margin-top: 8px; padding-top: 28px; border-top: 2px solid var(--navy); }
.pair + .pair { margin-top: clamp(40px, 6vw, 72px); }
.pair-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 22px; }
.pair-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0; }
.pair-head .pkg-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--navy); }
.pair-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .pair-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.pair .work { position: relative; }
.ba-tag { position: absolute; z-index: 2; top: -12px; left: 14px; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; letter-spacing: .02em; }
.is-before .ba-tag { background: #E4E7EC; color: #3A4555; border: 1px solid var(--line-strong); }
.is-after .ba-tag { background: var(--amber); color: var(--navy); }
.is-before .browser { opacity: .92; }
.is-before .browser img { filter: saturate(.75); }
.is-after .browser { border: 2px solid var(--navy); box-shadow: 0 30px 60px -30px rgba(19, 35, 58, .6); }
.pair .work-body p { color: var(--text); }
