/* ==========================================================================
   Shibumi Life — public site styles
   Palette: washi white · sumi black · shu red · matcha green · sakura paper pink
   ========================================================================== */
:root {
  --washi: #f7f4ee;      /* rice-paper white, page background */
  --paper: #fffdf9;      /* lighter paper for cards */
  --sumi: #1f1d1b;       /* ink black */
  --ink-2: #4a4641;      /* secondary text */
  --ink-3: #77716a;      /* muted text */
  --shu: #b3322c;        /* vermilion red — accents only */
  --shu-dark: #93261f;
  --matcha: #8e9c80;     /* soft green */
  --matcha-deep: #556148;/* green for text/buttons (AA contrast) */
  --matcha-pale: #e6eadf;
  --sakura: #f1e2dc;     /* rice-paper pink */
  --line: #e2dcd2;
  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', Georgia, serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1180px;
  --read: 680px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--washi); color: var(--sumi); font: 400 17px/1.75 var(--sans); letter-spacing: .01em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture { display: block; max-width: 100%; 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; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; letter-spacing: .01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.read { width: min(var(--read), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--sumi); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- small type elements ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.2rem; }
.eyebrow .kanji { font-family: var(--serif); letter-spacing: .1em; color: var(--shu); font-size: 1rem; text-transform: none; }
.eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }
.lead { font-size: 1.18rem; line-height: 1.75; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.meta { font-size: .85rem; color: var(--ink-3); letter-spacing: .04em; }
.meta a { text-decoration: none; }
.dot::before { content: "·"; margin: 0 .5em; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.5em; border: 1px solid var(--sumi); background: var(--sumi); color: var(--washi); font: 500 .92rem/1 var(--sans); letter-spacing: .08em; text-decoration: none; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--shu); border-color: var(--shu); color: #fff; }
.btn.ghost { background: transparent; color: var(--sumi); }
.btn.ghost:hover { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }
.btn.green { background: var(--matcha-deep); border-color: var(--matcha-deep); }
.btn.green:hover { background: var(--sumi); border-color: var(--sumi); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { font-size: .9rem; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid var(--shu); padding-bottom: 2px; white-space: nowrap; }
.link-arrow::after { content: " →"; color: var(--shu); }
label { display: block; font-size: .85rem; letter-spacing: .04em; margin-bottom: .35em; color: var(--ink-2); }
input[type=text], input[type=email], input[type=search], select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75em .9em; border: 1px solid var(--line); background: var(--paper); color: var(--sumi); border-radius: var(--radius); }
input:focus, select:focus, textarea:focus { border-color: var(--matcha-deep); outline: 2px solid color-mix(in srgb, var(--matcha) 35%, transparent); outline-offset: 0; }
textarea { min-height: 160px; resize: vertical; }
.field { margin-bottom: 1.1rem; }
.check { display: flex; gap: .6em; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: .4em; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1em 1.2em; border-left: 3px solid var(--matcha-deep); background: var(--matcha-pale); margin-bottom: 1.5rem; }
.notice.err { border-color: var(--shu); background: var(--sakura); }
.notice ul { margin: 0; padding-left: 1.2em; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--washi) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 84px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--sumi); }
.brand:hover { color: var(--sumi); }
.brand img { height: 52px; width: auto; }
.seal { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--shu); color: #fff; font-family: var(--serif); font-size: 1.05rem; line-height: 1; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--shu), inset 0 0 0 3px rgba(255,255,255,.35); }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: .04em; }
.nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-size: .92rem; letter-spacing: .1em; position: relative; padding: .4em 0; }
.nav a[aria-current="page"]::after, .nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--shu); }
.nav .soon-tag { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--matcha-deep); margin-left: .35em; vertical-align: super; }
.nav-search { display: inline-grid; place-items: center; width: 36px; height: 36px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--sumi); }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 auto 0; background: var(--washi); border-bottom: 1px solid var(--line); padding: 1rem 24px 2rem; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .nav a { font-size: 1.15rem; font-family: var(--serif); letter-spacing: .04em; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
.preview-bar { background: var(--matcha-deep); color: #fff; font-size: .85rem; text-align: center; padding: .5em 1em; letter-spacing: .04em; }
.preview-bar a { color: #fff; }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.section.tight { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.6rem; }
.section-head h2 { margin: 0; }
.bg-sakura { background: var(--sakura); }
.bg-paper { background: var(--paper); }
.bg-matcha { background: var(--matcha-pale); }
.bg-sumi { background: var(--sumi); color: var(--washi); }
.bg-sumi .eyebrow, .bg-sumi .muted { color: #b9b2a8; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: min(86vh, 820px); }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 4rem max(24px, calc((100vw - var(--wrap)) / 2)) 4rem; padding-right: clamp(2rem, 5vw, 5rem); }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); font-weight: 400; line-height: 1.12; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--shu); }
.hero .lead { max-width: 30em; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-media { position: relative; overflow: hidden; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .vert { position: absolute; right: 22px; top: 28px; writing-mode: vertical-rl; font-family: var(--serif); color: var(--sumi); font-size: 1.05rem; letter-spacing: .5em; opacity: .75; }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 3.4; }
  .hero-text { padding: 2.8rem 24px 3.4rem; }
}

/* ---------- philosophy ---------- */
.philosophy { display: grid; grid-template-columns: 120px 1fr; gap: 3rem; max-width: 900px; margin-inline: auto; }
.philosophy .vert-big { writing-mode: vertical-rl; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--shu); letter-spacing: .15em; justify-self: center; }
.philosophy p { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.95; color: var(--ink-2); }
.philosophy p strong { color: var(--sumi); font-weight: 600; }
@media (max-width: 700px) { .philosophy { grid-template-columns: 1fr; gap: 1rem; } .philosophy .vert-big { writing-mode: horizontal-tb; font-size: 2.2rem; justify-self: start; } }

/* ---------- pillars ---------- */
.pillars { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillars > .pillar { flex: 1 1 380px; }
.pillar { background: var(--washi); padding: 2.4rem 2rem 2.2rem; text-decoration: none; display: flex; flex-direction: column; gap: .6rem; transition: background .25s; min-height: 260px; }
.pillar:hover { background: var(--paper); color: inherit; }
.pillar .kanji { font-family: var(--serif); font-size: 2.2rem; color: var(--shu); line-height: 1; margin-bottom: .6rem; }
.pillar h3 { margin: 0; font-size: 1.45rem; }
.pillar p { color: var(--ink-2); font-size: .97rem; margin: 0; flex: 1; }
.pillar .go { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pillar:hover .go { color: var(--shu); }
.pillar .badge { align-self: flex-start; }
.badge { display: inline-block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .35em .8em; border-radius: 99px; background: var(--matcha-pale); color: var(--matcha-deep); }
.badge.red { background: var(--sakura); color: var(--shu-dark); }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 2.8rem); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card:hover { color: inherit; }
.card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sakura); margin-bottom: 1.1rem; border-radius: 2px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .thumb img { transform: scale(1.035); }
.card h3 { font-size: 1.3rem; margin: .35rem 0 .5rem; transition: color .2s; }
.card:hover h3 { color: var(--shu); }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0 0 .8rem; }
.card .meta { margin-top: auto; }
.cat-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--matcha-deep); }

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; text-decoration: none; margin-bottom: 4rem; }
.feature:hover { color: inherit; }
.feature .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.feature .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.feature:hover .thumb img { transform: scale(1.03); }
.feature h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); transition: color .2s; }
.feature:hover h2 { color: var(--shu); }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 3rem; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: .45em 1.1em; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .86rem; letter-spacing: .04em; background: var(--paper); }
.chips a:hover { border-color: var(--sumi); color: var(--sumi); }
.chips a[aria-current="page"] { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }

