:root {
  color-scheme: dark;
  --background: #0c1113;
  --surface: #131b1d;
  --raised: #192426;
  --line: #2e3d40;
  --text: #f2f6f3;
  --muted: #b1bfc0;
  --mint: #61f2d5;
  --mint-light: #a2f8e6;
  --heading: "Barlow Condensed", "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.65 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
button, select, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }

.shell { width: min(100% - 5.5rem, 1240px); margin-inline: auto; }
.skip { position: fixed; z-index: 20; inset: 1rem auto auto 1rem; translate: 0 -200%; background: var(--mint); color: #062321; padding: .5rem 1rem; }
.skip:focus { translate: 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted, .hint { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 5; background: #0c1214f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 4.65rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; justify-self: start; line-height: .85; width: max-content; }
.brand img { width: 2.6rem; height: 2.6rem; object-fit: contain; }
.brand span { color: var(--text); font: 800 1.58rem/.82 var(--heading); letter-spacing: .025em; }
.brand small { display: block; margin-top: .3rem; font: 700 .67rem/1 var(--body); letter-spacing: .18em; }
.site-header nav { display: flex; gap: clamp(1rem, 3.4vw, 3.05rem); }
.site-header nav a { padding: .65rem 0; font-size: .89rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current], .footer-links a:hover, .back-link:hover { color: var(--mint); }
.header-action { justify-self: end; }
.button { min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; color: var(--text); background: transparent; border: 1px solid #4a6062; border-radius: .28rem; padding: .63rem 1.14rem; font-weight: 700; font-size: .86rem; line-height: 1.35; text-align: center; transition: background .16s, color .16s, border-color .16s; }
.button:hover { background: #1d3333; border-color: var(--mint); }
.button:disabled { color: #819294; border-color: var(--line); background: transparent; cursor: default; }
.primary { background: var(--mint); color: #072321; border-color: var(--mint); }
.primary:hover { background: var(--mint-light); color: #071f1e; }
.button-small { min-height: 2.35rem; padding: .44rem .86rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }

.hero { position: relative; overflow: hidden; isolation: isolate; background: #101c1e; border-bottom: 1px solid var(--line); }
.hero-image, .catalog-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-image { object-position: center 61%; }
.hero::after, .catalog-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero::after { background: linear-gradient(90deg, #0c1418 0%, #0b1418eb 19%, #0a14169c 46%, #0a121716 75%), linear-gradient(0deg, #0c111399, transparent 35%); }
.hero-inner { min-height: clamp(28rem, 43vw, 36rem); display: flex; justify-content: center; align-items: flex-start; flex-direction: column; padding-block: 3rem; }
.kicker { display: flex; align-items: center; gap: .55rem; color: var(--mint); font-weight: 700; font-size: .78rem; letter-spacing: .15em; line-height: 1.3; }
.kicker span { background: currentColor; width: 1.3rem; height: 1px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; line-height: .96; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(4.7rem, 9.6vw, 8.4rem); font-weight: 800; margin: .9rem 0 1.15rem; text-transform: uppercase; line-height: .82; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-lead { color: #d3e0df; max-width: 25rem; font-size: clamp(1rem, 1.8vw, 1.19rem); line-height: 1.55; }
.hero .actions { margin-top: 1.65rem; }
.hero-secondary { background: #0d181bb5; }

.featured { padding-block: 3.8rem 4.6rem; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-top h2 { margin-top: .37rem; }
h2 { font-size: clamp(2.6rem, 5.3vw, 4.1rem); font-weight: 800; }
.carousel-controls { display: flex; gap: .45rem; }
.showcase { display: flex; gap: 1rem; overflow: auto hidden; scrollbar-width: none; scroll-snap-type: x mandatory; padding: .18rem .12rem .4rem; }
.showcase::-webkit-scrollbar { display: none; }
.showcase .product { flex: 0 0 calc((100% - 2rem) / 3.23); scroll-snap-align: start; }
.carousel-track { margin-top: .9rem; height: 2px; background: var(--line); }
.carousel-track span { background: var(--mint); height: 2px; width: var(--thumb-width, 33%); display: block; transform: translateX(var(--thumb-offset, 0%)); }
.product { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); background: var(--surface); border-radius: .4rem; overflow: hidden; transition: border-color .16s; }
.product:hover { border-color: #5c8583; }
.product-media { display: block; position: relative; background: #172122; aspect-ratio: 16 / 9; border: 0; padding: 0; width: 100%; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .3s ease; }
.product-media:hover img { scale: 1.05; }
.product-media:focus-visible { outline-offset: -4px; }
.play-label { position: absolute; bottom: .75rem; left: .75rem; background: #0c1517e8; border: 1px solid #6d8b8b; border-radius: .24rem; color: #f1fcf6; font-size: .78rem; line-height: 1.3; padding: .3rem .55rem; }
.product-body { padding: 1rem; display: flex; flex: 1; flex-direction: column; gap: .65rem; }
.product-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.product-status { color: var(--mint); font-size: .79rem; font-weight: 600; }
.product-price { font-size: .91rem; font-weight: 700; white-space: nowrap; }
.product h3 { font-size: clamp(1.58rem, 2.9vw, 2.05rem); }
.product-meta { color: var(--muted); font-size: .87rem; line-height: 1.45; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-top: .2rem; margin-top: auto; }
.product-actions .button { text-align: left; }

.category-section { border-top: 1px solid var(--line); }
.category-section:nth-of-type(even) { background: #101719; }
.category-row { display: grid; align-items: center; grid-template-columns: 1.17fr .83fr; gap: clamp(1.8rem, 7vw, 7.5rem); padding-block: 3.65rem; }
.category-row.reverse { grid-template-columns: .83fr 1.17fr; }
.category-row.reverse .category-media { order: 2; }
.category-media { position: relative; border: 1px solid var(--line); border-radius: .36rem; overflow: hidden; background: #141e20; }
.category-media img { width: 100%; object-fit: cover; aspect-ratio: 16/9; }
.category-media figcaption { position: absolute; inset: auto .65rem .65rem auto; padding: .25rem .55rem; border: 1px solid #4f6e6b; background: #0b1416eb; border-radius: .22rem; color: var(--muted); font-size: .8rem; }
.category-copy h2 { margin: .4rem 0 .8rem; }
.category-copy > p:not(.kicker) { max-width: 30rem; color: var(--muted); margin-bottom: 1.3rem; }
.request-section { padding-block: 4.3rem 4.8rem; }
.request-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(1.6rem, 5vw, 4rem); background: linear-gradient(110deg, #122728, #121b1d 68%); border: 1px solid #365454; border-radius: .4rem; }
.request-copy h2 { margin: .4rem 0 .8rem; }
.request-copy > p:last-child { color: var(--muted); max-width: 25rem; }
.request-form { display: grid; gap: .45rem; }
.request-form label { font-size: .9rem; font-weight: 600; }
.request-form textarea { min-height: 5.5rem; resize: vertical; }
.request-form .hint { font-size: .84rem; margin-bottom: .35rem; }
.form-status { min-height: 1.35rem; color: var(--mint); font-size: .85rem; }
input, textarea, select { width: 100%; border: 1px solid #485b5b; border-radius: .24rem; padding: .58rem .68rem; color: var(--text); background: #0d1517; }
textarea::placeholder, input::placeholder { color: #a0b0b1; }
select { appearance: none; padding-right: 2.3rem; background: linear-gradient(45deg, transparent 50%, #b9cecb 50%) calc(100% - 1.12rem) center / .38rem .38rem no-repeat, linear-gradient(135deg, #b9cecb 50%, transparent 50%) calc(100% - .74rem) center / .38rem .38rem no-repeat, #0d1517; }

.catalog-hero { position: relative; isolation: isolate; overflow: hidden; background: #0f1b20; border-bottom: 1px solid var(--line); }
.catalog-hero > img { width: 75%; inset-inline-start: auto; object-position: center 54%; }
.catalog-hero::after { background: linear-gradient(90deg, #0d171b 12%, #0d171bf2 30%, #0b141785 65%, #0b131724); }
.catalog-hero-inner { min-height: 20rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 2rem; gap: .65rem; }
.catalog-hero h1 { font-size: clamp(5rem, 10vw, 8.3rem); text-transform: uppercase; font-weight: 800; line-height: .82; }
.catalog-hero p:last-child { color: #d5e1e0; max-width: 29rem; margin-top: .3rem; }
.back-link { color: #d5e1e0; font-size: .9rem; margin-bottom: .4rem; }
.catalogue { padding-block: 3.25rem 4.4rem; }
.catalogue h2 { margin: 0 0 .5rem; }
.catalogue-tools { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button[aria-pressed="true"] { border-color: var(--mint); color: var(--mint); background: #172a2a; }
.search { width: min(20rem, 100%); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.empty { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--line); border-radius: .4rem; padding: 2rem; }
.empty h3 { font-size: 2rem; }
.empty p { color: var(--muted); margin: .7rem 0 1rem; }
.delivery { margin-top: 2rem; padding: 1.15rem 1.25rem; border-inline-start: 2px solid var(--mint); background: var(--surface); }
.delivery h3 { font-size: 1.75rem; }
.delivery p { margin-top: .45rem; color: var(--muted); }

.product-dialog { padding: 0; color: var(--text); background: var(--surface); border: 1px solid #5d7979; border-radius: .5rem; width: min(48rem, 100% - 2rem); max-height: calc(100% - 2rem); }
.product-dialog::backdrop { background: #030708d9; backdrop-filter: blur(5px); }
.dialog-media { width: 100%; display: block; aspect-ratio: 16/9; background: #0a1214; object-fit: contain; }
.dialog-copy { padding: clamp(1.2rem, 4vw, 2rem); }
.dialog-copy h2 { margin: .3rem 0 .7rem; }
.dialog-copy > p + p { margin-top: .75rem; }
.dialog-copy .actions { margin-top: 1rem; }
.dialog-price { color: var(--mint); font-weight: 700; }
.included-heading { font-size: 1.45rem; margin: 1rem 0 .3rem; }
.included-items { list-style: none; padding: 0; margin: 0 0 1.1rem; border-top: 1px solid var(--line); }
.included-link { width: 100%; padding: .58rem .15rem; text-align: left; display: flex; justify-content: space-between; gap: .65rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; }
.included-link:hover { color: var(--mint); }
.included-link .muted { font-size: .89rem; white-space: nowrap; }
.installation-note { color: var(--muted); font-size: .9rem; border-left: 2px solid var(--mint); padding-left: .7rem; }
.icon-close { position: absolute; right: .65rem; top: .65rem; z-index: 1; border-radius: 100%; border: 1px solid #6f9090; background: #081516f2; width: 2.6rem; height: 2.6rem; font-size: 1.6rem; line-height: 1; }
.icon-close:hover { border-color: var(--mint); color: var(--mint); }

.site-footer { border-top: 1px solid var(--line); background: #0b1213; padding-block: 2rem 1.2rem; }
.footer-main, .footer-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: .9rem; font-weight: 600; }
.footer-foot { border-top: 1px solid var(--line); margin-top: 1.45rem; padding-top: .8rem; color: var(--muted); font-size: .81rem; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 3rem); }
  .showcase .product { flex-basis: calc((100% - 1rem) / 2.22); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-row, .category-row.reverse { gap: 1.75rem; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 7.1rem; }
  .shell { width: calc(100% - 2rem); }
  .header-inner { padding-block: .57rem .27rem; grid-template-columns: 1fr auto; gap: .2rem; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: .55rem; }
  .site-header nav a { font-size: .83rem; padding-block: .56rem; }
  .brand img { width: 2.25rem; height: 2.25rem; }
  .brand span { font-size: 1.38rem; }
  .brand small { font-size: .58rem; }
  .hero-inner { min-height: 27.5rem; }
  .hero-image { object-position: 66% 57%; }
  .hero::after { background: linear-gradient(90deg, #0b1418f2 1%, #0b1418b5 57%, #0b14185c), linear-gradient(0deg, #0c1113a0, transparent 40%); }
  .hero h1 { font-size: clamp(3.85rem, 16vw, 5.3rem); }
  .hero .actions { margin-top: 1.25rem; }
  .featured { padding-block: 2.8rem 3.4rem; }
  .showcase { gap: .75rem; }
  .showcase .product { flex-basis: 83%; }
  .category-row, .category-row.reverse, .request-panel { grid-template-columns: 1fr; }
  .category-row { padding-block: 2.6rem; }
  .category-row.reverse .category-media { order: 0; }
  .request-section { padding-block: 2.6rem 3rem; }
  .request-panel { gap: 1.5rem; }
  .catalog-hero-inner { min-height: 17.5rem; }
  .catalog-hero > img { width: 100%; }
  .catalog-hero::after { background: linear-gradient(90deg, #0d171bf2 0%, #0d171bce 40%, #0b13175e); }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: .7rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::after, *::before { transition-duration: 0s !important; }
}
