/* OVERCLOQ REFINED NEUTRAL RED V5 */

:root {
  --paper: #F8F8F8;
  --brand-cream: #F8F8F8;
  --ink: #272727;
  --red: #C84649;
  --accent: #777777;
  --rule: #D7D7D7;
  --body-text: #575757;
}

body {
  background: #F8F8F8;
  color: var(--ink);
}

/* With a fixed small-viewport page size, mobile browser chrome can retract
   to expose extra space BELOW the snapped page. Cover only that extra space;
   never resize the page or shift the native snap target while scrolling. */
@media (max-width: 900px) and (orientation: portrait) {
  body::after {
    content: "";
    position: fixed;
    inset: auto 0 0;
    height: max(0px, calc(100dvh - var(--oc-snap-viewport-h, 100svh)));
    background: #F8F8F8;
    pointer-events: none;
    z-index: 40; /* fixed footer sits above at 1000 */
  }
}

/* Flat, quiet landing background */
.landing-screen,
.landing-screen > .hero.hero--lineup,
.hero.hero--lineup,
.hero--lineup .hero-art,
.hero--lineup .hero-home-view {
  background: #F8F8F8;
  background-image: none;
}

/* The desktop SVG has separate wordmark and subtitle colors */
.hero--lineup .hero-overlay-wordmark {
  filter: none !important;
}

.hero-mobile-logo {
  filter: brightness(0);
  opacity: .84;
}

.hero-mobile-subtitle {
  color: #C84649;
}

.hero--lineup .hero-device-name,
.hero--lineup .hero-selector-heading {
  filter: grayscale(1) brightness(.52);
}

/* Product pages */
.page {
  --page-bg: #F8F8F8;
  background: #F8F8F8;
  border-top-color: #E4E4E4;
}

.slide + .slide {
  border-left-color: #DEDEDE;
}

/* Shared product cards */
:is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem) {
  --card-surface: #ECECEC;
}

:is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem) .slide-surface {
  background: #ECECEC;
  border-color: #DADADA;
  box-shadow:
    0 6px 18px rgb(22 28 27 / 6%),
    0 1px 3px rgb(22 28 27 / 3%);
}

:is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem) .spec-stage {
  --spec-card-bg: #ECECEC;
}

#pf2500 .slide--specs .spec-callout {
  border-color: #AAAAAA;
}

/* Product subtitles use the same muted red */
:is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem)
.hero-stage__tagline {
  color: #C84649;
}

.product-showcase__eyebrow {
  color: #AD343B;
}

/* Main navigation */
.product-index--combined {
  background: #E7E7E7;
}

.product-index--combined .index-link {
  color: #272727;
}

.product-index--combined .index-link--primary {
  background: #CECECE;
}

.product-index--combined :is(.index-link--brand, .index-link--b2b) {
  background: #D8D8D8;
}

.product-index--combined .index-link--contact {
  background: #E7E7E7;
}

.product-index--combined .index-arrow {
  color: #C84649;
}

.product-index--combined .index-link:hover,
.product-index--combined .index-link:focus-visible {
  filter: none;
  color: #272727;
  box-shadow: inset 0 -2px 0 #C84649;
}

.product-index--combined .index-brand-crop {
  opacity: .70;
}

.product-index--combined .index-brand-crop img {
  filter: brightness(0);
}

/* Product tabs */
.page-tabs {
  --tabs-surface: #E3E3E3;
}

.slide-link {
  border-color: #C7C7C7;
}

.slide-link:hover {
  background: #D9D9D9;
  border-color: #999999;
}

.slide-link[aria-current] {
  background: #2D2D2D;
  border-color: #2D2D2D;
  color: #F8F8F8;
  box-shadow: inset 0 -3px 0 #C84649;
}

.slide-link[aria-current] span {
  color: #F8F8F8;
}

/* Supporting elements */
.product-showcase__features li,
.product-showcase__price-or,
.product-showcase__price-choice span,
.oem-table caption,
.oem-table td,
.contact-right p,
.site-footer {
  color: #575757;
}

