:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #28312d;
  --muted: #6c736f;
  --accent: #8c493a;
  --line: #deddd3;
  --card: #ebeae1;
  --forest: #24352f;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --jp: 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif CJK JP', 'MS PMincho', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; left: 15px; top: -100px; z-index: 999; background: white; padding: 8px 14px; }
.skip-link:focus { top: 10px; }
.site-shell { width: min(100% - 72px, 1100px); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 0 25px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 43px; height: 43px; color: #f3eee2; background: var(--forest); border: 1px solid #35483d; font: 25px/41px var(--jp); text-align: center; }
.brand-name { font: 700 15px/1.25 var(--sans); letter-spacing: .13em; white-space: nowrap; }
.brand-name span { font-weight: 400; }
.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a { color: #5b625d; font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; border-bottom: 2px solid transparent; padding: 6px 0 8px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.hero { margin: 0; position: relative; overflow: hidden; background: #273930; isolation: isolate; aspect-ratio: 2.42 / 1; min-height: 295px; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(18, 30, 25, .61) 0%, rgba(18, 30, 25, .23) 47%, rgba(18, 30, 25, 0) 100%); pointer-events: none; }
.hero > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-caption { position: absolute; z-index: 1; left: clamp(24px, 6vw, 66px); bottom: clamp(22px, 4.5vw, 55px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #f7f4e8; }
.eyebrow { text-transform: uppercase; font-size: 12px; line-height: 1.3; letter-spacing: .22em; font-weight: 600; }
.hero-word { font: 400 clamp(50px, 7vw, 90px)/1.05 var(--jp); letter-spacing: .09em; }
.intro { padding: 68px 0 90px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 333px); gap: clamp(38px, 6vw, 80px); align-items: start; }
.intro-main { max-width: 650px; }
.overline { font: 700 11px/1.5 var(--sans); letter-spacing: .16em; color: var(--accent); margin: 0 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(37px, 4.1vw, 55px); line-height: 1.18; letter-spacing: -.027em; margin: 0 0 11px; }
.japanese-name { font-family: var(--jp); color: #65726b; font-size: clamp(19px, 2.3vw, 25px); letter-spacing: .065em; margin: 0 0 28px; }
p { margin: 0 0 18px; }
.lead { font: 400 clamp(19px, 2vw, 23px)/1.57 var(--serif); margin: 0 0 19px; color: #38483f; }
.art-name { font: 500 clamp(18px, 2vw, 22px)/1.4 var(--serif); color: #705044; letter-spacing: .025em; margin: -16px 0 26px; }
.art-intro { font: 400 18px/1.6 var(--serif); color: #38483f; margin: -10px 0 20px; }
.contact-card { background: var(--card); border-top: 3px solid var(--accent); padding: 28px 29px 25px; margin-top: 7px; }
.contact-icon { font-size: 21px; color: var(--accent); line-height: 1; }
.contact-card h2 { font-size: 29px; line-height: 1.2; margin: 13px 0 15px; }
.contact-card p { font-size: 14px; line-height: 1.7; color: #505a53; }
.email-link { display: inline-block; font-size: 13px; font-weight: 700; color: #6d362b; text-decoration: underline; text-underline-offset: 5px; margin: 8px 0; overflow-wrap: anywhere; }
.email-muted { font-weight: 400; }
.contact-card .contact-note { font-size: 12px; margin: 14px 0 0; color: #717a73; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 35px; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: .06em; color: #71786f; }
.site-footer [lang="ja"] { font-family: var(--jp); }
.hero-small { aspect-ratio: 3.65/1; min-height: 210px; }
.hero-small .hero-word { font-size: clamp(44px, 5vw, 65px); }
.hero-small .hero-caption { bottom: 30px; }
.page-content { max-width: 790px; margin: 0 auto; padding: 66px 0 82px; }
.page-content h1 { margin: 0 0 27px; }
.page-content > p:not(.overline):not(.lead):not(.back-link) { max-width: 710px; }
.content-section { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 10px; border-top: 1px solid var(--line); padding: 39px 0 35px; }
.page-content > p + .content-section { margin-top: 37px; }
.section-number { color: var(--accent); font: 700 11px/1.6 var(--sans); letter-spacing: .12em; padding-top: 10px; }
.content-section h2 { font-size: 31px; line-height: 1.3; margin: 0 0 14px; }
.content-section p { max-width: 665px; }
.book-list, .practice-list { padding: 0; margin: 16px 0 0; list-style: none; }
.book-list li, .practice-list li { display: flex; flex-wrap: wrap; gap: 5px 23px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.book-list li > strong, .practice-list li > strong { flex: 1 1 200px; font-size: 14px; font-weight: 650; }
.book-list li > span, .practice-list li > span { flex: 1 1 210px; color: #5c655e; font-size: 14px; }
.book-list cite { font-style: italic; }
.back-link { padding: 14px 0 0 75px; font-size: 14px; color: #754638; }
.back-link a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .site-shell { width: min(100% - 36px, 1100px); }
  .site-header { padding: 18px 0; }
  .brand-name { font-size: 12px; letter-spacing: .08em; }
  .brand-mark { width: 36px; height: 36px; font-size: 22px; line-height: 34px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 11px; letter-spacing: .04em; }
  .hero { aspect-ratio: 1.65; min-height: 220px; }
  .hero-caption { left: 23px; bottom: 22px; }
  .hero-word { font-size: clamp(46px, 10vw, 70px); }
  .eyebrow { font-size: 9px; letter-spacing: .17em; }
  .intro { grid-template-columns: 1fr; padding: 44px 0 56px; gap: 25px; }
  .contact-card { margin-top: 0; padding: 25px 25px 22px; }
  .page-content { padding: 46px 0 58px; }
  .content-section { grid-template-columns: 1fr; gap: 7px; padding: 29px 0 27px; }
  .section-number { padding-top: 0; }
  .back-link { padding-left: 0; }
  .hero-small { min-height: 180px; aspect-ratio: 1.9; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 11px; }
  .site-nav { gap: 11px; }
  .site-nav a { font-size: 10px; }
  .brand { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Original dojo photographs: show the full photos cleanly, without heavy cropping. */
.hero-photo, .hero-demonstration {
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}
.hero-photo::after, .hero-demonstration::after { display: none; }
.hero-photo > img, .hero-demonstration > img {
  display: block;
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}
.hero-photo > img { object-position: center top; }
.hero-demonstration > img { object-position: center center; }
.text-link { color: #754638; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: var(--accent); }
.technique-photo { margin: 30px 0 0; max-width: 495px; }
.technique-photo img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .technique-photo { max-width: 100%; margin-top: 22px; }
}

/* Simple bilingual navigation. No scripts or automatic language redirects. */
.site-nav { gap: 27px; }
.language-switch { display: inline-flex; align-items: center; gap: 7px; border-left: 1px solid var(--line); padding-left: 22px; white-space: nowrap; }
.language-switch a, .language-switch span { padding: 5px 1px; color: #626c65; font-size: 12px; font-weight: 600; letter-spacing: .025em; line-height: 1.5; }
.language-switch a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.language-switch span[aria-current="true"] { color: #8c493a; border-bottom: 2px solid #8c493a; }
.language-switch .language-divider { color: #a1a49c; font-weight: 400; }
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; row-gap: 10px; }
  .site-nav { width: 100%; gap: 21px; justify-content: flex-start; }
  .language-switch { margin-left: auto; padding-left: 18px; }
}
@media (max-width: 380px) {
  .site-nav { gap: 16px; }
  .language-switch { padding-left: 12px; }
}
