/* ==========================================================================
   Bujinkan Nichigetsu Dojo — budotaijutsu.gr
   Design tokens are taken from the original site screenshots.
   ========================================================================== */

:root {
  color-scheme: light;
  --yellow: #eacb4e;
  --yellow-pale: #f7edba;
  --black: #000;
  --ink: #000;
  --text: #2f2a26;
  --line: #e5e5e5;
  --white: #fff;

  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Noto Sans", "Segoe UI", Arial, sans-serif;

  --container: min(1080px, 80vw);
  --gutter: 5.5%;            /* space between two half columns */
  --section-space: 80px;     /* top/bottom padding of each section */
  --title-gap: 64px;         /* space under a section title */

  --h2: clamp(2rem, 1.4rem + 1.8vw, 2.875rem);
  --fs-body: 16px;         /* body text: 16px desktop, 14px mobile */
  --radius: 4px;
  --shadow-card: 0 12px 50px rgba(0, 0, 0, 0.09);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.8;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--black);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .95em 1.55em;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: #dcb935; }

.btn--light { background: var(--white); color: var(--yellow); }
.btn--light:hover { background: var(--yellow); color: var(--white); }

.btn--small { font-size: 11.5px; padding: 1.1em 1.6em; }

/* ---------- Shared text pieces ---------- */
.eyebrow {
  margin: 0 0 .9rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow--light { color: var(--white); }
.eyebrow--center { text-align: center; }

.section { padding-block: var(--section-space); }

.section-title {
  font-size: var(--h2);
  text-align: center;
  margin-bottom: var(--title-gap);
}
.section-title--left { text-align: left; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 calc(var(--section-space) + 16px);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.img-shadow { box-shadow: 8px 8px 18px rgba(0, 0, 0, .35); }

/* Two equal columns (the original uses Divi 1/2 + 1/2) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gutter);
  align-items: start;
}
.split__media img { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { background: var(--white); }

.header-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  column-gap: 3%;
  align-items: center;
  padding-block: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.header-logo { justify-self: center; display: block; }
.header-logo img { width: 128px; height: auto; }

.header-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.1rem + 1.9vw, 3rem);
  line-height: 1.25;
  color: var(--ink);
}

.header-contact {
  text-align: center;
  justify-self: end;
  font-size: 13.5px;
  line-height: 1.4;
}
.header-contact p { margin: 0 0 1rem; }
.header-contact p:last-child { margin-bottom: 0; }
.header-contact a { text-decoration: none; }
.header-contact a:hover { color: var(--yellow); }
.header-contact__icon {
  width: 30px; height: 30px;
  fill: var(--yellow);
  margin: 0 auto 1.1rem;
  display: block;
}
.header-contact__title {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
}

/* ---------- Navigation ---------- */
.nav-bar { padding-block: 34px 58px; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  color: #111;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: .01em;
}
.main-nav a:hover { color: var(--yellow); }

.nav-search {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--yellow-pale);
  cursor: pointer;
}
.nav-search svg { width: 20px; height: 20px; }
.nav-search:hover { color: var(--yellow); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  margin-inline: auto;
  padding: .6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font: 600 14px var(--font-sans);
  color: #111;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--yellow);
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* ==========================================================================
   Homepage — hero
   ========================================================================== */
.home-hero {
  width: 80%;
  max-width: 1766px;
  margin-inline: auto;
  aspect-ratio: 1717 / 916;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: #3a2c1c url("/assets/images/hero-home.jpg") center / cover no-repeat;
  color: var(--white);
}

.home-hero__content { max-width: 690px; }

.home-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.12;
  max-width: 620px;
  margin-bottom: 1.6rem;
}

.home-hero p:not(.eyebrow) {
  font-size: var(--fs-body);
  line-height: 1.7;
  margin-bottom: 1.7rem;
}

/* ==========================================================================
   Homepage — philosophy card
   ========================================================================== */
.home-philosophy { padding-top: 60px; }
.home-philosophy .card { padding: 30px; }
.home-philosophy .split__media img { border-radius: 3px; }
.home-philosophy h2 {
  font-size: var(--h2);
  margin: -4px 0 1.1rem;
}
.home-philosophy .btn { margin-top: .9rem; }

/* ==========================================================================
   Homepage — lessons
   ========================================================================== */

.feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 16px;
  margin-bottom: 1.6rem;
}
.feature__icon { width: 32px; height: 32px; fill: var(--yellow); }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: .35rem;
}
.feature-btn { margin-top: .6rem; }

/* ==========================================================================
   Homepage — announcements
   ========================================================================== */
.home-announcements { padding-top: calc(var(--section-space) + 8px); }

.announcements { list-style: none; margin: 0; padding: 0; }

.announcement {
  display: grid;
  grid-template-columns: 22.1% minmax(0, 1fr) 22.1%;
  column-gap: 3%;
  align-items: start;
  padding-block: 32px 30px;
  border-bottom: 1px solid var(--line);
}
.announcement:first-child { padding-top: 0; }
.announcement:last-child { border-bottom: 0; }

.announcement__img {
  width: 100%;
  border-radius: 4px;
}

.announcement__body { max-width: 420px; }
.announcement h3 {
  font-size: clamp(1.5rem, 1.2rem + .7vw, 1.875rem);
  line-height: 1.3;
  margin-bottom: .75rem;
}
.announcement__body p { font-size: var(--fs-body); }

.announcement__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  text-align: right;
}
.announcement__meta time { font-size: 16px; line-height: 1.4; }
.announcement__meta strong { font-size: 17px; color: var(--ink); line-height: 1.4; }

