/* MAISOM — style A "classic navy & gold". Mobile first; desktop navigation from 1180px.
   Fonts: Cormorant Garamond and Mulish (SIL OFL, self-hosted). Chinese uses the visitor's system fonts. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-500-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Mulish; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/mulish-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Mulish; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/mulish-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Mulish; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/mulish-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Mulish; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/mulish-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --bg: #F7F4EE;
  --bg-2: #ECE7DE;
  --navy: #1B2B57;
  --navy-deep: #101B30;
  --gold-line: #B08D57;    /* lines and graphics only, never text */
  --gold-lg: #A2804A;      /* large text */
  --gold-sm: #8C6A35;      /* small text */
  --gold-on-dark: #D6B26E;
  --ink: #23252B;
  --mute: #625F5A;
  --line: rgba(27, 43, 87, .13);
  --line-dark: rgba(255, 255, 255, .16);
  --text-dark: rgba(255, 255, 255, .76); /* body text on navy */
  --error-dark: #F2B8B5;
  --focus: var(--navy);
  --sans: Mulish, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --max: 1240px;
  --gutter: 20px;
  --header-h: 64px;
  --section-y: clamp(64px, 9vw, 112px);
}
html[lang="zh-CN"] {
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Cormorant Garamond", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "Microsoft YaHei", serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--navy); overflow-wrap: break-word; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); }
p { text-wrap: pretty; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: var(--header-h); }
#inquiry { scroll-margin-top: calc(var(--header-h) + 24px); }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden, .hp {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
}
.skip { position: absolute; top: 8px; left: var(--gutter); z-index: 100; padding: 12px 18px; background: var(--navy); color: #fff; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- Shared pieces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 26px;
  border: 1px solid var(--navy); border-radius: 0; background: transparent; color: var(--navy);
  font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; text-align: center;
  transition: color .2s, background-color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold-on-dark); border-color: var(--gold-on-dark); color: var(--navy-deep); }
.btn-gold:hover { background: transparent; color: var(--gold-on-dark); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }

.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-sm); }
.eyebrow::before { content: ""; flex: none; width: 36px; height: 1px; background: var(--gold-line); }

.more { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-sm); }
a.more:hover { color: var(--navy); }

.soon {
  display: flex; align-items: center; justify-content: center; height: 100%; min-height: 220px; padding: 24px;
  background: var(--bg-2); color: var(--mute); font: italic 500 20px/1.4 var(--serif); text-align: center;
  text-wrap: balance; /* in narrow cards, no single word or character alone on the last line */
}

.chev { width: 10px; height: 10px; transition: transform .2s; }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }

/* ---------- Header (mobile and tablet) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled, html.menu-open .site-header { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { flex: none; }
.brand img { width: auto; height: 28px; }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--navy); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s, background-color .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { transform: translateY(-7px); }
.menu-icon::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

/* The panel scrolls itself when it is taller than the screen. */
.site-nav {
  display: none; position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0;
  overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 48px; background: var(--bg); border-top: 1px solid var(--line);
}
html.menu-open .site-nav { display: block; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-link { display: block; padding: 16px 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--gold-sm); }
.has-mega { display: flex; flex-wrap: wrap; align-items: center; }
.has-mega > .nav-link { flex: 1; }
.mega-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -12px; padding: 0; border: 0; background: none; color: var(--navy); }
.mega { display: none; flex-basis: 100%; }
.mega-toggle[aria-expanded="true"] + .mega { display: block; }
.mega-inner { display: flex; flex-direction: column; padding: 0 0 12px 16px; }
.mega-all { order: -1; }
.mega-cat, .mega-all { display: block; padding: 11px 0; font-size: 15px; color: var(--navy); }
.mega-subs { display: none; }

.nav-tools { padding-top: 28px; }
.nav-search { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 12px; font-size: 14px; color: var(--navy); }
.search-icon { width: 20px; height: 20px; flex: none; }
.lang-toggle { display: none; }
.lang-menu { display: flex; gap: 8px; }
.lang-menu li { flex: 1; }
.lang-menu a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px; border: 1px solid var(--line); font-size: 14px; }
.lang-menu a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav-tools .btn { display: flex; width: 100%; margin-top: 16px; }

@media (max-width: 1179.98px) {
  html.menu-open { overflow: hidden; }
}

