:root{
  /* Reference palette, with their blue accent replaced by Kolemann red */
  --red:#A2071D;          /* was --color-blue #003894 */
  --red-hover:#87061a;
  --black:#000;
  --white:#fff;
  --gray01:#3f494a;       /* body text */
  --gray02:#c6cfcf;       /* drawing lines */
  --gray03:#e6ecec;
  --gray04:#f7f7f7;       /* page */
  --gray05:#d7dddd;       /* rules */

  --gutter:clamp(1.25rem,4vw,3.5rem);
  --pad:clamp(4rem,8vw,8rem);
  --mono:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  --font:"Inter",system-ui,-apple-system,sans-serif;
  --ease-out-quint:cubic-bezier(.23,1,.32,1);
  --ease-out-expo:cubic-bezier(.19,1,.22,1);
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--gray04);color:var(--gray01);font-family:var(--font);
  font-size:1.25rem;line-height:1.65;letter-spacing:-.014em;overflow-x:hidden;
  -webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;color:var(--black);font-weight:600;line-height:1.15;letter-spacing:-.03em}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.shell{width:100%;max-width:1800px;margin-inline:auto;padding-inline:var(--gutter)}

.sec{padding-block:var(--pad)}
.sheet{background:var(--white);border-radius:clamp(1.5rem,3vw,2.5rem);padding:clamp(2rem,5vw,4rem)}
.accent{background:var(--red);color:rgba(255,255,255,.78);
  border-radius:clamp(1.75rem,4vw,3.5rem) clamp(1.75rem,4vw,3.5rem) 0 0}
.accent h2{color:var(--white)}
.accent .tag{color:rgba(255,255,255,.85)}
.accent .num{color:rgba(255,255,255,.5)}

.head{margin-bottom:clamp(2.5rem,5vw,4rem)}
.num{font-family:var(--mono);font-size:.8rem;letter-spacing:.14em;color:var(--gray02);display:block;margin-bottom:.9rem}
.tag{font-family:var(--mono);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--red);margin:0 0 .5rem}
.h2{font-size:clamp(1.9rem,3.2vw,3rem)}
.sub{margin:1.1rem 0 0;max-width:52ch;letter-spacing:-.016em}
.rule{border:0;margin:0}

/* inter-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/inter-v20-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/inter-v20-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/inter-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/inter-v20-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/inter-v20-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ── Header ─────────────────────────────────────────────── */
.hdr{position:fixed;inset:0 0 auto 0;z-index:80;background:rgba(247,247,247,.92);backdrop-filter:blur(12px)}
.hdr-in{max-width:1800px;margin-inline:auto;padding:1rem var(--gutter);display:flex;align-items:center;gap:1.5rem}
.hdr-logo img{width:200px;margin-top:15px;margin-bottom:15px}
.nav{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.75rem 1.4rem;align-items:center}
.nav a{font-size:1.25rem;font-weight:500;color:var(--gray01);transition:color .3s}
.nav a:hover{color:var(--red)}
.nav .zh{color:var(--red);font-weight:600}
.nav-mail{display:none}

/* Hamburger — hidden until the nav runs out of room */
.nav-toggle{display:none;position:relative;z-index:2;width:44px;height:44px;margin-left:1rem;
  border:0;background:none;cursor:pointer;padding:0;flex:none}
.nav-toggle span{display:block;width:26px;height:2px;margin:6px auto;background:var(--black);
  transition:transform .4s var(--ease-out-quint),opacity .25s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ── Hero ───────────────────────────────────────────────── */
.hero{padding-top:6rem;overflow:hidden;background:var(--gray04) url("/img/site/bg-dot.svg") repeat}
.hero-copy{padding-block:clamp(2.5rem,5vw,4rem) clamp(1rem,2vw,2rem)}
.stamp{font-family:var(--mono);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gray01);margin:0 0 1.5rem;display:flex;flex-wrap:wrap;gap:.4rem 1.25rem}
.stamp b{color:var(--black);font-weight:400}
.statement{font-size:clamp(2.4rem,6vw,5rem);font-weight:700;letter-spacing:-.045em;line-height:.98}
.statement span{display:block}
.statement .red{color:var(--red)}
.statement span:first-child{animation:in-left 1.4s var(--ease-out-quint) .1s both}
.statement span.red{animation:in-right 1.4s var(--ease-out-quint) .3s both}
@keyframes in-left{from{opacity:0;transform:translateX(-28px)}}
@keyframes in-right{from{opacity:0;transform:translateX(28px)}}
@media(prefers-reduced-motion:reduce){.statement span{animation:none}}
html[lang^="zh"] .statement{line-height:1.2;letter-spacing:-.02em}
.lede{font-size:1.3rem;max-width:44ch;margin:1.5rem 0 0;letter-spacing:-.016em}
/* the wrapper scrolls; site.js drifts it along and lets you drag it */
.strip-wrap{overflow-x:auto;overscroll-behavior-x:contain;
  scrollbar-width:none;-ms-overflow-style:none;cursor:grab;touch-action:pan-x pan-y}
.strip-wrap::-webkit-scrollbar{display:none}
.strip-wrap.is-dragging{cursor:grabbing;user-select:none}
.strip{display:flex;width:max-content;padding-block:2rem 1rem}
.strip img{-webkit-user-drag:none}
.cell{transition:scale .4s ease}
.cell:hover{scale:1.04}
.set{display:flex;align-items:center;gap:clamp(1rem,2.5vw,2.25rem);padding-right:clamp(1rem,2.5vw,2.25rem)}
.cell{position:relative;flex:none;overflow:hidden;background:var(--white);border-radius:8px}
.cell img{width:100%;height:100%;object-fit:cover}
.s1{width:280px;height:350px}.s2{width:200px;height:250px}
.s3{width:250px;height:300px}.s4{width:180px;height:180px}
.s5{width:230px;height:230px}.s6{width:310px;height:210px}
.s7{width:210px;height:330px}
.mark{position:absolute;width:16px;height:16px;border:0 solid var(--red)}
.mark.tl{top:9px;left:9px;border-top-width:1.5px;border-left-width:1.5px}
.mark.tr{top:9px;right:9px;border-top-width:1.5px;border-right-width:1.5px}
.mark.bl{bottom:9px;left:9px;border-bottom-width:1.5px;border-left-width:1.5px}
.mark.br{bottom:9px;right:9px;border-bottom-width:1.5px;border-right-width:1.5px}

