:root {
    color-scheme: light;
    --page: #f4f6f3;
    --surface: #ffffff;
    --surface-muted: #e9eeea;
    --ink: #15211d;
    --ink-soft: #55635d;
    --line: #cfd8d2;
    --accent: #146b5d;
    --accent-strong: #0c5347;
    --accent-soft: #d9ebe5;
    --header: rgba(244, 246, 243, 0.94);
    --shadow: 0 18px 48px rgba(29, 48, 40, 0.1);
    --radius: 6px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 58%, white);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 9px 14px;
    background: var(--ink);
    color: var(--surface);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 70px;
    border-bottom: 1px solid var(--line);
    background: var(--header);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    line-height: 1.25;
}

.brand-name {
    font-size: 17px;
    font-weight: 750;
}

.brand-note {
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
}

.site-nav a {
    position: relative;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    background: var(--accent);
}

.nav-toggle {
    display: none;
    min-width: 44px;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(1px);
}

.button-primary {
    background: var(--accent);
    color: #ffffff;
}

.button-primary:hover {
    background: var(--accent-strong);
}

.button-secondary {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
}

.text-link {
    color: var(--accent-strong);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--accent) 36%, transparent);
    text-underline-offset: 4px;
}

.home-hero,
.product-hero,
.catalog-hero {
    padding: 64px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
    align-items: center;
    gap: clamp(44px, 7vw, 96px);
}

.hero-kicker {
    margin: 0 0 18px;
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 750;
}

.hero-title {
    max-width: 720px;
    margin: 0;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 760;
    line-height: 1.08;
}

.hero-lead {
    max-width: 620px;
    margin: 22px 0 28px;
    color: var(--ink-soft);
    font-size: clamp(17px, 1.8vw, 20px);
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: -1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-muted);
}

.hero-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    object-fit: contain;
    box-shadow: var(--shadow);
}

.section {
    padding: 82px 0;
}

.section-tight {
    padding: 58px 0;
}

.section-muted {
    border-block: 1px solid var(--line);
    background: var(--surface-muted);
}

.section-header {
    max-width: 720px;
    margin-bottom: 38px;
}

.section-header h2,
.section-title {
    margin: 0;
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.18;
}

.section-header p {
    max-width: 630px;
    margin: 14px 0 0;
    color: var(--ink-soft);
}

.featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 18px;
}

.featured-main,
.featured-side {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.featured-main {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 520px;
    overflow: hidden;
}

.featured-main img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8.2;
    object-fit: contain;
    background: var(--surface-muted);
}

.featured-copy {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
}

.featured-copy h3,
.featured-side h3 {
    margin: 0;
    font-size: 23px;
}

.featured-copy p,
.featured-side p {
    margin: 8px 0 0;
    color: var(--ink-soft);
}

.featured-stack {
    display: grid;
    gap: 18px;
}

.featured-side {
    display: grid;
    align-content: start;
    overflow: hidden;
}

.featured-side img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8.7;
    object-fit: contain;
    background: var(--surface-muted);
}

.featured-side .featured-copy {
    display: block;
    padding: 22px;
}

.service-list {
    border-top: 1px solid var(--line);
}

.service-row {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 28px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}

.service-row h3 {
    margin: 0;
    font-size: 19px;
}

.service-row p {
    margin: 0;
    color: var(--ink-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: 72px;
    align-items: start;
}

.about-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 3vw, 42px);
}

.about-copy p {
    color: var(--ink-soft);
}

.contact-panel {
    padding: 28px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
}

.contact-panel h3 {
    margin: 0 0 15px;
}

.contact-panel p {
    margin: 7px 0;
    color: var(--ink-soft);
}

.catalog-hero {
    padding-bottom: 36px;
}

.catalog-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    align-items: end;
    gap: 64px;
}

.catalog-heading h1 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
}

.catalog-heading p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.catalog-tools {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.catalog-search {
    width: min(100%, 540px);
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
}

.catalog-count {
    color: var(--ink-soft);
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 278px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.product-card[hidden] {
    display: none;
}

.product-media {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 22px;
    background: var(--surface-muted);
}

.product-media img {
    width: 106px;
    height: 106px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(30, 49, 41, 0.12);
}

.product-card-content {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.product-card h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

.product-meta {
    margin: 6px 0 0;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 750;
}

.product-description {
    margin: 14px 0 20px;
    color: var(--ink-soft);
    font-size: 14px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: auto;
}

.product-actions a {
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
    text-underline-offset: 4px;
}

.empty-state {
    margin-top: 18px;
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-soft);
}

.product-hero .hero-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
}

.product-mark {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.product-mark img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
}

.product-mark strong {
    display: block;
    font-size: 18px;
}

.product-mark span {
    display: block;
    color: var(--ink-soft);
    font-size: 13px;
}

.product-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 34px 0 0;
    border: 1px solid var(--line);
    background: var(--line);
}