/* ---------- Header (desktop) ---------- */
@media (min-width: 1180px) {
  :root { --header-h: 84px; }
  .brand img { height: 34px; }
  .menu-toggle { display: none; }
  .site-nav {
    display: flex; position: static; align-self: stretch; align-items: center; justify-content: space-between; gap: 32px; flex: 1;
    margin-left: clamp(24px, 4vw, 64px); padding: 0; overflow: visible; background: none; border: 0;
  }
  .nav-list { display: flex; align-self: stretch; gap: clamp(20px, 2.2vw, 34px); margin-inline: auto; } /* centred between logo and tools, as in mockup A */
  .nav-item { display: flex; align-items: center; border: 0; }
  .nav-link { padding: 8px 0; font-size: 12px; }
  .nav-link[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 8px; }
  .nav-link:hover { color: var(--gold-sm); }
  .has-mega { flex-wrap: nowrap; }
  .mega-toggle { width: 26px; height: 40px; margin: 0 0 0 2px; }

  /* Full-width panel under the header; the header is its containing block. */
  .mega {
    display: block; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 28px 48px -30px rgba(16, 27, 48, .5);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  /* With JS, keyboard users open the panel with the chevron button and close it with Esc;
     without JS, focus inside the item opens it. */
  html:not(.js) .has-mega:focus-within .mega,
  .mega-toggle[aria-expanded="true"] + .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .mega-inner {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 40px;
    max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: 40px var(--gutter) 32px;
  }
  .mega-cat { padding: 0 0 6px; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.2; }
  .mega-cat:hover, .mega-subs a:hover { color: var(--gold-sm); }
  .mega-subs { display: block; }
  .mega-subs a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
  .mega-all {
    grid-column: 1 / -1; order: 0; margin-top: 20px; padding: 20px 0 0; border-top: 1px solid var(--line);
    font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-sm);
  }
  .mega-all:hover { color: var(--navy); }

  .nav-tools { display: flex; align-self: stretch; align-items: center; gap: 22px; padding: 0; }
  .lang { position: relative; display: flex; align-self: stretch; align-items: center; }
  .lang-toggle {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 2px; border: 0; background: none;
    font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--navy);
  }
  .lang-menu {
    display: none; position: absolute; top: 100%; right: -20px; min-width: 168px; padding: 8px 0;
    background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 36px -20px rgba(16, 27, 48, .45);
  }
  .lang-toggle[aria-expanded="true"] + .lang-menu,
  html:not(.js) .lang:hover .lang-menu,
  html:not(.js) .lang:focus-within .lang-menu { display: block; }
  .lang-menu a { justify-content: flex-start; min-height: 0; padding: 9px 20px; border: 0; color: var(--ink); }
  .lang-menu a:hover { color: var(--gold-sm); }
  .lang-menu a[aria-current="true"] { background: none; color: var(--navy); font-weight: 600; box-shadow: inset 2px 0 var(--gold-line); }
  .nav-tools .btn { width: auto; min-height: 44px; margin-top: 0; padding: 11px 22px; }
  .nav-search { margin: 0; padding: 0 2px; }
  .nav-search:hover { color: var(--gold-sm); }
  .nav-search-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* the icon alone on the bar */
}
@media (min-width: 1180px) and (hover: hover) {
  .has-mega:not(.hover-off):hover .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; } /* .hover-off: shut with Esc */
}

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 112px); }
.hero-inner { display: grid; gap: 48px; }
.hero-title { margin: 24px 0; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.01em; }
.hero-title em { font-style: italic; color: var(--gold-lg); }
.lead { max-width: 32em; font-size: 17px; line-height: 1.8; color: var(--mute); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.arch-frame { width: min(100%, 360px); margin-inline: auto; padding: 12px; border: 1px solid var(--gold-line); border-bottom: 0; border-radius: 999px 999px 0 0; }
.arch { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--bg-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* Slides (扩展 › 轮播图片 "home") lie on top of each other; the current one shows, the others fade out of sight and
   out of the tab order. */
.arch-frame, .arch { position: relative; }
.arch .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.arch .slide.is-current { z-index: 1; opacity: 1; visibility: visible; }
.slides-toggle { position: absolute; right: 24px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--gold-line); border-radius: 50%; background: rgba(247, 244, 238, .92); color: var(--navy); cursor: pointer; }
.slides-toggle:hover { background: #fff; }
.slides-toggle svg { width: 16px; height: 16px; }
.slides-toggle .icon-play, .slides-toggle.is-paused .icon-pause { display: none; }
.slides-toggle.is-paused .icon-play { display: block; }

/* ---------- Home: sections ---------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); text-align: center; }
.section-title { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 22px); }
.dots { flex: none; font-family: var(--sans); font-size: 13px; line-height: 1; letter-spacing: 6px; color: var(--gold-line); }
.dots:first-child { margin-right: -6px; } /* cancel the trailing letter-spacing so both sides match */
.section-sub { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.cat-card { position: relative; }
.cat-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-media .soon, .cat-block-media .soon { min-height: 0; }
.cat-name { margin: 20px 0 6px; font-size: clamp(21px, 2vw, 26px); font-weight: 600; line-height: 1.2; }
.cat-name a::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.cat-name a:focus-visible { outline: none; }
.cat-name a:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 6px; }
.cat-card:hover .cat-name a, .cat-name a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold-line); text-underline-offset: 6px; }
.cat-subs { font-size: 14px; line-height: 1.6; color: var(--mute); word-spacing: .6em; } /* the space between names gives back the margin below */
.cat-subs span { display: inline-block; word-spacing: normal; } /* a product name moves to the next line whole; one wider than the card wraps inside itself */
.cat-subs span:not(:last-child) { margin-right: -.6em; } /* the " ·" after a name (about .5em) may hang past the line end, so a name that fits is never split */
.cat-subs span:not(:last-child)::after { content: "\a0\b7"; } /* " ·", its space a no-break one, so a · never starts a line */

