/* =====================================================================
   Shinkenko America — stylesheet
   Palette: washi paper, sumi ink, vermillion seal (朱), celadon
   Type:    Shippori Mincho (display) · Zen Kaku Gothic New (body)
   ===================================================================== */

:root {
  color-scheme: light;

  --washi:    #F5F1E8;
  --washi-2:  #EDE7D9;
  --sumi:     #20242F;
  --ai:       #3C4A63;
  --shu:      #BE3A28;
  --shu-deep: #9E2E1F;
  --celadon:  #7C8B6F;
  --line:     #D9D1BE;

  --measure: 62ch;
  --radius: 4px;

  --step-eyebrow: .78rem;
  --step-body: 1.05rem;
  --step-h3: 1.4rem;
  --step-h2: clamp(1.8rem, 4vw, 2.6rem);
  --step-h1: clamp(2.4rem, 6vw, 4rem);
  --step-hero: clamp(3.4rem, 12vw, 8rem);

  --space: clamp(3rem, 6vw, 5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--washi);
  color: var(--sumi);
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name, .footer-brand {
  font-family: "Shippori Mincho", Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

p { margin: 0 0 1.1em; }
a { color: var(--ai); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--shu); }

.wrap { width: min(100% - 2.5rem, 1080px); margin-inline: auto; }
.measure { max-width: var(--measure); }
.lead { font-size: 1.18rem; color: var(--ai); }
.muted { color: var(--ai); font-size: .95rem; }
.ph-note { display: none; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--sumi); color: var(--washi);
  padding: .6rem 1rem; z-index: 200; border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }

/* ---------- Seal motif ---------- */
.seal {
  display: inline-block;
  width: 2.6rem; height: 2.6rem;
  background-image: url("images/shinkenko-crest.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color-scheme: light;
  forced-color-adjust: none;
}
.seal.small { width: 2.1rem; height: 2.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--washi) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .8rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--sumi); }
.brand:hover { color: var(--sumi); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.15rem; }
.brand-sub  { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ai); }

.primary-nav > ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.primary-nav > ul > li { position: relative; }
.primary-nav a {
  color: var(--sumi); font-size: .92rem; letter-spacing: .01em;
  display: inline-block; padding-block: .3rem; position: relative;
}
.primary-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--shu); transition: width .25s ease;
}
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li.is-active > a::after { width: 100%; }
.primary-nav > ul > li.is-active > a { color: var(--shu); }

/* dropdown submenu (desktop) */
.submenu {
  display: block;
  list-style: none; margin: 0; padding: .4rem 0;
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--washi); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 30px rgba(32,36,47,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.primary-nav .submenu { display: block; }
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: .5rem 1.1rem; font-size: .9rem; }
.submenu a:hover { background: var(--washi-2); }

.sub-toggle { display: none; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: .4rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--sumi); transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; margin-top: 1rem;
  background: var(--shu); color: var(--washi);
  padding: .8rem 1.6rem; border-radius: var(--radius);
  font-weight: 500; letter-spacing: .03em; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1rem;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover { background: var(--shu-deep); color: var(--washi); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--shu); box-shadow: inset 0 0 0 1.5px var(--shu); }
.btn-outline:hover { background: var(--shu); color: var(--washi); }
.btn-light { background: var(--washi); color: var(--sumi); }
.btn-light:hover { background: var(--washi-2); color: var(--sumi); }