.product-fact {
    padding: 17px;
    background: var(--surface);
}

.product-fact strong,
.product-fact span {
    display: block;
}

.product-fact span {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 12px;
}

.feature-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 46px;
    border-top: 1px solid var(--line);
}

.feature-item {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.feature-item h3 {
    margin: 0;
    font-size: 18px;
}

.feature-item p {
    margin: 8px 0 0;
    color: var(--ink-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.gallery-item {
    grid-column: span 6;
    margin: 0;
}

.gallery-item:first-child {
    grid-column: span 8;
}

.gallery-item:nth-child(2) {
    grid-column: span 4;
}

.gallery-button {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: zoom-in;
}

.gallery-button img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: var(--surface-muted);
    transition: transform 180ms ease;
}

.gallery-button:hover img {
    transform: scale(1.01);
}

.gallery-item figcaption {
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 13px;
}

.privacy-note {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 52px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.privacy-note h2 {
    margin: 0;
    font-size: 28px;
}

.privacy-note p {
    margin: 0;
    color: var(--ink-soft);
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 28px;
}

.footer-grid p {
    margin: 5px 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 13px;
    font-weight: 700;
}

.image-dialog {
    width: min(94vw, 1240px);
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.image-dialog::backdrop {
    background: rgba(10, 18, 15, 0.78);
}

.dialog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
}

.dialog-bar strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dialog-close {
    min-width: 44px;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.dialog-image {
    width: 100%;
    max-height: calc(92vh - 64px);
    object-fit: contain;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --page: #111814;
        --surface: #18221d;
        --surface-muted: #202d27;
        --ink: #edf3ef;
        --ink-soft: #adbbb4;
        --line: #34433b;
        --accent: #4eaa93;
        --accent-strong: #78c5b1;
        --accent-soft: #203f36;
        --header: rgba(17, 24, 20, 0.94);
        --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    }

    .button-primary {
        color: #07110d;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .product-hero .hero-grid,
    .catalog-heading,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid,
    .product-hero .hero-grid {
        gap: 44px;
    }

    .featured-layout {
        grid-template-columns: 1fr;
    }

    .featured-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-heading {
        gap: 18px;
    }

    .product-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-header,
    .header-inner {
        min-height: 64px;
    }

    .brand-note {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        align-content: start;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 26px 22px;
        background: var(--page);
    }

    .site-nav[data-open="true"] {
        display: flex;
    }

    .site-nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font-size: 17px;
    }

    .site-nav a[aria-current="page"]::after {
        display: none;
    }

    .home-hero,
    .product-hero,
    .catalog-hero {
        padding: 42px 0;
    }

    .hero-title,
    .catalog-heading h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .hero-visual::before {
        inset: 10px -8px -10px 8px;
    }

    .section {
        padding: 62px 0;
    }

    .section-tight {
        padding: 48px 0;
    }

    .featured-stack,
    .feature-columns,
    .product-grid,
    .product-facts,
    .footer-grid,
    .privacy-note,
    .service-row {
        grid-template-columns: 1fr;
    }

    .featured-main {
        min-height: 0;
    }

    .featured-copy {
        display: block;
        padding: 22px;
    }

    .featured-copy .text-link {
        display: inline-block;
        margin-top: 16px;
    }

    .catalog-tools {
        grid-template-columns: 1fr;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-media {
        min-height: 154px;
    }

    .gallery-item,
    .gallery-item:first-child,
    .gallery-item:nth-child(2) {
        grid-column: 1 / -1;
    }

    .privacy-note {
        gap: 16px;
        padding: 24px;
    }

    .footer-grid {
        align-items: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Homepage: image-led company presentation with a quieter product rhythm. */
.home-page {
    --home-page: #f7f8f6;
    --home-surface: #ffffff;
    --home-tint: #eef2ef;
    --home-line: #dce3de;
    --home-shadow: 0 24px 70px rgba(26, 42, 35, 0.12);
    background: var(--home-page);
}

.home-page .site-header {
    min-height: 68px;
    border-color: var(--home-line);
    background: color-mix(in srgb, var(--home-page) 92%, transparent);
}

.home-page .header-inner {
    min-height: 68px;
}

.home-page .site-nav a {
    font-weight: 620;
}

.home-page .home-hero {
    position: relative;
    min-height: 540px;
    height: min(72dvh, 700px);
    padding: 0;
    overflow: hidden;
    background: #18201d;
}

.home-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.86) contrast(1.03);
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 18, 15, 0.9) 0%, rgba(10, 18, 15, 0.66) 38%, rgba(10, 18, 15, 0.12) 76%);
}

.home-hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding-block: 64px;
    color: #f4f7f5;
}

.home-hero-content h1 {
    max-width: 560px;
    margin: 0;
    font-size: clamp(54px, 7vw, 88px);
    font-weight: 720;
    line-height: 1;
}

.home-hero-content p {
    max-width: 520px;
    margin: 24px 0 32px;
    color: rgba(244, 247, 245, 0.82);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
}

.home-page .home-hero-button {
    min-height: 48px;
    padding-inline: 22px;
    border-color: rgba(255, 255, 255, 0.4);
    background: #f4f7f5;
    color: #15211d;
}

.home-page .home-hero-button:hover {
    background: #ffffff;
}

.home-products {
    background: var(--home-page);
}

.home-page .section {
    padding-block: 104px;
}

.home-page .section-header {
    max-width: 620px;
    margin-bottom: 48px;
}

.home-page .section-header h2,
.home-page .about-copy h2 {
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.08;
}

.home-page .section-header p {
    max-width: 600px;
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.75;
}

.home-page .featured-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(440px, 0.85fr);
    gap: 28px;
}