/* ==========================================================================
   Homepage — testimonials
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 5.5%;
  align-items: start;
}
.testimonial { margin: 0; }
.testimonial__icon {
  width: 32px; height: 26px;
  fill: var(--yellow-pale);
  margin-bottom: 1.4rem;
}
.testimonial blockquote {
  margin: 0 0 1.3rem;
  text-align: center;
  font-size: var(--fs-body);
}
.testimonial figcaption {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink);
}

/* ==========================================================================
   Homepage — gallery
   ========================================================================== */
.home-gallery { padding-top: calc(var(--section-space) + 40px); }
.home-gallery .section-title { margin-top: -.2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 3%;
}
.gallery-grid img {
  width: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}

/* ==========================================================================
   Homepage — newsletter call to action
   ========================================================================== */
.home-cta { padding-top: calc(var(--section-space) + 40px); }

.cta-box {
  padding: 45px 60px 40px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
}
.cta-box h2 { font-size: var(--h2); margin-bottom: .9rem; }
.cta-box p { font-size: var(--fs-body); max-width: 900px; margin-bottom: 1.4rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-block: 88px 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3%;
  align-items: start;
}
.footer-col--bottom { align-self: end; }

.footer-logo { width: 84px; margin-bottom: .25rem; }

.footer-heading {
  font-size: 17px;
  color: var(--white);
  margin-bottom: .7rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  color: var(--white);
  font-size: 15px;
  line-height: 1.8;
  text-underline-offset: 3px;
}
.footer-links a:hover { color: var(--yellow); }

.footer-newsletter-title {
  font-size: 30px;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.newsletter-form input {
  width: 100%;
  height: 57px;
  padding: 0 14px;
  margin-bottom: 16px;
  border: 2px solid #cfcfcf;
  border-radius: 4px;
  background: var(--white);
  color: #111;
  font: 14px var(--font-sans);
}
.newsletter-form input::placeholder { color: #555; }
.newsletter-form button {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--yellow);
  font: 600 14px var(--font-sans);
  cursor: pointer;
}
.newsletter-form button:hover { background: var(--yellow); color: var(--white); }
.newsletter-status { margin: .8rem 0 0; font-size: 13px; color: var(--yellow); min-height: 1em; }

/* ==========================================================================
   Το Dojo page
   ========================================================================== */
.btn--md { font-size: 14.5px; padding: 1em 1.65em; }

.dojo-hero {
  position: relative;
  padding-block: 87px 40px;
  overflow: hidden;
}
/* The background stops at the middle of the photo, so the lower half of the photo sits on white */
.dojo-hero__bg {
  position: absolute;
  top: 0; right: 0;
  bottom: calc(40px + .354 * var(--container));
  left: calc(50% + 0.158 * var(--container));
  background: #d9d9d9 url("/assets/images/dojo-hero-bg.jpg") 85% center / cover no-repeat;
}
.dojo-hero__grid { position: relative; align-items: center; }
.dojo-hero__text { margin-top: 0; }
.dojo-hero h1 {
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.14;
  margin-bottom: 2.2rem;
}
.dojo-hero__text p:not(.eyebrow) { font-size: var(--fs-body); line-height: 1.75; margin-bottom: 1.6rem; }
.dojo-hero__media img {
  width: 100%;
  box-shadow: -18px 10px 45px rgba(0, 0, 0, .28);
}

.dojo-spirit { padding-block: 56px 55px; }
.dojo-spirit__card { padding: 27px 30px 30px; }
.dojo-spirit__card .split__media img { border-radius: 6px; }
.dojo-spirit__card h2 { font-size: var(--h2); margin-bottom: 1.3rem; }
.dojo-spirit__card p { font-size: var(--fs-body); line-height: 1.7; }
.dojo-spirit__card .btn { margin-top: 1.1rem; }

.dojo-philosophy__band {
  display: flow-root;
  background: #e9cb49;
  padding-top: 90px;
  color: var(--white);
}
.dojo-philosophy__intro { align-items: start; margin-bottom: 88px; }
.dojo-philosophy h2 { color: var(--white); font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.2rem); line-height: 1.2; }
.dojo-philosophy__intro p:not(.eyebrow) { font-size: var(--fs-body); font-weight: 600; line-height: 1.7; margin-bottom: 1.5rem; }
.dojo-philosophy__image { margin-bottom: -26.2%; }   /* image hangs below the yellow band */
.dojo-philosophy__image img { width: 100%; box-shadow: 0 6px 22px rgba(0, 0, 0, .25); }
.dojo-philosophy__after { padding-top: calc(26.2% + 82px); }

/* ==========================================================================
   Πρόγραμμα page
   ========================================================================== */
.schedule-hero__band {
  display: flow-root;
  background: var(--yellow);
  padding-top: 94px;
  text-align: center;
}
.schedule-hero h1 {
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.32;
  max-width: 640px;
  margin: 0 auto 1.9rem;
}
.schedule-hero__band p {
  max-width: 740px;
  margin: 0 auto 57px;
  font-size: var(--fs-body);
  color: #111;
}
.schedule-hero__image { margin-bottom: -10%; }   /* image hangs below the yellow band */
.schedule-hero__image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
.schedule-hero__after { padding-top: calc(10% + 83px); }

.timetable {
  background: #0a080d;
  color: var(--white);
  padding-block: 90px 117px;
}
.timetable__title {
  color: var(--yellow);
  font-size: var(--h2);
  text-align: center;
  margin-bottom: 83px;
}
.timetable__day {
  display: grid;
  grid-template-columns: 23.3% 1fr;
  column-gap: 3%;
  margin-bottom: 76px;
}
.timetable__day:last-child { margin-bottom: 0; }
.timetable__label h3 {
  color: var(--white);
  font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem);
  line-height: 1.2;
  margin-bottom: .9rem;
}
.timetable__label p {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--yellow);
}
.timetable__class + .timetable__class { margin-top: 76px; }
.timetable__class h4 {
  margin: 0 0 .45rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + .8vw, 1.875rem);
  line-height: 1.3;
  color: var(--yellow);
}
.timetable__class p { font-size: var(--fs-body); line-height: 1.75; }