/* ---------- Hero (home) ---------- */
.hero {
  text-align: center;
  padding-block: clamp(4rem, 12vw, 9rem) var(--space);
  background: linear-gradient(rgba(16,22,16,.58), rgba(16,22,16,.58)), url("images/garden-bridge.jpg") center/cover;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: var(--step-eyebrow); letter-spacing: .34em;
  text-transform: uppercase; color: var(--shu); margin: 0 0 1rem;
}
.hero .eyebrow { color: #E8B6A6; }
.eyebrow.light { color: #E8B6A6; }
.hero-title { font-size: var(--step-hero); margin: 0; letter-spacing: .12em; font-weight: 800; color: var(--washi); text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.hero-sub {
  font-family: "Shippori Mincho", serif; font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem); color: var(--washi); margin: .6rem 0 0;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* ---------- Page header (subpages) ---------- */
.page-header {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.8rem, 4vw, 2.8rem);
  background: var(--washi-2); border-bottom: 1px solid var(--line);
}
.page-title { font-size: var(--step-h1); margin: .2rem 0 0; }
.breadcrumb { font-size: .82rem; color: var(--ai); margin-bottom: 1rem; letter-spacing: .02em; }
.breadcrumb span { margin-inline: .4rem; color: var(--line); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section.alt { background: var(--washi-2); border-block: 1px solid var(--line); }
.section-title { font-size: var(--step-h2); margin: 0 0 1rem; }
.section-title.light { color: var(--washi); }
.page-header + .section { padding-top: var(--space); }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 1.5rem; margin-top: 2.5rem; grid-template-columns: repeat(3, 1fr); }
.pillar {
  background: var(--washi-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem; text-align: center;
}
.section.alt .pillar { background: var(--washi); }
.pillar-mark {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem;
  font-family: "Shippori Mincho", serif; font-size: 1.6rem;
  color: var(--shu); border: 1.5px solid var(--shu); border-radius: 50%;
}
.pillar h3 { font-size: var(--step-h3); margin: 0 0 .5rem; }
.pillar p { color: var(--ai); font-size: .98rem; margin: 0 0 .8rem; }

/* ---------- Card grid (nav cards / teaching cards) ---------- */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1rem; }
.nav-card, .teach-card {
  background: var(--washi-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem; color: var(--sumi);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(32,36,47,.1); color: var(--sumi); }
.nav-card h3, .teach-card h3 { font-size: var(--step-h3); margin: .4rem 0 .4rem; }
.nav-card p, .teach-card p { color: var(--ai); font-size: .95rem; margin: 0; }

/* ---------- Teaching (Makoto) block ---------- */
.teaching { background: var(--sumi); color: var(--washi); }
.teaching-inner { text-align: center; }
.teaching .section-title { color: var(--washi); }
.seal-large {
  width: 5.4rem; height: 5.4rem; margin: 0 auto 1.4rem;
  display: block;
  background-image: url("images/shinkenko-crest-medallion.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color-scheme: light;
  forced-color-adjust: none;
}
.teaching-quote {
  max-width: 46ch; margin: 2rem auto; padding: 0;
  font-family: "Shippori Mincho", serif; font-size: 1.2rem; line-height: 2; color: var(--washi);
}
.teaching-meta { color: #B9BCC6; font-size: .9rem; letter-spacing: .04em; }
.footnote {
  max-width: 56ch; margin: 2.5rem auto 1.5rem; font-size: .85rem; line-height: 1.7;
  color: #9CA0AC; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.4rem;
}
.footnote strong { color: var(--washi); }

/* ---------- About / two-column ---------- */
.about-grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr 1.1fr; }
.about-media, .media-ph {
  border-radius: var(--radius); background: var(--washi-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ai);
  font-family: "Shippori Mincho", serif; letter-spacing: .08em; font-size: .9rem;
}
.about-media { aspect-ratio: 4 / 3; }
.about-media.portrait { aspect-ratio: 3 / 4; }
.section.alt .about-media { background: var(--washi); }

/* ---------- Founder portrait: natural size, no cropping ---------- */
.founder-portrait {
  display: block;
  float: left;
  width: auto;
  max-width: 220px;
  height: auto;
  margin: -1.75rem 1.75rem 1rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.wrap.measure.reveal::after {
  content: "";
  display: block;
  clear: both;
}

/* ---------- Pull quote ---------- */
.pull {
  margin: 2rem 0; padding: 1.2rem 0 1.2rem 1.5rem;
  border-left: 3px solid var(--shu); font-family: "Shippori Mincho", serif;
  font-size: 1.25rem; line-height: 1.7; color: var(--sumi);
}

/* ---------- Gallery ---------- */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip-caption { text-align: center; margin-top: 1rem; font-size: .9rem; color: var(--ai); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 760px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Info cards ---------- */
.info-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1rem; }
.info-card { background: var(--washi-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.info-card h3 { font-size: var(--step-h3); margin: 0 0 .6rem; }
.info-card address { font-style: normal; line-height: 1.7; margin-bottom: .6rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 1.1rem 0; font-family: "Shippori Mincho", serif;
  font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--shu); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-body { padding-bottom: 1.2rem; color: var(--ai); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 1rem; }
.testimonial {
  margin: 0; background: var(--washi-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem; position: relative;
}
.testimonial blockquote { margin: 0 0 1rem; font-family: "Shippori Mincho", serif; font-size: 1.1rem; line-height: 1.7; }
.testimonial figcaption { color: var(--shu); font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: start; }
.contact-info { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--ai); }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem; padding: .7rem .8rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--washi); color: var(--sumi);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--shu); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--washi-2); border-top: 1px solid var(--line); }
.footer-top {
  padding: var(--space) 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.footer-grid {
  display: grid; gap: 2.5rem; padding-block: var(--space) 2.5rem;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { font-size: 1.2rem; margin: .8rem 0 .1rem; }
.footer-tag { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ai); margin: 0; }
.footer-head { font-family: "Shippori Mincho", serif; font-size: 1.02rem; margin: 0 0 .6rem; color: var(--sumi); }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.4rem; font-size: .82rem; color: var(--ai); }
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--washi); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .primary-nav.is-open { max-height: 80vh; overflow-y: auto; }
  .primary-nav > ul { flex-direction: column; gap: 0; }
  .primary-nav > ul > li { border-top: 1px solid var(--line); }
  .primary-nav > ul > li > a { padding: 1rem 1.25rem; width: 100%; }
  .primary-nav > ul > li > a::after { display: none; }

  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .sub-toggle {
    display: block; width: 52px; align-self: stretch; background: none;
    border: 0; border-left: 1px solid var(--line); cursor: pointer; position: relative;
  }
  .sub-toggle::before, .sub-toggle::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px;
    background: var(--sumi); transform: translate(-50%, -50%); transition: transform .2s ease;
  }
  .sub-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
  .sub-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0); }

  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: 100%; border: 0; box-shadow: none; background: var(--washi-2);
    max-height: 0; overflow: hidden; padding: 0; transition: max-height .25s ease;
  }
  .submenu.is-open { max-height: 400px; }
  .submenu a { padding: .8rem 1.6rem; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Photo galleries (added with image wiring) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.photo-grid .shot { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); margin: 0; }
