/* =====================================================================
   About Us page
   ===================================================================== */

/* Wave above the call-to-action matches the light-blue Featured section */
body { --cta-wave-color: var(--light-blue); }

/* ---------- Shared headings on this page ---------- */
.section-title {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: var(--heading);
}
.section-title--lg { font-size: 56px; line-height: 1.327; margin-bottom: 29px; }
.section-title--story { font-size: 60px; line-height: 1.327; margin-bottom: 29px; color: var(--teal-dark); }

/* Blob shapes behind images (base rules in site.css) */
.blob-bg--11::before { background-image: url("/assets/images/shared/blob-11.svg"); background-position: 50% 65%; background-size: 120% auto; opacity: .5; }
.blob-bg--8::before  { background-image: url("/assets/images/shared/blob-8.svg");  background-position: 50% 28%; background-size: 102% auto; opacity: .7; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 404px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/assets/images/shared/hero-jp.jpg") center 46px / cover no-repeat;
  background-position: 50% -46px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.hero__title {
  position: relative;
  z-index: 2;
  margin-top: 84px;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1;
  color: #fff;
}
.wave--hero { height: 45px; }
.wave--hero svg { width: calc(100% + 1.3px); fill: #fff; }

/* ---------- What is Satoricamp ---------- */
.what {
  position: relative;
  padding: 45px 20px 0 30px;
}
.what::before, .temple::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 350px; height: 100%;
  background: url("/assets/images/shared/bg-left-only.png") 0 150px / 350px auto no-repeat;
  pointer-events: none;
}
.what .wrap, .temple .wrap { position: relative; }
.what .section-title { margin-bottom: 20px; }
.what__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  padding-bottom: 78px;
}
.what__text { padding: 20px 16px 0 12px; }
.what__text > p, .temple__text > p, .satori p, .story__text p {
  font-size: 22px;
  line-height: 1.4;
  color: var(--text);
}
.what__image img { width: 100%; }
.what__text .partner-box { margin-top: 47px; }

/* ---------- Temple stays ---------- */
.temple {
  position: relative;
  padding: 0 20px 0 30px;
}
.temple::before { display: none; }
.temple__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.temple__image img { width: 100%; }
.temple__text { padding-right: 12px; align-self: start; }
.temple__text > p { margin-bottom: 27px; }
.features { margin: 0; padding: 0; list-style: none; }
.feature { display: flex; gap: 16px; margin-bottom: 40px; }
.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--teal);
}
.feature__icon img { width: 34px; height: 34px; }
.feature__title {
  margin: -7.7px 0 7px;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.417;
  color: var(--teal-dark);
}
.feature .feature__text { margin: 0 0 -4.8px; font-size: 16px; line-height: 1.4; }

/* ---------- The meaning of Satori ---------- */
.satori { padding: 50px 40px; }
.satori__box {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
  padding: 40px 100px 40px 50px;
  background: var(--light-blue);
  border-radius: 30px;
  overflow: hidden;
}
.satori__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/shared/satori-kanji3.png") 98% -23px / 23% auto no-repeat;
  opacity: .25;
  pointer-events: none;
}
.satori__title {
  position: relative;
  margin-bottom: 25px;
  font-family: var(--font-heading);
  font-size: 56px;
  font-style: italic;
  line-height: 1;
  color: var(--heading);
}
.satori__body { position: relative; display: flex; align-items: flex-start; padding: 0 10px; }
.satori__logo { width: 180px; flex: none; margin-right: 20px; }
.satori__body p { margin-top: 29px; }

/* ---------- Our story ---------- */
.story {
  position: relative;
  padding: 30px 30px 0;
}
.story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/shared/bg-right-only.png") 100% 50% / 400px auto no-repeat;
  pointer-events: none;
}
.story .wrap { position: relative; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 100px; }
.story__image { padding: 20px 12px; }
.story__image img { width: 100%; }
.story__text { padding: 0 12px 0 20px; }
.founders { display: grid; grid-template-columns: 1fr 1fr; }
.founder {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  line-height: 26px;
  color: var(--heading);
}
.founder img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }

/* ---------- Featured camps ---------- */
.featured {
  position: relative;
  margin-top: -20px;
  padding: 100px 30px;
  background: var(--light-blue);
}
.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/shared/bg-blue-1.png") 100% 100% / 350px auto no-repeat;
  opacity: .2;
  pointer-events: none;
}
.wave--featured { height: 40px; }
.wave--featured svg { width: calc(120% + 1.3px); fill: #fff; }
.featured__intro { position: relative; text-align: center; }
.featured__label {
  margin: 0 0 -4px;
  font-size: 28px;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--heading);
}
.featured__title {
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1.327;
  color: var(--heading);
}
.featured__title--mobile { display: none; }
.featured__intro .featured__text { margin: 0; padding-top: 7px; font-size: 22px; line-height: 1.4; }

/* =====================================================================
   Tablet + mobile (up to 1024px): one column, simpler featured block
   ===================================================================== */
@media (max-width: 1024px) {
  .hero { height: 340px; background-position: 50% 50%; }
  .section-title, .section-title--lg, .section-title--story, .satori__title { font-size: 40px; line-height: 1.2; }
  .hero__title { margin-top: 80px; font-size: 45px; }

  .what__grid, .temple__grid, .story__grid { grid-template-columns: 1fr; }
  .what__grid { padding-bottom: 0; }
  .what__image { order: -1; padding: 10px 0 20px; }
  .what__image img, .temple__image img, .story__image img { max-width: 650px; margin: 0 auto; }
  .what__text { padding: 10px 0 0; }
  .temple { padding-top: 30px; padding-bottom: 50px; }
  .temple__image { padding: 20px 12px; margin-bottom: 30px; }
  .temple__text { padding-right: 0; }
  .story__grid { padding-bottom: 55px; }
  .story__text { margin-top: 30px; }

  .featured { margin-top: 0; padding: 60px 20px 40px; }
  .featured__label { margin-bottom: 20px; font-size: 22px; line-height: 30px; }
  .featured__title--desktop, .featured__intro .featured__text { display: none; }
  .featured__title--mobile { display: block; font-size: 34px; font-style: italic; font-weight: 700; line-height: 1.1; }

}

/* =====================================================================
   Mobile (up to 767px)
   ===================================================================== */
@media (max-width: 767px) {
  .section-title, .section-title--lg, .section-title--story { font-size: 36px; line-height: 1.1; }

  .hero { height: 200px; background-position: 50% 0; }
  .hero__title { margin-top: 0; font-size: 36px; }
  .wave--hero { height: 25px; }
  .wave--hero svg { width: calc(150% + 1.3px); }
  .wave--featured { height: 33px; }
  .wave--featured svg { width: calc(162% + 1.3px); }

  .what { padding: 30px 12px 0; }
  .what::before { width: 100%; background-position: -30% 27%; }
  .what .section-title { line-height: 42px; }
  .what__grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .what__image { order: -1; padding: 10px 0 20px; }
  .what__text { padding: 10px 0 0; }

  .temple { padding: 30px 12px 50px; }
  .temple__grid { grid-template-columns: 1fr; }
  .temple .section-title { margin-bottom: 23px; }
  .temple__image { padding: 20px 12px; margin-bottom: 30px; }
  .blob-bg--11::before { background-position: 70% 65%; background-size: 111% auto; }
  .blob-bg--8::before { background-position: 120% 20%; background-size: 108% auto; opacity: .8; }
  .temple__text > p { margin-bottom: 18px; }
  .temple__text { padding-right: 0; }
  .feature { gap: 16px; margin-bottom: 55px; }
  .feature:last-child { margin-bottom: 10px; }
  .feature__icon { width: 56px; height: 56px; }
  .feature__title { font-size: 22px; }
  .feature .feature__text { font-size: 21px; line-height: 1.2; }

  .satori { padding: 0 15px; }
  .satori__box { padding: 30px 20px 19px; }
  .satori__box::before { background-position: 100% 100%; background-size: 50% auto; opacity: .2; }
  .satori__title { font-size: 36px; line-height: 1.1; }
  .satori__body { flex-direction: column; }
  .satori__logo { width: 90px; margin: 0 0 20px; }
  .satori__body p { margin-top: 0; }

  .story { padding: 40px 12px 0; }
  .story::before { background-size: 320px auto; }
  .story__grid { grid-template-columns: 1fr; padding-bottom: 55px; }
  .story__image { padding: 20px 0; }
  .section-title--story { margin-bottom: 22px; }
  .story__text { margin-top: 30px; padding: 20px 12px 0; }
  .founders { grid-template-columns: 1fr; gap: 10px; margin-top: 21px; }
  .founder { font-size: 20px; }
  .founder img { width: 30px; height: 30px; }

  .featured { margin-top: 0; padding: 60px 20px 45px; }
  .featured__label { margin-bottom: 20px; font-size: 22px; line-height: 30px; }
  .featured__title--desktop, .featured__text { display: none; }
  .featured__title--mobile { display: block; font-size: 34px; font-style: italic; font-weight: 700; line-height: 1.1; }

}