.oem-table th,
.oem-table td {
  border-color: #D7DAD6;
}

.media-placeholder {
  border-color: #CCCCCC;
  background: #F0F0F0;
}

.media-placeholder strong {
  color: #5B5B5B;
}

.contact-email {
  border-color: #B3B3B3;
}

.site-footer {
  background: #F8F8F8;
  border-top-color: #E1E1E1;
}


/* OVERCLOQ_SUBTITLE_UNDERLINE_NAV_V1 */

/* Neutral text for product subtitles and category labels */
:is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem)
.hero-stage__tagline {
    color: #575757 !important;
}

.product-showcase__eyebrow {
    color: #666666 !important;
}

/* Mobile homepage subtitle */
.hero-mobile-subtitle {
    color: #575757 !important;
}

/* Red underline beneath the mobile homepage subtitle */
.hero-mobile-subtitle::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: clamp(75px, 26%, 135px);
    height: 3px;
    margin: 9px auto 0;
    border-radius: 2px;
    background: #C84649;
}

/* Preserve actual SVG colors on the desktop homepage */
.hero--lineup .hero-overlay-wordmark {
    filter: none !important;
}

/* Smaller, lightly colored navigation wordmark */
.product-index--combined .index-link--primary .index-brand-crop {
    flex: 0 1 152px;
    width: 152px;
    max-width: 152px;
    opacity: .62;
}

.product-index--combined .index-link--primary .index-brand {
    filter: brightness(0) invert(1) !important;
}

@media (max-width: 1000px) {
    .product-index--combined .index-link--primary .index-brand-crop {
        flex-basis: 124px;
        width: 124px;
        max-width: 124px;
    }
}

