/* Sakura Med — sumi · sakura · ai
   Layout: alternating full-width bands (sumi ink / washi paper), content column ~68rem,
   kanji used as section labels, Booksy as the single call to action. */
:root {
  --sumi: #14100F;
  --sumi-2: #1E1917;
  --sumi-line: #3A322E;
  --washi: #EFE8DC;
  --washi-2: #E5DCCC;
  --washi-line: #CFC3AF;
  --sakura: #D9838F;
  --sakura-ink: #8E3F53;      /* sakura for text on washi (AA contrast) */
  --ai: #2E4A6B;              /* 藍 indigo */
  --ai-soft: #9DB4CF;         /* indigo for text on sumi */
  --on-dark: #EDE6DA;
  --on-dark-muted: #B9AFA4;
  --on-light: #1E1917;
  --on-light-muted: #4D4540;

  --f-display: "Noto Serif", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --f-kanji: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Noto Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--sumi);
  color: var(--on-dark);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--sumi);
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sakura); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 68rem; margin-inline: auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.prose { max-width: 40rem; }
.prose p + p { margin-top: 1.1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--sumi) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sumi-line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap;
  padding-block: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  font-family: var(--f-display); font-size: 1.35rem; line-height: 1;
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 1px solid var(--sakura); color: var(--sakura); border-radius: 2px;
}
.brand-name { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: 0.04em; }
.nav { display: flex; gap: 0.25rem 1.25rem; flex-wrap: wrap; align-items: center; font-size: var(--step--1); }
.nav a { text-decoration: none; color: var(--on-dark-muted); padding-block: 0.3rem; letter-spacing: 0.03em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--sakura); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--sakura); color: var(--sumi); text-decoration: none;
  font-weight: 700; font-size: var(--step--1); letter-spacing: 0.06em;
  padding: 0.7rem 1.25rem; border-radius: 2px; transition: background .2s;
}
.btn:hover { background: #E79AA5; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { background: transparent; color: var(--sakura); }
.nav .btn { color: var(--sumi); padding: 0.5rem 1rem; }

@media (max-width: 960px) {
  .site-header .wrap { gap: 0.5rem 1rem; }
  .nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 1.25rem;
         scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 0.15rem; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
}
@media (max-width: 480px) {
  .cta-long { display: none; }
  .header-cta { padding: 0.5rem 0.85rem; }
  .brand-name { font-size: 1rem; }
}

/* ---------- bands ---------- */
.band { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.band-washi { background: var(--washi); color: var(--on-light); }
.band-washi .muted { color: var(--on-light-muted); }
.band-ai { background: var(--ai); color: var(--on-dark); }
.muted { color: var(--on-dark-muted); }

.eyebrow {
  display: flex; align-items: baseline; gap: 0.75rem;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sakura); margin-bottom: 1.25rem;
}
.band-washi .eyebrow { color: var(--sakura-ink); }
.eyebrow .kanji { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: 0; text-transform: none; }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 44rem; }
.section-head h2 { font-size: var(--step-3); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; }
.hero h1 { font-size: var(--step-4); font-weight: 500; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--sakura); }
.hero-lede { font-size: var(--step-1); color: var(--on-dark-muted); max-width: 34rem; margin-top: 1.5rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-vertical {
  writing-mode: vertical-rl; font-family: var(--f-display); font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1; color: var(--sumi-line); letter-spacing: 0.2em; user-select: none;
}
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 3rem; padding-top: 1.25rem;
  border-top: 1px solid var(--sumi-line); font-size: var(--step--1); color: var(--on-dark-muted);
}
.hero-facts b { color: var(--on-dark); font-weight: 500; font-family: var(--f-display); font-size: 1.05rem; margin-right: 0.35rem; }
@media (max-width: 640px) { .hero .wrap { grid-template-columns: 1fr; } .hero-vertical { display: none; } }

.wave { display: block; width: 100%; height: 28px; color: var(--ai); }

/* ---------- grids ---------- */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem 2.5rem; }
.trio h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.trio > div { border-top: 1px solid var(--washi-line); padding-top: 1.25rem; min-width: 0; }

