/* ------------------------------------------------------------------
   Switchgear Software: shared site styles
   Brand system: Direction A "Breaker". Charcoal, bone, steel, orange.
   Mobile-first: base rules are for phones, min-width queries add layout.

   Contrast (WCAG AA needs 4.5:1 for body text, 3:1 for large text and UI):
     bone   on charcoal  16.5:1
     steel  on charcoal   8.9:1
     orange on charcoal   6.4:1   OK for text and for charcoal-on-orange buttons
     orange on bone       2.6:1   NOT OK. Never set orange text on bone.
   ------------------------------------------------------------------ */
:root {
  --charcoal: #121417;
  --bone: #F4F2EC;
  --steel: #B8B4AA;
  --orange: #FF6A13;

  --border: color-mix(in srgb, var(--steel) 30%, transparent);
  --border-on-bone: color-mix(in srgb, var(--steel) 70%, transparent);

  --font-display: "Archivo Black", Impact, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--bone);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.on-bone :focus-visible { outline-color: var(--charcoal); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--orange);
  color: var(--charcoal);
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Text for screen readers only (e.g. which product a repeated button is for). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
.h1 { font-size: clamp(40px, 8vw, 92px); line-height: 0.92; }
.h1-page { font-size: clamp(34px, 6.4vw, 72px); line-height: 0.95; }
.h2 { font-size: clamp(30px, 5vw, 60px); }
.h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.02; }

/* Orange type. Charcoal backgrounds only (see contrast notes above). */
.accent { color: var(--orange); }
.h1 .line { display: block; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin: 0;
}
.on-bone .eyebrow { color: var(--charcoal); }

.tagline {
  font-family: var(--font-mono);
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--bone);
}

.body { max-width: 65ch; }
.muted { color: var(--steel); }
.nowrap { white-space: nowrap; }
.on-bone .muted { color: var(--charcoal); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 120ms linear, color 120ms linear;
}
.btn:hover { background: var(--bone); color: var(--charcoal); }
.on-bone .btn:hover { background: var(--charcoal); color: var(--bone); }

/* Secondary button: "Join early access". */
.btn-ghost {
  background: transparent;
  color: var(--bone);
  box-shadow: inset 0 0 0 2px var(--bone);
}
.btn-ghost:hover { background: var(--bone); color: var(--charcoal); }
.on-bone .btn-ghost { color: var(--charcoal); box-shadow: inset 0 0 0 2px var(--charcoal); }
.on-bone .btn-ghost:hover { background: var(--charcoal); color: var(--bone); }

.link {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.link:hover { color: var(--orange); }
.on-bone .link { color: var(--charcoal); }
.on-bone .link:hover { color: var(--charcoal); text-decoration-thickness: 2px; }

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.actions .link { align-self: flex-start; }

/* ---------- Status badges ----------
   Status is always spelled out in text. Colour and shape only back it up. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
}
/* Available now / supported today: solid, switched on. */
.badge-live { background: var(--orange); color: var(--charcoal); }
.badge-live::before { background: var(--charcoal); }
/* Early access: outlined, not yet switched on. */
.badge-early { border-color: currentColor; color: var(--bone); }
.badge-early::before { border: 2px solid currentColor; }
/* Coming soon: dashed. */
.badge-soon { border: 1px dashed var(--steel); color: var(--steel); }
.badge-soon::before { border: 1px dashed currentColor; }
.on-bone .badge-early,
.on-bone .badge-soon { color: var(--charcoal); border-color: var(--charcoal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: 4px;
}
.brand img { height: 40px; width: auto; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--bone);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.menu-btn:hover { border-color: var(--steel); }
.menu-btn .icon { width: 16px; height: 16px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

/* Without JavaScript the nav simply sits open under the logo.
   With it (html.js is set in <head>), phones get a Menu button. */
.site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  padding: 8px 0 24px;
}
.site-nav ul { display: flex; flex-direction: column; }
.site-nav ul li { border-top: 1px solid var(--border); }
.site-nav ul li:last-child { border-bottom: 1px solid var(--border); }
.site-nav ul a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 17px;
  color: var(--bone);
  text-decoration: none;
  text-underline-offset: 5px;
}
.site-nav ul a:hover { color: var(--orange); text-decoration: underline; }
.site-nav ul a[aria-current="page"] { color: var(--orange); }

.js .menu-btn { display: inline-flex; }
.js .site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: auto;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 24px var(--gutter) 32px;
  background: var(--charcoal);
  border-bottom: 1px solid var(--border);
}
.js .site-nav[data-open] { display: flex; }