.schedule-info { padding-block: 97px 170px; }
.schedule-info__row { align-items: center; }
.schedule-info__row + .schedule-info__row { margin-top: 165px; }
.schedule-info h2 { font-size: var(--h2); margin-bottom: 1.2rem; }
.schedule-info p { font-size: var(--fs-body); line-height: 1.75; margin-bottom: 1.6rem; }
.schedule-info__calligraphy img { width: 100%; max-width: 309px; margin-inline: auto; }
.schedule-info__photo img { width: 100%; box-shadow: 8px 8px 0 #b2b2b2; }

.btn--dark { background: #0a080d; color: var(--white); }
.btn--dark:hover { background: #333; }

.faq {
  background: var(--yellow);
  padding-block: 82px 80px;
}
.faq__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 64px;
}
.faq__head h2 { font-size: var(--h2); }
.faq__item {
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 6px;
  margin-bottom: 31px;
}
.faq__item:last-child { margin-bottom: 0; }
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.4;
  color: #111;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-52%);
  font: 400 26px/1 var(--font-sans);
  color: var(--white);
}
.faq__item[open] summary::after { content: none; }
.faq__answer { padding: 0 24px 22px; }
.faq__answer p { font-size: var(--fs-body); line-height: 1.75; color: #111; }

.join-cta {
  padding-block: 159px;
  background: #111 linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), center / cover no-repeat;
  background-image: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url("/assets/images/schedule-cta-bg.jpg");
  background-size: cover;
  background-position: center;
}
.join-cta__box {
  background: var(--white);
  border-radius: 4px;
  padding: 60px 60px 52px;
  text-align: center;
}
.join-cta__box h2 { font-size: var(--h2); margin-bottom: 1rem; }
.join-cta__box p { max-width: 880px; margin: 0 auto 1.5rem; font-size: var(--fs-body); line-height: 1.75; }

/* ==========================================================================
   Μαθήματα page
   ========================================================================== */
.eyebrow--dark { color: #333; }

.btn--pale { background: #f8ecb2; color: #222; font-size: 14px; padding: 1em 1.6em; }
.btn--pale:hover { background: var(--white); }

/* Hero: yellow field with the photo cut by a large circle, as on the original */
.lessons-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(640px, 55vw, 1430px);
  background: var(--yellow);
  overflow: hidden;
}
.lessons-hero__art {
  position: absolute;
  inset: 0;
  background: var(--white);
  clip-path: circle(46.5vw at 98.7% 50%);
}
.lessons-hero__photo {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 87%;
  object-fit: cover;
}
.lessons-hero__content { position: relative; padding-block: 60px; }
.lessons-hero__content > * { max-width: 500px; }
.lessons-hero h1 {
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.12;
  margin-bottom: 1.8rem;
}
.lessons-hero__content p:not(.eyebrow) { font-size: var(--fs-body); line-height: 1.75; color: #2a241c; }
.lessons-hero__content .btn { margin-top: .6rem; }

.lessons-philosophy { padding-block: 88px 0; }
.lessons-philosophy h2 { font-size: var(--h2); margin-bottom: 1.2rem; }
.lessons-philosophy p { font-size: var(--fs-body); line-height: 1.75; }
.lessons-philosophy .btn { margin-top: 1.1rem; }
.lessons-philosophy__media img { width: 100%; border-radius: 6px; }

.programs { padding-block: 172px 83px; }
.programs__title { font-size: var(--h2); text-align: center; margin: -.2rem 0 22px; }
.program { margin-bottom: 36px; }
.program img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  margin-bottom: 32px;
}
.program h3 { font-size: 16.5px; font-weight: 700; margin-bottom: .5rem; }
.program__time { font-size: 14px; margin-bottom: 1.1rem !important; }
.program p { font-size: var(--fs-body); line-height: 1.8; }
.programs__rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 62px; }

.blurbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3%;
  row-gap: 32px;
}
.blurb { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; }
.blurb__icon { width: 26px; height: 26px; fill: var(--yellow); color: var(--yellow); margin-top: 2px; }
.blurb h3 { font-size: 17px; margin-bottom: .5rem; line-height: 1.4; }
.blurb p { font-size: var(--fs-body); line-height: 1.75; max-width: 270px; }
.programs__cta { text-align: center; margin-top: 86px; }

.find-us {
  background: #0a080d;
  padding-block: 64px 90px;
}
.find-us h2 {
  color: var(--yellow);
  font-size: var(--h2);
  text-align: center;
  margin-bottom: 40px;
}
.map-embed {
  display: grid;
  place-items: center;
  min-height: 460px;
  border: 1px solid #2c2930;
  border-radius: 4px;
  overflow: hidden;
  background: #16141a;
  text-align: center;
}
.map-embed iframe { width: 100%; height: 460px; border: 0; display: block; }
.map-embed__consent { padding: 32px 24px; }
.map-embed__address { font-family: var(--font-serif); font-size: 20px; color: var(--white); margin-bottom: .5rem; }
.map-embed__note { font-size: 13.5px; color: #a9a5ae; margin-bottom: 1.6rem; }
.map-embed__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.rule--tight { margin: 0; }
.join-band-wrap { padding-top: 138px; }
.join-band-wrap .rule { margin-bottom: 55px; }
.join-band { background: var(--yellow); padding-block: 82px; }
.join-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.join-band h2 { color: var(--white); font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); }

/* ==========================================================================
   Δάσκαλος page
   ========================================================================== */
.eyebrow--serif { font-family: var(--font-serif); font-size: 16px; letter-spacing: .02em; }

.teacher-intro { padding-block: 80px 0; }
.teacher-intro__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 5%;
  align-items: start;
}
.teacher-intro h1 {
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.14;
  max-width: 800px;
  margin-bottom: 1.9rem;
}
.teacher-intro p:not(.eyebrow) { max-width: 800px; font-size: var(--fs-body); line-height: 1.75; }
.teacher-intro__action { padding-top: 4px; }