.home-page .featured-main,
.home-page .featured-side {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.home-page .featured-main {
    display: block;
    min-height: 0;
}

.home-page .featured-main img,
.home-page .featured-side img {
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: var(--home-tint);
    box-shadow: var(--home-shadow);
}

.home-page .featured-main img {
    aspect-ratio: 16 / 10;
}

.home-page .featured-side img {
    aspect-ratio: 16 / 9;
}

.home-page .featured-copy,
.home-page .featured-side .featured-copy {
    padding: 24px 2px 0;
}

.home-page .featured-main .featured-copy {
    align-items: flex-start;
}

.home-page .featured-copy h3 {
    font-size: 27px;
    font-weight: 690;
}

.home-page .featured-side h3 {
    font-size: 18px;
}

.home-page .featured-copy p,
.home-page .featured-side p {
    max-width: 620px;
    margin-top: 7px;
}

.home-page .featured-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
}

.home-page .featured-side .featured-copy {
    padding-top: 16px;
}

.home-page .featured-side p {
    min-height: 46px;
    font-size: 14px;
    line-height: 1.6;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin-top: 76px;
    padding-top: 44px;
    border-top: 1px solid var(--home-line);
}

.home-product-item {
    min-width: 0;
}

.home-product-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: var(--home-tint);
    box-shadow: 0 14px 38px rgba(26, 44, 36, 0.07);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-product-image:hover {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--home-line));
    box-shadow: var(--home-shadow);
    transform: translateY(-2px);
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-product-copy {
    padding-top: 18px;
}

.home-product-copy h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 680;
    line-height: 1.35;
}

.home-product-copy p {
    min-height: 48px;
    margin: 8px 0 16px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.home-page .text-link {
    font-size: 14px;
    text-decoration-thickness: 1px;
}

.home-services {
    border-block: 1px solid var(--home-line);
    background: var(--home-surface);
}

.home-services .container {
    display: grid;
    grid-template-columns: minmax(270px, 0.65fr) minmax(0, 1.35fr);
    gap: clamp(64px, 9vw, 132px);
}

.home-services .section-header {
    margin: 0;
}

.home-page .service-list {
    border-top-color: var(--home-line);
}

.home-page .service-row {
    grid-template-columns: minmax(170px, 0.6fr) minmax(0, 1.4fr);
    gap: 36px;
    padding: 32px 0;
    border-bottom-color: var(--home-line);
}

.home-page .service-row h3 {
    font-size: 20px;
    font-weight: 670;
}

.home-page .service-row p {
    line-height: 1.75;
}

.home-about {
    background: var(--home-tint);
}

.home-page .about-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
    gap: clamp(64px, 10vw, 144px);
}

.home-page .about-copy p {
    max-width: 690px;
    font-size: 17px;
    line-height: 1.8;
}

