/* Search is the primary interaction within the hero copy, not a separate card. */
.home-first-screen{display:flex;flex-direction:column;min-height:calc(100svh - 68px);padding-bottom:0}
.home-refresh .home-hero{position:relative;display:flex;flex:1;align-items:center;isolation:isolate;background:var(--surface);color:var(--ink);touch-action:pan-y pinch-zoom;overflow:clip}
.home-hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-3}
/* Original photos stay untouched. Slide one receives a transparent light texture. */
.home-refresh .home-hero::after{content:none}
.home-cold-flow{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;mix-blend-mode:screen;opacity:1;transition:opacity 200ms ease;mask-image:linear-gradient(180deg,transparent 8%,#000 50%,#000 100%)}
[data-water-active="false"] .home-cold-flow{opacity:0}
.home-cold-flow::before,.home-cold-flow::after{content:"";position:absolute;inset:-6%;background:url("assets/home/water-caustics-wide.webp") center/cover no-repeat;filter:grayscale(1) brightness(.58) contrast(10);--water-strength:.24;animation:water-caustics-drift 6s linear infinite}
.home-cold-flow::after{inset:-10%;--water-strength:.12;animation-duration:8s;animation-delay:-3s}
@keyframes water-caustics-drift{0%{transform:translate3d(-4%,1%,0);opacity:0}15%,85%{opacity:var(--water-strength)}100%{transform:translate3d(4%,-1%,0);opacity:0}}
[data-motion-paused="true"] .home-cold-flow::before,[data-motion-paused="true"] .home-cold-flow::after{animation-play-state:paused}
.home-hero-copy .home-hero-eyebrow{color:#08478f}
/* Keep the photograph's composition, with RTL text and controls in the same copy area. */
[dir="rtl"] .home-hero>.wrap{direction:ltr}
[dir="rtl"] .home-hero-copy{direction:rtl}
@media(prefers-reduced-motion:reduce){.home-cold-flow{transition:none}.home-cold-flow::before,.home-cold-flow::after{animation:none;transform:none;opacity:var(--water-strength)}}
.home-hero-copy{--ink:#102C4C;--text:#273B50;--muted:#526477;--canvas:#fff;--primary:#075BC7;width:min(48%,600px);min-width:0;padding:clamp(24px,5svh,56px) 0;overflow-wrap:anywhere}
.hero-field{display:grid;min-width:0}
.hero-field-sizer,.hero-field-live,.hero-field>.home-hero-eyebrow,.hero-field>h1,.hero-field>.home-hero-summary{grid-area:1/1;min-width:0}
.hero-field-sizer{display:grid;visibility:hidden;pointer-events:none}
.hero-field-sizer>.home-hero-eyebrow,.hero-field-sizer>.home-hero-title,.hero-field-sizer>.home-hero-summary,.hero-field-variant{grid-area:1/1;min-width:0}
.hero-field-live,.hero-field>.home-hero-eyebrow,.hero-field>h1,.hero-field>.home-hero-summary{align-self:start}
.home-hero-copy h1,.home-hero-copy .home-hero-title{text-shadow:0 1px 2px rgb(255 255 255 / .65);font-size:clamp(30px,3.7vw,52px);font-weight:700;line-height:1.26;letter-spacing:-.02em;margin:0 0 22px;max-width:none;color:var(--ink);text-wrap:balance;white-space:pre-line}
.home-hero-copy .home-hero-eyebrow{font-size:17px;font-weight:650;margin-bottom:22px}
.home-hero-tags{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.home-hero-tags span{padding:8px 12px;border:1px solid var(--border);border-radius:5px;background:color-mix(in srgb,var(--canvas) 76%,transparent);color:var(--ink);font-size:14px}
.home-hero-copy .home-hero-summary{max-width:480px;font-size:18px;line-height:1.85;margin:0 0 26px;color:var(--text)}
.home-hero-copy .home-five-families{display:flex;flex-wrap:wrap;gap:4px 0;font-size:17px;font-weight:600;max-width:none}
.home-five-families span{max-width:100%}
.home-five-families span:not(:last-child)::after{content:"·";margin:0 8px}
.home-hero-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:8px}
.home-hero-slide{opacity:0;transition:opacity 600ms ease-in-out}
.home-hero-slide.is-active{opacity:1}
.home-first-screen [hidden]{display:none}
.home-carousel-controls{position:absolute;inset-inline:20px;bottom:14px;z-index:2;display:flex;align-items:center;justify-content:center}
.home-carousel-positions{display:flex;gap:0}
.home-carousel-controls button{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.home-carousel-positions button::after{content:"";width:9px;height:9px;border-radius:50%;background:rgb(255 255 255 / .8);box-shadow:0 0 0 1px rgb(16 44 76 / .22),0 1px 4px rgb(16 44 76 / .18);transition:background-color 140ms ease}
.home-carousel-positions button[aria-current="true"]::after{background:var(--primary);box-shadow:0 0 0 1px rgb(255 255 255 / .85),0 1px 4px rgb(16 44 76 / .18)}
.home-carousel-controls button:focus-visible,.home-carousel-error button:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
.home-carousel-controls button:disabled{cursor:default;color:var(--muted)}
.home-carousel-controls button:active:not(:disabled){transform:scale(.97)}
@media(hover:hover) and (pointer:fine){.home-carousel-positions button:hover::after{background:var(--primary)}}
.home-carousel-error{margin-top:16px;color:var(--error)}
.home-carousel-error p{font-size:15px;margin-bottom:8px}
.home-search-strip{display:flex;flex-direction:column;gap:8px;align-items:stretch;padding:0;margin:0 0 22px;min-width:0}
.home-search-strip form{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;margin:0;max-width:none}
.home-search-strip .search-label{margin:0;font-size:16px;font-weight:600;color:var(--ink)}
.home-search-strip .search-row{min-width:0;background:color-mix(in srgb,var(--canvas) 80%,transparent);backdrop-filter:blur(8px);border-color:color-mix(in srgb,var(--primary) 30%,var(--border))}
.home-search-strip .search-row:focus-within{border-color:var(--primary);outline:2px solid color-mix(in srgb,var(--primary) 25%,transparent);outline-offset:2px}
.home-search-strip .search-row button{min-height:44px;flex-shrink:0}
.home-search-strip>a{align-self:flex-start;min-height:44px;display:inline-flex;align-items:center;gap:8px;font-size:14px}
.home-refresh .section{padding:56px 0}
.home-refresh .grid.cards.home-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.home-refresh .home-product-card .card-media{aspect-ratio:16/10}
.home-refresh .home-product-card .card-facts{display:none}
.home-refresh .home-product-card .card-model{font-size:14px}
.home-refresh .home-product-card .card-category{font-size:13px}

/* Company and philosophy retain the shared, published content and theme. */
.home-refresh .home-company{background:var(--canvas)}
.home-refresh .home-company .company-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
.home-refresh .home-company .company-strip-text{grid-template-columns:1fr;max-width:850px}
.home-company-photo img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;border-radius:6px}
.home-company-copy{min-width:0;overflow-wrap:anywhere}
.home-company-copy h2{max-width:24ch;font-size:32px;line-height:1.4;text-wrap:balance;margin:0 0 20px}
.home-company-copy p{font-size:16px;line-height:1.9;margin:0 0 20px}
.home-company-body{margin-bottom:24px}
.home-company-body p:last-child{margin-bottom:0}
.home-values .wrap{border-top:1px solid var(--border);padding-top:32px;padding-bottom:36px;text-align:center}
.home-values h2{font-size:28px;line-height:1.5;color:var(--primary);text-wrap:balance;margin:0 0 10px}
.home-values p{max-width:none;color:var(--muted);font-size:16px;line-height:1.8;margin:0}
:root[lang="zh"] .home-company-copy h2{max-width:10em;text-wrap:wrap}

/* Static accessible list is the fallback; JS adds the continuous visual track. */
.home-brands{background:var(--surface);border-block:1px solid var(--border)}
.home-brands .section-heading{justify-content:center;text-align:center}
.brand-group{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.brand-cell{min-width:0;height:100px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--border);border-radius:10px;padding:16px}
.brand-cell img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.brand-note{margin:20px auto 0;font-size:14px;color:var(--muted);text-align:center;max-width:80ch;text-wrap:balance}

@media(max-width:1319px){
  /* The existing compact contact strip owns its own space below page-scroll. */
  .home-first-screen{min-height:calc(100svh - 65px - 65px - env(safe-area-inset-bottom))}
}
@media(max-width:900px){
  .home-refresh .home-company .company-strip{grid-template-columns:1fr;gap:24px}
  .home-company-copy h2{font-size:28px}
  .brand-group{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px){
  .home-first-screen{padding-bottom:0}
  .home-hero-copy{width:100%;padding:24px 0 310px}
  .home-hero-copy h1,.home-hero-copy .home-hero-title{font-size:30px;line-height:1.2;margin-bottom:14px}
  .home-hero-copy .home-hero-summary{font-size:16px;line-height:1.55;margin-bottom:12px}
  .home-cold-flow::before,.home-cold-flow::after{background-image:url("assets/home/water-caustics-narrow.webp")}
  .home-hero-copy .home-five-families{font-size:15px}
  .home-hero-background{inset:auto 0 0;height:280px;object-position:right center}
  .home-refresh .home-hero::after,[dir="rtl"] .home-refresh .home-hero::after{background:none}
  .home-hero-tags{gap:6px;margin-bottom:18px}
  .home-hero-tags span{padding:6px 8px;font-size:12px}
  .home-carousel-controls{bottom:8px;inset-inline:12px}
  .home-search-strip{margin:0 0 14px;gap:4px}
  .home-search-strip form{flex-direction:column;align-items:stretch;gap:8px}
  .home-search-strip .search-row{width:100%}
  .home-search-strip .search-row button{padding-inline:12px}
  .home-search-strip>a{font-size:15px}
  .home-refresh .section{padding:34px 0}
  .home-refresh .grid.cards.home-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .home-company-copy h2{font-size:26px}
  .home-company-copy p{font-size:15px}
  .home-values .wrap{padding-top:24px;padding-bottom:28px}
  .home-values h2{font-size:23px}
  .home-values p{font-size:15px}
  .brand-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .brand-cell{height:76px;padding:12px}
}
@media(prefers-reduced-motion:reduce){.home-hero-slide,.home-carousel-controls button{transition:none}.home-carousel-controls button:active:not(:disabled){transform:none}}

/* Each desktop section fits one usable viewport; content can grow when zoomed. */
.home-featured,.home-company,.home-brands{scroll-margin-top:84px}
.home-refresh .home-company{background:var(--surface);border-block:1px solid var(--border)}
.home-refresh .home-company .company-strip{grid-template-columns:1.1fr 1fr;gap:40px}
.home-company-copy h2{font-size:clamp(24px,2.2vw,30px);line-height:1.35;margin-bottom:16px;max-width:26ch}
.home-company-copy p{line-height:1.7;margin-bottom:0}
.home-company-photo img{height:auto;aspect-ratio:16/9}
.home-processes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}
.home-process{margin:0;min-width:0}
.home-process>img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:6px}
.home-process h3{font-size:18px;line-height:1.4;margin:12px 0 6px;color:var(--ink)}
.home-process p{font-size:15px;line-height:1.6;margin:0;color:var(--muted)}
.home-process .home-process-caption{margin:12px 0 0;color:var(--ink);font-size:15px;font-weight:600;line-height:1.5}
.home-company-action{margin-top:20px;text-align:center}
.brand-cell:has(a){padding:0}
.brand-cell>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:16px;border-radius:inherit}
.brand-cell>a:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
@media(hover:hover) and (pointer:fine){.brand-cell:has(a):hover{border-color:var(--primary)}}
@media(min-width:1024px){
  .home-refresh .home-featured,.home-refresh .home-company{padding:20px 0;display:block}
  .home-featured>.wrap,.home-company>.wrap{width:min(1720px,calc(100% - 200px))}
  .home-featured .section-heading{margin-bottom:20px}
  .home-refresh .grid.cards.home-cards{gap:16px 24px}
  .home-refresh .home-product-card .card-media{height:clamp(100px,calc((100svh - 560px)/2),360px);aspect-ratio:auto}
  .home-refresh .home-product-card .card-body{padding:10px 14px 12px}
  .home-refresh .home-product-card .card-body h3{font-size:16px;line-height:1.4;margin:4px 0 8px}
  .home-refresh .home-product-card .card-category{margin:0}
  .home-refresh .home-product-card .card-actions{margin-top:6px;padding-top:6px}
}
@media(min-width:768px) and (max-width:1023px){.home-refresh .grid.cards.home-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
  .home-refresh .home-company .company-strip{grid-template-columns:1fr;gap:20px}
  .home-company-photo img{height:auto;aspect-ratio:5/3}
  .home-processes{grid-template-columns:1fr;gap:24px}
  .home-process>img{height:auto;aspect-ratio:16/10}
  .home-company-copy h2{font-size:26px}
}
@media(prefers-reduced-motion:no-preference){html,.home-refresh #page-scroll{scroll-behavior:smooth}}
@media(min-width:1024px) and (max-height:800px){
  .home-refresh .home-featured{padding-block:20px}
  .home-refresh .home-product-card .card-category{display:none}
  .home-refresh .grid.cards.home-cards{row-gap:12px}
}

/* Search and both product rows form one continuous block, without spacer height. */

.home-product-oe{font-size:14px;line-height:1.5;color:var(--muted);margin:6px 0}
.home-product-oe>span:first-child{font-weight:600;margin-inline-end:4px}
.home-product-oe bdi{display:inline-block;max-width:100%;unicode-bidi:isolate;overflow-wrap:anywhere;word-break:normal;hyphens:none}
.home-refresh .home-product-card .card-category{display:none}
@media(min-width:1024px){
 .home-refresh .home-company{padding-block:32px}
 .home-refresh .home-product-card .card-actions{border:0;padding-top:0;min-height:0}
 .home-refresh .home-product-card .card-actions a{min-height:28px}
}

@media(min-width:1024px) and (max-height:900px){
 .home-company-photo img{aspect-ratio:2/1}
 .home-process>img{aspect-ratio:16/9}
 .home-refresh .home-company{padding-block:24px}
}

.home-product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.home-refresh .home-product-meta .home-product-oe{margin:0;flex:1;min-width:0}
.home-refresh .home-product-meta .card-actions{margin:0;flex-shrink:0}
@media(max-width:767px){
 .home-refresh .home-product-meta{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px}
 .home-refresh .home-product-meta .home-product-oe,.home-refresh .home-product-meta .card-actions{width:100%;flex:none}
}
.home-refresh .home-product-card .card-body{display:flex;flex-direction:column;flex:1}
.home-product-meta{margin-top:auto;padding-top:6px}

.home-brands{position:relative}
.brand-marquee{width:100%;overflow:hidden;direction:ltr}
.brand-track{display:flex;width:100%;gap:16px}
.brand-track>.brand-group{width:100%;flex-shrink:0}
.brand-marquee.is-running .brand-track{width:max-content;animation:brand-scroll var(--brand-duration,120s) linear infinite}
.brand-marquee.is-running .brand-group{display:flex;width:auto;gap:16px}
.brand-marquee.is-running .brand-cell{width:180px;flex:0 0 180px}
.brand-marquee.is-running:is(:hover,[data-paused="true"]) .brand-track{animation-play-state:paused}
.brand-marquee:has(.brand-group:not([data-brand-clone]) a:focus-visible) .brand-track{animation:none!important;transform:none}
.brand-marquee:has(.brand-group:not([data-brand-clone]) a:focus-visible){overflow-x:auto}
.brand-marquee:has(.brand-group:not([data-brand-clone]) a:focus-visible) [data-brand-clone]{display:none}
.brand-motion{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.brand-motion[hidden]{display:none}
.brand-motion:focus-visible{inset-block-end:8px;inset-inline:0;margin-inline:auto;width:max-content;max-width:calc(100% - 40px);height:auto;min-height:44px;padding:8px 16px;clip-path:none;z-index:1;border:1px solid var(--border);border-radius:6px;color:var(--ink);background:var(--canvas);outline:3px solid var(--primary);outline-offset:3px}
@keyframes brand-scroll{to{transform:translateX(calc(-50% - 8px))}}
@media(prefers-reduced-motion:reduce){
 .brand-marquee.is-running .brand-track{animation:none;width:100%}
 .brand-marquee.is-running .brand-group{display:grid;width:100%}
 .brand-marquee.is-running .brand-cell{width:auto}
 [data-brand-clone],.brand-motion{display:none!important}
}

/* Approved company figures: keep units with their numbers and mirror dividers in RTL. */
.home-company-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0 0;gap:0}
.home-company-metric{display:flex;flex-direction:column;min-width:0;padding:16px 0}
.home-company-metric:nth-child(even){border-inline-start:1px solid var(--border);padding-inline-start:28px}
.home-company-metric:nth-child(odd){padding-inline-end:20px}
.home-company-metric:nth-child(n+3){border-block-start:1px solid var(--border)}
.home-company-metric dt{font-size:15px;line-height:1.5;color:var(--ink)}
.home-company-metric dd{order:-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin:0 0 4px;color:var(--primary);font-size:clamp(30px,3vw,44px);font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:normal}
.home-company-metric-unit{font-size:16px;font-weight:500;color:var(--ink)}
@media(min-width:1024px){.home-refresh .home-company .company-strip{align-items:stretch}.home-company-copy{display:flex;flex-direction:column;justify-content:center}.home-company-photo img{height:100%;min-height:100%;object-fit:cover}}
@media(max-width:767px){.home-company-metrics{margin-top:20px}.home-company-metric{padding-block:14px}.home-company-metric:nth-child(even){padding-inline-start:16px}.home-company-metric:nth-child(odd){padding-inline-end:12px}.home-company-metric dd{font-size:clamp(28px,7vw,38px);gap:4px}.home-company-metric dt{font-size:14px}.home-company-metric-unit{font-size:14px}}

@media(min-width:768px) and (max-width:900px){
 .home-hero-copy{width:100%;padding:24px 0 330px}
 .home-hero-background,[dir="rtl"] .home-hero-background{inset:auto 0 0;width:100%;height:300px;object-position:right center}
 .home-refresh .home-hero::after,[dir="rtl"] .home-refresh .home-hero::after{background:none}
}

/* Keep the same dark text and light copy-area gradient on every slide. */
.home-hero-copy .home-hero-summary,.home-hero-copy>.text-link{text-shadow:0 1px 2px rgb(255 255 255 / .75)}
@media(min-width:901px){
 .home-refresh .home-hero::after{content:"";position:absolute;inset:0;height:auto;z-index:-2;pointer-events:none;background:linear-gradient(90deg,rgb(255 255 255 / .92) 0%,rgb(255 255 255 / .88) 28%,rgb(255 255 255 / .76) 44%,rgb(255 255 255 / .4) 55%,transparent 70%);opacity:1}
}