.teacher-bio { padding-block: 140px 40px; scroll-margin-top: 20px; }
.teacher-bio__card { padding: 60px 60px 64px; box-shadow: 0 14px 60px rgba(0, 0, 0, .09); }
.teacher-bio__photo { width: 100%; border-radius: 4px; margin-bottom: 26px; }
.teacher-bio__card h2 { text-align: center; font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); margin-bottom: 1.3rem; }
.teacher-bio__card p { font-size: var(--fs-body); line-height: 1.65; margin-bottom: 1.1em; }

.instructors { padding-block: 40px 100px; text-align: center; }
.instructors h2 { font-size: var(--h2); margin-bottom: 1.1rem; }
.instructors__intro { max-width: 780px; margin: 0 auto 40px; font-size: var(--fs-body); line-height: 1.75; }
.instructors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  column-gap: 5.5%;
  row-gap: 32px;
  align-items: start;
  text-align: left;
}
.instructor {
  display: grid;
  grid-template-columns: 147px 1fr;
  column-gap: 16px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .09);
}
.instructor img {
  width: 147px;
  aspect-ratio: 147 / 264;
  object-fit: cover;
  border-radius: 999px;
}
.instructor__text { text-align: center; padding-top: 2px; }
.instructor h3 { font-size: 18px; line-height: 1.35; margin-bottom: .8rem; }
.instructor p { font-size: 15px; line-height: 1.6; }

.path {
  background: var(--white);
  box-shadow: 0 0 22px rgba(0, 0, 0, .1);
  padding-block: 90px 88px;
}
.path__inner { width: 80%; margin-inline: auto; }
.path h2 { font-size: var(--h2); text-align: center; margin-bottom: 1rem; }
.path__intro { max-width: 1040px; margin: 0 auto 36px; text-align: center; font-size: var(--fs-body); line-height: 1.75; }
.path__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 3%;
}
.path__grid li { border-top: 1px solid var(--line); padding: 26px 8% 34px 0; }
.path__year { display: block; font-family: var(--font-serif); font-size: 30px; line-height: 1.2; color: var(--yellow); margin-bottom: 1.1rem; }
.path__grid h3 { font-size: 17px; line-height: 1.4; margin-bottom: 1rem; }
.path__grid p { font-size: var(--fs-body); line-height: 1.75; }

.upcoming { padding-top: 70px; padding-bottom: 54px; }
.announcements--ruled .announcement:last-child { border-bottom: 1px solid var(--line); }
.announcement__meta span { font-size: 16px; line-height: 1.4; }
.announcement__img--logo { max-width: 200px; }
.btn--case { font-size: 12.5px; }

.contact-band {
  background: #333 center / cover no-repeat;
  background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .65)), url("/assets/images/hero-home.jpg");
  color: var(--white);
  text-align: center;
  padding-block: 250px;
}
.contact-band h2 { color: var(--white); font-size: var(--h2); margin-bottom: 1.1rem; }
.contact-band p { max-width: 800px; margin: 0 auto 1.6rem; font-size: var(--fs-body); line-height: 1.75; }

/* ==========================================================================
   Bujinkan page
   ========================================================================== */
.bj-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(720px, 59.8vw, 1560px);
  overflow: hidden;
}
.bj-hero__circle {
  position: absolute;
  inset: 0;
  background: linear-gradient(#a3903a, #eacb4e);
  clip-path: circle(54.7vw at 107% 50%);
}
.bj-hero__grid { position: relative; align-items: center; padding-block: 60px; }
.bj-hero h1 {
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.12;
  margin-bottom: 1.8rem;
}
.bj-hero__grid p:not(.eyebrow) { font-size: var(--fs-body); line-height: 1.75; }
.bj-hero__grid .btn { margin-top: .8rem; }
.bj-hero__media img { width: 100%; border-radius: 4px; box-shadow: 0 14px 40px rgba(0, 0, 0, .3); }

.bj-history { padding-block: 80px 100px; scroll-margin-top: 20px; }
.bj-history h2 { font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.25rem); line-height: 1.15; margin-bottom: 1.4rem; }
.bj-history__top { align-items: start; }
.bj-shadow-img { width: 100%; border-radius: 6px; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.bj-history__wide { margin-block: 40px 30px; }
.bj-prose p { font-size: var(--fs-body); line-height: 1.75; }
.bj-history__top p { font-size: var(--fs-body); line-height: 1.75; }
.bj-prose .btn { margin-top: 1rem; }
.bj-prose a:not(.btn) { color: inherit; text-underline-offset: 3px; }
.bj-prose a:not(.btn):hover { color: var(--yellow); }

.ryuha {
  background: #0a080d;
  color: var(--white);
  padding-block: 70px 90px;
}
.ryuha h2 {
  color: var(--yellow);
  font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.25rem);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 44px;
}
.ryuha__schools {
  list-style: none;
  margin: 0 0 70px;
  padding: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.6;
}
.ryuha__forms { align-items: start; }
.ryuha__forms h3 {
  color: var(--yellow);
  text-align: center;
  font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 1.6rem;
}
.ryuha__forms ul { margin: 0; padding-left: 1.2em; font-size: var(--fs-body); line-height: 1.7; }
.ryuha__forms li { margin-bottom: .1rem; }
.ryuha__feature img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(234, 203, 78, .75);
}