.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 3.5rem; }
.pager a, .pager span { padding: .4em .9em; border: 1px solid var(--line); text-decoration: none; }
.pager span { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }

/* ---------- page header ---------- */
.page-head { padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head .lead { max-width: 40em; }
.page-head.center { text-align: center; }
.page-head.center .lead { margin-inline: auto; }
.page-head.center .eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }

/* ---------- article ---------- */
.article-head { padding: clamp(3rem, 2.5rem + 3vw, 5.5rem) 0 2.4rem; text-align: center; }
.article-head h1 { max-width: 18em; margin-inline: auto; font-weight: 400; }
.article-head .meta { margin-top: 1.2rem; }
.article-cover { margin: 0 auto 3.5rem; width: min(1080px, 100%); }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.9; }
.prose > * + h2 { margin-top: 2.4em; }
.prose h2 { font-size: 1.65rem; position: relative; padding-top: .9em; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 2px; background: var(--shu); }
.prose h3 { font-size: 1.28rem; margin-top: 1.8em; }
.prose h4 { font-family: var(--sans); font-size: 1rem; letter-spacing: .06em; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--shu); }
.prose blockquote { margin: 2em 0; padding: .2em 0 .2em 1.4em; border-left: 2px solid var(--matcha); font-family: var(--serif); font-size: 1.2rem; color: var(--ink-2); }
.prose a { color: var(--shu-dark); }
.prose img { margin: 2em auto; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; margin: 1.5em 0; }
.prose hr { border: 0; text-align: center; margin: 2.5em 0; }
.prose hr::after { content: "◦ ◦ ◦"; color: var(--shu); letter-spacing: .6em; }
.prose > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 3.6em; line-height: .9; padding: .06em .12em 0 0; color: var(--shu); }
.affiliate-note { font-size: .85rem; color: var(--ink-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .8em 0; margin: 0 0 2.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 2.5rem 0 1rem; }
.tags li { font-size: .8rem; padding: .3em .9em; background: var(--sakura); border-radius: 99px; color: var(--ink-2); }
.share { display: flex; align-items: center; gap: 1.2rem; font-size: .85rem; letter-spacing: .06em; color: var(--ink-3); padding: 1.2rem 0; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.share a { text-decoration: none; }
.share button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 0; letter-spacing: inherit; }
.share button:hover { color: var(--shu); }

/* ---------- books ---------- */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 3rem 2.4rem; }
.book-card { text-decoration: none; display: flex; flex-direction: column; }
.book-card:hover { color: inherit; }
.book-card h3 { font-size: 1.2rem; margin: 1.2rem 0 .25rem; transition: color .2s; }
.book-card:hover h3 { color: var(--shu); }
.book-card .author { color: var(--ink-3); font-size: .9rem; }
.cover { aspect-ratio: 2 / 3; position: relative; box-shadow: 0 1px 0 var(--line), 8px 12px 30px -14px rgba(31,29,27,.35); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; background: var(--paper); overflow: hidden; }
.book-card:hover .cover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 10px 18px 36px -14px rgba(31,29,27,.4); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
/* typographic cover when no image is uploaded */
.cover.type { display: flex; flex-direction: column; justify-content: space-between; padding: 14% 12% 12%; background: var(--paper); border: 1px solid var(--line); }
.cover.type::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; }
.cover.type .t { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .6vw, 1.55rem); line-height: 1.25; font-weight: 600; }
.cover.type .a { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.cover.type .s { position: absolute; right: 12%; bottom: 11%; }
.cover.type.alt { background: var(--sakura); }
.cover.type.alt2 { background: var(--matcha-pale); }
.cover.type.dark { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }
.cover.type.dark::before { border-color: rgba(255,255,255,.18); }
.cover.type.dark .a { color: #b9b2a8; }

.book-layout { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0; }
.book-aside { position: sticky; top: 110px; }
@media (max-width: 820px) { .book-layout { grid-template-columns: 1fr; } .book-aside { position: static; max-width: 280px; } }
.book-main h1 { margin-bottom: .2em; }
.book-main .by { font-family: var(--serif); font-size: 1.25rem; color: var(--ink-2); margin-bottom: 2rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.6rem; margin: 0 0 2.2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { color: var(--ink-3); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding-top: .2em; }
.facts dd { margin: 0; }
.summary { font-family: var(--serif); font-size: 1.2rem; line-height: 1.85; color: var(--ink-2); margin-bottom: 2.5rem; }
.buy { margin-top: 1.6rem; padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); }
.buy .btn { width: 100%; justify-content: center; }
.buy select { margin-top: .8rem; font-size: .88rem; padding: .5em .7em; }
.buy small { display: block; margin-top: .8rem; color: var(--ink-3); font-size: .78rem; line-height: 1.5; }
.buy-note { font-size: .95rem; color: var(--ink-2); margin-top: 2rem; padding: 1.2rem 1.4rem; background: var(--matcha-pale); }

/* ---------- academy ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split .media { aspect-ratio: 5 / 4; overflow: hidden; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.course-card { background: var(--paper); border: 1px solid var(--line); padding: 1.8rem; text-decoration: none; display: flex; flex-direction: column; gap: .5rem; }
.course-card:hover { border-color: var(--sumi); color: inherit; }
.course-card .track { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--matcha-deep); }
.course-card h3 { margin: .2rem 0; }
.course-card p { color: var(--ink-2); font-size: .95rem; margin: 0; flex: 1; }
.course-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: .9rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.plan { background: var(--paper); border: 1px solid var(--line); padding: 2rem; }
.plan .price { font-family: var(--serif); font-size: 2rem; margin: .4rem 0 1rem; }

/* ---------- subscribe ---------- */
.subscribe { display: flex; gap: .6rem; max-width: 480px; }
.subscribe input { flex: 1; }
.bg-sumi .subscribe input { background: transparent; border-color: #57524c; color: var(--washi); }
.bg-sumi .subscribe input::placeholder { color: #9b948b; }
.bg-sumi .btn { background: var(--shu); border-color: var(--shu); }
.bg-sumi .btn:hover { background: var(--washi); color: var(--sumi); border-color: var(--washi); }
.news-band { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.news-band h2 { margin-bottom: .3em; }
@media (max-width: 820px) { .news-band { grid-template-columns: 1fr; } .subscribe { flex-direction: column; } }
.small-print { font-size: .78rem; color: var(--ink-3); margin-top: .7rem; }
.bg-sumi .small-print { color: #9b948b; }

/* ---------- soon page ---------- */
.soon { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.soon .kanji-big { font-family: var(--serif); font-size: clamp(4rem, 3rem + 5vw, 7rem); color: var(--shu); line-height: 1; margin-bottom: 1.5rem; }
.soon .subscribe { margin: 2rem auto 0; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 4.5rem 0 2.5rem; font-size: .92rem; background: var(--washi); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; }
.foot-grid h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 1.1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .45rem; }
.foot-grid a { text-decoration: none; }
.foot-tag { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-2); margin: 1rem 0 1.4rem; max-width: 18em; }
.social { display: flex; gap: .9rem; }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; }
.social a:hover { border-color: var(--shu); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-3); }
.foot-bottom a { color: var(--ink-2); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- consent ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 40px -16px rgba(0,0,0,.25); padding: 1.2rem 1.4rem; z-index: 60; font-size: .9rem; }
.consent .row { display: flex; gap: .6rem; margin-top: .8rem; }
.consent .btn { padding: .6em 1.1em; font-size: .85rem; }

/* ---------- reveal on scroll (content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- print ---------- */
@media print { .site-head, .site-foot, .share, .news, .consent { display: none !important; } body { background: #fff; } }

/* images fill their frames */
.thumb picture, .media picture, .cover picture, .article-cover picture, .feature .thumb picture { width: 100%; height: 100%; }
.cover.type .a { padding-right: 46px; }

/* ---------- journeys ---------- */
.journey-card .thumb.tall { aspect-ratio: 4 / 5; position: relative; }
.journey-card .place { position: absolute; left: 0; bottom: 0; right: 0; padding: 2.6rem 1.1rem 1rem; color: #fff; font-family: var(--serif); font-size: 1.5rem; line-height: 1.1;
  background: linear-gradient(transparent, rgba(20,18,16,.62)); }
.journey-card .place small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-top: .3rem; }
.journey-hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.journey-hero picture, .journey-hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey-hero img { width: 100%; height: 100%; object-fit: cover; }
.journey-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.05) 30%, rgba(20,18,16,.72)); }
.journey-hero-text { position: relative; z-index: 1; padding: 6rem 0 3.5rem; }
.journey-hero h1 { color: #fff; max-width: 16em; font-weight: 400; }
.journey-hero .lead { color: rgba(255,255,255,.9); max-width: 36em; }
.journey-hero .eyebrow, .journey-hero .eyebrow a { color: rgba(255,255,255,.85); }
.journey-hero .eyebrow .kanji { color: #fff; }
.journey-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 5vw, 5rem); padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0; align-items: start; }
.journey-main { max-width: var(--read); }
.journey-aside { position: sticky; top: 110px; }
.practical { background: var(--paper); border: 1px solid var(--line); padding: 1.6rem 1.5rem; border-top: 3px solid var(--shu); }
.practical h2 { font-size: 1.2rem; margin-bottom: 1rem; display: flex; gap: .6rem; align-items: baseline; }
.practical h2 .kanji { color: var(--shu); font-size: 1rem; }
.practical dl { margin: 0; }
.practical dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--matcha-deep); margin-top: 1rem; }
.practical dt:first-child { margin-top: 0; }
.practical dd { margin: .25rem 0 0; font-size: .95rem; line-height: 1.6; }
.journey-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.journey-gallery figure { margin: 0; }
.journey-gallery figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.journey-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.journey-gallery figure:first-child:nth-last-child(odd) img { aspect-ratio: 3 / 2; }
.journey-gallery figcaption { font-size: .82rem; color: var(--ink-3); margin-top: .4rem; }
.alt-card { display: flex; flex-direction: column; text-decoration: none; background: var(--washi); padding: 0 0 1.4rem; }
.alt-card .thumb { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1rem; background: var(--matcha-pale); display: grid; place-items: center; }
.alt-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.alt-card .alt-ph { font-family: var(--serif); font-size: 3.5rem; color: var(--matcha-deep); }
.alt-card h3, .alt-card p, .alt-card .cat-label { padding: 0 1.2rem; }
.alt-card h3 { margin: .3rem 0 .4rem; font-size: 1.3rem; }
.alt-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
a.alt-card:hover h3 { color: var(--shu); }
@media (max-width: 900px) { .journey-layout { grid-template-columns: 1fr; } .journey-aside { position: static; } .journey-gallery { grid-template-columns: 1fr; } }