.pillars { display: grid; gap: 0; border-top: 1px solid var(--sumi-line); }
.pillar {
  display: grid; grid-template-columns: 4.5rem minmax(0, 14rem) minmax(0, 1fr); gap: 0.5rem 2rem;
  padding-block: 1.6rem; border-bottom: 1px solid var(--sumi-line); align-items: baseline;
}
.pillar .k { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--sakura); }
.pillar h3 { font-size: var(--step-1); }
.pillar p { color: var(--on-dark-muted); }
@media (max-width: 720px) { .pillar { grid-template-columns: 3.5rem minmax(0, 1fr); } .pillar p { grid-column: 2; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; }
.about-card {
  border: 1px solid var(--washi-line); padding: 2rem; display: grid; gap: 1.25rem; background: var(--washi-2);
}
.about-card .seal {
  font-family: var(--f-display); font-size: 4rem; line-height: 1; color: var(--sakura-ink);
}
.about-card dl { margin: 0; display: grid; gap: 0.9rem; }
.about-card dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-light-muted); }
.about-card dd { margin: 0; font-family: var(--f-display); font-size: 1.1rem; }
.about h2 { font-size: var(--step-3); margin-bottom: 1.5rem; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about-card { order: 2; } }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.price {
  border: 1px solid var(--sumi-line); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0;
}
.price.featured { border-color: var(--sakura); }
.price .tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sakura); min-height: 1.1rem; }
.price h3 { font-size: var(--step-1); }
.price .amount { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price .amount small { font-size: 1rem; color: var(--on-dark-muted); margin-left: 0.25rem; }
.price p { color: var(--on-dark-muted); flex: 1; }
.price .btn { align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--washi-line); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--washi-line); }
.faq summary {
  cursor: pointer; list-style: none; padding-block: 1.25rem; font-family: var(--f-display);
  font-size: var(--step-1); display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sakura-ink); font-family: var(--f-body); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1.4rem; color: var(--on-light-muted); max-width: 40rem; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); gap: 1.75rem; }
.post-card {
  display: flex; flex-direction: column; gap: 0.75rem; text-decoration: none; min-width: 0;
  border-top: 2px solid var(--on-light); padding-top: 1.25rem;
}
.post-card .k { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--sakura-ink); }
.post-card h3 { font-size: var(--step-1); }
.post-card p { color: var(--on-light-muted); }
.post-card .more { font-size: var(--step--1); letter-spacing: 0.08em; color: var(--sakura-ink); margin-top: auto; }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--sakura-ink); text-underline-offset: 4px; }

.article-head { padding-block: clamp(3rem, 8vw, 5.5rem) 2.5rem; }
.article-head .k { font-family: var(--f-display); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--sakura); }
.article-head h1 { font-size: var(--step-3); margin-top: 1rem; max-width: 40rem; }
.article-head .meta { margin-top: 1rem; font-size: var(--step--1); color: var(--on-dark-muted); }
.article-body h2 { font-size: var(--step-2); margin: 2.25rem 0 0.9rem; }
.article-body ul { padding-left: 1.2rem; margin: 1rem 0; }
.article-body li + li { margin-top: 0.4rem; }
.article-body .note {
  margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-left: 2px solid var(--sakura-ink);
  background: var(--washi-2); font-size: var(--step--1); color: var(--on-light-muted);
}
.term { font-family: var(--f-display); white-space: nowrap; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2.5rem; }
.contact h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sakura); font-family: var(--f-body); font-weight: 500; margin-bottom: 0.8rem; }
.contact address { font-style: normal; font-family: var(--f-display); font-size: var(--step-1); line-height: 1.5; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--sumi-line); font-weight: 400; }
.hours th { color: var(--on-dark-muted); }
.hours td { text-align: right; }
.contact-line { font-family: var(--f-display); font-size: var(--step-1); user-select: all; }

/* ---------- CTA band ---------- */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { font-size: var(--step-3); max-width: 30rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--sumi-line); padding-block: 3rem; font-size: var(--step--1); color: var(--on-dark-muted); }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; }
.site-footer h4 { margin: 0 0 0.75rem; font-weight: 500; color: var(--on-dark); letter-spacing: 0.08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid var(--sumi-line); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }

.legal h2 { font-size: var(--step-2); margin: 2rem 0 0.75rem; }
.legal ul { padding-left: 1.2rem; }

/* kanji: Japanese face; Polish text: Noto (full latin-ext) */
.brand-mark, .eyebrow .kanji, .hero-vertical, .pillar .k, .about-card .seal,
.post-card .k, .article-head .k { font-family: var(--f-kanji); }
.hero h1 { font-weight: 500; }

/* ---------- logo & portrait ---------- */
.brand-logo { height: 2.4rem; width: auto; display: block; }
.footer-logo { width: 7.5rem; height: auto; display: block; margin-bottom: 1rem; }