.bj-founding { padding-block: 64px 0; }

.seminar-cta { padding-block: 76px 50px; }
.seminar-cta__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 340px;
  padding: 48px 24px;
  background: #f6ecb2;
  border-radius: 6px;
  text-align: center;
}
.seminar-cta h2 { color: var(--white); font-weight: 700; font-size: clamp(1.7rem, 1.4rem + .9vw, 2.25rem); }
.bj-founding h2 { font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.25rem); margin-bottom: 2.2rem; }
.bj-rule { border: 0; border-top: 1px solid var(--line); margin: 34px 0 50px; }
.bj-founding .bj-h2-small { font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); margin-bottom: .4rem; }
.bj-lineage { margin: 1rem 0 .5rem; padding-left: 1.2em; font-size: var(--fs-body); line-height: 1.7; }
.bj-h3 { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.55rem); margin-bottom: .5rem; }

/* ==========================================================================
   Σεμινάρια page
   ========================================================================== */
.sem-hero {
  display: flex;
  min-height: clamp(680px, 38vw, 1000px);
  background: #eee center / cover no-repeat;
  background-image: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.6)), url("/assets/images/seminars-hero-bg.jpg");
}
.sem-hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  padding-block: clamp(90px, 9vw, 240px) 55px;
}
.sem-hero h1 {
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.15;
  max-width: 960px;
  margin-bottom: 1.7rem;
}
.sem-hero__text p:not(.eyebrow) { font-size: var(--fs-body); line-height: 1.75; margin-bottom: 1.5rem; }
.btn--soft { background: #f5e6a0; color: var(--white); }
.btn--soft:hover { background: var(--yellow); }
.sem-hero__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 30px 30px;
  background: var(--yellow);
}
.sem-hero__bar-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + .8vw, 1.95rem);
  color: var(--white);
}

.sem-list { padding-top: 90px; }

.sem-testimonials {
  box-shadow: 0 0 22px rgba(0, 0, 0, .1);
  padding-block: 90px 100px;
}

.instructors--stacked { padding-top: 90px; }
.instructors--stacked .instructors__grid { grid-template-columns: repeat(3, 1fr); }
.instructors--stacked .instructor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 258px;
  margin-inline: auto;
  padding: 16px 17px 16px;
}
.instructors--stacked .instructor img { width: 100%; aspect-ratio: 224 / 396; }
.instructors--stacked .instructor h3 { margin-bottom: .4rem; }
.instructors--stacked .instructor p { font-size: 14px; }

.sem-gallery { padding-top: 60px; padding-bottom: 110px; }
.gallery-masonry { columns: 3; column-gap: 3%; }
.gallery-masonry img {
  width: 100%;
  margin-bottom: 26px;
  break-inside: avoid;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}

.sem-band { padding-block: 40px; }
.sem-band h2 { font-size: clamp(1.2rem, 1.1rem + .3vw, 1.3rem); margin-bottom: .6rem; }
.sem-band p { color: var(--white); font-weight: 600; font-size: var(--fs-body); line-height: 1.75; }

/* ==========================================================================
   Άρθρα page
   ========================================================================== */
.art-hero { padding-block: 60px 80px; }
.art-hero .split { align-items: start; }
.art-hero h1 {
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.12;
  margin-bottom: 1.6rem;
}
.art-hero__text p { font-size: var(--fs-body); line-height: 1.75; max-width: 500px; }
.icon-list { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; }
.icon-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.icon-list svg { width: 22px; height: 22px; fill: #f5e3a0; flex: none; }
.art-hero__media img { width: 100%; box-shadow: 0 14px 40px rgba(0, 0, 0, .28); }

.art-list {
  background: linear-gradient(90deg, var(--yellow) 0 calc(50% + .078 * var(--container)), transparent 0);
  padding-block: 60px 130px;
  scroll-margin-top: 10px;
}
.art-list__grid { align-items: start; }
.art-list h2 { font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.25rem); line-height: 1.2; margin-bottom: 2rem; }
.posts { list-style: none; margin: 0; padding: 0; }
.post + .post { margin-top: 64px; }
.post h3 { font-size: clamp(1.35rem, 1.2rem + .4vw, 1.6rem); line-height: 1.3; margin-bottom: .45rem; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post__meta { font-size: 13px; line-height: 1.6; margin-bottom: .35rem !important; color: #2a241c; }
.post__more { font-size: 13px; font-weight: 700; color: #2a241c; text-decoration: none; }
.post__more:hover { text-decoration: underline; }
.art-list__side { display: flex; justify-content: flex-end; }
.art-newsletter {
  width: 100%;
  max-width: 396px;
  padding: 30px 26px 28px;
  background: #0c0a10;
  border-radius: 3px;
}
.art-newsletter h2 { color: var(--white); font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem); line-height: 1.45; margin-bottom: 1.6rem; }

.art-cats { padding-block: 80px 60px; }
.cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.cat {
  flex: 0 1 calc((100% - 56px) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 38px 30px 34px;
  background: var(--white);
  border: 1px solid #efe9d6;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
}
.cat__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #fbf3d2;
  color: #b8961f;
  transition: background-color .25s ease, color .25s ease;
}
.cat:hover .cat__icon { background: var(--yellow); color: var(--white); }
.cat__icon svg { width: 34px; height: 34px; }
.cat h3 {
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: .75rem;
}
.cat h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: .8rem auto 0;
  background: var(--yellow);
}
.cat p { font-size: var(--fs-body); line-height: 1.7; color: #4a443c; }

.art-mission { padding-block: 110px 130px; }
.art-mission .split { align-items: center; }
.art-mission h2 { font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.25rem); line-height: 1.15; margin-bottom: 1.4rem; }
.art-mission p { font-size: var(--fs-body); line-height: 1.75; }
.art-mission .btn { margin-top: .8rem; }
.art-mission__logo img { width: 100%; max-width: 430px; margin-inline: auto; }

.art-subscribe {
  padding-block: 200px 200px;
  background: #ddd center / cover no-repeat;
  background-image: linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18)), url("/assets/images/dojo-spirit.jpg");
}
.art-subscribe__card {
  max-width: 902px;
  margin-inline: auto;
  padding: 60px 60px 60px;
  text-align: center;
  box-shadow: 0 10px 50px rgba(0, 0, 0, .09);
}
.art-subscribe__card h2 { font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.25rem); line-height: 1.2; margin-bottom: 1.4rem; }
.art-subscribe__card p { font-size: var(--fs-body); line-height: 1.75; max-width: 760px; margin-inline: auto; }
.subscribe-form { margin-top: 1.8rem; }
.subscribe-form input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font: 14px var(--font-sans);
  margin-bottom: 16px;
}
.subscribe-form button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--white);
  font: 700 14px var(--font-sans);
  cursor: pointer;
}
.subscribe-form button:hover { background: #dcb935; }

.join-cta--articles {
  background-image: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url("/assets/images/articles-cta-bg.jpg");
}

/* ==========================================================================
   Photos page + shared contact form
   ========================================================================== */
.photos-hero {
  display: flex;
  align-items: center;
  min-height: clamp(560px, 32.4vw, 843px);
  padding-block: 60px;
  background: #3a2c1c center / cover no-repeat;
  background-image: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), url("/assets/images/hero-home.jpg");
  color: var(--white);
}
.photos-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.12;
  max-width: 980px;
  margin-bottom: 1.6rem;
}
.photos-hero p:not(.eyebrow) { max-width: 1080px; font-size: var(--fs-body); line-height: 1.7; margin-bottom: 1.6rem; }