.about-grid { display: grid; gap: 40px; }
.about-copy { max-width: 38em; }
.about-copy p + p { margin-top: 1.1em; }
/* The list of the about page (单页 关于我们) is its facts: the bold start of each one is its label. */
.about-copy ul { display: grid; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-copy li { padding-left: 16px; border-left: 1px solid var(--gold-line); font-size: 14px; font-weight: 600; line-height: 1.55; color: var(--navy); }
.about-copy li strong { display: block; margin-bottom: 6px; font-size: 11px; font-weight: inherit; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-sm); }

/* The list of the service page (单页 服务优势): each item a bold title and a line under an icon, gift, heart, chat and
   check circle in turn. The padding keeps the line within 26em, centred. */
.service-grid ul { display: grid; }
.service-grid li { padding: 32px max(8px, (100% - 26em) / 2); font-size: 14.5px; line-height: 1.7; color: var(--mute); text-align: center; text-wrap: pretty; }
.service-grid li + li { border-top: 1px solid var(--line); }
.service-grid li::before { content: ""; display: block; width: 32px; height: 32px; margin: 0 auto 20px; background: var(--navy); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.service-grid li:nth-child(4n + 1) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2'%3E%3Crect x='3.5' y='8' width='17' height='4' rx='.5'/%3E%3Cpath d='M5 12v8.5h14V12M12 8v12.5M12 8C10 4 6.5 5 8 7.5c.6 1 4 .5 4 .5Zm0 0c2-4 5.5-3 4-.5-.6 1-4 .5-4 .5Z'/%3E%3C/svg%3E"); }
.service-grid li:nth-child(4n + 2) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.6a4.3 4.3 0 0 1 7.5 2.9c0 5.4-7.5 10-7.5 10Z'/%3E%3C/svg%3E"); }
.service-grid li:nth-child(4n + 3) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M4 5.5h16v10H9.5L5.5 19v-3.5H4z'/%3E%3Cpath d='M8.5 10.5h.01M12 10.5h.01M15.5 10.5h.01' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.service-grid li:nth-child(4n) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.2 12.2 2.6 2.6 5-5.3'/%3E%3C/svg%3E"); }
.service-grid strong { display: block; margin-bottom: 12px; font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); overflow-wrap: break-word; text-wrap: balance; }

