:root {
  color-scheme: light;
  --ink: #1b2b29;
  --muted: #4b5e59;
  --paper: #f3f3eb;
  --line: #c9d0c4;
  --pine: #173a32;
  --mist: #e4eee1;
  --lime: #e1efad;
  --display: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
  --body: Onest, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #518e7a; outline-offset: 4px; }
.masthead, footer {
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  padding: 1.2rem clamp(1.2rem, 5vw, 5.5rem); background: var(--paper);
}
.masthead nav, .filters { display: flex; gap: .55rem; flex-wrap: wrap; }
.masthead nav { gap: clamp(.85rem, 3vw, 2.8rem); font-size: .91rem; }
.masthead a { text-decoration: none; }
.masthead a:hover, .product-link:hover { text-decoration: underline; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font-weight: 750; }
.emblem {
  width: 1.35rem; height: 1.35rem; flex: none; display: inline-block;
  border: 2px solid currentColor; border-radius: 50%; position: relative;
}
.emblem::after {
  content: ""; width: .43rem; height: .11rem; background: currentColor;
  position: absolute; inset: .51rem auto auto .54rem; transform: rotate(-48deg); transform-origin: left center;
}
.hero { position: relative; display: grid; min-height: clamp(32rem, 53vw, 48rem); background: #101c1b; color: #f6f7ee; isolation: isolate; }
.equipment { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.equipment img, .equipment video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 76% center; }
.equipment video { position: absolute; inset: 0; }
.equipment figcaption {
  position: absolute; z-index: 1; bottom: 1rem; right: 1rem; font-size: .72rem;
  color: #fff; background: #13201e; padding: .3rem .6rem;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #10201fe8 1%, #101b1bc4 31%, #101b1b16 68%);
}
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 3rem clamp(1.2rem, 6vw, 6rem); width: min(100%, 55rem); pointer-events: none; }
.hero-copy a { pointer-events: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
h1 { font-size: clamp(2.7rem, 6.7vw, 6.8rem); line-height: .96; letter-spacing: -.062em; }
.hero-copy p { margin: 1.35rem 0 1.9rem; max-width: 29rem; font-size: clamp(1rem, 1.6vw, 1.3rem); color: #e0e9df; }
.cta {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 1.6rem;
  padding: .9rem 1.15rem; min-height: 3.2rem; background: var(--lime); color: var(--ink);
  font-weight: 720; text-decoration: none; border-radius: .18rem;
}
.cta:hover { background: #f0facb; }
.play {
  position: absolute; z-index: 2; right: 1rem; bottom: 3.7rem; display: flex; gap: .65rem;
  min-height: 2.75rem; align-items: center; padding: .4rem .8rem; color: #fff;
  background: #142523; border: 1px solid #becdc3;
}
.routes { background: var(--pine); color: var(--paper); }
.routes-inner, .catalog { max-width: 100rem; margin-inline: auto; padding: clamp(2.8rem, 6vw, 6rem) clamp(1.2rem, 5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 4.1rem); line-height: 1; letter-spacing: -.045em; }
.route-grid { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.route {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; min-height: 8.5rem;
  padding: 1.35rem; text-decoration: none; color: var(--paper); border-top: 1px solid #79978a; background: #20443b;
}
.route:hover { background: #2a5347; }
.route-text { display: grid; gap: .5rem; }
.route-text strong { font-size: clamp(1.2rem, 2.15vw, 1.73rem); }
.route-text span { color: #d3e2d7; max-width: 32ch; }
.route-arrow { color: var(--lime); font-size: 1.65rem; }
.catalog { scroll-margin-top: 1rem; }
.catalog-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: end; gap: 1rem; }
.filters button {
  border: 1px solid var(--line); padding: .5rem .85rem; min-height: 2.65rem; background: transparent; color: var(--ink);
}
.filters button[aria-pressed=true] { border-color: var(--pine); color: white; background: var(--pine); }
.count, .price-notice, .product-kind { color: var(--muted); font-size: .88rem; }
.price-notice { padding: .9rem 1rem; margin-top: 1.25rem; background: var(--mist); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.product {
  display: flex; flex-direction: column; min-height: 14rem; padding: 1.2rem;
  border: 1px solid var(--line); background: #ffffff70;
}
.product-kind { margin: 0 0 .45rem; }
.product h3 { font-size: 1.32rem; line-height: 1.16; }
.product dl { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin: 1rem 0; }
.product dl div { display: grid; gap: .2rem; }
.product dt { color: var(--muted); font-size: .75rem; }
.product dd { margin: 0; font-size: .94rem; font-weight: 650; }
.product-link { margin-top: auto; text-decoration: none; font-weight: 650; }
.offer { border-top: 1px solid var(--line); margin: 0 0 .7rem; padding: .6rem 0 0; }
.offer p { margin: .2rem 0; }
.offer small { color: var(--muted); }
footer { border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 950px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 740px) {
  .masthead { align-items: start; flex-direction: column; gap: .7rem; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero::after { display: none; }
  .hero-copy { order: -1; align-self: stretch; padding-block: 2.35rem 1.65rem; }
  .hero-copy p { margin-block: .85rem 1.2rem; }
  .equipment { position: relative; min-height: 0; aspect-ratio: 1.3; }
  .equipment img, .equipment video { position: absolute; inset: 0; object-position: 78% center; }
  .route-grid { grid-template-columns: 1fr; }
  .route { min-height: auto; }
}
@media (max-width: 490px) {
  .product-grid { grid-template-columns: 1fr; }
  .catalog { scroll-margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

.skip { position: absolute; z-index: 4; left: 1rem; top: .7rem; padding: .7rem; background: var(--lime); transform: translateY(-180%); }
.skip:focus { transform: none; }
.catalog-note { max-width: 62ch; line-height: 1.55; color: var(--muted); }
.catalog-search, #request label { display: grid; gap: .35rem; font-size: .9rem; }
.catalog-search { flex: 1 1 16rem; max-width: 22rem; }
.catalog-search input, #request input, #request textarea {
  width: 100%; padding: .62rem .7rem; color: var(--ink); background: white; border: 1px solid #87978c; border-radius: .2rem;
}
.product { padding: 0; min-height: 0; background: #fcfcf7; }
.product-photo { position: relative; margin: 0; background: #fff; border-bottom: 1px solid var(--line); }
.product-photo a { display: block; }
.product-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; padding: .8rem; }
.product-photo figcaption { margin: .15rem 1rem .7rem; color: var(--muted); font-size: .76rem; }
.product-photo-empty {
  display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 1rem; text-align: center;
  background: #e8eee6; color: var(--muted); font-size: .88rem;
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem; }
.product-model { margin: .45rem 0 0; font: .85rem/1.3 "JetBrains Mono", Consolas, monospace; color: var(--muted); }
.product-actions { margin-top: auto; }
.product details { margin: .45rem 0 .85rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.product summary { width: fit-content; cursor: pointer; font-weight: 650; }
.product details p, .second-photo { font-size: .88rem; line-height: 1.45; color: var(--muted); }
.product-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; }
.product-buy strong { font-size: .86rem; }
.request-button, .close {
  min-height: 2.75rem; padding: .5rem .72rem; color: #fff; background: var(--pine); border: 1px solid var(--pine);
}
.request-button:hover, .close:hover { background: #285447; }
#request {
  width: min(94vw, 37rem); max-height: 90dvh; overflow: auto; color: var(--ink);
  padding: clamp(1.05rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line);
}
#request::backdrop { background: #0c2621b3; }
.request-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.request-head h2 { font-size: clamp(1.45rem, 4vw, 2.35rem); }
.close { width: 2.75rem; font-size: 1.35rem; line-height: 1; }
#request-model { font-weight: 700; }
#request label { margin-top: .85rem; }
#request textarea { resize: vertical; font: inherit; }
.request-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.request-actions .cta { border: 1px solid #8a9c5b; }
.request-actions .cta:disabled { opacity: .6; cursor: default; }
.request-actions + p:empty { display: none; }