/* ── 01 About ───────────────────────────────────────────── */
/* The LeMans tray outline, used as a mask so it fills white whatever
   colour sits inside the source file. Static. */
.about{position:relative;overflow:hidden}
.about .shell{position:relative;z-index:1}
.tray{position:absolute;z-index:0;pointer-events:none;background:var(--white);
  -webkit-mask:url("/img/site/lemans2.svg") center/contain no-repeat;
  mask:url("/img/site/lemans2.svg") center/contain no-repeat}
.t1{top:6%;right:50%;height:100%;width:auto;aspect-ratio:210/297;transform:rotate(45deg)}

.say{font-size:clamp(1.9rem,3.6vw,3.1rem);line-height:1.3;letter-spacing:-.03em;color:var(--black);font-weight:600;max-width:22ch;margin:0}
.about-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:clamp(2rem,5vw,4.5rem);align-items:end}
.about-copy .say{max-width:24ch}
.about-copy .under{margin:clamp(1.5rem,2.5vw,2.25rem) 0 0;max-width:44ch;
  font-size:1.5rem;line-height:1.5;letter-spacing:-.018em}
.about-card{background:var(--black);color:var(--white);border-radius:18px;
  padding:clamp(1.75rem,3vw,2.75rem)}
.about-card p{margin:0;font-size:1.5rem;line-height:1.5;letter-spacing:-.018em;color:var(--white)}

/* ── 02 Rooms ───────────────────────────────────────────── */
.plan-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,24rem);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.plan{width:100%;height:auto}
.zone rect,.zone path,.zone line,.zone polyline{stroke:var(--gray02);fill:none;stroke-width:1.6;vector-effect:non-scaling-stroke;transition:stroke .35s var(--ease-out-quint),fill .35s}
.zone .fill{fill:var(--white);stroke:var(--gray02)}
.zone.on rect,.zone.on path,.zone.on line,.zone.on polyline{stroke:var(--red)}
.zone.on .fill{fill:rgba(162,7,29,.05)}
.walls{stroke:var(--black);stroke-width:2.4;fill:none;vector-effect:non-scaling-stroke}
/* invisible room-sized targets over the plan: hover or tap anywhere in a room */
.plan .hit{fill:transparent;cursor:pointer;outline:none}
.pin{cursor:pointer}
.pin circle{fill:var(--white);stroke:var(--gray02);stroke-width:1.6}
.pin text{font-family:var(--mono);font-size:12px;fill:var(--gray01);text-anchor:middle;dominant-baseline:central}
.pin.on circle{fill:var(--red);stroke:var(--red)}
.pin.on text{fill:var(--white)}
.roomname{font-family:var(--mono);font-size:11px;letter-spacing:.14em;fill:var(--gray02);text-transform:uppercase}

/* Each room animates a real product from the catalogue. */
.mv{transform-box:view-box;transition:transform .75s var(--ease-out-quint)}
.arc{stroke-dasharray:4 5;opacity:0;transition:opacity .4s}
.zone.on .arc{opacity:1}

/* Kitchen — Magic Corner: door to 90°, front basket rides the door out,
   rear basket slides forward into the space it leaves. */
#k-door,#k-front{transform-origin:120px 150px}
.zone.on #k-door,.zone.on #k-front{transform:rotate(-90deg)}
#k-rear{transition-delay:.14s}
.zone.on #k-rear{transform:translateY(54px)}

/* Dining — a single drawer runs straight out. */
.zone.on #t-drawer{transform:translateY(46px)}

/* Bedroom — WingLine 770: TWO folding doors, one each side of the
   opening. Each is 2 panels folding into a shallow V — they stack near
   the carcase rather than sweeping into the room. */
#w-A1{transform-origin:104px 300px}
#w-A2{transform-origin:104px 350px;transition-delay:.07s}
.zone.on #w-A1{transform:rotate(-50deg)}
.zone.on #w-A2{transform:rotate(100deg)}
#w-B1{transform-origin:104px 500px}
#w-B2{transform-origin:104px 450px;transition-delay:.07s}
.zone.on #w-B1{transform:rotate(50deg)}
.zone.on #w-B2{transform:rotate(-100deg)}

/* Living — SlideLine M: one bottom-running door passes the other. */
.zone.on #s-panel{transform:translateX(208px)}

.rooms{list-style:none;margin:0;padding:0;border-top:1px solid var(--gray05)}
.rooms li{border-bottom:1px solid var(--gray05)}
.rooms button{display:grid;grid-template-columns:2.5rem 1fr;gap:.75rem;width:100%;text-align:left;background:none;border:0;padding:1.35rem .25rem;cursor:pointer;font-family:inherit;font-size:1.2rem;color:var(--gray01);transition:padding-left .35s var(--ease-out-quint)}
.rooms li.on button{padding-left:.75rem}
.rooms b{font-family:var(--mono);font-size:.78rem;letter-spacing:.1em;color:var(--gray02);font-weight:400}
.rooms li.on b{color:var(--red)}
.rooms strong{color:var(--black);font-weight:600;display:block}
.rooms li.on strong{color:var(--red)}
.rooms em{font-style:normal;font-size:1.1rem;display:block;margin-top:.25rem;line-height:1.55}

/* ── 03 Categories ──────────────────────────────────────── */
.cats-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:clamp(1.5rem,4vw,3.5rem);align-items:stretch}
/* DOM order is header, stage, list. Desktop places the stage in column 2
   across both rows; the stacked layout just lets DOM order stand. */