@media (max-width: 690px) {
    .product-index--combined .index-link--primary .index-brand-crop {
        flex: 0 1 clamp(42px, 16vw, 105px);
        width: clamp(42px, 16vw, 105px);
        max-width: clamp(42px, 16vw, 105px);
    }
}
/* Full-width homepage underline, neutral subtitle */
.hero-mobile-subtitle {
    color: #272727 !important;
    width: max-content;
    max-width: 100%;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-mobile-subtitle::after {
    width: 100%;
    height: 0.5px;
    margin-top: 7px;
}
/* OVERCLOQ_NAV_FONT_V1 */

@font-face {
    font-family: "Overcloq Navigation";
    src: url("./assets/fonts/OvercloqSans-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* View Products, B2B, Contact Us */
.product-index--combined .index-link,
.product-index--combined .index-link span,
.product-index--combined .index-link strong {
    font-family: "Overcloq Navigation", sans-serif;
}
/* OVERCLOQ_NAV_BOLD_V1 */

/* Larger, bolder Overcloq navigation lettering */
.product-index--combined .index-link,
.product-index--combined .index-link span:not(.index-arrow),
.product-index--combined .index-link strong {
    font-family: "Overcloq Navigation", sans-serif;
    font-size: clamp(24px, 1.9vw, 29px);
    font-weight: 700;
    letter-spacing: -0.015em;
    font-synthesis: weight;
}

/* Tablet */
@media (max-width: 900px) {
    .product-index--combined .index-link,
    .product-index--combined .index-link span:not(.index-arrow),
    .product-index--combined .index-link strong {
        font-size: clamp(19px, 2.5vw, 23px);
    }
}

/* Mobile: keep all three labels inside their buttons */
@media (max-width: 600px) {
    .product-index--combined .index-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-index--combined .index-link,
    .product-index--combined .index-link span:not(.index-arrow),
    .product-index--combined .index-link strong {
        font-size: clamp(13px, 4vw, 17px);
    }
}
/* OVERCLOQ_SELECT_DEVICE_BLACK_V1 */
.hero--lineup .hero-selector-heading {
    filter: brightness(0) !important;
}
/* OVERCLOQ_ALL_BLACK_LETTERING_V1 */

/* Shared typography */
:root {
    --ink: #000000;
    --body-text: #000000;
}

body,
.hero-mobile-subtitle,
.hero-stage__heading,
.hero-stage__tagline,
.slide-title,
.page-heading,
.pf300r-multi__title,
.product-showcase__eyebrow,
.slide-text,
.slide-note,
.product-showcase__features li,
.product-showcase__price-choice,
.product-showcase__price-choice strong,
.product-showcase__price-choice span,
.product-showcase__price-or,
.media-placeholder,
.media-placeholder strong,
.oem-table,
.oem-table caption,
.oem-table th,
.oem-table td,
.contact-right p,
.contact-email,
.site-footer,
.spec-head,
.spec-callout {
    color: #000000 !important;
}

/* Device-selection lettering is stored in SVG images */
.hero--lineup .hero-selector-heading,
.hero--lineup .hero-device-name {
    filter: brightness(0) !important;
}

/* Mobile homepage logo and subtitle */
.hero-mobile-logo {
    filter: brightness(0) !important;
    opacity: 1;
}

.hero-mobile-subtitle {
    color: #000000 !important;
}

/* Preserve the SVG's red underline */
.hero--lineup .hero-overlay-wordmark {
    filter: none !important;
}

/* Main navigation button lettering */
.product-index--combined .index-link,
.product-index--combined .index-name {
    color: #000000 !important;
}

/* Keep ONLY the navbar Overcloq logo light */
.product-index--combined .index-brand,
.product-index--combined .index-brand-crop img {
    filter: brightness(0) invert(1) !important;
}

/* Product tabs: black text, including selected tabs */
.page-tabs .slide-link,
.page-tabs .slide-link span {
    color: #000000 !important;
}

.page-tabs .slide-link[aria-current] {
    background: #DADADA !important;
    border-color: #999999 !important;
    color: #000000 !important;
}

/* Keep the existing red active-tab underline */

/* Supporting copy and labels */
.page .product-showcase__eyebrow,
.page .product-showcase__features,
.page .product-showcase__price,
.page .slide-copy,
.page .pricing-copy,
.page .spec-callout,
.page .pf300r-multi__title {
    color: #000000 !important;
}

/* Footer wordmark and branding */
.footer-brand img {
    filter: brightness(0);
}

/* OVERCLOQ_EQUAL_NAV_BUTTONS_V1 */
@media (max-width: 600px) {
    .product-index--combined .index-link,
    .product-index--combined .index-link span:not(.index-arrow),
    .product-index--combined .index-link strong {
        font-size: clamp(12px, 3.35vw, 16px);
    }
}
/* OVERCLOQ FOUR BUTTON NAVIGATION */

/* Compact Home button + three equally sized navigation sections */
.product-index--combined .index-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Standalone Overcloq home button */
.product-index--combined .index-link--brand {
    justify-content: center;
    padding: 0 clamp(5px, .7vw, 10px) !important;
}

/* Size the button around the actual logo */
.product-index--combined .index-link--brand .index-brand-crop {
    flex: 0 0 auto;
    width: clamp(112px, 9.5vw, 148px);
    max-width: none;
    opacity: .65;
}

/* Keep the navbar logo light */
.product-index--combined .index-link--brand .index-brand {
    filter: brightness(0) invert(1) !important;
}

/* Products is now a text-only button */
.product-index--combined .index-link--primary {
    justify-content: flex-end;
}

/* Responsive logo and navigation */
@media (max-width: 1000px) {
    .product-index--combined .index-link--brand .index-brand-crop {
        width: clamp(72px, 9vw, 105px);
    }
}

@media (max-width: 690px) {
    .product-index--combined .index-link--brand {
        padding: 0 4px !important;
    }

    .product-index--combined .index-link--brand .index-brand-crop {
        width: clamp(40px, 12vw, 66px);
    }

    .product-index--combined .index-link:not(.index-link--brand) {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .product-index--combined .index-link:not(.index-link--brand) .index-name {
        font-size: clamp(11px, 3.1vw, 15px);
    }

    .product-index--combined .index-link .index-nav-label .index-arrow {
        font-size: clamp(9px, 2.2vw, 12px);
    }
}

@media (max-width: 360px) {
    .product-index--combined .index-link:not(.index-link--brand) .index-name {
        font-size: 11px;
    }

    .product-index--combined .index-link .index-nav-label .index-arrow {
        display: none;
    }
}

/* OVERCLOQ_NAV_CONTRAST_V2 */

/* Use the site's light background between buttons */
.product-index--combined,
.product-index--combined .index-links {
    background: #F8F8F8;
}

.product-index--combined .index-links {
    column-gap: 0;
}

/* Products: darkest */
.product-index--combined .index-links > .index-link--primary {
    background: #999999 !important;
}

/* Logo and B2B: matching medium gray */
.product-index--combined .index-links > .index-link--brand,
.product-index--combined .index-links > .index-link--b2b {
    background: #BFBFBF !important;
}

/* Contact: lightest */
.product-index--combined .index-links > .index-link--contact {
    background: #E8E8E8 !important;
}

/* Center each button's text and arrow as one group */
.product-index--combined .index-links > .index-link {
    justify-content: center;
    text-align: center;
}

.product-index--combined .index-links .index-nav-label {
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
}

.product-index--combined .index-links .index-name {
    text-align: center;
}

/* Keep the Overcloq logo light */
.product-index--combined .index-link--brand .index-brand {
    filter: brightness(0) invert(1) !important;
}

/* Slightly narrower gaps on mobile */
@media (max-width: 600px) {
    .product-index--combined .index-links {
        column-gap: 0;
    }
}


/* OVERCLOQ THIN SITE FOOTER V1 */

:root {
    --oc-footer-h: calc(
        clamp(28px, 3.5svh, 32px) +
        env(safe-area-inset-bottom, 0px)
    );
}

/* The footer consumes real space in every inner page.
   Landing dimensions remain unchanged. */
.page {
    padding-bottom: var(--oc-footer-h);
}

/* On large screens the slide tabs are absolutely positioned.
   Raise them by the footer height. */
/* Product slides: reserve a real band for their navigation.
   Card ends at the top of the band; tabs center within it. */
:is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem) {
    --oc-slide-tab-band: max(var(--card-gutter), 58px);
}

/* Remove the bottom card gutter: the tab band replaces it. */
:is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem)
.page-track > .slide {
    padding-bottom: 0;
}

/* Buttons live in normal page layout, above the footer. */
:is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem)
> .page-tabs {
    position: relative;
    inset: auto;
    bottom: auto;
    width: 100%;

    flex: 0 0 var(--oc-slide-tab-band);
    min-height: var(--oc-slide-tab-band);

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;

    margin: 0;
    padding: 0 var(--card-gutter);
    transform: none;

    z-index: 3;
    pointer-events: auto;
}

/* More room for multi-row tabs on mobile. */
@media (max-width: 690px) {
    :is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem) {
        --oc-slide-tab-band: max(78px, 13svh);
    }
}