/* ---------- Home: work with us + inquiry form ---------- */
.work, .oem-band, .site-footer { --focus: var(--gold-on-dark); }
.work { padding-block: var(--section-y); background: var(--navy); color: var(--text-dark); color-scheme: dark; }
.work-inner { display: grid; gap: 48px; }
.work .eyebrow, .oem-band .eyebrow { color: var(--gold-on-dark); }
.work .eyebrow::before, .oem-band .eyebrow::before { background: var(--gold-on-dark); }
.work-title { margin: 20px 0 16px; color: #fff; }
.work-sub { max-width: 30em; font-size: 17px; }
.work-direct { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.work-direct-title { margin-bottom: 12px; font: italic 500 22px/1.3 var(--serif); color: #fff; }
.work-direct p:not(.work-direct-title) { margin-top: 6px; }
.work-label, .footer-label { display: inline-block; min-width: 96px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-on-dark); }
.work-direct a, .site-footer address a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; overflow-wrap: anywhere; }
.work-direct a:hover, .site-footer address a:hover { text-decoration-color: var(--gold-on-dark); }

.form-legend { margin-bottom: 20px; font-size: 13px; }
.req { color: var(--gold-on-dark); }
.form-grid { display: grid; gap: 20px 24px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 0;
  background: transparent; color: #fff; font-size: 16px; line-height: 1.5;
}
.field select {
  appearance: none; padding-right: 42px; background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23D6B26E' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-on-dark); outline-offset: 0; border-color: var(--gold-on-dark); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error-dark); }
.form-note { margin: 20px 0 24px; font-size: 13px; }
.form-status { margin-top: 20px; padding: 14px 18px; border: 1px solid var(--line-dark); color: #fff; font-size: 15px; line-height: 1.6; }
.form-status:empty { margin: 0; padding: 0; border: 0; } /* rendered but invisible until a message arrives */
.form-status[data-state="success"] { border-color: var(--gold-on-dark); }
.form-status[data-state="error"] { border-color: var(--error-dark); }
.form-status a { color: #fff; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Products overview and category pages ---------- */
.page-head { padding-block: clamp(36px, 6vw, 80px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; letter-spacing: -.01em; }
.page-intro { max-width: 38em; margin-top: 18px; font-size: 17px; color: var(--mute); }
.breadcrumb { margin-bottom: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.breadcrumb li { display: flex; align-items: center; gap: 12px; }
.breadcrumb li + li::before { content: ""; width: 1px; height: 12px; background: var(--gold-line); transform: rotate(20deg); }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--gold-sm); }
.chips ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.chips a:hover { border-color: var(--navy); }

.cat-block { padding-block: clamp(48px, 7vw, 96px); }
.cat-block + .cat-block { border-top: 1px solid var(--line); }
.cat-block-inner { display: grid; gap: 32px; }
.cat-block-media { display: block; width: min(100%, 440px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.cat-block-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-block-copy > p { max-width: 36em; margin-top: 16px; font-size: 17px; color: var(--mute); }
.sub-links { max-width: 36em; margin: 28px 0 8px; border-top: 1px solid var(--line); }
.sub-links li { border-bottom: 1px solid var(--line); }
.sub-links a { display: block; padding: 12px 0; font: 500 21px/1.35 var(--serif); color: var(--navy); }
.sub-links a:hover { color: var(--gold-sm); }

.sub-block { padding-block: clamp(44px, 6vw, 80px); }
.sub-block + .sub-block { border-top: 1px solid var(--line); }
.sub-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
.product-card a { display: block; }
.product-media { aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .soon { min-height: 0; padding: 12px; font-size: 16px; }
.soon-row .soon { grid-column: 2 / -1; min-height: 0; } /* beside the cover of a subcategory with no products yet */
.product-name { display: block; margin-top: 14px; font: 600 clamp(18px, 1.8vw, 21px)/1.3 var(--serif); color: var(--navy); overflow-wrap: break-word; }
.product-card a:hover .product-name, .product-card a:focus-visible .product-name { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold-line); text-underline-offset: 5px; }

/* ---------- Product page ---------- */
.product { padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.product-layout { display: grid; gap: 32px; }
/* Every photo in one strip, one in view at a time: swipe it, scroll it with the arrow keys, or pick a thumbnail. */
.product-gallery { position: relative; display: grid; gap: 12px; align-content: start; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; } /* the thumbnails show where you are */
.product-shot { aspect-ratio: 1; background: var(--bg-2); scroll-snap-align: start; scroll-snap-stop: always; } /* one photo per swipe */
.product-shot img { width: 100%; height: 100%; object-fit: contain; } /* the whole product, never cropped */
.product-gallery > .soon { height: auto; aspect-ratio: 1; min-height: 0; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.gallery-thumbs a { display: block; padding: 3px; border: 1px solid transparent; }
.gallery-thumbs a:hover { border-color: var(--line); }
.gallery-thumbs a[aria-current="true"] { border-color: var(--navy); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-2); }
/* Full screen (site.js opens it; without site.js there is no enlarge button). */
.gallery-zoom { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); color: var(--navy); }
.gallery-zoom:hover { border-color: var(--navy); }
html:not(.js) .gallery-zoom { display: none; }
.js .product-shot { cursor: zoom-in; }
:is(.gallery-zoom, .lightbox button) svg { width: 20px; height: 20px; }
html:has(.lightbox[open]) { overflow: hidden; } /* the page behind stays still */
.lightbox { --focus: var(--gold-on-dark); inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--navy-deep); color: #fff; }
.lightbox-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; grid-auto-rows: 100%; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-shot { padding: 64px 12px; scroll-snap-align: start; scroll-snap-stop: always; cursor: zoom-out; }
.lightbox-shot img { width: 100%; height: 100%; object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: var(--navy-deep); color: #fff; }
.lightbox button:hover { border-color: var(--gold-on-dark); color: var(--gold-on-dark); }
.lightbox button[aria-disabled="true"] { border-color: var(--line-dark); color: #fff; opacity: .3; cursor: default; }
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev, .lightbox-next { bottom: 10px; } /* on a phone, below the photo, where the thumbs reach */
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-count { position: absolute; top: 20px; left: 16px; font-size: 14px; letter-spacing: .08em; color: var(--text-dark); }
.product-title { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; }
.product-intro { max-width: 34em; margin-top: 16px; font-size: 17px; color: var(--mute); }
.specs-title { margin: 40px 0 12px; font-size: clamp(24px, 2.4vw, 28px); }
.specs { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.specs th, .specs td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 40%; padding-right: 16px; font-weight: 600; color: var(--navy); } /* wider when a label's longest word needs it ("Personnalisation" on a phone) */
.specs td { overflow-wrap: anywhere; } /* a long model number wraps instead of widening the page */
.specs .tbc { color: var(--mute); }
.product-info .btn { margin-top: 32px; }
/* The owner's own description, full width below the photos and specifications. */
.product-details { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.details-title { font-size: clamp(24px, 2.4vw, 28px); }
.details-body { max-width: 38em; margin-top: 16px; font-size: 17px; overflow-wrap: break-word; } /* a pasted long link wraps */
.details-body p + p { margin-top: 1em; }
/* What the admin's editor can add: small headings, lists, tables and links. */
.details-body h3 { margin: 1.4em 0 0; font-size: 21px; }
.details-body :is(ul, ol, table) { margin-top: 1em; }
.details-body :is(ul, ol, table, h3) + p { margin-top: 1em; }
.details-body ul { padding-left: 1.3em; list-style: disc; }
.details-body ol { padding-left: 1.3em; list-style: decimal; }
.details-body li + li { margin-top: .3em; }
.details-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.details-body :is(th, td) { padding: 6px 12px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.details-body a { color: inherit; text-decoration: underline; }
.details-soon { margin-top: 12px; color: var(--mute); }

/* ---------- Generic pages: a column's list, an entry, a single page (pages/list, item, single) ---------- */
.entry-list { display: grid; gap: 44px 24px; }
.entry-card a { display: block; }
.entry-media { aspect-ratio: 3 / 2; margin-bottom: 18px; overflow: hidden; background: var(--bg-2); }
.entry-media img { width: 100%; height: 100%; object-fit: cover; }
.entry-date { font-size: 13px; letter-spacing: .08em; color: var(--mute); }
.entry-title { margin-top: 6px; font: 600 clamp(21px, 2vw, 25px)/1.25 var(--serif); color: var(--navy); overflow-wrap: break-word; }
.entry-summary { display: -webkit-box; margin-top: 10px; overflow: hidden; color: var(--mute); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.entry-card a:hover .entry-title, .entry-card a:focus-visible .entry-title { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold-line); text-underline-offset: 5px; }
.entry-body { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.entry-main { max-width: 760px; }
.entry-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.entry-photos figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.entry-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.entry-photos img { width: 100%; height: 100%; object-fit: cover; }
.entry-main > * + * { margin-top: clamp(32px, 4vw, 48px); }
.entry-text .details-title + .details-body { margin-top: 16px; }
.entry-text .details-body { margin-top: 0; }
.entry-specs a { color: inherit; text-decoration: underline; overflow-wrap: anywhere; }

/* ---------- 站内搜索 (pages/search.twig) ---------- */
.search-form { display: flex; flex-wrap: wrap; gap: 12px; max-width: 640px; margin-top: 28px; }
.search-form input { flex: 1 1 16em; min-width: 0; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); background: var(--bg); }
.search-count { color: var(--mute); }
.search-results { max-width: 46em; list-style: none; }
.search-results li { padding-block: 22px; border-bottom: 1px solid var(--line); }
.search-results a { font: 600 clamp(21px, 2vw, 25px)/1.25 var(--serif); color: var(--navy); }
.search-results a:hover { color: var(--gold-sm); }
.search-results small { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .08em; color: var(--mute); }
.search-results p { margin-top: 8px; color: var(--mute); }

/* ---------- OEM band and footer ---------- */
.oem-band { padding-block: clamp(48px, 6vw, 72px); background: var(--navy); color: #fff; }
.oem-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.oem-title { margin-top: 12px; color: #fff; }

.site-footer { padding-top: clamp(56px, 7vw, 88px); background: var(--navy-deep); color: var(--text-dark); font-size: 15px; }
.footer-grid { display: grid; gap: 40px; }
.footer-logo { width: 150px; }
.footer-logo.uploaded { filter: brightness(0) invert(1); } /* a logo uploaded in the admin, white on navy like logo-white.png */
.footer-tagline { max-width: 32em; margin: 22px 0 26px; }
.site-footer address { line-height: 1.8; }
.site-footer address p + p { margin-top: 4px; }
.footer-company { color: #fff; font-weight: 600; }
p.footer-label { display: block; margin-top: 28px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.social a:hover { border-color: var(--gold-on-dark); color: var(--gold-on-dark); }
.social svg { width: 16px; height: 16px; }
.footer-heading { margin-bottom: 18px; font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-on-dark); }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: rgba(255, 255, 255, .86); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: clamp(48px, 6vw, 72px); padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .62); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-langs a { display: inline-block; padding-block: 6px; color: rgba(255, 255, 255, .86); }
.footer-langs a:hover, .footer-langs a[aria-current="true"] { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-on-dark); text-underline-offset: 4px; }

/* ---------- Chinese ---------- */
html[lang="zh-CN"] body { line-height: 1.8; }
html[lang="zh-CN"] :is(h1, h2, h3, .service-grid strong) { letter-spacing: .02em; line-height: 1.3; }
html[lang="zh-CN"] :is(.nav-link, .btn, .eyebrow, .section-sub, .more, .service-grid strong, .footer-heading, .footer-label, .work-label, .about-copy li strong, .breadcrumb ol, .chips a, .mega-all, .lang-toggle) {
  letter-spacing: .05em; text-transform: none;
}
html[lang="zh-CN"] :is(.nav-link, .btn, .chips a, .mega-all) { font-size: 14px; }
html[lang="zh-CN"] :is(.eyebrow, .section-sub, .more, .service-grid strong, .footer-heading, .footer-label, .work-label, .about-copy li strong, .breadcrumb ol) { font-size: 13px; }
html[lang="zh-CN"] :is(em, .soon, .work-direct-title) { font-style: normal; } /* no faux italics on Chinese glyphs */
html[lang="zh-CN"] .hero-title { font-size: clamp(36px, 5vw, 64px); line-height: 1.2; }

/* ---------- Tablet and up ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .cat-grid { gap: 40px 24px; }
  .about-copy ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid li { padding: 32px max(28px, (100% - 26em) / 2); }
  .service-grid li + li { border-top: 0; }
  .service-grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .service-grid li:nth-child(even) { border-left: 1px solid var(--line); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-full { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 16px; }
  .entry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
  .arch-frame { width: min(100%, 480px); margin-inline: auto 0; }
  .cat-block-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
  .cat-block:nth-of-type(even) .cat-block-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .cat-block:nth-of-type(even) .cat-block-media { order: 2; justify-self: end; }
}
@media (min-width: 900px) {
  /* Photos on the left, name and specifications beside them. */
  .product-layout { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(40px, 5vw, 80px); align-items: start; }
  .lightbox-shot { padding: 64px 96px; }
  .lightbox-close { top: 16px; right: 24px; }
  .lightbox-prev, .lightbox-next { top: calc(50% - 22px); bottom: auto; } /* beside the photo */
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
  .lightbox-count { top: 28px; left: 24px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .about-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .about-media { position: sticky; top: calc(var(--header-h) + 32px); }
  .service-grid ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-grid li { padding-block: 8px; }
  .service-grid li:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); }
  .service-grid li:first-child { border-left: 0; }
  .work-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
  .entry-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
  .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .footer-grid.has-links { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html, .gallery-track { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; }
}