.photos-archive { padding-block: 95px 110px; scroll-margin-top: 10px; }
.photos-archive .section-title { margin-top: -.2rem; }

.photos-contact { padding-block: 40px 80px; }
.photos-contact h2 {
  text-align: center;
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 4.4rem);
  margin-bottom: 36px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 16px 16px;
  margin-bottom: 36px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: var(--white);
  color: #111;
  font: 14.5px/1.5 var(--font-sans);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #444; }
.contact-form textarea { min-height: 148px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgba(234, 203, 78, .25); }
.contact-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: -8px;
}
.contact-form__status { margin: 0; font-size: 14px; color: #8a6d0b; }

.contact-boxes { margin-top: 56px; }
.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 278px;
  padding: 32px 20px;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-align: center;
}
.contact-box h3 { font-size: 18px; margin-bottom: .5rem; }
.contact-box p { font-size: var(--fs-body); margin-bottom: 1.1rem; }
.btn--black { background: #000; color: var(--white); }
.btn--black:hover { background: #333; }
.btn[disabled] { cursor: default; }

/* ==========================================================================
   Επικοινωνία page
   ========================================================================== */
.contact-hero {
  width: min(100%, max(var(--container), 62.2vw));
  margin-inline: auto;
  aspect-ratio: 3 / 2;
  min-height: 560px;
  background: #1a1612 center / cover no-repeat;
  background-image: url("/assets/images/contact-hero.jpg");
  color: var(--white);
  text-align: center;
}
.contact-hero__inner { padding: 18.3% 24px 60px; }
.contact-hero__label { font-size: 13px; letter-spacing: .04em; margin-bottom: 1rem; }
.contact-hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 1.2rem + 3vw, 4.5rem);
  line-height: 1.15;
  max-width: 980px;
  margin: 0 auto 1.8rem;
}
.contact-hero p:not(.contact-hero__label) { font-size: var(--fs-body); line-height: 1.6; margin-bottom: .7rem; }
.contact-hero .btn { margin-top: 1.2rem; }

.contact-info { padding-block: 93px 0; }
.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 5.5%;
  row-gap: 36px;
  text-align: center;
}
.contact-info__value {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1rem + .3vw, 1.25rem);
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: .9rem;
}
.contact-info__value:hover { color: var(--yellow); }
.contact-info__value--link { color: var(--yellow); }
.contact-info__value--link:hover { color: #b8961f; }
.contact-info p { font-size: 14px; }

.contact-signup { padding-block: 150px 0; text-align: center; scroll-margin-top: 20px; }
.contact-signup h2 { font-size: clamp(2.2rem, 1.5rem + 1.8vw, 3.25rem); margin-bottom: 1.1rem; }
.contact-signup__intro { max-width: 1080px; margin: 0 auto 30px; font-size: var(--fs-body); line-height: 1.75; }
.contact-signup__card {
  max-width: 598px;
  margin-inline: auto;
  padding: 60px 60px 60px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, .09);
  text-align: left;
}
.contact-signup .contact-form input,
.contact-signup .contact-form select,
.contact-signup .contact-form textarea {
  border-color: #ccc;
  border-radius: 5px;
}
.contact-form select {
  display: block;
  width: 100%;
  padding: 16px 44px 16px 16px;
  margin-bottom: 36px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='%23555'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
  color: #111;
  font: 14.5px/1.5 var(--font-sans);
  appearance: none;
}
.contact-form select:invalid { color: #444; }
.contact-form select:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgba(234, 203, 78, .25); }
.contact-form__check { font-size: 13px; color: #333; white-space: nowrap; }
.contact-form .contact-form__check-input {
  width: 90px;
  margin: 0;
  padding: 14px 12px;
}
.contact-signup .contact-form__actions { flex-wrap: wrap; margin-top: 0; }
.contact-signup .contact-form__status { flex-basis: 100%; text-align: right; order: 3; }

.social { padding-block: 190px 0; }
.social__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 5.5%;
  row-gap: 28px;
}
.social-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px 30px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.social-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0, 0, 0, .12); }
.social-card__head {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.social-card__head svg { width: 24px; height: 24px; fill: var(--yellow); }
.social-card__count { font-family: var(--font-serif); font-weight: 400; font-size: 18px; color: var(--ink); margin-bottom: 1rem; }
.social-card__text { font-size: var(--fs-body); line-height: 1.8; }

.quote-section { padding-block: 136px 100px; }
.quote-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  column-gap: 60px;
  align-items: start;
}
.quote-section__photo { width: 100%; box-shadow: 10px 10px 0 #b2b2b2; }
.quote-section__quote { margin: 0; }
.quote-section__quote svg { width: 64px; height: 52px; fill: var(--yellow); margin-bottom: 1.4rem; }
.quote-section blockquote { margin: 0 0 1.4rem; }
.quote-section blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 640px;
}
.quote-section figcaption { font-size: 15px; }