.about-band { padding-bottom: 0; }
.about { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); align-items: end; gap: 2rem 4rem; }
.about-photo { margin: 0 auto; align-self: end; position: relative; width: 100%; max-width: 30rem; }
.about-photo::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; max-width: 100%;
  border-radius: 50% 50% 0 0; background: var(--washi-2); border: 1px solid var(--washi-line); border-bottom: 0;
}
.about-photo img { position: relative; display: block; width: 100%; height: auto; }
.about-text { align-self: center; padding-bottom: clamp(3.5rem, 8vw, 6rem); min-width: 0; }
.about-text h2 { font-size: var(--step-3); margin-bottom: 1.5rem; }
.about-facts {
  margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem;
  border-top: 1px solid var(--washi-line); padding-top: 1.5rem; max-width: 40rem;
}
.about-facts dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-light-muted); }
.about-facts dd { margin: 0.2rem 0 0; font-family: var(--f-display); font-size: 1.05rem; }
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; }
  .about-text { order: -1; padding-bottom: 1rem; }
  .about-photo { max-width: 22rem; }
}

/* ---------- additions: CTA pairs, courses, data tables ---------- */
.header-cta { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-note { margin-top: 1rem; font-size: var(--step--1); color: var(--on-dark-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.band-ai .btn-ghost:hover { color: var(--washi); }
.band-washi .btn-ghost { color: var(--on-light); }

.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.course { border-top: 2px solid var(--on-light); padding-top: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.course .k { font-family: var(--f-kanji); font-size: 2.4rem; line-height: 1; color: var(--sakura-ink); }
.course h3 { font-size: var(--step-1); }
.course .status { margin-top: auto; align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sakura-ink); border: 1px solid var(--sakura-ink); padding: 0.25rem 0.6rem; border-radius: 2px; }

.table-scroll { overflow-x: auto; margin: 1rem 0; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 26rem; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--washi-line); }
table.data th { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-light-muted); font-weight: 500; }
.legal h2 { font-size: var(--step-1); }
.legal li + li { margin-top: 0.35rem; }
.legal-links a { white-space: nowrap; }

/* tablet tuning */
@media (min-width: 721px) and (max-width: 1100px) {
  .about { gap: 2rem 2.5rem; }
  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .price { padding: 1.4rem; }
}

.eyebrow .kanji { white-space: nowrap; flex: none; }
@media (min-width: 721px) and (max-width: 1000px) { .about-photo { max-width: 24rem; } .about-text .prose { max-width: 44rem; } }

/* nav: stronger, more visible links */
.nav { font-size: 0.95rem; }
.nav a { color: var(--on-dark); font-weight: 600; letter-spacing: 0.02em; opacity: 0.82; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--sakura); }
.nav a[aria-current="page"] { opacity: 1; color: var(--sakura); box-shadow: inset 0 -2px 0 var(--sakura); }

.fact-link { text-decoration: none; color: inherit; }
.fact-link b { color: var(--sakura); }
.fact-link:hover { color: var(--on-dark); }

/* ---------- indications (Z czym przyjść) ---------- */
.indications, .ind-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.75rem; }
.ind-nav { margin-top: 2rem; }
.ind-card {
  display: flex; align-items: center; gap: 0.75rem; text-decoration: none; min-width: 0;
  border: 1px solid var(--washi-line); padding: 0.9rem 1rem; border-radius: 2px; font-weight: 500; line-height: 1.3;
  transition: border-color .2s, background .2s;
}
.ind-card .k { font-family: var(--f-kanji); font-size: 1.6rem; line-height: 1; color: var(--sakura-ink); flex: none; }
.ind-card:hover { border-color: var(--sakura-ink); background: var(--washi-2); }
.ind-nav .ind-card { border-color: var(--sumi-line); color: var(--on-dark); }
.ind-nav .ind-card .k { color: var(--sakura); }
.ind-nav .ind-card:hover { border-color: var(--sakura); background: var(--sumi-2); }

.ind-list { display: grid; gap: 0; }
.ind { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem 2.5rem; padding-block: 2.75rem; border-bottom: 1px solid var(--washi-line); scroll-margin-top: 7rem; }
.ind:first-child { padding-top: 0; }
.ind-k { font-family: var(--f-kanji); font-size: 3.6rem; line-height: 1; color: var(--sakura-ink); }
.ind h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.ind .warn { margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--washi-2); border-left: 2px solid var(--sakura-ink); font-size: 0.95rem; color: var(--on-light-muted); }
.ind .warn strong { color: var(--on-light); }
.ind a { color: var(--sakura-ink); }
.note-box { margin-top: 2.5rem; font-size: 0.95rem; color: var(--on-light-muted); max-width: 44rem; }
@media (max-width: 640px) { .ind { grid-template-columns: 1fr; gap: 0.5rem; } .ind-k { font-size: 2.6rem; } }

