/* ===== Draft C: clean and quiet, after Apple's web style (VoltAgent awesome-design-md, apple/DESIGN.md, MIT)
   White and parchment tiles, one dark tile, no shadows, sentence-case headings with tight tracking,
   17px body, pill buttons. Gibson yellow only for the main WhatsApp action and the logo; navy for links. ===== */
:root, :root[data-theme="dark"], :root[data-theme="light"] {
  --bg: #FFFFFF !important; --surface: #FFFFFF !important; --ink: #1D1D1F !important; --muted: #6E6E73 !important;
  --line: #E3E3E6 !important; --chip: #F5F5F7 !important; --head: #1D1D1F !important; --navy: #14213D !important;
  --accent: #14213D !important; color-scheme: light !important;
  --display: system-ui, -apple-system, 'Segoe UI', Roboto, 'IBM Plex Sans', Arial, sans-serif !important;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'IBM Plex Sans', Arial, sans-serif !important;
  --parch: #F5F5F7; --link: #14213D; --yellow: #FFC20E;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #FFFFFF !important; --surface: #FFFFFF !important; --ink: #1D1D1F !important; --muted: #6E6E73 !important;
  --line: #E3E3E6 !important; --chip: #F5F5F7 !important; --head: #1D1D1F !important; --accent: #14213D !important; color-scheme: light !important; } }
html, body { background: #FFFFFF !important; color: var(--ink); font-family: var(--body) !important; }
body { font-size: 17px; letter-spacing: -.01em; }
p { line-height: 1.5; }

/* headings: sentence case, 600, tight */
h1, h2, h3, h4, .sec-head h2, .rs-h h3, .perks b, .gp-h, .fact b { font-family: var(--display) !important; text-transform: none !important; letter-spacing: -.02em !important; font-weight: 600 !important; color: var(--head) !important; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px) !important; line-height: 1.1 !important; }
.sec-head { display: flex; flex-direction: column; gap: 8px; }
.sec-head .eyebrow { order: 2; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 400 !important; color: var(--muted) !important; }
.sec-head h2 { order: 1; } .sec-head p, .sec-head .dls1 { order: 3; }
.sec-head p { color: var(--muted) !important; font-size: 19px !important; max-width: 60ch; }

/* sections: white / parchment tiles, generous rhythm, no rules */
main > section, main > div.facts { border: 0 !important; }
section { padding-block: 80px !important; }
#products { background: #FFFFFF !important; }
.rstrip { background: transparent !important; }
#guides { background: #FFFFFF !important; }
#catalogues { background: var(--parch) !important; }
#faq { background: #FFFFFF !important; }
.contact { background: var(--parch) !important; color: var(--ink) !important; }
.contact * { --ink: #1D1D1F; }
/* one dark tile: How to order */
.trade { background: #1D1D1F !important; color: #F5F5F7 !important;
  --ink: #F5F5F7 !important; --muted: #A1A1A6 !important; --head: #FFFFFF !important; --line: #3A3A3C !important; --surface: #2A2A2C !important; --accent: #FFFFFF !important; }
.trade .eyebrow { color: #A1A1A6 !important; }
.trade .perks li { border-left: 0 !important; padding-left: 0 !important; }
.trade .qform { background: #2A2A2C !important; border: 0 !important; border-radius: 18px !important; color: #F5F5F7 !important; }
.trade .fld input, .trade .fld select, .trade .fld textarea { background: #1D1D1F !important; color: #F5F5F7 !important; border-color: #3A3A3C !important; }
.osteps b { background: var(--yellow) !important; color: #1D1D1F !important; }

/* header: white, frosted, hairline */
.bar { background: rgba(255, 255, 255, .86) !important; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: #1D1D1F !important; border-bottom: 1px solid #E3E3E6 !important; }
.bar .logo b { color: #1D1D1F !important; letter-spacing: -.01em !important; font-family: var(--display) !important; }
.bar .logo span { color: #6E6E73 !important; letter-spacing: .12em !important; }
.bar .logo .zh-logo { color: #1D1D1F !important; }
.nav a, .jump a { color: #1D1D1F !important; font-size: 14px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; opacity: .85; }
.nav a:hover, .jump a:hover { opacity: 1; color: #1D1D1F !important; }
.nav a[aria-current], .jump a.on, .jump a[aria-current] { opacity: 1; box-shadow: inset 0 -2px 0 #1D1D1F !important; border-color: #1D1D1F !important; }
.jump { background: rgba(255, 255, 255, .92) !important; border-bottom: 1px solid #E3E3E6; }

/* hero: white, big quiet headline, rounded photo */
.hero { background: #FFFFFF !important; background-image: none !important; color: #1D1D1F !important; padding-block: 64px 72px !important; }
.hero .years-word { display: block !important; margin-bottom: 14px; }
.hero .years-word b, .hero .years-word span { background: none !important; padding: 0 !important; color: #6E6E73 !important; font: 400 17px/1.4 var(--body) !important; letter-spacing: 0 !important; display: inline !important; text-transform: none; }
.hero .years-word b { color: #1D1D1F !important; font-weight: 600 !important; }
.hero .years-word b::after { content: " "; }
.hero h1 { font-size: clamp(36px, 5vw, 60px) !important; line-height: 1.06 !important; letter-spacing: -.03em !important; max-width: 16ch; }
.hero p { color: #6E6E73 !important; font-size: 19px !important; }
.hero p.bm, .hero p.zh { font-size: 15px !important; opacity: 1 !important; }
.hero .hshop img { border-radius: 18px !important; }
.hero figcaption { color: #6E6E73 !important; }
.open-now, .open-now b { color: #1D1D1F !important; }

/* facts: a quiet parchment strip */
.facts { background: var(--parch) !important; color: #1D1D1F !important; }
.facts .fact { border: 0 !important; background: transparent !important; }
.facts .fact b { font-size: 24px !important; color: #1D1D1F !important; }
.facts .fact span { color: #6E6E73 !important; }

/* buttons: pills. Yellow = WhatsApp (main action). Others = navy outline or text link */
.btn { border-radius: 980px !important; font: 500 16px/1 var(--body) !important; letter-spacing: -.01em !important; text-transform: none !important; padding: 13px 22px !important; box-shadow: none !important; }
.btn-y { background: var(--yellow) !important; color: #1D1D1F !important; border: 1px solid var(--yellow) !important; }
.btn-y:hover { background: #FFD24D !important; }
.btn-o, .btn-ghost { background: transparent !important; color: var(--link) !important; border: 1px solid var(--link) !important; }
.trade .btn-o, .trade .btn-ghost { color: #F5F5F7 !important; border-color: #F5F5F7 !important; }
.qfold > summary { border-radius: 980px !important; }
a { color: var(--link); }
.trade a { color: #F5F5F7; }

/* product finder: white cards, hairlines, 18px radius, no shadows */
.finder input, #q { border-radius: 12px !important; border: 1px solid #D2D2D7 !important; background: #FFFFFF !important; font-size: 17px !important; }
.pc, .rs-card, .guide-card, .cblock, .ct, .faq > details, .catprev figure { border-radius: 18px !important; box-shadow: none !important; }
.pc, .rs-card, .guide-card { border: 1px solid #E3E3E6 !important; background: #FFFFFF !important; }
.rs-card { background: var(--parch) !important; border-color: transparent !important; }
.pc.inlist { border-color: #1D1D1F !important; box-shadow: inset 0 0 0 1px #1D1D1F !important; }
.addbtn { background: #F5F5F7 !important; color: #1D1D1F !important; border: 1px solid transparent !important; border-radius: 980px !important; font-weight: 500 !important; }
.addbtn:hover { background: #1D1D1F !important; color: #FFFFFF !important; }
.step3 { border-radius: 980px !important; }
.best { background: #1D1D1F !important; color: #FFFFFF !important; border-radius: 6px !important; }
.cat, .cats .ct { border-radius: 980px !important; background: #F5F5F7 !important; border-color: transparent !important; }
.cat[aria-pressed="true"] { background: #1D1D1F !important; color: #FFFFFF !important; box-shadow: none !important; }
.faq > details { background: var(--parch) !important; border: 0 !important; margin-bottom: 8px; }
.brands div[data-b] { border-radius: 14px !important; border-color: transparent !important; background: #FFFFFF !important; }

/* list bar: frosted white */
#listbar { background: rgba(255, 255, 255, .92) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #1D1D1F !important; border-top: 1px solid #E3E3E6 !important; }
#listbar .btn-o, #listbar #lb-view { color: #1D1D1F !important; border-color: #1D1D1F !important; }
#lb-send { background: var(--yellow) !important; color: #1D1D1F !important; border-color: var(--yellow) !important; }
#lb-t, #lb-t small { color: #1D1D1F !important; }

/* scam notice: parchment */
.safety { background: var(--parch) !important; color: #1D1D1F !important; border-bottom: 1px solid #E3E3E6 !important; }

/* footer: parchment, small grey */
footer { background: var(--parch) !important; color: #6E6E73 !important; border-top: 1px solid #E3E3E6; }
footer a { color: #424245 !important; }

/* focus: one clear navy ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #14213D !important; outline-offset: 2px !important; box-shadow: 0 0 0 6px #FFC20E !important; }

/* ----- "Read more" disclosures (W3C ARIA disclosure pattern) ----- */
.rm-x.rm-closed { display: none !important; }
.rm-btn { text-align: left; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 10px 0; background: none; border: 0; color: var(--link); font: 400 17px/1.2 var(--body); cursor: pointer; }
.rm-btn::after { content: "›"; font-size: 22px; line-height: 1; transition: transform .2s; }
.rm-btn[aria-expanded="true"]::after { transform: rotate(90deg); }
.rm-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.trade .rm-btn { color: #F5F5F7; }
.rm-sum { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }
@media (prefers-reduced-motion: reduce) { .rm-btn::after { transition: none; } }

/* draft label */
.cl-strip { background: #1D1D1F; color: #F5F5F7; font: 600 12px/1 var(--body); letter-spacing: .06em; text-align: center; padding: 9px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px)); }
.cl-strip a { color: #FFC20E !important; margin-left: 10px; }

@media (max-width: 760px) {
  section { padding-block: 56px !important; }
  .hero { padding-block: 40px 48px !important; }
  .sec-head p { font-size: 17px !important; }
}

/* ===== Draft D: Draft B's first screen + Draft C's calm pages, split into separate pages ===== */
/* dark, frosted menu bar (Apple's global nav is dark too) */
.bar { background: rgba(0, 0, 0, .84) !important; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: #FFFFFF !important; border-bottom: 1px solid rgba(255, 255, 255, .1) !important; }
.bar .logo b, .bar .logo .zh-logo { color: #FFFFFF !important; }
.bar .logo span { color: #FFC20E !important; letter-spacing: .2em !important; }
.nav a { color: #FFFFFF !important; opacity: .82; }
.nav a:hover, .nav a.here { opacity: 1; }
.nav a.here { box-shadow: inset 0 -2px 0 #FFC20E !important; }
.jump { background: rgba(0, 0, 0, .9) !important; border-bottom: 1px solid rgba(255, 255, 255, .1) !important; }
.jump a { color: #FFFFFF !important; }
.jump a.here { box-shadow: inset 0 -2px 0 #FFC20E !important; opacity: 1; }
.track-nav { display: none !important; }

/* the first screen: shop photo edge to edge, big uppercase headline (Draft B) */
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 64px); display: flex; align-items: flex-end; padding-block: 88px 72px !important; background: #000 !important; background-image: none !important; color: #FFFFFF !important; }
.hero > .wrap { position: static !important; display: block !important; width: 100%; }
.hero > .wrap > div:first-child { position: relative; z-index: 1; }
.hero .hshop { position: absolute !important; inset: 0; margin: 0 !important; z-index: 0; }
.hero .hshop img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; aspect-ratio: auto !important; object-fit: cover; object-position: 50% 35%; border-radius: 0 !important; filter: brightness(.46) saturate(1.1) contrast(1.05); }
.hero .hshop figcaption { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 18px; max-width: 280px; color: rgba(255, 255, 255, .7) !important; font-size: 12px; text-align: right; }
.hero .years-word { display: block !important; margin-bottom: 18px; }
.hero .years-word b, .hero .years-word span { background: none !important; padding: 0 !important; display: inline !important; font: 600 13px/1.6 'Barlow', var(--body) !important; letter-spacing: .22em !important; text-transform: uppercase; }
.hero .years-word b { color: #FFC20E !important; }
.hero .years-word b::after { content: " "; }
.hero .years-word span { color: #FFFFFF !important; font-weight: 400 !important; }
.hero h1 { font-family: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif !important; text-transform: uppercase !important; font-weight: 700 !important; letter-spacing: .03em !important; line-height: .95 !important; font-size: clamp(36px, 4.9vw, 68px) !important; max-width: 15ch; color: #FFFFFF !important; }
.hero p { color: rgba(255, 255, 255, .9) !important; font-size: 18px !important; max-width: 52ch; }
.hero p.bm, .hero p.zh { color: rgba(255, 255, 255, .72) !important; font-size: 14.5px !important; }
.hero .cta { margin-top: 26px; align-items: center; }
.hero .btn-o { border: 0 !important; color: #FFFFFF !important; padding: 13px 6px !important; text-decoration: underline; text-underline-offset: 5px; background: none !important; }
.hero .open-now, .hero .open-now b, .hero .open-now small { color: #FFFFFF !important; }
.hero :focus-visible { outline-color: #FFC20E !important; box-shadow: 0 0 0 6px #000 !important; }
.d-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1; color: rgba(255, 255, 255, .75); font: 400 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.d-cue::after { content: ""; width: 1px; height: 28px; background: rgba(255, 255, 255, .6); animation: dcue 1.8s ease-in-out 3; }
@keyframes dcue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* facts: one quiet line */
.facts .wrap { padding-block: 22px !important; }
.facts .fact b { font-size: 19px !important; }
.facts .fact span { font-size: 14px !important; }

/* How to order on Home: the quote form opens from a button */
html[data-page="home"] .qfold > summary { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 18px; padding: 13px 22px !important; border-radius: 980px !important; border: 1px solid #F5F5F7 !important; color: #F5F5F7 !important; background: transparent !important; font: 500 16px/1 var(--body) !important; cursor: pointer; list-style: none; }
html[data-page="home"] .qfold > summary::-webkit-details-marker { display: none; }
html[data-page="home"] .qfold:not([open]) > .qform { display: none !important; }
html[data-page="home"] .trade .wrap { grid-template-columns: minmax(0, 1fr) !important; }
html[data-page="home"] .trade .qfold { max-width: 640px; }

/* the four tiles: Apple-style, one idea each */
.d-tiles { background: #FFFFFF; padding-block: 12px 80px !important; }
.d-tiles .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.d-tile { border-radius: 22px; padding: 40px 36px 36px; min-height: 280px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: #1D1D1F; background: #F5F5F7; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.d-tile:hover { transform: translateY(-3px); }
.d-tile.dark { background: #1D1D1F; color: #F5F5F7; }
.d-tile small { font: 400 14px/1.3 var(--body); color: #6E6E73; }
.d-tile.dark small { color: #A1A1A6; }
.d-tile h3 { margin: 0; font: 600 clamp(26px, 3vw, 36px)/1.1 var(--display) !important; letter-spacing: -.02em !important; color: inherit !important; }
.d-tile p { margin: 0; font-size: 17px; color: inherit; opacity: .85; max-width: 38ch; }
.d-tile .go { margin-top: auto; color: #14213D; font-size: 17px; }
.d-tile.dark .go { color: #FFC20E; }
.d-tile .go::after { content: " ›"; font-size: 20px; }
.d-tile .zh, .d-tile .bm { font-size: 14px; opacity: .7; }

/* separate pages: a calm title area under the bar */
html[data-page]:not([data-page="home"]) main > section:first-of-type { padding-top: 64px !important; }
html[data-page]:not([data-page="home"]) .sec-head h2 { font-size: clamp(36px, 5vw, 56px) !important; }
.d-back { display: inline-block; margin-bottom: 18px; color: #14213D; text-decoration: none; font-size: 15px; }
.d-back::before { content: "‹ "; }

/* which sections show on which page */
html[data-page="home"] #guides, html[data-page="home"] #catalogues, html[data-page="home"] #faq, html[data-page="home"] #contact { display: none !important; }
html[data-page="guides"] main > *:not(#guides),
html[data-page="catalogues"] main > *:not(#catalogues),
html[data-page="help"] main > *:not(#trade):not(#faq),
html[data-page="contact"] main > *:not(#contact) { display: none !important; }
html[data-page="help"] #trade { padding-top: 64px !important; }
html[data-page="help"] .trade { background: #FFFFFF !important; color: #1D1D1F !important; --ink: #1D1D1F !important; --muted: #6E6E73 !important; --head: #1D1D1F !important; --line: #E3E3E6 !important; --surface: #F5F5F7 !important; }
html[data-page="help"] .trade .qform { background: #F5F5F7 !important; color: #1D1D1F !important; }
html[data-page="help"] .trade .fld input, html[data-page="help"] .trade .fld select, html[data-page="help"] .trade .fld textarea { background: #FFFFFF !important; color: #1D1D1F !important; border-color: #D2D2D7 !important; }
html[data-page="help"] .trade .eyebrow { color: #6E6E73 !important; }
html[data-page="help"] .trade a, html[data-page="help"] .trade .rm-btn { color: #14213D; }
html[data-page="help"] .trade .btn-o, html[data-page="help"] .trade .btn-ghost { color: #14213D !important; border-color: #14213D !important; }
html[data-page="help"] .perks b { color: #1D1D1F !important; }

/* draft label */
.d-strip { background: #000; color: #F5F5F7; font: 600 12px/1 var(--body); letter-spacing: .06em; text-align: center; padding: 9px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px)); }
.d-strip a { color: #FFC20E !important; margin-left: 10px; }

@media (max-width: 760px) {
  .hero { min-height: calc(100svh - 110px); padding-block: 36px 56px !important; }
  .hero h1 { font-size: clamp(32px, 9.4vw, 44px) !important; }
  .hero p { font-size: 16px !important; } .hero p.bm, .hero p.zh { font-size: 13.5px !important; margin-top: 6px !important; }
  .hero .years-word { margin-bottom: 12px; } .hero .cta { margin-top: 18px; gap: 8px; } .d-cue { display: none; }
  .hero .hshop figcaption { display: none; }
  .hero .cta { flex-direction: column; align-items: stretch; }
  .d-tiles .wrap { grid-template-columns: minmax(0, 1fr); }
  .d-tile { min-height: 0; padding: 30px 24px 26px; }
}
@media (max-width: 380px) { .hero h1 { font-size: 34px !important; } }
@media (prefers-reduced-motion: reduce) { .d-cue::after { animation: none; } .d-tile { transition: none; } }

@media (max-height: 820px) and (min-width: 761px) { .hero h1 { font-size: clamp(34px, 4.3vw, 58px) !important; } .hero p.bm, .hero p.zh { display: inline; margin-right: 10px; } }

/* very small phones: logo and WhatsApp button share the bar without pushing the page wider */
@media (max-width: 340px) {
  .bar .wrap { gap: 8px !important; }
  .bar .logo b { font-size: 21px !important; }
  .bar .logo span { letter-spacing: .06em !important; font-size: 10px !important; }
  .bar .logo svg { width: 26px !important; height: 26px !important; }
  .bar .btn { padding: 10px 12px !important; }
}

/* hero photo: the cropped building shot (no vehicles) */
.hero .hshop img { object-position: 50% 45% !important; }

/* phone strip: page tabs as pills, the current page filled (17 Oct) */
.jump.ptabs { gap: 6px !important; padding: 6px 16px 10px !important; background: rgba(0, 0, 0, .9) !important; border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent); }
.jump.ptabs a { padding: 8px 14px !important; border-radius: 980px !important; border: 0 !important; box-shadow: none !important; background: transparent !important;
  font: 500 14.5px/1 var(--body) !important; letter-spacing: -.01em !important; text-transform: none !important; color: rgba(255, 255, 255, .78) !important; opacity: 1 !important; }
.jump.ptabs a:hover { color: #FFFFFF !important; }
.jump.ptabs a[aria-current="page"], .jump.ptabs a.cur { background: #FFFFFF !important; color: #000000 !important; font-weight: 600 !important; }
.jump.ptabs a.on:not(.cur) { background: transparent !important; color: rgba(255, 255, 255, .78) !important; }
.jump.ptabs a.here { box-shadow: none !important; }

@media (max-width: 760px) { .hero .hshop img { object-position: 42% 70% !important; } }

/* hero headline: short, with a smaller second line (17 Oct) */
.hero h1 { font-size: clamp(44px, 6.4vw, 92px) !important; max-width: none !important; }
.hero h1 .h1-sub { display: block; margin-top: .28em; font-size: .36em; line-height: 1.15; letter-spacing: .06em; font-weight: 600; color: rgba(255, 255, 255, .88); }
@media (max-width: 760px) { .hero h1 { font-size: clamp(40px, 12vw, 54px) !important; } .hero h1 .h1-sub { font-size: .42em; } }

/* main menu: current page and the Products section on Home */
.nav a[aria-current="page"], .nav a.cur { opacity: 1 !important; box-shadow: inset 0 -2px 0 #FFC20E !important; }
.nav a.on:not(.cur):not([aria-current]) { box-shadow: none !important; }

/* how prices work, beside the product finder */
.p-feats { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.p-feats li { background: #F5F5F7; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.p-feats b { font: 600 15.5px/1.25 var(--body); color: #1D1D1F; }
.p-feats span { font-size: 14px; line-height: 1.4; color: #6E6E73; }
.p-feats a { color: #14213D; font-weight: 600; white-space: nowrap; }
.p-feats a::after { content: " ›"; }
@media (max-width: 760px) {
  .p-feats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .p-feats::-webkit-scrollbar { display: none; }
  .p-feats li { scroll-snap-align: start; }
}

/* phone hero: the shop photo is a band at the top, the text sits below it on black (Lee, 17 Oct) */
@media (max-width: 760px) {
  .hero { min-height: 0 !important; display: block !important; padding-block: 30vw 44px !important; }
  .hero .hshop { inset: 0 0 auto 0 !important; height: 58vw; }
  .hero .hshop img { object-position: 50% 38% !important; filter: brightness(.6) saturate(1.1) contrast(1.05) !important; }
  .hero .hshop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000); pointer-events: none; }
}

/* menu taps land right under the sticky header (d_pages.js sets --hdr to its height) */
html { scroll-padding-top: 0 !important; }
section[id], .finder { scroll-margin-top: var(--hdr, 104px) !important; }

@media (max-width: 480px) { .bar .btn .lbl { display: none !important; } }
@media (max-width: 760px) { .p-feats { margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; } .hero .years-word b, .hero .years-word span { letter-spacing: .16em !important; } }
main [id] { scroll-margin-top: var(--hdr, 104px); }

/* readable text on the light Help and Contact pages (17 Oct) */
html[data-page="help"] .osteps strong, html[data-page="help"] .perks b { color: #1D1D1F !important; }
html[data-page="help"] .osteps li > span, html[data-page="help"] .perks span { color: #515154 !important; }
html[data-page="contact"] #contact .ctext, html[data-page="contact"] #contact .hours span, html[data-page="contact"] #contact .hours-st, html[data-page="contact"] #contact .hours-st b { color: #1D1D1F !important; }
html[data-page="contact"] #contact .cnote, html[data-page="contact"] #contact figcaption { color: #515154 !important; }
html[data-page="contact"] #contact a.ctext { color: #14213D !important; }
@media (max-width: 440px) { .hero .years-word b, .hero .years-word span { letter-spacing: .08em !important; font-size: 12.5px !important; } }

/* Shop by range: header toggle shows all 9; "We also supply" row (17 Oct) */
.rs-h .rs-all[aria-expanded]::after { content: " ›"; display: inline-block; transition: transform .2s; }
.rs-h .rs-all[aria-expanded="true"]::after { transform: rotate(90deg); }
.rs-also { margin: 22px 0 4px; }
.rs-also h4 { margin: 0 0 10px; font: 600 16px/1.2 var(--body); color: #1D1D1F; }
.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 980px; background: #F5F5F7; color: #1D1D1F !important; text-decoration: none !important; font: 500 14.5px/1.2 var(--body); }
.rs-chip small { color: #6E6E73; font-size: 13px; font-weight: 400; }
.rs-chip::after { content: "›"; color: #6E6E73; margin-left: 2px; }
.rs-chip:hover { background: #E8E8ED; }
@media (max-width: 600px) { .rs-chip { min-height: 40px; padding: 7px 14px; font-size: 14px; } }
/* cable guide: appliance and parts tables (17 Oct) */
.gtable.gt-app td:first-child, .gtable.gt-parts td:first-child { font-weight: 600; color: #1D1D1F; }
.gtable .g-go { white-space: nowrap; font-weight: 600; color: #14213D; }
.gtable .g-go::after { content: " ›"; }
@media (max-width: 700px) {
  .gtable.gt-app thead { display: none; }
  .gtable.gt-app, .gtable.gt-app tbody, .gtable.gt-app tr, .gtable.gt-app td { display: block; width: auto; }
  .gtable.gt-app tr { padding: 12px 0; border-bottom: 1px solid #E3E3E6; }
  .gtable.gt-app td { border: 0 !important; padding: 2px 0 !important; font-size: 14.5px; }
  .gtable.gt-app td:first-child { font-size: 16px; padding-bottom: 6px !important; }
  .gtable.gt-app td:not(:first-child)::before { display: inline-block; min-width: 72px; color: #6E6E73; font-size: 13px; }
  .gtable.gt-app td:nth-child(2)::before { content: "Cable"; } .gtable.gt-app td:nth-child(3)::before { content: "MCB"; }
  .gtable.gt-app td:nth-child(4)::before { content: "RCCB"; } .gtable.gt-app td:nth-child(5)::before { content: "Also fit"; }
  .gtable.gt-app td:nth-child(n+2) { display: flex; gap: 8px; } .gtable.gt-app td:nth-child(n+2)::before { flex: none; }
  .gtable.gt-app td:empty { display: none !important; }
}
@media (min-width: 701px) { .gtable.gt-app td:nth-child(3) { white-space: nowrap; } }

/* speed and feel (17 Oct) */
main#top { scroll-margin-top: var(--hdr, 104px); }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
.bar { view-transition-name: gbar; }
::view-transition-group(gbar) { animation-duration: 0s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.ptabs a, .bar .nav a, .rs-chip, .rs-all { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ptabs a:active { background: rgba(255, 255, 255, .22) !important; }
html[data-page]:not([data-page="home"]).motion .rv, html[data-page]:not([data-page="home"]).motion .rv-l, html[data-page]:not([data-page="home"]).motion .rv-s { transition-duration: .2s !important; transition-delay: 0s !important; transform: none; }

/* persona test 4 (17 Oct): sub-page H1, bigger tap targets */
.sec-head h1 { order: 1; margin: 0; font-size: clamp(36px, 5vw, 56px) !important; line-height: 1.1 !important; }
.d-back { display: inline-flex; align-items: center; min-height: 44px; padding-right: 12px; }
.p-feats a { display: inline-block; padding: 8px 0; margin: -8px 0; }

/* quote list title: white on the navy bar (was dark on navy, 17 Oct) */
#sheet-bg h2 { color: #FFFFFF !important; }

/* 中文 switch (draft, 17 Oct 2026) */
.zh-sw { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 12px; margin-right: 10px; border: 0; border-radius: 980px;
  background: rgba(255, 255, 255, .1); color: #FFFFFF; font: 600 14px/1 var(--body, system-ui, sans-serif); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.zh-sw .zh-k { position: relative; width: 36px; height: 22px; border-radius: 22px; background: rgba(255, 255, 255, .35); transition: background .2s; flex: none; }
.zh-sw .zh-k::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; transition: transform .2s; }
.zh-sw[aria-checked="true"] .zh-k { background: #FFC20E; }
.zh-sw[aria-checked="true"] .zh-k::after { transform: translateX(14px); }
.zh-sw:focus-visible { outline: 2px solid #FFC20E; outline-offset: 2px; }
@media (max-width: 370px) { .zh-sw .zh-t { font-size: 12px; } .bar .logo b { font-size: 21px !important; } .bar .logo span { font-size: 10px !important; letter-spacing: .1em !important; } .bar .logo .zh-logo { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .zh-sw .zh-k, .zh-sw .zh-k::after { transition: none; } }
@media (max-width: 480px) { .zh-sw { padding: 0 6px; margin-right: 4px; gap: 5px; font-size: 13px; background: none; } .zh-sw .zh-k { width: 28px; height: 18px; } .zh-sw .zh-k::after { width: 12px; height: 12px; } .zh-sw[aria-checked="true"] .zh-k::after { transform: translateX(10px); }
  .bar .wrap { gap: 6px !important; } .bar .logo { min-width: 0; flex: 0 1 auto; } .bar .logo > div { white-space: nowrap; min-width: 0; } .bar .logo svg { flex: none; } .bar .logo b { font-size: 24px !important; } .bar .logo span { letter-spacing: .14em !important; }
  .zh-sw { margin-left: auto; }
  .bar .btn.wa { flex: none; width: 48px; min-width: 48px; height: 48px; padding: 0 !important; justify-content: center; border-radius: 50% !important; } .zh-sw .zh-t { white-space: nowrap; } }
/* Chinese on: the page text is already Chinese, so hide the repeated Malay and Chinese one-liners */
html.zh-on p.bm, html.zh-on p.zh, html.zh-on .hero p.zh, html.zh-on .hero .zh-line { display: none !important; }
html.zh-on .hero h1 { letter-spacing: .02em !important; }
html.zh-on body { font-family: var(--body, system-ui), "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
#wapill, #wapill * { white-space: nowrap; }