/* ==========================================================================
   404 page
   ========================================================================== */
.not-found { padding-block: 120px 140px; text-align: center; }
.not-found h1 { font-size: var(--h2); margin-bottom: 1rem; }
.not-found p { font-size: var(--fs-body); margin-bottom: 1.8rem; }

/* ==========================================================================
   Responsive — tablet (≤ 980px, same breakpoint as the original theme)
   ========================================================================== */
@media (max-width: 980px) {
  :root { --section-space: 60px; --title-gap: 44px; }

  .header-top { grid-template-columns: auto 1fr; row-gap: 18px; }
  .header-logo img { width: 96px; }
  .header-contact {
    grid-column: 1 / -1;
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 18px;
  }
  .header-contact__icon { display: none; }
  .header-contact p { margin: 0; }

  .nav-bar { padding-block: 22px 28px; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; flex-direction: column; margin-top: 16px; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 0; width: 100%; }
  .main-nav li { width: 100%; text-align: center; border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 12px 0; }

  .home-hero {
    width: 100%;
    aspect-ratio: auto;
    min-height: 560px;
    background-image: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), url("/assets/images/hero-home.jpg");
  }

  .split { grid-template-columns: 1fr; row-gap: 32px; }
  .home-lessons .split__media img { max-width: 520px; }

  .announcement { grid-template-columns: 30% minmax(0, 1fr); row-gap: 18px; }
  .announcement__meta {
    grid-column: 2;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

  .testimonials { grid-template-columns: 1fr; row-gap: 48px; max-width: 560px; margin-inline: auto; }
  .testimonial__icon { margin-inline: auto; display: block; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; max-width: 420px; }
  .footer-col--bottom { align-self: end; }

  .dojo-hero { padding-block: 40px 60px; }
  .dojo-hero__bg { display: none; }
  .dojo-hero__media { position: relative; isolation: isolate; }
  .dojo-hero__grid { row-gap: 72px; }
  .dojo-hero__media::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -40px;
    left: 30%;
    right: calc(50% - 50vw);
    height: calc(50% + 40px);
    background: #d9d9d9 url("/assets/images/dojo-hero-bg.jpg") 85% center / cover no-repeat;
  }
  .dojo-hero__text { margin-top: 0; }
  .dojo-hero__media { max-width: 520px; margin-left: auto; }
  .dojo-philosophy__band { padding-top: 60px; }
  .dojo-philosophy__intro { margin-bottom: 44px; row-gap: 12px; }

  .schedule-hero__band { padding-top: 60px; }
  .timetable { padding-block: 64px 72px; }
  .timetable__title { margin-bottom: 52px; }
  .timetable__day { grid-template-columns: 1fr; row-gap: 14px; margin-bottom: 56px; }
  .timetable__label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
  .timetable__label h3 { margin-bottom: 0; }
  .timetable__class + .timetable__class { margin-top: 40px; }
  .schedule-info { padding-block: 64px 80px; }
  .schedule-info__row + .schedule-info__row { margin-top: 80px; }
  .schedule-info__calligraphy img { max-width: 220px; }
  .faq { padding-block: 60px; }
  .faq__head { margin-bottom: 40px; }
  .faq__item { margin-bottom: 18px; }
  .join-cta { padding-block: 90px; }
  .join-cta__box { padding: 44px 32px 40px; }

  .lessons-hero { flex-direction: column-reverse; align-items: stretch; min-height: 0; }
  .lessons-hero__content { padding-block: 56px 48px; }
  .lessons-hero__art { position: relative; clip-path: none; background: none; }
  .lessons-hero__photo { position: static; width: 100%; height: auto; }
  .lessons-philosophy { padding-top: 64px; }
  .programs { padding-block: 90px 64px; }
  .blurbs { grid-template-columns: 1fr; max-width: 520px; }
  .blurb p { max-width: none; }
  .programs__cta { margin-top: 48px; }
  .map-embed, .map-embed iframe { min-height: 360px; height: 360px; }
  .join-band-wrap { padding-top: 72px; }
  .join-band { padding-block: 56px; }

  .teacher-intro { padding-top: 48px; }
  .teacher-intro__grid { grid-template-columns: 1fr; row-gap: 24px; }
  .teacher-intro__action { order: 2; }
  .teacher-bio { padding-top: 64px; }
  .teacher-bio__card { padding: 32px; }
  .instructors__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .path { padding-block: 64px; }
  .path__inner { width: var(--container); }
  .path__grid { grid-template-columns: 1fr 1fr; }
  .contact-band { padding-block: 120px; }

  .bj-hero { min-height: 0; }
  .bj-hero__circle { display: none; }
  .bj-hero__grid { padding-block: 48px 0; row-gap: 36px; }
  .bj-hero__media {
    margin-inline: calc(50% - 50vw);
    padding: 40px calc(50vw - 50%);
    background: linear-gradient(#a3903a, #eacb4e);
  }
  .bj-hero__media img { max-width: 520px; margin-inline: auto; }
  .bj-history { padding-block: 60px 70px; }
  .ryuha__schools { font-size: 16px; margin-bottom: 48px; }
  .ryuha__forms { row-gap: 40px; }
  .seminar-cta { padding-top: 56px; }
  .seminar-cta__box { min-height: 240px; }

  .sem-hero { min-height: 0; }
  .sem-hero__inner { padding-block: 60px 40px; }
  .sem-list { padding-top: 60px; }
  .sem-testimonials { padding-block: 60px 70px; }
  .instructors--stacked .instructors__grid { max-width: none; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .gallery-masonry { columns: 2; }

  .art-hero__media { max-width: 520px; }
  .art-list { background: var(--yellow); padding-block: 56px 64px; }
  .art-list__side { justify-content: flex-start; }
  .art-list__grid { row-gap: 48px; }
  .post + .post { margin-top: 40px; }
  .cat { flex-basis: calc((100% - 28px) / 2); }
  .art-mission { padding-block: 64px 72px; }
  .art-mission__logo img { max-width: 260px; }
  .art-subscribe { padding-block: 80px; }
  .art-subscribe__card { padding: 40px 28px; }

  .photos-archive { padding-block: 64px 72px; }
  .contact-boxes { row-gap: 24px; }
  .contact-box { min-height: 200px; }

  .contact-hero { width: 100%; aspect-ratio: auto; min-height: 520px; background-image: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), url("/assets/images/contact-hero.jpg"); }
  .contact-hero__inner { padding: 160px 24px 64px; }
  .contact-info { padding-top: 64px; }
  .contact-info__grid { grid-template-columns: 1fr; }
  .contact-signup { padding-top: 90px; }
  .contact-signup__card { padding: 40px 28px; }
  .social { padding-top: 100px; }
  .social__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .social-card { min-height: 0; }
  .quote-section { padding-block: 80px 72px; }
  .quote-section__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .quote-section__photo { max-width: 320px; }
}