/* A wrapped row of slide buttons needs its natural height. */
@media (max-width: 690px) {
    :is(#pf2500, #pf300r, #beam-break, #frame-shift, #oem)
    > .page-tabs {
        flex: 0 0 auto;
        padding-block: 7px;
    }
}

/* Keep the short-screen media calculations accurate. */
@media (max-height: 500px) {
    .page {
        --media-h: max(
            180px,
            calc(
                var(--page-h) - 1px -
                var(--slide-pad-y) -
                var(--tabs-h) -
                var(--oc-footer-h)
            )
        );
    }
}

/* Fixed, opaque strip BELOW product cards and slide controls. */
.oc-sitebar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1000;

    box-sizing: border-box;
    width: 100%;
    height: var(--oc-footer-h);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        0
        clamp(12px, 2vw, 24px)
        env(safe-area-inset-bottom, 0px);

    background: #E8E8E8;
    border-top: 1px solid rgb(0 0 0 / 6%);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 140ms ease,
        visibility 140ms ease;
}

.oc-sitebar.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Real, full-height clickable Home link. */
.oc-sitebar__home {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;

    height: 100%;
    cursor: pointer;
    pointer-events: auto;
}

.oc-sitebar__logo {
    display: block;
    width: clamp(96px, 9vw, 115px);
    height: auto;
    filter: brightness(0);
    opacity: .85;
}