/* ---------- Nov 2026 update ---------- */
.satori__text p { margin: 0 0 14px; }
.satori__text p:last-child { margin-bottom: 0; }
.satori__body .satori__text p { margin-top: 0; }

/* Explore Japan with SatoriCamp: two equal cards */
.explore .featured__title { margin-bottom: 10px; font-style: italic; font-weight: 900; line-height: 1.2; }
.explore .featured__intro { max-width: 900px; margin: 0 auto 50px; }
.explore__cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1344px; margin: 0 auto; }
.explore-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.explore-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.explore-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px 32px 32px; }
.explore-card__label { margin: 0 0 6px; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.explore-card h3 { margin: 0 0 12px; font-family: var(--font-heading); font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--heading); }
.explore-card__body > p:not(.explore-card__label) { margin: 0 0 24px; font-size: 20px; line-height: 1.45; }
.explore-card .btn { margin-top: auto; text-transform: none; }

@media (max-width: 1024px) {
  .explore .featured__title { font-size: 40px; }
}
@media (max-width: 767px) {
  .explore .featured__title { font-size: 32px; }
  .explore .featured__intro { margin-bottom: 30px; }
  .explore__cards { grid-template-columns: 1fr; gap: 20px; }
  .explore-card__body { padding: 22px 20px 24px; }
  .explore-card h3 { font-size: 26px; }
  .explore-card__body > p:not(.explore-card__label) { font-size: 18px; }
}
@media (max-width: 1024px) { .explore .featured__intro .featured__text { display: block; font-size: 19px; } }

/* ---------- Round 2 ---------- */
/* Headlines: same bold italic as the other pages */
.section-title, .section-title--lg, .section-title--story, .satori__title, .explore .featured__title {
  font-size: 60px; font-style: italic; font-weight: 900; line-height: 1.2; color: var(--heading);
}
/* What is SatoriCamp + Experiences: one section, mandala decoration not cut */
.what { padding-bottom: 40px; overflow: hidden; }
.what::before { height: 100%; background-position: 0 120px; }
.temple { padding: 0; }
/* Pale blob behind the monk/countryside photos: give it room so it is not clipped */
.blob-bg--11::before { inset: -6% -5%; background-size: 100% 100%; background-position: center; }