/* ---------- calendar ---------- */
.this-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-bottom: 1rem; }
.week-card { background: var(--paper); border: 1px solid var(--line); padding: 1.4rem 1.5rem; text-decoration: none; display: flex; flex-direction: column; gap: .5rem; border-top: 3px solid var(--matcha); }
a.week-card:hover { border-color: var(--sumi); color: inherit; }
.week-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; } .week-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.haiku-card { border-top-color: var(--shu); }
.haiku-text { font-family: var(--serif); font-size: 1.2rem; line-height: 1.9; }
.cal-kind { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--matcha-deep); }
.calendar { padding-top: 2rem; }
.month { display: grid; grid-template-columns: 180px 1fr; gap: 2.5rem; padding: 3rem 0; border-top: 1px solid var(--line); }
.month-head { position: sticky; top: 100px; align-self: start; }
.month-kanji { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--shu); line-height: 1; margin-bottom: .6rem; }
.month-head h2 { font-size: 1.15rem; font-family: var(--sans); letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.month-list { display: flex; flex-direction: column; gap: .2rem; }
.cal-item { display: grid; grid-template-columns: 74px 1fr; gap: 1.2rem; padding: 1.1rem 1rem; text-decoration: none; border-radius: 3px; transition: background .2s; }
a.cal-item:hover { background: var(--paper); color: inherit; }
a.cal-item:hover .cal-title { color: var(--shu); }
.cal-date { text-align: center; border-right: 1px solid var(--line); padding-right: 1rem; }
.cal-date b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.cal-date small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cal-body { display: flex; flex-direction: column; gap: .3rem; }
.cal-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; transition: color .2s; }
.cal-local { font-family: var(--serif); color: var(--ink-3); font-size: .95rem; }
.cal-sum { color: var(--ink-2); font-size: .95rem; }
.cal-haiku { font-family: var(--serif); font-size: 1.05rem; line-height: 1.8; color: var(--ink-2); }
.cal-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.pill { font-size: .72rem; padding: .2em .7em; border-radius: 99px; background: var(--matcha-pale); color: var(--matcha-deep); }
.pill.approx { background: var(--sakura); color: var(--shu-dark); }
.pill.more { background: transparent; color: var(--shu-dark); padding-left: 0; }
.cal-k-origami { background: color-mix(in srgb, var(--matcha-pale) 45%, transparent); }
.cal-k-haiku { background: color-mix(in srgb, var(--sakura) 45%, transparent); }
.haiku-big { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 2; text-align: center; margin: 3rem 0 1.5rem; }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.step-n { width: 2rem; height: 2rem; border-radius: 50%; background: var(--shu); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; flex: none; font-family: var(--sans); }
.steps-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.steps-list li p { margin: .2rem 0 0; }
.steps-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 1.8rem; }
.step-photo { position: relative; aspect-ratio: 1; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.step-photo picture, .step-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step-photo .step-n { position: absolute; top: .7rem; left: .7rem; }
.steps-photos li p { margin: .8rem 0 0; font-size: .97rem; }
.step-illustration { margin: 1.5rem 0 .5rem; }
.step-illustration img { width: 100%; height: auto; display: block; }
.entry-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0; }
.entry-gallery.odd figure:first-child { grid-column: 1 / -1; }
.entry-gallery figure { margin: 0; }
.entry-gallery img { width: 100%; height: auto; display: block; }
.entry-gallery figcaption { font-size: .85rem; color: var(--ink-3); margin-top: .4rem; }
@media (max-width: 760px) { .month { grid-template-columns: 1fr; gap: 1rem; } .month-head { position: static; display: flex; align-items: baseline; gap: 1rem; } .cal-item { grid-template-columns: 58px 1fr; gap: .8rem; padding: .9rem .4rem; } .steps-photos, .entry-gallery { grid-template-columns: 1fr; } }