.photo-grid a.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s ease; }
.photo-grid a.shot:hover img { transform: scale(1.04); }
.photo-grid.art figure.shot { background: var(--washi); }
.photo-grid.art figure.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--washi-2); display: block; }
.photo-grid.art figure.shot figcaption { font-size: .8rem; color: var(--ai); padding: .6rem .7rem; line-height: 1.45; }
.gallery-strip a.strip-cell { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-strip a.strip-cell:hover img { transform: scale(1.04); }
.about-media { padding: 0; overflow: hidden; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.about-media.portrait img { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }


/* ---------- Seasons strip (homepage) ---------- */
.seasons-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.season-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.season-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s ease; }
.season-card:hover img { transform: scale(1.05); }
.season-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .7rem; font-family: "Shippori Mincho", serif; font-size: .95rem; color: #fff; letter-spacing: .05em; background: linear-gradient(to top, rgba(32,36,47,.78), transparent); }
@media (max-width: 760px) { .seasons-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Goshinsho gallery grid (full page scans, uncropped) ---------- */
.goshinsho-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:1rem; margin-top:1.25rem; align-items:start; }
.goshinsho-grid a { display:block; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--washi-2); }
.goshinsho-grid img { width:100%; height:auto; display:block; }
.teaching-title { font-family: "Shippori Mincho", serif; font-size: 1rem; font-weight: 600; color: var(--ai); margin: 1.85rem 0 0; letter-spacing: .01em; }

/* ---------- Goshinsho password gate ---------- */
.goshinsho-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--washi);
  padding: 1.5rem;
}
.goshinsho-gate-box {
  text-align: center;
  max-width: 320px;
  width: 100%;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--washi-2);
}
.goshinsho-gate-box .eyebrow {
  color: var(--shu);
  margin: 0 0 .3rem;
}
.goshinsho-gate-title {
  font-family: "Shippori Mincho", serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.3rem;
  color: var(--sumi);
}
.goshinsho-gate-box form {
  display: flex;
  gap: .5rem;
}
.goshinsho-gate-box input[type="password"] {
  flex: 1;
  min-width: 0;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--washi);
  color: var(--sumi);
}
.goshinsho-gate-box button {
  padding: .6rem 1.1rem;
  border: 1px solid var(--sumi);
  border-radius: var(--radius);
  background: var(--sumi);
  color: var(--washi);
  font: inherit;
  cursor: pointer;
}
.goshinsho-gate-box button:hover {
  background: var(--ai);
  border-color: var(--ai);
}
.goshinsho-gate-error {
  color: var(--shu);
  margin: .8rem 0 0;
  font-size: .9rem;
}
body.goshinsho-locked {
  overflow: hidden;
}

/* ---------- Jorei Healing sequence: Next button ---------- */
.page-nav {
  padding-top: 0;
  text-align: right;
}

/* ---------- Jorei Centers: country grouping ---------- */
.centers-country {
  font-family: "Shippori Mincho", serif;
  font-size: 1.1rem;
  color: var(--shu);
  margin: 2.4rem 0 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.wrap.reveal > .centers-country:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* ---------- Teachings page: full entries on light background ---------- */
.teaching-entry {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.teaching-entry:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}
.teaching-entry .footnote {
  color: var(--ai);
  border-top: 1px solid var(--line);
}
.teaching-entry .footnote strong {
  color: var(--sumi);
}

/* ---------- Testimonials: full accounts ---------- */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 1.5rem;
}
.testimonial-full {
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.testimonial-full:first-child {
  padding-top: 0;
  border-top: none;
}
.testimonial-full-head {
  margin-bottom: 1.2rem;
}
.testimonial-full-head h3 {
  font-size: var(--step-h3);
  margin: 0 0 .2rem;
}
.testimonial-full-body p {
  margin: 0 0 1.1em;
}
.testimonial-full-foot {
  display: flex;
  gap: .75rem;
  margin-top: 1.6rem;
}
.testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}
.testimonial-figure {
  margin: 0;
  text-align: center;
}
.testimonial-figure figcaption {
  font-size: .72rem;
  color: var(--ai);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .3rem;
}