.home-page .contact-panel {
    padding: 25px 0 0;
    border-top: 2px solid var(--accent);
    border-left: 0;
    background: transparent;
}

.home-page .site-footer {
    background: var(--home-surface);
}

@media (prefers-color-scheme: dark) {
    .home-page {
        --home-page: #111814;
        --home-surface: #18211d;
        --home-tint: #202b26;
        --home-line: #34423b;
        --home-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 980px) {
    .home-page .featured-layout,
    .home-services .container {
        grid-template-columns: 1fr;
    }

    .home-page .featured-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 24px;
    }

    .home-services .container {
        gap: 44px;
    }
}

@media (max-width: 760px) {
    .home-page .home-hero {
        min-height: 520px;
        height: calc(100dvh - 112px);
        padding: 0;
    }

    .home-hero-image {
        object-position: 58% center;
    }

    .home-hero-overlay {
        background: linear-gradient(0deg, rgba(10, 18, 15, 0.92) 0%, rgba(10, 18, 15, 0.54) 64%, rgba(10, 18, 15, 0.18) 100%);
    }

    .home-hero-content {
        justify-content: flex-end;
        padding-block: 46px;
    }

    .home-hero-content h1 {
        font-size: clamp(48px, 16vw, 64px);
    }

    .home-hero-content p {
        max-width: 34ch;
        margin: 18px 0 26px;
        font-size: 17px;
    }

    .home-page .section {
        padding-block: 72px;
    }

    .home-page .section-header {
        margin-bottom: 34px;
    }

    .home-page .featured-stack {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .home-product-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        margin-top: 58px;
        padding-top: 34px;
    }

    .home-product-copy p {
        min-height: 0;
    }

    .home-page .featured-copy,
    .home-page .featured-side .featured-copy {
        padding: 18px 0 0;
    }

    .home-page .service-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 25px 0;
    }

    .home-page .site-nav {
        background: var(--home-page);
    }
}

/* Product catalog and detail pages */
.catalog-page,
.product-page {
    --marketing-page: #f5f7f5;
    --marketing-surface: #ffffff;
    --marketing-tint: #eaf0ec;
    --marketing-line: #d7e0da;
    --marketing-shadow: 0 22px 60px rgba(26, 44, 36, 0.09);
    --container: 1200px;
    background: var(--marketing-page);
}

.catalog-page .site-header,
.product-page .site-header {
    border-bottom-color: var(--marketing-line);
    background: color-mix(in srgb, var(--marketing-page) 91%, transparent);
}

.catalog-page .header-inner,
.product-page .header-inner {
    min-height: 72px;
}

.catalog-page .catalog-hero {
    padding: 92px 0 44px;
}

.catalog-page .catalog-heading {
    display: block;
}

.catalog-page .catalog-heading h1 {
    max-width: none;
    font-size: clamp(50px, 6vw, 76px);
    font-weight: 710;
    letter-spacing: 0;
}

.catalog-page .catalog-heading p {
    max-width: 660px;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.75;
}

.catalog-page .catalog-tools {
    margin-top: 48px;
    padding-top: 28px;
    border-top-color: var(--marketing-line);
}