.oc-sitebar__home:hover .oc-sitebar__logo {
    opacity: 1;
}

.oc-sitebar__home:focus-visible {
    outline: 2px solid #C84649;
    outline-offset: -2px;
}

.oc-sitebar__copyright {
    display: block;
    font-family: var(--font-brand, Arial, sans-serif);
    font-size: 10px;
    line-height: 1;
    color: #555555;
    white-space: nowrap;
}

@media (max-width: 690px) {
    .oc-sitebar__logo {
        width: 92px;
    }

    .oc-sitebar__copyright {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oc-sitebar {
        transition: none;
    }
}
/* Visible paper grain experiment */
.landing-screen,
.landing-screen > .hero.hero--lineup,
.hero.hero--lineup,
.hero--lineup .hero-art,
.hero--lineup .hero-home-view,
.page {
  background-color: #F8F8F8;
  background-image: linear-gradient(rgba(248,248,248,0.90), rgba(248,248,248,0.90)), url("assets/overcloq-paper-grain-visible.png");
  background-repeat: repeat;
  background-size: 256px 256px;
}
/* PF2500 spec sheet — red callouts */
#pf2500 .slide--specs .spec-lines line {
    stroke: #C84649;
}

#pf2500 .slide--specs .spec-callout {
    border-color: #C84649;
}


/* PF2500 specs: use visual callouts on mobile instead of numbered list */
@media (max-width: 560px), (orientation: portrait) {
  #pf2500 .slide--specs .spec-stage {
    display: block;
    container-type: size;
    min-height: clamp(420px, 66svh, 760px);
    padding-top: 10px;
    overflow: hidden;
  }

  #pf2500 .slide--specs .spec-head,
  #pf2500 .slide--specs .spec-callout {
    position: absolute;
  }

  #pf2500 .slide--specs .spec-head {
    padding-left: 0;
    z-index: 2;
  }

  #pf2500 .slide--specs .spec-head .slide-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  #pf2500 .slide--specs .spec-callouts {
    display: block;
    margin: 0;
    padding: 0;
  }

  #pf2500 .slide--specs .spec-callout {
    z-index: 2;
    max-width: min(42vw, 170px);
    padding: 6px 7px;
    white-space: normal;
    font-size: clamp(10px, 2.7vw, 13px);
    line-height: 1.22;
    transform: translate(calc(var(--ax) * -100%), calc(var(--ay) * -100%));
    background: color-mix(in srgb, var(--card-surface) 88%, white);
  }

  /* Hide the mobile numbered-list styling */
  #pf2500 .slide--specs .spec-callout::before {
    content: none;
    display: none;
  }

  #pf2500 .slide--specs .spec-figure {
    display: contents;
    overflow: visible;
  }

  #pf2500 .slide--specs .spec-lines {
    display: block;
  }

  #pf2500 .slide--specs .spec-marker {
    display: none;
  }

  /* Tweak anchor edges a little for mobile readability */
  #pf2500 .slide--specs .spec-callout:nth-child(1) { --ax: 0;   --ay: .5; }
  #pf2500 .slide--specs .spec-callout:nth-child(2) { --ax: 0;   --ay: 1;  }
  #pf2500 .slide--specs .spec-callout:nth-child(3) { --ax: .52; --ay: 1;  }
  #pf2500 .slide--specs .spec-callout:nth-child(4) { --ax: .55; --ay: 0;  }
}

@media (max-width: 430px) and (orientation: portrait) {
  #pf2500 .slide--specs .spec-stage {
    min-height: clamp(400px, 64svh, 700px);
  }

  #pf2500 .slide--specs .spec-callout {
    max-width: 40vw;
    font-size: clamp(10px, 2.9vw, 12px);
    padding: 5px 6px;
  }
}

