/* Shared detail-page system. Media frame choices remain controlled by the CMS. */
@font-face{font-family:'YMJ Detail Song';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/detail-regular-v2.woff2') format('woff2')}
@font-face{font-family:'YMJ Detail Song';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/detail-medium-v2.woff2') format('woff2')}
.detail-editorial{--serif:'YMJ Detail Song','Songti SC',STSong,SimSun,serif;background:var(--linen);color:var(--ink)}
.detail-editorial [hidden]{display:none!important}
.detail-editorial :is(h1,h2,h3){font-synthesis:none;overflow-wrap:anywhere}
.detail-editorial h1{font-weight:500;line-height:1.5;letter-spacing:.025em}
.detail-editorial h2{font-weight:400;line-height:1.5;letter-spacing:.025em}
.detail-editorial :is(.product-sheet,.woodwork-sheet,.case-main:not(.case-archive)){width:calc(100% - 144px);max-width:1440px;padding:0;margin-inline:auto}
.detail-editorial :is(.sheet-breadcrumb,.wh-path,.case-path){display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:8px;padding:24px 0;font-size:11px;line-height:1.8;color:var(--muted)}
.detail-editorial :is(.sheet-breadcrumb,.wh-path,.case-path) a{color:var(--muted)}
.detail-editorial :is(.sheet-breadcrumb,.wh-path)>[aria-current=page]{color:var(--ink)}
.detail-editorial :is(.scene-jump,.quiet-link){color:var(--ink);font:12px/1.8 var(--sans);text-decoration:none;border-bottom:1px solid var(--line);padding:0 0 7px;transition:border-color .2s}
.detail-editorial :is(.scene-jump,.quiet-link):hover{color:var(--chestnut);border-color:var(--chestnut)}
.detail-editorial :is(section[id],details[id],.lifestyle[id]){scroll-margin-top:40px}
.detail-editorial figcaption{font:11px/1.8 var(--sans);color:var(--muted)}
.detail-editorial :is(.lifestyle,.woodwork-gallery){margin-top:85px}
.detail-editorial :is(.lifestyle-intro,.woodwork-section-head){display:grid;grid-template-columns:1fr auto;align-items:end;gap:18px 30px;max-width:none;margin:0 0 32px;padding:0;text-align:left}
.detail-editorial :is(.lifestyle-intro,.woodwork-section-head) h2{grid-column:1;grid-row:1;font-size:36px;line-height:1.5}
.detail-editorial :is(.lifestyle-intro,.woodwork-section-head) .eyebrow{grid-column:2;grid-row:1;font:10px/1.8 var(--sans);letter-spacing:.1em;color:var(--muted);margin:0 0 7px}
.detail-editorial :is(.product-image-group,.woodwork-images){gap:55px;align-items:start}
.detail-editorial :is(.product-image-group.pair,.woodwork-images.pair){grid-template-columns:1.35fr 1fr;gap:45px 6%}
.detail-editorial :is(.product-image-group.pair,.woodwork-images.pair) figure:nth-child(even){margin-top:65px}
.detail-editorial :is(.product-image-group.grid,.woodwork-images.grid){grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 4%}
.detail-editorial :is(.product-image-group.wide,.woodwork-images.wide,.woodwork-images.wide:has(figure.portrait)){width:100%;margin-inline:0}
.detail-editorial :is(.product-image-group.wide,.woodwork-images.wide) img{aspect-ratio:16/9;object-fit:cover}
.detail-editorial :is(.product-image-group.pair,.woodwork-images.pair) img{aspect-ratio:4/3;object-fit:cover}
.detail-editorial :is(.product-image-group.grid,.woodwork-images.grid) img{aspect-ratio:4/5;object-fit:cover}

/* Furniture: generous photograph first, factual information collected below. */
.detail-editorial .sheet-layout{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:7%;align-items:center;padding-top:10px}
.detail-editorial .sheet-panel{padding:24px 0 36px;min-width:0}
.detail-editorial .sheet-panel h1{font-size:clamp(35px,3.5vw,52px);text-wrap:balance}
.detail-editorial .sheet-panel>.eyebrow{font:11px/1.8 var(--sans);letter-spacing:.1em;margin-bottom:24px}
.detail-editorial .sheet-description{font-size:14px;line-height:2.05;margin:24px 0 28px;color:var(--muted);max-width:32em}
.detail-editorial .sheet-description p+p{margin-top:15px}
.detail-editorial .detail-jumps{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:34px}
.detail-editorial .detail-jumps .scene-jump{margin:0}
.detail-editorial .sheet-panel .cta{display:inline-flex;justify-content:space-between;gap:55px;min-width:0;margin:35px 0 0;padding:0 0 10px;background:none;color:var(--ink);border-bottom:1px solid var(--ink);font-size:14px}
.detail-editorial .website-product-hero.studio img{aspect-ratio:4/3;object-fit:cover;mix-blend-mode:normal}
.detail-editorial .plate figcaption{padding-top:12px;text-align:right}
.detail-editorial :is(.plate a span,.lifestyle .expand-photo span){background:#f7f5efe8;padding:3px 11px;bottom:16px;right:16px;font-size:20px}
.detail-editorial .lifestyle figcaption{margin-top:12px;font-size:10px}
.detail-editorial .product-shared-notes{gap:30px 6%;padding-top:55px;margin-top:65px;border-top:1px solid var(--line)}
.detail-editorial .product-shared-notes h2{font-size:26px}
.detail-editorial .product-shared-notes p{font-size:14px;line-height:2.05}
.detail-editorial .product-information{display:grid;grid-template-columns:1fr 1.25fr;gap:12%;padding:65px 0 55px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:90px}
.detail-editorial .information-heading h2{font-size:36px}
.detail-editorial .information-heading .overview-link{margin-top:28px}
.detail-editorial .data-group{border-color:var(--line)}
.detail-editorial .data-group:first-child{border-top:0}
.detail-editorial .data-group:last-child{border-bottom:0}
.detail-editorial .data-group summary{font-size:15px;padding:20px 0}
.detail-editorial .data-group:first-child summary{padding-top:0}
.detail-editorial .data-group summary::after{color:var(--muted);font-size:18px}
.detail-editorial .data-group dl{margin:0 0 20px}
.detail-editorial .data-group dl div{grid-template-columns:1fr 2fr;gap:26px;font-size:13px;line-height:1.9;margin:0 0 12px}
.detail-editorial .data-group>p{font-size:13px;line-height:2;color:var(--muted);margin-bottom:16px;overflow-wrap:anywhere}
.detail-editorial .sheet-related{margin:70px 0 75px;padding:0;border:0}
.detail-editorial .sheet-related h2{font-size:32px;margin-bottom:28px}
.detail-editorial .sheet-related>div{gap:5%;max-width:1040px}
.detail-editorial .sheet-related a{padding:0;background:none}
.detail-editorial .sheet-related img{aspect-ratio:1;height:auto;width:100%;object-fit:cover;mix-blend-mode:normal}
.detail-editorial .sheet-related span{font:14px/1.8 var(--sans);padding-top:16px}
.detail-editorial #photo-viewer{background:var(--linen);color:var(--ink);padding:20px}
.detail-editorial #viewer-image{background:var(--sand);object-fit:contain}
.detail-editorial #viewer-caption{font:13px/1.8 var(--sans)}
.detail-editorial #photo-viewer button{font-size:13px;padding:8px 12px;border-color:var(--line);color:var(--ink)}

/* Woodwork: a wide scene, or a deliberately selected portrait composition. */
.detail-editorial .woodwork-title{grid-template-columns:minmax(0,1fr) auto;gap:25px 6%;padding:22px 0 35px}
.detail-editorial .woodwork-title h1{font-size:clamp(35px,3.4vw,50px);line-height:1.5;letter-spacing:.025em;text-wrap:balance}
.detail-editorial .woodwork-title .eyebrow{font:11px/1.8 var(--sans);letter-spacing:.08em;margin-bottom:17px}
.detail-editorial .woodwork-shortcuts{gap:18px 28px;padding-bottom:7px}
.detail-editorial .woodwork-hero figcaption{font-size:10px;margin-top:12px}
.detail-editorial .woodwork-opening:has(.woodwork-hero.portrait){display:grid;grid-template-columns:1fr 1.05fr;gap:13%;align-items:center;padding:22px 0 10px}
.detail-editorial .woodwork-opening:has(.woodwork-hero.portrait) .woodwork-title{display:block;padding:0}
.detail-editorial .woodwork-opening:has(.woodwork-hero.portrait) .woodwork-title h1{max-width:11em}
.detail-editorial .woodwork-opening:has(.woodwork-hero.portrait) .woodwork-shortcuts{margin-top:35px}
.detail-editorial .woodwork-hero.portrait{width:100%;max-width:540px;margin:0 0 0 auto}
.detail-editorial .woodwork-hero.portrait img{aspect-ratio:4/5}
.detail-editorial .woodwork-summary{grid-template-columns:1fr 1.25fr;gap:16px 12%;padding:55px 0;border-color:var(--line)}
.detail-editorial .woodwork-summary h2{font-size:31px;grid-row:1}
.detail-editorial .woodwork-summary p{grid-column:2;font-size:14px;line-height:2.05;max-width:none}
.detail-editorial .woodwork-configuration{grid-template-columns:1fr 1.25fr;gap:12%;margin-top:90px;padding:60px 0;border-color:var(--line)}
.detail-editorial .woodwork-configuration h2{font-size:36px}
.detail-editorial .woodwork-configuration .facts>div{grid-template-columns:1fr 2fr;gap:25px;padding-block:18px;font-size:13px;line-height:1.9;border-color:var(--line)}
.detail-editorial .woodwork-service{background:var(--sand);padding:50px 55px;gap:10%;margin:15px 0 0}
.detail-editorial .woodwork-service h2{font-size:36px;line-height:1.55}
.detail-editorial .woodwork-service-copy p{font-size:13px;line-height:2}
.detail-editorial .woodwork-service-copy .cta{display:flex;background:none;border-bottom:1px solid var(--ink);color:var(--ink);font:14px/1.8 var(--sans);padding:0 0 9px;min-width:160px}
.detail-editorial .woodwork-end{padding-block:30px 55px}

/* Cases: quieter story titles and narrow, readable paragraphs between scenes. */
.detail-editorial .story-heading{max-width:none;margin:20px 0 38px;display:grid;grid-template-columns:1fr minmax(140px,.25fr);gap:18px 6%;align-items:end}
.detail-editorial .story-heading>.eyebrow{grid-column:1/-1;font-size:11px;margin:0;letter-spacing:.08em}
.detail-editorial .story-heading h1{font-size:clamp(32px,3.1vw,46px);line-height:1.55;letter-spacing:.02em;text-wrap:balance;max-width:24em}
.detail-editorial .story-heading h1>span{display:block;text-wrap:pretty}
.detail-editorial .facts-line{font:12px/1.95 var(--sans);margin:0 0 10px;color:var(--muted)}
.detail-editorial .project-hero{margin-bottom:75px}
.detail-editorial .project-hero img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.detail-editorial .story-chapter{margin-block:75px}
.detail-editorial .story-chapter>h2{font-size:36px;line-height:1.5;border:0;padding:0;margin-bottom:30px}
.detail-editorial .chapter-copy{width:min(100%,680px);max-width:none;margin:30px 0 40px auto;font-size:14px;line-height:2.1;color:var(--muted)}
.detail-editorial .chapter-copy p+p{margin-top:18px}
.detail-editorial .case-image-block{margin:32px 0}
.detail-editorial .case-image-block.detail{width:min(80%,1040px);margin-inline:auto}
.detail-editorial .case-image-block.portrait{width:min(62%,680px);margin-inline:auto}
.detail-editorial .case-image-block figcaption{font-size:11px;text-align:right;margin-top:12px}
.detail-editorial .case-end{background:var(--sand);margin-top:65px;padding:36px 40px;border:0;margin-bottom:65px}
.detail-editorial .story-page.video-story{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:max-content 1fr auto;gap:0 12%;max-width:1120px;align-items:start;margin:30px auto 65px;min-width:0}
.detail-editorial .video-story .story-heading{display:block;grid-column:1;grid-row:1;margin:0;padding-top:45px}
.detail-editorial .video-story .story-heading>.eyebrow{margin-bottom:24px}
.detail-editorial .video-story .story-heading h1{font-size:clamp(33px,3.1vw,46px);line-height:1.6}
.detail-editorial .video-story .facts-line{margin-top:24px}
.detail-editorial .video-story>.chapter-copy{grid-column:1;grid-row:2;margin:28px 0 0;width:100%}
.detail-editorial .video-story>.screen{grid-column:2;grid-row:1/span 2;width:min(100%,370px);margin:0 auto}
.detail-editorial .video-story .screen video{width:100%;height:auto;max-height:none;aspect-ratio:9/16;object-fit:contain;background:var(--deep)}
.detail-editorial .video-story>.video-recovery{grid-column:2;grid-row:3;width:100%;font-size:13px;padding-top:15px}

@media(max-width:1100px){
 .detail-editorial :is(.product-sheet,.woodwork-sheet,.case-main:not(.case-archive)){width:calc(100% - 80px)}
 .detail-editorial .sheet-layout{gap:5%;grid-template-columns:1.25fr 1fr}
 .detail-editorial .sheet-panel h1{font-size:38px}
 .detail-editorial .woodwork-title{grid-template-columns:1fr;gap:22px}
 .detail-editorial .woodwork-title h1{font-size:40px}
 .detail-editorial .story-heading{grid-template-columns:1fr}
 .detail-editorial .story-heading h1{font-size:38px}
 .detail-editorial .facts-line{margin-bottom:0}
 .detail-editorial .woodwork-service{padding:40px}
 .detail-editorial .woodwork-service h2{font-size:31px}
}
@media(max-width:760px){
 .detail-editorial :is(.product-sheet,.woodwork-sheet,.case-main:not(.case-archive)){width:calc(100% - 44px)}
 .detail-editorial :is(.sheet-breadcrumb,.wh-path,.case-path){font-size:10px;padding:20px 0;gap:6px;line-height:1.8}
 .detail-editorial .sheet-layout{grid-template-columns:1fr;gap:0;padding:0}
 .detail-editorial .sheet-panel{padding:27px 0 0}
 .detail-editorial .sheet-panel>.eyebrow{font-size:10px;margin-bottom:14px}
 .detail-editorial .sheet-panel h1{font-size:34px;line-height:1.5;text-wrap:initial}
 .detail-editorial .sheet-description{font-size:13px;margin-top:18px}
 .detail-editorial .detail-jumps{gap:15px 24px;margin-top:24px}
 .detail-editorial .sheet-panel .cta{margin-top:27px;font-size:13px}
 .detail-editorial .plate figcaption{font-size:10px;padding-top:8px}
 .detail-editorial :is(.lifestyle,.woodwork-gallery){margin-top:55px}
 .detail-editorial :is(.lifestyle-intro,.woodwork-section-head){display:flex;flex-direction:column;align-items:start;gap:10px;margin-bottom:24px}
 .detail-editorial :is(.lifestyle-intro,.woodwork-section-head) h2{font-size:29px}
 .detail-editorial :is(.lifestyle-intro,.woodwork-section-head) .eyebrow{order:-1;font-size:9px;margin:0}
 .detail-editorial :is(.product-image-group,.woodwork-images){gap:30px}
 .detail-editorial :is(.product-image-group.pair,.woodwork-images.pair,.product-image-group.grid,.woodwork-images.grid){grid-template-columns:1fr;gap:30px}
 .detail-editorial :is(.product-image-group.pair,.woodwork-images.pair) figure:nth-child(even){margin:0}
 .detail-editorial .product-shared-notes{grid-template-columns:1fr;margin-top:45px;padding-top:30px;gap:26px}
 .detail-editorial .product-shared-notes h2{font-size:25px}
 .detail-editorial .product-shared-notes p{font-size:13px}
 .detail-editorial .product-information{grid-template-columns:1fr;gap:32px;padding-block:38px;margin-top:55px}
 .detail-editorial .information-heading h2{font-size:29px}
 .detail-editorial .information-heading .overview-link{margin-top:20px;font-size:12px}
 .detail-editorial .data-group summary{font-size:14px;padding-block:18px}
 .detail-editorial .data-group dl div{grid-template-columns:1fr 1.65fr;gap:20px;font-size:12px}
 .detail-editorial .data-group>p{font-size:12px}
 .detail-editorial .sheet-related{margin-block:45px}
 .detail-editorial .sheet-related h2{font-size:29px;margin-bottom:24px}
 .detail-editorial .sheet-related>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .detail-editorial .sheet-related span{font-size:12px;padding-top:12px}
 .detail-editorial #photo-viewer{padding:12px}
 .detail-editorial #viewer-caption{font-size:12px;max-width:70%}
 .detail-editorial .woodwork-title{padding:10px 0 26px;gap:22px}
 .detail-editorial .woodwork-title h1{font-size:33px;line-height:1.55}
 .detail-editorial .woodwork-title .eyebrow{font-size:10px;margin-bottom:14px}
 .detail-editorial .woodwork-shortcuts{gap:16px 25px;flex-wrap:wrap}
 .detail-editorial .woodwork-opening:has(.woodwork-hero.portrait){display:block;padding-top:10px}
 .detail-editorial .woodwork-opening:has(.woodwork-hero.portrait) .woodwork-title{padding-bottom:26px}
 .detail-editorial .woodwork-opening:has(.woodwork-hero.portrait) .woodwork-shortcuts{margin-top:22px}
 .detail-editorial .woodwork-hero.portrait{width:100%;max-width:none}
 .detail-editorial .woodwork-hero figcaption{font-size:9px;gap:15px;margin-top:10px}
 .detail-editorial .woodwork-hero figcaption>span:last-child{text-align:right}
 .detail-editorial .woodwork-summary{grid-template-columns:1fr;gap:18px;padding-block:32px}
 .detail-editorial .woodwork-summary h2{grid-row:auto;font-size:28px}
 .detail-editorial .woodwork-summary p{grid-column:1;font-size:13px}
 .detail-editorial .woodwork-configuration{grid-template-columns:1fr;gap:26px;padding-block:35px;margin-top:55px}
 .detail-editorial .woodwork-configuration h2{font-size:29px}
 .detail-editorial .woodwork-configuration .facts>div{font-size:12px;gap:18px;grid-template-columns:1fr 1.65fr}
 .detail-editorial .woodwork-service{grid-template-columns:1fr;gap:25px;padding:30px 24px;margin-top:0}
 .detail-editorial .woodwork-service h2{font-size:28px}
 .detail-editorial .woodwork-service-copy p{font-size:12px}
 .detail-editorial .woodwork-end{padding-block:25px 35px;gap:20px}
 .detail-editorial .woodwork-end .quiet-link{font-size:12px}
 .detail-editorial .story-heading{display:block;margin:10px 0 28px}
 .detail-editorial .story-heading>.eyebrow{font-size:10px;margin-bottom:16px}
 .detail-editorial .story-heading h1{font-size:28px;line-height:1.6;text-wrap:balance;letter-spacing:.015em}
 .detail-editorial .story-heading h1>span{text-wrap:balance}
 .detail-editorial .facts-line{font-size:11px;margin-top:20px}
 .detail-editorial .project-hero{margin-bottom:45px}
 .detail-editorial .story-chapter{margin-block:45px}
 .detail-editorial .story-chapter>h2{font-size:29px;margin-bottom:23px}
 .detail-editorial .chapter-copy{font-size:13px;line-height:2.05;margin:24px 0 30px;width:100%}
 .detail-editorial .case-image-block{margin-block:25px}
 .detail-editorial .case-image-block.detail,.detail-editorial .case-image-block.portrait{width:100%}
 .detail-editorial .case-image-block figcaption{font-size:10px}
 .detail-editorial .case-end{padding:25px 24px;margin-block:45px;gap:25px}
 .detail-editorial .case-end .overview-link{font-size:12px;gap:15px}
 .detail-editorial .story-page.video-story{display:flex;flex-direction:column;margin:10px auto 40px;gap:0;align-items:stretch}
 .detail-editorial .video-story .story-heading{padding:0;margin-bottom:27px}
 .detail-editorial .video-story .story-heading h1{font-size:31px;line-height:1.65}
 .detail-editorial .video-story>.chapter-copy{margin:0 0 28px;font-size:13px}
 .detail-editorial .video-story>.screen{width:min(100%,340px)}
 .detail-editorial .video-story>.video-recovery{width:100%}
}
@media(prefers-reduced-motion:reduce){.detail-editorial :is(.quiet-link,.scene-jump){transition:none}}
