:root {
  --ink: #352e2a;
  --ink-soft: #75665f;
  --green-950: #6f2c24;
  --green-900: #8f3a2d;
  --green-800: #a84a3a;
  --green-700: #c96852;
  --gold: #8f6d32;
  --gold-light: #d2b879;
  --paper: #fffdfa;
  --warm: #f8f1e9;
  --warm-deep: #eedfd2;
  --white: #fff;
  --line: rgba(111, 44, 36, 0.14);
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --brush: "HanziPen SC", "Klee", "YuKyokasho", "Yu Mincho", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --shadow: 0 18px 60px rgba(92, 48, 38, 0.12);
  --radius: 2px;
  --header-height: 60px;
  --shell: min(100% - 40px, 1160px);
}

/* Funeral, memorial-service guide, and reservation form. */
.page-layout--osoushiki {
  grid-template-columns: minmax(0, 1fr);
}

.page-layout--osoushiki .page-article {
  width: min(100%, 980px);
  margin-inline: auto;
}

.osoushiki-intro {
  padding: clamp(26px, 5vw, 50px);
  border-top: 3px solid var(--green-800);
  background: linear-gradient(145deg, #fffdfa, #f8efe7);
  box-shadow: 0 18px 48px rgba(92, 48, 38, 0.08);
}

.osoushiki-intro p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 2;
}

.osoushiki-intro p + p {
  margin-top: 1em;
}

.page-article .entry__content .section-contact-action {
  margin: 24px 0 0;
  text-align: center;
}

.section-contact-action .button {
  min-width: min(100%, 280px);
  justify-content: center;
}

.osoushiki-section {
  margin-top: clamp(54px, 8vw, 92px);
}

.osoushiki-section__heading {
  margin-bottom: clamp(24px, 4vw, 42px);
  text-align: center;
}

.page-article .entry__content .osoushiki-section__heading p {
  margin: 0 0 6px;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.page-article .entry__content .osoushiki-section__heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--brush);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.25;
  letter-spacing: 0.1em;
}

.page-article .entry__content .osoushiki-section__heading h2::after {
  display: block;
  width: 56px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--green-700);
  content: "";
}

.osoushiki-first-contact {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(168, 74, 58, 0.2);
  background: #fff9f4;
}

.osoushiki-first-contact::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--green-800);
  content: "";
}

.page-article .entry__content .osoushiki-first-contact h3,
.page-article .entry__content .hoji-guide__subheading,
.page-article .entry__content .hoji-reservation > h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.45;
}

.osoushiki-first-contact p,
.osoushiki-steps p,
.hoji-flow p,
.hoji-venue-grid p,
.hoji-type-grid p {
  margin: 0;
  line-height: 1.75;
}

.page-article .entry__content .osoushiki-steps,
.page-article .entry__content .hoji-flow {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: funeral-step;
  gap: 22px;
}

.osoushiki-steps li {
  position: relative;
  min-width: 0;
  padding: 26px 26px 26px 82px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 34px rgba(70, 43, 33, 0.06);
  counter-increment: funeral-step;
}

.osoushiki-steps li::before {
  position: absolute;
  top: 25px;
  left: 24px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--green-700);
  border-radius: 50%;
  color: var(--green-900);
  content: counter(funeral-step);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.page-article .entry__content .osoushiki-steps h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
}

.hoji-guide {
  padding-top: clamp(45px, 7vw, 72px);
  border-top: 1px solid var(--line);
}

.hoji-guide__lead {
  width: min(100%, 760px);
  margin-inline: auto;
  font-family: var(--serif);
}

.hoji-guide__lead p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.95;
}

.hoji-guide__lead p + p {
  margin-top: 1em;
}

.page-article .entry__content .hoji-guide__subheading {
  margin-top: clamp(44px, 7vw, 72px);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(111, 44, 36, 0.22);
}

.page-article .entry__content .hoji-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: hoji-step;
}

.hoji-flow li {
  min-width: 0;
  padding: 24px;
  background: var(--warm);
  counter-increment: hoji-step;
}

