/* Simons IT Solutions — site styles, version B ("heide").
   Concept: Kempen heathland. Heather violet and broom yellow, slab-serif headings,
   interactive moments: service tabs and a before/after switch for the case.
   No inline styles in HTML (strict CSP); JS only touches the CSSOM. */

@font-face {
  font-family: "Bitter";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/bitter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f4f2f8;
  --surface: #ffffff;
  --ink: #231a33;
  --muted: #5d5470;
  --rule: #ddd6e8;
  --violet: #6a3fb5;
  --violet-ink: #55309a;
  --on-violet: #ffffff;
  --band: #4b2a85;
  --band-ink: #f6f2fc;
  --band-muted: #d5c8ee;
  --band-rule: #6a4aa3;
  --yellow: #f4c542;
  --on-yellow: #231a33;
  --foot: #231a33;
  --foot-ink: #e9e3f3;
  --foot-muted: #b9aecb;

  --serif: "Bitter", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 70rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16111e;
    --surface: #1f1829;
    --ink: #eee9f5;
    --muted: #b2a8c4;
    --rule: #342a44;
    --violet: #b596f0;
    --violet-ink: #c9b3f5;
    --on-violet: #16111e;
    --band: #2a1f3d;
    --band-ink: #eee9f5;
    --band-muted: #c4b6dd;
    --band-rule: #46385e;
    --yellow: #e8b93a;
    --foot: #0f0b15;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16111e;
  --surface: #1f1829;
  --ink: #eee9f5;
  --muted: #b2a8c4;
  --rule: #342a44;
  --violet: #b596f0;
  --violet-ink: #c9b3f5;
  --on-violet: #16111e;
  --band: #2a1f3d;
  --band-ink: #eee9f5;
  --band-muted: #c4b6dd;
  --band-rule: #46385e;
  --yellow: #e8b93a;
  --foot: #0f0b15;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
/* <picture> only picks the image source; the <img> inside is styled as if it stood alone. */
picture { display: contents; }
img { height: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; font-weight: 700; }
h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 700; }
ul, dl { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--violet-ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.measure { max-width: 38rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 0.75rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0.8rem 1.5rem; border-radius: 10px;
  background: var(--violet); color: var(--on-violet); border: 2px solid var(--violet);
  font-weight: 700; text-decoration: none;
  transition: transform 220ms var(--ease-spring), background-color 160ms ease, box-shadow 220ms ease;
}
.btn:hover { background: var(--violet-ink); border-color: var(--violet-ink); color: var(--on-violet); transform: translateY(-2px); box-shadow: 0 6px 0 -2px var(--yellow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-outline:hover { background: var(--surface); color: var(--ink); border-color: var(--violet); }
.btn-ink { background: var(--on-yellow); border-color: var(--on-yellow); color: #fff; }
.btn-ink:hover { background: #3a2c52; border-color: #3a2c52; color: #fff; box-shadow: 0 6px 0 -2px #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; gap: 0.5rem; min-height: 4.5rem; }
.wordmark {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; margin-right: auto;
  font-family: var(--serif); font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--ink); white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
/* A heather sprig: three blooms on a stem. */
.sprig { position: relative; width: 0.9rem; height: 1.4rem; flex: none; }
.sprig::before {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 100%; margin-left: -1px; background: var(--ink); opacity: 0.55; border-radius: 2px;
}
.sprig::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 0.5rem; height: 0.5rem; margin-left: -0.25rem; border-radius: 50%;
  background: var(--violet);
  box-shadow: -0.3rem 0.45rem 0 -0.04rem var(--violet), 0.3rem 0.8rem 0 -0.04rem var(--yellow);
}
.wordmark:hover .sprig::after { animation: sway 900ms var(--ease-out); }
@keyframes sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 65% { transform: rotate(8deg); } }

.site-nav ul { display: flex; gap: 0.25rem; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
  font-weight: 600; text-decoration: none; color: var(--muted);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.45rem; height: 3px; border-radius: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer;
  transition: transform 220ms var(--ease-spring);
}
.icon-btn:hover { transform: rotate(-8deg); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-sun, .icon-close { display: none; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-moon { display: none; }
  :root:not([data-theme="light"]) .icon-sun { display: block; }
}
.nav-toggle { display: none; }

@media (max-width: 47.99rem) {
  .js .nav-toggle { display: inline-grid; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--rule); padding: 0.5rem var(--gutter) 1rem;
    visibility: hidden; opacity: 0; transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s linear 240ms;
  }
  .js .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a { padding: 0; font-size: 1.15rem; }
  .js .site-nav a::after { left: 0; right: auto; width: 2.5rem; }
  .nav-open .icon-menu { display: none; }
  .nav-open .icon-close { display: block; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .site-nav { order: 3; width: 100%; }
  .no-js .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem) var(--section); text-align: center; overflow-x: clip; }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero .lead { max-width: 36rem; margin: 1.5rem auto 0; }
.hero .actions { justify-content: center; }

.duo { display: flex; justify-content: center; margin-top: clamp(2.5rem, 6vw, 4rem); }
.duo-photo { margin: 0; width: clamp(8.5rem, 22vw, 12.5rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--bg); background: var(--surface); transition: transform 380ms var(--ease-spring); }
.duo-photo img { width: 100%; height: 100%; object-fit: cover; }
.duo-photo.ruben img { object-position: 50% 25%; }
.duo-photo.jack { margin-left: -1.75rem; }
.duo-photo.ruben { position: relative; z-index: 1; }
.duo-photo.ruben:hover { transform: rotate(-6deg) scale(1.04); }
.duo-photo.jack:hover { transform: rotate(6deg) scale(1.04); }
.duo-caption { margin-top: 1rem; color: var(--muted); font-size: 0.98rem; }

/* Staged page-load entrance for the hero. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1, .js .hero .lead, .js .hero .actions, .js .duo-caption { animation: rise 760ms var(--ease-out) both; }
  .js .hero .lead { animation-delay: 120ms; }
  .js .hero .actions { animation-delay: 220ms; }
  .js .duo-photo { animation: pop 700ms var(--ease-spring) both; }
  .js .duo-photo.ruben { animation-delay: 380ms; }
  .js .duo-photo.jack { animation-delay: 520ms; }
  .js .duo-caption { animation-delay: 640ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6) rotate(-10deg); } to { opacity: 1; transform: none; } }

/* Scroll reveals (main.js adds .is-in). */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 700ms ease, transform 800ms var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-late { transition-delay: 150ms; }
}

/* ---------- Services band with tabs ---------- */
.services { background: var(--band); color: var(--band-ink); padding-block: var(--section); }
.services a { color: var(--band-ink); }
.services-head { display: grid; gap: 0.75rem; margin-bottom: 2.5rem; }
.services-head p { color: var(--band-muted); max-width: 32rem; }
@media (min-width: 52rem) { .services-head { grid-template-columns: 1fr 1fr; align-items: end; } }

.tablist { display: none; position: relative; gap: 0.25rem; border-bottom: 1px solid var(--band-rule); margin-bottom: 2.25rem; }
.js .tablist { display: flex; flex-wrap: wrap; }
.tab {
  min-height: 52px; padding: 0.6rem 1.1rem; border: 0; background: none; cursor: pointer;
  font: 700 1.05rem/1.2 var(--sans); color: var(--band-muted); border-radius: 10px 10px 0 0;
  transition: color 160ms ease, background-color 160ms ease;
}
.tab:hover { color: var(--band-ink); background: rgba(255, 255, 255, 0.06); }
.tab[aria-selected="true"] { color: var(--band-ink); }
.tab:focus-visible { outline-color: var(--yellow); outline-offset: -3px; }
@media (max-width: 34rem) {
  .js .tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .tab { padding: 0.5rem 0.35rem; font-size: 0.92rem; text-wrap: balance; }
}
.tab-ind {
  position: absolute; left: 0; bottom: -2px; height: 4px; width: 0; border-radius: 4px; background: var(--yellow);
  transition: transform 420ms var(--ease-spring), width 420ms var(--ease-out);
}

.panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-block: 0.5rem; overflow-x: clip; }
.panel + .panel { margin-top: 2.5rem; }
.js .panel + .panel { margin-top: 0; }
.panel[hidden] { display: none; }
.panel-icon { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 22px; background: var(--yellow); color: var(--on-yellow); }
.panel-icon svg { width: 2.4rem; height: 2.4rem; }
.panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.panel p { color: var(--band-muted); max-width: 36rem; font-size: 1.15rem; }
@media (min-width: 52rem) { .panel { grid-template-columns: 6.5rem 1fr; gap: 2rem; } }
@media (prefers-reduced-motion: no-preference) {
  .js .panel.is-shown .panel-icon { animation: pop 560ms var(--ease-spring) both; }
  .js .panel.is-shown h3, .js .panel.is-shown p { animation: slide-in 520ms var(--ease-out) both; }
  .js .panel.is-shown p { animation-delay: 80ms; }
}
@keyframes slide-in { from { opacity: 0; transform: translateX(1.5rem); } to { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about { padding-block: var(--section); }
.about-grid { display: grid; gap: 2.5rem; }
.about-grid h2 { margin-bottom: 1.25rem; }
.team { display: grid; gap: 1rem; }
.team > div {
  display: grid; grid-template-columns: 6rem minmax(0, 1fr); grid-template-areas: "photo name" "photo text";
  column-gap: 1.25rem; align-items: center;
  background: var(--surface); border-radius: var(--radius); padding: 1rem 1.4rem 1rem 1rem; border-left: 5px solid var(--violet);
}
.team > div:nth-child(2) { border-left-color: var(--yellow); }
.team dt { grid-area: name; align-self: end; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.team dd { grid-area: text; align-self: start; margin: 0.2rem 0 0; color: var(--muted); }
.team .team-photo { grid-area: photo; align-self: center; margin: 0; }
.team-photo img {
  width: 6rem; height: 6rem; object-fit: cover; border-radius: 50%; background: var(--bg);
  border: 3px solid var(--violet); transition: transform 380ms var(--ease-spring);
}
.team > div:nth-child(1) .team-photo img { object-position: 50% 25%; }
.team > div:nth-child(2) .team-photo img { border-color: var(--yellow); }
.team > div:hover .team-photo img { transform: rotate(-6deg) scale(1.06); }
@media (max-width: 24rem) {
  .team > div { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .team-photo img { width: 4.5rem; height: 4.5rem; }
}
@media (min-width: 52rem) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: center; } }

/* ---------- Case: before / after switch ---------- */
.case { padding-block: var(--section); border-top: 1px solid var(--rule); }
.case-grid { display: grid; gap: 3rem; align-items: center; }
.case-grid h2 { margin-bottom: 1.25rem; }
.case-grid p { color: var(--muted); }
@media (min-width: 52rem) { .case-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.flip { background: var(--surface); border-radius: calc(var(--radius) + 6px); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--rule); }
.switch { display: none; position: relative; padding: 4px; border-radius: 12px; background: var(--bg); margin-bottom: 1.25rem; }
.js .switch { display: grid; grid-template-columns: 1fr 1fr; }
.switch button {
  position: relative; z-index: 1; min-height: 44px; border: 0; border-radius: 9px; background: none; cursor: pointer;
  font: 700 1rem var(--sans); color: var(--muted); transition: color 200ms ease;
}
.switch button[aria-pressed="true"] { color: var(--on-violet); }
.switch-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--violet);
  transition: transform 460ms var(--ease-spring);
}
.flip[data-state="after"] .switch-thumb { transform: translateX(100%); }

.stage { position: relative; min-height: 13.5rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.tiles li {
  display: grid; place-items: center; min-height: 6rem; padding: 0.75rem; border-radius: 12px; text-align: center;
  background: var(--bg); border: 2px dashed var(--rule); font-weight: 700; color: var(--muted);
  transition: transform 620ms var(--ease-out), opacity 420ms ease;
}
.tile-one {
  display: grid; place-items: center; gap: 0.25rem; margin-top: 0.75rem; min-height: 7rem; border-radius: 14px; text-align: center;
  background: var(--violet); color: var(--on-violet); font-family: var(--serif); font-weight: 800; font-size: 1.5rem;
}
.js .tile-one { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(0.4); transition: transform 620ms var(--ease-spring) 180ms, opacity 300ms ease 180ms; }
.js .flip[data-state="after"] .tile-one { opacity: 1; transform: none; }
.js .flip[data-state="after"] .tiles li { opacity: 0; }
.js .flip[data-state="after"] .tiles li:nth-child(1) { transform: translate(45%, 45%) scale(0.5); }
.js .flip[data-state="after"] .tiles li:nth-child(2) { transform: translate(-45%, 45%) scale(0.5); }
.js .flip[data-state="after"] .tiles li:nth-child(3) { transform: translate(45%, -45%) scale(0.5); }
.js .flip[data-state="after"] .tiles li:nth-child(4) { transform: translate(-45%, -45%) scale(0.5); }
.flip-caption { margin-top: 1rem; color: var(--muted); font-size: 0.98rem; min-height: 3.2em; }
@media (prefers-reduced-motion: reduce) {
  .tiles li, .js .tile-one, .switch-thumb { transition: opacity 150ms ease; }
  .js .flip[data-state="after"] .tiles li { transform: none; }
}

/* ---------- Contact band (broom yellow, drifting heather) ---------- */
.contact {
  position: relative; overflow: hidden; padding-block: var(--section);
  background-color: var(--yellow); color: var(--on-yellow);
}
.contact::before {
  content: ""; position: absolute; inset: -40px; opacity: 0.16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23231a33'%3E%3Ccircle cx='14' cy='12' r='3.5'/%3E%3Ccircle cx='10' cy='20' r='3'/%3E%3Ccircle cx='17' cy='27' r='2.6'/%3E%3Crect x='12.6' y='12' width='1.6' height='26' rx='.8'/%3E%3Ccircle cx='54' cy='50' r='3.5'/%3E%3Ccircle cx='50' cy='58' r='3'/%3E%3Ccircle cx='57' cy='65' r='2.6'/%3E%3Crect x='52.6' y='50' width='1.6' height='26' rx='.8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}
@media (prefers-reduced-motion: no-preference) {
  .contact::before { animation: drift 40s linear infinite; }
}
@keyframes drift { to { transform: translate(80px, -80px); } }
.contact .wrap { position: relative; }
.contact h2 { max-width: 18ch; }
.contact .measure { margin-top: 1.25rem; }
.contact a:not(.btn) { color: var(--on-yellow); text-decoration-color: var(--on-yellow); }
.contact :focus-visible { outline-color: var(--on-yellow); }
.fine { margin-top: 1.25rem; font-size: 0.95rem; opacity: 0.85; }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem); }
.page-head .lead { margin-top: 1.25rem; max-width: 36rem; }
.facts { display: grid; gap: 1rem; margin-top: 2.5rem; }
.facts > div { background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.4rem; border-top: 5px solid var(--violet); }
.facts > div:nth-child(2) { border-top-color: var(--yellow); }
.facts dt { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.facts dd { margin: 0.3rem 0 0; color: var(--muted); }
@media (min-width: 52rem) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.case-flip { padding-bottom: var(--section); }
.case-flip .flip { max-width: 34rem; }
.prose { padding-bottom: var(--section); }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2.5rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 38rem; }
.note { color: var(--muted); font-size: 0.95rem; }

