 :root {
  --ink: #1b1c18;
  --ink-soft: #2a2b25;
  --paper: #f3efe5;
  --paper-dark: #e8e1d3;
  --red: #a9342d;
  --red-bright: #c4473d;
  --muted: #77776e;
  --line: rgba(27, 28, 24, .17);
  --serif: "Noto Serif JP", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.topline { height: 31px; display: flex; justify-content: center; align-items: center; gap: 10px; color: #d8d0c1; background: var(--ink); font-size: 9px; letter-spacing: .22em; }
.topline span { color: #cf554b; font-family: var(--serif); font-size: 15px; }
.site-header { height: 88px; padding: 0 7vw; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--paper); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--red); color: var(--red); font-family: var(--serif); font-size: 26px; transform: rotate(-3deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; letter-spacing: .13em; }
.brand-copy strong { font-size: 15px; font-weight: 700; }
.brand-copy small { margin-top: 5px; font-size: 9px; letter-spacing: .24em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); font-size: 12px; }
.main-nav a:not(.nav-cta) { transition: color .2s; }
.main-nav a:not(.nav-cta):hover, .text-link:hover { color: var(--red); }
.nav-cta { padding: 12px 16px; border: 1px solid var(--ink); font-weight: 600; }
.nav-cta span { color: var(--red); margin-left: 8px; }
.menu-toggle { display: none; border: 0; background: none; font-size: 25px; color: var(--ink); }
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: #1b1c18; color: var(--paper); }
.hero-art { position: absolute; inset: 0 0 0 39%; background: linear-gradient(90deg, #1b1c18 0%, rgba(27,28,24,.75) 18%, rgba(27,28,24,.18) 100%), linear-gradient(0deg, rgba(27,28,24,.5), transparent 50%), url("https://images.unsplash.com/photo-1510915361894-db8b60106cb1?auto=format&fit=crop&w=1800&q=85") center 48%/cover no-repeat; opacity: .8; }
.hero::after { content: "侍"; position: absolute; right: 8%; top: 8%; color: rgba(243,239,229,.08); font-family: var(--serif); font-size: clamp(170px, 27vw, 360px); line-height: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(690px, 70%); padding: 90px 0 90px 10vw; }
.eyebrow, .section-kicker { font-size: 10px; letter-spacing: .2em; font-weight: 700; }
.eyebrow { color: #d5cfc2; display: flex; align-items: center; gap: 10px; }
.red-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); display: inline-block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
h1 { margin: 24px 0; font-size: clamp(42px, 6vw, 76px); }
h1 em, h2 em { color: #c75a50; font-style: normal; }
.hero-intro { max-width: 480px; color: #d3d0c7; font-size: 15px; line-height: 1.9; }
.hero-intro strong { color: white; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 50px; padding: 0 21px; border: 1px solid transparent; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-red { background: var(--red); color: white; }
.button-red:hover { background: var(--red-bright); }
.button span { font-size: 16px; }
.text-link { font-size: 12px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 7px; }
.text-link span { margin-left: 12px; }
.hero-note { display: flex; align-items: center; gap: 13px; margin-top: 54px; color: #f1eadc; font-size: 12px; }
.hero-note small { color: #aaa99f; }
.seal { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #b94b43; color: #d65a50; font-family: var(--serif); font-size: 22px; }
.hero-side-note { position: absolute; z-index: 2; right: 3%; bottom: 30px; writing-mode: vertical-rl; color: rgba(243,239,229,.65); font-size: 8px; letter-spacing: .18em; }
.hero-side-note span { color: #d35a50; padding: 9px 0; }
.section-pad { padding: 105px 10vw; }
.section-kicker { color: var(--red); margin-bottom: 30px; }
.principles { background: var(--paper); }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: start; }
h2 { font-size: clamp(36px, 4.5vw, 57px); margin-bottom: 22px; }
.principles h2 em, .teacher h2 em, .contact h2 em, .lesson-content h2 em { color: var(--red); }
.principle-copy { max-width: 510px; color: #55564f; font-size: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; border-top: 1px solid var(--line); margin-top: 62px; padding-top: 31px; }
.values article { padding-right: 12px; }
.value-no { color: var(--red); font-family: var(--serif); font-size: 23px; }
.values h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin: 15px 0 9px; }
.values p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.lesson-band { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--paper-dark); }
.lesson-photo { min-height: 680px; background: linear-gradient(0deg, rgba(20,20,18,.15), rgba(20,20,18,.05)), url("images/junichi-studio.jpg") 38% center/cover no-repeat; filter: saturate(.72); }
.lesson-content { padding: 85px 10vw 85px 7vw; }
.lesson-content > p { color: #5e5e55; font-size: 13px; max-width: 480px; }
.lesson-list { padding: 0; margin: 32px 0 25px; list-style: none; border-top: 1px solid var(--line); }
.lesson-list li { display: flex; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.lesson-list li > span { color: var(--red); font-family: var(--serif); font-size: 16px; }
.lesson-list strong, .lesson-list small { display: block; }
.lesson-list strong { font-family: var(--serif); font-size: 14px; margin-bottom: 4px; }
.lesson-list small { color: #6b6a62; font-size: 11px; line-height: 1.7; }
.fine-print { font-size: 10px !important; color: #77766e !important; margin-bottom: 25px; }
.dark-link { color: var(--ink); border-color: var(--line); }
.teacher { display: grid; grid-template-columns: 120px minmax(0, 1fr) 180px; gap: 35px; align-items: center; }
.teacher-stamp { align-self: start; display: flex; flex-direction: column; align-items: center; color: var(--red); }
.teacher-stamp span { border: 1px solid var(--red); width: 75px; height: 75px; display: grid; place-items: center; font-family: var(--serif); font-size: 42px; }
.teacher-stamp small { writing-mode: vertical-rl; letter-spacing: .2em; font-size: 8px; margin-top: 13px; }
.teacher-copy { max-width: 620px; }
.teacher-copy > p { font-size: 13px; color: #5c5c54; }
.teacher-lead { font-family: var(--serif); font-size: 18px !important; color: var(--ink) !important; }
.placeholder-note { padding: 13px 15px; border-left: 2px solid var(--red); background: rgba(255,255,255,.36); font-size: 11px !important; }
.button-dark { background: var(--ink); color: white; margin-top: 10px; }
.button-dark:hover { background: #33342d; }
.teacher-art { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(169,52,45,.35); display: grid; place-items: center; position: relative; background: radial-gradient(ellipse at 48% 52%, transparent 44%, rgba(169,52,45,.08) 45%, transparent 46%), radial-gradient(ellipse at 52% 49%, transparent 57%, rgba(27,28,24,.1) 58%, transparent 59%); }
.teacher-art::before { content: "侍"; font-family: var(--serif); color: var(--red); font-size: 78px; }
.teacher-art::after { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(169,52,45,.3); border-radius: 50%; }
.quote-strip { text-align: center; padding: 62px 20px 58px; background: var(--ink); color: var(--paper); }
.quote-kanji { color: #c44b41; font-family: var(--serif); font-size: 27px; }
blockquote { margin: 16px auto 13px; max-width: 720px; font-family: var(--serif); font-size: clamp(20px, 3vw, 32px); line-height: 1.5; }
.quote-strip p { margin: 0; font-size: 9px; letter-spacing: .25em; color: #aaa99f; }
.contact { display: grid; grid-template-columns: .85fr 1fr; gap: 10vw; background: #e8e1d3; }
.contact-intro > p { max-width: 360px; color: #626158; font-size: 13px; }
.contact-detail { display: flex; gap: 13px; align-items: center; margin-top: 25px; }
.detail-icon { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(169,52,45,.45); color: var(--red); font-family: var(--serif); }
.contact-detail strong, .contact-detail small { display: block; }
.contact-detail strong { font-size: 12px; }
.contact-detail small { color: #77766e; font-size: 10px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 17px; align-content: start; }
.contact-form label { align-self: end; margin-top: 7px; font-size: 11px; font-weight: 700; }
.contact-form label span { color: var(--red); }
.contact-form input, .contact-form select, .contact-form textarea { grid-column: span 2; width: 100%; border: 1px solid rgba(27,28,24,.2); background: rgba(255,255,255,.48); padding: 12px 13px; color: var(--ink); border-radius: 0; outline-offset: 2px; font-size: 12px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 1px solid var(--red); }
.contact-form textarea { resize: vertical; }
.submit-button { grid-column: span 2; justify-self: start; margin-top: 10px; }
.form-note, .form-status { grid-column: span 2; color: #77766e; font-size: 10px; margin: 0; }
.form-status { color: var(--red); }
.site-footer { padding: 35px 7vw 20px; background: var(--ink); color: var(--paper); }
.footer-brand .brand-mark { color: #d35a50; border-color: #b7443c; }
.footer-brand .brand-copy small { color: #b5b2a8; }
.site-footer > p { display: inline-block; margin: 0 0 0 30px; color: #aaa99f; font-family: var(--serif); font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(243,239,229,.15); margin-top: 25px; padding-top: 15px; display: flex; justify-content: space-between; color: #aaa99f; font-size: 10px; }
.footer-bottom a:hover { color: white; }
@media (min-width: 1500px) { .hero-content { padding-left: max(10vw, calc((100vw - 1200px)/2)); } .section-pad { padding-left: max(10vw, calc((100vw - 1200px)/2)); padding-right: max(10vw, calc((100vw - 1200px)/2)); } }
@media (max-width: 900px) {
  .site-header { padding: 0 5vw; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 11px; }
  .hero-content { padding-left: 7vw; width: 80%; }
  .section-pad { padding: 78px 7vw; }
  .lesson-content { padding: 75px 7vw; }
  .teacher { grid-template-columns: 80px minmax(0,1fr); }
  .teacher-art { display: none; }
  .contact { gap: 6vw; }
}
@media (max-width: 650px) {
  .topline { font-size: 8px; }
  .site-header { height: 75px; }
  .brand-mark { width: 40px; height: 40px; font-size: 23px; }
  .brand-copy strong { font-size: 13px; }
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 75px; padding: 18px 6vw 24px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.08); align-items: stretch; flex-direction: column; gap: 18px; }
  .main-nav.is-open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { min-height: 640px; align-items: flex-end; }
  .hero-art { inset: 0; background-position: 60% center; opacity: .58; }
  .hero::after { top: 5%; right: 3%; font-size: 190px; }
  .hero-content { width: 100%; padding: 105px 7vw 70px; }
  h1 { font-size: clamp(40px, 11vw, 59px); }
  .hero-intro { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-note { margin-top: 36px; }
  .hero-side-note { display: none; }
  .section-pad { padding: 68px 7vw; }
  .principles-grid { grid-template-columns: 1fr; gap: 10px; }
  .values { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .values article { display: grid; grid-template-columns: 35px 1fr; column-gap: 10px; }
  .values article .value-no { grid-row: span 2; }
  .values h3 { margin: 2px 0 5px; }
  .values p { margin: 0; }
  .lesson-band { grid-template-columns: 1fr; }
  .lesson-photo { min-height: 300px; background-position: 40% 30%; }
  .lesson-content { padding: 65px 7vw; }
  .teacher { grid-template-columns: 1fr; gap: 20px; }
  .teacher-stamp { flex-direction: row; gap: 12px; align-items: center; }
  .teacher-stamp span { width: 48px; height: 48px; font-size: 27px; }
  .teacher-stamp small { writing-mode: initial; margin: 0; }
  .quote-strip { padding: 50px 7vw; }
  .contact { grid-template-columns: 1fr; gap: 35px; }
  .contact-form { gap: 8px 12px; }
  .site-footer > p { display: block; margin: 17px 0 0; }
}

/* Wider headline area on large screens so the hero title sits on two lines */
@media (min-width: 1100px) { .hero-content { width: min(980px, 80%); } }
@media (min-width: 1500px) { .hero-content { width: calc(max(10vw, (100vw - 1200px)/2) + 760px); } }

/* Testimonials */
.testimonials { background: var(--paper-dark); }
.testimonials h2 em { color: var(--red); }
.testimonial-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 6vw; align-items: center; margin: 48px 0 0; }
.testimonial-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% center; display: block; filter: saturate(.72); }
.testimonial-feature figcaption { position: relative; }
.quote-mark { display: block; color: var(--red); font-family: var(--serif); font-size: 64px; line-height: .6; margin-bottom: 10px; }
.testimonial-feature blockquote { margin: 0 0 22px; max-width: none; font-size: clamp(18px, 2vw, 24px); line-height: 1.65; }
.cite strong, .cite small { display: block; }
.cite strong { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.cite small { margin-top: 5px; color: #6b6a62; font-size: 11px; line-height: 1.7; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; border-top: 1px solid var(--line); margin-top: 62px; padding-top: 34px; }
.testimonial { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.testimonial blockquote { margin: 0; max-width: none; font-size: 14px; line-height: 1.85; color: #4f5049; }
@media (max-width: 900px) {
  .testimonial-feature { grid-template-columns: 1fr; gap: 30px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 44px; }
}

/* Navigation: keep links on one line; use the menu button on tablet-width screens */
.main-nav a { white-space: nowrap; }
@media (min-width: 651px) and (max-width: 1100px) {
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 88px; padding: 18px 5vw 24px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.08); align-items: stretch; flex-direction: column; gap: 18px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 12px; }
  .nav-cta { text-align: center; }
}

/* Sticky header and back-to-top button */
html { scroll-padding-top: 88px; }
.site-header.is-stuck { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.back-to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--red); color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; z-index: 60; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--ink); }
.back-to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 650px) { html { scroll-padding-top: 75px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .back-to-top { transition: none; } }

/* Enquiry form: hidden spam-trap field and sending state */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-button:disabled { opacity: .6; cursor: wait; }
.form-status.is-success { color: #2f6b3f; }