/* ---------- local guide ---------- */
.guide-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding: 2rem 2.2rem; background: var(--sakura); text-decoration: none; margin-bottom: 3rem; }
.guide-banner:hover { color: inherit; } .guide-banner .kanji { font-family: var(--serif); font-size: 2.6rem; color: var(--shu); }
.guide-banner h2 { margin: 0 0 .2rem; font-size: 1.5rem; }
.place-card { display: flex; flex-direction: column; text-decoration: none; position: relative; }
.place-card:hover { color: inherit; } .place-card:hover h3 { color: var(--shu); }
.place-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--matcha-pale); margin-bottom: 1rem; display: grid; place-items: center; }
.place-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-card h3 { margin: .3rem 0 .4rem; font-size: 1.3rem; transition: color .2s; }
.place-card p { color: var(--ink-2); font-size: .95rem; margin: 0 0 .6rem; }
.tag-sponsored { position: absolute; top: .7rem; left: .7rem; z-index: 1; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; background: var(--paper); color: var(--ink-2); padding: .3em .7em; border-radius: 2px; }
.discount { display: inline-block; font-size: .85rem; color: var(--shu-dark); background: var(--sakura); padding: .35em .8em; border-radius: 3px; }
.discount-box { border: 1px dashed var(--shu); background: var(--paper); padding: 1.2rem 1.4rem; margin: 1.4rem 0; }
.discount-box strong { font-family: var(--serif); font-size: 1.2rem; color: var(--shu-dark); display: block; }
.cal-date b { white-space: nowrap; } .cal-date b.range { font-size: 1.15rem; padding-top: .2rem; }
.cal-date small { white-space: nowrap; }

