.tys-home {
    --ink: #142f35;
    --sea: #156861;
    --quiet: #4f6568;
    --rule: #d7e3df;
    margin: 0;
    background: #fcfdfb;
    color: var(--ink);
    font: 1rem/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.tys-home *, .tys-home *::before, .tys-home *::after { box-sizing: border-box; }
.tys-home :where(h1,h2,h3,p) { margin: 0; }
.tys-home :where(a) { color: inherit; text-decoration: none; }
.tys-home :where(a,button,summary):focus-visible { outline: 3px solid #008b80; outline-offset: 4px; }
.tys-home [hidden] { display: none !important; }
.tys-home .wrap { width: min(85%, 1280px); margin-inline: auto; }
.tys-home .tys-sitebar { border-color: #deebe7; }
.tys-home .tys-primary { width: min(92%, 1410px); height: 70px; padding: 0; }
.tys-home .tys-primary__brand, .tys-home .tys-primary__brand:visited {
    color: #174f50;
    font: 750 1.7rem/1 "Songti SC", "STSong", "SimSun", serif;
    letter-spacing: .06em;
}
.tys-home .tys-primary__links a { color: #31454a; }
.tys-home .tys-primary__links a:hover, .tys-home .tys-primary__links a[aria-current] { color: #156861; text-decoration-color: #428c81; }
.tys-home .tys-primary__menu summary { color: #28554e; background: #f3f7f5; border-color: #d8e7e0; }
.tys-home .skip, .tys-home .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tys-home .skip:focus { z-index: 1200; top: 6px; left: 8px; padding: 10px 16px; width: auto; height: auto; clip-path: none; background: #fff; }
.tys-home :is(#products,#contact) { scroll-margin-top: 10px; }
.hero { position: relative; overflow: hidden; background: #deefea; isolation: isolate; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: -2; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg,rgba(229,245,239,.58),rgba(229,245,239,.26) 33%,transparent 61%);
}
.hero-inner { min-height: clamp(480px,36vw,600px); display: flex; align-items: center; padding-block: 58px 65px; }
.hero-copy { max-width: 43%; }
.brand-line { display: flex; align-items: center; gap: 13px; color: #285d57; font-weight: 600; font-size: .9rem; letter-spacing: .13em; }
.brand-line::before { content: ""; width: 36px; height: 1px; background: #4a7871; }
.hero h1, .section-head h2, .contact-row h2 { font-family: "Songti SC","STSong","Noto Serif CJK SC","SimSun",serif; }
.hero h1 { margin: 19px 0 19px -.04em; font-size: clamp(3.5rem,5.1vw,5.1rem); line-height: 1.13; letter-spacing: .055em; font-weight: 500; color: #143f40; }
.hero h1 span { display: block; color: #22655f; }
.intro { font-size: clamp(1rem,1.1vw,1.125rem); line-height: 1.85; color: #30534f; }
.primary-button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; margin-top: 26px; padding: 10px 27px; border-radius: 3px;
    background: #124a48; color: #fff; font-size: 1rem; font-weight: 550; letter-spacing: .06em;
}
.primary-button:hover { background: #09645b; }
.catalog { padding-block: clamp(48px,5vw,80px) clamp(60px,7vw,112px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.kicker { font: 600 .8rem/1.3 "Segoe UI",Arial,sans-serif; letter-spacing: .19em; text-transform: uppercase; color: var(--sea); }
.section-head h2, .contact-row h2 { font-size: clamp(2rem,3vw,3rem); line-height: 1.2; font-weight: 520; letter-spacing: .04em; margin-top: 9px; }
.filters { display: flex; align-items: center; gap: 4px; padding: 3px; background: #f0f4f1; border-radius: 5px; }
.filters button {
    cursor: pointer; padding: 8px 17px; border: 0; border-radius: 3px;
    font-weight: 500; font-family: inherit; font-size: .9rem; line-height: 1.45;
    color: #435854; background: transparent;
}
.filters button:hover { background: #e0ebe5; }
.filters button[aria-pressed=true] { color: #fff; background: #235752; }
.collection { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: clamp(15px,2vw,32px); row-gap: 34px; }
.product { min-width: 0; grid-column: span 3; }
.product:nth-child(-n+3), .filtered .product { grid-column: span 4; }
.product a { height: 100%; display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); }
.image-box { overflow: hidden; aspect-ratio: 1.5; background: #fff; border-radius: 4px; }
.image-box img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product a:hover .image-box img { transform: scale(1.025); }
.product a:hover h3 { color: var(--sea); text-decoration: underline; text-underline-offset: .19em; }
.card-copy { padding: 18px 0 22px; }
.form { color: var(--sea); font-size: .875rem; font-weight: 550; }
.product h3 { font-size: clamp(1.1rem,1.55vw,1.4rem); font-weight: 650; line-height: 1.45; margin-block: 5px 8px; overflow-wrap: anywhere; }
.facts { font-size: 1rem; line-height: 1.7; color: var(--quiet); }
.tys-home footer { background: #123a3c; color: #f3f8f5; }
.contact-row { display: grid; grid-template-columns: 1.1fr 1.25fr 1fr; align-items: start; gap: 30px; padding-block: clamp(42px,4.5vw,72px); }
.contact-row .kicker { color: #a5d3c6; }
.contact-label, .company { color: #b9d1cb; font-size: .94rem; }
.phone { display: inline-block; margin-top: 4px; font: 400 clamp(1.8rem,2.7vw,2.7rem)/1.25 Georgia,"Times New Roman",serif; letter-spacing: .025em; }
.phone:hover, .legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.address { margin-top: 3px; font-size: 1.25rem; }
.legal, .legal div { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.legal { justify-content: space-between; border-top: 1px solid #426261; padding-block: 21px; color: #c1d5cf; font-size: .85rem; }
@media (min-width:1160px) and (max-width:1290px) {
    .tys-home .tys-primary { width: 96%; gap: 12px; }
    .tys-home .tys-primary__links--desktop { gap: 12px; }
}
@media (max-width: 960px) {
    .tys-home .wrap { width: 90%; }
    .hero-copy { max-width: 53%; }
    .product, .product:nth-child(-n+3), .filtered .product { grid-column: span 6; }
    .section-head { align-items: flex-start; }
    .filters button { padding-inline: 13px; }
    .contact-row { grid-template-columns: .9fr 1.3fr 1fr; gap: 18px; }
}
@media (max-width: 650px) {
    .tys-home .tys-primary { height: 60px; width: 90%; }
    .tys-home .tys-primary__brand { font-size: 1.5rem; }
    .tys-home .wrap { width: calc(100% - 40px); }
    .hero { background: #dff3ee; }
    .hero-inner { min-height: 505px; align-items: flex-start; padding-block: 34px 90px; }
    .hero-art { height: 67%; top: auto; bottom: 0; object-position: 76% center; }
    .hero::before { background: linear-gradient(180deg,#dfF3ee 19%,rgba(223,243,238,.98) 30%,rgba(223,243,238,.77) 46%,rgba(223,243,238,.08) 71%,transparent); }
    .hero-copy { max-width: 100%; }
    .hero h1 { font-size: clamp(2.7rem,11vw,3.8rem); line-height: 1.16; margin-block: 15px; }
    .intro { font-size: 1rem; line-height: 1.65; }
    .brand-line { font-size: .875rem; }
    .primary-button { margin-top: 18px; }
    .catalog { padding-top: 39px; }
    .section-head { display: block; margin-bottom: 18px; }
    .filters { margin-top: 20px; display: inline-flex; max-width: 100%; flex-wrap: wrap; }
    .filters button { min-height: 40px; padding: 7px 10px; }
    .collection { grid-template-columns: 1fr 1fr; gap: 22px 13px; }
    .product, .product:nth-child(-n+3), .filtered .product { grid-column: span 1; }
    .collection:not(.filtered) .product:first-child { grid-column: 1 / -1; }
    .image-box { aspect-ratio: 1.35; }
    .collection:not(.filtered) .product:first-child .image-box { aspect-ratio: 1.9; }
    .card-copy { padding: 12px 0 15px; }
    .product h3 { font-size: 1.04rem; }
    .facts { line-height: 1.55; }
    .contact-row { grid-template-columns: 1fr; gap: 23px; }
    .legal { flex-direction: column; }
}
@media (max-width: 360px) {
    .tys-home .wrap { width: calc(100% - 32px); }
    .filters { gap: 0; }
    .filters button { padding-inline: 8px; }
    .collection { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .image-box img { transition: none; } }

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
    .tys-home .collection { grid-template-columns: minmax(0, 1fr); }
    .tys-home .collection .product { grid-column: 1 / -1; }
    .tys-home .collection .product .image-box { aspect-ratio: 3 / 2; }
    .tys-home .collection .image-box img { object-fit: contain; }
}

@media (max-width: 540px) {
    .tys-home .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tys-home .filters button { min-height: 44px; }
}