/* For Japanese travel partners: own section with image */
.jp-partners { position: relative; padding: 90px 30px 110px; }
.jp-partners::before { content: ""; position: absolute; right: 0; top: 0; width: 350px; height: 100%; background: url("/assets/images/shared/bg-right-only.png") 100% 50% / 350px auto no-repeat; opacity: .8; pointer-events: none; }
.jp-partners__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1344px; margin: 0 auto; }
.jp-partners__image img { width: 100%; }
.jp-partners__label { margin: 0 0 10px; font-size: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.jp-partners__title { margin: 0 0 20px; }
.jp-partners__text { margin: 0 0 30px; font-size: 22px; line-height: 1.45; }
.jp-partners__btn { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; text-transform: none; }
@media (max-width: 1024px) {
  .section-title, .section-title--lg, .section-title--story, .satori__title, .explore .featured__title { font-size: 44px; }
  .jp-partners__grid { grid-template-columns: 1fr; gap: 30px; }
  .jp-partners__image img { max-width: 600px; margin: 0 auto; display: block; }
}
@media (max-width: 767px) {
  .section-title, .section-title--lg, .section-title--story, .satori__title, .explore .featured__title { font-size: 34px; line-height: 1.15; }
  .jp-partners { padding: 50px 15px 70px; }
  .jp-partners::before { width: 200px; background-size: 200px auto; }
  .jp-partners__label { font-size: 15px; }
  .jp-partners__text { font-size: 19px; }
}
/* blob behind the monk photo: slightly offset so it shows around the photo, never clipped */
.temple__image.blob-bg--11::before { inset: 2% -7% -9% -3%; background-size: 100% 100%; opacity: .6; }
.temple__image { padding: 20px 30px 40px 10px; }
/* Explore section: wave into the white partner section, decoration not cut */
.explore { padding-bottom: 130px; overflow: hidden; }
.explore .wave--explore-bottom { height: 40px; }
.explore .wave--explore-bottom svg { width: calc(120% + 1.3px); fill: #fff; }
.jp-partners__title { font-size: 48px; }
@media (max-width: 767px) { .jp-partners__title { font-size: 32px; } .explore { padding-bottom: 80px; } }
/* blob behind the monk photo: same visible shape as the countryside photo */
.temple__image.blob-bg--11::before { inset: 0; background-size: 120% auto; background-position: 50% 80%; opacity: .5; }
.temple__image { padding: 0; }
.jp-partners { padding-top: 60px; }
@media (max-width: 767px) { .jp-partners__btn { white-space: nowrap; font-size: 19px; padding-left: 22px; padding-right: 22px; } .jp-partners { padding-top: 30px; } }
.temple__image.blob-bg--11::before { inset: -8% -6% -10% -6%; background-size: contain; background-position: 55% 70%; }
.temple__image.blob-bg--11::before { inset: 8% -5% -9% 6%; background-size: 100% 100%; background-position: center; opacity: .55; }
/* the blob shape only fills the middle ~2/3 of its SVG, so the layer is made larger than the photo */
.temple__image.blob-bg--11::before { inset: -14% -20% -28% -12%; background-size: 100% 100%; background-position: center; opacity: .55; }
.temple .section-title { margin-top: 40px; } @media (max-width: 767px) { .temple .section-title { margin-top: 30px; } }
/* Feature descriptions: readable size */
.feature .feature__text { font-size: 19px; line-height: 1.45; }
@media (max-width: 767px) { .feature .feature__text { font-size: 18px; } }
/* Partner section: less space above and below */
.jp-partners { padding-top: 20px; padding-bottom: 60px; }
.explore { padding-bottom: 100px; }
@media (max-width: 767px) { .jp-partners { padding-top: 10px; padding-bottom: 50px; } .explore { padding-bottom: 70px; } }
/* Partner section: same left-side decoration as "What Is SatoriCamp?" */
.jp-partners::before { left: 0; right: auto; width: 350px; background: url("/assets/images/shared/bg-left-only.png") 0 50% / 350px auto no-repeat; opacity: 1; }
@media (max-width: 767px) { .jp-partners::before { width: 280px; background-size: 280px auto; } }