.cats-head{grid-column:1;grid-row:1;margin-bottom:2.5rem}
.idx{grid-column:1;grid-row:2}
.stage{grid-column:2;grid-row:1 / span 2}
.idx{list-style:none;margin:0;padding:0;border-top:1px solid var(--gray05)}
.idx li{position:relative;border-bottom:1px solid var(--gray05)}
/* Progress line for the mobile auto-cycle. Keep --dwell in step with
   DWELL in site.js. */
.idx{--dwell:3.8s}
.idx li::after{content:"";position:absolute;left:0;bottom:-1px;height:2px;width:0;
  background:var(--red);border-radius:2px}
.idx li.timing::after{animation:idxbar var(--dwell) linear forwards}
@keyframes idxbar{from{width:0}to{width:100%}}
.idx a{display:grid;grid-template-columns:3.4rem 1fr 1.5rem;align-items:center;gap:1.5rem;padding:1.5rem .25rem;transition:padding-left .35s var(--ease-out-quint)}
.idx li.on a{padding-left:1rem}
.idx .ico{width:46px;height:46px;border-radius:50%;background:var(--white);
  display:grid;place-items:center;transition:background .3s}
.idx .ico svg{width:23px;height:23px;fill:none;stroke:var(--red);stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s}
.idx li.on .ico{background:var(--red)}
.idx li.on .ico svg{stroke:var(--white)}
.idx .nm{font-size:clamp(1.3rem,2vw,1.8rem);font-weight:600;letter-spacing:-.025em;color:var(--black);transition:color .3s}
.idx li.on .nm{color:var(--red)}
.idx .ar{color:var(--red);opacity:0;transform:translateX(-6px);transition:.35s var(--ease-out-quint)}
.idx li.on .ar{opacity:1;transform:none}
.stage{position:relative;background:var(--white);border-radius:14px;overflow:hidden}
.stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:2rem;opacity:0;transform:scale(.97);transition:opacity .45s,transform .55s var(--ease-out-quint)}
.stage img.on{opacity:1;transform:none}

/* ── 04 Suppliers ───────────────────────────────────────── */
.sup-wrap{position:relative;background:var(--white);border-radius:clamp(1rem,2vw,1.5rem);padding:clamp(1rem,2.5vw,2rem)}
.sup{list-style:none;margin:0;padding:0}
.sup li{border-bottom:1px dotted var(--gray02);transition:border-color .3s}
.sup li:last-child{border-bottom:0}
.sup-hd{display:grid;font-family:var(--mono);font-size:1rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--gray01);padding:0 .5rem .75rem;border-bottom:1px solid var(--black)}
.sup-hd,.sup a{grid-template-columns:minmax(0,14rem) minmax(0,16rem) 6rem minmax(0,1fr);
  gap:clamp(.75rem,2.5vw,3rem)}
.sup a{display:grid;align-items:baseline;padding:1.35rem .5rem;transition:padding-left .35s var(--ease-out-quint)}
.sup li.on a{padding-left:1.25rem}
.sup li.on{border-bottom-color:var(--red)}
.sup .nm{font-size:1.3rem;font-weight:600;color:var(--black);letter-spacing:-.025em;transition:color .3s}
.sup li.on .nm{color:var(--red)}
.sup .loc{font-size:1.05rem}
.sup .yr{font-family:var(--mono);font-size:1rem;letter-spacing:.08em;color:var(--gray02);transition:color .3s}
.sup li.on .yr{color:var(--red)}
.sup .wh{font-size:1.1rem}
.sup .thumb{display:none}

/* On hover the supplier's photo fills the whole table as a soft,
   blurred background. Same markup and script as before: the script
   still sets an inline transform to follow the cursor, which
   `transform:none !important` below simply ignores. */
.sup-wrap{overflow:hidden;isolation:isolate}
.sup-hd,.sup{position:relative;z-index:1}          /* text above the photo */
.sup-pop{position:absolute;inset:0;z-index:0;pointer-events:none;
  border-radius:inherit;overflow:hidden;
  transform:none !important;
  opacity:0;transition:opacity .45s}
.sup-pop.on{opacity:1}
.sup-pop img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:blur(var(--sup-blur,6px));
  scale:1.12;                                        /* hides the blur's soft edges */
  opacity:0;transition:opacity .45s,scale 1.2s var(--ease-out-quint)}
.sup-pop img.on{opacity:1;scale:1.06}               /* slow settle as it appears */
/* white veil so the black and red text stays readable on any photo */
.sup-pop::after{content:"";position:absolute;inset:0;
  background:rgb(255 255 255 / var(--sup-veil,.72))}

/* Hovered row: a white band so it reads clearly over the photo,
   and the supplier name grows slightly. Desktop only, like the photo. */
@media(min-width:1001px){
  .sup a{border-radius:8px;
    transition:padding-left .35s var(--ease-out-quint),background-color .3s}
  .sup li.on a{background:rgb(255 255 255 / var(--sup-row,.8))}
  .sup .nm{display:inline-block;transform-origin:left center;
    transition:color .3s,scale .35s var(--ease-out-quint)}
  .sup li.on .nm{scale:var(--sup-grow,1.06)}
}

/* ── 05 Journal ─────────────────────────────────────────── */
.news-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:clamp(2.5rem,5vw,4rem)}
.arrows{display:flex;gap:.6rem;flex:none}
.arrows button{width:52px;height:52px;border-radius:50%;border:1px solid var(--gray05);background:var(--white);
  color:var(--black);font-size:1.1rem;cursor:pointer;display:grid;place-items:center;
  transition:background .3s,color .3s,border-color .3s}
