:root {
    --type-display: clamp(2.4rem, 4.8vw, 4.4rem);
    --type-heading: clamp(1.8rem, 3.2vw, 2.8rem);
    --type-subheading: clamp(1.2rem, 1.9vw, 1.6rem);
    --type-body: clamp(1.0625rem, 1vw, 1.125rem);
    --type-label: 0.8125rem;
}

.type-display,
.type-heading,
.type-subheading {
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    text-wrap: balance;
}

.type-display {
    font-size: var(--type-display);
    line-height: 1.02;
    letter-spacing: 0;
}

.type-heading {
    font-size: var(--type-heading);
    line-height: 1.1;
    letter-spacing: 0;
}

.type-subheading {
    font-size: var(--type-subheading);
    line-height: 1.2;
    letter-spacing: 0;
}

.type-body {
    font-size: var(--type-body);
    line-height: 1.55;
}

.type-label,
.type-action {
    font-size: var(--type-label);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.catalog-category-title {
    font-size: clamp(1.75rem, 8.5vw, 4.4rem);
    overflow-wrap: anywhere;
    hyphens: auto;
}

.home-card-heading-gap {
    margin-bottom: 2.75rem;
}

.editorial-content {
    width: 100%;
}

.about-content-layout {
    display: grid;
    gap: 2rem;
}

.about-content-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    background: #fff;
}

.about-content-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 48rem;
    object-fit: contain;
    object-position: center top;
}

@media (min-width: 1024px) {
    .editorial-content {
        width: min(66.666vw, 72rem);
    }

    .about-content-layout {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        align-items: start;
        gap: clamp(2rem, 4vw, 5rem);
    }
}

.contact-map-section {
    width: 100%;
}

.contact-map {
    width: 100%;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: clamp(24rem, 52vw, 40rem);
    border: 0;
}

.home-scroll-next {
    position: absolute;
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    left: 50%;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    color: #fff;
    transform: translateX(-50%);
}

.home-scroll-next-icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.home-scroll-next-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-scroll-next:hover .home-scroll-next-icon {
    border-color: #E05A2A;
    background: #E05A2A;
}

@media (min-width: 768px) {
    .home-scroll-next {
        bottom: 2rem;
    }
}

.inner-hero {
    min-height: 36vh;
}

.inner-hero-content {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.inner-hero-content--back {
    padding-top: 7.5rem;
}

@media (min-width: 768px) {
    .inner-hero {
        min-height: 44vh;
    }

    .inner-hero-content,
    .inner-hero-content--back {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .inner-hero-content--back {
        transform: translateY(30px);
    }
}

.button-label {
    display: inline-block;
    transform: translateY(1px);
}

.back-link-label {
    position: relative;
    top: 1px;
}

.glass-card {
    background: rgba(10, 10, 10, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(10, 10, 10, 0.14);
    box-shadow: 0 18px 48px rgba(10, 10, 10, 0.08);
}

.media-card-content {
    padding: 2rem;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.78) 0%,
        rgba(10, 10, 10, 0.48) 28%,
        rgba(10, 10, 10, 0) 68%
    );
}

.engineering-card-image {
    object-position: right center;
}

.plaque-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .plaque-body {
        padding: 1.75rem;
    }
}

.product-card-specs {
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.product-card-spec {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.product-card-spec dt {
    color: rgba(10, 10, 10, 0.55);
}

.product-card-spec dd {
    overflow-wrap: anywhere;
    font-weight: 500;
}

@media (min-width: 640px) {
    .product-card-spec {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
        column-gap: 1rem;
    }

    .product-card-spec dd {
        text-align: right;
    }
}

.markdown-content > * + * {
    margin-top: 1.25rem;
}

.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    text-wrap: balance;
}

.markdown-content h2 {
    font-size: var(--type-heading);
    line-height: 1.1;
}

.markdown-content h3 {
    font-size: var(--type-subheading);
    line-height: 1.2;
}

.markdown-content h4,
.markdown-content strong {
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
}

.benefit-row {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: baseline;
    column-gap: 0.5rem;
}

.nav-top-gradient {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 40;
    height: 11rem;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, transparent 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 180ms ease;
}

#site-nav > * {
    position: relative;
    z-index: 1;
}

.nav-scrolled {
    background: rgba(210, 227, 227, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-scrolled::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../media/ice.jpg') center / cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.nav-top-gradient.is-hidden {
    opacity: 0;
}

.phone-link {
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
    white-space: nowrap;
}

.mobile-menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid currentColor;
    color: currentColor;
}

.mobile-menu-toggle span {
    width: 1.1rem;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
}

.mobile-menu-toggle.is-open span:first-child {
    transform: translateY(0.22rem) rotate(45deg);
}

.mobile-menu-toggle.is-open span:last-child {
    transform: translateY(-0.22rem) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: flex-start;
    padding: 6.75rem 1rem 2rem;
    background: rgba(10, 10, 10, 0.98);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-menu-links a {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: var(--type-label);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle,
    .mobile-menu {
        display: none;
    }
}

.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 60;
    display: none;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(10, 10, 10, 0.18);
    background: rgba(237, 239, 242, 0.92);
    color: #0A0A0A;
    box-shadow: 0 12px 32px rgba(10, 10, 10, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem);
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.back-to-top svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #E05A2A;
    color: #fff;
}

@media (min-width: 1024px) {
    .back-to-top {
        display: flex;
    }
}

.form-row {
    border-color: rgba(10, 10, 10, 0.28);
    transition: border-color 180ms ease, opacity 180ms ease;
}

.bg-ink .form-row {
    border-color: rgba(255, 255, 255, 0.28);
}

.form-row:focus-within {
    border-color: #E05A2A;
}

.form-row input,
.form-row textarea {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    color: currentColor;
    box-shadow: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: currentColor;
    opacity: 0.2;
}

.product-gallery .swiper {
    padding-bottom: 2rem;
}

.product-gallery .swiper-pagination {
    bottom: 0;
}

.product-gallery .swiper-pagination-bullet {
    width: 0.55rem;
    height: 0.55rem;
    background: rgba(10, 10, 10, 0.35);
    opacity: 1;
}

.product-gallery .swiper-pagination-bullet-active {
    background: #0A0A0A;
}

.gslide-description,
.gdesc-inner {
    display: none;
}