.catalog-page .catalog-search {
    min-height: 52px;
    padding-inline: 17px;
    border-color: var(--marketing-line);
    border-radius: 8px;
    background: var(--marketing-surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.catalog-page .section-tight {
    padding: 16px 0 104px;
}

.catalog-page .product-grid {
    gap: 22px;
}

.catalog-page .product-card {
    grid-template-columns: 168px minmax(0, 1fr);
    min-height: 262px;
    border-color: var(--marketing-line);
    border-radius: 10px;
    background: var(--marketing-surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.catalog-page .product-card:hover {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--marketing-line));
    box-shadow: var(--marketing-shadow);
    transform: translateY(-2px);
}

.catalog-page .product-media {
    padding: 26px;
    background: var(--marketing-tint);
}

.catalog-page .product-media img {
    width: 112px;
    height: 112px;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(26, 44, 36, 0.14);
}

.catalog-page .product-card-content {
    padding: 28px;
}

.catalog-page .product-card h2 {
    font-size: 22px;
    font-weight: 690;
}

.catalog-page .product-meta {
    margin-top: 8px;
    letter-spacing: 0;
}

.catalog-page .product-description {
    margin: 16px 0 22px;
    font-size: 14px;
    line-height: 1.75;
}

.catalog-page .product-actions {
    gap: 18px;
}

.product-page .product-hero {
    padding: 84px 0 78px;
}

.product-page .product-hero .hero-grid {
    grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
    gap: clamp(54px, 7vw, 92px);
}

.product-page .product-mark {
    margin-bottom: 30px;
}

.product-page .product-mark img {
    width: 64px;
    height: 64px;
    border: 1px solid var(--marketing-line);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(26, 44, 36, 0.11);
}

.product-page .product-mark strong {
    font-size: 19px;
}

.product-page .hero-title {
    font-size: clamp(54px, 6vw, 78px);
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1.02;
}

.product-page .hero-lead {
    max-width: 520px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.75;
}

.product-page .button-row {
    margin-top: 32px;
}

.product-page .product-facts {
    margin-top: 38px;
    overflow: hidden;
    border-color: var(--marketing-line);
    border-radius: 8px;
    background: var(--marketing-line);
}

.product-page .product-fact {
    padding: 18px 16px;
    background: var(--marketing-surface);
}

.product-page .hero-visual {
    position: relative;
    align-self: center;
    margin: 0;
}

.product-page .hero-visual::before {
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 12px;
    background: var(--marketing-tint);
    content: "";
}

.product-page .hero-visual img {
    display: block;
    width: 100%;
    border: 1px solid var(--marketing-line);
    border-radius: 10px;
    background: var(--marketing-surface);
    box-shadow: var(--marketing-shadow);
}

.product-page .section {
    padding-block: 96px;
}

.product-page .section-muted {
    background: var(--marketing-tint);
}

.product-page .section-header {
    max-width: 690px;
    margin-bottom: 46px;
}

.product-page .section-header h2 {
    font-size: clamp(38px, 4.5vw, 54px);
    font-weight: 710;
    line-height: 1.1;
}

.product-page .section-header p {
    margin-top: 17px;
    font-size: 17px;
    line-height: 1.75;
}

.product-page .feature-columns {
    gap: 0 56px;
    border-top-color: color-mix(in srgb, var(--ink) 18%, transparent);
}

.product-page .feature-item {
    padding: 29px 0;
    border-bottom-color: color-mix(in srgb, var(--ink) 18%, transparent);
}

.product-page .feature-item h3 {
    font-size: 19px;
    font-weight: 680;
}

.product-page .feature-item p {
    margin-top: 10px;
    line-height: 1.75;
}

.product-page .gallery-grid {
    gap: 24px;
}

.product-page .gallery-button {
    border-color: var(--marketing-line);
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(26, 44, 36, 0.07);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.product-page .gallery-button:hover {
    box-shadow: var(--marketing-shadow);
    transform: translateY(-2px);
}

.product-page .gallery-item figcaption {
    margin-top: 11px;
}

.product-page .privacy-note {
    padding: 42px 0;
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
    border-radius: 0;
    background: transparent;
}

.product-page .site-footer,
.catalog-page .site-footer {
    border-top-color: var(--marketing-line);
    background: var(--marketing-surface);
}

@media (prefers-color-scheme: dark) {
    .catalog-page,
    .product-page {
        --marketing-page: #111814;
        --marketing-surface: #18211d;
        --marketing-tint: #202b26;
        --marketing-line: #34423b;
        --marketing-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 980px) {
    .product-page .product-hero .hero-grid {
        grid-template-columns: 1fr;
    }

    .product-page .hero-visual {
        margin-top: 8px;
    }
}

@media (max-width: 760px) {
    .catalog-page .catalog-hero,
    .product-page .product-hero {
        padding: 62px 0 54px;
    }

    .catalog-page .catalog-tools {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }

    .catalog-page .catalog-search {
        width: 100%;
    }

    .catalog-page .product-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 0;
    }

    .catalog-page .product-media {
        padding: 18px;
    }

    .catalog-page .product-media img {
        width: 76px;
        height: 76px;
        border-radius: 14px;
    }

    .catalog-page .product-card-content {
        padding: 22px;
    }

    .product-page .hero-title {
        font-size: clamp(48px, 15vw, 64px);
    }

    .product-page .product-facts {
        grid-template-columns: 1fr;
    }

    .product-page .section {
        padding-block: 72px;
    }

    .product-page .feature-columns,
    .product-page .privacy-note {
        grid-template-columns: 1fr;
    }

    .product-page .privacy-note {
        gap: 16px;
    }

    .catalog-page .site-nav,
    .product-page .site-nav {
        background: var(--marketing-page);
    }
}