/* =========================================================
   Premium refresh (Oct 2026)
   ========================================================= */
:root { --ai-deep: #161F2B; --ai-line: #2C3A4C; }
body { font-size: 1.125rem; line-height: 1.8; }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); gap: 1.25rem; }
.lead { font-size: 1.2rem; line-height: 1.75; color: var(--on-dark-muted); max-width: 42rem; }
.band-washi .lead { color: var(--on-light-muted); }
.band-rule { border-top: 1px solid var(--washi-line); }
.more-link { margin-top: 2.25rem; font-size: 0.95rem; letter-spacing: 0.02em; }
.more-link a { text-underline-offset: 5px; text-decoration-thickness: 1px; }
h3 { font-weight: 500; }

/* hero: more air, lighter display */
.hero { padding-block: clamp(4.5rem, 11vw, 9rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; }
.hero-lede { font-size: 1.25rem; }

/* buttons: quiet outline instead of filled promo */
.btn {
  background: transparent; color: var(--sakura); box-shadow: inset 0 0 0 1px var(--sakura);
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; padding: 0.85rem 1.4rem;
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--sakura); color: var(--sumi); }
.btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--sumi-line); }
.btn-ghost:hover { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--on-dark-muted); }
.band-washi .btn { color: var(--sakura-ink); box-shadow: inset 0 0 0 1px var(--sakura-ink); }
.band-washi .btn:hover { background: var(--sakura-ink); color: var(--washi); }
.band-washi .btn-ghost { color: var(--on-light); box-shadow: inset 0 0 0 1px var(--washi-line); }
.band-washi .btn-ghost:hover { background: transparent; color: var(--on-light); box-shadow: inset 0 0 0 1px var(--on-light-muted); }
.site-header .header-cta { color: var(--sakura); background: transparent; box-shadow: inset 0 0 0 1px var(--sakura); padding: 0.55rem 1rem; font-size: 0.82rem; }
.site-header .header-cta:hover { background: var(--sakura); color: var(--sumi); }

/* CTA band: deep ai instead of bright blue */
.band-ai { background: var(--ai-deep); border-top: 1px solid var(--ai-line); }
.band-ai .btn-ghost { box-shadow: inset 0 0 0 1px var(--ai-line); }
.cta h2 { font-weight: 400; }

/* intro + about in one band */
.intro-head { margin-bottom: clamp(3rem, 7vw, 5rem); }
.about-text h2 { font-weight: 400; }

/* price list */
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--washi-line); max-width: 56rem; }
.price-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) 7rem 7rem; gap: 0.5rem 2rem; align-items: baseline;
  padding-block: 1.75rem; border-bottom: 1px solid var(--washi-line);
}
.price-list h3 { font-size: var(--step-1); }
.price-list p { color: var(--on-light-muted); font-size: 1rem; margin-top: 0.35rem; max-width: 34rem; }
.pl-time { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-light-muted); white-space: nowrap; }
.pl-price { font-family: var(--f-display); font-size: 1.9rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) {
  .price-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .pl-name { grid-column: 1 / -1; }
  .pl-time:empty { display: none; }
  .pl-time:empty + .pl-price { grid-column: 1 / -1; text-align: left; }
  .pl-price { text-align: right; }
}

/* history timeline inside the method band */
.history { margin-top: clamp(4.5rem, 10vw, 7.5rem); }
.history h2 { font-size: var(--step-3); margin-bottom: clamp(2rem, 5vw, 3.5rem); font-weight: 400; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 1px; background: var(--sumi-line); }
.timeline li { position: relative; padding-top: 2.25rem; min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: 0.25rem; left: 0; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--sumi); box-shadow: inset 0 0 0 1px var(--sakura); }
.timeline li:last-child::before { background: var(--sakura); }
.tl-when { font-family: var(--f-display); font-size: 1.6rem; color: var(--sakura); display: block; margin-bottom: 0.5rem; }
.timeline h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.timeline p { color: var(--on-dark-muted); font-size: 0.98rem; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 0.3rem; right: auto; top: 0.5rem; bottom: 0.5rem; width: 1px; height: auto; }
  .timeline li { padding: 0 0 2rem 2rem; }
  .timeline li::before { top: 0.6rem; }
}

