/* ==========================================================================
   DIGRON front end for the DiGi/Actelchips Spring Boot + Thymeleaf backend
   Design system: one accent, one radius (2px), one light theme.
   Colour families: surface (white / #f5f7f8), ink (#0b0e13 + grey), accent (#1b4fd8).
   Icons: Tabler Icons (MIT), inlined as an SVG sprite per template.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self hosted, Geist + Geist Mono)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geistmono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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: "Geist Mono";
  src: url("../fonts/geistmono-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  --surface: #ffffff;
  --surface-tint: #f5f7f8;
  --ink: #0b0e13;
  --ink-2: #141a22;
  --text: #12171d;
  --muted: #5a6470;
  --muted-2: #656d7a;
  --on-ink: #ffffff;
  --on-ink-muted: #a3adba;
  --line: #e2e7eb;
  --line-strong: #d3dade;
  --line-ink: #232b35;
  --accent: #1b4fd8;
  --accent-strong: #1439a6;
  --accent-tint: #edf1fd;
  --accent-on-ink: #7fa2ff;
  --r: 2px;
  --wrap: 1280px;
  --gutter: 32px;
  --section-y: 104px;
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-pop: 0 18px 44px -20px rgba(11, 14, 19, 0.28);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
img.is-missing {
  visibility: hidden;
}
.media-missing {
  background: repeating-linear-gradient(45deg, #eef1f3 0 10px, #e5e9ed 10px 20px);
  min-height: 120px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill {
  fill: currentColor;
  stroke: none;
}
::selection {
  background: var(--accent);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 90;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--section-y) 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.section--tint {
  background: var(--surface-tint);
}
.section--tight {
  padding: 64px 0;
}
.s-head {
  max-width: 720px;
}
.s-head h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}
.s-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 62ch;
}
.s-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

/* Page head used by every inner page */
.page-head {
  padding: 52px 0 0;
}
.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.crumb a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.crumb a:hover {
  color: var(--accent);
}
.crumb svg {
  opacity: 0.55;
}
.page-head h1 {
  margin-top: 20px;
  font-size: clamp(1.8rem, 2.9vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 24ch;
}
.page-head .lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 62ch;
}
.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 24px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.12s var(--ease);
}
.btn:active {
  transform: scale(0.985);
}
.btn svg {
  flex: none;
}
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--onink {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--onink:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn--sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.22s var(--ease);
}
.tlink:hover {
  border-bottom-color: currentColor;
}
.tlink svg {
  transition: transform 0.3s var(--ease);
}
.tlink:hover svg {
  transform: translateX(3px);
}
.mono {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: 0.8125rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.topbar__list > li {
  display: flex;
  align-items: center;
}
.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  transition: color 0.2s var(--ease);
}
.topbar a:hover {
  color: #fff;
}
.topbar svg {
  color: var(--accent-on-ink);
}

.site-header-wrap {
  position: sticky;
  top: calc(-1 * var(--topbar-h, 38px));
  z-index: 60;
}
.site-header {
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px -24px rgba(11, 14, 19, 0.5);
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: #fff;
  }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  color: var(--ink);
}
.brand__word {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-right: 0.15em;
}
.brand__sub {
  display: block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}

.nav {
  position: relative;
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__list > li {
  position: relative;
}
.nav__list a {
  display: block;
  padding: 10px 13px;
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav__list a:hover {
  color: var(--text);
}
.nav__list a.current-path,
.nav__list a.current-second-grade {
  color: var(--text);
  font-weight: 500;
}
/* Marker under the section the visitor is in: a short black rule, drawn from
   the markup class alone so it always sits under the right item. */
.nav__list > li > a.current-path::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
}

/* Resources dropdown */
.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 8px;
  min-width: 208px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
  z-index: 5;
}
.nav__list > li:hover .nav__drop,
.nav__list > li:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__drop a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: var(--r);
  font-size: 0.9375rem;
  color: var(--muted);
}
.nav__drop a:hover {
  background: var(--surface-tint);
  color: var(--text);
}
.nav__toggle-caret {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  vertical-align: -1px;
  opacity: 0.7;
}

