@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Bricolage+Grotesque:wght@500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --background: #091423;
  --panel: #101f32;
  --raised: #14263b;
  --line: #2a3e55;
  --text: #f3f7fd;
  --muted: #b3c4d8;
  --accent: #67eadd;
  --accent-text: #092723;
  --font: "Instrument Sans", system-ui, sans-serif;
  --display: "Bricolage Grotesque", var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.55 var(--font); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
p { color: var(--muted); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; }
h1 { font-size: clamp(2.6rem, 6vw, 5.35rem); letter-spacing: -.075em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.65rem); letter-spacing: -.05em; }
h3 { font-size: 1.28rem; letter-spacing: -.03em; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1170px, calc(100% - 64px)); margin-inline: auto; }
.skip, .trap { position: absolute; left: -9999px; }
.skip:focus { z-index: 10; left: 1rem; top: 1rem; padding: .8rem; background: var(--panel); }
.topline { background: #070f1c; border-bottom: 1px solid #1b2a3b; color: var(--muted); font-size: .81rem; }
.contact-bar { display: flex; gap: 1.3rem; align-items: center; min-height: 35px; }
.contact-bar a { margin-left: auto; color: var(--accent); font-weight: 700; white-space: nowrap; }
.site-header { background: #0b1727; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 77px; display: flex; align-items: center; gap: 2rem; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand img { width: auto; max-width: 165px; max-height: 52px; object-fit: contain; }
.brand-mark { display: flex; align-items: end; justify-content: center; gap: 3px; width: 35px; height: 35px; border-radius: 8px; background: var(--accent); padding: 7px 6px; }
.brand-mark i { width: 5px; background: #0b2930; transform: skew(-12deg); height: 45%; }
.brand-mark i:nth-child(2) { height: 70%; }
.brand-mark i:nth-child(3) { height: 95%; }
.wordmark { color: var(--text); font-family: var(--display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.wordmark span { display: block; font-size: .65rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-top: .23rem; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 1.7vw, 1.45rem); }
nav a { color: var(--muted); font-weight: 700; white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--accent); }
.menu-toggle, #primary-nav .mobile-contact { display: none; }
.button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: .65rem; padding: .74rem 1.05rem; min-height: 44px; background: var(--accent); border: 1px solid var(--accent); color: var(--accent-text); border-radius: .6rem; font-weight: 800; line-height: 1.24; }
.button:hover { background: #a1f8ed; border-color: #a1f8ed; }
.button.secondary { color: var(--text); background: transparent; border-color: #516880; }
.button.secondary:hover { background: var(--raised); border-color: var(--muted); }
.hero { background: radial-gradient(ellipse at 63% 75%, #172c43, #0b1627 68%); }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.6rem, 6.5vw, 6rem); }
.hero-copy:only-child { grid-column: span 2; max-width: 720px; }
.eyebrow { display: inline-flex; gap: .55rem; align-items: center; color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem; }
.eyebrow span, .status-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }
.hero h1 { max-width: 10ch; }
.hero p { margin-top: 1.15rem; font-size: clamp(1rem, 2vw, 1.18rem); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.hero-image { position: relative; min-width: 0; border: 1px solid #344b64; border-radius: 1.15rem; overflow: hidden; box-shadow: 0 24px 70px #0006; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 1.32; object-fit: cover; }
.hero-caption { position: absolute; bottom: 1rem; left: 1rem; padding: .55rem .8rem; border-radius: .45rem; background: #071423ee; color: var(--text); font-size: .82rem; display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #4d6178; }
.summary-strip { background: #0e1c2d; border-block: 1px solid var(--line); }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.summary-grid div { padding: 1rem 1.25rem; border-left: 1px solid var(--line); }
.summary-grid div:last-child { border-right: 1px solid var(--line); }
.summary-grid span { display: block; color: var(--muted); font-size: .88rem; }
.section { padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.shade { background: #0c192b; border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.4rem; }
.section-heading p, .page-head p { margin-top: .6rem; }
.text-link { color: var(--accent); font-weight: 800; }
.text-link:hover, .site-footer a:hover, .check a:hover { text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.segments-cards, .product-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: .9rem; padding: clamp(1rem, 2.4vw, 1.65rem); }
.content-card { display: flex; flex-direction: column; align-items: start; gap: .65rem; overflow-wrap: anywhere; }
.content-card .text-link { margin-top: auto; }
.card-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .45rem; }
.category { color: var(--accent); font-weight: 700; }
.price { font-weight: 800; margin-top: .25rem; }
.tile-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: #173749; border-radius: .6rem; color: var(--accent); }
.icon { position: relative; display: block; width: 20px; height: 16px; border: 2px solid currentColor; border-radius: 3px; }
.icon::after { content: ""; position: absolute; height: 2px; width: 10px; background: currentColor; bottom: -5px; left: calc(50% - 5px); border-radius: 2px; }
.icon.chip, .icon.disk { width: 16px; height: 20px; }
.icon.chip::after, .icon.disk::after { bottom: 3px; }
.icon.network, .icon.tools, .icon.backup { width: 18px; height: 18px; transform: rotate(-12deg); }
.callout { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 2rem; align-items: center; border: 1px solid #355369; border-radius: 1rem; padding: clamp(1rem, 4vw, 2.5rem); background: linear-gradient(125deg, #132c3d, #102034); }
.callout p { margin-top: .6rem; }
.newsletter { display: grid; gap: .65rem; }
.page-head { background: linear-gradient(135deg, #122a40, #0a1424 75%); border-bottom: 1px solid var(--line); padding-block: 2.5rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 4rem); overflow-wrap: anywhere; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.15rem; }
.filters a { padding: .36rem .75rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--muted); }
.filters a:hover, .filters .active { color: var(--accent); border-color: var(--accent); }
.article { color: var(--muted); max-width: 76ch; font-size: 1.13rem; overflow-wrap: anywhere; }
.article-photo { width: 100%; max-height: 480px; object-fit: cover; border-radius: .8rem; margin-bottom: 1.2rem; }
.empty { border: 1px dashed var(--line); padding: 1rem; border-radius: .6rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem; align-items: start; }
.contact-info p { margin-top: .85rem; }
.site-footer { background: #070f1b; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .7fr; gap: 1.5rem; padding-block: 1.8rem; }
.footer-grid p { margin-top: .55rem; font-size: .93rem; }
.footer-base { color: var(--muted); font-size: .8rem; padding-block: .8rem; border-top: 1px solid var(--line); }
label { display: grid; gap: .35rem; font-size: .9rem; color: var(--text); font-weight: 700; min-width: 0; }
input:not([type="checkbox"]), textarea { width: 100%; border: 1px solid #455d76; border-radius: .5rem; background: #0a1727; color: var(--text); padding: .65rem .75rem; }
textarea { resize: vertical; }
.check { display: flex; align-items: start; gap: .55rem; color: var(--muted); font-weight: 500; }
.check input { margin: .27rem 0 0; accent-color: var(--accent); }
.check a { color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.admin-banners { margin-block: 1rem 2rem; }
.admin-banners > p { margin-block: .35rem 1rem; }
.admin-banner-preview { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: .45rem; }
.admin-banners label { width: 100%; min-width: 0; }
.wide { grid-column: 1 / -1; }
.notice { background: #183b40; border: 1px solid #387674; padding: .7rem .85rem; border-radius: .5rem; color: var(--text); }
.notice.error { background: #4c2833; border-color: #9f5d68; }
.admin-body { min-height: 100vh; background: #0a1423; }
.setup { width: min(600px, calc(100% - 32px)); margin: 5vh auto; }
.setup h1, .admin-main h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-block: .85rem 1.1rem; }
.setup .notice { margin-bottom: 1rem; }
.admin-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.admin-header .shell { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding-block: .8rem; }
.admin-header .wordmark { margin-right: auto; }
.admin-main { padding-block: 1.5rem 3rem; }
.admin-nav { flex-wrap: wrap; margin-bottom: 1.4rem; }
.admin-main > .notice { margin-bottom: 1rem; }
.admin-main > .card, .manage-layout { margin-top: 1rem; }
.manage-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1rem; }
.entries { display: grid; gap: .7rem; }
.entry { padding: .85rem; border: 1px solid var(--line); border-radius: .6rem; overflow-wrap: anywhere; }
.entry p { margin-top: .25rem; }
.entry .actions { margin-top: .5rem; align-items: center; }
.entry .button { font-size: .85rem; padding-block: .47rem; min-height: 36px; }
.thumbnail { width: 100px; max-height: 85px; object-fit: contain; border: 1px solid var(--line); border-radius: .3rem; }
@media (max-width: 920px) {
  .segments-cards, .product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { flex-wrap: wrap; gap: .8rem; padding-block: .72rem; }
  .header-inner nav { order: 3; width: 100%; justify-content: center; padding-top: .6rem; border-top: 1px solid var(--line); }
}
@media (max-width: 660px) {
  .shell { width: calc(100% - 32px); }
  .contact-bar { gap: .45rem; font-size: .73rem; }
  .contact-bar span:nth-child(2) { display: none; }
  .header-inner { min-height: 65px; }
  .top-action { display: none; }
  .hero-layout, .callout, .contact-layout, .manage-layout { grid-template-columns: 1fr; }
  .hero-copy:only-child { grid-column: auto; }
  .hero h1 { max-width: 13ch; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-grid div { border: 0; border-bottom: 1px solid var(--line); padding: .55rem 0; }
  .summary-grid div:last-child { border: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .cards, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .form-grid { grid-template-columns: 1fr; } }


:root { color-scheme: light; --background:#ffffff; --panel:#ffffff; --raised:#f4f4f4; --line:#dedede; --text:#202020; --muted:#5d5d5d; --accent:#ed9300; --accent-text:#171717; }
.topline { background:#f4f4f4; border-color:#e4e4e4; color:#555; }
.contact-bar a {color:#8b5300;}
.site-header {background:white; border-bottom:3px solid #ed9300;}
.header-inner {min-height:100px;}
.brand img {width:220px;max-width:220px;max-height:68px;}
nav a {color:#333;}
nav a:hover,nav a[aria-current] {color:#9b5700;}
.button {background:#ed9300;border-color:#ed9300;color:#181818;}
.button:hover {background:#ffae27;border-color:#ffae27;}
.button.secondary {color:#222;border-color:#aaa;}
.button.secondary:hover {background:#f4f4f4;border-color:#777;}
.hero {background:linear-gradient(120deg,#fff 45%,#fff3df);}
.hero h1 {color:#151515;}
.hero-image {border-color:#e9cb9c;box-shadow:0 24px 65px #4e2d001c;}
.hero-caption {background:#fffef7ed;color:#222;border-color:#e5d1b2;}
.eyebrow,.text-link,.category {color:#975300;}
.summary-strip {background:#171717;border-color:#333;color:#fff;}
.summary-grid span {color:#d1d1d1;}
.summary-grid div,.summary-grid div:last-child {border-color:#444;}
.shade {background:#f7f7f7;}
.card {box-shadow:0 8px 28px #00000005;}
.tile-icon {background:#fff0d7;color:#a45a00;}
.callout {background:#fff5e5;border-color:#efd3a5;}
.page-head {background:linear-gradient(120deg,#fff1db,#fff);border-color:#ead4b6;}
.filters a:hover,.filters .active {color:#8b4b00;border-color:#d78400;background:#fff4e2;}
.site-footer {background:#f2f2f2;border-top:3px solid #ed9300;}
.footer-base {border-color:#d7d7d7;}
input:not([type="checkbox"]),textarea {background:#fff;color:#222;border-color:#b5b5b5;}
.check a {color:#975300;}
.notice {background:#fff3dc;border-color:#e3ba73;color:#382500;}
.notice.error {background:#fff0f0;border-color:#c77;color:#772020;}
.admin-body {background:#f4f4f4;}
.admin-header {background:#fff;}
.wordmark {color:#222;}
@media (max-width: 660px) {
  .brand img { max-width: 155px; max-height: 55px; }
  .header-inner { position: relative; min-height: 72px; }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .6rem .85rem;
    border: 1px solid var(--line);
    border-radius: .65rem;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
  }
  .menu-toggle[aria-expanded="true"] { background: #fff3df; border-color: #ed9300; }
  .menu-icon { position: relative; width: 18px; height: 14px; border-block: 2px solid; }
  .menu-icon::before, .menu-icon::after {
    content: "";
    position: absolute;
    inset: 4px 0 auto;
    height: 2px;
    background: currentColor;
  }
  .menu-toggle[aria-expanded="true"] .menu-icon { border-color: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
  #primary-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .15rem;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: #fff;
  }
  #primary-nav.collapsible {
    position: absolute;
    z-index: 5;
    top: calc(100% + 7px);
    inset-inline: 0;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    box-shadow: 0 12px 32px #0b17272b;
  }
  #primary-nav.collapsible:not(.open) { display: none; }
  #primary-nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: .55rem .8rem;
    border-radius: .5rem;
  }
  #primary-nav > a:not(.mobile-contact)::after {
    content: "";
    width: .45rem;
    height: .45rem;
    border-block-start: 1.5px solid;
    border-inline-end: 1.5px solid;
    transform: rotate(45deg);
  }
  #primary-nav > a[aria-current="page"], #primary-nav > a:not(.mobile-contact):hover { background: #fff3df; }
  #primary-nav .mobile-contact { display: flex; width: 100%; margin-top: .35rem; color: var(--accent-text); }
  .menu-toggle:focus-visible, #primary-nav a:focus-visible {
    outline: 2px solid #9b5700;
    outline-offset: -2px;
  }
}

.home-banner {
  position: relative;
  background: #0e1720;
}
.home-banner-slides {
  aspect-ratio: 3 / 1;
}
.home-banner-slides img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.home-banner-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: clamp(32px, 4vw, 48px);
  aspect-ratio: 1;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #0b1420db;
  color: #fff;
  cursor: pointer;
}
.home-banner-arrow:hover { background: #172a3d; }
.home-banner-arrow.previous { left: clamp(4px, 1vw, 16px); }
.home-banner-arrow.next { right: clamp(4px, 1vw, 16px); }
.home-banner-arrow span {
  width: .65em;
  height: .65em;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: translateX(-2px) rotate(45deg);
}
.home-banner-arrow.previous span { transform: translateX(2px) rotate(-135deg); }
.home-banner [hidden] { display: none; }
.home-banner-arrow:focus-visible,
.home-brands:focus-visible { outline: 3px solid #f6a34e; outline-offset: 2px; }

.home-brands {
  overflow-x: auto;
  border-radius: 12px;
}
.home-brands-track { display: flex; width: max-content; }
.home-brands-list {
  display: flex;
  flex: none;
  gap: 12px;
  margin: 0;
  padding: 0 12px 0 0;
  list-style: none;
}
.home-brands-list li {
  display: grid;
  width: clamp(94px, 17vw, 174px);
  height: clamp(60px, 8vw, 90px);
  padding: 10px;
  place-items: center;
  border-radius: 10px;
  background: #fff;
}
.home-brands-list img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.home-brands.has-loop { overflow: hidden; }
.home-brands.has-loop .home-brands-track { animation: pontual-brands 24s linear infinite; }
.home-brands:hover .home-brands-track,
.home-brands:focus-within .home-brands-track { animation-play-state: paused; }
@keyframes pontual-brands { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .home-brands.has-loop { overflow-x: auto; }
  .home-brands.has-loop .home-brands-track { animation: none; }
  .home-brands-list[aria-hidden] { display: none; }
}
