/* Page CSS for aasnig.com. The kit (public/kit) carries the system; this file holds only what sits
   inside a visual, the client's logo, the red signal, and the parts the kit leaves to the page
   (references/system.md: page CSS inside visuals, --p-h, .wall, .rail, .device). */

/* ---------------------------------------------------------------- logo and skip link */
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; z-index: 60; background: var(--bg); padding: 8px 12px; border-radius: var(--r-sm); }
.nav__logo .logo { height: 40px; width: auto; display: block; }
@media (max-width: 639px) { .nav__logo .logo { height: 32px; } }
.footer__logo .logo { height: 64px; width: auto; display: block; }

/* ---------------------------------------------------------------- the red signal (the quote action) */
.btn.btn--signal { background: var(--signal); color: var(--signal-ink); }
.btn.btn--signal:hover { background: color-mix(in oklab, var(--signal) 84%, #000); }
.ground-inverse .btn.btn--signal { background: var(--signal); color: #fff; }

/* ---------------------------------------------------------------- hero: full-bleed cinema */
.hero.hero--cinema {
  position: relative; height: 100svh; min-height: 620px; overflow: clip;
  display: block; padding: 0; background: #0b0d24; color: var(--p-inv-ink);
}
.hero--cinema .hero__scene { position: absolute; inset: 0; z-index: 0; }
.hero--cinema .hero__poster,
.hero--cinema .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero--cinema .hero__poster { object-fit: cover; object-position: 60% 50%; }
.hero--cinema .hero__canvas { opacity: 0; transition: opacity 700ms var(--ease); }
.hero--cinema .hero__scene[data-live] .hero__canvas { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 44%, transparent 40%, rgba(6, 7, 22, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 7, 22, 0.72) 0%, rgba(6, 7, 22, 0.1) 26%, rgba(6, 7, 22, 0.32) 62%, rgba(6, 7, 22, 0.94) 100%),
    linear-gradient(90deg, rgba(6, 7, 22, 0.88) 0%, rgba(6, 7, 22, 0.44) 44%, rgba(6, 7, 22, 0) 70%);
}
.hero--cinema .wrap {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-6);
  padding-top: calc(var(--nav) + var(--s-6));
  padding-bottom: clamp(20px, 5vh, 56px);
}
.hero__copy { display: grid; gap: var(--s-5); max-width: min(880px, 64vw); }
.hero__eyebrow {
  margin: 0; font: 500 12px/1 var(--font-mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: #a8adcf;
}
.hero--cinema h1 {
  margin: 0; font-size: clamp(40px, 5.4vw, 86px); line-height: 0.98;
  letter-spacing: -0.045em; max-width: 17ch; color: #f6f7fb; text-wrap: balance;
}
.hero--cinema .hero__lead {
  margin: 0; max-width: 46ch; font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.55; color: #c9cce0;
}
.hero--cinema .btn--secondary {
  color: #f6f7fb; border-color: rgba(246, 247, 251, 0.28); background: rgba(255, 255, 255, 0.04);
}
.hero--cinema .btn--secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(246, 247, 251, 0.5); }
.hero__cue {
  align-self: flex-start; display: inline-flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-6); color: #a8adcf; text-decoration: none;
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
}
.hero__cue-word { transition: color 200ms var(--ease); }
.hero__cue:hover .hero__cue-word { color: #f6f7fb; }
.hero__cue-line {
  display: block; width: 76px; height: 1px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(246, 247, 251, 0.6), rgba(246, 247, 251, 0.05));
}
.hero__cue-line::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22px; background: #f6f7fb;
  animation: hero-cue 2.8s var(--m-ease-io) infinite;
}
@keyframes hero-cue { 0% { transform: translateX(-24px); } 62%, 100% { transform: translateX(82px); } }
.hero__controls {
  position: absolute; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 24px);
  z-index: 3; display: flex; gap: 8px;
}
.hero__control {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid rgba(246, 247, 251, 0.28); background: rgba(10, 12, 34, 0.55); color: #e9ecff;
  backdrop-filter: blur(6px); cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 160ms var(--ease);
}
.hero__control:hover { background: rgba(30, 34, 90, 0.82); border-color: rgba(246, 247, 251, 0.55); }
.hero__control:active { transform: scale(0.94); }
.hero__control:focus-visible { outline: 2px solid #b9beff; outline-offset: 2px; }
@media (max-width: 1023px) { .hero__copy { max-width: 100%; } }
@media (max-width: 767px) {
  .hero.hero--cinema { min-height: 560px; }
  .hero__copy { gap: var(--s-4); }
  .hero__eyebrow { font-size: 10px; letter-spacing: 0.1em; max-width: 32ch; }
  .hero--cinema h1 { font-size: clamp(34px, 9vw, 44px); max-width: 14ch; }
  .hero--cinema .hero__lead { font-size: 16px; max-width: 40ch; }
  .hero--cinema .hero__poster { object-position: 68% 50%; }
  .hero__cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cue-line::after { animation: none; }
  .hero--cinema .hero__canvas { transition: none; }
}

/* ---------------------------------------------------------------- tiles: product photographs on white */
.tile__media--white { background: #fff; }
.tile__media--white > img { object-fit: contain; padding: 6% 8%; }
.range { --tile-ratio: 16 / 9; flex: 1 1 auto; align-content: start; }
.range .tile__head { flex-direction: column; align-items: start; gap: var(--s-1); }
@media (min-width: 1024px) { .range .tile__media { aspect-ratio: auto; height: clamp(150px, 22svh, 210px); } }

/* ---------------------------------------------------------------- services rows (numbered) */
.grid--split { align-items: stretch; }
.rows--steps > li { grid-template-columns: minmax(0, 1fr); padding-block: var(--s-5); }
.rows--steps .rows__name { display: inline-flex; align-items: baseline; gap: var(--s-3); font-size: var(--t-card); font-weight: 500; }
.rows--steps .rows__name:hover { color: var(--action); }
.rows--steps .step-num { font: 500 var(--t-small)/1 var(--font-mono); color: var(--muted); min-width: 1.5em; }


/* ---------------------------------------------------------------- makers: tiles with one instrument each */
.makers { --tile-ratio: 16 / 9; align-content: start; }
.makers .tile { gap: var(--s-2); }
.makers .tile__head h3 { font-size: var(--t-body); }
@media (min-width: 1024px) { .makers .tile__media { aspect-ratio: auto; height: clamp(84px, 11svh, 120px); } }
@media (min-width: 1024px) and (max-width: 1279px) { .makers > .tile { grid-column: auto / span 3; } }

/* ---------------------------------------------------------------- verify band and certificate */
.verify-form .field > span:first-child { color: var(--muted); }
.verify-form__row { display: flex; gap: var(--s-3); }
.verify-form__row input { flex: 1 1 auto; min-width: 0; font-family: var(--font-mono); letter-spacing: 0.02em; }
@media (max-width: 639px) { .verify-form__row { flex-direction: column; } }
.cert-stage { display: grid; align-content: start; justify-items: stretch; }
.cert { background: #fff; color: #14163a; border-radius: var(--r-lg); border: 1px solid #d9dbe8; padding: var(--s-6); display: grid; gap: var(--s-4); max-width: 560px; justify-self: end; width: 100%; }
.cert__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.cert__code { font-size: var(--t-body); font-weight: 500; }
.cert__status { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px; border-radius: 4px; font-size: var(--t-label); font-weight: 500; }
.cert__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cert__status--valid { background: #e3f4ea; color: #12643a; }
.cert__status--expired { background: #fdf0dc; color: #8a4b00; }
.cert__status--out-of-tolerance { background: #fde7e2; color: #9a2a12; }
.cert__status--revoked, .cert__status--no-certificate { background: #f6dede; color: var(--signal); }
.cert__client { font-size: var(--t-card); font-weight: 500; }
.cert__rows { display: grid; gap: 0; }
.cert__rows > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-3); border-bottom: 1px solid #e6e8f1; }
.cert__rows dt { color: #5f637f; font-size: var(--t-small); }
.cert__rows dd { font-size: var(--t-body); }
.cert__readings { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.cert__readings th, .cert__readings td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #e6e8f1; }
.cert__readings th { color: #5f637f; font-weight: 500; }
.cert__foot { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; color: #5f637f; font-size: var(--t-small); }
@media (max-width: 639px) { .cert { padding: var(--s-5); } .cert__rows > div { grid-template-columns: 100px minmax(0, 1fr); } }

/* ---------------------------------------------------------------- industries chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-7); list-style: none; padding: 0; }
.chips .pill { height: var(--btn-h); font-size: var(--t-body); padding: 0 var(--s-5); border-radius: var(--r-btn); }
.chips .pill:hover { border-color: var(--action); color: var(--action); }

/* ---------------------------------------------------------------- blog on the home page */
.post-lead .tile__media { aspect-ratio: auto; height: clamp(200px, 36svh, 360px); background: #fff; }
.post-lead .tile__media img { object-fit: contain; }
.post-rows > li { grid-template-columns: minmax(0, 1fr); }
.post-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.post-row img { width: 120px; height: 90px; object-fit: contain; background: #fff; border-radius: var(--r-md); }
.post-row > span { display: grid; gap: var(--s-1); }
.post-row__title { font-weight: 500; font-size: var(--t-body); line-height: 1.4; }
.post-row:hover .post-row__title { color: var(--action); }

/* ---------------------------------------------------------------- footer: offices strip and newsletter */
.close__offices { margin-top: var(--s-4); row-gap: var(--s-5); }
.office { display: grid; gap: var(--s-2); align-content: start; }
.office address { font-style: normal; font-size: var(--t-body); line-height: 1.5; }
.office__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
@media (max-width: 1023px) { .close__offices > .office { grid-column: 1 / -1; } }
.newsletter { display: grid; gap: var(--s-2); max-width: 400px; }
.newsletter .field > span:first-child { color: var(--muted); }
.newsletter__row { display: flex; gap: var(--s-2); }
.newsletter__row input { flex: 1 1 auto; min-width: 0; }
.form-note { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.field em { font-style: normal; color: var(--signal); font-size: var(--t-small); }
.ground-inverse .field em { color: var(--signal-on-dark); }
.field [aria-invalid="true"] { border-color: var(--signal); }

/* ---------------------------------------------------------------- inner pages: split hero */
.hero--page .hero-copy h1 { font-size: clamp(36px, 1.4vw + 28px, 52px); line-height: 1.06; }
.hero--page .t-lead { max-width: 52ch; }
.frame--white { background: #fff; }
.frame--white > .frame__img, .frame > .frame__img.is-cutout { object-fit: contain; padding: 6%; }
.hero-panel { display: grid; align-content: start; min-height: 0; }
.hero-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.hero-offices > div { display: grid; gap: var(--s-2); align-content: start; }
.hero-offices address { font-style: normal; }
.hero-verify { margin-top: var(--s-7); display: grid; gap: var(--s-3); max-width: 560px; }
.form-card { padding: var(--s-6); }
.form-done { display: grid; gap: var(--s-3); }
@media (max-width: 639px) { .hero-offices { grid-template-columns: minmax(0, 1fr); } .form-card { padding: var(--s-5); } }

/* ---------------------------------------------------------------- products: categories, catalogue, tiles */
.cat-list { flex: 1 1 auto; grid-auto-rows: 1fr; }
.cat-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--ink); align-items: start; }
.cat-card__media { width: 132px; aspect-ratio: 1; border-radius: var(--r-md); overflow: clip; background: var(--surface); display: block; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.cat-card__media.is-white { background: #fff; }
.cat-card__media.is-white img { object-fit: contain; padding: 8px; }
.cat-card:hover .cat-card__media img { transform: scale(1.03); }
.cat-card__text { display: grid; gap: var(--s-1); }
.cat-card__name { font-weight: 500; font-size: var(--t-card); }
.cat-card__meta { color: var(--muted); font-size: var(--t-small); }
.cat-card__lead { font-size: var(--t-body); line-height: 1.5; margin-top: var(--s-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1023px) { .cat-list > .cat-card { grid-column: auto / span 6; } }
@media (max-width: 639px) { .cat-list > .cat-card { grid-column: 1 / -1; grid-template-columns: 88px minmax(0, 1fr); } .cat-card__media { width: 88px; } .cat-card__lead { display: none; } }

.catalogue { display: grid; gap: var(--s-6); flex: 1 1 auto; align-content: start; }
.catalogue__bar { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: end; }
.catalogue__bar .field { min-width: 240px; }
.catalogue__count { margin-left: auto; color: var(--muted); font-size: var(--t-small); padding-bottom: 14px; }
.catalogue__grid, .range-grid, .blog-grid { --tile-ratio: 16 / 10; }
.product-tile .tile__head h3 { font-size: var(--t-body); line-height: 1.35; }
.product-tile { gap: var(--s-3); }
.tile__media--spec { display: grid; align-content: center; justify-items: start; gap: var(--s-2); padding: var(--s-5); background: var(--surface); }
.spec-model { font: 500 var(--t-h3)/1.1 var(--font-display); letter-spacing: var(--display-tracking); color: var(--accent); }
.spec-std { font: 400 var(--t-label)/1.5 var(--font-mono); color: var(--muted); }
.pager { display: flex; gap: var(--s-2); align-items: center; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 var(--s-4); border-radius: var(--r-btn); border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; }
.pager__btn[aria-current="page"] { background: var(--action); color: var(--action-ink); border-color: var(--action); }
.pager__btn:disabled { opacity: .45; cursor: default; }
.pager__pos { color: var(--muted); font-size: var(--t-small); }
@media (max-width: 1023px) { .catalogue__grid > .tile, .range-grid > .tile { grid-column: auto / span 6; } }
.feature-list { font-size: var(--t-body); line-height: 1.6; }
.other-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }

/* ---------------------------------------------------------------- services: peek list, plans */
.rows--peek > li { cursor: pointer; grid-template-columns: minmax(0, 1fr); }
.rows--peek > li .rows__name { font-size: var(--t-card); font-weight: 500; }
.rows--peek > li:is(:hover, :focus-visible, .is-peek) .rows__name { color: var(--action); }
.plans { grid-auto-rows: 1fr; align-content: start; }
.plan__response { font-weight: 500; }
.plan__list { display: grid; gap: var(--s-2); padding-left: 1.1em; margin: 0; }
.plan__list li { font-size: var(--t-body); }
.plan__btn { margin-top: auto; align-self: start; }
@media (max-width: 1023px) { .plans > .card { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- industries, clients, people */
.ind-grid { --tile-ratio: 16 / 10; }
.tile__links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tile__links .pill { height: 30px; }
.tile__links .pill:hover { border-color: var(--action); color: var(--action); }
@media (max-width: 1023px) { .ind-grid > .tile { grid-column: 1 / -1; } }
.clients { align-content: start; }
.client-col ul { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: var(--s-2); }
.client-col li { font-size: var(--t-body); }
.client-col:nth-child(4), .client-col:nth-child(5) { margin-top: var(--s-6); }
@media (max-width: 1023px) { .clients > .client-col { grid-column: auto / span 6; margin-top: 0; } }
@media (max-width: 639px) { .clients > .client-col { grid-column: 1 / -1; } }
.people { grid-auto-rows: min-content; align-content: start; }
.person-card h3 { font-size: var(--t-h3); }
@media (max-width: 1023px) { .people > .card { grid-column: auto / span 6; } }

/* ---------------------------------------------------------------- blog list and articles */
.post-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s-4); align-items: center; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--ink); }
.post-card img { width: 132px; height: 100px; object-fit: contain; background: #fff; border-radius: var(--r-md); }
.post-card > span { display: grid; gap: var(--s-1); }
.post-card:hover .post-row__title { color: var(--action); }
@media (max-width: 1023px) { .blog-grid > .post-card { grid-column: auto / span 6; } }
@media (max-width: 639px) { .blog-grid > .post-card { grid-column: 1 / -1; grid-template-columns: 96px minmax(0, 1fr); } .post-card img { width: 96px; height: 80px; } }
main > section.section--article { height: auto; min-height: 100svh; }
.prose > * + *, .prose > div > * + * { margin-top: var(--s-4); }
.prose p, .prose li { font-size: 17px; line-height: 1.7; }
.article h2, .article h3 { font: 500 var(--t-h3)/1.25 var(--font-display); letter-spacing: var(--display-tracking); margin-top: var(--s-7); }
.article h4 { font-size: var(--t-card); font-weight: 500; margin-top: var(--s-6); }
.article h1 { font-size: clamp(36px, 1.4vw + 28px, 52px); line-height: 1.06; }
.article ul, .article ol { padding-left: 1.2em; display: grid; gap: var(--s-2); }
.article img { max-width: 100%; height: auto; border-radius: var(--r-md); background: #fff; }
.article figure { margin: var(--s-6) 0; }
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.table-wrap :is(th, td) { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-weight: 500; color: var(--muted); }
.article__more { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); max-width: 62ch; }
.article__more ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); margin-top: var(--s-3); }

/* ---------------------------------------------------------------- register */
.hero--register .hero-text { display: grid; gap: var(--s-5); align-content: start; }
.hero--register h1 { font-size: clamp(32px, 1.2vw + 26px, 48px); }
.verdict { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.reg-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.reg-summary--facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reg-summary > div { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.reg-summary dt { color: var(--muted); font-size: var(--t-small); }
.reg-summary dd { font: 500 var(--t-h3)/1.2 var(--font-display); margin-top: var(--s-1); }
.reg-summary--facts dd { font: 400 var(--t-body)/1.4 var(--font-text); }
.reg-table td { font-size: var(--t-body); }
@media (max-width: 1023px) { .reg-summary, .reg-summary--facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
main > section.hero--register { height: auto; min-height: 100svh; }

/* blog list: vertical cards, three by two */
.blog-grid { grid-auto-rows: 1fr; }
.post-card { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; }
.post-card img { width: 100%; height: clamp(120px, 17svh, 180px); }
@media (max-width: 639px) { .blog-grid > .post-card { grid-template-columns: 96px minmax(0, 1fr); align-items: center; } .post-card img { height: 80px; } }
/* catalogue: two rows of four inside one screen */
.catalogue__grid { --tile-ratio: 2 / 1; }
.catalogue__grid .tile__media--spec { padding: var(--s-4); }
@media (min-width: 1024px) { .catalogue__grid .tile__media { aspect-ratio: auto; height: clamp(110px, 16svh, 160px); } .range-grid .tile__media { aspect-ratio: auto; height: clamp(120px, 18svh, 180px); } }
.person-card { gap: var(--s-1); }

/* secondary buttons on the dark ground: an outline in the ink, so they stand off the navy */
.ground-inverse .btn--secondary, html[data-buttons="pill"] .ground-inverse .btn--secondary { background: transparent; border-color: color-mix(in oklab, var(--ink) 55%, transparent); color: var(--ink); }
.ground-inverse .btn--secondary:hover { border-color: var(--ink); }
.post-rows .post-row { grid-template-columns: minmax(0, 1fr); }
.post-lead .tile__media { aspect-ratio: auto; height: clamp(200px, 34svh, 340px); background: #fff; }
.post-lead .tile__media img { object-fit: contain; }
.tile__media--white img { object-fit: contain; padding: 6% 8%; }
@media (max-width: 1023px) { .makers > .tile { grid-column: auto / span 4; } .makers .tile__media { aspect-ratio: 16 / 9; } }
@media (max-width: 639px) { .makers > .tile { grid-column: auto / span 6; } .makers .tile__facts { display: none; } }
@media (min-width: 640px) and (max-width: 1023px) { .ind-grid > .tile { grid-column: auto / span 6; } .ind-grid > .tile:nth-child(odd):last-child { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  .ind-grid { --tile-ratio: 2 / 1; }
  .ind-grid .tile__links { display: none; }
  .cat-card { grid-template-columns: 64px minmax(0, 1fr); padding: var(--s-3); gap: var(--s-3); }
  .cat-card__media { width: 64px; }
  .cat-list { row-gap: var(--s-3); }
  .plan__list li:nth-child(n+4) { display: none; }
}

/* ---------------------------------------------------------------- fitting sections to their screens */
.more-links { margin-top: var(--s-7); row-gap: var(--s-4); list-style: none; padding: 0; }
@media (max-width: 1023px) { .more-links > li { grid-column: auto / span 6; } }
@media (min-width: 1024px) { .range .tile__media { height: clamp(120px, 17svh, 170px); } }
@media (min-width: 640px) and (max-width: 1023px) {
  .range > .tile, .ind-grid > .tile, .grid > .tile.span-4 { grid-column: auto / span 4; }
  .range .tile__head .t-small, .ind-grid .tile__links { display: none; }
  .makers > .tile { grid-column: auto / span 3; }
  .makers .tile__facts { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .makers .tile__facts { display: none; }
  .makers .tile__media { height: 72px; }
  .cert { padding: var(--s-5); gap: var(--s-3); }
  .cert--compact .cert__rows > div:nth-child(n+5) { display: none; }
}
@media (max-width: 1023px) { .cert--compact .cert__rows > div:nth-child(n+5) { display: none; } }
@media (max-width: 639px) {
  .cat-list > .cat-card { grid-column: auto / span 6; grid-template-columns: minmax(0, 1fr); }
  .cat-card__media { width: 100%; aspect-ratio: 16 / 10; }
  .cat-card__meta { display: none; }
}
.tile__media--spec { min-width: 0; overflow: hidden; }
.spec-std, .spec-model { overflow-wrap: anywhere; max-width: 100%; }
@media (max-width: 639px) { .catalogue__grid > .tile, .range-grid > .tile { grid-column: auto / span 6; min-width: 0; } .catalogue__bar .field { min-width: 0; flex: 1 1 140px; } .catalogue__count { margin-left: 0; } }
.rows--spec > li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.rows--spec .rows__value { white-space: normal; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 639px) { .rows--spec > li { grid-template-columns: minmax(0, 1fr); } .rows--spec .rows__value { text-align: left; } }
.person-card a, .office a { overflow-wrap: anywhere; }

/* tablet: three or four across (the kit's two-up rule for tiles is more specific, so these match it) */
@media (min-width: 640px) and (max-width: 1023px) {
  .grid.range > a.tile.span-4, .grid.ind-grid > .tile.span-4, .grid > a.tile.span-4 { grid-column: auto / span 4; }
  .grid.makers > a.tile.maker { grid-column: auto / span 3; }
  .grid.makers > a.tile.maker .tile__media { aspect-ratio: 4 / 3; }
}
/* laptops (1024-1279 at 768 tall): the range and the services list fit one screen each */
@media (min-width: 1024px) and (max-width: 1279px) {
  .range .tile__media { height: 104px; }
  .range .tile__head .t-small { display: none; }
  .rows--steps > li { padding-block: var(--s-3); }
}
/* phones: makers three across, the range tiles shorter */
@media (max-width: 639px) {
  .grid.makers > a.tile.maker { grid-column: auto / span 4; }
  .grid.makers > a.tile.maker .tile__media { aspect-ratio: 1; }
  .makers .tile__head h3 { font-size: 14px; }
  .range .tile__media, .grid.range > a.tile .tile__media { aspect-ratio: 2 / 1; }
  .range .tile__head .t-small { display: none; }
}
