/* Colors and fonts used across the whole site. Change them here.
   The first block is light mode, the second is dark mode. */
:root {
  color-scheme: light;
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f3ece1;
  --ink: #170d0d;
  --muted: #62544f;
  --line: #e6ddd1;
  --accent: #c8102e;
  --on-accent: #ffffff;
  --glow: rgba(200, 16, 46, 0.12);
  --shadow: 0 18px 40px -18px rgba(40, 10, 10, 0.32);
  --header-bg: rgba(250, 247, 242, 0.84);
  --voxel-dim: #e9b422;
  --voxel-lit: #c8102e;
  /* Colored panels stay deep in both modes, so their text is always white */
  --panel: #7d0f1a;
  --panel-2: #1c1110;
  --panel-text: #f6e6df;
  --panel-accent: #fdc93a;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0707;
  --surface: #181010;
  --surface-2: #120b0b;
  --ink: #f8f2ea;
  --muted: #bbaca2;
  --line: #352420;
  --accent: #fdbf12;
  --on-accent: #1a0f00;
  --glow: rgba(253, 191, 18, 0.14);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  --header-bg: rgba(11, 7, 7, 0.8);
  --voxel-dim: #6a121b;
  --voxel-lit: #fdbf12;
  --panel: #8a111d;
  --panel-2: #231614;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 144px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 600; letter-spacing: -0.025em; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 0.92em; }

/* Top navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header .wrap { max-width: 1340px; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 124px; }
.brand { display: flex; align-items: center; gap: 16px; margin-right: auto; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-logo { flex: none; width: 104px; height: 104px; object-fit: contain; transition: transform 0.25s ease; }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav > a, .has-menu > a {
  position: relative;
  display: block;
  padding: 4px 0;
  color: var(--ink);
  font-size: 1.04rem;
  white-space: nowrap;
  text-decoration: none;
}
.site-nav > a::after, .has-menu > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav > a:hover::after, .has-menu:hover > a::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.site-nav .nav-cta { color: var(--accent); font-weight: 600; }

/* Services menu that opens on hover */
.has-menu { position: relative; }
.mega {
  position: absolute;
  top: 100%;
  left: -24px;
  padding-top: 18px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.has-menu:hover .mega, .has-menu:focus-within .mega { visibility: visible; opacity: 1; transform: none; }
.mega-inner {
  display: grid;
  grid-template-columns: repeat(2, 280px);
  gap: 2px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.mega a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.mega a:hover, .mega a[aria-current="page"] { background: var(--glow); color: var(--accent); }

.header-actions { display: flex; gap: 8px; }
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
.icon-button:hover { border-color: var(--accent); color: var(--accent); }
#theme-toggle:hover { transform: rotate(24deg) scale(1.08); }
.nav-toggle { display: none; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Buttons */
.button {
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { box-shadow: 0 12px 26px -10px var(--accent); }
.button-white { background: #fff; color: var(--panel); }
.button-white:hover { box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.6); }
.button-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* Large image at the top of each page, with a solid panel holding the text */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(760px, calc(100vh - 124px)); padding: 80px 0 96px; background: var(--panel); }
.hero-img { position: absolute; inset: 0; }
.hero > .wrap { position: relative; width: 100%; }
.hero-panel { max-width: 680px; padding: 40px; background: var(--panel); border-radius: 18px; color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.hero-panel :focus-visible { outline-color: #fff; }
.eyebrow { margin-bottom: 18px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--panel-accent); }
.binary-line { margin-bottom: 18px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--panel-accent); }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.hero-text { margin-top: 18px; color: var(--panel-text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-page { min-height: 460px; padding-bottom: 64px; }
.breadcrumb { margin-bottom: 16px; font-size: 0.88rem; color: var(--panel-text); }
.breadcrumb a { color: inherit; text-underline-offset: 3px; }
.breadcrumb a:hover { color: #fff; }

/* Cards that lift and tilt on hover (script.js adds the "tilt" class) */
.stat, .service-card, .why-list li, .deliver-card, .step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
}
.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
}
.tilt > *:not(.service-img) { transform: translateZ(22px); }
.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.tilt:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.tilt:hover::before { opacity: 1; }

/* Key numbers, overlapping the bottom of the image */
.stats { position: relative; margin-top: -48px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px 24px; }
.stat strong {
  display: block;
  font-size: 2.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 8px; font-size: 0.93rem; color: var(--muted); }

/* Page sections */
.section { padding: 96px 0; }
.section-tinted { background: var(--surface-2); transition: background-color 0.25s ease; }
.section-intro { max-width: 52em; margin-top: 12px; color: var(--muted); }

/* Heading on the left, paragraphs on the right */
.intro-grid { display: grid; grid-template-columns: 1fr 1.5fr; align-items: start; gap: 64px; }
.intro-text p { font-size: 1.08rem; color: var(--muted); }
.intro-text p + p { margin-top: 18px; }
.section-intro-block { padding-bottom: 32px; }

/* Competency cards: the whole card is a link to that competency's page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.service-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.service-text { flex: 1; display: flex; flex-direction: column; padding: 26px 26px 22px; }
.service-text h3 { font-size: 1.25rem; }
.service-text p { flex: 1; margin-top: 10px; font-size: 0.96rem; color: var(--muted); }
.more { margin-top: 16px; font-size: 0.94rem; font-weight: 600; color: var(--accent); }
.arrow { display: inline-block; transition: transform 0.2s ease; }
.service-card:hover .arrow { transform: translateX(6px); }
.service-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 15px 15px; background: var(--surface-2); }
.service-img img { transition: transform 0.5s ease; }
.service-card:hover .service-img img { transform: scale(1.07); }

/* Additional delivery capabilities, under the service cards */
.extra { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.extra-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; margin: 18px 0 0; padding: 0; list-style: none; }
.extra-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.96rem;
  text-decoration: none;
  transition: color 0.18s ease;
}
.extra-list a:hover { color: var(--accent); }
.extra-list a:hover .arrow { transform: translateX(6px); }
.extra-list .arrow { color: var(--accent); }

/* Why Binary, next to the 3D cube (see hero3d.js) */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.cube-stage {
  aspect-ratio: 1;
  width: 100%;
  max-width: 480px;
  margin-top: 16px;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.cube-stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.no-3d .cube-stage { display: none; }
.why-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: why; }
.why-list li { padding: 20px 52px 20px 24px; counter-increment: why; }
.why-list li::after {
  content: counter(why);
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
}
.why-list p { margin-top: 6px; font-size: 0.95rem; color: var(--muted); }

/* Past performance: image and color panel, swapping sides each row */
.perf-list { margin-top: 44px; overflow: hidden; border-radius: 18px; }
.perf { display: grid; grid-template-columns: 1fr 1fr; }
.perf-img { min-height: 340px; overflow: hidden; background: var(--surface-2); }
.perf-img img { transition: transform 0.6s ease; }
.perf:hover .perf-img img { transform: scale(1.05); }
.perf-panel { display: flex; flex-direction: column; justify-content: center; padding: 44px; background: var(--panel); color: var(--panel-text); }
.perf:nth-child(even) .perf-img { order: 2; }
.perf:nth-child(even) .perf-panel { background: var(--panel-2); }
.perf-panel h3 { margin-bottom: 12px; font-size: 1.45rem; color: #fff; }
.tag {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.perf-panel .tag { color: var(--panel-accent); }
.results { display: flex; flex-wrap: wrap; gap: 36px; margin: 18px 0 0; }
.results dt { font-size: 0.85rem; }
.results dd { margin: 0; font-family: var(--mono); font-weight: 500; color: #fff; }

/* Credentials */
.areas { margin-top: 36px; }
.areas-list { columns: 2; column-gap: 40px; margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.areas-list li { padding: 3px 0; break-inside: avoid; }
.areas-list li::marker { color: var(--accent); }
.credentials { margin: 36px 0 0; }
.credentials > div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 20px 14px;
  border-top: 1px solid var(--line);
  border-radius: 10px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.credentials > div:hover { background: var(--surface); transform: translateX(6px); }
.credentials dt { font-weight: 600; }
.credentials dd { margin: 0; color: var(--muted); }

.leadership-block { margin-top: 80px; }
.leader-name { margin-top: 24px; font-size: 1.3rem; }
.intro-text .leader-name { margin-top: 0; }
.leader-role { margin-bottom: 12px; color: var(--accent); font-weight: 500; }
.intro-text .leader-role { font-size: 1rem; color: var(--accent); }

/* Competency pages */
.overview-grid { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: 64px; }
.overview-text p { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }
.experience { padding: 30px; background: var(--panel); border-radius: 16px; color: var(--panel-text); }
.experience .tag { color: var(--panel-accent); }
.experience h3 { margin-bottom: 10px; font-size: 1.25rem; color: #fff; }

.deliver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.deliver-card { padding: 28px; }
.deliver-card p { margin-top: 8px; color: var(--muted); }
.deliver-card .relevant { margin-top: 14px; font-size: 0.92rem; }
.deliver-card .relevant strong { color: var(--ink); font-weight: 600; }
.deliver-3, .caps-grid { grid-template-columns: repeat(3, 1fr); }
.cap-card { padding: 20px 22px; }
.cap-card h3 { font-size: 1rem; font-weight: 500; line-height: 1.4; }
.purpose { display: grid; gap: 16px; }
.purpose .experience p:last-child { color: #fff; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step { padding: 24px; counter-increment: step; }
.step::after {
  content: "0" counter(step);
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
}
.step p { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }
.steps-5 { grid-template-columns: repeat(5, 1fr); }

.expect { display: grid; grid-template-columns: 1fr 1fr; }
.expect-img { min-height: 400px; overflow: hidden; background: var(--surface-2); }
.expect-img img { transition: transform 0.6s ease; }
.expect:hover .expect-img img { transform: scale(1.04); }
.expect-panel { display: flex; flex-direction: column; justify-content: center; padding: 56px; background: var(--panel-2); color: #fff; }
.expect-panel h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.outcomes { margin: 24px 0 0; padding: 0; list-style: none; }
.outcomes li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }

.cta { padding: 72px 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { max-width: 20em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-text { max-width: 44em; margin-top: 10px; color: var(--muted); }
.expect-text { margin-top: 18px; font-size: 1.05rem; color: var(--panel-text); }

/* Frequently asked questions: click a question to open its answer */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; align-items: start; gap: 64px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 1.2rem; line-height: 1.3; color: var(--accent); transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 32px 20px 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; }
.contact-intro { margin-top: 12px; color: var(--muted); }
.contact-details { margin: 32px 0 0; padding: 0; list-style: none; }
.contact-details li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-details span { display: block; font-size: 0.85rem; color: var(--muted); }

.contact-form {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: background-color 0.25s ease;
}
.contact-form label { display: block; margin: 18px 0 6px; font-size: 0.94rem; font-weight: 500; }
.contact-form label:first-child { margin-top: 0; }
.optional { font-weight: 400; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-form textarea { resize: vertical; }
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: var(--muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); outline: none; }
.contact-form .button { margin-top: 22px; }
.form-note { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.form-status { margin-top: 8px; font-size: 0.94rem; color: var(--accent); }

/* Footer */
.site-footer { padding: 56px 0 24px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-weight: 700; color: var(--ink); }
.footer-brand .brand-logo { width: 52px; height: 52px; }
.footer-title { margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-services { columns: 2; column-gap: 24px; }
.footer-services li { break-inside: avoid; }
.footer-contact-title { margin-top: 22px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; font-size: 0.85rem; }

/* Smaller laptops and tablets: the menu moves behind the menu button */
@media (max-width: 1259px) {
  .nav-toggle { display: grid; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 124px);
    padding: 16px 24px 24px;
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.nav-open { display: flex; }
  .site-nav > a, .has-menu > a { padding: 10px 0; font-size: 1rem; }
  .site-nav > a::after, .has-menu > a::after { display: none; }
  .mega { position: static; padding: 0 0 8px; visibility: visible; opacity: 1; transform: none; }
  .mega-inner { grid-template-columns: 1fr; padding: 0 0 0 12px; background: none; border: 0; box-shadow: none; }
}

/* Tablets */
@media (max-width: 960px) {
  .stats-grid, .services-grid, .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps-5, .deliver-3, .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .contact-grid, .overview-grid, .intro-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .cube-stage { max-width: 360px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* Phones */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-nav { padding-inline: 16px; }
  .header-row { min-height: 92px; gap: 10px; }
  .brand { gap: 8px; font-size: 1.1rem; }
  .site-header .brand-logo { width: 70px; height: 70px; }
  .header-actions { gap: 6px; }
  .hero { min-height: 0; padding: 140px 0 72px; }
  .hero-page { padding: 120px 0 40px; }
  .hero-panel { padding: 26px 22px; }
  .binary-line { font-size: 0.58rem; letter-spacing: 0; }
  .section { padding: 64px 0; }
  .stat { padding: 20px 16px; }
  .services-grid, .deliver-grid, .steps, .steps-5, .deliver-3, .caps-grid, .extra-list { grid-template-columns: 1fr; }
  .areas-list { columns: 1; }
  .perf, .expect { grid-template-columns: 1fr; }
  .perf-img, .expect-img { min-height: 220px; height: 220px; }
  .perf:nth-child(even) .perf-img { order: 0; }
  .perf-panel, .expect-panel { padding: 28px 22px; }
  .contact-form { padding: 22px; }
  .credentials > div { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-services { columns: 1; }
}

/* Respect visitors who turn off animation in their device settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .button:hover, #theme-toggle:hover, .credentials > div:hover, .brand:hover .brand-logo,
  .service-card:hover .arrow, .service-card:hover .service-img img,
  .perf:hover .perf-img img, .expect:hover .expect-img img, .extra-list a:hover .arrow { transform: none; }
}