/* ==========================================================================
   Responsive — mobile (≤ 600px)
   ========================================================================== */
@media (max-width: 600px) {
  :root { --container: 88vw; --section-space: 48px; --title-gap: 32px; --fs-body: 14px; }

  .header-top { grid-template-columns: 72px 1fr; column-gap: 16px; }
  .header-logo img { width: 72px; }
  .header-title { font-size: 1.6rem; }
  .header-contact { font-size: 13px; }
  .header-contact__title { display: none; }

  .home-hero { min-height: 520px; }
  .home-hero h1 { font-size: 2.2rem; }

  .home-philosophy { padding-top: 32px; }
  .home-philosophy .card { padding: 20px; }

  .announcement { grid-template-columns: 1fr; }
  .announcement__meta { grid-column: 1; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .cta-box { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }

  .dojo-hero h1 { font-size: 2.3rem; }
  .dojo-spirit { padding-top: 32px; }
  .dojo-spirit__card { padding: 20px; }
  .dojo-philosophy__band { padding-top: 48px; }
  .dojo-philosophy__after { padding-top: calc(26.2% + 48px); }

  .schedule-hero__band { padding-top: 44px; }
  .schedule-hero__band p { margin-bottom: 36px; }
  .schedule-hero__after { padding-top: calc(10% + 48px); }
  .faq__item summary { padding: 16px 48px 16px 18px; font-size: 15.5px; }
  .faq__answer { padding: 0 18px 18px; }
  .join-cta { padding-block: 56px; }
  .join-cta__box { padding: 32px 20px; }

  .teacher-bio__card { padding: 20px 20px 28px; }
  .instructor { grid-template-columns: 120px 1fr; }
  .instructor img { width: 120px; }
  .path__grid { grid-template-columns: 1fr; }
  .path__grid li { padding-right: 0; }
  .contact-band { padding-block: 80px; }

  .cat { flex-basis: 100%; }
  .art-subscribe__card { padding: 32px 20px; }

  .contact-signup__card { padding: 28px 18px; }
  .contact-signup .contact-form__actions { justify-content: flex-start; }

  /* --- Mobile fixes --- */
  /* Form fields at 16px so iPhones don't zoom in when typing */
  .newsletter-form input,
  .subscribe-form input,
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }

  /* Tall images in lists (e.g. the calligraphy) no longer fill the whole screen */
  .announcement__img { width: auto; max-width: 100%; max-height: 280px; }
  .announcement__img--logo { max-width: 160px; }

  /* Current page visible in the open menu */
  .main-nav a[aria-current="page"] { color: #b8961f; font-weight: 600; }

  /* Bigger tap areas for footer links */
  .footer-links a { display: inline-block; padding-block: 5px; }

  /* Tighter spacing on long pages */
  .home-gallery, .home-cta { padding-top: var(--section-space); }
  .gallery-grid img { box-shadow: 0 3px 10px rgba(0, 0, 0, .15); }

  /* Seminar instructors: two per row instead of one very tall card each */
  .instructors--stacked .instructors__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .instructors--stacked .instructor { padding: 12px 10px; }
  .instructors--stacked .instructor h3 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
