/*
 * gd-art.css — the art layer over site.css + shell.css (2026-10-01).
 *
 * Typography: Cormorant Garamond (display, Latin) · EB Garamond (text, Latin) · Shippori Mincho B1
 * (display, JA) · Zen Old Mincho (text, JA) · Noto Serif SC (zh-Hans). Every face is a serif:
 * the house reads as engraved silver and brushed ink, not as an app.
 * Hero: the client's own brush calligraphy (銀伝堂, keyed from their logo file) as the centrepiece,
 * a mincho line and a small-caps line under it — the Kagariya treatment.
 * Components (library/components/tobira-edition, MIT, NOTICE.txt kept beside each): kinetic text
 * reveal, interactive hover button + glare, animated shiny text, marquee, text reveal, scroll
 * progress, cursor. Loader: gd-loader.js.
 */

:root {
  --serif: "Cormorant Garamond", "Shippori Mincho B1", "Noto Serif SC", "Iowan Old Style", Georgia, serif;
  --sans: "EB Garamond", "Zen Old Mincho", "Noto Serif SC", "Iowan Old Style", Georgia, serif;
  --ja-display: "Shippori Mincho B1", "Zen Old Mincho", serif;
  --ja-text: "Zen Old Mincho", "Shippori Mincho B1", serif;
  --zh-display: "Noto Serif SC", "Songti SC", serif;
  --silver: #bfc0bc;
  --silver-deep: #8a8b87;
  --gold: #a88c55;
  --gd-ease: cubic-bezier(.19, 1, .22, 1);
}

body { font-size-adjust: .5; letter-spacing: .01em; }
/* Japanese and Chinese runs get their own mincho: one family per script, never mixed glyphs. */
.ja { font-family: var(--ja-text); letter-spacing: .04em; font-size-adjust: none; }
.zh { font-family: var(--zh-display); letter-spacing: .03em; font-size-adjust: none; }
:is(h1, h2, h3, .a-h1, .a-h2) .ja { font-family: var(--ja-display); font-weight: 500; letter-spacing: .08em; }
:is(h1, h2, h3, .a-h1, .a-h2) .zh { font-weight: 500; letter-spacing: .06em; }

/* zh-Hans: same switch as ja in site.css */
.zh { display: none !important; }
html[data-lang="zh"] .en, html[data-lang="zh"] .ja { display: none !important; }
html[data-lang="zh"] .zh { display: initial !important; }

/* Display type: light Cormorant, lining, tighter tracking at size */
.hero-panel h1, .hero-panel h2, .split-feature__copy h2, .craft-section h2, .image-section h2,
.p-workshop__cover h1 { font-family: var(--serif); font-weight: 300; letter-spacing: -.005em; }
.eyebrow, .section-kicker {
  font-family: var(--serif); font-weight: 600; font-size: 12px; letter-spacing: .32em;
  color: var(--silver);
}
.eyebrow .ja, .section-kicker .ja { letter-spacing: .3em; font-weight: 500; }

/* ── Hero (panel 1): calligraphy centrepiece ─────────────────────────────── */
.gd-hero-art {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: grid; place-items: center;
}
.gd-hero-art__stack { position: relative; display: grid; justify-items: center; gap: clamp(14px, 1.6vw, 22px); transform: translateY(-6vh); }
.gd-hero-art__kanji {
  width: clamp(240px, 34vw, 560px); height: auto;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .45));
  -webkit-mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
  mask-image: linear-gradient(100deg, #000 45%, transparent 55%);
  -webkit-mask-size: 240% 100%; mask-size: 240% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  opacity: 0;
}
.gd-hero-art__mark { width: clamp(46px, 4.4vw, 70px); height: auto; opacity: 0; }
.gd-hero-art__vert {
  position: absolute; top: 50%; right: calc(100% + clamp(16px, 2vw, 34px)); transform: translateY(-50%);
  writing-mode: vertical-rl; white-space: nowrap; font-family: var(--ja-display); font-weight: 500;
  font-size: clamp(13px, 1.15vw, 17px); letter-spacing: .5em; color: rgba(255, 249, 244, .88);
  opacity: 0;
}
.gd-hero-art__vert--r { right: auto; left: calc(100% + clamp(16px, 2vw, 34px)); }
.gd-hero-art__line {
  font-family: var(--serif); font-weight: 500; font-size: clamp(10px, .85vw, 12px);
  letter-spacing: .62em; text-indent: .62em; color: rgba(236, 232, 240, .78); opacity: 0;
}
html.gd-ready .gd-hero-art__kanji { animation: gd-brush 1.9s var(--gd-ease) .15s forwards; }
html.gd-ready .gd-hero-art__mark { animation: gd-rise 1.2s var(--gd-ease) .05s forwards; }
html.gd-ready .gd-hero-art__vert { animation: gd-fall 1.4s var(--gd-ease) .9s forwards; }
html.gd-ready .gd-hero-art__line { animation: gd-rise 1.2s var(--gd-ease) 1.25s forwards; }
@keyframes gd-brush {
  0% { opacity: 1; -webkit-mask-position: 100% 0; mask-position: 100% 0; filter: blur(6px) drop-shadow(0 6px 30px rgba(0,0,0,.45)); }
  100% { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0; filter: blur(0) drop-shadow(0 6px 30px rgba(0,0,0,.45)); }
}
@keyframes gd-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gd-fall { from { opacity: 0; transform: translateY(calc(-50% - 14px)); } to { opacity: 1; transform: translateY(-50%); } }

/* Hero copy: mincho/italic headline + small caps line, lower left (Kagariya) */
.hero-panel--art .hero-panel__shade { background: radial-gradient(ellipse at 50% 42%, rgba(10, 9, 9, .15), rgba(10, 9, 9, .62) 70%), linear-gradient(0deg, rgba(8, 7, 7, .7), transparent 50%); }
.hero-panel--art h1 { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.2; }
.hero-panel--art h1 .en { font-style: italic; font-weight: 300; letter-spacing: .005em; }
.hero-panel--art h1 .ja { font-size: .82em; letter-spacing: .14em; font-weight: 500; }
.hero-panel--art h1 .zh { font-size: .82em; letter-spacing: .12em; }
.gd-smallcaps {
  display: block; margin-top: 14px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .12em; font-variant: small-caps; text-transform: lowercase;
  color: rgba(236, 232, 240, .8);
}
.gd-smallcaps::before { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 14px 4px 0; vertical-align: middle; background: currentColor; opacity: .7; }