.arrows button:hover{background:var(--red);border-color:var(--red);color:var(--white)}
.arrows button[disabled]{opacity:.35;cursor:default}
.arrows button[disabled]:hover{background:var(--white);border-color:var(--gray05);color:var(--black)}
/* "All articles": a quiet pill in the same language as the arrows above */
.more{display:inline-flex;align-items:center;gap:.55rem;
  padding:.7rem 1.35rem;border:1px solid var(--gray05);border-radius:999px;
  background:var(--white);color:var(--black);font-size:1.05rem;letter-spacing:-.012em;
  transition:background .3s,border-color .3s,color .3s}
.more span{transition:translate .35s var(--ease-out-quint)}
.more:hover{background:var(--red);border-color:var(--red);color:var(--white)}
.more:hover span{translate:4px 0}
.posts{cursor:grab;display:flex;gap:clamp(1rem,1.6vw,1.5rem);overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;padding-bottom:.5rem}
.posts::-webkit-scrollbar{display:none}
.posts.is-dragging{cursor:grabbing;scroll-snap-type:none}
.posts.is-dragging a{pointer-events:none}
.post{flex:0 0 clamp(250px,24%,360px);scroll-snap-align:start;display:block}
.post-img{position:relative;display:block;overflow:hidden;border-radius:14px;background:var(--white)}
.post img{width:100%;aspect-ratio:4/3;object-fit:cover;
  transition:transform .8s var(--ease-out-expo),filter .5s}
.post:hover img{transform:scale(1.05);filter:brightness(.95)}
/* white card tucked under the photo, as on the reference site */
.post-box{position:relative;z-index:1;display:block;
  margin:-2.25rem .75rem 0;padding:clamp(1rem,1.4vw,1.4rem);
  background:var(--white);border:1px solid var(--red);border-radius:12px;
  color:var(--gray01)}
.post-ttl{display:block;font-weight:600;font-size:1.05rem;line-height:1.4;
  letter-spacing:-.02em;color:var(--black);transition:color .3s;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post:hover .post-ttl{color:var(--red)}
.post-txt{display:block;margin-top:.55rem;font-size:.95rem;line-height:1.5;
  letter-spacing:-.012em;color:var(--gray01);
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.big{font-size:clamp(1.3rem,2.2vw,1.9rem);font-weight:600;color:var(--white);border-bottom:1px solid rgba(255,255,255,.45)}

@media(max-width:1000px){
  .plan-wrap,.cats-grid,.about-grid{grid-template-columns:1fr}

  /* header, image, then list — placement reset so DOM order governs */
  .cats-head,.idx,.stage{grid-column:1;grid-row:auto}
  .stage{aspect-ratio:4/3;margin:0 0 2rem}

  /* suppliers become cards with a thumbnail */
  .sup a{grid-template-columns:84px minmax(0,1fr);gap:.3rem 1.1rem;
    align-items:start;padding:1.35rem .25rem;max-width:none}
  .sup .thumb{display:block;grid-row:1 / span 4;border-radius:10px;overflow:hidden;background:var(--gray03)}
  .sup .thumb img{width:84px;height:84px;object-fit:cover;display:block}
  .sup .nm{font-size:1.55rem;line-height:1.2}
  .sup .loc,.sup .yr,.sup .wh{grid-column:2}
  .sup .yr{font-size:.85rem}
  .sup .wh{font-size:1.1rem;margin-top:.2rem}
  .sup-pop,.sup-hd{display:none}
  .posts{grid-template-columns:1fr}
  .say{max-width:none}
}
@media(prefers-reduced-motion:reduce){*{transition-duration:.01ms!important}}


/* ── Category pages ─────────────────────────────────────── */
/* Inner pages run narrower than the homepage — the header and footer
   stay full width, the reading column does not. */
.shell.page{max-width:1600px;padding-block:clamp(9.5rem,13vw,12rem) clamp(4rem,8vw,7rem)}

.pagehead{margin-bottom:clamp(3.5rem,6.5vw,6rem)}
.pagehead h1{font-size:3.5rem;letter-spacing:-.035em;line-height:1.02}
html[lang^="zh"] .pagehead h1{font-size:3.2rem;letter-spacing:-.02em;line-height:1.25}
.pagehead .intro{margin:clamp(1.25rem,2.5vw,2rem) 0 0;font-size:1.35rem;line-height:1.6;
  letter-spacing:-.025em;max-width:min(80%,88ch)}

.rule{border:0;border-top:1px solid var(--gray05);margin:0}

.filters{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding-block:1.6rem}
.btn{border:0;background:transparent;color:var(--gray01);font-family:inherit;font-size:1.2rem;
  font-weight:500;letter-spacing:-.018em;padding:.6rem 1.1rem;cursor:pointer;border-radius:10px;
  transition:color .3s,background .3s}
.btn:hover{color:var(--red)}
.btn.is-active{background:var(--red);color:var(--white)}

.grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:clamp(2.75rem,5vw,4.5rem);
  column-gap:clamp(1.5rem,2.4vw,2.5rem);row-gap:clamp(2.75rem,4.5vw,4.5rem)}
.card[hidden]{display:none}
.card-img{position:relative;overflow:hidden;background:var(--white);border-radius:14px}
.card-img img{width:100%;aspect-ratio:1/1;object-fit:cover;
  transition:transform .7s var(--ease-out-expo),filter .45s}
.card-img:hover img,
.card-img.is-armed img,
.card-img:has(.card-overlay:focus-visible) img{transform:scale(1.03);filter:blur(3px)}

/* The whole image is the link. A frosted sheet lifts the product back so
   the button reads, with the same registration marks used in the hero. */
.card-overlay{position:absolute;inset:0;display:grid;place-items:center;
  background:rgba(255,255,255,.62);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
  opacity:0;transition:opacity .3s}
.card-img:hover .card-overlay,
.card-img.is-armed .card-overlay,
.card-overlay:focus-visible{opacity:1}
.card-overlay .mark{width:20px;height:20px}
.card-overlay .mark.tl{top:12px;left:12px}
.card-overlay .mark.tr{top:12px;right:12px}
.card-overlay .mark.bl{bottom:12px;left:12px}
.card-overlay .mark.br{bottom:12px;right:12px}

.card-btn{display:inline-flex;align-items:center;gap:.6rem;padding:.85rem 1.4rem;border-radius:10px;
  background:var(--black);color:var(--white);font-size:1.15rem;font-weight:600;letter-spacing:-.018em;
  white-space:nowrap;box-shadow:0 10px 28px rgba(0,0,0,.18);
  transform:translateY(8px);transition:transform .4s var(--ease-out-quint),background .25s}
.card-img:hover .card-btn,
.card-img.is-armed .card-btn,
.card-overlay:focus-visible .card-btn{transform:none}
.card-btn svg{width:20px;height:20px;flex:none}
.card-btn:hover{background:var(--red)}

.card-name{margin:1.1rem 0 .35rem;font-size:1.25rem;font-weight:600;color:var(--black);letter-spacing:-.022em}
.card-tag{margin:0;font-size:1.2rem;line-height:1.5;color:var(--gray01);letter-spacing:-.016em}
/* ── Long-form pages ────────────────────────────────────── */
/* Text on the left, one photo held alongside it that changes as each
   section comes up. Sticky rather than scrolling, so the picture stays
   with the paragraph it belongs to. */
.reader{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,40%);
  gap:clamp(2rem,5vw,5rem);align-items:start}