.hoji-flow li::before {
  display: block;
  margin-bottom: 12px;
  color: var(--green-800);
  content: "STEP " counter(hoji-step, decimal-leading-zero);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.page-article .entry__content .hoji-flow h4,
.page-article .entry__content .hoji-venue-grid h4,
.page-article .entry__content .hoji-type-grid h4 {
  margin: 0 0 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
}

.hoji-venue-grid,
.hoji-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hoji-venue-grid > div,
.hoji-type-grid > div {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.hoji-type-grid > div {
  border-top: 3px solid var(--gold-light);
}

.hoji-reservation {
  margin-top: clamp(54px, 8vw, 88px);
  padding: clamp(24px, 5vw, 52px);
  scroll-margin-top: calc(var(--header-height) + 24px);
  background: #f7efe7;
}

.page-article .entry__content .hoji-reservation__eyebrow {
  margin: 0 0 6px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hoji-reservation > p:not(.hoji-reservation__eyebrow) {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.hoji-form {
  display: grid;
  margin-top: 28px;
  gap: 24px;
}

.page-article .entry__content .hoji-form__required-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.hoji-form b {
  color: var(--green-800);
  font-weight: 800;
}

.hoji-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hoji-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.hoji-form label > span,
.hoji-form legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.hoji-form__wide {
  grid-column: 1 / -1;
}

.hoji-form input[type="text"],
.hoji-form input[type="email"],
.hoji-form input[type="tel"],
.hoji-form input[type="date"],
.hoji-form input[type="time"],
.hoji-form input[type="number"],
.hoji-form select,
.hoji-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid rgba(53, 46, 42, 0.24);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.hoji-form textarea {
  min-height: 140px;
  resize: vertical;
}

.hoji-form input:focus,
.hoji-form select:focus,
.hoji-form textarea:focus {
  border-color: var(--green-800);
  outline: 2px solid rgba(168, 74, 58, 0.18);
  outline-offset: 0;
}

.hoji-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hoji-form fieldset legend {
  margin-bottom: 10px;
  padding: 0;
}

.hoji-form__dates {
  display: grid;
  gap: 12px;
}

.hoji-form__dates > div {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px;
}

.hoji-form__choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hoji-form__reply {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hoji-form__choice legend {
  grid-column: 1 / -1;
}

.hoji-form__choice label {
  display: flex;
  min-height: 48px;
  padding: 10px 12px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(53, 46, 42, 0.2);
  background: #fff;
}

.hoji-form__choice input,
.hoji-form__consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--green-800);
}

.hoji-form__consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
}

.hoji-form__consent input {
  margin-top: 3px;
}

.hoji-form__submit {
  width: min(100%, 360px);
  min-height: 56px;
  margin-inline: auto;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.hoji-form__trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.hoji-form-notice {
  margin: 20px 0 0;
  padding: 16px;
  border-left: 4px solid;
  background: #fff;
  font-weight: 700;
  line-height: 1.6;
}

.hoji-form-notice--success {
  border-color: #4f795b;
  color: #34563d;
}

.hoji-form-notice--error {
  border-color: var(--green-800);
  color: var(--green-950);
}

@media (max-width: 759px) {
  .page-hero--osoushiki .page-hero__kicker {
    font-size: 10px;
    line-height: 1.55;
  }

  .page-article .entry__content .eitaikuyo-meaning > h2 {
    white-space: nowrap;
    font-size: clamp(19px, 6.2vw, 23px);
    letter-spacing: 0.03em;
  }

  .osoushiki-intro {
    padding: 24px 20px;
  }

  .osoushiki-intro p {
    font-size: 14px;
    line-height: 1.75;
  }

  .osoushiki-section {
    margin-top: 48px;
  }

  .page-article .entry__content .osoushiki-section__heading h2 {
    font-size: 34px;
  }

  .osoushiki-first-contact {
    padding: 21px 18px 21px 22px;
  }

  .page-article .entry__content .osoushiki-steps {
    gap: 16px;
  }

  .osoushiki-steps li {
    display: grid;
    padding: 18px;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 11px;
    row-gap: 4px;
  }

  .osoushiki-steps li::before {
    position: static;
    width: 34px;
    height: 34px;
    grid-column: 1;
    grid-row: 1 / span 2;
    font-size: 14px;
  }

  .page-article .entry__content .osoushiki-steps h3 {
    min-width: 0;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .osoushiki-steps p {
    min-width: 0;
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .page-article .entry__content .hoji-flow,
  .hoji-venue-grid,
  .hoji-type-grid,
  .hoji-form__grid,
  .hoji-form__choice {
    grid-template-columns: minmax(0, 1fr);
  }

  .hoji-flow li,
  .hoji-venue-grid > div,
  .hoji-type-grid > div {
    padding: 20px;
  }

  .hoji-reservation {
    margin-inline: -8px;
    padding: 24px 16px;
  }

  .hoji-form {
    gap: 20px;
  }

  .hoji-form__grid {
    gap: 14px;
  }

  .hoji-form__dates > div {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
  }

  .hoji-form__wide {
    grid-column: auto;
  }

  .hoji-form__choice legend {
    grid-column: auto;
  }
}

/* v1.51: annual-service cards and the visible seismic frame. */
.houyou-main-visual {
  max-width: 620px;
  margin: 0 auto clamp(34px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(111, 44, 36, 0.12);
  border-radius: 3px;
  background: #171411;
  box-shadow: 0 18px 44px rgba(72, 44, 31, 0.1);
}

.houyou-main-visual img,
.houyou-card__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.houyou-main-visual figcaption,
.houyou-card__visual figcaption {
  padding: 9px 12px 11px;
  color: #6d625a;
  background: #fffaf3;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.5;
}

.page-article .entry__content .houyou-events h2 {
  margin-bottom: 24px;
}

.houyou-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.houyou-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(111, 44, 36, 0.14);
  border-radius: 4px;
  background: #fffaf3;
  box-shadow: 0 14px 36px rgba(72, 44, 31, 0.07);
}

.houyou-card__visual {
  margin: 0;
  background: #e7ded2;
}

.houyou-card__visual img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.houyou-card--visit .houyou-card__visual img {
  aspect-ratio: auto;
}

.houyou-card--joya .houyou-card__visual img {
  aspect-ratio: 16 / 9;
}

.houyou-card__body {
  padding: 22px 20px 24px;
}

.page-article .entry__content .houyou-card__date {
  display: flex;
  margin: 0 0 10px;
  align-items: baseline;
  gap: 9px;
  color: var(--green-900);
  font-family: var(--serif);
  line-height: 1.2;
}

.houyou-card__date span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.houyou-card__date small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-article .entry__content .houyou-card h3 {
  margin: 0 0 12px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(19px, 4.8vw, 25px);
  font-weight: 600;
}

.page-article .entry__content .houyou-card p:last-child {
  margin-bottom: 0;
}

.houyou-card--plain {
  position: relative;
  min-height: 220px;
  justify-content: center;
  background: linear-gradient(145deg, #fffaf3, #f4ecdf);
}

.houyou-card--plain::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-800), var(--gold));
  content: "";
}

.page-article .entry__content .houyou-events__note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: right;
}

.page-article .entry__content .houyou-external-link {
  display: flex;
  margin: 24px 0 0;
  justify-content: flex-end;
}

.houyou-external-link a {
  display: inline-flex;
  min-height: 38px;
  padding: 7px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(53, 46, 42, 0.2);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--green-900);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.houyou-external-link a:hover,
.houyou-external-link a:focus-visible {
  border-color: rgba(111, 44, 36, 0.42);
  background: #fffaf3;
}

.about-renewal__media {
  display: grid;
  margin: 24px 0 18px;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.about-renewal__media .about-history-figure {
  max-width: none;
  margin: 0;
}

@media (min-width: 760px) {
  .houyou-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .about-renewal__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 759px) {
  .houyou-main-visual {
    max-width: 76vw;
    margin-bottom: 30px;
  }

  .houyou-card-grid {
    gap: 14px;
  }

  .houyou-card__body {
    padding: 18px 17px 20px;
  }

  .houyou-card--plain {
    min-height: 0;
  }

  .page-article .entry__content .houyou-events__note {
    margin-top: 16px;
    font-size: 10px;
    text-align: left;
  }

  .page-article .entry__content .houyou-external-link {
    margin-top: 18px;
    justify-content: stretch;
  }

  .houyou-external-link a {
    width: 100%;
    min-height: 36px;
    padding-inline: 12px;
    justify-content: space-between;
    font-size: 10px;
  }

  .about-renewal__media {
    margin-block: 18px 14px;
    gap: 14px;
  }
}

@media (max-width: 380px) {
  .hoji-form__dates > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #e0b14b;
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--white);
  color: var(--green-950);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  width: auto;
  height: auto;
  padding: 10px 16px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

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

/* Opening sequence: visual only; the searchable page remains rendered beneath it. */
.opening {
  position: fixed;
  z-index: 9999;
  inset: 0;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  animation: opening-fade-out 0.8s ease-in-out 3.35s forwards, opening-hide 0.01s linear 4.16s forwards;
}

.opening__art {
  position: absolute;
  inset: 0;
  display: flex;
  padding-top: clamp(48px, 8vh, 88px);
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  animation: opening-art-rise 2.5s cubic-bezier(0.16, 0.84, 0.24, 1) 0.18s forwards;
  will-change: opacity, transform;
}

.opening__art img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  object-position: top center;
  animation: opening-art-fade-out 0.75s ease-in-out 2.45s forwards;
  will-change: opacity;
}

.has-seen-opening .opening {
  display: none;
}

html:not(.has-seen-opening) body.home .hero__visual {
  animation: opening-hero-visual 1.6s cubic-bezier(0.16, 0.84, 0.24, 1) 3.45s both;
}

body.home .hero__brand-stage {
  animation: opening-hero-content 1.8s cubic-bezier(0.16, 0.84, 0.24, 1) 0.35s both;
}

html:not(.has-seen-opening) body.home .hero__brand-stage {
  animation-delay: 3.65s;
}

@keyframes opening-art-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes opening-art-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes opening-fade-out {
  to { opacity: 0; }
}

@keyframes opening-hide {
  to { visibility: hidden; }
}

@keyframes opening-hero-content {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes opening-hero-visual {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

.utility-bar {
  display: none;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
}

.utility-bar p {
  margin: 0;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(111, 44, 36, 0.1);
  background: rgba(255, 253, 250, 0.6);
  backdrop-filter: blur(12px);
}

.admin-bar .site-header {
  top: 46px;
}

.home-mobile-bar {
  position: fixed;
  z-index: 1400;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  height: 60px;
  border-bottom: 1px solid rgba(81, 63, 50, 0.18);
  background: rgba(255, 253, 249, 0.6);
  box-shadow: 0 3px 14px rgba(55, 40, 29, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  backdrop-filter: blur(14px) saturate(115%);
}

.admin-bar .home-mobile-bar {
  top: 46px;
}

.home-mobile-bar__inner,
.site-header__inner {
  display: flex;
  width: 100%;
  height: 100%;
  padding-right: env(safe-area-inset-right);
  padding-left: max(14px, env(safe-area-inset-left));
  align-items: center;
  margin-inline: 0;
}

.home-mobile-bar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.home-mobile-bar__brand img {
  width: 44px;
  max-height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(66, 19, 15, 0.1));
}

.mobile-header-actions {
  display: flex;
  height: 100%;
  margin-left: auto;
  align-items: stretch;
}

.mobile-header-access,
.mobile-header-actions .menu-toggle {
  position: static;
  display: flex;
  width: 64px;
  min-width: 64px;
  height: 100%;
  min-height: 0;
  padding: 6px 3px 5px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-left: 1px solid rgba(81, 63, 50, 0.16);
  background: rgba(255, 255, 255, 0.36);
  color: #302823;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.mobile-header-access__icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.mobile-header-access__icon::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--green-900);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.92);
  content: "";
}

.mobile-header-access__icon::after {
  position: absolute;
  top: 11px;
  left: 8px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-right: 2px solid var(--green-900);
  border-bottom: 2px solid var(--green-900);
  background: rgba(255, 253, 249, 0.92);
  content: "";
}

.mobile-header-access__icon i {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-900);
}

.site-header__inner {
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-950);
  text-decoration: none;
}

.brand__wordmark {
  width: 62px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 4px rgba(66, 19, 15, 0.12));
}

.site-header .brand__wordmark {
  padding: 0;
  background: transparent;
}

.brand__mark,
.brand__image {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
}

.brand__image {
  object-fit: contain;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__copy small {
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.brand__copy strong {
  font-family: var(--brush);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.desktop-nav,
.header-contact {
  display: none;
}

.menu-toggle {
  position: static;
  z-index: 1300;
  display: flex;
  min-width: 62px;
  min-height: 100%;
  padding: 5px 0 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--green-950);
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  visibility: visible;
}

.menu-toggle__bars {
  display: grid;
  width: 24px;
  gap: 5px;
}

.menu-toggle__bars i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentcolor;
}

.menu-toggle__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-mobile-bar .menu-toggle {
  position: static;
  width: 64px;
  min-width: 64px;
  height: 100%;
  min-height: 0;
  color: #302823;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-mobile-bar .menu-toggle__bars {
  width: 24px;
  gap: 5px;
}

.home-mobile-bar .menu-toggle__bars i {
  height: 2px;
}

.home-mobile-bar .menu-toggle__label {
  display: block;
}

@media (max-width: 359px) {
  .home-mobile-bar__inner,
  .site-header__inner {
    padding-left: max(10px, env(safe-area-inset-left));
  }

  .home-mobile-bar__brand img,
  .site-header .brand__wordmark {
    width: 40px;
  }

  .mobile-header-access,
  .mobile-header-actions .menu-toggle,
  .home-mobile-bar .menu-toggle {
    width: 58px;
    min-width: 58px;
  }
}

/* v1.47: detailed memorial guidance and a navigation-hidden donation guide. */
.section-action-row {
  display: grid;
  width: min(100%, 620px);
  margin: 24px auto 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.section-action-row .button {
  min-width: 0;
  min-height: 52px;
  padding-inline: 14px;
  justify-content: center;
  text-align: center;
}

.hoji-guide__lead .section-action-row {
  margin-bottom: 0;
}

.hoji-type-grid p + p {
  margin-top: 0.85em;
}

.hoji-memorial-table {
  width: min(100%, 860px);
  margin: clamp(28px, 5vw, 48px) auto 0;
}

.hoji-memorial-table a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 36px rgba(70, 43, 33, 0.07);
}

.hoji-memorial-table img {
  display: block;
  width: 100%;
  height: auto;
}

.page-article .entry__content .hoji-memorial-table figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
}

.hoji-preparation__grid section {
  position: relative;
  padding-top: 56px;
}

.page-article .entry__content .hoji-preparation__place-label {
  position: absolute;
  top: 18px;
  left: 20px;
  display: inline-flex;
  min-height: 26px;
  padding: 4px 11px;
  align-items: center;
  border: 1px solid rgba(143, 58, 45, 0.3);
  border-radius: 999px;
  background: var(--warm);
  color: var(--green-900);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.page-article .entry__content .hoji-preparation ul {
  padding: 0;
  list-style: none;
}

.page-article .entry__content .hoji-preparation li {
  position: relative;
  padding-left: 1.45em;
}

.page-article .entry__content .hoji-preparation li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  content: "○";
  font-weight: 800;
}

.page-layout--ofuse-guide {
  display: block;
  grid-template-columns: minmax(0, 1fr);
}

.page-layout--ofuse-guide .page-article {
  width: min(100%, 900px);
  max-width: 900px;
  margin-inline: auto;
}

.ofuse-guide__intro,
.ofuse-guide__section,
.ofuse-guide__closing {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  background: #fff;
}

.ofuse-guide__intro {
  border-top: 3px solid var(--green-800);
  background: linear-gradient(145deg, #fffdfa, #f8efe7);
}

.ofuse-guide__section,
.ofuse-guide__closing {
  margin-top: clamp(28px, 5vw, 48px);
}

.page-article .entry__content .ofuse-guide__intro p,
.page-article .entry__content .ofuse-guide__note,
.page-article .entry__content .ofuse-guide__closing > p:first-child {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.95;
}

.page-article .entry__content .ofuse-guide__intro p + p {
  margin-top: 1em;
}

.ofuse-guide__heading {
  margin-bottom: 24px;
  text-align: center;
}

.page-article .entry__content .ofuse-guide__heading > p {
  margin: 0 0 7px;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.page-article .entry__content .ofuse-guide__heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--brush);
  font-size: clamp(29px, 5vw, 46px);
  letter-spacing: 0.08em;
}

.ofuse-guide__grid {
  display: grid;
  margin-top: clamp(24px, 4vw, 38px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ofuse-guide__grid article {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border-top: 3px solid var(--gold-light);
  background: var(--warm);
}

.page-article .entry__content .ofuse-guide__label {
  margin: 0 0 5px;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.page-article .entry__content .ofuse-guide__grid h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.35;
}

.page-article .entry__content .ofuse-guide__grid article > p:last-child {
  margin: 0;
  line-height: 1.75;
}

@media (max-width: 759px) {
  .section-action-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .section-action-row .button {
    min-height: 48px;
    font-size: 12px;
  }

  .hoji-type-grid > div {
    padding: 18px;
  }

  .hoji-type-grid p {
    font-size: 12px;
    line-height: 1.65;
  }

  .hoji-memorial-table {
    width: 100%;
    margin-top: 24px;
  }

  .hoji-preparation__grid section {
    padding: 54px 16px 16px;
  }

  .page-article .entry__content .hoji-preparation__place-label {
    top: 16px;
    left: 16px;
  }

  .ofuse-guide__intro,
  .ofuse-guide__section,
  .ofuse-guide__closing {
    padding: 22px 18px;
  }

  .ofuse-guide__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .ofuse-guide__grid article {
    padding: 22px 18px;
  }
}

.admin-bar .menu-toggle {
  top: 56px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  z-index: 2000;
  inset: 0;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(30, 9, 6, 0.66);
  transition: opacity 0.22s ease;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 430px);
  height: 100%;
  padding: 26px 28px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(100%);
  background: var(--paper);
  transition: transform 0.22s ease;
}

.mobile-menu__panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--gold-light), var(--green-700));
  content: "";
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__logo {
  width: 132px;
  height: auto;
  padding: 0;
  background: transparent;
}

.mobile-menu__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mobile-menu__heading p {
  display: flex;
  margin: 0;
  flex-direction: column;
  line-height: 1.2;
}

.mobile-menu__heading small {
  margin-bottom: 5px;
  font-size: 10px;
}

.mobile-menu__heading strong {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.16em;
}

.mobile-menu__close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.mobile-menu__list {
  padding: 18px 0 22px;
  margin: 0;
  list-style: none;
}

.mobile-menu__list a {
  display: grid;
  min-height: 58px;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu__list a::after {
  content: "→";
  color: var(--gold);
}

.mobile-menu__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-menu__actions .button {
  min-height: 60px;
  padding-inline: 10px;
  font-size: 11px;
}

.section {
  padding-block: 76px;
}

.section--warm {
  background: var(--warm);
}

.section--dark {
  background: var(--green-950);
  color: var(--white);
}

.section--dark .eyebrow {
  color: var(--gold-light);
}

.eyebrow {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentcolor;
  content: "";
}

.section-heading h2,
.first-steps h2,
.story h2,
.access h2,
.contact-band h2 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(29px, 8vw, 42px);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: 0.06em;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button--solid {
  background: var(--green-800);
  color: var(--white);
}

.button--solid:hover {
  background: var(--green-950);
}

.button--line {
  background: #07b53b;
  color: var(--white);
}

.button--outline {
  border-color: var(--green-800);
  background: transparent;
  color: var(--green-800);
}

.button--outline:hover,
.button--ghost:hover {
  background: var(--green-800);
  color: var(--white);
}

.button--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--large {
  min-height: 60px;
  padding-inline: 24px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  padding-bottom: 5px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid currentcolor;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  color: var(--gold);
}

.text-link--light {
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

.hero__visual {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #171614;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 2.2s ease-in-out, transform 8.5s ease-out;
  will-change: opacity, transform;
}

.hero__image-wrap.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__image-wrap,
.hero__image-wrap picture,
.hero__image-wrap img {
  width: 100%;
  height: 100%;
}

.hero__image-wrap picture {
  display: block;
}

.hero__image-wrap img {
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 12, 9, 0.2), transparent 34%),
    linear-gradient(0deg, rgba(17, 12, 9, 0.3), transparent 48%);
  pointer-events: none;
}

.hero__brand-stage {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  padding: clamp(84px, 12vh, 120px) 24px 24px;
  place-items: start center;
  pointer-events: none;
}

.hero__brand-stage img {
  width: min(39.45vw, 386.25px);
  height: auto;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  filter: drop-shadow(0 10px 30px rgba(18, 12, 9, 0.18));
  transform: translateY(54px);
}

@media (max-width: 759px) {
  .hero__visual {
    height: 80svh;
    min-height: 500px;
  }

  .hero__brand-stage img {
    transform: translateY(calc(54px - 10%));
  }

  .hero__image-wrap--primary img {
    transform: translateY(2.5%) scale(1.05);
  }
}

.facts {
  position: relative;
  z-index: 3;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green-800);
  color: var(--white);
}

.fact {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 18px 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fact + .fact::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.fact strong {
  color: #e3c88e;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.fact strong small {
  margin-left: 2px;
  font-size: 10px;
}

.fact span {
  margin-top: 7px;
  font-size: 8px;
  line-height: 1.55;
}

.welcome__grid {
  display: grid;
  gap: 30px;
}

.welcome__copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.15;
}

.welcome__copy .text-link {
  margin-top: 8px;
}