/* ---------- Sections ---------- */
.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section + .section { border-top: 1px solid var(--border); }
.on-bone {
  background: var(--bone);
  color: var(--charcoal);
}
.on-bone + .section, .section + .on-bone { border-top: 0; }
.section-tight {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .h2 { max-width: 20ch; }
.section-head .body { font-size: 18px; }
.section-foot { margin-top: clamp(32px, 4vw, 48px); font-size: 18px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(48px, 8vw, 112px);
  padding-bottom: clamp(64px, 9vw, 128px);
}
.hero-inner {
  display: grid;
  gap: 32px;
}
.hero .h1 { max-width: 18ch; }
.hero .h1-page { max-width: 18ch; }
.hero .tagline { max-width: 60ch; }

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.hero-kicker svg { width: 36px; height: 36px; flex: none; }

/* Breaker handle snaps to ON when the hero loads. Never travels into the lower half. */
.hero-kicker .handle {
  animation: snap-on 260ms cubic-bezier(0.1, 0.9, 0.2, 1) 350ms both;
}
@keyframes snap-on {
  from { transform: translateY(10px); }
  to   { transform: translateY(0); }
}

.hero-note { font-size: 15px; color: var(--steel); max-width: 60ch; }

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--steel);
}

/* ---------- Column grids ---------- */
.cols-2, .cols-3, .cols-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.col-item {
  display: grid;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  align-content: start;
}
.on-bone .col-item { border-top-color: var(--border-on-bone); }
.col-item .h3 { margin-top: 8px; }
.col-item .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--orange);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
}
.on-bone .card { border-color: var(--border-on-bone); }
.card .h3 { margin-top: 8px; }

/* Product card: status badge on top, actions pinned to the bottom. */
.product-card {
  display: flex;
  flex-direction: column;
  border-width: 2px;
}
.on-bone .product-card { border-color: var(--charcoal); }
.product-card .card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.product-card .card-benefit {
  padding-top: 16px;
  border-top: 1px solid var(--border-on-bone);
  font-weight: 500;
}
.product-card .actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: auto;
  padding-top: 8px;
}
/* The long primary label has to wrap inside a narrow three-up card. */
.product-card .btn { white-space: normal; }
.product-card .actions .link { font-size: 15px; }

/* Home page product row: each card shares the grid's row tracks, so the
   badge, title, copy, benefit line and buttons line up across all three
   cards no matter how long each block of text runs. */
@supports (grid-template-rows: subgrid) {
  .product-grid .product-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 16px;
  }
  .product-grid .product-card .actions { margin-top: 0; }
}