/* ---------- calendar: month blocks ---------- */
.month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.4rem 2rem; margin-top: 3rem; }
.month-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.mc-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sakura); overflow: hidden; }
.mc-photo picture, .mc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.mc-photo:hover img { transform: scale(1.03); }
.mc-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,29,27,.62), rgba(31,29,27,0) 55%); }
.mc-name { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 1; color: #fff; display: flex; align-items: baseline; gap: .8rem; font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; }
.mc-kanji { font-family: var(--serif); font-size: 2.1rem; letter-spacing: 0; text-transform: none; line-height: 1; }
.mc-flag { position: absolute; top: .8rem; right: .8rem; z-index: 1; background: var(--sumi); color: #fff; font-size: .72rem; padding: .25rem .6rem; border-radius: 2px; }
.mc-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.mc-body h2 { font-size: 1.25rem; margin: 0; }
.mc-body h2 a { text-decoration: none; color: var(--sumi); }
.mc-body h2 span { display: block; font-family: var(--sans); font-size: .85rem; color: var(--ink-3); font-weight: 400; margin-top: .25rem; }
.mc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); flex: 1; }
.mc-list li { display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; padding: .5rem 0; border-bottom: 1px dotted var(--line); font-size: .93rem; line-height: 1.4; }
.mc-d { font-family: var(--serif); color: var(--shu); text-align: right; }
.mc-list a { text-decoration: none; color: var(--ink-2); }
.mc-list a:hover { color: var(--sumi); text-decoration: underline; text-underline-offset: 3px; }
.mc-list i { font-style: normal; color: var(--matcha-deep); }
.mc-body .link-arrow { margin-top: auto; }