.greeting {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(192, 153, 83, 0.1), transparent 28%),
    repeating-linear-gradient(0deg, rgba(111, 88, 61, 0.018) 0, rgba(111, 88, 61, 0.018) 1px, transparent 1px, transparent 5px),
    #fbf7ef;
}

.greeting__frame {
  position: relative;
  display: grid;
  padding-block: 34px;
  gap: 34px;
  border-top: 1px solid rgba(143, 109, 50, 0.3);
  border-bottom: 1px solid rgba(143, 109, 50, 0.3);
}

.greeting__heading {
  position: relative;
  text-align: center;
}

.greeting__heading h2 {
  margin: 0;
  color: #302823;
  font-family: var(--brush);
  font-size: clamp(34px, 8vw, 46px);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.greeting__heading h2::after {
  display: block;
  width: 1px;
  height: 44px;
  margin: 20px auto 0;
  background: linear-gradient(var(--gold), transparent);
  content: "";
}

.greeting__copy {
  max-width: 720px;
  margin-inline: auto;
}

.greeting__copy p {
  margin: 0 0 20px;
  color: #584c44;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.35;
  text-align: justify;
}

.greeting__copy .text-link {
  margin-top: 8px;
}

.temple-words {
  border-top: 1px solid rgba(143, 109, 50, 0.16);
  border-bottom: 1px solid rgba(143, 109, 50, 0.16);
  background: #eee5d8;
}

.temple-words__heading {
  margin-bottom: 34px;
  text-align: center;
}

.memorial-guide__heading > p:first-child {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.25em;
}

.temple-words__heading h2 {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #241d19;
  font-family: var(--brush);
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.temple-words__heading h2::before,
.temple-words__heading h2::after {
  width: clamp(22px, 8vw, 54px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  content: "";
}

.temple-words__heading h2::after {
  transform: rotate(180deg);
}

.services .section-heading h2,
.faq .section-heading h2,
.contact-band h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-wrap: balance;
}

.services .section-heading h2::after,
.faq .section-heading h2::after,
.contact-band h2::after {
  display: block;
  width: 44px;
  height: 2px;
  margin: 14px 0 0;
  background: var(--gold);
  content: "";
}

.services .section-heading h2::after {
  margin-inline: auto;
}

.contact-band h2::after {
  background: var(--gold-light);
}

.temple-words__source {
  max-width: 760px;
  margin: 12px auto 0;
  color: #6d625a;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: right;
}

.memorial-guide__heading h2 {
  margin: 0;
  color: #302823;
  font-family: var(--serif);
  font-size: clamp(28px, 7.8vw, 42px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.12em;
}

.temple-words__track {
  display: flex;
  padding: 4px 2px 18px;
  overflow-x: auto;
  gap: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(143, 109, 50, 0.45) transparent;
}

.temple-words__card {
  min-width: 0;
  margin: 0;
  flex: 0 0 82%;
  border: 1px solid rgba(143, 109, 50, 0.22);
  background: #fff;
  box-shadow: 0 12px 34px rgba(71, 50, 33, 0.08);
  scroll-snap-align: center;
}

.temple-words__card img {
  width: 100%;
  height: auto;
}

.temple-words__hint,
.memorial-guide__hint {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.08em;
}

.memorial-guide {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 45%),
    #f2eadf;
}

.memorial-guide--inline {
  padding-top: 48px;
  margin-top: 48px;
  border-top: 1px solid rgba(143, 109, 50, 0.22);
  background: transparent;
}

.memorial-guide__inner {
  display: grid;
  gap: 32px;
}

.memorial-guide__heading > p:last-child {
  margin: 22px 0 0;
  color: #675950;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.15;
}

.memorial-guide__scroll {
  overflow: hidden;
  border: 1px solid rgba(111, 44, 36, 0.2);
  background: #fff;
  box-shadow: var(--shadow);
  scrollbar-color: rgba(143, 109, 50, 0.45) transparent;
}

.memorial-guide__scroll:focus-visible {
  outline-offset: 4px;
}

.memorial-guide__scroll a {
  display: block;
  width: 100%;
}

.memorial-guide__scroll img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.memorial-guide__content > .button {
  width: 100%;
  margin-top: 22px;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.service-grid {
  display: grid;
  margin-top: 28px;
  gap: 16px;
}

.service-card {
  position: relative;
  padding: 30px 26px;
  overflow: hidden;
  border: 1px solid rgba(70, 25, 19, 0.12);
  background: var(--paper);
}

.service-card--featured {
  padding: 0;
}

.service-card__visual {
  position: relative;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e9dfd2;
}

.service-card__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 24, 22, 0.18), transparent 48%);
  content: "";
}

.service-card__visual picture,
.service-card__visual img {
  width: 100%;
  height: 100%;
}

.service-card__visual picture {
  display: block;
}

.service-card__visual img {
  object-fit: contain;
  object-position: center;
}

.service-card__visual span {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 18px;
  padding: 6px 12px;
  background: rgba(255, 250, 243, 0.93);
  color: var(--green-950);
  font-size: 12px;
  font-weight: 750;
}

.service-card__body {
  padding: 28px 26px 30px;
}

.service-card__number {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 0 0 16px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.07em;
}

.service-card h3 small {
  font-size: 14px;
}

.service-card > p:not(.service-card__number),
.service-card__body > p:not(.service-card__number) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.service-card .text-link {
  margin-top: 26px;
}

.service-card .button {
  width: 100%;
  margin-top: 24px;
}

.service-card__symbol {
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(143, 109, 50, 0.28);
  border-radius: 50%;
  color: rgba(143, 109, 50, 0.24);
  font-family: var(--serif);
  font-size: 34px;
}

.check-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.check-list li::before {
  position: absolute;
  top: 8px;
  left: 2px;
  color: var(--gold);
  content: "✓";
}

.check-list strong {
  color: var(--green-950);
  font-weight: 750;
}

.check-list small {
  color: #766b63;
  font-size: 0.82em;
  line-height: 1.6;
}

.first-steps__grid {
  display: grid;
  gap: 42px;
}

.first-steps__intro > p:not(.eyebrow) {
  margin: 20px 0 26px;
  color: var(--ink-soft);
  font-size: 14px;
}

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

.steps li {
  position: relative;
  display: grid;
  padding: 0 0 32px;
  grid-template-columns: 46px 1fr;
  gap: 18px;
}

.steps li:not(:last-child)::before {
  position: absolute;
  top: 46px;
  bottom: 0;
  left: 22px;
  width: 1px;
  background: var(--warm-deep);
  content: "";
}

.steps li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--paper);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
}

.steps h3 {
  margin: 3px 0 7px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.story {
  padding-block: 0;
}

.story__grid {
  width: 100%;
}

.story__image {
  position: relative;
  height: 320px;
}

.story__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--green-950));
  content: "";
}

.story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__content {
  padding: 10px 20px 78px;
}

.story h2 {
  color: var(--white);
}

.story__content > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.05;
}

.story .text-link {
  margin-top: 30px;
}

.faq__grid {
  display: grid;
  gap: 38px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  min-height: 74px;
  padding: 17px 36px 17px 0;
  align-items: center;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 4px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary,
.faq-list details > div {
  position: relative;
}

.faq-list summary span,
.faq-list details > div > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
}

.faq-list details > div {
  display: grid;
  padding: 0 8px 24px 0;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.faq-list details > div p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.mobile-only-link {
  margin-top: 24px;
}

.desktop-only-link {
  display: none;
}

.access__grid {
  display: grid;
  gap: 42px;
}

.access__details {
  margin: 28px 0 0;
}

.access__details div {
  display: grid;
  padding: 14px 0;
  grid-template-columns: 78px 1fr;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.access__details dt {
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
}

.access__details dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.access__map-link {
  display: flex;
  width: max-content;
  min-height: 44px;
  padding: 9px 15px;
  margin-top: 10px;
  font-size: 11px;
}

.access__buttons {
  display: grid;
  margin-top: 26px;
  gap: 10px;
}

.access__map {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(152, 47, 35, 0.15);
  background-color: #eadfd4;
  background-image:
    linear-gradient(35deg, transparent 47%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 255, 255, 0.72) 52%, transparent 53%),
    linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, 0.55) 47%, rgba(255, 255, 255, 0.55) 50%, transparent 51%);
  background-size: 160px 140px, 210px 170px;
}

.access__map::before {
  position: absolute;
  top: 50%;
  right: -5%;
  left: -5%;
  height: 16px;
  transform: rotate(-6deg);
  background: rgba(184, 153, 92, 0.35);
  content: "";
}

.map-pin {
  position: absolute;
  z-index: 2;
  top: 38%;
  left: 58%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 6px solid rgba(255, 255, 255, 0.72);
  border-radius: 50% 50% 50% 0;
  background: var(--green-800);
  color: var(--white);
  rotate: -45deg;
  box-shadow: var(--shadow);
}

.map-pin span {
  rotate: 45deg;
  font-family: var(--serif);
  font-size: 10px;
  white-space: nowrap;
}

.map-station,
.map-road {
  position: absolute;
  z-index: 1;
  margin: 0;
  font-size: 10px;
  font-weight: 750;
}

.map-station {
  padding: 5px 9px;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(75, 31, 22, 0.1);
}

.map-station--kintetsu {
  right: 7%;
  bottom: 17%;
}

.map-station--jr {
  bottom: 9%;
  left: 8%;
}

.map-road {
  top: 56%;
  left: 22%;
  transform: rotate(-6deg);
  color: #886d3f;
}

.updates__grid {
  display: grid;
  gap: 60px;
}

.updates__heading {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.updates__heading .eyebrow {
  margin-bottom: 8px;
}

.updates__heading h2 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
}