.reader-aside{position:sticky;top:8rem}
.reader-frame{position:relative;aspect-ratio:4/5;border-radius:16px;overflow:hidden;
  background:var(--gray03)}
.reader-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transform:scale(1.04);
  transition:opacity .7s ease,transform 1.2s var(--ease-out-expo)}
.reader-frame img.on{opacity:1;transform:none}
.reader-frame .mark{width:22px;height:22px;border-color:var(--white);z-index:2}
.reader-frame .mark.tl{top:14px;left:14px}
.reader-frame .mark.tr{top:14px;right:14px}
.reader-frame .mark.bl{bottom:14px;left:14px}
.reader-frame .mark.br{bottom:14px;right:14px}

/* Closing mosaic — staggered ratios rather than a flat grid */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);
  gap:clamp(.75rem,1.6vw,1.5rem);margin-top:clamp(4rem,8vw,7rem);align-items:start}
.gallery figure{margin:0;overflow:hidden;border-radius:14px;background:var(--gray03)}
.gallery img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .9s var(--ease-out-expo)}
.gallery figure:hover img{transform:scale(1.05)}
.gallery figure:nth-child(1) img{aspect-ratio:4/5}
.gallery figure:nth-child(2) img{aspect-ratio:1/1}
.gallery figure:nth-child(3) img{aspect-ratio:4/3}
.gallery figure:nth-child(4) img{aspect-ratio:4/3}
.gallery figure:nth-child(5) img{aspect-ratio:4/5}
.gallery figure:nth-child(6) img{aspect-ratio:1/1}
.gallery figure:nth-child(2){margin-top:clamp(1.5rem,4vw,4rem)}
.gallery figure:nth-child(6){margin-top:clamp(1rem,2.5vw,2.5rem)}

.prose{max-width:74ch}
.prose h2{font-size:1.8rem;letter-spacing:-.028em;
  margin:3rem 0 1.1rem;padding-top:3rem;
  border-top:1px solid var(--gray05)}
.prose h2:first-child{margin-top:0;padding-top:0;border-top:0}
.prose p{margin:0 0 1.4rem;font-size:1.35rem;line-height:1.6;letter-spacing:-.025em}
.prose p:last-child{margin-bottom:0}
.prose a{color:var(--red);border-bottom:1px solid currentColor}
@media(max-width:1000px){
  .reader{grid-template-columns:1fr}
  .reader-aside{position:static;order:-1;margin-bottom:2.5rem}
  .reader-frame{aspect-ratio:4/3}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .gallery figure:nth-child(2),.gallery figure:nth-child(6){margin-top:0}
}
@media(max-width:820px){
  .prose{max-width:none}
  .prose p{font-size:1.25rem}
}
.error{color:var(--red);font-weight:600}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer{border-top:1px solid var(--gray05);padding:2rem 0;font-family:var(--mono);
  font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gray02)}
html[lang^="zh"] .site-footer{font-family:var(--zh);text-transform:none;letter-spacing:.05em}
.foot-row{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;align-items:center}

@media(max-width:1100px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .pagehead .intro{max-width:none}
}