.month-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; color: #fff; background: var(--sumi); overflow: hidden; }
.mh-photo { position: absolute; inset: 0; }
.mh-photo picture, .mh-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.month-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,29,27,.75), rgba(31,29,27,.1) 70%); }
.mh-text { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 2.6rem; }
.mh-text .eyebrow, .mh-text .eyebrow a { color: rgba(255,255,255,.85); text-decoration: none; }
.mh-text h1 { color: #fff; display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin: .4rem 0 .4rem; }
.mh-kanji { font-size: .8em; opacity: .9; }
.mh-sub { margin: 0; color: rgba(255,255,255,.88); }
.month-page { max-width: 860px; padding-top: 3rem; }
.month-intro { margin-bottom: 2.5rem; }
.month-posts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mp { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.4rem; padding: 1.6rem .6rem; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s; }
.mp:hover { background: var(--paper); }
.mp-date { text-align: center; }
.mp-date b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--shu); line-height: 1; }
.mp-date small { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.mp-body { display: flex; flex-direction: column; gap: .4rem; }
.mp-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--sumi); }
.mp-thumb { width: 132px; aspect-ratio: 1; overflow: hidden; border-radius: 3px; }
.mp-thumb picture, .mp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp.cal-k-haiku .mp-date b, .mp.cal-k-origami .mp-date b { color: var(--matcha-deep); }
.month-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; font-size: .95rem; }
.month-nav a { text-decoration: none; color: var(--ink-2); }
.month-nav a:hover { color: var(--shu); }
@media (max-width: 640px) { .mp { grid-template-columns: 48px 1fr; } .mp-thumb { display: none; } .month-hero { min-height: 38vh; } }