/* Scroll cue, centred at the bottom of panel 1 */
.gd-scroll-cue {
  position: absolute; left: 50%; bottom: calc(10svh + 22px); z-index: 2; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; color: rgba(255, 249, 244, .7);
  font: 500 10px/1 var(--serif); letter-spacing: .4em; text-indent: .4em; pointer-events: none;
}
.gd-scroll-cue i { display: block; width: 1px; height: 46px; background: linear-gradient(rgba(255,249,244,.85), transparent); transform-origin: top; animation: gd-cue 2.4s var(--gd-ease) infinite; }
@keyframes gd-cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ── Buttons: interactive hover button, silver line, murasaki fill, glare on hover ─── */
.tb-interactive-hover-button.gd-btn {
  --tb-ihb-bg: rgba(255, 249, 244, .04);
  --tb-ihb-fg: #fff9f4;
  --tb-ihb-primary: var(--murasaki, #8e8891);
  --tb-ihb-on-primary: #fff;
  --tb-ihb-line: rgba(217, 214, 220, .55);
  --tb-ihb-width: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; margin-top: 26px; padding: 0 34px 0 46px;
  font: 600 12px/1 var(--serif); letter-spacing: .26em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .4s ease;
}
.tb-interactive-hover-button.gd-btn .ja, .tb-interactive-hover-button.gd-btn .zh { letter-spacing: .2em; font-weight: 500; font-size: 12.5px; }
.tb-interactive-hover-button.gd-btn .tb-interactive-hover-button__dot { left: 22px; top: calc(50% - 3px); width: 6px; height: 6px; background: var(--silver); }
.tb-interactive-hover-button.gd-btn:is(:hover, :focus-visible) .tb-interactive-hover-button__dot { left: 0; top: 0; background: var(--murasaki, #8e8891); }
.tb-interactive-hover-button.gd-btn:is(:hover, :focus-visible) { border-color: var(--murasaki-lift, #b3adb5); }
.tb-interactive-hover-button.gd-btn .tb-interactive-hover-button__hover svg { width: 18px; height: 18px; }
.tb-interactive-hover-button.gd-btn::after { /* glare from magicui-glare-hover, re-aimed for a pill */
  content: ""; position: absolute; inset: 0; z-index: 11; pointer-events: none; border-radius: inherit;
  background: linear-gradient(-60deg, transparent 58%, rgba(255, 255, 255, .45) 66%, transparent 74%) no-repeat;
  background-size: 260% 260%; background-position: -110% -110%;
  transition: background-position .75s ease-in-out;
}
.tb-interactive-hover-button.gd-btn:is(:hover, :focus-visible)::after { background-position: 110% 110%; }
.tb-interactive-hover-button.gd-btn--light { --tb-ihb-bg: #fff9f4; --tb-ihb-fg: #1b1919; --tb-ihb-line: #fff9f4; }
.tb-interactive-hover-button.gd-btn--light .tb-interactive-hover-button__dot { background: var(--murasaki, #8e8891); }
@media (prefers-reduced-motion: reduce) { .tb-interactive-hover-button.gd-btn::after { display: none; } }

.text-link { font-family: var(--serif); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; border-bottom-color: rgba(255,255,255,.3); transition: background-size .6s var(--gd-ease); }
.text-link:hover { background-size: 100% 1px; }

/* ── Banner: the news notice as a glass plate with a moving silver edge ──── */
.news-notice {
  background: linear-gradient(135deg, rgba(30, 28, 28, .55), rgba(16, 15, 15, .62));
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(217, 214, 220, .16); border-radius: 4px;
}
.news-notice::before { /* travelling edge light (magicui shine/border-beam idea, CSS only) */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--gd-beam, 0deg), transparent 0 78%, rgba(217, 214, 220, .9) 86%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: gd-beam 7s linear infinite;
}
@property --gd-beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes gd-beam { to { --gd-beam: 360deg; } }
.news-notice h2 { font-weight: 400; }
.news-notice h2 .tb-shiny-text { max-width: none; margin: 0; color: rgba(255, 246, 242, .82); --tb-shiny-color: #fff; --tb-shiny-width: 140px; }
.news-notice__eyebrow { font-family: var(--serif); letter-spacing: .3em; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .news-notice::before { animation: none; } }

/* ── Marquee band (magicui-marquee) ─────────────────────────────────────── */
.gd-band { position: relative; padding: clamp(26px, 3.4vw, 44px) 0; background: var(--plum-deep, #0e0d0d); border-block: 1px solid rgba(217, 214, 220, .1); overflow: hidden; }
.gd-band .tb-marquee { --tb-mq-gap: clamp(28px, 4vw, 64px); --tb-mq-duration: 60s; }
.gd-band .tb-marquee__track li {
  display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 64px); white-space: nowrap;
  font: 300 clamp(34px, 5.2vw, 78px)/1 var(--serif); font-style: italic; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(217, 214, 220, .55);
}
.gd-band .tb-marquee__track li.is-ink { color: var(--silver); -webkit-text-stroke: 0; font-style: normal; font-family: var(--ja-display); font-weight: 500; letter-spacing: .2em; font-size: clamp(26px, 3.8vw, 56px); }
.gd-band .tb-marquee__track li img { width: clamp(26px, 2.6vw, 40px); height: auto; opacity: .7; }

/* ── Statement (magicui-text-reveal): the client's own words, darkening as you scroll ── */
.gd-statement { background: var(--ink, #131212); }
.gd-statement .tb-text-reveal { height: 230vh; }
.gd-statement [data-l] { display: none; }
html:not([data-lang]) .gd-statement [data-l="en"], html[data-lang="en"] .gd-statement [data-l="en"],
html[data-lang="ja"] .gd-statement [data-l="ja"], html[data-lang="zh"] .gd-statement [data-l="zh"] { display: block; }
.gd-statement .tb-text-reveal__sticky { max-width: none; height: 100vh; height: 100svh; flex-direction: column; justify-content: center; align-items: center; }
.gd-statement .tb-text-reveal__text { justify-content: center; padding: 0; color: transparent; }
.gd-statement .tb-text-reveal__fill { color: #fff9f4; }
.gd-statement .tb-text-reveal__ghost { color: rgba(255, 249, 244, 1); opacity: .16; }
.gd-statement .tb-text-reveal__sticky { display: grid; align-content: center; justify-items: center; gap: 28px; padding: 0 clamp(24px, 8vw, 140px); }
.gd-statement__kicker { font: 600 12px/1 var(--serif); letter-spacing: .4em; text-indent: .4em; color: var(--gold); }
.gd-statement .tb-text-reveal__text { max-width: 30em; margin: 0; text-align: center; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.1vw, 46px); line-height: 1.45; color: #fff9f4; }
.gd-statement [data-l="ja"] .tb-text-reveal__text { font-family: var(--ja-display); font-weight: 500; font-size: clamp(20px, 2.3vw, 34px); line-height: 2; letter-spacing: .12em; }
.gd-statement [data-l="zh"] .tb-text-reveal__text { font-family: var(--zh-display); font-weight: 500; font-size: clamp(20px, 2.3vw, 34px); line-height: 1.9; letter-spacing: .1em; }
.gd-statement__sign { font-family: var(--ja-display); font-size: 13px; letter-spacing: .4em; color: rgba(236, 232, 240, .7); }

/* ── Washi grain over everything, very quiet (magicui-noise-texture idea) ── */
.gd-grain { position: fixed; inset: -50%; z-index: 9990; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: gd-grain 1.2s steps(6) infinite; }
@keyframes gd-grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { .gd-grain { animation: none; } }

/* Scroll progress (magicui-scroll-progress) in murasaki to silver */
.tb-scroll-progress { --tb-sp-height: 2px; background: linear-gradient(90deg, var(--murasaki, #8e8891), var(--silver)); z-index: 9995; }

/* Cursor marker over media (motion-primitives-cursor) */
.tb-cursor__inner.gd-cursor { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 249, 244, .92); color: #1b1919; font: 600 11px/1 var(--serif); letter-spacing: .22em; text-indent: .22em; mix-blend-mode: normal; }

/* ── Loader ──────────────────────────────────────────────────────────── */
html.gd-loading, html.gd-loading body { overflow: hidden !important; }
.gd-loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; pointer-events: all; }
.gd-loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: #0c0b0b; transition: transform 1.25s cubic-bezier(.77, 0, .175, 1); }
.gd-loader__half--t { top: 0; }
.gd-loader__half--b { bottom: 0; }
.gd-loader__half::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 214, 220, .7), transparent); opacity: 0; transition: opacity .3s ease; }
.gd-loader__half--t::after { bottom: 0; }
.gd-loader__half--b::after { top: 0; }
.gd-loader__core { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; transition: opacity .6s ease, transform 1.2s var(--gd-ease), filter .8s ease; }
.gd-loader__mark { position: relative; width: clamp(92px, 9vw, 132px); aspect-ratio: 588 / 640; }
.gd-loader__mark span { position: absolute; inset: 0;
  -webkit-mask: url("assets/c-brand-mark.webp") center / contain no-repeat; mask: url("assets/c-brand-mark.webp") center / contain no-repeat; }
.gd-loader__ink { background: rgba(255, 249, 244, .14); }
.gd-loader__silver {
  background: linear-gradient(105deg, #6d6973 0%, #b9b5bf 30%, #ffffff 46%, #f1eef4 50%, #a6a2ad 62%, #5e5a64 100%);
  background-size: 260% 100%; background-position: 120% 0;
  clip-path: inset(100% 0 0 0);
}
.gd-loader__silver { animation: gd-fill 1.6s cubic-bezier(.65, 0, .35, 1) .15s forwards, gd-sheen 2.6s ease .7s forwards; }
@keyframes gd-fill { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gd-sheen { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.gd-loader__word { display: flex; gap: .62em; font: 500 11px/1 var(--serif); letter-spacing: .62em; text-indent: .62em; color: rgba(236, 232, 240, .82); }
.gd-loader__word b { font-weight: 500; opacity: 0; animation: gd-rise .9s var(--gd-ease) forwards; }
.gd-loader__count { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 48px); z-index: 2; font: 300 italic clamp(13px, 1vw, 15px)/1 var(--serif); letter-spacing: .12em; color: rgba(236, 232, 240, .55); transition: opacity .4s ease; }
.gd-loader__count em { font-style: normal; color: rgba(236, 232, 240, .9); font-variant-numeric: tabular-nums; }
.gd-loader__vert { position: absolute; right: clamp(20px, 4vw, 56px); top: 50%; z-index: 2; transform: translateY(-50%); writing-mode: vertical-rl; font: 500 12px/1 var(--ja-display); letter-spacing: .6em; color: rgba(236, 232, 240, .5); transition: opacity .4s ease; }
.gd-loader.is-leaving .gd-loader__half::after { opacity: 1; }
.gd-loader.is-leaving .gd-loader__core { opacity: 0; transform: scale(.92); filter: blur(4px); }
.gd-loader.is-leaving .gd-loader__count, .gd-loader.is-leaving .gd-loader__vert { opacity: 0; }
.gd-loader.is-open .gd-loader__half--t { transform: translateY(-101%); }
.gd-loader.is-open .gd-loader__half--b { transform: translateY(101%); }
.gd-loader.is-open { pointer-events: none; }

@media (max-width: 767px) {
  .gd-hero-art__stack { transform: translateY(-12vh); }
  .gd-hero-art__kanji { width: min(74vw, 340px); }
  .gd-hero-art__vert { font-size: 12px; letter-spacing: .4em; right: calc(100% + 8px); }
  .gd-hero-art__vert--r { left: calc(100% + 8px); }
  .gd-scroll-cue { display: none; }
  .tb-interactive-hover-button.gd-btn { min-height: 46px; padding: 0 26px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-hero-art__kanji, .gd-hero-art__mark, .gd-hero-art__vert, .gd-hero-art__line { opacity: 1 !important; animation: none !important; -webkit-mask: none; mask: none; }
  .gd-hero-art__vert { transform: translateY(-50%); }
  .gd-scroll-cue i { animation: none; }
}

/* Three languages in the bar: never wrap a label; on phones the wordmark yields to the switch */
.shell-lang button { white-space: nowrap; }
@media (max-width: 479px) {
  .shell-brand span { display: none; }
  .shell-lang button { padding-inline: .45rem; font-size: .66rem; letter-spacing: .04em; }
  .shell-shop { display: none; }
}
/* Cormorant's default figures are old-style; dates in the art read as lining */
.gd-hero-art__line, .gd-smallcaps, .gd-loader__count, .eyebrow, .news-notice__eyebrow, .gd-band { font-variant-numeric: lining-nums; }

/* The storefront photo (pre-renovation, busy signage) needs more ground under the visit headline */
.p-visit__cover::after { background: linear-gradient(90deg, rgba(12,11,11,.82) 0%, rgba(12,11,11,.45) 55%, rgba(12,11,11,.25) 100%), linear-gradient(180deg, rgba(14,13,13,.4), transparent 40%, rgba(14,13,13,.92)) !important; }

/* ======================================================================
 * v2 (2026-10-01 pm) — house typography, sumi palette, fixes
 * Brush display: Yuji Syuku (JA) / Ma Shan Zheng (zh) through #gd-ink-* (SVG, injected by
 * gd-art.js) so the strokes thicken and fray like the client's own 銀伝堂 brushwork.
 * Labels: Cinzel — the inscriptional capitals of the client's GINDENDO wordmark.
 * ====================================================================== */
:root {
  --brush-ja: "Yuji Syuku", "Shippori Mincho B1", serif;
  --brush-zh: "Ma Shan Zheng", "Noto Serif SC", serif;
  --label: "Cinzel", "Cormorant Garamond", serif;
  --murasaki: #a88c55; --murasaki-lift: #bfa56f; --murasaki-ink: #241b29;
  --gold: #a88c55;
}

/* Japanese / Chinese headings: brush */
.gd-head .ja, .hero-panel--art h1 .ja { font-family: var(--brush-ja) !important; font-weight: 400 !important; letter-spacing: .06em !important; }
.gd-head .zh, .hero-panel--art h1 .zh { font-family: var(--brush-zh) !important; font-weight: 400 !important; letter-spacing: .05em !important; }
.hero-panel--art h1 .ja, .hero-panel--art h1 .zh { font-size: 1.02em; }

/* English headings: light Cormorant, closing words in silver italic */
.gd-silver {
  font-style: italic; padding-right: .06em;
  background: linear-gradient(100deg, #8f8b95 0%, #e9e5ef 38%, #ffffff 50%, #b9b5bf 64%, #8a8690 100%);
  background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position 2.4s cubic-bezier(.19, 1, .22, 1);
}
.tb-kinetic-text-reveal.is-visible .gd-silver { background-position: 0 0; }

/* brush daiji numerals behind section headings */
.gd-head { position: relative; isolation: isolate; }
.gd-num {
  position: absolute; z-index: -1; left: -.42em; top: -.62em; pointer-events: none; user-select: none;
  font: 400 3.3em/1 var(--brush-ja); letter-spacing: 0; font-style: normal;
  color: #d9d6dc; opacity: .085; white-space: nowrap;
}
:is(.split-feature__copy, .craft-section__heading, .image-section__copy) .gd-head .gd-num { left: -.5em; }
[style*="text-align:center"] .gd-num, .gd-head[style*="center"] .gd-num { left: 50%; transform: translateX(-50%); }

/* labels in the wordmark's capitals */
.eyebrow .en, .section-kicker .en, .gd-hero-art__line, .gd-loader__word, .gd-statement__kicker,
.news-notice__eyebrow .en, .tb-interactive-hover-button.gd-btn .en, .gd-scroll-cue, .gd-cursor .en, .text-link .en {
  font-family: var(--label) !important; font-weight: 500;
}
.eyebrow .en, .section-kicker .en { font-size: 11px; letter-spacing: .38em; }
.tb-interactive-hover-button.gd-btn .en { font-size: 11px; letter-spacing: .3em; }

/* the hero's vertical lines, the band's kanji, the loader's vertical: the same brush */
.gd-hero-art__vert, .gd-loader__vert { font-family: var(--brush-ja) !important; font-weight: 400 !important; letter-spacing: .42em !important; }
.gd-band .tb-marquee__track li.is-ink { font-family: var(--brush-ja); font-weight: 400; letter-spacing: .14em; }
.gd-statement [data-l="ja"] .tb-text-reveal__text { font-family: var(--brush-ja); font-weight: 400; letter-spacing: .1em; }
.gd-statement [data-l="zh"] .tb-text-reveal__text { font-family: var(--brush-zh); font-weight: 400; letter-spacing: .08em; }
.gd-statement__sign { font-family: var(--brush-ja); font-size: 18px; }

/* hero kanji: no shadow; once drawn, every animation layer is removed (the faint box) */
.gd-hero-art__kanji { filter: none; }
@keyframes gd-brush {
  0% { opacity: 1; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.gd-hero-art__kanji.is-done { animation: none !important; opacity: 1; -webkit-mask: none !important; mask: none !important; will-change: auto; }

/* language switch: one quiet crossfade */
main, [data-shell="footer"], .news-notice__copy { transition: opacity .2s ease, filter .2s ease; }
html.gd-lang-out main, html.gd-lang-out [data-shell="footer"], html.gd-lang-out .news-notice__copy { opacity: 0; filter: blur(3px); }
html.gd-lang-in main, html.gd-lang-in [data-shell="footer"], html.gd-lang-in .news-notice__copy { transition-duration: .42s; }

/* buttons: hover fills with silver, ink text */
.tb-interactive-hover-button.gd-btn { --tb-ihb-primary: #ece8e3; --tb-ihb-on-primary: #151414; --tb-ihb-line: rgba(236, 232, 227, .5); }
.tb-interactive-hover-button.gd-btn:is(:hover, :focus-visible) { border-color: #ece8e3; }
.tb-interactive-hover-button.gd-btn:is(:hover, :focus-visible) .tb-interactive-hover-button__dot { background: #ece8e3; }

/* notice: translucent glass; it steps aside at the footer */
.news-notice { background: rgba(22, 21, 21, .38) !important; -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); border-color: rgba(236, 232, 227, .14); box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.news-notice.gd-at-foot { opacity: 0 !important; pointer-events: none !important; }
.news-notice__close { background: rgba(255, 255, 255, .1); }

/* Menu: translucent glass panes, a smaller table of contents in the wordmark capitals */
.shell-pane { background: rgba(18, 17, 17, .52) !important; -webkit-backdrop-filter: blur(22px) saturate(1.05); backdrop-filter: blur(22px) saturate(1.05); }
.shell-pane--sub { background: rgba(12, 11, 11, .46) !important; border-left: 1px solid rgba(236, 232, 227, .08); }
.shell-nav-item { font: 500 clamp(.92rem, 1.25vw, 1.08rem)/1.3 var(--label) !important; letter-spacing: .16em; padding: .72rem 0 !important; }
.shell-nav-item .ja { font-family: var(--brush-ja); font-size: 1.12em; letter-spacing: .14em; }
.shell-nav-item .zh { font-family: var(--brush-zh); font-size: 1.15em; letter-spacing: .12em; }
.shell-nav-item em { font-family: var(--label); }
.shell-nav-item[aria-current="page"], .shell-nav-item[data-active="true"], .shell-nav-item:hover { color: #fff !important; }
.shell-nav-item[data-active="true"] b::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.shell-nav-item--shop { color: var(--gold); }
.shell-nav-item--shop em { opacity: .85; font-size: .9rem; }
.shell-sub__title { font-weight: 300; }
.shell-sub__title .ja { font-family: var(--brush-ja); }
.shell-sub__title .zh { font-family: var(--brush-zh); }

/* The calligraphy gets a feathered pool of shade (radial, no edge) so it holds over the bright
   silver in the film; the vertical lines get a soft shadow of their own */
.gd-hero-art__stack::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 55%; width: 150%; height: 175%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(8, 7, 7, .55), rgba(8, 7, 7, .32) 55%, rgba(8, 7, 7, 0));
}
.gd-hero-art__vert, .gd-hero-art__line { text-shadow: 0 0 14px rgba(0, 0, 0, .7), 0 0 3px rgba(0, 0, 0, .6); }
.gd-hero-art__kanji { filter: none; }
.gd-hero-art__kanji.is-done { filter: drop-shadow(0 0 22px rgba(0, 0, 0, .35)); }
@media (max-width: 767px) {
  .hero-panel--art h1 .ja, .hero-panel--art h1 .zh { font-size: min(1em, 7.2vw); white-space: nowrap; }
}

/* Accent only (2026-10-01 eve): lines, dots and small marks — never a ground. Since the client's
   2026-10-05 colour note the accent is their gold #A88C55; the variables keep their old names. */
:root { --murasaki-accent: #a88c55; --murasaki-glow: rgba(168, 140, 85, .5); }
::selection { background: rgba(168, 140, 85, .55); color: #11100f; }
/* small labels and their hairlines */
.eyebrow, .section-kicker { color: #a88c55; }
.gd-smallcaps::before, .eyebrow::before { background: var(--murasaki-accent); opacity: 1; }
.gd-statement__kicker, .news-notice__eyebrow { color: #a88c55; }
/* buttons: the resting dot is murasaki, the hover still fills with silver */
.tb-interactive-hover-button.gd-btn .tb-interactive-hover-button__dot { background: var(--murasaki-accent); box-shadow: 0 0 10px var(--murasaki-glow); }
.tb-interactive-hover-button.gd-btn:is(:hover, :focus-visible) .tb-interactive-hover-button__dot { box-shadow: none; }
/* menu: the current page dot, the hover line, the shop item */
.shell-nav-item[data-active="true"] b::after { background: var(--murasaki-accent); box-shadow: 0 0 8px var(--murasaki-glow); }
.shell-nav-item { background: linear-gradient(var(--murasaki-accent), var(--murasaki-accent)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--gd-ease), color .3s ease; }
.shell-nav-item:hover { background-size: 100% 1px; }
.shell-sub__sections .count, .shell-nav-item b { color: #a88c55; }
/* the language pill, the scroll line, the brush numerals' faint tint */
.shell-lang__thumb { background: rgba(168, 140, 85, .38) !important; }
.tb-scroll-progress { background: linear-gradient(90deg, var(--murasaki-accent), #bfc0bc); }
.gd-num { color: #a88c55; opacity: .13; }
/* the band's separators and the hero's scroll cue */
.gd-band .tb-marquee__track li img { filter: drop-shadow(0 0 0 transparent) sepia(1) hue-rotate(250deg) saturate(2.2) brightness(.95); opacity: .8; }
.gd-scroll-cue i { background: linear-gradient(var(--murasaki-accent), transparent); }
/* the loader's year, and the notice's travelling edge */
.gd-loader__count em { color: #a88c55; }
.news-notice::before { background: conic-gradient(from var(--gd-beam, 0deg), transparent 0 76%, rgba(168, 140, 85, .9) 84%, rgba(244, 241, 234, .8) 88%, transparent 94%); }
/* links in body copy */
.text-link { border-bottom-color: var(--murasaki-accent) !important; }
main p a:not([class]) { text-decoration-color: var(--murasaki-accent); text-underline-offset: 4px; }
/* journal filter, active */
.jl-filters button[aria-pressed="true"], .jl-filter.is-active, [data-filter].is-active { background: var(--murasaki-accent) !important; border-color: var(--murasaki-accent) !important; color: #fff !important; }

/* ======================================================================
 * v3 (2026-10-11) — the client's review of 10-05/06 (16 notes on the home page)
 * Palette as specified: black #11100F, deep purple #241B29, gold #A88C55, ivory #F4F1EA,
 * silver #BFC0BC. Gold is the accent; purple is only ever the near-black ground.
 * The page is organised by three characters: 堂 (the hall) / 時 (time) / 業 (the craft).
 * ====================================================================== */
:root {
  --ink: #11100f; --plum-deep: #0c0b0b; --plum: #241b29;
  --cream: #f4f1ea; --paper: #f4f1ea; --rose: #a88c55; --muted: #a9a8a2;
  --line: rgba(244, 241, 234, .16);
  --hinomaru: #c8161d;
}
html { background: #0c0b0b; }
/* body copy on the dark grounds: ivory, no lilac cast */
.split-feature__copy > p:not(.section-kicker), .craft-section__heading > p:not(.section-kicker),
.image-section__copy > p, .craft-note { color: rgba(244, 241, 234, .8); }
.craft-section { background: #151314; }
.craft-step b { color: var(--gold); }
.map-band__caption, .site-footer section p, .site-footer address { color: rgba(244, 241, 234, .72); }
.site-footer section h2, .footer-brand__identity small { color: var(--gold); }
.site-footer .fine-print, .site-footer__bottom { color: rgba(244, 241, 234, .45); }
.news-notice__copy > p:not(.news-notice__eyebrow) { color: rgba(244, 241, 234, .78); }
.pill-link--outline { border-color: rgba(168, 140, 85, .7); color: #f4f1ea; }
.shell-shop { border-bottom-color: rgba(168, 140, 85, .7); }
/* the paper pages (journal, news): gold is too pale to read on ivory, so their accent is the deep purple */
.p-journal, .p-news { --murasaki: #331732; --murasaki-lift: #331732; --murasaki-ink: #241b29; }
.jl-filters button[aria-pressed="true"], .jl-filter.is-active, [data-filter].is-active { background: #331732 !important; border-color: #331732 !important; color: #f4f1ea !important; }

/* ── 堂 / 時 / 業: the character leads its label ───────────────────────── */
.gd-pillar { display: flex; align-items: center; gap: 14px; }
.gd-pillar__k {
  flex: 0 0 auto; display: block; width: auto;
  border: 0; border-radius: 0;
  font: 400 1.5em/1 var(--brush-ja); letter-spacing: 0; color: #f4f1ea; text-indent: 0;
}
.gd-pillar .ja, .gd-pillar .zh { letter-spacing: .3em; }
/* the section's character stands behind its heading in place of the running numeral */
.gd-num--pillar { font-size: 4.2em; top: -.72em; opacity: .12; }

/* ── Header: the GD mark above, GINDENDO below it, the O a red sun (note 5) ─── */
.shell-brand { flex-direction: column; align-self: start; gap: clamp(.7rem, 1vw, .95rem); padding-top: clamp(.7rem, 1.2vw, 1.1rem); transition: gap .4s ease, padding-top .4s ease; }
.shell-header .shell-brand img { height: clamp(2.3rem, 3.5vw, 3.3rem); transition: height .4s ease, filter .4s ease; }
.shell-brand__word { display: inline-flex; align-items: center; font: 500 clamp(.6rem, .78vw, .74rem)/1 var(--label) !important; letter-spacing: .46em !important; padding-left: .46em; transition: font-size .4s ease; }
.shell-brand__o { display: inline-block; width: .92em; height: .92em; border-radius: 50%; background: var(--hinomaru); margin-left: -.06em; }
/* past the opening the bar turns solid and the lockup tucks into it */
.shell-header.is-solid .shell-brand { gap: .32rem; padding-top: 0; align-self: center; }
.shell-header.is-solid .shell-brand img { height: clamp(1.5rem, 2vw, 1.9rem); }
.shell-header.is-solid .shell-brand__word { font-size: .52rem !important; }
.shell-header[data-ground="light"] .shell-brand img { filter: brightness(0); }
@media (max-width: 479px) {
  .shell-brand span { display: inline-flex; }
  .shell-brand__word { font-size: .52rem !important; letter-spacing: .34em !important; }
  .shell-header .shell-brand img { height: 2rem; }
}

/* ── Opening film (notes 1, 2, 3, 10): nothing over the picture but one quiet line ─── */
.hero-panel--art .hero-panel__shade { background: linear-gradient(0deg, rgba(8, 7, 7, .78), rgba(8, 7, 7, .1) 46%, rgba(8, 7, 7, .28)); }
.hero-panel--art h1 { font-size: clamp(27px, 2.7vw, 42px); line-height: 1.3; }
/* panels 2 and 3 still run the earlier, brighter clips: bring them down to the montage's light */
.hero-panel:not(.hero-panel--art) .hero-panel__media > video { filter: brightness(.66) contrast(1.2) saturate(.72); }
.hero-panel:not(.hero-panel--art) .hero-panel__shade,
.hero-panel:nth-child(2) .hero-panel__shade { background: radial-gradient(ellipse at 62% 40%, rgba(8, 7, 7, 0), rgba(8, 7, 7, .55) 78%), linear-gradient(0deg, rgba(8, 7, 7, .8), transparent 58%); }
.hero-panel h2 { font-size: clamp(28px, 3vw, 46px); line-height: 1.25; }
.hero-panel .lede { color: rgba(244, 241, 234, .84); max-width: 34em; }
@media (prefers-reduced-motion: reduce) {
  .hero-panel:first-child .hero-panel__media { background-image: url("assets/c-v-montage-d.webp"); }
  .hero-panel:nth-child(2) .hero-panel__media { background-image: url("assets/c-v-chasing-d.webp"); }
  .hero-panel:nth-child(3) .hero-panel__media { background-image: url("assets/c-v-strike-d.webp"); }
}

/* ── 時 / 業 on the home page ─────────────────────────────────────────── */
a.split-feature__image { display: block; cursor: pointer; }
.craft-section__heading .text-link { display: inline-block; }
.craft-more {
  justify-self: start; margin-top: 4px; padding-bottom: 4px; color: #f4f1ea; text-decoration: none;
  font: 500 12px/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold); transition: color .3s ease;
}
.craft-more .ja, .craft-more .zh { letter-spacing: .16em; }
.craft-more:hover { color: var(--gold); }

/* ── 堂と誂え (atsurae.html): the hall's own text, set as a reading column ──── */
.p-atsurae .a-dou { padding-block: clamp(3.5rem, 8vw, 7.5rem); background: #151314; border-block: 1px solid rgba(168, 140, 85, .22); }
.p-atsurae .a-dou__head { max-width: 46rem; margin-inline: auto; text-align: center; }
.p-atsurae .a-dou__chapters { max-width: 44rem; margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; display: grid; gap: clamp(2.75rem, 6vw, 4.5rem); }
.p-atsurae .a-dou__ch { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: clamp(1rem, 3vw, 2rem); }
.p-atsurae .a-dou__no { font: 500 .72rem/1 var(--label); letter-spacing: .2em; color: var(--gold); padding-top: .95rem; border-top: 1px solid var(--gold); align-self: start; font-variant-numeric: lining-nums; }
.p-atsurae .a-dou__ch h3 { margin: 0; font: 400 clamp(1.3rem, 2.6vw, 1.8rem)/1.4 var(--serif); padding-top: .55rem; }
.p-atsurae .a-dou__ch h3 .ja { font-family: var(--brush-ja); letter-spacing: .06em; }
.p-atsurae .a-dou__ch h3 .zh { font-family: var(--brush-zh); }
.p-atsurae .a-dou__ch p { grid-column: 2; margin: 1.1rem 0 0; font: 400 1rem/2.05 var(--sans); color: rgba(244, 241, 234, .84); }
.p-atsurae .a-dou__ch p strong { display: block; margin: .5rem 0; font-weight: 400; font-size: 1.14em; color: #f4f1ea; }
.p-atsurae .a-dou__ch p a { color: #f4f1ea; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.p-atsurae .a-dou__pending { grid-column: 2; margin: 1.4rem 0 0; padding: .9rem 1.1rem; border: 1px dashed rgba(168, 140, 85, .55); font: 400 .82rem/1.8 var(--sans); color: rgba(244, 241, 234, .7); }
.p-atsurae .a-cta { border-color: rgba(168, 140, 85, .7); }
@media (max-width: 40rem) {
  .p-atsurae .a-dou__ch { grid-template-columns: minmax(0, 1fr); }
  .p-atsurae .a-dou__no { justify-self: start; padding-right: 1.2rem; }
  .p-atsurae .a-dou__ch p, .p-atsurae .a-dou__pending { grid-column: 1; }
}
/* small caps want figures of their own height, not lining ones (the 1611 stood taller than its line) */
.gd-smallcaps { font-variant-numeric: oldstyle-nums; }
/* the stacked lockup stands a little below the bar, so a bar that slides away must clear it too */
.shell-header { transform: translate3d(0, calc((1 - var(--nav-bar-pinned)) * -150%), 0); }
/* 業: the strike film was the one called too bright and too even (note 3): pull it furthest into shadow */
#waza-panel .hero-panel__media > video { filter: brightness(.5) contrast(1.38) saturate(.62); }
#waza-panel .hero-panel__shade { background: radial-gradient(ellipse at 58% 42%, rgba(8, 7, 7, 0) 18%, rgba(8, 7, 7, .72) 80%), linear-gradient(0deg, rgba(8, 7, 7, .85), transparent 60%); }
.p-atsurae .a-dou__head .a-h2 { font-size: clamp(1.2rem, 5.2vw, 2.4rem); white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }

/* ======================================================================
 * v4 (2026-10-11) — the page at every size, not a desktop page squeezed
 * Phone (<=700), tablet (701-1100), a phone on its side (short and wide), and the wide desk.
 * ====================================================================== */

/* The index of the opening is the three characters themselves, at every size */
.hero-dots { gap: 10px; right: clamp(.7rem, 2.6vw, 3.5rem); }
.hero-dots i {
  display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 0;
  background: none; transform: none; font: 400 14px/1 var(--brush-ja); font-style: normal; color: rgba(244, 241, 234, .42);
  transition: color .4s ease, border-color .4s ease;
}
.hero-dots i::before { content: "堂"; }
.hero-dots i:nth-child(2)::before { content: "時"; }
.hero-dots i:nth-child(3)::before { content: "業"; }
.hero-dots i.is-active { background: none; transform: none; color: #f4f1ea; }
.gd-statement [data-l="ja"] .tb-text-reveal__text, .gd-statement [data-l="zh"] .tb-text-reveal__text { font-size: clamp(20px, 3.1vw, 34px); }
.craft-step b { font: 400 1.7em/1 var(--serif); letter-spacing: .04em; font-variant-numeric: lining-nums; }

/* Touch: every control gets a finger-sized target without growing on the page */
@media (pointer: coarse), (max-width: 1100px) {
  .shell-lang button { padding-block: .8rem; }
  .shell-lang__thumb { inset-block: .45rem; }
  .shell-burger { padding-block: .9rem; }
  .shell-shop { padding-block: .75rem .3rem; }
  .text-link, .craft-more, .ghost-link { padding-top: 10px; }
  .site-footer ul { gap: 4px; }
  .site-footer li a, .site-footer section > a { display: inline-block; padding-block: 9px 5px; }
}

/* ── Tablet: two columns come back, the craft shows two cards at a time ─── */
@media (min-width: 701px) and (max-width: 1100px) {
  .split-feature { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; padding: clamp(56px, 8vw, 96px) clamp(24px, 4.5vw, 48px); }
  .split-feature__image { margin: 0; }
  .split-feature__copy, .split-feature--reverse .split-feature__copy { max-width: none; padding: 0 0 0 clamp(24px, 4.5vw, 48px); }
  .split-feature--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split-feature--reverse .split-feature__image { order: 2; }
  .split-feature--reverse .split-feature__copy { padding: 0 clamp(24px, 4.5vw, 48px) 0 0; }
  .split-feature__copy h2 { font-size: clamp(26px, 3.6vw, 36px); }
  .craft-section { grid-template-columns: minmax(0, 1fr); padding: clamp(64px, 9vw, 104px) clamp(24px, 4.5vw, 48px); }
  .craft-section__heading { max-width: 40rem; padding: 0 0 40px; }
  .craft-carousel { padding: 0; }
  .craft-ribbon { grid-auto-columns: calc(50% - 12px); gap: 24px; padding: 0; scroll-padding: 0; }
  .craft-ribbon__nav { padding: 0; }
  .craft-section__heading .gd-head .gd-num, .split-feature__copy .gd-head .gd-num { left: -.1em; }
  .hero-panel__copy { padding: 3.75rem clamp(24px, 4.5vw, 48px) calc(3.5rem + 8svh); }
  .image-section--atelier { width: calc(100% - 2 * clamp(24px, 4.5vw, 48px)); aspect-ratio: 16 / 9; min-height: 0; margin: clamp(56px, 8vw, 96px) auto; }
  .image-section--collection { aspect-ratio: 4 / 5; max-height: 92svh; }
  .map-band { padding-inline: clamp(24px, 4.5vw, 48px); }
}

/* ── Phone: full-bleed pictures, a swiping craft row, the statement set vertically ─── */
@media (max-width: 700px) {
  /* opening */
  .hero-panel__copy { padding: 3rem 20px calc(2.6rem + 7svh); }
  .hero-panel__content { width: calc(100% - 40px); }
  .hero-panel--art h1 { font-size: clamp(22px, 6.6vw, 30px); }
  .hero-panel--art h1 .ja, .hero-panel--art h1 .zh { font-size: 1em; white-space: nowrap; letter-spacing: .02em !important; }
  .hero-panel h2 { font-size: clamp(24px, 7vw, 32px); }
  .hero-panel .lede { font-size: 14px; line-height: 1.85; margin-top: 14px; }
  .gd-pillar { gap: 11px; }
  .gd-pillar__k { width: auto; }
  .gd-smallcaps { margin-top: 16px; font-size: 12.5px; letter-spacing: .1em; }
  .gd-smallcaps::before { display: block; width: 30px; margin: 0 0 12px; }
  .hero-dots { right: 8px; bottom: 58svh; }
  .hero-dots i { width: 30px; height: 30px; font-size: 13px; }

  /* 堂とは: tategaki. The line that defines the house reads top to bottom, right to left */
  .gd-statement [data-l="ja"] .tb-text-reveal__sticky, .gd-statement [data-l="zh"] .tb-text-reveal__sticky { gap: 22px; padding: 0 20px; }
  .gd-statement [data-l="ja"] .tb-text-reveal__text, .gd-statement [data-l="zh"] .tb-text-reveal__text {
    display: block; writing-mode: vertical-rl; text-orientation: mixed; text-align: start;
    height: min(56svh, 23em); max-width: 100%; padding: 0;
    font-size: clamp(18px, 5.1vw, 23px); line-height: 2.25; letter-spacing: .16em;
  }
  .gd-statement [data-l="ja"] .tb-text-reveal__word, .gd-statement [data-l="zh"] .tb-text-reveal__word { display: inline; margin: 0; }
  .gd-statement [data-l="en"] .tb-text-reveal__text { font-size: clamp(22px, 6.2vw, 28px); line-height: 1.5; }
  .gd-statement .tb-text-reveal { height: 210vh; }

  /* 時 and the other picture-and-text pairs: the picture runs edge to edge */
  .split-feature { padding: 0 0 clamp(56px, 15vw, 76px); }
  .split-feature__image { margin: 0; aspect-ratio: 5 / 4; }
  .split-feature__copy, .split-feature--reverse .split-feature__copy { padding: 34px 22px 0; }
  .split-feature__copy h2, .craft-section h2, .image-section h2 { font-size: clamp(25px, 7vw, 31px); line-height: 1.35; }
  .split-feature__copy > p:not(.section-kicker), .craft-section__heading > p:not(.section-kicker), .image-section__copy > p { font-size: 15px; line-height: 1.95; }
  .gd-num--pillar { font-size: 3.6em; top: -.5em; left: auto !important; right: 0; }
  .text-link { display: inline-block; margin-top: 18px; line-height: 1.6; }

  /* 業: cards you swipe, the next one already showing */
  .craft-section { padding: 64px 0 60px; }
  .craft-section__heading { padding: 0 22px 34px; }
  .craft-ribbon { grid-auto-columns: 82%; gap: 14px; padding: 0 22px; scroll-padding: 0 22px; }
  .craft-ribbon img { aspect-ratio: 4 / 5; }
  .craft-ribbon figcaption { margin-top: 16px; gap: 8px; }
  .craft-ribbon__nav { padding: 0 22px; margin-top: 22px; }

  /* the banners */
  .image-section--atelier { margin: 0; aspect-ratio: 3 / 4; place-items: end start; }
  .image-section--atelier .image-section__shade { background: linear-gradient(0deg, rgba(8, 7, 7, .88), rgba(8, 7, 7, .1) 62%); }
  .image-section--atelier .image-section__copy { width: calc(100% - 44px); margin: 0 22px 34px; }
  .image-section--collection { aspect-ratio: 3 / 4; max-height: none; }
  .image-section--collection > img { object-position: 62% 50%; }
  .image-section--collection .image-section__shade { background: linear-gradient(0deg, rgba(8, 7, 7, .85), rgba(8, 7, 7, .05) 60%); }
  .image-section__copy--left { margin: 0 22px 34px; width: calc(100% - 44px); }
  .map-band { margin-top: 0; padding: 0 0 56px; }
  .map-band__frame { aspect-ratio: 1; }
  .map-band__caption { padding: 0 22px; }
  .tb-interactive-hover-button.gd-btn { min-height: 48px; }

  /* 堂と誂え */
  .p-atsurae .a-dou { padding-block: 3.25rem 3.5rem; }
  .p-atsurae .a-dou__ch p { font-size: .97rem; line-height: 2.05; }
  .p-atsurae .a-dou__ch h3 { font-size: 1.32rem; }
}
@media (max-width: 380px) {
  .craft-ribbon { grid-auto-columns: 86%; }
}

/* ── A phone on its side: little height, so the opening travels light ──── */
@media (max-height: 500px) and (orientation: landscape) {
  .shell-brand { gap: .3rem; padding-top: .35rem; }
  .shell-header .shell-brand img { height: 1.7rem; }
  .shell-brand__word { font-size: .5rem !important; }
  .hero-panel { height: 118svh; }
  .hero-panel__copy { padding: 4.4rem clamp(24px, 5vw, 56px) 1.5rem; }
  .hero-panel__content { width: min(34rem, 72%); }
  .hero-panel--art h1, .hero-panel h2 { font-size: 24px; }
  .gd-smallcaps, .gd-scroll-cue { display: none; }
  .hero-panel .lede { margin-top: 8px; font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tb-interactive-hover-button.gd-btn { min-height: 40px; margin-top: 14px; }
  .eyebrow { margin-bottom: 8px; }
  .hero-dots { bottom: 46svh; }
  .gd-statement [data-l] .tb-text-reveal__text { font-size: 19px; line-height: 1.8; }
}

/* ── The wide desk: hold the measure, give the pictures the room ───── */
@media (min-width: 1700px) {
  .hero-panel__copy { padding-inline: clamp(5rem, 6.5vw, 9rem); }
  .hero-dots { right: clamp(2.5rem, 3vw, 4rem); }
}
/* v4 fixes after looking at the phone captures */
@media (max-width: 700px) {
  /* a word never splits across two vertical lines, so its ghost and its ink stay together */
  .gd-statement [data-l="ja"] .tb-text-reveal__word, .gd-statement [data-l="zh"] .tb-text-reveal__word { display: inline-block; }
  .gd-smallcaps { font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
  .image-section--collection > img { object-position: 30% 50%; }
}
@media (min-width: 701px) and (max-width: 1100px) { .image-section--collection > img { object-position: 34% 50%; } }
/* on its side the whole of each opening panel has to fit the one short screen */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-panel { height: 100svh; }
  .hero-panel__copy { padding-bottom: 1.25rem; }
}
@media (max-width: 700px) { .hero-panel--art h1 { font-size: clamp(20px, 5.8vw, 30px); } }
/* headings are split into single characters for their reveal, so a full stop could land alone on a line: balance the lines */
main :is(h1, h2, h3), .a-h1, .a-h2 { text-wrap: balance; }
@media (min-width: 701px) and (max-width: 1100px) {
  body .p-lineage__cover h1, body .p-workshop__cover h1, body .p-visit__cover h1 { font-size: clamp(2.2rem, 5.6vw, 3.4rem); line-height: 1.2; }
}
@media (max-width: 700px) {
  body .p-lineage__cover h1, body .p-workshop__cover h1, body .p-visit__cover h1 { font-size: clamp(1.9rem, 8.2vw, 2.5rem); line-height: 1.25; }
}
/* inner-page covers on a sideways phone: the title starts clear of the bar and fits the screen */
@media (max-height: 500px) and (orientation: landscape) {
  body .p-lineage__cover, body .p-workshop__cover, body .p-visit__cover { min-height: 100svh; }
  body .p-lineage__cover .inner, body .p-workshop__cover .inner, body .p-visit__cover .inner { padding-top: calc(var(--shell-bar-h) + 1.4rem); padding-bottom: 1.4rem; }
  body .p-lineage__cover h1, body .p-workshop__cover h1, body .p-visit__cover h1 { font-size: 1.9rem; line-height: 1.2; margin: .3rem 0 .6rem; }
  body .p-lineage__cover p:not(.shell-eyebrow), body .p-workshop__cover p:not(.shell-eyebrow), body .p-visit__cover p:not(.shell-eyebrow) { font-size: .88rem; line-height: 1.7; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
/* phone cover titles: sized to sit on one line in Japanese rather than break inside a word */
@media (max-width: 700px) { body .p-lineage__cover h1, body .p-workshop__cover h1, body .p-visit__cover h1 { font-size: clamp(1.4rem, 6.7vw, 2.4rem); } }
/* the narrowest phones: the lockup and the language switch each give a little so they never meet */
@media (max-width: 380px) {
  .shell-header { padding-inline: 14px; column-gap: 8px; }
  .shell-brand__word { font-size: .48rem !important; letter-spacing: .24em !important; padding-left: .24em; }
  .shell-lang button { padding-inline: .32rem; font-size: .62rem; letter-spacing: .02em; }
  .shell-burger { gap: .4rem; letter-spacing: .08em; }
}

/* v5 (2026-10-11): simpler. The character alone marks 堂 / 時 / 業: no label beside it, no index beside
   the opening, no ghost character behind the headings. */
.gd-num--pillar { display: none; }
.gd-pillar { margin-bottom: 18px; }
@media (max-width: 700px) { .hero-panel__content { width: 100%; } }

/* Menu, second pane (2026-10-11): a photograph, the title, a few words, one button */
.shell-sub__photo { display: block; margin: 0 0 1.6rem; aspect-ratio: 4 / 3; overflow: hidden; background: #0c0b0b; }
.shell-sub__photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) contrast(1.08) saturate(.85); transition: transform 1.2s var(--gd-ease), filter .6s ease; }
.shell-sub__photo:hover img { transform: scale(1.03); filter: brightness(.95) contrast(1.05) saturate(.9); }
.shell-sub__title { margin-bottom: .7rem; }
.shell-sub__lede { max-width: 30em; margin-bottom: 1.8rem; font-size: .95rem; line-height: 1.9; color: rgba(244, 241, 234, .76); }
.shell-sub__open { margin-top: 0; }
@media (max-height: 560px) { .shell-sub__photo { aspect-ratio: 5 / 2; margin-bottom: 1rem; } }

/* ======================================================================
 * v6 (2026-10-11) — plain controls. No pills, dots, glows, light sweeps or travelling borders:
 * a link is a line of type with a hairline and an arrow; everything else gets out of the way.
 * ====================================================================== */

/* Links that act as buttons: type, a hairline under it, an arrow that moves a little */
body .pill-link, .p-atsurae .a-cta.a-cta, body .shell-sub__open {
  display: inline-flex; align-items: center; gap: 14px; width: auto; min-height: 0;
  margin-top: 28px; padding: 0 2px 11px; border: 0; border-bottom: 1px solid rgba(244, 241, 234, .42); border-radius: 0;
  background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none;
  color: #f4f1ea; text-decoration: none; text-transform: none;
  font: 500 14px/1.4 var(--ja-display); letter-spacing: .2em;
  transition: border-color .35s ease, color .35s ease;
}
body .pill-link .en, .p-atsurae .a-cta.a-cta .en, body .shell-sub__open .en { font: 500 11.5px/1.4 var(--label); letter-spacing: .26em; text-transform: uppercase; }
body .pill-link .zh, .p-atsurae .a-cta.a-cta .zh, body .shell-sub__open .zh { font-family: var(--zh-display); letter-spacing: .16em; }
body .pill-link::after, .p-atsurae .a-cta.a-cta::after {
  content: "→"; font: 400 15px/1 var(--serif); letter-spacing: 0; color: var(--gold);
  transition: transform .45s var(--gd-ease);
}
body .shell-sub__open span[aria-hidden] { color: var(--gold); transition: transform .45s var(--gd-ease); display: inline-block; }
body .pill-link:is(:hover, :focus-visible), .p-atsurae .a-cta.a-cta:is(:hover, :focus-visible), body .shell-sub__open:is(:hover, :focus-visible) {
  background: none; color: #fff; border-bottom-color: var(--gold); transform: none;
}
body .pill-link:is(:hover, :focus-visible)::after, .p-atsurae .a-cta.a-cta:is(:hover, :focus-visible)::after,
body .shell-sub__open:is(:hover, :focus-visible) span[aria-hidden] { transform: translateX(6px); }
.p-atsurae .a-cta-row { margin-top: .4rem; }
.hero-panel .pill-link { margin-top: 26px; }
@media (max-height: 500px) and (orientation: landscape) { body .pill-link { margin-top: 12px; padding-bottom: 8px; } }

/* The notice: a plain dark plate with a hairline. No moving edge, no light across the title */
.news-notice { border-radius: 0; border: 1px solid rgba(244, 241, 234, .14); box-shadow: none; background: rgba(17, 16, 15, .82) !important; }
.news-notice::before { display: none; }
.news-notice__close { background: none; border-radius: 0; }
.news-notice a { text-decoration-color: var(--gold); }

/* Language: the chosen one is underlined, nothing slides behind it */
.shell-lang__thumb { display: none; }
.shell-lang button[aria-pressed="true"] { box-shadow: inset 0 -1px 0 var(--gold); }

/* Shared text row and underline position for shop and language controls. */
.shell-menu__kanji {
  display: block;
  width: clamp(8.5rem, 12vw, 11rem);
  margin: 0 0 1.7rem 2.9rem;
}
.shell-menu__kanji img {
  display: block;
  width: 100%;
  height: auto;
  opacity: .92;
}
/* A quiet gold rail, squared like the menu's rules; preserve native scrolling. */
html { scrollbar-width: thin; scrollbar-color: #6c6049 #11100f; }
.shell-pane__scroller {
  min-height: 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #6c6049 #1c191a;
  overscroll-behavior-y: contain;
}
@supports selector(::-webkit-scrollbar) {
  html { scrollbar-width: auto; scrollbar-color: auto; }
  html::-webkit-scrollbar { width: 7px; }
  html::-webkit-scrollbar-track { background: #11100f; }
  html::-webkit-scrollbar-thumb { background: #6c6049; border-inline: 3px solid #11100f; }
  html::-webkit-scrollbar-thumb:hover { background: #9c865c; }
  html::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  .shell-pane__scroller { scrollbar-width: auto; scrollbar-color: auto; }
  .shell-pane__scroller::-webkit-scrollbar { width: 7px; }
  .shell-pane__scroller::-webkit-scrollbar-track {
    background: linear-gradient(to right, transparent 3px, rgba(168,140,85,.06) 3px, rgba(168,140,85,.06) 4px, transparent 4px);
    margin-block: calc(var(--shell-bar-h) + 1.5rem) 1.75rem;
  }
  .shell-pane__scroller::-webkit-scrollbar-thumb {
    background: #6c6049;
    border-inline: 3px solid #1c191a;
    border-radius: 0;
    min-height: 48px;
  }
  .shell-pane__scroller::-webkit-scrollbar-thumb:hover { background: #9c865c; }
  .shell-pane__scroller::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  .shell-pane__scroller::-webkit-scrollbar-corner { background: transparent; }
}
.shell-header__end { align-items: center; }
.shell-header__end .shell-shop,
.shell-header__end .shell-lang button {
  position: relative;
  box-sizing: border-box;
  height: 2.25rem;
  line-height: 1;
  padding-block: .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0;
  box-shadow: none;
}
.shell-header__end .shell-shop::after,
.shell-header__end .shell-lang button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: .25rem;
  left: 0;
  right: 0;
  background: var(--gold);
}
@media (max-width: 47.99rem) {
  .shell-header__end .shell-shop { display: none; }
}

/* The line that follows the scroll: one thin gold hair, not a gradient */
.tb-scroll-progress { --tb-sp-height: 1px; background: var(--gold); }

/* Menu: no glowing dot on the current page, no disc behind the close mark */
.shell-nav-item[data-active="true"] b::after { box-shadow: none; }
body .shell-menu__close { background: none; border: 0; border-radius: 0; color: #f4f1ea; box-shadow: none; }

/* The craft row: bare arrows */
.craft-ribbon__nav button { border: 0; border-radius: 0; width: 40px; height: 40px; background: none; font: 400 18px/1 var(--serif); }

/* Readability pass: shared across the seven pages, preserving display headings. */
:root { --gd-readable-body: clamp(17px, 1.3vw, 19px); }
body main p:not(.sr-only):not(.eyebrow):not(.shell-eyebrow):not(.section-kicker):not(.gd-statement__kicker):not(.gd-smallcaps),
body .craft-note,
body .shell-sub__lede {
  font-size: var(--gd-readable-body) !important;
  line-height: 1.85 !important;
}
body .craft-step { font-size: 15px; letter-spacing: .08em; }
body .text-link, body .craft-more, body .ghost-link,
body .pill-link, body .shell-sub__open,
body .pill-link .en, body .shell-sub__open .en,
body .p-atsurae .a-cta.a-cta .en {
  font-size: 15px !important;
  letter-spacing: .12em;
  line-height: 1.6;
}
body .eyebrow, body .section-kicker, body .shell-eyebrow,
body .gd-smallcaps, body .gd-statement__kicker,
body .eyebrow .en, body .section-kicker .en {
  font-size: 14px !important;
  letter-spacing: .15em;
  line-height: 1.6;
}
body .map-band__caption { font-size: 16px !important; }
body .shell-burger, body .shell-shop, body .shell-lang button {
  font-size: 14px;
  letter-spacing: .1em;
}
body .shell-nav-item { font-size: clamp(18px, 1.5vw, 21px) !important; line-height: 1.5 !important; }
body .shell-nav-item em, body .shell-pane__foot a { font-size: 14px; }
body .site-footer p, body .site-footer address, body .site-footer a {
  font-size: 16px;
  line-height: 1.85;
}
body .site-footer section h2, body .site-footer .fine-print,
body .site-footer__bottom, body .footer-brand__identity small { font-size: 14px; line-height: 1.7; }
body .news-notice__eyebrow { font-size: 13px; }
body .news-notice__copy > p:not(.news-notice__eyebrow), body .news-notice a { font-size: 15px; line-height: 1.7; }
@media (max-width: 700px) {
  body .shell-lang button { padding-inline: .3rem; letter-spacing: .02em; }
  body .shell-nav-item { letter-spacing: .1em; }
  body .hero-panel .lede { -webkit-line-clamp: unset; }
}
.craft-ribbon__nav button:hover { background: none; color: var(--gold); }

/* 堂と誂え: the round slider button loses its fill on hover */
.p-atsurae .a-round:hover { background: none; color: var(--gold); border-color: var(--gold); }
.p-atsurae .a-pair .a-dots button.is-on { background: var(--gold); }
body .pill-link, .p-atsurae .a-cta.a-cta, body .shell-sub__open { padding-top: 12px; }
/* no faint numerals behind section headings either: the headings stand on their own */
.gd-num { display: none; }
/* the tracker is back beside the opening, so phone copy keeps clear of it again */
@media (max-width: 700px) { .hero-panel__content { width: calc(100% - 40px); } }

/* 2026-11-14: mineral/paper ground, observed at aoyama.rinnai.jp's footer.
   Original procedural SVG; static, background-only, with no borrowed image payload. */
:root { --gd-surface-texture: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22640%22%20height%3D%22640%22%3E%3Cfilter%20id%3D%22mineral%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22640%22%20height%3D%22640%22%20filterUnits%3D%22userSpaceOnUse%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.012%22%20numOctaves%3D%225%22%20seed%3D%2217%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D%22grain%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22640%22%20height%3D%22640%22%20filterUnits%3D%22userSpaceOnUse%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.72%22%20numOctaves%3D%223%22%20seed%3D%228%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23mineral)%22%20opacity%3D%22.07%22%2F%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23grain)%22%20opacity%3D%22.10%22%2F%3E%3C%2Fsvg%3E"); }
/* Every painted surface gets grain. Transparent layout divs show their parent's
   grain without stacking extra translucent rectangles over text or media. */
body, body main,
body :is(.gd-statement, .split-feature, .craft-section, .site-footer, .a-dou, .a-band,
  .hero-story, .map-band, .map-band__frame, .map-frame,
  .lin-intro, .lin-sep, .lin-nav, .fh-columns, .fh-heading, .fh-body,
  .lin-title--panel, .lin-hand, .a-panel,
  .p-workshop__choose, .entry, .news-notice, .shell-pane, .shell-sub,
  .shell-header.is-solid),
body.page-lineage #origin {
  background-image: var(--gd-surface-texture) !important;
  background-size: 640px 640px;
  background-repeat: repeat;
}
/* The texture belongs to the ground, so media and typography stay clear. */
body .gd-grain { display: none; }
