/* =========================================================
   Michael Busha — sumi ink, washi paper, one red sun
   ========================================================= */
:root {
  --paper: #f5f0e7;
  --paper-2: #ece5d8;
  --paper-3: #e2d9c8;
  --ink: #1b1916;
  --ink-2: #3b3631;
  --muted: #6d655b;
  --line: #d6ccba;
  --shu: #c23b2e;
  --shu-dark: #9f2d22;
  --shu-tint: #f3dcd5;
  --night: #121110;
  --night-2: #1b1917;
  --night-line: #34302b;
  --night-text: #ebe5da;
  --night-muted: #a69e92;

  --f-display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --f-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* washi grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--shu); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }
::selection { background: var(--shu); color: #fff; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--shu); color: #fff; padding: 10px 16px; font-family: var(--f-ui); }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--f-ui); font-size: .75rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--shu); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow a { text-decoration: none; }
.eyebrow--light { color: #e46a5c; }
.display { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; margin-bottom: .2em; }
.subtitle { font-family: var(--f-body); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--muted); margin-bottom: 1.4em; }
.subtitle--light { color: var(--night-muted); }
.lede { font-size: 1.28em; line-height: 1.55; color: var(--ink-2); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 14px 28px;
  font-family: var(--f-ui); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn em { font-style: normal; }
.btn--shu { background: var(--shu); color: #fff; }
.btn--shu:hover { background: var(--shu-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; }
.btn--ghost:hover { border-color: currentColor; color: inherit; background: color-mix(in srgb, currentColor 8%, transparent); }
.actions, .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.8rem; }
.link-arrow {
  font-family: var(--f-ui); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--shu); display: inline-flex; align-items: center; gap: .6em;
}
.link-arrow::after { content: "→"; font-size: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--shu-dark); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  color: var(--night-text);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled, .site-header.is-open {
  background: color-mix(in srgb, var(--night) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--night-line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand__sun { width: 22px; height: 22px; border-radius: 50%; background: var(--shu); box-shadow: 0 0 18px rgba(194, 59, 46, .55); transition: transform .4s var(--ease); }
.brand:hover .brand__sun { transform: scale(1.12); }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .01em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 3vw, 40px); }
.site-nav a {
  position: relative; display: block; padding: 8px 0;
  font-family: var(--f-ui); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--night-text);
}
.site-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--shu); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: inherit; cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .3s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .is-open .nav-toggle__bars { background: transparent; }
  .is-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .is-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
    background: var(--night); padding: 40px var(--gutter);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--night-line); }
  .site-nav a { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 18px 0; }
  .site-nav a::after { left: auto; right: 4px; top: 50%; bottom: auto; transform: translateY(-50%) scale(0); width: 10px; height: 10px; }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: translateY(-50%) scale(1); }
}

