/*
Theme Name: Feihuang Apparel
Theme URI: https://feihuang.trad.link/
Author: TTCH
Description: Editorial B2B catalogue theme for FEIHUANG APPAREL.
Version: 1.1.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: feihuang-apparel
*/

:root {
  --fh-ink: #11110f;
  --fh-paper: #f3f0ea;
  --fh-white: #fff;
  --fh-warm: #6e5a4a;
  --fh-warm-dark: #3e3027;
  --fh-line: rgba(17, 17, 15, .16);
  --fh-muted: #6d6a64;
  --fh-serif: Georgia, "Times New Roman", serif;
  --fh-sans: Aptos, "Segoe UI", Arial, sans-serif;
  --fh-shell: min(92vw, 1440px);
  --ttch-ink: var(--fh-ink);
  --ttch-muted: var(--fh-muted);
  --ttch-line: var(--fh-line);
  --ttch-paper: var(--fh-paper);
  --ttch-accent: var(--fh-warm);
  --ttch-accent-dark: var(--fh-warm-dark);
  --ttch-white: var(--fh-white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fh-paper); color: var(--fh-ink); font-family: var(--fh-sans); font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--fh-warm); outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-main { min-height: 60vh; }

.site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--fh-line); background: rgba(243,240,234,.94); backdrop-filter: blur(14px); }
.site-header__inner { width: var(--fh-shell); min-height: 84px; margin: 0 auto; display: grid; grid-template-columns: 210px 1fr auto auto; align-items: center; gap: 20px; }
.fh-languages { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.fh-languages a { padding: 7px 8px; border: 1px solid transparent; color: var(--fh-muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.fh-languages a[aria-current="page"] { border-color: var(--fh-line); color: var(--fh-ink); background: var(--fh-white); }
.site-brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-brand img { width: 156px; max-height: 62px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.site-brand__text { font: 600 22px/1 var(--fh-serif); letter-spacing: .06em; }
.site-nav ul { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 36px); list-style: none; margin: 0; padding: 0; }
.site-nav a { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .22s ease; }
.site-nav a:hover::after, .site-nav .current-menu-item a::after { right: 0; }
.header-cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 20px; background: var(--fh-ink); color: var(--fh-white); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--fh-line); background: transparent; padding: 12px; }
.menu-toggle span { display: block; height: 1px; background: var(--fh-ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

.fh-hero { width: var(--fh-shell); min-height: min(760px, calc(100vh - 84px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: clamp(34px, 6vw, 96px); align-items: center; padding: 52px 0 70px; }
.fh-hero__copy { padding-left: clamp(0px, 2vw, 32px); }
.fh-kicker { margin: 0 0 18px; color: var(--fh-warm); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.fh-hero h1, .fh-page-hero h1 { max-width: 760px; margin: 0; font: 600 clamp(52px, 6.2vw, 96px)/.9 var(--fh-serif); letter-spacing: -.045em; }
.fh-hero h1 { max-width: 660px; }
.fh-lead { max-width: 620px; margin: 30px 0 0; font-size: clamp(16px, 1.25vw, 19px); color: #4e4b46; }
.fh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.fh-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.fh-button:hover { transform: translateY(-2px); }
.fh-button--dark { background: var(--fh-ink); color: var(--fh-white); }
.fh-button--line { border-color: var(--fh-ink); }
.fh-button--light { background: var(--fh-white); color: var(--fh-ink); }
.fh-button--whatsapp { background: #157a4a; color: #fff; }
.fh-hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 640px; list-style: none; padding: 34px 0 0; margin: 42px 0 0; border-top: 1px solid var(--fh-line); }
.fh-hero__facts li { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.fh-hero__facts span { display: block; margin-bottom: 6px; color: var(--fh-muted); font-size: 10px; }
.fh-hero__media { position: relative; align-self: stretch; margin: 0; min-height: 580px; overflow: hidden; background: #ddd7ce; }
.fh-hero__media::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.56); z-index: 2; pointer-events: none; }
.fh-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.fh-hero__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 16px 20px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.52)); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.fh-marquee { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--fh-line); background: var(--fh-ink); color: var(--fh-white); }
.fh-marquee div { padding: 18px 16px; border-right: 1px solid rgba(255,255,255,.17); text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.fh-section { width: var(--fh-shell); margin: 0 auto; padding: clamp(78px, 9vw, 140px) 0; }
.fh-section__index { grid-column: 1/-1; padding-bottom: 18px; border-bottom: 1px solid var(--fh-line); color: var(--fh-muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.fh-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 44px; }
.fh-intro__copy h2, .fh-section h2, .fh-final-cta h2 { margin: 0; font: 600 clamp(40px, 5vw, 72px)/.95 var(--fh-serif); letter-spacing: -.035em; }
.fh-intro__copy { padding-top: 52px; }
.fh-intro__aside { max-width: 520px; align-self: end; margin: 0; color: var(--fh-muted); }

.ttch-featured-products { padding: 0 0 clamp(82px, 9vw, 142px) !important; }
.ttch-featured-products .site-shell, .ttch-shell { width: var(--fh-shell) !important; max-width: none !important; margin: 0 auto !important; padding: 0 !important; }
.ttch-featured-products .section-head { display: none !important; }
.ttch-featured-grid, .ttch-product-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap: 1px !important; background: var(--fh-line); border: 1px solid var(--fh-line); }
.ttch-featured-card, .ttch-product-card { min-width: 0; background: var(--fh-paper); border: 0 !important; border-radius: 0 !important; overflow: hidden; box-shadow: none !important; }
.ttch-featured-card a, .ttch-product-card a { color: inherit; text-decoration: none; }
.ttch-product-visual { aspect-ratio: 4/5; overflow: hidden; background: #e7e1d8; }
.ttch-product-image { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 8%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ttch-featured-card:hover .ttch-product-image, .ttch-product-card:hover .ttch-product-image { transform: scale(1.025); }
.ttch-card-body { padding: 22px 20px 26px !important; }
.ttch-card-body h3 { margin: 0 0 8px; font: 600 25px/1.04 var(--fh-serif); }
.ttch-card-body p { min-height: 48px; margin: 0 0 18px; color: var(--fh-muted); font-size: 13px; line-height: 1.5; }
.ttch-card-link { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ttch-card-specs, .visual-badge { display: none !important; }
.featured-products-footer { margin-top: 28px; }
.featured-products-footer .button { background: transparent !important; color: var(--fh-ink) !important; border: 1px solid var(--fh-ink) !important; border-radius: 0 !important; }

.fh-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--fh-line); }
.fh-paths .fh-section__index { margin-bottom: 34px; }
.fh-paths article { position: relative; padding: 36px clamp(22px,3vw,46px) 44px; border-right: 1px solid var(--fh-line); }
.fh-paths article:last-child { border-right: 0; }
.fh-paths article > span { color: var(--fh-muted); font-size: 11px; }
.fh-paths h3 { min-height: 2.1em; margin: 44px 0 18px; font: 600 clamp(30px,3vw,46px)/.95 var(--fh-serif); }
.fh-paths p { min-height: 7.5em; color: var(--fh-muted); }
.fh-paths a, .fh-text-link { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.fh-process { width: 100%; display: grid; grid-template-columns: minmax(0,.8fr) minmax(520px,1.2fr); gap: 7vw; padding-inline: max(4vw, calc((100vw - 1440px)/2)); background: var(--fh-warm-dark); color: #f5f1eb; }
.fh-process__heading { align-self: center; }
.fh-process__heading .fh-kicker { color: #d8c6b8; }
.fh-process__heading p:last-child { max-width: 480px; color: rgba(255,255,255,.67); }
.fh-process ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.22); }
.fh-process li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.fh-process li > span { color: #d8c6b8; font-size: 11px; }
.fh-process h3 { margin: 0; font: 600 28px/1 var(--fh-serif); }
.fh-process li p { margin: 7px 0 0; color: rgba(255,255,255,.66); font-size: 14px; }

.fh-factory-teaser { display: grid; grid-template-columns: .72fr 1.28fr; gap: 6vw; align-items: center; }
.fh-factory-teaser__copy p { max-width: 530px; color: var(--fh-muted); }
.fh-factory-teaser__grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 240px); gap: 12px; }
.fh-factory-teaser figure { position: relative; margin: 0; overflow: hidden; }
.fh-factory-teaser figure:first-child { grid-row: 1/3; }
.fh-factory-teaser img { width: 100%; height: 100%; object-fit: cover; }
.fh-factory-teaser figcaption { position: absolute; left: 10px; bottom: 10px; padding: 7px 9px; background: rgba(17,17,15,.82); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.fh-markets { width: 100%; padding-inline: max(4vw, calc((100vw - 1440px)/2)); text-align: center; background: #e4ddd2; }
.fh-markets h2 { max-width: 1180px; margin-inline: auto; }
.fh-markets p:last-child { max-width: 650px; margin: 26px auto 0; color: var(--fh-muted); }
.fh-faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; }
.fh-faq__items { border-top: 1px solid var(--fh-line); }
.fh-faq details { border-bottom: 1px solid var(--fh-line); }
.fh-faq summary { position: relative; padding: 25px 44px 25px 0; cursor: pointer; list-style: none; font-weight: 700; }
.fh-faq summary::after { content: "+"; position: absolute; right: 4px; top: 23px; font: 400 24px/1 var(--fh-serif); }
.fh-faq details[open] summary::after { content: "−"; }
.fh-faq details p { max-width: 680px; padding: 0 40px 24px 0; margin: 0; color: var(--fh-muted); }

.fh-final-cta { width: 100%; padding: clamp(78px,9vw,140px) max(4vw, calc((100vw - 1120px)/2)); background: var(--fh-ink); color: #fff; text-align: center; }
.fh-final-cta .fh-kicker { color: #cdb9a9; }
.fh-final-cta h2 { max-width: 1000px; margin-inline: auto; }
.fh-final-cta > p:not(.fh-kicker) { max-width: 680px; margin: 24px auto 0; color: rgba(255,255,255,.68); }
.fh-final-cta .fh-actions { justify-content: center; }
.fh-text-link--light { color: #fff; }

.fh-page-hero { width: var(--fh-shell); margin-inline: auto; padding: clamp(90px,12vw,180px) 0 clamp(70px,8vw,120px); }
.fh-page-hero h1 { max-width: 1080px; }
.fh-page-hero > p:last-child { max-width: 720px; margin: 34px 0 0; color: var(--fh-muted); font-size: 18px; }
.fh-page-hero--compact { padding-bottom: 70px; }
.fh-models { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; padding-top: 0; background: var(--fh-line); }
.fh-models article { padding: 46px clamp(24px,3vw,48px); background: var(--fh-white); }
.fh-models article > span { color: var(--fh-muted); font-size: 11px; }
.fh-models h2 { min-height: 2em; margin-bottom: 40px; font-size: clamp(34px,3.5vw,54px); }
.fh-models h3 { margin: 28px 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.fh-models ul { padding-left: 20px; color: var(--fh-muted); }
.fh-brief-checklist, .fh-quality-brief, .fh-about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; }
.fh-brief-checklist ol { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; padding: 0; margin: 0; list-style: none; background: var(--fh-line); }
.fh-brief-checklist li { padding: 26px; background: var(--fh-white); counter-increment: brief; }
.fh-brief-checklist ol { counter-reset: brief; }
.fh-brief-checklist li::before { content: "0" counter(brief); display: block; margin-bottom: 30px; color: var(--fh-muted); font-size: 10px; }

.fh-factory-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 42px 18px; padding-top: 0; }
.fh-factory-gallery figure { margin: 0; }
.fh-factory-gallery figure.is-wide { grid-column: 1/-1; }
.fh-factory-gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: #ddd; }
.fh-factory-gallery .is-wide img { aspect-ratio: 2.2/1; }
.fh-factory-gallery figcaption { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding-top: 16px; }
.fh-factory-gallery figcaption span { color: var(--fh-muted); font-size: 10px; }
.fh-factory-gallery figcaption strong { font: 600 25px/1 var(--fh-serif); }
.fh-factory-gallery figcaption p { margin: 6px 0 0; color: var(--fh-muted); font-size: 13px; }
.fh-quality-brief { border-top: 1px solid var(--fh-line); }
.fh-quality-brief > p { align-self: end; max-width: 660px; color: var(--fh-muted); }

.fh-about-grid { border-top: 1px solid var(--fh-line); }
.fh-about-grid > div:last-child { max-width: 700px; color: var(--fh-muted); font-size: 18px; }
.fh-contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; background: var(--fh-line); }
.fh-contact-card > div { padding: clamp(38px,5vw,80px); background: var(--fh-white); }
.fh-contact-card h2 { font-size: clamp(38px,4vw,58px); }
.fh-contact-card a { font-weight: 700; }

.fh-contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; padding-top: 0; }
.fh-contact-layout aside { padding: 44px; background: var(--fh-warm-dark); color: #fff; }
.fh-contact-layout aside .fh-kicker { color: #d8c6b8; }
.fh-contact-layout aside h2 { font-size: 48px; }
.fh-contact-layout aside dl { margin-top: 48px; }
.fh-contact-layout aside dl div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.2); }
.fh-contact-layout dt { color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.fh-contact-layout dd { margin: 6px 0 0; }
.fh-small { margin-top: 42px; color: rgba(255,255,255,.62); font-size: 12px; }
.fh-prose { width: min(88vw, 840px); margin: 0 auto; padding: 0 0 120px; }
.fh-prose h2 { margin: 56px 0 14px; font: 600 38px/1 var(--fh-serif); }
.fh-prose p { color: #4e4b46; }

.ttch-shell.ttch-catalog { padding-bottom: 100px !important; }
.ttch-catalog > .ttch-kicker, .ttch-catalog > h1 { display: none; }
.ttch-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
.ttch-product-card .ttch-card-body h3 { font-size: 30px; }

.fh-product { width: var(--fh-shell); margin-inline: auto; padding: 70px 0 120px; }
.fh-product__crumb { margin-bottom: 30px; color: var(--fh-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.fh-product__hero { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: 6vw; align-items: start; }
.fh-product__image { position: sticky; top: 24px; background: #e2ddd5; }
.fh-product__image img { width: 100%; max-height: 820px; object-fit: cover; object-position: center top; }
.fh-product__info { padding-top: 28px; }
.fh-product__info h1 { margin: 0; font: 600 clamp(48px,5vw,78px)/.92 var(--fh-serif); letter-spacing: -.04em; }
.fh-product__excerpt { margin: 24px 0; color: var(--fh-muted); font-size: 18px; }
.fh-product__meta { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin: 34px 0; background: var(--fh-line); }
.fh-product__meta div { padding: 17px; background: var(--fh-white); }
.fh-product__meta dt { color: var(--fh-muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.fh-product__meta dd { margin: 5px 0 0; font-weight: 700; }
.fh-product__content { margin-top: 34px; }
.fh-product__content h2 { font: 600 34px/1 var(--fh-serif); }
.fh-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 72px 0; }
.fh-gallery figure { margin: 0; background: #e2ddd5; }
.fh-gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }

.ttch-product-specs { margin-top: 42px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.ttch-product-specs h2 { font: 600 36px/1 var(--fh-serif) !important; }
.spec-list { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; border-top: 1px solid var(--fh-line); }
.spec-list > div { display: grid !important; grid-template-columns: 180px 1fr; gap: 20px; padding: 16px 0 !important; border-bottom: 1px solid var(--fh-line); background: transparent !important; }
.spec-list dt { color: var(--fh-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.spec-list dd { margin: 0; }

.fh-rfq { padding: clamp(34px,5vw,70px); background: var(--fh-white); border: 1px solid var(--fh-line); }
.fh-rfq h2 { margin: 0; font: 600 clamp(42px,4vw,60px)/.95 var(--fh-serif); }
.fh-rfq__lead { max-width: 650px; color: var(--fh-muted); }
.fh-form { display: grid; gap: 22px; margin-top: 34px; }
.fh-form__two { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.fh-field { display: grid; gap: 8px; }
.fh-field > span, .fh-consent { font-size: 12px; font-weight: 700; }
.fh-field input, .fh-field textarea, .fh-field select { width: 100%; border: 0; border-bottom: 1px solid #aaa39a; border-radius: 0; background: #faf9f6; color: var(--fh-ink); padding: 14px 12px; }
.fh-field textarea { border: 1px solid #aaa39a; min-height: 150px; resize: vertical; }
.fh-field input[type="file"] { border: 1px dashed #aaa39a; }
.fh-field small { color: var(--fh-muted); font-size: 11px; }
.fh-form__error { padding: 14px; border-left: 3px solid #a43333; background: #fff0ef; color: #742525; }
.fh-notice--success { padding: 24px; border-left: 3px solid #157a4a; background: #edf8f1; }
.fh-honeypot { position: absolute !important; left: -9999px !important; }
.fh-submit { min-height: 54px; border: 0; background: var(--fh-ink); color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.site-footer { padding: 72px 0 28px; background: #090908; color: #fff; }
.site-footer__inner { width: var(--fh-shell); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .65fr .65fr; gap: 6vw; }
.site-footer__brand { font: 600 34px/1 var(--fh-serif); letter-spacing: .04em; }
.site-footer__note { max-width: 430px; color: rgba(255,255,255,.6); }
.site-footer h2 { margin: 0 0 18px; color: rgba(255,255,255,.52); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.site-footer__bottom { width: var(--fh-shell); margin: 64px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.48); font-size: 11px; }

@media (max-width: 1080px) {
  .site-header__inner { grid-template-columns: 170px 1fr auto auto; gap: 14px; }
  .site-nav ul { gap: 16px; }
  .fh-hero { grid-template-columns: .95fr 1.05fr; gap: 34px; }
  .fh-hero__media { min-height: 540px; }
  .ttch-featured-grid { grid-template-columns: repeat(2,1fr) !important; }
  .fh-process { grid-template-columns: 1fr; }
  .fh-process__heading { max-width: 760px; }
}

@media (max-width: 820px) {
  .site-header { background: var(--fh-paper); backdrop-filter: none; }
  .site-header__inner { min-height: 72px; grid-template-columns: 1fr auto auto; gap: 12px; }
  .site-brand img { width: 130px; max-height: 54px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .fh-languages { max-width: 46vw; overflow-x: auto; scrollbar-width: none; }
  .fh-languages::-webkit-scrollbar { display: none; }
  .fh-languages a { padding-inline: 6px; }
  .site-nav { position: fixed; inset: 72px 0 0; z-index: 50; display: none; height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; background: var(--fh-paper); padding: 46px 5vw; }
  .site-nav.is-open { display: block; }
  body.menu-open { overflow: hidden; }
  .site-nav ul { display: block; }
  .site-nav li { border-bottom: 1px solid var(--fh-line); }
  .site-nav a { display: block; padding: 17px 0; font: 600 34px/1 var(--fh-serif); letter-spacing: -.02em; text-transform: none; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .fh-hero { min-height: 0; grid-template-columns: 1fr; padding: 46px 0 0; }
  .fh-hero__copy { padding: 0; }
  .fh-hero h1, .fh-page-hero h1 { font-size: clamp(48px,14vw,70px); }
  .fh-hero__facts { margin-top: 30px; padding-top: 24px; }
  .fh-hero__media { min-height: 0; height: min(116vw, 650px); margin-top: 10px; }
  .fh-marquee { grid-template-columns: repeat(2,1fr); }
  .fh-intro, .fh-factory-teaser, .fh-faq, .fh-brief-checklist, .fh-quality-brief, .fh-about-grid, .fh-contact-layout, .fh-product__hero { grid-template-columns: 1fr; }
  .fh-intro__copy { padding-top: 32px; }
  .fh-paths, .fh-models { grid-template-columns: 1fr; }
  .fh-paths article { border-right: 0; border-bottom: 1px solid var(--fh-line); }
  .fh-paths h3, .fh-paths p { min-height: 0; }
  .fh-factory-teaser__grid { grid-template-rows: repeat(2,190px); }
  .fh-factory-gallery { grid-template-columns: 1fr; }
  .fh-factory-gallery figure.is-wide { grid-column: auto; }
  .fh-factory-gallery .is-wide img, .fh-factory-gallery img { aspect-ratio: 3/2; }
  .fh-contact-card { grid-template-columns: 1fr; }
  .ttch-product-grid { grid-template-columns: repeat(2,1fr) !important; }
  .fh-product__image { position: static; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__inner > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 520px) {
  :root { --fh-shell: 90vw; }
  .fh-page-hero { width: auto; margin-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right)); }
  .fh-page-hero h1, .fh-page-hero p { overflow-wrap: anywhere; }
  .fh-hero { padding-top: 34px; }
  .fh-hero h1, .fh-page-hero h1 { font-size: 48px; line-height: .95; }
  .fh-lead { margin-top: 22px; font-size: 15px; }
  .fh-actions { align-items: stretch; }
  .fh-actions .fh-button { width: 100%; }
  .fh-hero__facts { gap: 8px; }
  .fh-hero__facts li { font-size: 10px; }
  .fh-hero__media { height: 116vw; max-height: 570px; }
  .fh-marquee { display: none; }
  .fh-section { padding-block: 74px; }
  .fh-intro__copy h2, .fh-section h2, .fh-final-cta h2 { font-size: 43px; }
  .ttch-featured-grid, .ttch-product-grid { grid-template-columns: 1fr !important; }
  .ttch-card-body p { min-height: 0; }
  .fh-process { padding-inline: 5vw; }
  .fh-factory-teaser__grid { grid-template-columns: 1fr; grid-template-rows: repeat(3,230px); }
  .fh-factory-teaser figure:first-child { grid-row: auto; }
  .fh-brief-checklist ol { grid-template-columns: 1fr; }
  .fh-contact-layout aside { padding: 32px 24px; }
  .fh-form__two { grid-template-columns: 1fr; }
  .fh-gallery { grid-template-columns: repeat(2,1fr); }
  .fh-product { width: auto; margin-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right)); padding-top: 38px; }
  .fh-product__info h1, .fh-product__excerpt, .fh-product__content { overflow-wrap: anywhere; }
  .fh-product__meta { grid-template-columns: 1fr; }
  .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__inner > div:first-child { grid-column: auto; }
  .site-footer__bottom { display: block; }
  .site-footer__bottom span { display: block; margin-top: 8px; }
}

/* The ten new catalogue references need room for multi-line CJK titles. */
:is(body.postid-202, body.postid-204, body.postid-206, body.postid-208, body.postid-210, body.postid-212, body.postid-214, body.postid-216, body.postid-218, body.postid-220) .fh-product__info h1 { line-height: 1.12; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