/* ---------- add to calendar ---------- */
.addcal { position: relative; display: inline-block; }
.addcal summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .7rem; padding: .78rem 1.1rem .78rem 1rem; border: 1px solid var(--sumi); border-radius: 999px; background: var(--paper); color: var(--sumi); font-size: .93rem; transition: background .2s, color .2s; user-select: none; }
.addcal summary::-webkit-details-marker { display: none; }
.addcal summary:hover, .addcal[open] summary { background: var(--sumi); color: var(--washi); }
.addcal svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.addcal summary svg:first-child { color: var(--shu); }
.addcal summary:hover svg:first-child, .addcal[open] summary svg:first-child { color: var(--sakura); }
.addcal .chev { width: 16px; height: 16px; transition: transform .2s; }
.addcal[open] .chev { transform: rotate(180deg); }
.addcal-menu { position: absolute; z-index: 20; top: calc(100% + .5rem); left: 0; min-width: 290px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 14px 40px rgba(31,29,27,.12); padding: .6rem; animation: acIn .18s ease; }
.addcal-menu p { margin: .4rem .6rem .7rem; line-height: 1.5; }
.addcal-menu a { display: flex; align-items: center; gap: .8rem; padding: .62rem .6rem; border-radius: 4px; text-decoration: none; color: var(--sumi); font-size: .95rem; }
.addcal-menu a:hover { background: var(--washi); }
.addcal-menu small { color: var(--ink-3); margin-left: auto; font-size: .78rem; }
.ac-mark { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; font-size: .8rem; color: var(--shu); font-family: var(--serif); flex: none; }
@keyframes acIn { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 640px) { .addcal-menu { min-width: 0; width: min(320px, calc(100vw - 2.5rem)); } }
.guide-banner + .guide-banner { margin-top: -2rem; }
.seal-img { width: 40px; height: 40px; display: block; flex: none; }
.site-foot .seal-img { width: 34px; height: 34px; }
.signature { display: flex; align-items: center; gap: 1.2rem; margin: 3rem 0 1rem; }
.sig-line { flex: 1; height: 1px; background: var(--line); }
.signature img { width: 64px; height: 64px; transform: rotate(-4deg); opacity: .92; mix-blend-mode: multiply; }
.signature .sig-line { display: none; } .signature { justify-content: flex-end; margin: 2.5rem 0 .6rem; }

/* Academy spotlight + live course cards (from academy.shibumilife.net) */
.spotlight { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; text-decoration: none; color: inherit; }
.spotlight:hover { color: inherit; }
.spot-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.spot-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.spotlight:hover .spot-media img { transform: scale(1.03); }
.spot-kanji { position: absolute; top: 1rem; right: 1rem; writing-mode: vertical-rl; font-family: var(--serif); font-size: 1.5rem; letter-spacing: .25em; background: rgba(255,255,255,.88); padding: .9rem .45rem; }
.spot-text { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.spot-title { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; }
.spot-text .lead { margin: 0; }
.course-card.has-img { padding-top: 0; }
.course-card.has-img img { margin: 0 -1.8rem .8rem; width: calc(100% + 3.6rem); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
@media (max-width: 820px) { .spotlight { grid-template-columns: 1fr; } }