/* ---------- the sun ---------- */
.sun {
  position: absolute; border-radius: 50%; aspect-ratio: 1;
  background: radial-gradient(circle at 38% 34%, #e1513f 0%, #c63c2f 52%, #a42d22 100%);
  box-shadow: 0 0 140px 12px rgba(194, 59, 46, .28);
  animation: sunrise 2.6s var(--ease) both;
}
@keyframes sunrise { from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh);
  display: flex; align-items: center;
  background: var(--night); color: var(--night-text);
  padding: calc(var(--header-h) + 40px) 0 96px;
}
.hero__bg, .page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("/media/site/fuji-night.jpg") 75% 28% / cover no-repeat;
  animation: drift 30s ease-in-out infinite alternate;
}
.hero__bg::after, .page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 16, .92) 0%, rgba(18, 17, 16, .6) 45%, rgba(18, 17, 16, .05) 100%),
    linear-gradient(0deg, rgba(18, 17, 16, .85) 0%, rgba(18, 17, 16, 0) 35%);
}
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.1) translateX(-1%); } }
.hero__sun { z-index: -1; width: clamp(120px, 15vw, 260px); right: 4%; top: 12%; }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(3.2rem, 9.5vw, 8rem); line-height: .98; margin: 0 0 .25em; color: #f6f1e8; animation: rise 1.1s var(--ease) .15s both; }
.hero__pron { font-family: var(--f-ui); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 2rem; animation: rise 1.1s var(--ease) .3s both; }
.hero__pron em { font-style: normal; color: var(--night-text); }
.hero__lede { max-width: 33rem; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; color: #d9d2c6; animation: rise 1.1s var(--ease) .45s both; }
.hero__actions { animation: rise 1.1s var(--ease) .6s both; }
.hero .eyebrow { animation: rise 1.1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__kanji {
  position: absolute; right: var(--gutter); bottom: 96px; margin: 0;
  writing-mode: vertical-rl; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.35rem); letter-spacing: .55em; color: rgba(235, 229, 218, .28);
}
.hero__scroll { position: absolute; left: 50%; bottom: 20px; width: 44px; height: 64px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 6px; width: 1px; height: 52px; background: rgba(235, 229, 218, .2); overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: var(--night-text); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { from { transform: translateY(-18px); } to { transform: translateY(52px); } }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--night-text);
  padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(64px, 9vw, 110px);
}
.page-hero h1 { color: #f6f1e8; max-width: 16ch; }
.page-hero__lede { max-width: 36rem; font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: #d9d2c6; margin: 0; }
.page-hero__sun { z-index: -1; width: clamp(140px, 18vw, 280px); right: 12%; top: 26%; }
.page-hero--compact h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero--full { min-height: 100svh; display: flex; align-items: center; }
.page-hero--post { padding-bottom: clamp(48px, 7vw, 80px); }
.page-hero--post .page-hero__bg { background-position: 70% 70%; opacity: .55; }
.page-hero--post h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: none; }
.page-hero--post .eyebrow { margin-bottom: 1.4rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper2 { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--night-text); }
.section--night h2, .section--night h3 { color: #f6f1e8; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- book ---------- */
.book-feature__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.book-visual { position: relative; isolation: isolate; padding: 6% 4%; }
.book-visual::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 82%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); background: radial-gradient(circle at 38% 34%, #d9493a, var(--shu) 55%, var(--shu-dark));
}
.book-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(27, 25, 22, .35)); }
.book-meta { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 1.8rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); }
.book-meta div { display: flex; flex-direction: column; }
.book-meta dt { font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.book-meta dd { margin: 0; font-size: 1rem; }
.book-meta--stack { flex-direction: column; gap: 14px; border: 0; padding: 0; }
.book-meta--stack div { flex-direction: row; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

.book-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.book-hero h1 { font-size: clamp(3rem, 7.5vw, 6rem); margin-bottom: .15em; }
.book-hero p { color: #d9d2c6; max-width: 34rem; }
.book-visual--hero::before { width: 86%; }
.book-visual--hero img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); animation: rise 1.2s var(--ease) .2s both; }
.page-hero--book .page-hero__bg { opacity: .7; }

.book-about { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.author-card { background: var(--paper-2); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.author-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: 50% 22%; }
.author-card__body { padding: 24px 26px 28px; font-size: 1rem; }
.author-card__body .eyebrow { margin-bottom: .8rem; }

.stores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stores a {
  display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; background: var(--paper);
  text-decoration: none; position: relative; transition: background .25s var(--ease), color .25s;
}
.stores a::after { content: "↗"; position: absolute; right: 20px; top: 22px; color: var(--muted); font-family: var(--f-ui); transition: transform .25s var(--ease), color .25s; }
.stores a:hover { background: var(--night); color: var(--night-text); }
.stores a:hover::after { color: var(--shu); transform: translate(2px, -2px); }
.stores__country { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; }
.stores__domain { font-family: var(--f-ui); font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.stores a:hover .stores__domain { color: var(--night-muted); }

.signed__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.signed p { color: #d9d2c6; max-width: 34rem; }
.signed__sig { width: 100%; max-width: 360px; justify-self: center; opacity: .9; transform: rotate(-4deg); }

/* ---------- path / milestones ---------- */
.path__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.path__portrait { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.path__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); filter: grayscale(.15) contrast(1.02); }
.path__portrait figcaption { margin-top: 14px; font-family: var(--f-ui); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.path__intro { font-size: 1.2rem; color: var(--ink-2); margin-bottom: 2.4rem; }
.milestones { list-style: none; margin: 0; padding: 0; }
.milestones li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.milestones li:last-child { border-bottom: 1px solid var(--line); }
.milestones__year { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--shu); }
.milestones__year small { font-size: .45em; letter-spacing: .1em; margin-left: .2em; }
.milestones p { margin: 0; }

/* ---------- post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.post-card { display: flex; flex-direction: column; position: relative; }
/* whole card is the tap target */
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); margin-bottom: 20px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card__media--contain { background: radial-gradient(circle at 50% 55%, var(--shu) 0 33%, var(--paper-3) 33.4%); }
.post-card__media--contain img { object-fit: contain; padding: 6% 0; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card:hover .post-card__title a { color: var(--shu); }
.post-card__meta { display: flex; gap: 14px; font-family: var(--f-ui); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-card__meta span::before { content: "·"; margin-right: 14px; }
.post-card__title { font-size: 1.4rem; margin-bottom: .45em; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { font-size: 1rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; }
.post-card--lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.post-card--lead .post-card__media { margin: 0; }
.post-card--lead .post-card__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.post-card--lead .post-card__excerpt { font-size: 1.1rem; -webkit-line-clamp: 4; }
.feed-note { margin-top: 56px; text-align: center; font-family: var(--f-ui); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.feed-note a { color: var(--muted); }

/* ---------- training band ---------- */
.training-band { overflow: hidden; }
.training-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.training-band__quote { font-family: var(--f-display); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.6; color: #d9d2c6; border-left: 2px solid var(--shu); padding-left: 22px; margin: 1.6rem 0 2rem; }
.lesson-links { list-style: none; margin: 0 0 2.2rem; padding: 0; }
.lesson-links li { border-top: 1px solid var(--night-line); }
.lesson-links li:last-child { border-bottom: 1px solid var(--night-line); }
.lesson-links a { display: flex; align-items: center; gap: 20px; padding: 16px 0; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; text-decoration: none; color: var(--night-text); transition: color .25s, padding .3s var(--ease); }
.lesson-links a span { color: var(--shu); width: 1.6em; font-size: 1.3em; font-weight: 800; line-height: 1; }
.lesson-links a:hover { color: #fff; padding-left: 8px; }
.collage { position: relative; aspect-ratio: 1 / 1; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.collage__a { width: 58%; left: 0; top: 12%; aspect-ratio: 4 / 3; }
.collage__b { width: 36%; right: 0; top: 0; aspect-ratio: 3 / 4; }
.collage__c { width: 54%; left: 24%; bottom: 2%; aspect-ratio: 4 / 3; filter: grayscale(.2); }
.collage::before { content: ""; position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--shu); right: 2%; bottom: 16%; }

/* ---------- business ---------- */
.business-strip {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "label title arrow" "label text arrow";
  gap: 4px 36px; align-items: center; padding: 32px clamp(24px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: background .3s var(--ease), color .3s, border-color .3s;
}
.business-strip__label { grid-area: label; font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--shu); writing-mode: horizontal-tb; }
.business-strip__title { grid-area: title; font-family: var(--f-display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; }
.business-strip__text { grid-area: text; font-size: 1rem; color: var(--muted); }
.business-strip__arrow { grid-area: arrow; font-size: 1.6rem; color: var(--shu); transition: transform .3s var(--ease); }
.business-strip:hover { background: var(--night); border-color: var(--night); color: var(--night-text); }
.business-strip:hover .business-strip__text { color: var(--night-muted); }
.business-strip:hover .business-strip__arrow { transform: translateX(6px); }

.business { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.business__img { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.business__img img { width: 100%; border-radius: var(--radius); }
.services { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services li { background: var(--paper); padding: 18px 20px; font-size: 1rem; color: var(--ink-2); }
.services span { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.contact-card { background: var(--night); color: var(--night-text); padding: 32px; border-radius: var(--radius); }
.contact-card p { margin: 0 0 .4em; }
.contact-card a:not(.btn) { color: #fff; }
.contact-card__name { font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; color: #f6f1e8; }
.contact-card__name span { font-family: var(--f-body); font-size: .9rem; font-weight: 400; font-style: italic; color: var(--night-muted); }
.contact-card .btn { margin-top: 1.4rem; }

/* ---------- gallery page ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 4vw, 48px); overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
@media (max-width: 640px) {
  /* fade the edge so it reads as scrollable */
  .subnav ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; }
  .subnav ul.is-end { -webkit-mask-image: none; mask-image: none; }
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 18px 0 16px; white-space: nowrap; border-bottom: 2px solid transparent;
  font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted);
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-color: var(--shu); }

.training-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 7vw, 96px); align-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.training-intro__img { margin: 0; }
.training-intro__img img { width: 100%; max-width: 400px; box-shadow: 0 30px 60px rgba(27, 25, 22, .18); }

.lessons { display: grid; gap: 16px; }
.lesson { background: #fbf8f2; border: 1px solid var(--line); border-radius: var(--radius); }
.lesson summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num title icon" "num sub icon";
  column-gap: 22px; align-items: center; padding: 24px clamp(20px, 3vw, 32px);
}
.lesson summary::-webkit-details-marker { display: none; }
.lesson summary::after {
  content: ""; grid-area: icon; width: 14px; height: 14px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease);
}
.lesson[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.lesson__num { grid-area: num; font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; color: var(--shu); line-height: 1; }
.lesson__title { grid-area: title; font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
.lesson__sub { grid-area: sub; font-family: var(--f-ui); font-size: .78rem; letter-spacing: .08em; color: var(--muted); }
.lesson__body { margin: 0 clamp(20px, 3vw, 32px); padding: 24px 0 28px; border-top: 1px solid var(--line); }

.library__intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 80px); margin-bottom: 56px; }
.library__intro .prose { font-size: 1.05rem; }
.library__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tabs { display: inline-flex; padding: 4px; background: var(--paper-3); border-radius: 999px; }
.tabs__tab {
  border: 0; background: transparent; cursor: pointer; padding: 10px 20px; border-radius: 999px;
  font-family: var(--f-ui); font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-2);
  transition: background .25s, color .25s;
}
.tabs__tab span { font-weight: 500; color: var(--muted); margin-left: 4px; }
.tabs__tab[aria-selected="true"] { background: var(--night); color: var(--night-text); }
.tabs__tab[aria-selected="true"] span { color: #e46a5c; }
.search { position: relative; flex: 0 1 340px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%; height: 46px; padding: 0 16px 0 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-family: var(--f-ui); font-size: .95rem; color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--shu); box-shadow: 0 0 0 3px var(--shu-tint); }
.library__zen-note { font-size: 1rem; color: var(--ink-2); max-width: 60rem; margin: 18px 0 8px; }
.library__status { font-family: var(--f-ui); font-size: .78rem; letter-spacing: .08em; color: var(--muted); min-height: 1.4em; margin: 10px 0; }
.library__shelf { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); max-height: 720px; overflow: auto; }
.library__table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.library__table th {
  position: sticky; top: 0; z-index: 1; background: var(--night); color: var(--night-text); text-align: left;
  font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 14px 16px;
}
.library__table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.library__table tbody tr:hover td { background: #fbf8f2; }
.library__table td.col-title { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; min-width: 220px; }
.library__table td.col-subject { color: var(--ink-2); min-width: 220px; }
.library__table td.col-isbn, .library__table td.col-year { font-family: var(--f-ui); font-size: .82rem; white-space: nowrap; color: var(--muted); }
.library__table tr[hidden] { display: none; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9.5rem; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__item { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0 48px; padding-bottom: 56px; position: relative; }
.timeline__item::before { content: ""; position: absolute; left: calc(9.5rem - 7px); top: 10px; width: 15px; height: 15px; border-radius: 50%; background: var(--shu); box-shadow: 0 0 0 6px var(--paper); }
.timeline__year { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1.2; color: var(--shu); margin: 0; padding-right: 32px; text-align: right; }
.timeline__card h3 { margin-bottom: .3em; }
.timeline__meta { font-family: var(--f-ui); font-size: .8rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 1em; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 18px; }
.thumbs--one { grid-template-columns: minmax(0, 300px); }
.thumbs a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease), filter .6s; }
.thumbs--one img { aspect-ratio: 300 / 418; }
.thumbs a:hover img { transform: scale(1.05); }

.feature-rows { display: grid; gap: clamp(56px, 8vw, 96px); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-row--flip .feature-row__img { order: 2; }
.feature-row__img { display: block; overflow: hidden; border-radius: var(--radius); }
.feature-row__img img { width: 100%; max-height: 560px; object-fit: cover; transition: transform .8s var(--ease); }
.feature-row__img:hover img { transform: scale(1.03); }
.feature-row__text p { color: #d9d2c6; }

/* ---------- article / prose ---------- */
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-ui); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); margin: 1rem 0 0; }
.post__meta span::before { content: "·"; margin-right: 18px; }
.prose { font-size: 1.2rem; line-height: 1.78; }
.prose > * + h2 { margin-top: 2.2em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { margin-top: 1.6em; }
.prose a { color: var(--shu-dark); }
.prose em { font-style: italic; }
.prose ol, .prose ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--shu); font-family: var(--f-ui); font-weight: 600; }
.lede { margin-bottom: 1.2em; }
.eyebrow-inline { font-family: var(--f-ui); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--shu); }
.eyebrow-inline a { color: inherit; }
.figure { margin: 2.2em 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption { margin-top: 12px; font-family: var(--f-ui); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.figure figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--shu); flex: none; }
.figure--wide { margin-inline: clamp(-80px, -6vw, 0px); }
.figure--float { float: left; width: min(42%, 280px); margin: .4em 2em 1em 0; }
.figure--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; clear: both; }
.figure--pair img { height: 100%; object-fit: cover; }
.dialogue { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--shu); font-family: var(--f-display); font-size: 1.15em; color: var(--ink); }
.dialogue p { margin: .4em 0; }
.pull { margin: 2em 0; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; color: var(--shu); }
.pull p { margin: 0; }
.post-coda { clear: both; margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--line); text-align: center; font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--shu); }
.post-coda span { font-size: .8em; color: var(--ink-2); font-weight: 600; }
.post-coda a { text-decoration: none; color: var(--shu); }
.post-coda a::after { content: " →"; }
.doc-link a {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px; margin: 2em 0 0; text-decoration: none;
  background: var(--night); color: var(--night-text); border-radius: var(--radius); transition: transform .3s var(--ease), background .3s;
}
.doc-link a:hover { color: #fff; background: #000; transform: translateY(-2px); }
.doc-link__badge { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--shu); color: #fff; font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .1em; }
.doc-link strong { display: block; font-family: var(--f-display); font-size: 1.2rem; }
.doc-link small { display: block; font-family: var(--f-ui); font-size: .8rem; color: var(--night-muted); line-height: 1.4; margin-top: 2px; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--file { aspect-ratio: auto; max-width: 560px; }
.video--file video { position: static; height: auto; }
.book-cta { clear: both; display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; margin-top: 3em; padding: 28px; background: var(--paper-2); border-radius: var(--radius); font-size: 1rem; }
.book-cta p { margin-bottom: .6em; }
.book-cta__kicker { font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--shu); }
.book-cta__title { font-family: var(--f-display); font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.book-cta .btn { margin-top: .6em; }

.post-footer { padding-bottom: clamp(72px, 10vw, 120px); }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 1rem; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.author-box p { margin: 0; color: var(--ink-2); }
.author-box__name { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--ink) !important; margin-bottom: 4px !important; }
.author-box__name span { font-family: var(--f-body); font-size: .85rem; font-weight: 400; font-style: italic; color: var(--muted); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav__link { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .25s, background .25s; }
.post-nav__link span { font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--shu); }
.post-nav__link strong { font-family: var(--f-display); font-size: 1.1rem; line-height: 1.3; }
.post-nav__link--next { text-align: right; grid-column: 2; }
.post-nav__link:hover { border-color: var(--shu); background: #fbf8f2; color: var(--ink); }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--night-text); }
.lightbox::backdrop { background: rgba(10, 9, 8, .94); }
.lightbox__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px 72px 72px; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: var(--radius); }
.lightbox__fig figcaption { font-family: var(--f-ui); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--shu); border-color: var(--shu); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: 1rem; border-top: 1px solid var(--night-line); }
.site-footer a { color: var(--night-text); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--night-line); }
.site-footer__sign img { width: 220px; margin-bottom: 18px; opacity: .92; }
.site-footer__sign p { max-width: 26rem; }
.site-footer__sign a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); }
.site-footer h2 { font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #e46a5c; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 12px; }
.site-footer__social svg { width: 18px; height: 18px; flex: none; color: var(--night-muted); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-family: var(--f-ui); font-size: .8rem; letter-spacing: .04em; }
.site-footer__bottom p { margin: 0; }
.site-footer__osu { font-family: var(--f-display); font-size: 1.4rem; color: var(--shu); letter-spacing: .2em; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .hero__kanji { display: none; }
}
@media (max-width: 860px) {
  .book-feature__grid, .path__grid, .training-band__grid, .book-hero, .book-about, .business, .signed__inner,
  .training-intro, .library__intro, .feature-row, .post-card--lead { grid-template-columns: 1fr; }
  .book-visual { max-width: 460px; margin-inline: auto; }
  .book-hero .book-visual { order: -1; max-width: 360px; }
  .path__portrait, .business__img { position: static; max-width: 420px; }
  .feature-row--flip .feature-row__img { order: 0; }
  .collage { max-width: 480px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__sign { grid-column: 1 / -1; }
  .timeline::before { left: 7px; }
  .timeline__item { grid-template-columns: 1fr; padding-left: 40px; }
  .timeline__item::before { left: 0; top: 8px; }
  .timeline__year { text-align: left; padding: 0; margin-bottom: 6px; font-size: 1.3rem; }
  .hero { align-items: flex-end; padding-top: calc(var(--header-h) + 34vw); padding-bottom: 96px; }
  .hero .eyebrow { letter-spacing: .15em; }
  .hero__sun { right: 18%; top: calc(var(--header-h) + 8px); width: 30vw; }
  .page-hero__sun { right: -8%; top: 18%; width: 38vw; opacity: .75; }
  .business-strip { grid-template-columns: 1fr auto; grid-template-areas: "label arrow" "title arrow" "text arrow"; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .post-grid { grid-template-columns: 1fr; }
  .stores { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .milestones li { grid-template-columns: 1fr; gap: 6px; }
  .figure--float { float: none; width: 100%; margin: 1.6em 0; }
  .figure--wide { margin-inline: 0; }
  .prose { font-size: 1.1rem; }
  .book-cta { grid-template-columns: 1fr; text-align: left; }
  .book-cta img { max-width: 200px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link--next { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .lightbox__stage { padding: 64px 12px 80px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }

  /* library rows become cards */
  .library__shelf { max-height: none; border: 0; background: transparent; }
  .library__table thead { display: none; }
  .library__table, .library__table tbody, .library__table tr, .library__table td { display: block; }
  .library__table tr { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; }
  .library__table td { border: 0; padding: 2px 0; display: grid; grid-template-columns: 6.5rem 1fr; gap: 10px; }
  .library__table td::before { content: attr(data-label); font-family: var(--f-ui); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .25em; }
  .library__table td.col-title { display: block; font-size: 1.1rem; margin-bottom: 8px; min-width: 0; }
  .library__table td.col-title::before { display: none; }
  .library__table td.col-subject { min-width: 0; }
  .library__table tbody tr:hover td { background: none; }

  /* touch: comfortable targets, no iOS focus-zoom */
  .search { flex-basis: 100%; }
  .search input { font-size: 16px; height: 48px; }
  .tabs { display: flex; width: 100%; }
  .tabs__tab { flex: 1; min-height: 44px; padding: 8px 10px; line-height: 1.3; }
  .tabs__tab span { display: block; margin-left: 0; }
  .link-arrow { min-height: 44px; }
  .page-hero .eyebrow a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .contact-card p a { display: inline-block; padding: 8px 0; }
  .site-footer ul { gap: 2px; }
  .site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .feed-note a { display: inline-block; padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .hero__scroll, .subnav, .sun { display: none; }
  body { background: #fff; }
}