/* Search */
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding-left: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.search input {
  width: 168px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.875rem;
}
.search input::placeholder {
  color: var(--muted-2);
}
.search button {
  height: 100%;
  padding: 0 13px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.search button:hover {
  color: var(--accent);
}

/* Language switch */
.lang {
  position: relative;
  flex: none;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 0.875rem;
  cursor: pointer;
}
.lang__btn img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
  z-index: 6;
  max-height: 320px;
  overflow-y: auto;
}
.lang.is-open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.lang__menu .lang__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.lang__menu .lang__option:hover,
.lang__menu .lang__option.active {
  background: var(--surface-tint);
  color: var(--text);
}
.lang__menu img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle__close {
  display: none;
}
.nav.is-open ~ .header-actions .nav-toggle__close,
body.nav-open .nav-toggle__close {
  display: block;
}
body.nav-open .nav-toggle__open {
  display: none;
}

/* Mobile panel */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav__list > li > a,
.mobile-nav__group > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.mobile-nav__group > span {
  color: var(--muted-2);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobile-nav__sub a {
  display: block;
  padding: 13px 0 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}
.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0 26px;
  font-size: 0.9375rem;
}
.mobile-nav__foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.mobile-nav__search {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__search .search {
  width: 100%;
}
.mobile-nav__search .search input {
  width: 100%;
}

/* --------------------------------------------------------------------------
   6b. Page loader
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.loader__mark {
  width: 46px;
  height: 46px;
  animation: loader-pulse 1.5s var(--ease) infinite;
}
.loader__word {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
}
.loader__bar {
  width: 140px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--accent);
  animation: loader-slide 1.15s var(--ease) infinite;
}
@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes loader-slide {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(340%);
  }
}
@keyframes loader-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* if the script never runs, get out of the way after a moment */
html:not(.js) .loader {
  animation: loader-out 0.4s var(--ease) 2.2s forwards;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.hero__eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 46ch;
  line-height: 1.6;
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 620px;
}
.hero__sub {
  margin-top: 22px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.hero__media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   8. Trust row (4 hairline separated items)
   -------------------------------------------------------------------------- */
.trust {
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust__item {
  padding: 40px 32px 40px 0;
}
.trust__item + .trust__item {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.trust__item svg {
  color: var(--accent);
}
.trust__item h3 {
  margin-top: 18px;
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}
.trust__item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   9. Hot parts: supplier tabs + product grid
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  gap: 4px;
  margin-top: 36px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  position: relative;
  flex: none;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.tab:hover {
  color: var(--text);
}
.tab[aria-selected="true"] {
  color: var(--text);
  font-weight: 500;
}
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
}
.panel[hidden] {
  display: none;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.pgrid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.24s var(--ease);
}
.pcard:hover {
  border-color: var(--line-strong);
}
.pcard__media {
  aspect-ratio: 4 / 3;
  padding: 18px 18px 0;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.55s var(--ease);
}
.pcard:hover .pcard__media img {
  transform: scale(1.035);
}
.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 17px 18px;
  flex: 1;
}
.pcard__name {
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.pcard__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}
.pcard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
}
.pcard__meta strong {
  color: var(--accent);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. Manufacturers
   -------------------------------------------------------------------------- */
.makers {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.maker {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.24s var(--ease);
}
.maker:hover {
  border-color: var(--line-strong);
}
.maker img {
  max-height: 44px;
  width: auto;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.72;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
.maker:hover img {
  filter: none;
  opacity: 1;
}
.maker__fallback {
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   11. Categories
   -------------------------------------------------------------------------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.cat {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.24s var(--ease);
}
.cat:hover {
  border-color: var(--line-strong);
}
.cat--media {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.cat--media .cat__media {
  width: 100%;
  height: 160px;
  border-radius: 0;
}
.cat--media .cat__body {
  padding: 20px 22px 22px;
}
.cat__media {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-tint);
}
.cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.cat:hover .cat__media img {
  transform: scale(1.06);
}
.cat h3 {
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}
.cat p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat__icon {
  color: var(--accent);
  margin-bottom: 12px;
}
.cats--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cats--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --------------------------------------------------------------------------
   12. Process steps + counters
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.step {
  padding: 28px 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.step__no {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.step h3 {
  margin-top: 22px;
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}
.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.counter {
  padding: 44px 32px 44px 0;
}
.counter + .counter {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.counter__value {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.counter__label {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   13. Blog cards
   -------------------------------------------------------------------------- */
.nlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  margin-top: 40px;
}
.post {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.24s var(--ease);
}
.post:hover {
  border-color: var(--line-strong);
}
.post__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-tint);
}
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.post:hover .post__media img {
  transform: scale(1.035);
}
.post__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 22px;
  flex: 1;
}
.post__date {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.post h3 {
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.post p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}
.post:hover .post__more svg {
  transform: translateX(3px);
}
.post__more svg {
  transition: transform 0.3s var(--ease);
}

/* Featured + list layout used on the home page and the blog index */
.posts-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.posts-feature > .post .post__media {
  aspect-ratio: 16 / 10;
  max-height: 300px;
}
.posts-feature > .post .post__body {
  padding: 16px 18px 18px;
  gap: 8px;
}
.posts-feature > .post h3 {
  font-size: 1.0625rem;
}
.posts-feature > .post p {
  font-size: 0.875rem;
}
.posts-side {
  /* stretches to the height of the feature so both cards can match it */
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.post--row {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.post__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.posts-side > .post--row:last-child {
  border-bottom: 0;
}
/* landscape frame sized to the cover artwork so it fills without bands */
.post--row .post__media {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
}
.post--row .post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post--row:hover {
  border-bottom-color: var(--line-strong);
}
.post--row h3 {
  font-size: 1rem;
  min-height: 0;
  -webkit-line-clamp: 2;
}
.post--row p {
  font-size: 0.875rem;
  -webkit-line-clamp: 2;
  margin-top: 6px;
}

.pcard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pcard__actions .btn {
  flex: 1 1 auto;
}

/* Slim call-to-action strip */
.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-tint);
}
.strip h2 {
  font-size: 1.1875rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.strip p {
  margin-top: 8px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   14. Catalogue (products.html)
   -------------------------------------------------------------------------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.results {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.empty {
  margin-top: 32px;
  padding: 64px 32px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  text-align: center;
}
.empty svg {
  margin: 0 auto 18px;
  color: var(--muted-2);
}
.empty h3 {
  font-size: 1.0625rem;
  font-weight: 550;
}
.empty p {
  margin: 10px auto 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.9375rem;
}
.empty .btn {
  margin-top: 22px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.pager a,
.pager span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 0.9375rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.pager a:hover {
  border-color: var(--ink);
}
.pager .is-current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pager .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.pager .pager__gap {
  border: 0;
  background: transparent;
  min-width: 20px;
  padding: 0;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   15. Product detail
   -------------------------------------------------------------------------- */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: stretch;
  margin-top: 36px;
}
.detail__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail__maker {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  text-align: center;
}
.detail__maker img {
  max-height: 46px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.85;
}
.detail__maker strong {
  font-size: 0.9375rem;
  font-weight: 550;
}
.detail__plate {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-tint);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.detail__plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}
.detail__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.detail__thumbs img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 6px;
}
.detail h1 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  word-break: break-word;
}
.detail__lede {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 56ch;
}
.detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.stock {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.stock strong {
  color: var(--text);
  font-weight: 500;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.spec {
  background: var(--surface);
  padding: 18px 20px;
}
.spec dt {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.spec dd {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  word-break: break-word;
}

.ptable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.9375rem;
}
.ptable caption {
  text-align: left;
  padding-bottom: 12px;
}
.ptable th,
.ptable td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.ptable thead th {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.ptable tbody tr:hover {
  background: var(--surface-tint);
}
.ptable td strong {
  font-weight: 550;
}

.prose {
  max-width: 74ch;
}
.prose h2 {
  margin-top: 44px;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.prose h3 {
  margin-top: 30px;
  font-size: 1.0625rem;
  font-weight: 600;
}
.prose p,
.prose li {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.prose ul,
.prose ol {
  margin-top: 8px;
  padding-left: 20px;
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li::marker {
  color: var(--accent);
}
.prose img {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.prose a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.9375rem;
}
.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.prose blockquote {
  margin: 32px 0 0;
  padding: 22px 26px;
  background: var(--surface-tint);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
}

/* Article sidebar follows the reader down the page */
.article__aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
@media (max-width: 1024px) {
  .article__aside {
    position: static;
  }
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 18px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.875rem;
  font-weight: 500;
}
.field .req,
.rfq-head .req {
  color: #c0261f;
  margin-left: 3px;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 0.9375rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field .hint {
  font-size: 0.8125rem;
  color: var(--muted-2);
}
.field .err {
  font-size: 0.8125rem;
  color: #b3261e;
  display: none;
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #b3261e;
}
.field.is-invalid .err {
  display: block;
}
.field input.error,
.field textarea.error {
  border-color: #b3261e;
}
.form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
}
.form__legal {
  font-size: 0.8125rem;
  color: var(--muted-2);
  max-width: 36ch;
  line-height: 1.5;
}
.form__legal a {
  color: var(--accent);
}
.status {
  grid-column: 1 / -1;
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface-tint);
  font-size: 0.9375rem;
}
.status.is-on {
  display: flex;
}
.status svg {
  color: var(--accent);
  margin-top: 3px;
  flex: none;
}
.status--error {
  border-color: #e6b3ae;
  background: #fdf4f3;
}
.status--error svg {
  color: #b3261e;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.info-list {
  border-top: 1px solid var(--line);
}
.info-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list svg {
  color: var(--accent);
  margin-top: 3px;
}
.info-list strong {
  display: block;
  font-weight: 550;
  font-size: 0.9375rem;
}
.info-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}
.form-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

/* --------------------------------------------------------------------------
   17. RFQ builder (rfq.html)
   -------------------------------------------------------------------------- */
.rfq-rows {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.rfq-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr 90px 130px 40px;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.rfq-row .field {
  gap: 0;
}
.rfq-row input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 0.9375rem;
}
.rfq-row input::placeholder {
  color: var(--muted-2);
}
.rfq-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.rfq-row input.is-invalid,
.rfq-row input.error {
  border-color: #b3261e;
}
.row-del {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.row-del:hover {
  border-color: #b3261e;
  color: #b3261e;
}
.rfq-add {
  margin-top: 16px;
}
.rfq-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-tint);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}
.rfq-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.rfq-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.rfq-card .field + .field {
  margin-top: 14px;
}
.rfq-add {
  margin-top: 12px;
}
.rfq-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-tint);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   18. Quote result
   -------------------------------------------------------------------------- */
.qresult {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.qresult__card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.qresult__card dl {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.qresult__card dt {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.qresult__card dd {
  margin: 6px 0 0;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  flex: none;
  margin-top: 4px;
  color: var(--muted-2);
  transition: transform 0.28s var(--ease);
}
.faq details[open] summary svg {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq__answer {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 74ch;
}

/* Coverage table used on the shipping policy page */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.9375rem;
}
.policy-table th,
.policy-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.policy-table th {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.policy-update {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.policy-intro p {
  font-size: 1.0625rem;
  color: var(--text);
}
.policy-block {
  margin-top: 40px;
}
.policy-block h2 {
  margin-top: 0;
}

/* Grouped capability list (about page expertise) */
.compliance {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.compliance > div {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.compliance--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 0;
}
.compliance--grid > div {
  grid-template-columns: minmax(0, 1fr) auto;
}
.compliance dt {
  font-size: 0.9375rem;
  font-weight: 550;
}
.compliance dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* RFQ column headings, aligned with .rfq-row */
.team-photo {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.person h3 {
  margin-top: 16px;
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}
.person p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Floated figure: copy wraps around the photograph */
.figure-float {
  float: right;
  width: 44%;
  margin: 6px 0 22px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.figure-float--left {
  float: left;
  margin: 6px 40px 22px 0;
}
.figure-float img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.figure-float figcaption {
  padding: 12px 16px 14px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.flow {
  overflow: hidden;
}
.split--center {
  align-items: center;
}
.split__body h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.split__body > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.split--flip .split__media {
  order: 2;
}
.flow p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* Two column split used for image plus copy */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.rfq-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr 90px 130px 40px;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.pd-form {
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   20. Legal pages
   -------------------------------------------------------------------------- */
.legal {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  margin-top: 40px;
}
.legal__nav {
  border-top: 1px solid var(--line);
}
.legal__nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 0.2s var(--ease), padding-left 0.24s var(--ease);
}
.legal__nav a:hover {
  color: var(--text);
  padding-left: 6px;
}
.legal__body h2 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-top: 48px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal__body h2:first-child {
  margin-top: 0;
}
.legal__body h3 {
  margin-top: 30px;
  font-size: 1rem;
  font-weight: 600;
}
.legal__body p,
.legal__body li {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 76ch;
}
.legal__body ul {
  margin-top: 6px;
  padding-left: 20px;
  list-style: disc;
}
.legal__body li::marker {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: 0.9375rem;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.85fr));
  gap: 44px;
  padding: 68px 0 52px;
}
.footer__brand .brand__mark,
.footer__brand .brand__word {
  color: #fff;
}
.footer__brand p {
  margin-top: 20px;
  max-width: 38ch;
  line-height: 1.65;
}
.footer__col h3 {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer__col li + li {
  margin-top: 12px;
}
.footer__col a {
  transition: color 0.2s var(--ease);
}
.footer__col a:hover {
  color: #fff;
}
.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer__contact svg {
  color: var(--accent-on-ink);
  margin-top: 4px;
  flex: none;
}
.footer__bottom {
  border-top: 1px solid var(--line-ink);
  padding: 22px 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.875rem;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer__legal a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   22. Cookie notice + preferences
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 70;
  width: min(400px, calc(100vw - 48px));
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-pop);
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.cookie.is-in {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.cookie h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.cookie p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}
.cookie a {
  color: var(--accent);
}
.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.cookie .btn {
  height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.cookie__link {
  margin-top: 14px;
  font-size: 0.8125rem;
}
.cookie__link button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 14, 19, 0.5);
}
.modal.is-open {
  display: flex;
}
.modal__box {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r);
  padding: 28px;
}
.modal__box h2 {
  font-size: 1.25rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.modal__box > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.pref {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.pref__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.pref__row strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 550;
}
.pref__row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.pref__lock {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 3px;
}
.switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.switch span {
  position: absolute;
  inset: 0;
  background: var(--line-strong);
  border-radius: 999px;
  transition: background-color 0.24s var(--ease);
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.24s var(--ease);
}
.switch input:checked + span {
  background: var(--accent);
}
.switch input:checked + span::after {
  transform: translateX(20px);
}
.switch input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   23. Reveal motion
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .hero__copy > *,
.js .hero__media {
  opacity: 0;
  transform: translateY(16px);
}
.js .hero__media img {
  transform: scale(1.035);
}
.js.is-ready .hero__copy > *,
.js.is-ready .hero__media {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js.is-ready .hero__copy > :nth-child(2) {
  transition-delay: 0.08s;
}
.js.is-ready .hero__copy > :nth-child(3) {
  transition-delay: 0.16s;
}
.js.is-ready .hero__media {
  transition-delay: 0.1s;
}
.js.is-ready .hero__media img {
  transform: scale(1);
  transition: transform 1.5s var(--ease);
}

/* --------------------------------------------------------------------------
   24. Utilities
   -------------------------------------------------------------------------- */
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-56 {
  margin-top: 56px;
}
.mt-72 {
  margin-top: 72px;
}
.text-center {
  text-align: center;
}
.nowrap {
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  :root {
    --gutter: 28px;
    --section-y: 88px;
  }
  .pgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .makers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .search input {
    width: 130px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 66px;
  }
  .nav__list,
  .header-inner > .search,
  .lang {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero__grid,
  .detail,
  .contact-grid,
  .qresult,
  .legal,
  .posts-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__media {
    aspect-ratio: 16 / 9;
  }
  .trust__grid,
  .counters,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust__item:nth-child(odd),
  .counter:nth-child(odd),
  .step:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .trust__item:nth-child(n + 3),
  .counter:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .trust__item:nth-child(n + 3) {
    padding-top: 32px;
  }
  .counter:nth-child(n + 3) {
    padding-top: 32px;
  }
  .cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pgrid,
  .pgrid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    padding: 56px 0 44px;
  }
}

@media (max-width: 1024px) {
  :root {
    --topbar-h: 0px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-y: 64px;
  }
  .topbar {
    display: none;
  }
  .rfq-head {
    display: none;
  }
  .rfq-row {
    grid-template-columns: 1fr 1fr;
  }
  .rfq-row .row-del {
    grid-column: 2;
    justify-self: end;
  }
  .hero {
    padding: 44px 0 56px;
  }
  .trust__grid,
  .counters,
  .steps,
  .cats,
  .nlist,
  .specs,
  .pgrid,
  .pgrid--4,
  .team,
  .form {
    grid-template-columns: 1fr;
  }
  .trust__item,
  .counter,
  .step {
    border-left: 0 !important;
    padding-left: 0 !important;
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }
  .trust__item + .trust__item,
  .counter + .counter {
    border-top: 1px solid var(--line);
  }
  .makers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .s-head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .post--row {
    flex: 0 0 auto;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 16px;
  }
  .post--row .post__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .compliance--grid {
    grid-template-columns: 1fr;
  }
  .figure-float,
  .figure-float--left {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .cookie {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }
  .detail__plate img {
    padding: 12px;
  }
}

/* --------------------------------------------------------------------------
   26. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal,
  .js .hero__copy > *,
  .js .hero__media {
    opacity: 1;
    transform: none;
  }
  .js .hero__media img,
  .js.is-ready .hero__media img {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Bento product tiles and the application rail, ported from the standalone
   prototype so the two front ends share one visual language.
   -------------------------------------------------------------------------- */
   9. Product categories - asymmetric bento, one cell per category
   -------------------------------------------------------------------------- */
.cats__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.24s var(--ease);
}
.tile:hover {
  border-color: var(--line-strong);
}
.tile__media {
  flex: none;
  overflow: hidden;
  background: var(--surface-tint);
}
.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.tile:hover .tile__media img {
  transform: scale(1.035);
}
.tile__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tile__body h3 {
  font-weight: 550;
  letter-spacing: -0.015em;
}
.tile__desc {
  color: var(--muted);
}
.tile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
}
.tile__cta svg {
  transition: transform 0.3s var(--ease);
}
.tile:hover .tile__cta svg {
  transform: translateX(3px);
}

/* Feature band: photograph left, copy right, both fill one row height */
.tile--feature {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  min-height: 318px;
}
.tile--feature .tile__media {
  position: relative;
  height: 100%;
}
/* The photograph fills the band instead of setting its height */
.tile--feature .tile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tile--feature .tile__body {
  justify-content: center;
  padding: 32px 36px;
}
.tile--feature h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.2;
}
.tile--feature .tile__desc {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46ch;
}
.tile--feature .tile__meta {
  margin-top: 20px;
}
.tile--feature .tile__cta {
  margin-top: 24px;
}

/* Compact family cards: four across, equal height, no dead space */
.tile--compact {
  grid-column: span 3;
}
.tile--compact .tile__media {
  height: 148px;
}
.tile--compact .tile__body {
  padding: 16px 18px 18px;
}
.tile--compact h3 {
  font-size: 1rem;
  line-height: 1.3;
  min-height: 2.6em;
}
.tile--compact .tile__desc {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.45;
  min-height: 2.9em;
}
.tile--compact .tile__meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}
.tile--ledger {
  grid-column: span 12;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.tile--ledger:hover {
  border-color: var(--ink-2);
}
.tile--ledger .tile__body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 26px 28px;
}
.tile--ledger h3 {
  font-size: 1.125rem;
}
.tile--ledger p {
  color: var(--on-ink-muted);
  max-width: 62ch;
}
.tile--ledger .ledger-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile--ledger .ledger-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-on-ink);
  flex: none;
  max-width: 320px;
}
   12. Applications - horizontal snap rail
   -------------------------------------------------------------------------- */
.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 34px;
}
.rail-nav {
  display: flex;
  gap: 8px;
  flex: none;
}
.rail-nav button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.rail-nav button:hover:not([disabled]) {
  border-color: var(--ink);
}
.rail-nav button[disabled] {
  opacity: 0.36;
  cursor: default;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(268px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.rail::-webkit-scrollbar {
  display: none;
}
.app {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  min-height: 216px;
}
.app__icon {
  color: var(--accent);
}
.app h3 {
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.015em;
}
.app p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}
.app__parts {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}

@media (max-width: 1024px) {
  .tile--feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .tile--feature .tile__media {
    height: 280px;
  }
  .tile--feature .tile__body {
    padding: 26px 24px;
  }
  .tile--compact {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .tile--feature,
  .tile--compact,
  .tile--ledger {
    grid-column: 1 / -1;
  }
  .tile--compact .tile__media {
    height: 190px;
  }
  .tile--ledger .tile__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .rail {
    grid-auto-columns: 82%;
  }
  .rail-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .rail {
    grid-auto-columns: 88%;
  }
}

/* --------------------------------------------------------------------------
   Newsroom list: borderless cards, the photograph carries the frame
   -------------------------------------------------------------------------- */
.nlist .post {
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.nlist .post__body {
  display: contents;
}
.nlist .post__media {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.nlist .post__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.nlist .post__date {
  display: block;
  margin-top: 20px;
}
.nlist .post h3 {
  margin-top: 10px;
  font-size: 1.125rem;
}
.nlist .post p {
  margin-top: 10px;
  font-size: 0.9375rem;
}
.nlist .post__more {
  display: none;
}

/* Service cards: the frame follows the artwork so nothing is cut off */
.cat--media .cat__media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