/* pillars & posts: a touch more refinement */
.pillar { padding-block: 2rem; }
.pillar h3 { font-weight: 500; }
.post-card { border-top-width: 1px; }
.post-card h3 { font-weight: 500; }
.ind-card { font-weight: 500; }

/* anchors land below the sticky header */
[id] { scroll-margin-top: 7.5rem; }

/* ---------- photography ---------- */
.hero-home .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); align-items: center; gap: 3rem 4rem; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 55%; border-radius: 2px; max-height: 38rem; }
.hero-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(237,230,218,.06); pointer-events: none; }
@media (max-width: 860px) {
  .hero-home .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: 2; }
  .hero-photo img { aspect-ratio: 4 / 3; max-height: none; }
}
.photo { margin: 2.25rem 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 2px; }
.photo figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--on-light-muted); max-width: 40rem; }
.band:not(.band-washi) .photo figcaption { color: var(--on-dark-muted); }
.photo-wide { margin: 0 0 clamp(2.5rem, 6vw, 4rem); }
.photo-wide img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; }
.photo-side { max-width: 22rem; }
.article-body .photo img { max-height: 34rem; object-fit: cover; }

/* ---------- cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--sumi-2); color: var(--on-dark); border-top: 1px solid var(--sumi-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -12px 32px rgba(0,0,0,.35);
}
.cookie-inner {
  max-width: 68rem; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding-block: 1.1rem; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.cookie-inner p { flex: 1 1 26rem; min-width: 0; font-size: 0.95rem; line-height: 1.6; color: var(--on-dark-muted); }
.cookie-inner a { color: var(--on-dark); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-actions .btn { cursor: pointer; font-family: var(--f-body); border: 0; }
.legal code, .legal-links a { font-size: inherit; }

/* ---------- hero: moxa photo as atmospheric background (replaces framed photo) ---------- */
.hero-home { position: relative; isolation: isolate; overflow: hidden; }
.hero-home .wrap { grid-template-columns: minmax(0, 1fr); position: relative; z-index: 1; }
.hero-home .wrap > div:first-child { max-width: 42rem; }
.hero-home .hero-photo {
  position: absolute; inset: 0 0 0 auto; width: min(62%, 58rem); margin: 0; z-index: 0; order: initial;
}
.hero-home .hero-photo img {
  width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0;
  object-fit: cover; object-position: 55% 40%; opacity: 0.55; filter: saturate(0.85);
}
.hero-home .hero-photo::after {
  content: ""; position: absolute; inset: 0; box-shadow: none;
  background:
    linear-gradient(90deg, var(--sumi) 0%, rgba(20,16,15,.82) 28%, rgba(20,16,15,.25) 70%, rgba(20,16,15,.1) 100%),
    linear-gradient(0deg, var(--sumi) 0%, rgba(20,16,15,0) 30%),
    linear-gradient(180deg, var(--sumi) 0%, rgba(20,16,15,0) 18%);
}
@media (max-width: 860px) {
  .hero-home .hero-photo { width: 100%; inset: 0; }
  .hero-home .hero-photo img { opacity: 0.32; object-position: 70% 35%; }
  .hero-home .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(20,16,15,.55) 0%, rgba(20,16,15,.75) 55%, var(--sumi) 100%);
  }
}
.hero-home .wrap { position: static; z-index: auto; }
.hero-home .wrap > div:first-child { position: relative; z-index: 1; }

/* ---------- method band: teishin photo as background ---------- */
.band-photo { position: relative; isolation: isolate; overflow: hidden; }
.band-photo > .wrap { position: relative; z-index: 1; }
.bg-photo { position: absolute; top: 0; right: 0; width: min(62%, 60rem); height: min(46rem, 85%); margin: 0; z-index: 0; pointer-events: none; }
.bg-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; opacity: 0.5; }
.bg-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--sumi) 0%, rgba(20,16,15,.8) 30%, rgba(20,16,15,.2) 75%, rgba(20,16,15,.1) 100%),
    linear-gradient(0deg, var(--sumi) 0%, rgba(20,16,15,0) 50%),
    linear-gradient(180deg, var(--sumi) 0%, rgba(20,16,15,0) 15%);
}
@media (max-width: 860px) {
  .bg-photo { width: 100%; height: 34rem; }
  .bg-photo img { opacity: 0.3; object-position: 55% 40%; }
  .bg-photo::after { background: linear-gradient(180deg, rgba(20,16,15,.5) 0%, rgba(20,16,15,.7) 50%, var(--sumi) 100%); }
}