.updates__heading > a {
  padding-bottom: 3px;
  border-bottom: 1px solid currentcolor;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.post-list {
  border-top: 1px solid var(--line);
}

.post-row {
  position: relative;
  display: grid;
  padding: 18px 32px 18px 0;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
  gap: 5px;
  text-decoration: none;
}

.post-row time {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 10px;
}

.post-row strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.post-row > span {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  color: var(--gold);
}

.empty-posts {
  padding: 22px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.contact-band {
  position: relative;
  padding: 74px 0 80px;
  overflow: hidden;
  background: var(--green-800);
  color: var(--white);
}

.contact-band::before {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.contact-band__inner {
  position: relative;
  display: grid;
  gap: 36px;
}

.contact-band .eyebrow {
  color: var(--gold-light);
}

.contact-band h2 {
  color: var(--white);
}

.contact-band__inner > div:first-child > p:last-child {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.contact-band__actions {
  display: grid;
  gap: 10px;
}

.contact-choice {
  display: flex;
  min-height: 98px;
  padding: 17px 20px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  text-decoration: none;
}

.contact-choice small,
.contact-choice span {
  font-size: 9px;
  letter-spacing: 0.08em;
}

.contact-choice strong {
  margin: 2px 0 3px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contact-choice--phone {
  background: var(--paper);
  color: var(--green-950);
}

.contact-choice--phone strong {
  font-size: 25px;
  letter-spacing: 0.025em;
}

.contact-choice--line {
  display: grid;
  min-height: 132px;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 14px;
  border-color: rgba(6, 199, 85, 0.48);
  background: #f5fff8;
  color: #173b24;
}

.contact-choice__line-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.contact-choice--line strong {
  margin-top: 3px;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.contact-choice__line-button {
  width: min(100%, 136px);
  height: auto;
  margin-top: 9px;
}

.contact-choice__line-qr {
  display: block;
  width: 92px;
  height: 92px;
  padding: 4px;
  border-radius: 4px;
  background: #fff;
}

.site-footer {
  padding: 54px 0 calc(92px + env(safe-area-inset-bottom));
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer__grid {
  display: grid;
  gap: 42px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer .brand__wordmark {
  width: 124px;
}

.footer-brand address {
  margin-top: 24px;
  font-size: 11px;
  font-style: normal;
  line-height: 2;
}

.footer-brand address a {
  text-decoration: none;
}

.footer-nav__list {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.footer-nav__list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  text-decoration: none;
}

.site-footer__bottom {
  display: flex;
  padding-top: 32px;
  margin-top: 34px;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 10px 20px;
  font-size: 9px;
}

.site-footer__bottom p {
  margin: 0;
}

.page-main {
  min-height: 70vh;
  background: var(--paper);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 66px;
  background:
    radial-gradient(circle at 85% 20%, rgba(210, 184, 121, 0.16), transparent 30%),
    #171614;
  color: var(--white);
}

.page-hero__inner {
  display: block;
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

.page-hero h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 9vw, 56px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.page-hero p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.page-layout {
  display: grid;
  padding-block: 66px 100px;
  gap: 58px;
}

.page-article {
  min-width: 0;
}

.about-page__visual {
  margin: 0 0 42px;
  overflow: hidden;
  border: 1px solid rgba(91, 57, 39, 0.16);
  border-radius: 3px;
  background: #e9dfd2;
  box-shadow: 0 18px 50px rgba(59, 40, 30, 0.12);
}

.about-page__visual picture,
.about-page__visual img {
  display: block;
  width: 100%;
}

.about-page__visual img {
  height: auto;
  object-fit: contain;
}

.page-article .entry__content {
  font-size: 15px;
  line-height: 2.15;
}

.page-article .entry__content > *:first-child {
  margin-top: 0;
}

.page-article .entry__content h2 {
  padding-bottom: 14px;
  margin: 2.5em 0 1em;
  border-bottom: 1px solid var(--line);
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 600;
  line-height: 1.55;
}

.page-article .entry__content ul {
  padding: 20px 22px 20px 42px;
  background: var(--warm);
}

.page-lead {
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(19px, 4.8vw, 25px);
  line-height: 2;
}

.about-facts {
  display: grid;
  padding: 1px;
  margin: 36px 0 58px;
  background: rgba(111, 78, 52, 0.18);
  gap: 1px;
}

.about-facts > div {
  padding: 23px 18px;
  background: var(--paper);
  text-align: center;
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts strong {
  color: #a06f31;
  font-family: var(--serif);
  font-size: clamp(25px, 7vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.about-facts span {
  margin-top: 8px;
  color: #65584e;
  font-size: 11px;
  line-height: 1.6;
}

.about-section + .about-section {
  margin-top: 56px;
}

.page-article .entry__content details {
  border-top: 1px solid var(--line);
}

.page-article .entry__content details:last-child {
  border-bottom: 1px solid var(--line);
}

.page-article .entry__content summary {
  padding: 20px 34px 20px 0;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.page-article .entry__content details p {
  padding: 0 0 22px;
  margin: 0;
}

.page-sidebar {
  align-self: start;
  padding: 28px;
  background: #171614;
  color: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.page-sidebar > img {
  width: 86px;
  height: auto;
  margin-bottom: 22px;
}

.page-sidebar p {
  margin: 0 0 22px;
  font-size: 12px;
}

.page-sidebar__phone {
  display: flex;
  padding: 16px 0;
  margin-bottom: 14px;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  text-decoration: none;
}

.page-sidebar__phone small {
  font-size: 9px;
}

.page-sidebar__phone strong {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.page-sidebar .button {
  width: 100%;
}

.page-posts {
  margin-top: 72px;
}

.page-posts h2 {
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 28px;
}

.content-page {
  min-height: 60vh;
  padding: 64px 0 90px;
}

.content-page__inner {
  max-width: 820px;
}

.entry + .entry {
  padding-top: 42px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.entry__header h1,
.entry__header h2 {
  margin: 0 0 28px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 600;
  line-height: 1.5;
}

.entry__header a {
  text-decoration: none;
}

.entry__content {
  line-height: 2;
}

.entry__content h2,
.entry__content h3 {
  margin-top: 2em;
  font-family: var(--serif);
}

.sp-only {
  display: initial;
}

@media (max-width: 759px) {
  .section {
    padding-block: 46px;
  }

  .greeting__frame {
    padding-block: 20px;
    gap: 20px;
  }

  .greeting__heading h2 {
    font-size: clamp(30px, 9vw, 38px);
    letter-spacing: 0.14em;
  }

  .greeting__heading h2::after {
    height: 26px;
    margin-top: 12px;
  }

  .greeting__copy p {
    margin-bottom: 12px;
    line-height: 2.2;
  }

  .temple-words__heading {
    margin-bottom: 18px;
  }

  .temple-words__heading h2 {
    gap: 8px;
    font-size: clamp(27px, 8.2vw, 34px);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .temple-words__heading h2::before,
  .temple-words__heading h2::after {
    width: clamp(14px, 4vw, 22px);
    flex: 0 0 auto;
  }

  .temple-words__source {
    max-width: none;
    margin-top: 6px;
    font-size: 9px;
    line-height: 1.6;
  }

  .section-heading h2,
  .first-steps h2,
  .story h2,
  .access h2,
  .contact-band h2 {
    font-size: clamp(26px, 7.8vw, 34px);
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  .memorial-guide__heading h2 {
    font-size: clamp(27px, 7.8vw, 34px);
    letter-spacing: 0.08em;
  }

  .services .service-grid {
    margin-top: 18px;
  }

  .section-heading > p:last-child,
  .memorial-guide__heading > p:last-child,
  .story__content > p:not(.eyebrow),
  .contact-band__inner > div:first-child > p:last-child {
    margin-top: 11px;
  }

  .memorial-guide__inner {
    gap: 20px;
  }

  .memorial-guide--inline {
    padding-top: 29px;
    margin-top: 29px;
  }

  .services .section-heading h2::after,
  .faq .section-heading h2::after,
  .contact-band h2::after {
    width: 36px;
    margin-top: 10px;
  }

  .services .section-heading h2::after {
    margin-inline: auto;
  }

  .first-steps__grid {
    gap: 25px;
  }

  .first-steps__intro > p:not(.eyebrow) {
    margin-block: 12px 16px;
  }

  .faq__grid {
    gap: 23px;
  }

  .access__grid {
    gap: 25px;
  }

  .access__details {
    margin-top: 17px;
  }

  .updates__grid {
    gap: 36px;
  }

  .contact-band {
    padding-block: 45px 48px;
  }

  .contact-band__inner {
    gap: 22px;
  }

  .story__content {
    padding-bottom: 47px;
  }

  .page-hero {
    padding-block: 44px 40px;
  }

  .page-hero h1 {
    margin-top: 6px;
  }

  .page-hero p:last-child {
    margin-top: 11px;
  }

  .page-layout {
    padding-block: 40px 60px;
    gap: 35px;
  }

  .about-page__visual {
    margin-bottom: 25px;
  }

  .page-article .entry__content h2 {
    padding-bottom: 9px;
    margin-block: 1.5em 0.7em;
  }

  .about-facts {
    margin-block: 22px 35px;
  }

  .about-facts > div {
    padding-block: 14px;
  }

  .about-section + .about-section {
    margin-top: 34px;
  }

  .page-posts {
    margin-top: 43px;
  }
}

@media (hover: hover) {
  .text-link:hover,
  .post-row:hover strong,
  .desktop-nav__list a:hover,
  .footer-nav__list a:hover {
    color: var(--gold);
  }

  .contact-choice:hover {
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.12);
  }

  .contact-choice--phone:hover {
    background: #f0dfcf;
  }
}

@media (min-width: 760px) {
  :root {
    --shell: min(100% - 64px, 1160px);
  }

  .utility-bar {
    display: block;
  }

  .site-header {
    top: 0;
    height: 78px;
  }

  .admin-bar .site-header {
    top: 32px;
  }

  .admin-bar .menu-toggle {
    top: 42px;
  }

  .admin-bar .home-mobile-bar {
    top: 32px;
  }

  .home-mobile-bar .menu-toggle,
  .admin-bar .home-mobile-bar .menu-toggle {
    top: 0;
  }

  .brand__mark,
  .brand__image {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand__wordmark {
    width: 78px;
  }

  .brand__copy small {
    font-size: 10px;
  }

  .brand__copy strong {
    font-size: 24px;
  }

  .section {
    padding-block: 104px;
  }

  .page-hero {
    padding: 100px 0 86px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 286px;
    padding-block: 94px 130px;
    gap: 76px;
  }

  .about-page__visual {
    margin-bottom: 62px;
  }

  .about-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-sidebar {
    position: sticky;
    top: 82px;
  }

  .hero {
    padding: 32px 32px 0;
  }

  .hero__visual {
    height: calc(100svh - 64px);
    min-height: 680px;
  }

  .hero__brand-stage {
    padding: 54px;
  }

  .facts {
    width: min(100% - 64px, 940px);
    margin-top: -34px;
  }

  .fact {
    min-height: 116px;
    padding: 20px 22px;
    flex-direction: row;
    gap: 14px;
    text-align: left;
  }

  .fact strong {
    font-size: 29px;
  }

  .fact span {
    margin-top: 0;
    font-size: 10px;
  }

  .welcome__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 90px;
  }

  .welcome__copy p {
    font-size: 16px;
  }

  .greeting.section,
  .services.section {
    padding-block: 88px;
  }

  .greeting__frame {
    padding-block: 46px;
    align-items: center;
    grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
    gap: 65px;
  }

  .greeting__heading h2::after {
    height: 64px;
  }

  .greeting__copy p {
    font-size: 16px;
  }

  .temple-words__track {
    display: flex;
    padding-bottom: 18px;
    overflow-x: auto;
    gap: 24px;
  }

  .temple-words__card {
    width: auto;
    flex: 0 0 calc((100% - 24px) / 2);
    scroll-snap-align: start;
  }

  .temple-words__hint {
    display: block;
  }

  .memorial-guide__inner {
    align-items: start;
    grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1.54fr);
    gap: 56px;
  }

  .memorial-guide__heading {
    position: sticky;
    top: 110px;
  }

  .memorial-guide__scroll {
    overflow: visible;
  }

  .memorial-guide__scroll a {
    width: auto;
  }

  .memorial-guide__scroll img {
    width: 100%;
    max-width: 100%;
  }

  .memorial-guide__hint {
    text-align: left;
  }

  .memorial-guide__content > .button {
    width: auto;
  }

  .service-grid {
    margin-top: 34px;
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--featured {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .service-card__visual {
    height: auto;
    min-height: 440px;
  }

  .service-card__body {
    display: flex;
    padding: 46px;
    flex-direction: column;
    justify-content: center;
  }

  .service-card {
    padding: 40px 36px;
  }

  .service-card--featured {
    padding: 0;
  }

  .first-steps__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
  }

  .story {
    padding-block: 100px;
  }

  .story__grid {
    display: grid;
    width: var(--shell);
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
  }

  .story__image {
    height: 540px;
  }

  .story__image::after {
    background: linear-gradient(to right, transparent 70%, rgba(66, 19, 15, 0.35));
  }

  .story__content {
    padding: 0;
  }

  .faq__grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 100px;
  }

  .desktop-only-link {
    display: inline-flex;
    margin-top: 28px;
  }

  .mobile-only-link {
    display: none;
  }

  .access__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    gap: 70px;
  }

  .access__map {
    min-height: 560px;
  }

  .access__buttons {
    grid-template-columns: max-content;
  }

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

  .contact-band__inner {
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 70px;
  }

  .contact-band__actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-choice--phone {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding: 70px 0 34px;
  }

  .site-footer__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
  }

  .footer-nav__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
  }

  .sp-only {
    display: none;
  }
}

@media (min-width: 1080px) {
  .utility-bar,
  .site-header,
  .home-mobile-bar {
    display: none;
  }

  .site-header {
    position: relative;
    top: auto;
    height: auto;
  }

  .admin-bar .site-header {
    top: auto;
  }

  .site-header__inner {
    height: 76px;
  }

  .brand__wordmark {
    width: 70px;
  }

  .menu-toggle {
    display: none;
  }

  .hero__brand-stage {
    padding: clamp(84px, 10vh, 130px) 54px 54px;
    place-items: start center;
  }

  .hero__brand-stage img {
    width: min(23.925vw, 234px);
    transform: translateY(83px);
  }

  .desktop-nav {
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    margin: 0;
    transform: translateY(-110%);
    opacity: 0;
    border-top: 2px solid rgba(213, 178, 111, 0.72);
    border-bottom: 1px solid rgba(0, 0, 0, 0.34);
    background: rgba(23, 22, 20, 0.97);
    box-shadow: 0 9px 28px rgba(28, 22, 18, 0.22);
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.2, 0.72, 0.22, 1), opacity 0.24s ease;
    backdrop-filter: blur(14px);
  }

  .admin-bar .desktop-nav {
    top: 32px;
  }

  .desktop-nav.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .desktop-nav__inner {
    display: grid;
    width: min(100% - 40px, 1334px);
    height: 74px;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: stretch;
  }

  .desktop-nav__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .desktop-nav__brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
  }

  .desktop-nav__list {
    display: grid;
    width: 100%;
    height: 74px;
    padding: 0;
    margin: 0;
    grid-template-columns: 1.2fr 1.3fr 1.65fr 0.85fr 0.55fr 1.3fr 0.75fr 0.8fr;
    align-items: center;
    list-style: none;
  }

  .desktop-nav__list li {
    position: relative;
    min-width: 0;
  }

  .desktop-nav__list li + li::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 18px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.14);
    content: "";
  }

  .desktop-nav__list a {
    display: flex;
    min-height: 74px;
    padding: 0 clamp(8px, 1.15vw, 16px);
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--serif);
    font-size: clamp(15px, 1.5vw, 17px);
    font-weight: 600;
    letter-spacing: 0.025em;
    text-decoration: none;
    white-space: nowrap;
  }

  .desktop-nav__list a:hover,
  .desktop-nav__list a:focus-visible {
    color: var(--gold-light);
  }

  .temple-words__card {
    flex-basis: calc((100% - 48px) / 3);
  }

  .header-contact {
    display: flex;
    min-height: 44px;
    padding: 10px 20px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    background: var(--green-800);
    color: var(--white);
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band__actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-choice--phone {
    grid-column: auto;
  }
}

/* v1.42: dedicated eternal-interment page, document downloads and cemetery section. */
.page-hero--eitaikuyo .page-hero__kicker {
  max-width: min(92vw, 620px);
  justify-content: center;
  line-height: 1.65;
  letter-spacing: 0.08em;
}

.page-hero--eitaikuyo .page-hero__kicker::before,
.page-hero--eitaikuyo .page-hero__kicker::after {
  display: none;
}

.page-hero--eitaikuyo p.page-hero__description {
  max-width: 760px;
  color: #4c3e34;
  font-family: var(--serif);
  font-size: clamp(14px, 3.6vw, 19px);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.035em;
}

.eitaikuyo-main-visual,
.eitaikuyo-photo-pair figure,
.cemetery-section__gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
}

.eitaikuyo-main-visual {
  border: 1px solid rgba(111, 44, 36, 0.12);
  background: #e7ddd0;
  box-shadow: 0 18px 48px rgba(59, 40, 30, 0.11);
}

.eitaikuyo-main-visual picture,
.eitaikuyo-main-visual img,
.eitaikuyo-photo-pair img,
.cemetery-section__gallery img {
  display: block;
  width: 100%;
}

.eitaikuyo-main-visual img {
  height: auto;
}

.eitaikuyo-intro__copy {
  margin-top: clamp(24px, 5vw, 42px);
}

.eitaikuyo-intro__copy p {
  margin-bottom: 1.45em;
  color: #403833;
  font-family: var(--serif);
  font-size: clamp(15px, 3.7vw, 18px);
  line-height: 1.9;
}

.eitaikuyo-photo-pair {
  display: grid;
  margin-top: 25px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.eitaikuyo-photo-pair figure {
  position: relative;
  background: #ddd5ca;
}

.eitaikuyo-photo-pair img,
.cemetery-section__gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.eitaikuyo-photo-pair figcaption,
.cemetery-section__gallery figcaption {
  padding: 8px 9px 9px;
  font-family: var(--serif);
  font-size: 9px;
  line-height: 1.45;
}

.eitaikuyo-photo-pair figcaption {
  min-height: 40px;
  background: #f4ede5;
  color: #62564e;
}

.eitaikuyo-section {
  margin-top: clamp(54px, 8vw, 82px);
}

.page-article .entry__content .eitaikuyo-section > h2,
.page-article .entry__content .cemetery-section h2 {
  margin-top: 0;
}

.eitaikuyo-fee-grid {
  display: grid;
  gap: 12px;
}

.eitaikuyo-fee-grid > div {
  padding: 21px 20px;
  border: 1px solid rgba(143, 109, 50, 0.2);
  background: rgba(251, 246, 239, 0.84);
}

.page-article .entry__content .eitaikuyo-fee-grid h3 {
  margin-top: 0;
  color: #6f2c24;
}

.eitaikuyo-steps,
.page-article .entry__content .eitaikuyo-steps {
  display: grid;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  counter-reset: eitaikuyo-step;
  gap: 18px;
  list-style: none;
}

.eitaikuyo-steps li {
  position: relative;
  min-height: 112px;
  padding: 21px 20px 20px 76px;
  border: 1px solid rgba(111, 44, 36, 0.13);
  background: #fffaf4;
  box-shadow: 0 10px 26px rgba(73, 48, 35, 0.055);
  counter-increment: eitaikuyo-step;
}

.eitaikuyo-steps li::before {
  position: absolute;
  top: 20px;
  left: 19px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #6f2c24;
  color: #fff;
  content: counter(eitaikuyo-step);
  font-family: var(--serif);
  font-size: 17px;
}

.page-article .entry__content .eitaikuyo-steps h3 {
  margin: 0 0 5px;
  color: var(--green-950);
  font-size: 18px;
  line-height: 1.45;
}

.eitaikuyo-steps p,
.eitaikuyo-documents p,
.cemetery-section__copy p {
  margin: 0;
}

.eitaikuyo-documents {
  padding: clamp(22px, 4vw, 34px);
  margin-top: 28px;
  border: 1px solid rgba(143, 109, 50, 0.24);
  background:
    linear-gradient(rgba(248, 241, 233, 0.94), rgba(248, 241, 233, 0.94)),
    repeating-linear-gradient(90deg, rgba(111, 44, 36, 0.035) 0 1px, transparent 1px 7px);
}

.page-article .entry__content .eitaikuyo-documents__copy h3 {
  margin-top: 0;
  color: var(--green-950);
}

.eitaikuyo-document-grid {
  display: grid;
  margin-top: 18px;
  gap: 10px;
}

.eitaikuyo-document {
  display: grid;
  min-height: 132px;
  padding: 16px 18px;
  border: 1px solid rgba(111, 44, 36, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-950);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.eitaikuyo-document span,
.eitaikuyo-document small {
  color: #77685f;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.eitaikuyo-document strong {
  align-self: center;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

.eitaikuyo-document small {
  align-self: end;
  color: #8f473c;
  font-weight: 700;
}

.eitaikuyo-meaning {
  padding: clamp(25px, 5vw, 42px);
  border: 1px solid rgba(143, 109, 50, 0.25);
  border-left: 4px solid #a77c3a;
  background: #f5efe6;
}

.eitaikuyo-meaning p {
  margin-bottom: 1.35em;
  font-family: var(--serif);
}

.eitaikuyo-meaning p:last-child {
  margin-bottom: 0;
}

.cemetery-section {
  padding: clamp(25px, 5vw, 44px);
  margin-top: clamp(76px, 11vw, 116px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 92% 4%, rgba(210, 184, 121, 0.16), transparent 28%),
    #292a27;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(42, 33, 27, 0.16);
}

.cemetery-section__heading > p {
  margin: 0 0 4px;
  color: #d2b879;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.page-article .entry__content .cemetery-section h2 {
  color: #fff;
}

.cemetery-section__gallery {
  display: grid;
  margin: 22px 0 25px;
  gap: 12px;
}

.cemetery-section__gallery figure {
  background: #1f211f;
}

.cemetery-section__gallery figcaption {
  color: rgba(255, 255, 255, 0.68);
}

.page-article .entry__content .cemetery-section__copy ul {
  margin-block: 20px;
  border-left-color: #d2b879;
  background: rgba(255, 255, 255, 0.07);
}

@media (hover: hover) {
  .eitaikuyo-document:hover {
    border-color: #a77c3a;
    box-shadow: 0 12px 26px rgba(73, 48, 35, 0.1);
    transform: translateY(-2px);
  }
}

@media (min-width: 760px) {
  .page-layout--eitaikuyo {
    grid-template-columns: minmax(0, 1fr);
  }

  .eitaikuyo-photo-pair {
    gap: 16px;
  }

  .eitaikuyo-photo-pair figcaption {
    min-height: 0;
    font-size: 10px;
  }

  .eitaikuyo-fee-grid,
  .eitaikuyo-document-grid,
  .cemetery-section__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eitaikuyo-steps li {
    padding: 26px 28px 25px 92px;
  }

  .eitaikuyo-steps li::before {
    top: 25px;
    left: 27px;
    width: 48px;
    height: 48px;
    font-size: 19px;
  }

  .eitaikuyo-document strong {
    font-size: 18px;
  }
}

@media (max-width: 759px) {
  .page-hero--eitaikuyo .page-hero__kicker {
    font-size: 9px;
  }

  .page-hero--eitaikuyo p.page-hero__description {
    max-width: 94%;
    font-size: 13px;
    line-height: 1.65;
  }

  .eitaikuyo-intro__copy p {
    font-size: 14px;
    line-height: 1.7;
  }

  .eitaikuyo-photo-pair {
    margin-inline: -4px;
  }

  .eitaikuyo-steps li {
    padding-left: 70px;
  }

  .cemetery-section {
    padding-inline: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .opening {
    display: none;
  }

  body.home .hero__brand-stage,
  html:not(.has-seen-opening) body.home .hero__visual {
    animation: none;
  }
}

/* Lower pages: the same warm, restrained visual language as the front page. */
.page-main {
  background:
    linear-gradient(rgba(255, 253, 250, 0.94), rgba(255, 253, 250, 0.94)),
    repeating-linear-gradient(90deg, rgba(111, 44, 36, 0.025) 0 1px, transparent 1px 7px);
}

.page-hero {
  position: relative;
  isolation: isolate;
  padding: 52px 0 48px;
  border-bottom: 1px solid rgba(143, 109, 50, 0.2);
  background:
    radial-gradient(circle at 86% 8%, rgba(210, 184, 121, 0.28), transparent 32%),
    linear-gradient(135deg, #fffdfa 0%, #f7eee4 100%);
  color: var(--ink);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: clamp(20px, 7vw, 120px);
  width: 1px;
  height: 100%;
  background: rgba(143, 109, 50, 0.16);
  content: "";
}

.page-hero__inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.page-hero__kicker {
  display: inline-flex;
  margin: 0 0 10px;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.page-hero__kicker::before,
.page-hero__kicker::after {
  width: 22px;
  height: 1px;
  background: currentcolor;
  content: "";
}

.page-hero h1 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--brush);
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0.1em;
}

.page-hero p.page-hero__description {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.page-layout {
  display: grid;
  padding-block: 42px 66px;
  gap: 36px;
}

.page-article {
  padding: clamp(22px, 6vw, 56px);
  border: 1px solid rgba(111, 44, 36, 0.11);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 48px rgba(86, 54, 38, 0.07);
}

.page-article .entry__content {
  color: #4a403a;
  font-size: 14px;
  line-height: 2.15;
}

.page-article .entry__content h2,
.page-posts h2 {
  position: relative;
  padding: 0 0 13px;
  margin: 2em 0 0.85em;
  border: 0;
  color: var(--green-950);
  font-family: var(--brush);
  font-size: clamp(23px, 6.4vw, 32px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.page-article .entry__content h2::after,
.page-posts h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-800), var(--gold-light));
  content: "";
}

.page-article .entry__content h3 {
  margin: 1.7em 0 0.55em;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
}

.page-article .entry__content ul,
.page-article .entry__content ol {
  padding: 19px 20px 19px 38px;
  border-left: 3px solid rgba(168, 74, 58, 0.45);
  background: rgba(248, 241, 233, 0.82);
}

.page-lead {
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(18px, 4.8vw, 24px);
  line-height: 1.95;
}

.about-page__visual {
  margin-bottom: 28px;
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(59, 40, 30, 0.1);
}

.page-sidebar {
  align-self: start;
  padding: 28px 24px;
  border: 1px solid rgba(143, 109, 50, 0.24);
  background:
    linear-gradient(rgba(255, 253, 250, 0.94), rgba(255, 253, 250, 0.94)),
    var(--warm);
  color: var(--ink-soft);
  box-shadow: 0 14px 38px rgba(72, 44, 31, 0.08);
}

.page-sidebar__eyebrow {
  margin: 0 0 9px !important;
  color: var(--gold) !important;
  font-family: var(--serif);
  font-size: 10px !important;
  letter-spacing: 0.14em;
}

.page-sidebar h2 {
  margin: 0 0 16px;
  color: var(--green-950);
  font-family: var(--brush);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.page-sidebar > p:not(.page-sidebar__eyebrow) {
  margin-bottom: 18px;
  font-size: 11px;
  line-height: 1.9;
}

.page-sidebar__phone {
  border-color: rgba(111, 44, 36, 0.16);
  color: var(--green-950);
}

.page-sidebar__line {
  display: block;
  margin-top: 12px;
  border: 1px solid rgba(6, 199, 85, 0.22);
  border-radius: 4px;
  background: #fff;
}

.page-sidebar__line img {
  width: 100%;
}

.page-posts {
  margin-top: 48px;
}

.page-posts__heading > p {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.page-posts__heading h2 {
  margin-top: 4px;
}

.houwa-grid {
  display: grid;
  margin-top: 24px;
  gap: 16px;
}

.houwa-card {
  display: flex;
  min-width: 0;
  padding: 23px 20px;
  flex-direction: column;
  border: 1px solid rgba(111, 44, 36, 0.12);
  background: var(--paper);
}

.houwa-card time,
.single-hero__date {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.houwa-card h3 {
  margin: 7px 0 9px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.houwa-card h3 a {
  text-decoration: none;
}

.houwa-card > p {
  display: -webkit-box;
  margin: 0 0 13px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.houwa-card .text-link {
  margin-top: auto;
  font-size: 11px;
}

.single-hero h1 {
  letter-spacing: 0.055em;
}

.single-hero__date {
  display: block;
  margin-top: 12px;
}

.single-article .entry__content {
  font-family: var(--serif);
  font-size: clamp(15px, 4.2vw, 18px);
  line-height: 2.25;
}

.single-article .entry__content p {
  margin: 0 0 1.65em;
}

.single-article__back {
  padding-top: 25px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

@media (max-width: 759px) {
  .page-hero {
    padding-block: 38px 34px;
  }

  .page-hero p.page-hero__description {
    max-width: 92%;
    margin-top: 10px;
  }

  .page-layout {
    padding-block: 30px 50px;
    gap: 28px;
  }

  .page-article {
    padding: 22px 18px;
  }

  .page-article .entry__content h2 {
    margin-top: 1.55em;
  }

  .about-facts {
    margin-block: 22px 30px;
  }

  .about-section + .about-section {
    margin-top: 30px;
  }

  .page-posts {
    margin-top: 34px;
  }
}

@media (min-width: 760px) {
  .page-hero {
    padding: 72px 0 66px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 286px;
    padding-block: 70px 100px;
    gap: 58px;
  }

  .page-sidebar {
    position: sticky;
    top: 92px;
  }

  .houwa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Balanced mobile header actions. */
.home-mobile-bar__brand img,
.site-header .brand__wordmark {
  width: 42px;
  max-width: 42px;
  max-height: 42px;
}

.mobile-header-actions {
  flex: 0 0 auto;
}

.mobile-header-access,
.mobile-header-actions .menu-toggle,
.home-mobile-bar .menu-toggle {
  width: 62px;
  min-width: 62px;
  padding: 5px 2px 4px;
  gap: 4px;
}

.mobile-header-access {
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.mobile-header-access__icon {
  width: 21px;
  height: 21px;
}

.mobile-header-access__icon::before {
  top: 0;
  left: 2px;
  width: 17px;
  height: 17px;
}

.mobile-header-access__icon::after {
  top: 10px;
  left: 8px;
  width: 7px;
  height: 7px;
}

.mobile-header-access__icon i {
  top: 6px;
  left: 9px;
  width: 3px;
  height: 3px;
}

.home-mobile-bar .menu-toggle__bars,
.site-header .menu-toggle__bars {
  width: 22px;
  gap: 4px;
}

.home-mobile-bar .menu-toggle__bars i,
.site-header .menu-toggle__bars i {
  height: 2px;
}

.home-mobile-bar .menu-toggle__label,
.site-header .menu-toggle__label {
  font-size: 9px;
  letter-spacing: 0.04em;
}

/* Stable LINE cards: one layout for the front page, one for narrow sidebars. */
.line-contact {
  display: grid;
  min-width: 0;
  padding: 20px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(6, 199, 85, 0.42);
  border-radius: 3px;
  background: rgba(248, 255, 250, 0.96);
  color: #173b24;
  text-decoration: none;
}

.line-contact__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.line-contact__copy small {
  color: #238448;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.line-contact__copy strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.line-contact__copy p {
  margin: 5px 0 10px;
  color: #52705d;
  font-size: 10px;
  line-height: 1.65;
}

.line-contact__button {
  width: min(100%, 150px);
  height: auto;
}

.line-contact__qr-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.line-contact__qr {
  width: 96px;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.line-contact__qr-wrap span {
  color: #52705d;
  font-size: 8px;
  line-height: 1.3;
  text-align: center;
}

.page-line-card {
  display: grid;
  padding: 15px;
  margin-top: 12px;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(6, 199, 85, 0.26);
  border-radius: 3px;
  background: #f5fff8;
  color: #173b24;
  text-decoration: none;
}

.page-line-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.page-line-card small {
  color: #238448;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.page-line-card strong {
  margin: 1px 0 7px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
}

.page-line-card > div img {
  width: min(100%, 118px);
  height: auto;
}

.page-line-card__qr {
  width: 76px;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.contact-page-line {
  display: grid;
  padding: 22px;
  margin-top: 34px;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(6, 199, 85, 0.3);
  border-radius: 3px;
  background: #f5fff8;
  color: #173b24;
  text-decoration: none;
}

.contact-page-line__copy {
  min-width: 0;
}

.contact-page-line__copy p {
  margin: 0;
  color: #238448;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.contact-page-line__copy h2 {
  margin: 2px 0 5px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
}

.contact-page-line__copy span {
  display: block;
  margin-bottom: 11px;
  color: #52705d;
  font-size: 9px;
  line-height: 1.7;
}

.contact-page-line__copy img {
  width: min(100%, 145px);
  height: auto;
}

.contact-page-line__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.contact-page-line__qr-wrap img {
  width: 100px;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.contact-page-line__qr-wrap small {
  color: #52705d;
  font-size: 7px;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 359px) {
  .mobile-header-access,
  .mobile-header-actions .menu-toggle,
  .home-mobile-bar .menu-toggle {
    width: 56px;
    min-width: 56px;
  }

  .line-contact {
    padding: 16px;
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 10px;
  }

  .line-contact__qr {
    width: 82px;
  }

  .contact-page-line {
    padding: 17px;
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 11px;
  }

  .contact-page-line__qr-wrap img {
    width: 82px;
  }
}

@media (min-width: 760px) {
  .contact-band__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-choice--phone {
    grid-column: auto;
  }

  .line-contact {
    min-height: 184px;
    padding: 24px 28px;
    grid-template-columns: minmax(0, 1fr) 144px;
    gap: 28px;
  }

  .line-contact__copy strong {
    font-size: 24px;
  }

  .line-contact__copy p {
    font-size: 11px;
  }

  .line-contact__button {
    width: 166px;
  }

  .line-contact__qr {
    width: 140px;
  }

  .contact-page-line {
    padding: 30px 34px;
    grid-template-columns: minmax(0, 1fr) 156px;
    gap: 32px;
  }

  .contact-page-line__copy h2 {
    font-size: 28px;
  }

  .contact-page-line__copy img {
    width: 170px;
  }

  .contact-page-line__qr-wrap img {
    width: 150px;
  }
}

@media (min-width: 1080px) {
  .desktop-nav__list {
    grid-template-columns: 1.18fr 1.32fr 1.62fr 0.84fr 0.52fr 1.25fr 0.72fr 0.95fr;
  }

  .contact-band__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* v1.38: cleaner access, contact and content-page presentation. */
.mobile-header-access__image {
  display: block;
  width: 48px;
  height: 36px;
  margin: -7px 0 -4px;
  object-fit: contain;
}

.temple-words__source {
  max-width: none;
  margin: 8px 0 0;
  color: #746960;
  font-size: 9px;
  line-height: 1.7;
  text-align: left;
}

.access__grid {
  display: block;
  max-width: 900px;
}

.access__content {
  max-width: 860px;
  margin-inline: auto;
}

.access__heading-mark {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 4px;
}

.access__heading-mark img {
  width: 68px;
  height: 51px;
  margin-left: -17px;
  object-fit: contain;
}

.access__heading-mark .eyebrow {
  margin: 0;
}

.contact-band__inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.contact-band__heading {
  display: grid;
  gap: 15px;
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(22px, 7vw, 42px);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.contact-band__heading > p,
.contact-band__inner > div:first-child > p:last-child {
  max-width: 760px;
  padding-left: 14px;
  margin: 0;
  border-left: 1px solid rgba(219, 187, 118, 0.75);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.contact-choice--email strong {
  font-family: var(--sans);
  font-size: clamp(14px, 4vw, 20px);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-layout,
.single-layout {
  display: block;
  max-width: 980px;
}

.page-article {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 760px) {
  .access__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 34px;
  }

  .access__details div {
    grid-template-columns: 86px 1fr;
  }

  .contact-band__heading {
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 30px;
  }

  .contact-band h2::after {
    margin-top: 10px;
  }
}

@media (max-width: 759px) {
  .temple-words__source {
    padding-inline: 2px;
  }

  .access__heading-mark img {
    width: 61px;
    height: 46px;
  }

  .contact-band__heading > p,
  .contact-band__inner > div:first-child > p:last-child {
    font-size: 10px;
  }
}

/* v1.39: compact reading rhythm and balanced mobile header controls. */
body {
  line-height: 1.55;
}

body p,
body li,
body dd {
  line-height: 1.55 !important;
}

.mobile-header-actions {
  --mobile-action-width: 62px;
}

.mobile-header-access,
.mobile-header-actions .menu-toggle,
.home-mobile-bar .menu-toggle {
  width: var(--mobile-action-width);
  min-width: var(--mobile-action-width);
}

.mobile-header-access__image {
  width: 34px;
  height: 25px;
  margin: -3px 0 -1px;
}

.mobile-header-access > span:last-child {
  font-size: 7px;
  letter-spacing: 0;
}

@media (max-width: 759px) {
  .page-article .entry__content,
  .single-article .entry__content {
    line-height: 1.55;
  }

  .page-article .entry__content h2,
  .page-article .entry__content h3,
  .section-heading h2,
  .greeting__heading h2,
  .updates__heading h2 {
    line-height: 1.3;
  }

  .page-hero--question-form {
    padding-block: 28px 24px;
  }

  .page-hero--question-form h1 {
    line-height: 1.2;
  }

  .page-hero--question-form .page-hero__description {
    margin-top: 8px;
    line-height: 1.4 !important;
  }

  .page-layout--question-form {
    padding-block: 20px 36px;
  }

  .page-layout--question-form .page-article {
    padding: 17px 18px;
  }

  .page-layout--question-form .entry__content {
    font-size: 13px;
    line-height: 1.4;
  }

  .page-layout--question-form .entry__content p,
  .page-layout--question-form .entry__content li,
  .page-layout--question-form .entry__content dd {
    margin-block: 0.45em;
    line-height: 1.4 !important;
  }

  .page-layout--question-form .entry__content h2 {
    padding-bottom: 7px;
    margin: 1em 0 0.38em;
    line-height: 1.25;
  }

  .page-layout--question-form .contact-page-line {
    padding: 14px;
    margin-top: 18px;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 11px;
  }

  .page-layout--question-form .contact-page-line__copy h2 {
    margin-block: 1px 3px;
    line-height: 1.2;
  }

  .page-layout--question-form .contact-page-line__copy span {
    margin-bottom: 7px;
    line-height: 1.35;
  }

  .page-layout--question-form .contact-page-line__copy img {
    width: min(100%, 108px);
  }

  .page-layout--question-form .contact-page-line__qr-wrap img {
    width: 74px;
  }
}

@media (max-width: 359px) {
  .mobile-header-actions {
    --mobile-action-width: 56px;
  }
}

/* v1.40: history imagery and unified contact-channel order. */
.about-facts {
  display: none !important;
}

.about-page__visual {
  overflow: hidden;
}

.about-page__visual img,
.about-history-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.about-history-figure {
  margin: 24px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(111, 44, 36, 0.11);
  border-radius: 3px;
  background: #f3ede4;
  box-shadow: 0 14px 38px rgba(72, 44, 31, 0.08);
}

.about-history-figure--newspaper {
  max-width: 620px;
  margin-inline: auto;
  padding: 12px;
}

.about-history-figure a {
  display: block;
}

.about-history-figure figcaption {
  padding: 10px 13px 12px;
  color: #6d625a;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.5;
  text-align: left;
}

.about-renewal__step + .about-renewal__step {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid rgba(143, 109, 50, 0.2);
}

.page-article .entry__content .about-renewal__step h3 {
  margin-top: 18px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(18px, 4.8vw, 24px);
  font-weight: 600;
}

.memorial-guide__hint {
  margin-top: 7px;
  margin-bottom: 0;
}

.contact-choice--phone {
  order: 1;
}

.line-contact {
  order: 2;
}

.contact-choice--email {
  order: 3;
}

.contact-page-channels {
  display: grid;
  margin-top: 22px;
  gap: 12px;
}

.contact-page-choice {
  display: flex;
  min-height: 100px;
  padding: 18px 20px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(111, 44, 36, 0.15);
  border-radius: 3px;
  background: #fffaf3;
  color: var(--green-950);
  text-decoration: none;
}

.contact-page-choice small,
.contact-page-choice span {
  color: #776960;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.contact-page-choice strong {
  margin: 3px 0;
  font-family: var(--serif);
  font-size: clamp(18px, 5vw, 25px);
  font-weight: 600;
}

.contact-page-choice--email strong {
  font-family: var(--sans);
  font-size: clamp(13px, 4vw, 19px);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.contact-page-channels .contact-page-line {
  margin-top: 0;
}

@media (min-width: 760px) {
  .contact-band__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-choice--phone,
  .line-contact {
    grid-column: auto;
  }

  .contact-choice--email {
    grid-column: 1 / -1;
  }

  .contact-page-channels {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .contact-page-choice--phone,
  .contact-page-line {
    grid-column: auto;
  }

  .contact-page-choice--email {
    grid-column: 1 / -1;
  }
}

@media (max-width: 759px) {
  .about-history-figure {
    margin-block: 18px 14px;
  }

  .about-history-figure--newspaper {
    padding: 7px;
  }

  .about-renewal__step + .about-renewal__step {
    padding-top: 23px;
    margin-top: 23px;
  }

  .page-layout--question-form .contact-page-channels {
    margin-top: 15px;
    gap: 9px;
  }

  .page-layout--question-form .contact-page-choice {
    min-height: 76px;
    padding: 12px 14px;
  }

  .page-layout--question-form .contact-page-line {
    margin-top: 0;
  }
}

/* v1.41: clearer desktop page introductions and refined consultation/history details. */
.service-card--consultation {
  padding-bottom: 78px;
}

.service-card--consultation .service-card__symbol {
  top: auto;
  right: 18px;
  bottom: 16px;
  width: 62px;
  height: 62px;
  border-color: rgba(143, 109, 50, 0.4);
  background: rgba(255, 250, 243, 0.72);
  color: rgba(112, 75, 35, 0.72);
  font-family: var(--brush);
  font-size: 34px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(82, 52, 34, 0.08);
}

.about-history-figure--origin,
.about-history-figure--higashihonganji {
  max-width: 680px;
  margin-inline: auto;
}

@media (min-width: 1080px) {
  body:not(.home) .page-hero {
    padding: 136px 0 76px;
  }

  body:not(.home) .page-hero__kicker {
    margin-bottom: 16px;
  }

  .service-card--consultation {
    padding-bottom: 92px;
  }

  .service-card--consultation .service-card__symbol {
    right: 24px;
    bottom: 22px;
    width: 70px;
    height: 70px;
    font-size: 39px;
  }
}

/* Keep the eitaikuyo page rules authoritative after the legacy responsive layer. */
.page-hero--eitaikuyo .page-hero__kicker {
  max-width: min(92vw, 620px);
  justify-content: center;
  line-height: 1.65;
  letter-spacing: 0.08em;
}

.page-hero--eitaikuyo .page-hero__kicker::before,
.page-hero--eitaikuyo .page-hero__kicker::after {
  display: none;
}

.page-hero--eitaikuyo p.page-hero__description {
  max-width: 760px;
  color: #4c3e34;
  font-family: var(--serif);
  font-size: clamp(14px, 3.6vw, 19px);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.035em;
}

@media (min-width: 760px) {
  .page-layout--eitaikuyo {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 759px) {
  .page-hero--eitaikuyo .page-hero__kicker {
    font-size: 9px;
  }

  .page-hero--eitaikuyo p.page-hero__description {
    max-width: 94%;
    font-size: 13px;
    line-height: 1.65;
  }

  .page-article .entry__content .eitaikuyo-steps li {
    display: grid;
    min-width: 0;
    min-height: 0;
    padding: 16px;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
  }

  .page-article .entry__content .eitaikuyo-steps li::before {
    position: static;
    width: 36px;
    height: 36px;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    font-size: 15px;
  }

  .page-article .entry__content .eitaikuyo-steps h3 {
    min-width: 0;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .page-article .entry__content .eitaikuyo-steps p {
    min-width: 0;
    margin: 0;
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
}

/* Keep the funeral and memorial-service layouts authoritative. */
.page-layout--osoushiki {
  display: block;
  grid-template-columns: minmax(0, 1fr);
}

.page-layout--osoushiki .page-article {
  width: min(100%, 980px);
  max-width: 980px;
}

.page-article .entry__content .osoushiki-steps,
.page-article .entry__content .hoji-flow {
  padding: 0;
  border-left: 0;
  background: transparent;
}

@media (max-width: 759px) {
  .page-article .entry__content .eitaikuyo-meaning > h2 {
    white-space: nowrap;
    font-size: clamp(19px, 6.2vw, 23px);
    letter-spacing: 0.03em;
  }

  .page-article .entry__content .osoushiki-steps,
  .page-article .entry__content .hoji-flow {
    padding: 0;
  }
}

/* Refined title ornaments for the funeral and memorial-service page. */
.page-article .entry__content .osoushiki-section__heading {
  width: min(100%, 820px);
  margin-inline: auto;
}

.page-article .entry__content .osoushiki-section__heading h2 {
  display: flex;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  white-space: nowrap;
}

.page-article .entry__content .osoushiki-section__heading h2::before,
.page-article .entry__content .osoushiki-section__heading h2::after {
  position: static;
  display: block;
  width: auto;
  max-width: 132px;
  height: 3px;
  margin: 0;
  flex: 1 1 72px;
  background: linear-gradient(to bottom, var(--green-800) 0 1px, transparent 1px 2px, var(--gold-light) 2px 3px);
  content: "";
}

.page-article .entry__content .osoushiki-section__heading p {
  margin-bottom: 12px;
  color: var(--green-900);
  letter-spacing: 0.12em;
}

.page-article .entry__content .osoushiki-funeral__lead {
  width: min(100%, 760px);
  margin: 0 auto;
  color: #4a403a;
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.95;
}

.osoushiki-funeral > .section-contact-action {
  margin: 24px auto 32px;
}

.page-article .entry__content .hoji-guide__subheading {
  position: relative;
  padding: 2px 0 14px 17px;
  border: 0;
  border-left: 3px solid var(--green-800);
}

.page-article .entry__content .hoji-guide__subheading::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 17px;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 74, 58, 0.55), rgba(210, 184, 121, 0.35), transparent);
  content: "";
}

.page-article .entry__content .hoji-type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 759px) {
  .page-article .entry__content .osoushiki-section__heading h2 {
    gap: 10px;
    font-size: clamp(27px, 8.4vw, 34px);
  }

  .page-article .entry__content .osoushiki-section__heading h2::before,
  .page-article .entry__content .osoushiki-section__heading h2::after {
    min-width: 18px;
    max-width: 54px;
  }

  .page-article .entry__content .osoushiki-section__heading p {
    font-size: 11px;
    line-height: 1.65;
  }

  .page-article .entry__content .osoushiki-funeral__lead {
    font-size: 14px;
    line-height: 1.75;
  }

  .page-article .entry__content .hoji-type-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* v1.46: clearer funeral/hoji navigation, responsive guide imagery, and form hierarchy. */
.osoushiki-intro {
  overflow: hidden;
}

.osoushiki-intro__visual {
  margin: 0 0 clamp(24px, 4vw, 38px);
  overflow: hidden;
  border-radius: 3px;
  background: var(--warm);
}

.osoushiki-intro__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.osoushiki-intro__copy {
  width: min(100%, 790px);
  margin-inline: auto;
}

.osoushiki-jump-nav {
  display: grid;
  width: min(100%, 620px);
  margin: clamp(24px, 4vw, 34px) auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.osoushiki-jump-nav a {
  display: flex;
  min-width: 0;
  min-height: 54px;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(143, 58, 45, 0.36);
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.osoushiki-jump-nav a::after {
  color: var(--gold);
  content: "↓";
  font-family: var(--sans);
  font-size: 14px;
}

.osoushiki-jump-nav a:hover,
.osoushiki-jump-nav a:focus-visible {
  border-color: var(--green-800);
  background: #fff;
  transform: translateY(-2px);
}

#funeral-guide,
#hoji-guide {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.hoji-guide {
  position: relative;
  padding-top: clamp(70px, 10vw, 108px);
  border-top: 0;
}

.hoji-guide::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(86%, 760px);
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--green-800) 0 1px, transparent 1px 2px, var(--gold-light) 2px 3px);
  content: "";
}

.hoji-guide::after {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 13px;
  height: 13px;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid var(--green-800);
  background: var(--paper);
  content: "";
}

.hoji-guide__lead .section-contact-action {
  margin: 24px auto 0;
}

.page-article .entry__content .hoji-type-grid h4 {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  white-space: nowrap;
}

.page-article .entry__content .hoji-type-grid h4 small {
  display: inline-flex;
  min-height: 26px;
  padding: 4px 10px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(143, 109, 50, 0.42);
  border-radius: 999px;
  background: rgba(248, 241, 233, 0.72);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.02em;
}

.hoji-venue-grid p small {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.hoji-preparation {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
}

.page-article .entry__content .hoji-preparation h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
}

.hoji-preparation__intro p {
  margin: 0;
  line-height: 1.75;
}

.hoji-preparation__grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hoji-preparation__grid section {
  min-width: 0;
  padding: 20px;
  border-top: 2px solid var(--gold-light);
  background: #fff;
}

.page-article .entry__content .hoji-preparation__grid section h4 {
  font-size: 15px;
}

.page-article .entry__content .hoji-preparation ul {
  margin: 0;
  padding-left: 1.25em;
}

.page-article .entry__content .hoji-preparation li {
  padding: 0;
  line-height: 1.7;
}

.page-article .entry__content .hoji-preparation li + li {
  margin-top: 8px;
}

.hoji-form__dates {
  gap: 0;
  border-top: 1px solid rgba(53, 46, 42, 0.16);
}

.hoji-form__dates > div {
  padding: 14px 0;
  align-items: end;
  grid-template-columns: 92px minmax(0, 1.45fr) minmax(130px, 0.8fr);
  border-bottom: 1px solid rgba(53, 46, 42, 0.16);
  gap: 14px;
}

.hoji-form__dates > div > strong {
  display: flex;
  min-height: 50px;
  padding: 6px 10px;
  align-items: center;
  justify-content: center;
  border-left: 3px solid var(--green-800);
  background: rgba(255, 255, 255, 0.68);
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

@media (max-width: 759px) {
  .osoushiki-intro__visual {
    width: calc(100% + 40px);
    margin: -24px -20px 22px;
    border-radius: 0;
  }

  .osoushiki-jump-nav {
    gap: 8px;
  }

  .osoushiki-jump-nav a {
    min-height: 48px;
    padding: 8px 7px;
    gap: 5px;
    font-size: 12px;
    letter-spacing: 0;
  }

  #funeral-guide,
  #hoji-guide {
    scroll-margin-top: calc(var(--header-height) + 18px);
  }

  .hoji-guide {
    margin-top: 66px;
    padding-top: 62px;
  }

  .hoji-guide__lead .section-contact-action {
    margin-top: 20px;
  }

  .page-article .entry__content .hoji-type-grid h4 {
    margin-bottom: 10px;
    gap: 6px;
    font-size: clamp(14px, 4.3vw, 17px);
  }

  .page-article .entry__content .hoji-type-grid h4 small {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .hoji-preparation {
    padding: 18px;
  }

  .hoji-preparation__grid {
    margin-top: 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .hoji-preparation__grid section {
    padding: 16px;
  }

  .hoji-form__dates > div {
    padding: 12px 0;
    grid-template-columns: 66px minmax(0, 1fr) 88px;
    gap: 8px;
  }

  .hoji-form__dates > div > strong {
    min-height: 50px;
    padding: 5px 4px;
    font-size: 12px;
  }

  .hoji-form__dates label > span {
    font-size: 11px;
    white-space: nowrap;
  }

  .hoji-form__dates input[type="date"],
  .hoji-form__dates select {
    min-height: 48px;
    padding: 8px 6px;
    font-size: 14px;
  }
}

@media (max-width: 359px) {
  .hoji-form__dates > div {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .hoji-form__dates > div > label:last-child {
    grid-column: 2;
  }
}

/* v1.47: keep preparation labels clear after the legacy section rules above. */
.hoji-preparation__grid section {
  position: relative;
  padding: 58px 20px 22px;
  border: 1px solid rgba(53, 46, 42, 0.13);
  border-top: 3px solid var(--gold-light);
}

.page-article .entry__content .hoji-preparation__place-label {
  position: absolute;
  top: 18px;
  left: 20px;
  display: inline-flex;
  min-height: 26px;
  margin: 0;
  padding: 4px 11px;
  align-items: center;
  border: 1px solid rgba(143, 58, 45, 0.3);
  border-radius: 999px;
  background: var(--warm);
  color: var(--green-900);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.page-article .entry__content .hoji-preparation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-article .entry__content .hoji-preparation li {
  position: relative;
  padding-left: 1.45em;
}

.page-article .entry__content .hoji-preparation li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  content: "○";
  font-weight: 800;
}

@media (max-width: 759px) {
  .hoji-preparation__grid section {
    padding: 54px 16px 18px;
  }

  .page-article .entry__content .hoji-preparation__place-label {
    top: 16px;
    left: 16px;
  }
}

.eitaikuyo-application__contact {
  width: min(100%, 680px);
  margin: 0 auto 30px;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid rgba(143, 109, 50, 0.2);
  background: rgba(251, 246, 239, 0.72);
  text-align: center;
}

.page-article .entry__content .eitaikuyo-application__contact .section-contact-action {
  margin: 0;
}

.eitaikuyo-application__contact .section-contact-action .button {
  min-width: min(100%, 340px);
}

.page-article .entry__content .eitaikuyo-application__contact > p:last-child {
  margin: 15px auto 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 759px) {
  .eitaikuyo-application__contact {
    margin-bottom: 22px;
    padding: 18px 15px;
  }

  .eitaikuyo-application__contact .section-contact-action .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: 12px;
  }

  .page-article .entry__content .eitaikuyo-application__contact > p:last-child {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.7;
  }
}

/* v1.48: quiet donation links and a lighter Japanese preparation layout. */
.page-article .entry__content .ofuse-guide-action {
  display: flex;
  margin: 22px 0 0;
  justify-content: flex-end;
}

.ofuse-guide-action a {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 13px;
  align-items: center;
  border: 1px solid rgba(53, 46, 42, 0.2);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  gap: 9px;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.ofuse-guide-action a:hover,
.ofuse-guide-action a:focus-visible {
  border-color: rgba(45, 74, 65, 0.45);
  background: rgba(255, 255, 255, 0.7);
  color: var(--green-900);
}

.ofuse-guide-action a span {
  color: var(--gold);
  font-size: 13px;
}

.hoji-preparation {
  padding: 0;
  border: 0;
  background: transparent;
}

.hoji-preparation__intro {
  padding: 20px 24px;
  border-left: 3px solid var(--gold-light);
  background: rgba(248, 241, 233, 0.66);
}

.hoji-preparation__grid {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(53, 46, 42, 0.14);
  background: rgba(53, 46, 42, 0.14);
  gap: 1px;
}

.hoji-preparation__grid section {
  position: static;
  padding: 27px 25px 25px;
  border: 0;
  background: rgba(255, 253, 250, 0.98);
  box-shadow: none;
}

.page-article .entry__content .hoji-preparation__place-label {
  position: static;
  display: block;
  min-height: 0;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.page-article .entry__content .hoji-preparation__grid section h4 {
  margin: 0 0 17px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(53, 46, 42, 0.14);
  color: var(--green-950);
  font-size: 17px;
}

.page-article .entry__content .hoji-preparation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-article .entry__content .hoji-preparation li {
  position: relative;
  padding: 0 0 0 1.35em;
  line-height: 1.75;
}

.page-article .entry__content .hoji-preparation li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  content: "—";
  font-weight: 400;
}

.page-article .entry__content .hoji-preparation li + li {
  margin-top: 12px;
}

@media (max-width: 759px) {
  .page-article .entry__content .ofuse-guide-action {
    margin-top: 18px;
  }

  .ofuse-guide-action a {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 10px;
  }

  .hoji-preparation__intro {
    padding: 17px 18px;
  }

  .hoji-preparation__grid {
    margin-top: 14px;
    grid-template-columns: minmax(0, 1fr);
  }

  .hoji-preparation__grid section {
    padding: 22px 18px 21px;
  }

  .page-article .entry__content .hoji-preparation__grid section h4 {
    margin-bottom: 14px;
    padding-bottom: 11px;
    font-size: 15px;
  }
}

/* v1.49: eternal-interment request form and clearer mobile image spacing. */
.page-article .entry__content .eitaikuyo-application__contact-link {
  display: flex;
  margin: 12px 0 0;
  justify-content: center;
}

.eitaikuyo-application__contact-link a {
  display: inline-flex;
  min-height: 32px;
  padding: 5px 13px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(53, 46, 42, 0.2);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.eitaikuyo-application__contact-link a:hover,
.eitaikuyo-application__contact-link a:focus-visible {
  border-color: rgba(45, 74, 65, 0.42);
  color: var(--green-900);
}

.eitaikuyo-reservation {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.eitaikuyo-reservation .hoji-form__choice label {
  align-items: flex-start;
}

.eitaikuyo-reservation .hoji-form__choice label span {
  line-height: 1.55;
}

@media (max-width: 759px) {
  .osoushiki-intro__visual {
    margin: 12px -20px 22px;
  }

  .eitaikuyo-application__contact-link a {
    min-height: 30px;
    padding: 5px 12px;
    font-size: 9px;
  }

  .eitaikuyo-reservation {
    scroll-margin-top: calc(var(--header-height) + 18px);
  }

  .eitaikuyo-form .hoji-form__choice {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* v1.50: supporting links for FAQ and the browser-history return action. */
.page-article .entry__content .faq-detail-action {
  display: flex;
  margin: 14px 0 0;
  justify-content: flex-end;
}

.faq-detail-action a,
.history-back-action a {
  display: inline-flex;
  min-height: 34px;
  padding: 6px 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(53, 46, 42, 0.2);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.faq-detail-action a:hover,
.faq-detail-action a:focus-visible,
.history-back-action a:hover,
.history-back-action a:focus-visible {
  border-color: rgba(45, 74, 65, 0.42);
  color: var(--green-900);
}

.page-article .entry__content .history-back-action {
  display: flex;
  margin: 0 0 clamp(20px, 3vw, 34px);
  justify-content: flex-start;
}

@media (max-width: 759px) {
  .faq-detail-action a,
  .history-back-action a {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 10px;
  }
}

/* v1.52: launch SEO navigation and final mobile visibility safeguards. */
.greeting__eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.greeting__heading h2 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

.breadcrumb-shell {
  margin-top: 14px;
}

.breadcrumb {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.breadcrumb ol {
  display: flex;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  color: rgba(53, 46, 42, 0.42);
  content: "\203a";
}

.breadcrumb a {
  color: var(--green-900);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  overflow: hidden;
  max-width: min(70vw, 620px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-main .breadcrumb-shell + .page-layout {
  padding-top: 34px;
}

@media (max-width: 759px) {
  .greeting__eyebrow {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .greeting__heading h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.42;
    letter-spacing: 0.02em;
  }

  .breadcrumb-shell {
    margin-top: 10px;
  }

  .breadcrumb {
    font-size: 10px;
  }

  .page-main .breadcrumb-shell + .page-layout {
    padding-top: 18px;
  }
}

/* v1.54: stronger traditional headings and the general inquiry form. */
.greeting__frame {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 44px);
}

.greeting__eyebrow {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.16em;
}

.greeting__eyebrow::before,
.greeting__eyebrow::after {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentcolor);
  content: "";
}

.greeting__eyebrow::after {
  transform: rotate(180deg);
}

.greeting__heading h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: 0.055em;
  text-wrap: normal;
  white-space: nowrap;
}

.greeting__title-break {
  display: none;
}

.greeting__heading h2::after {
  height: 48px;
  margin-top: 18px;
}

.temple-words__heading h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.general-contact-form {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: clamp(28px, 5vw, 54px);
  margin-top: clamp(48px, 8vw, 82px);
  border-top: 3px solid var(--green-800);
  background:
    linear-gradient(145deg, rgba(255, 253, 250, 0.98), rgba(248, 241, 233, 0.98));
  box-shadow: 0 18px 48px rgba(92, 48, 38, 0.08);
}

.general-contact-form__heading {
  text-align: center;
}

.general-contact-form__heading > p:first-child {
  margin: 0 0 8px;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.general-contact-form__heading h2 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.general-contact-form__heading h2::after {
  display: block;
  width: 48px;
  height: 2px;
  margin: 16px auto 0;
  background: var(--gold);
  content: "";
}

.general-contact-form__title-break {
  display: none;
}

.general-contact-form__heading > p:last-child {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.8;
}

.general-contact-form__form {
  padding-top: 28px;
  border-top: 1px solid rgba(143, 109, 50, 0.18);
}

.general-contact-form__reply {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 759px) {
  .greeting__frame {
    gap: 20px;
  }

  .greeting__eyebrow {
    margin-bottom: 10px;
    gap: 9px;
    font-size: 15px;
    letter-spacing: 0.13em;
  }

  .greeting__eyebrow::before,
  .greeting__eyebrow::after {
    width: 22px;
  }

  .greeting__heading h2 {
    font-size: clamp(23px, 6.8vw, 28px);
    line-height: 1.55;
    letter-spacing: 0.025em;
    white-space: normal;
  }

  .greeting__title-break {
    display: block;
  }

  .greeting__heading h2::after {
    height: 28px;
    margin-top: 12px;
  }

  .temple-words__heading h2 {
    gap: 8px;
    font-size: clamp(33px, 9.8vw, 39px);
    letter-spacing: 0.055em;
  }

  .general-contact-form {
    scroll-margin-top: calc(var(--header-height) + 18px);
    padding: 27px 16px;
    margin: 42px -8px 0;
  }

  .general-contact-form__heading > p:first-child {
    font-size: 10px;
  }

  .general-contact-form__heading h2 {
    font-size: clamp(21px, 6.3vw, 25px);
    letter-spacing: 0.035em;
  }

  .general-contact-form__title-break {
    display: block;
  }

  .general-contact-form__heading > p:last-child {
    margin-top: 14px;
    font-size: 12px;
  }

  .general-contact-form__form {
    padding-top: 21px;
  }

  .general-contact-form__reply {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* v1.55: ordered inquiry flow and compact footer contact routes. */
.general-contact-form + .contact-page-channels {
  margin-top: clamp(24px, 4vw, 38px);
}

.footer-contact-tools {
  width: min(100%, 430px);
  margin-top: 22px;
  font-family: var(--sans);
}

.footer-contact-tools a {
  text-decoration: none;
}

.footer-contact-tools__email {
  display: flex;
  min-width: 0;
  padding: 10px 12px;
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  gap: 10px;
}

.footer-contact-tools__email span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer-contact-tools__email strong {
  min-width: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(11px, 1.15vw, 13px);
  font-weight: 500;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

.footer-contact-tools__actions {
  display: grid;
  margin-top: 10px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 9px;
}

.footer-contact-tools__line,
.footer-contact-tools__form {
  min-width: 0;
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.footer-contact-tools__line {
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 10px;
}

.footer-contact-tools__line img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 4px solid #fff;
  border-radius: 2px;
  background: #fff;
}

.footer-contact-tools__line span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.footer-contact-tools__line small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.footer-contact-tools__line strong {
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.footer-contact-tools__form {
  display: flex;
  padding: 12px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  gap: 8px;
}

.footer-contact-tools__form b {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
}

.footer-contact-tools__line:hover,
.footer-contact-tools__line:focus-visible,
.footer-contact-tools__form:hover,
.footer-contact-tools__form:focus-visible {
  border-color: rgba(210, 184, 121, 0.65);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

@media (max-width: 759px) {
  .general-contact-form + .contact-page-channels {
    margin-top: 22px;
  }

  .footer-contact-tools {
    margin-top: 18px;
  }

  .footer-contact-tools__email {
    padding-inline: 9px;
    gap: 8px;
  }

  .footer-contact-tools__actions {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 7px;
  }

  .footer-contact-tools__line,
  .footer-contact-tools__form {
    min-height: 70px;
  }

  .footer-contact-tools__line {
    padding: 7px;
    gap: 8px;
  }

  .footer-contact-tools__line img {
    width: 52px;
    height: 52px;
  }

  .footer-contact-tools__line strong,
  .footer-contact-tools__form {
    font-size: 10px;
  }

  .footer-contact-tools__form {
    padding: 10px;
  }
}

/* v1.56: embedded surrounding maps on the home and access pages. */
.temple-map {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(111, 44, 36, 0.16);
  border-radius: 3px;
  background: #e8e0d7;
  box-shadow: 0 18px 42px rgba(75, 31, 22, 0.09);
}

.access .access__grid {
  display: grid;
}

.temple-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

.temple-map--home {
  min-height: 390px;
}

.temple-map--access-page {
  margin-bottom: clamp(34px, 5vw, 58px);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.temple-map--access-page h2 {
  margin: 0 0 18px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: 0.07em;
}

.temple-map--access-page iframe {
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(111, 44, 36, 0.16);
  border-radius: 3px;
  box-shadow: 0 18px 42px rgba(75, 31, 22, 0.09);
}

@media (max-width: 759px) {
  .access .access__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .temple-map--home iframe {
    height: 330px;
  }

  .temple-map--access-page {
    margin-bottom: 28px;
  }

  .temple-map--access-page h2 {
    margin-bottom: 13px;
    font-size: clamp(21px, 6.5vw, 26px);
  }

  .temple-map--access-page iframe {
    height: 370px;
  }
}

/* v1.60: formal, weighty title typography without changing title sizing or flow. */
.page-hero h1,
.page-article .entry__content h2,
.page-posts h2,
.page-sidebar h2,
.page-article .entry__content .osoushiki-section__heading h2,
.page-article .entry__content .ofuse-guide__heading h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

.section-heading h2,
.first-steps h2,
.story h2,
.access h2,
.contact-band h2,
.updates__heading h2 {
  font-weight: 700;
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

.greeting__heading h2,
.temple-words__heading h2 {
  font-weight: 800;
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

.page-hero h1 {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 24px rgba(75, 31, 22, 0.08);
}

.page-article .entry__content h2::after,
.page-posts h2::after {
  height: 1px;
  box-shadow: 0 4px 0 rgba(143, 109, 50, 0.26);
}

/* v1.57: keep the home access details legible beside the map on desktop. */
@media (min-width: 760px) {
  .home .access__details {
    display: block;
  }

  .home .access__details > div {
    width: 100%;
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .home .access__details > div:nth-child(3) dd,
  .home .access__details > div:nth-child(4) dd {
    white-space: nowrap;
  }
}