/* ---------- Gallery landing overview cards ---------- */
.gallery-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.overview-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--washi-2);
  color: var(--sumi);
  transition: transform .2s ease, box-shadow .2s ease;
}
.overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(32,36,47,.12);
  color: var(--sumi);
}
.overview-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.overview-card:hover .overview-media img {
  transform: scale(1.04);
}
.overview-body {
  display: block;
  padding: 1.4rem 1.6rem;
}
.overview-body h3 {
  font-size: var(--step-h3);
  margin: 0 0 .4rem;
}
.overview-body p {
  color: var(--ai);
  font-size: .95rem;
  margin: 0;
}
@media (max-width: 760px) {
  .gallery-overview { grid-template-columns: 1fr; }
}

/* ---------- Art Collection catalog ---------- */
.collection-note { margin-top: -.4rem; margin-bottom: 1.5rem; max-width: 60ch; }
.collection-list { display: flex; flex-direction: column; gap: 2.5rem; }
.artwork {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  align-items: start;
}
.artwork:first-child { padding-top: .5rem; border-top: none; }
.artwork-media { display: flex; flex-wrap: wrap; gap: .5rem; align-content: start; }
.artwork-media a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--washi-2);
}
.artwork-media img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.artwork-media a:hover img { transform: scale(1.03); }
.artwork-media.single a { width: 100%; }
.artwork-media.multi a { width: calc(50% - .25rem); }
.artwork-info { min-width: 0; }
.artwork-title { font-size: var(--step-h3); margin: 0 0 .25rem; line-height: 1.3; }
.artwork-jp { font-family: "Shippori Mincho", serif; font-size: .9rem; color: var(--ai); font-weight: 500; white-space: nowrap; }
.artwork-artist { color: var(--shu); font-size: .95rem; margin: 0 0 1rem; }
.artwork-dates { color: var(--ai); }
.artwork-info p { font-size: 1rem; }
@media (max-width: 760px) {
  .artwork { grid-template-columns: 1fr; gap: 1.1rem; }
  .artwork-media.single a { max-width: 320px; }
}

/* ---------- Seimei Kaikan hall pages ---------- */
.hall-hero { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hall-hero img { display: block; width: 100%; height: auto; }
.hall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.hall-card { margin: 0; background: var(--washi); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section.alt .hall-card { background: var(--washi); }
.hall-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hall-card figcaption { padding: 1rem 1.1rem; font-size: .92rem; color: var(--ai); line-height: 1.55; }
.hall-card figcaption strong { display: block; color: var(--sumi); font-family: "Shippori Mincho", serif; margin-bottom: .25rem; }
.hall-map { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--washi); }
.hall-map img { display: block; width: 100%; height: auto; }
.hall-map figcaption { padding: .6rem .8rem; font-size: .8rem; }

/* ---------- Founder history timeline ---------- */
.timeline { margin-top: 1.5rem; border-left: 2px solid var(--line); padding-left: 1.4rem; }
.tl-item { position: relative; padding-bottom: 1.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: calc(-1.4rem - 6px); top: .45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--shu); box-shadow: 0 0 0 3px var(--washi); }
.section.alt .tl-item::before { box-shadow: 0 0 0 3px var(--washi-2); }
.tl-date { display: block; font-family: "Shippori Mincho", serif; font-size: .95rem; color: var(--shu); letter-spacing: .02em; }
.tl-item p { margin: .1rem 0 0; color: var(--ai); }

/* ---------- Natural Farming illustration ---------- */
.nf-illus { margin: 0; text-align: center; }
.nf-illus img { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto 1rem; }
.nf-illus figcaption { color: var(--ai); font-size: .96rem; line-height: 1.65; text-align: left; }

/* ---------- Footer source credit ---------- */
.footer-credit { margin: .5rem 0 0; font-size: .76rem; color: var(--ai); opacity: .9; }
.footer-credit a { color: var(--ai); text-decoration: underline; }
.footer-credit a:hover { color: var(--shu); }

/* ---------- Safety: media never overflows its container ---------- */
img { max-width: 100%; }

/* ---------- Footer official logo ---------- */
.footer-logo {
  display: inline-block;
  width: 220px;
  max-width: 72%;
  height: auto;
  margin: 0;
  background: #fff;
  padding: .6rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