/* ── Mobile navigation ──────────────────────────────────── */
@media(max-width:1100px){
  /* backdrop-filter makes .hdr a containing block for fixed children, so
     the panel was being pinned to the header bar rather than the viewport.
     Dropping it here lets inset:0 mean the whole screen again. */
  .hdr{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--gray04)}
  .hdr-logo{position:relative;z-index:2}
  .hdr-logo img{width:250px;max-width:47vw}
  .nav-toggle{display:block;margin-left:auto}   /* pinned to the right */

  /* The menu is a catalogue index page. It slides in from the right
     over the site like a page laid on top, on drafting paper, with a
     heading, numbered entries and a contact button at the foot. */
  .nav{position:fixed;inset:0;z-index:1;margin:0;
    display:flex;flex-direction:column;flex-wrap:nowrap;
    align-items:stretch;justify-content:flex-start;
    gap:0;padding:6.5rem var(--gutter) 2rem;overflow-y:auto;
    counter-reset:idx;
    background-color:var(--gray04);
    background-image:linear-gradient(rgb(0 0 0 / .05) 1px,transparent 1px),
                     linear-gradient(90deg,rgb(0 0 0 / .05) 1px,transparent 1px);
    background-size:28px 28px;background-position:-1px -1px;
    box-shadow:-24px 0 48px rgb(0 0 0 / .08);          /* the page edge */
    transform:translateX(100%);visibility:hidden;
    transition:transform .6s var(--ease-out-quint),visibility .6s}
  .nav.is-open{transform:none;visibility:visible}
  /* the header goes see-through while open, so the grid runs to the top */
  body.nav-open .hdr{background:transparent}

  /* heading, like the top of an index page */
  .nav::before{content:"Index";display:block;margin-bottom:.75rem;padding-bottom:.9rem;
    border-bottom:1.5px solid var(--black);
    font-family:var(--mono);font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;
    color:var(--red)}
  html[lang^="zh"] .nav::before{content:"目錄";letter-spacing:.3em}

  /* entries: number, title, arrow. No rules between them; the grid
     already gives the page its lines. */
  .nav a:not(.zh,.nav-mail){counter-increment:idx;
    display:flex;align-items:baseline;gap:1rem;width:100%;
    font-size:1.7rem;font-weight:600;letter-spacing:-.028em;color:var(--black);
    padding:.8rem 0;border:0;
    opacity:0;transform:translateX(24px);
    transition:opacity .5s var(--ease-out-quint),transform .6s var(--ease-out-quint),color .3s}
  .nav a:not(.zh,.nav-mail)::before{content:counter(idx,decimal-leading-zero);flex:none;width:2ch;
    font-family:var(--mono);font-size:.78rem;font-weight:400;letter-spacing:.08em;color:var(--gray02)}
  .nav a:not(.zh,.nav-mail)::after{content:"\2192";margin-left:auto;font-weight:400;color:var(--gray02);
    transition:transform .35s var(--ease-out-quint),color .3s}
  .nav a:not(.zh,.nav-mail):is(:hover,:active){color:var(--red)}
  .nav a:not(.zh,.nav-mail):is(:hover,:active)::after{color:var(--red);transform:translateX(4px)}

  /* entries arrive one after another once the page has landed */
  .nav.is-open a{opacity:1;transform:none}
  .nav.is-open a:nth-of-type(1){transition-delay:.18s}
  .nav.is-open a:nth-of-type(2){transition-delay:.24s}
  .nav.is-open a:nth-of-type(3){transition-delay:.30s}
  .nav.is-open a:nth-of-type(4){transition-delay:.36s}
  .nav.is-open a:nth-of-type(5){transition-delay:.42s}
  .nav.is-open a:nth-of-type(6){transition-delay:.48s}
  .nav.is-open a:nth-of-type(7){transition-delay:.54s}
  .nav.is-open a:nth-of-type(8){transition-delay:.60s}

  /* language switch: a small square tag on the heading line, right side */
  .nav .zh{position:absolute;top:calc(6.5rem - .45rem);right:var(--gutter);
    padding:.3rem .6rem;border:1px solid var(--black);border-radius:2px;
    background:var(--white);font-family:var(--mono);font-size:.75rem;font-weight:500;
    letter-spacing:.12em;text-transform:uppercase;line-height:1.2;color:var(--black);
    opacity:0;transition:opacity .4s .3s,background .3s,color .3s,border-color .3s}
  .nav.is-open .zh{opacity:1}
  .nav .zh:is(:hover,:active){background:var(--red);border-color:var(--red);color:var(--white)}

  /* contact: a full-width button at the foot of the page */
  .nav .nav-mail{order:99;margin-top:auto;display:flex;align-items:center;justify-content:space-between;
    gap:1rem;width:100%;padding:1.05rem 1.2rem;border-radius:3px;
    background:var(--red);color:var(--white);
    opacity:0;transform:translateY(12px);
    transition:opacity .5s var(--ease-out-quint) .45s,transform .6s var(--ease-out-quint) .45s}
  .nav.is-open .nav-mail{opacity:1;transform:none}
  .nav-mail-label{font-size:1.15rem;font-weight:600;letter-spacing:-.018em}
  .nav-mail-addr{font-family:var(--mono);font-size:.75rem;letter-spacing:.06em;opacity:.85;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

  body.nav-open{overflow:hidden}

  @media(prefers-reduced-motion:reduce){
    .nav a,.nav .zh,.nav .nav-mail{opacity:1;transform:none;transition:none}
  }
}

/* ── Mobile type scale ──────────────────────────────────── */
@media(max-width:820px){
  body{font-size:1.3rem}
  .h2{font-size:2.3rem}
  .statement{font-size:3.5rem}
  .lede{font-size:1.5rem;line-height:1.4;max-width:none}
  .say{font-size:2rem;max-width:none}
  .under,.about-card p{font-size:1.3rem;max-width:none}
  .idx .nm{font-size:1.55rem}
  .rooms button{font-size:1.3rem}
  .rooms em{font-size:1.15rem}
  .sup .nm{font-size:1.4rem}
  .sup .loc,.sup .wh{font-size:1.15rem}
  .post-ttl{font-size:1.15rem}
  .pagehead h1{font-size:2.8rem}
  html[lang^="zh"] .pagehead h1{font-size:2.4rem}
  .pagehead .intro{font-size:1.3rem;max-width:none;margin-top:10%}
  .btn{font-size:1.1rem}
  .card-name{font-size:1.2rem}
  .card-tag{font-size:1.1rem}
  .big{font-size:1.5rem}
  .more,.arrows button{font-size:1rem}
  .about-copy .under{font-size:1.35rem;max-width:92%}
}

@media(max-width:600px){
  .hdr-in{padding-block:.7rem}
  .nav a:not(.zh,.nav-mail){font-size:1.5rem;padding:.7rem 0}
}

/* ── About: text left, photo slider bleeding off the right edge ── */
/* The grid itself carries the bleed (a percentage margin here resolves
   against the shell, so the right edge lands on the window edge). The
   card then stretches to the height of the text beside it. */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,46%);
  gap:clamp(2rem,4vw,4rem);align-items:stretch;
  margin-right:calc(50% - 50vw)}
.split .prose{max-width:60ch;padding-bottom:clamp(1rem,3vw,3rem)}