/* ---------- Integrations strip ---------- */
.integrations {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
/* Badge sits under the name so long names fit at every width. */
.integration {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.integration-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* ---------- Placeholders ----------
   Anything with [data-placeholder] must be replaced or removed before launch.
   Find them all with:  grep -rn "data-placeholder" --include="*.html" .   */
.placeholder,
.proof-placeholder {
  border: 1px dashed var(--steel);
  border-radius: 8px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  max-width: 320px;
  text-align: center;
  padding: 24px;
}
.proof-placeholder {
  display: grid;
  gap: 12px;
  padding: 24px;
}
.proof-placeholder .eyebrow { color: var(--orange); }

/* ---------- Founder note / About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.about-copy { display: grid; gap: 24px; }
.about-copy .body { font-size: 18px; }
.about-aside { display: grid; gap: 24px; }
.signature { display: grid; gap: 4px; font-size: 15px; color: var(--steel); }
.signature strong { font-weight: 500; color: var(--bone); font-size: 17px; }

.quote {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 16px;
}
.quote p { font-size: 18px; line-height: 1.5; }
.quote footer { font-size: 14px; color: var(--steel); }

/* ---------- Check list (who it's for) ---------- */
.check-list { display: grid; gap: 16px; max-width: 65ch; font-size: 18px; }
.check-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
}
.check-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--orange);
  transform: translateY(1px);
}
.callout {
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  background: color-mix(in srgb, var(--steel) 10%, transparent);
  max-width: 65ch;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .faq-q { color: var(--orange); }
.faq-q {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
}
/* Plus / minus drawn with gradients so screen readers do not announce it. */
.faq summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--orange);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.faq details[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
.faq .answer { padding: 0 40px 24px 0; max-width: 65ch; color: var(--steel); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.booking-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 2px solid var(--orange);
  border-radius: 8px;
}
.booking-card .fine { font-size: 14px; color: var(--steel); }
.stack { display: grid; gap: 24px; }
.email-card .link { margin-top: 8px; }
/* Long addresses in mono can outrun a phone-width card; let them break. */
.email-link { justify-self: start; font-size: 17px; overflow-wrap: anywhere; }

/* ---------- Demo request form ----------
   Field borders are steel on charcoal (8.9:1), well past the 3:1 needed for
   form controls. Inputs are 16px so phones do not zoom in on focus. */
.form { display: grid; gap: 20px; color-scheme: dark; }
.form[hidden], .form-done[hidden] { display: none; }
.form-intro, .field .hint { font-size: 14px; color: var(--steel); }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: 15px; font-weight: 500; }
.field > legend { margin-bottom: 8px; }
.field .optional { color: var(--steel); font-weight: 400; }
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--steel);
  border-radius: 4px;
  background: color-mix(in srgb, var(--bone) 6%, var(--charcoal));
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23B8B4AA' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field input:not([type="checkbox"]):hover,
.field select:hover,
.field textarea:hover { border-color: var(--bone); }
/* Only after someone has tried a field, never on a blank form. */
.field input:user-invalid,
.field select:user-invalid { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0; font-size: 16px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--orange); }
/* Spam trap: off screen, out of the tab order, hidden from screen readers. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { font-size: 15px; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { padding-left: 12px; border-left: 3px solid var(--orange); }
.form-done { display: grid; gap: 12px; }
.form-done:focus { outline: 0; }

/* ---------- Final CTA ---------- */
.cta-band .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.cta-band .cta-copy { display: grid; gap: 20px; }
.cta-band .h1 { max-width: 12ch; }
.cta-band .body { font-size: 18px; max-width: 48ch; }
.cta-band .actions { width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
  padding-bottom: 48px;
  font-size: 14px;
  color: var(--steel);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-brand img { height: 44px; width: auto; }
.footer-nav { display: grid; gap: 32px; }
.footer-nav h2 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.footer-nav ul { display: grid; gap: 12px; }
.footer-nav a {
  color: var(--bone);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  text-underline-offset: 5px;
}
.footer-nav a:hover { color: var(--orange); text-decoration: underline; }
.footer-nav .status { color: var(--steel); font-size: 13px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 24px 64px;
  margin: 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-contact dt {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 500;
}
.footer-contact dd { margin: 0; color: var(--bone); }
.footer-contact a { color: var(--bone); text-decoration: none; text-underline-offset: 5px; }
.footer-contact a:hover { color: var(--orange); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 32px;
}
.footer-bottom .legal { flex-basis: 100%; font-size: 13px; }

/* ------------------------------------------------------------------
   Larger screens
   ------------------------------------------------------------------ */
@media (min-width: 480px) {
  .btn { white-space: nowrap; }
  .actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
  .actions .link { align-self: auto; }
  .cta-band .actions { width: auto; }
}

@media (min-width: 640px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integrations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .quote, .booking-card, .proof-placeholder { padding: 32px; }
  .hero-meta { flex-direction: row; flex-wrap: wrap; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 1024px) {
  :root { --header-h: 72px; }

  .brand img { height: 46px; }
  .header-inner { flex-wrap: nowrap; }
  .menu-btn, .js .menu-btn { display: none; }
  .site-nav, .js .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: none;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: 32px; }
  .site-nav ul li, .site-nav ul li:last-child { border: 0; }
  .site-nav ul a { display: inline; padding: 0; font-size: 15px; }

  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .contact-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; }
  .footer-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

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