.details { display: grid; gap: 1rem; padding-bottom: var(--section); }
.details > div { background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.details dt { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.details dd { margin: 0.3rem 0 0; color: var(--muted); }
.details dd a { color: var(--ink); }
@media (min-width: 52rem) { .details { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.not-found { padding-block: clamp(4rem, 12vw, 9rem); text-align: center; }
.not-found .lead { margin: 1.25rem auto 0; max-width: 30rem; }
.not-found .actions { justify-content: center; }
.not-found .sprig { width: 1.8rem; height: 2.8rem; margin: 0 auto 2rem; transform: rotate(24deg); }
.not-found .sprig::after { width: 1rem; height: 1rem; margin-left: -0.5rem; box-shadow: -0.6rem 0.9rem 0 -0.08rem var(--violet), 0.6rem 1.6rem 0 -0.08rem var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--foot); color: var(--foot-muted); padding-block: 3.5rem 2rem; font-size: 0.95rem; }
.site-footer .wordmark { color: var(--foot-ink); margin-bottom: 0.75rem; }
.site-footer .sprig::before { background: var(--foot-ink); }
.site-footer a { color: var(--foot-ink); }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; gap: 1.5rem 3rem; }
.site-footer p { margin: 0 0 0.25rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

@media print {
  .site-header, .icon-btn, .switch, .tablist { display: none; }
  .services, .contact, .site-footer { background: none; color: #000; }
}