.panel{display:flex;flex-direction:column;justify-content:center;
  gap:clamp(1rem,2vw,2rem);
  border:1px solid var(--red);
  padding:clamp(1.5rem,3vw,3rem) clamp(2rem,4vw,4rem)
          clamp(1.5rem,3vw,3rem) clamp(3rem,7vw,7rem);
  /* faint drafting grid over white */
  background-color:var(--white);
  background-image:linear-gradient(rgb(0 0 0 / .045) 1px,transparent 1px),
                   linear-gradient(90deg,rgb(0 0 0 / .045) 1px,transparent 1px);
  background-size:28px 28px}

.panel-media{position:relative}
.panel-viewport{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
  border-radius:clamp(14px,1.6vw,20px);
  scrollbar-width:none;-ms-overflow-style:none;
  cursor:grab;touch-action:pan-y pinch-zoom}
.panel-viewport::-webkit-scrollbar{display:none}
.panel-viewport.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.panel-slide{flex:0 0 100%;scroll-snap-align:center;margin:0}
/* 16:9 in, 16:9 out: nothing is cropped */
.panel-slide img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;
  -webkit-user-drag:none;user-select:none}

/* arrows straddle the edge of the photo, sitting half on the white */
.panel-arrow{position:absolute;top:50%;translate:0 -50%;z-index:2;
  width:clamp(38px,3vw,46px);aspect-ratio:1;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;
  border:1px solid var(--gray05);background:var(--white);color:var(--black);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transition:background .3s,color .3s,border-color .3s}
.panel-arrow:hover{background:var(--red);border-color:var(--red);color:var(--white)}
.panel-arrow svg{width:42%;height:42%}
.panel-arrow.prev{left:clamp(-23px,-1.2vw,-19px)}
.panel-arrow.next{right:clamp(-23px,-1.2vw,-19px)}

.panel-foot{display:flex;flex-wrap:wrap;align-items:center;
  justify-content:space-between;gap:1rem clamp(1rem,2vw,2rem)}
.panel-caption{margin:0;max-width:32ch;font-size:1.05rem;line-height:1.5;
  letter-spacing:-.014em;color:var(--gray01)}
.panel-cta{display:inline-flex;align-items:center;gap:.5rem;flex:none;
  padding:.75rem 1.4rem;border-radius:999px;background:var(--red);color:var(--white);
  font-size:1rem;font-weight:500;letter-spacing:-.012em;transition:opacity .3s}
.panel-cta:hover{opacity:.85}
.panel-cta span{transition:translate .35s var(--ease-out-quint)}
.panel-cta:hover span{translate:4px 0}

@media(max-width:1000px){
  /* below the text, above the contact box, as a normal full-width card */
  .split{grid-template-columns:1fr;margin-right:0}
  .split .prose{max-width:none;padding-bottom:0}
  .panel{margin-top:clamp(2.5rem,6vw,4rem);
    border-radius:clamp(20px,5vw,28px);padding:clamp(1rem,16vw,1.75rem)}
  .panel-caption,.panel-foot{padding-inline:.25rem}
  .panel-arrow.prev{left:10px}
  .panel-arrow.next{right:10px}
  .panel-caption{font-size:1rem}
}
@media(max-width:520px){
  .panel-foot{flex-direction:column;align-items:flex-start}
}

/* ── About: contact ─────────────────────────────────── */
.contact-box{margin-top:clamp(4rem,8vw,7rem);background:var(--white);
  border-radius:clamp(1.5rem,3vw,2.5rem);padding:clamp(2rem,5vw,4rem);
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:clamp(2rem,5vw,5rem)}
.contact-head h2{font-size:clamp(1.9rem,3.2vw,2.8rem);letter-spacing:-.035em}
.contact-head p:last-child{margin:1.1rem 0 0;font-size:1.25rem;line-height:1.6;
  letter-spacing:-.016em;max-width:38ch}
.contact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 clamp(1.5rem,3vw,3rem);margin:0}
.contact-list div{border-top:1px solid var(--gray05);padding:1.25rem 0 1.6rem}
.contact-list dt{font-family:var(--mono);font-size:.75rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--gray02);margin-bottom:.6rem}
.contact-list dd{margin:0;font-size:1.3rem;line-height:1.5;color:var(--black);letter-spacing:-.018em}
.contact-list dd a{transition:color .3s}
.contact-list dd a:hover{color:var(--red)}
.contact-list .wide{grid-column:1 / -1}
.contact-map{display:inline-flex;gap:.4rem;margin-top:.6rem;font-size:1.05rem;color:var(--red)}
.contact-map span{transition:translate .35s var(--ease-out-quint)}
.contact-map:hover span{translate:4px 0}
html[lang^="zh"] .contact-list dt{font-family:var(--zh,inherit);letter-spacing:.08em}

@media(max-width:1000px){
  .contact-box{grid-template-columns:1fr}
}
@media(max-width:600px){
  .contact-list{grid-template-columns:1fr}
}

/* ── Section divider: a dimension line ──────────────────── */
/* A hairline across the page with a tick and an arrowhead at each end,
   the way a measurement is marked on a drawing. Sits in the gap between
   two sections; the sections keep their own padding, so it needs no
   margin of its own. */
.dim{display:flex;align-items:center}
.dim-line{position:relative;flex:1;height:1px;background:var(--gray01)}
/* the end ticks */
.dim-line::before{content:"";position:absolute;top:-5px;width:1px;height:11px;background:var(--gray01)}
.dim-line:first-child::before{left:0}
.dim-line:last-child::before{right:0}
/* arrowheads pointing out towards the ticks */
.dim-line::after{content:"";position:absolute;top:50%;translate:0 -50%;
  width:0;height:0;border-block:3px solid transparent}
.dim-line:first-child::after{left:1px;border-right:8px solid var(--gray01)}
.dim-line:last-child::after{right:1px;border-left:8px solid var(--gray01)}


/* ── Reveal on first scroll into view ───────────────────── */
/* The `js` class is set by an inline snippet in <head>, so with
   JavaScript off nothing is ever hidden. reveal.js adds `in`. */
.js .rv{opacity:0;transform:translateY(20px)}
.js .rv.in{opacity:1;transform:none;
  transition:opacity 1.2s var(--ease-out-quint),transform 1.2s var(--ease-out-quint)}

/* ── News index and post pages ──────────────────────────── */
.news-grid{display:grid;gap:clamp(1.5rem,2.5vw,2.5rem);
  grid-template-columns:repeat(3,minmax(0,1fr))}
.news-grid .post{flex:none;width:auto;margin-bottom:2rem}

.post-back{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:clamp(1.5rem,3vw,2.5rem);
  font-family:var(--mono);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gray01);transition:color .3s}
.post-back:hover{color:var(--red)}
.post-page{max-width:1400px}
/* only the text sits on a white sheet; the header and photo stay on the page */
.post-sheet{background:var(--white);border-radius:clamp(1.5rem,3vw,2.5rem);
  padding:clamp(1.5rem,4vw,4rem)}
/* title block and photo side by side; the photo follows the text's height */
.post-top{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);
  gap:clamp(1.5rem,3vw,3rem);align-items:stretch;
  margin-bottom:clamp(2rem,4vw,3.5rem)}
.post-head{align-self:center;padding-block:.5rem}
.post-head h1{font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.032em}
/* everything after the colon on its own line, desktop only */
.h1-break{display:block}
@media(max-width:1000px){
  .h1-break{display:inline}
  .h1-break::before{content:"\00a0"}
  html[lang^="zh"] .h1-break::before{content:none}
}
.post-head .intro{max-width:44ch;font-size:1.3rem}
/* outline button: white, red text, red hairline */
.btn-ghost{display:inline-flex;align-items:center;gap:.5rem;margin-top:0rem;
  padding:.7rem 1.3rem;border:1px solid var(--red);border-radius:999px;
  background:var(--white);color:var(--red);
  font-size:1rem;font-weight:500;letter-spacing:-.012em;
  transition:background .3s,color .3s}
.btn-ghost:hover{background:var(--red);color:var(--white)}
/* absolute image, so the row height comes from the text, not the photo */
.post-hero{position:relative;margin:0;min-height:clamp(200px,20vw,300px);
  border-radius:clamp(12px,1.6vw,18px);overflow:hidden;background:var(--gray03)}
.post-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.post-sheet .prose{max-width:none}
.post-ask{margin-top:clamp(2rem,4vw,3rem)}
.post-more{margin-top:clamp(2.5rem,5vw,4rem)}

@media(max-width:1000px){
  .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .post-top{grid-template-columns:1fr;gap:clamp(1.5rem,4vw,2.5rem)}
  .post-hero{position:static;min-height:0}
  .post-hero img{position:static;aspect-ratio:4/3;height:auto}
}
@media(max-width:600px){
  .news-grid{grid-template-columns:1fr}
}

@media(max-width:700px){
  html{font-size:94%}
}

  .stage{touch-action:pan-y}
  .stage img{-webkit-user-drag:none;user-select:none;pointer-events:none}

/* ── 404 ───────────────────────────────────────────────── */
.nf-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:clamp(2rem,5vw,5rem);align-items:center}
.nf-copy h1{font-size:clamp(2.2rem,4.5vw,3.8rem);letter-spacing:-.04em;line-height:1.02}
.nf-copy .intro{max-width:40ch}
.nf-path{margin:1.25rem 0 0;font-size:.95rem;color:var(--gray01);word-break:break-all}
.nf-path code{font-family:var(--mono);font-size:.85rem;background:var(--white);
  border:1px solid var(--gray05);border-radius:6px;padding:.15rem .45rem}
.nf-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin-top:2rem}
.nf-actions .btn-ghost{margin-top:0}

/* the drawing */
.nf-draw{width:100%;height:auto;overflow:visible}
.nf-line,.nf-thin,.nf-hidden{fill:none;stroke:var(--gray01);stroke-width:1.6;
  vector-effect:non-scaling-stroke;stroke-linecap:round}
.nf-front{fill:var(--white)}
.nf-thin{stroke:var(--gray02);stroke-width:1}
.nf-hidden{stroke:var(--gray02);stroke-width:1.2;stroke-dasharray:5 5}
.nf-dim line{stroke:var(--red);stroke-width:1;vector-effect:non-scaling-stroke}
.nf-arrow{fill:var(--red)}
.nf-mask{fill:var(--gray04)}
.nf-dim text{font-family:var(--mono);font-size:15px;letter-spacing:.08em;fill:var(--red);
  text-anchor:middle;dominant-baseline:central}

/* on arrival: the drawer runs out, then the dimension is drawn */
.nf-drawer{animation:nf-open 1.6s var(--ease-out-quint) .2s both}
.nf-dim{animation:nf-fade .8s var(--ease-out-quint) 1.3s both}
@keyframes nf-open{from{transform:translateX(-150px)}}
@keyframes nf-fade{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.nf-drawer,.nf-dim{animation:none}}

/* somewhere to go instead */
.nf-more{margin-top:clamp(3.5rem,8vw,6rem)}
.nf-cats{list-style:none;margin:1.5rem 0 0;padding:0;border-top:1px solid var(--gray05);
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(1.5rem,4vw,4rem)}
.nf-cats li{border-bottom:1px solid var(--gray05)}
.nf-cats a{display:flex;justify-content:space-between;align-items:center;gap:1rem;
  padding:1.1rem .25rem;font-size:1.15rem;color:var(--black);
  transition:color .3s,padding-left .35s var(--ease-out-quint)}
.nf-cats a:hover{color:var(--red);padding-left:.6rem}

@media(max-width:1000px){
  .nf-grid{grid-template-columns:1fr}
  .nf-draw{order:-1;max-width:520px}
}
@media(max-width:600px){
  .nf-cats{grid-template-columns:1fr}
}
