:root {
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --color-bg: #edf4ef;
  --color-bg-deep: #dbe8e0;
  --color-paper: rgba(245, 250, 247, 0.82);
  --color-paper-strong: rgba(250, 253, 251, 0.94);
  --color-ink: #12201a;
  --color-ink-soft: #556861;
  --color-forest: #103429;
  --color-forest-deep: #091711;
  --color-water: #6e9ba1;
  --color-water-soft: rgba(110, 155, 161, 0.18);
  --color-header-glass-top: rgba(7, 9, 10, 0.95);
  --color-header-glass-mid: rgba(15, 18, 19, 0.93);
  --color-header-glass-bottom: rgba(26, 29, 30, 0.88);
  --color-splash-bg-top: #e7eceb;
  --color-splash-bg-mid: #d8e1df;
  --color-splash-bg-bottom: #c7d2d0;
  --color-splash-text: rgba(84, 120, 126, 0.82);
  --color-splash-note: rgba(90, 125, 132, 0.9);
  --color-gold: #8c7f57;
  --color-vermilion: #784337;
  --color-line: rgba(19, 32, 25, 0.12);
  --color-line-soft: rgba(19, 32, 25, 0.08);
  --color-line-strong: rgba(19, 32, 25, 0.2);
  --color-footer-bg: #d7e0da;
  --color-footer-ink: #2f4a41;
  --color-footer-ink-soft: rgba(47, 74, 65, 0.78);
  --color-footer-copy-line: rgba(84, 120, 126, 0.16);
  --filter-crest-splash: invert(63%) sepia(12%) saturate(724%) hue-rotate(149deg) brightness(96%) contrast(91%);
  --shadow-soft: 0 24px 48px rgba(11, 25, 19, 0.08);
  --shadow-edge: 0 10px 24px rgba(11, 25, 19, 0.06);
  --layout-wide: 1180px;
  --layout-content: 1040px;
  --page-gutter: 2rem;
  --page-gutter-narrow: 2rem;
  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.25rem;
  --space-4: 1.75rem;
  --space-5: 2.5rem;
  --space-6: 4.5rem;
  --space-7: 5.5rem;
  --motion-base: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.9;
  background:
    radial-gradient(circle at 8% 0%, rgba(110, 155, 161, 0.18), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(71, 114, 93, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 14rem),
    linear-gradient(180deg, #f4f8f4 0%, #ebf1ea 48%, #e4ece4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(110, 155, 161, 0.08), transparent 28%, rgba(255, 255, 255, 0.08) 52%, transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 34%);
  opacity: 0.85;
}

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

a {
  color: var(--color-forest);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-vermilion);
}

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

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 40;
  padding: 0.75rem 1rem;
  background: var(--color-forest);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  color: #fff;
  transition: background var(--motion-base), color var(--motion-base), box-shadow var(--motion-base), backdrop-filter var(--motion-base);
}

.page-article .site-header,
.page-gallery .site-header,
.page-parking .site-header {
  background: linear-gradient(180deg, var(--color-header-glass-top) 0%, var(--color-header-glass-mid) 58%, var(--color-header-glass-bottom) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(5, 14, 11, 0.1);
}

.page-yuisho .site-header,
.page-kigan .site-header,
.page-gyoji .site-header,
.page-photo .site-header,
.page-access .site-header {
  color: #fff;
}

.page-yuisho .site-header:not(.is-scrolled),
.page-kigan .site-header:not(.is-scrolled),
.page-gyoji .site-header:not(.is-scrolled),
.page-photo .site-header:not(.is-scrolled),
.page-access .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(10, 34, 27, 0.58), rgba(13, 52, 42, 0));
  box-shadow: none;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.82) 0%, rgba(15, 18, 19, 0.74) 58%, rgba(26, 29, 30, 0.62) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(5, 14, 11, 0.07);
}

.site-header__inner,
.page-hero__inner,
.section,
.article,
.site-footer__inner {
  width: min(calc(100% - var(--page-gutter)), var(--layout-wide));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.52rem 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.site-brand__mark {
  position: relative;
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
}

.site-brand__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--motion-base);
}

.site-brand__logo--light {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.site-brand__logo--dark {
  opacity: 0;
}

.site-header.is-scrolled .site-brand__logo--light {
  opacity: 1;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.site-header.is-scrolled .site-brand__logo--dark {
  opacity: 0;
}

.site-brand__text strong {
  display: block;
  font-family: var(--font-mincho);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-brand__text {
  display: grid;
  gap: 0.08rem;
}

.site-brand__text small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  line-height: 1.3;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  cursor: pointer;
  transition: background var(--motion-base), transform var(--motion-base);
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.22rem auto;
  background: currentColor;
  transition: transform var(--motion-base), opacity var(--motion-base);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.site-header__panel {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-nav ul,
.list,
.deity-list,
.timeline,
.info-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.site-nav a::after,
.site-footer__links a::after,
.site-footer__contact-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-base);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-footer__links a:hover::after,
.site-footer__contact-links a:hover::after {
  transform: scaleX(1);
}

.page-hero {
  position: relative;
  min-height: clamp(18rem, 34vh, 24rem);
  padding: 5.8rem 0 2.4rem;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(5, 12, 9, 0.28), rgba(5, 12, 9, 0.14) 28%, rgba(5, 12, 9, 0.56) 100%),
    linear-gradient(102deg, rgba(8, 19, 15, 0.62), rgba(8, 19, 15, 0.18) 46%, rgba(9, 18, 14, 0.38)),
    var(--hero-image) center center / cover no-repeat;
}

.page-hero--media {
  background:
    linear-gradient(180deg, rgba(5, 12, 9, 0.28), rgba(5, 12, 9, 0.14) 28%, rgba(5, 12, 9, 0.56) 100%),
    linear-gradient(102deg, rgba(8, 19, 15, 0.62), rgba(8, 19, 15, 0.18) 46%, rgba(9, 18, 14, 0.38));
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  backface-visibility: hidden;
}

.page-kigan .page-hero__media img {
  object-position: center 38%;
}

.page-yuisho .page-hero__media img {
  object-position: center 46%;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 9, 0.2), rgba(5, 12, 9, 0.06) 36%, rgba(5, 12, 9, 0.16) 100%),
    radial-gradient(circle at 24% 32%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(115deg, rgba(138, 174, 183, 0.12), transparent 34%, rgba(255, 255, 255, 0.08) 56%, transparent 78%);
  opacity: 0.9;
  z-index: 2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5rem;
  background: linear-gradient(180deg, transparent, rgba(244, 240, 231, 0.96));
  z-index: 2;
}

.page-hero__ripple-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
  --ripple-line: rgba(205, 241, 237, 0.58);
  --ripple-glow: rgba(123, 183, 180, 0.16);
  --ripple-core: rgba(233, 252, 249, 0.22);
}

.page-hero__stream {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 2rem;
  height: 5.75rem;
  background:
    linear-gradient(90deg, transparent 0%, rgba(173, 219, 229, 0.08) 14%, rgba(255, 255, 255, 0.22) 32%, rgba(123, 186, 201, 0.18) 48%, rgba(255, 255, 255, 0.14) 64%, rgba(123, 186, 201, 0.08) 82%, transparent 100%);
  filter: blur(10px);
  opacity: 0.95;
  transform: skewX(-18deg);
  will-change: transform;
  backface-visibility: hidden;
  pointer-events: none;
  animation: water-drift 22s linear infinite;
  z-index: 3;
}

.page-hero__inner {
  position: relative;
  z-index: 4;
  color: #fff;
  width: min(calc(100% - var(--page-gutter)), 64rem);
  max-width: none;
  margin: 0 auto;
  display: grid;
  justify-items: start;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.page-hero__eyebrow,
.section__eyebrow,
.fact-card__label,
.gallery-card__label,
.site-footer__eyebrow,
.site-footer__heading {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
}

.page-hero__eyebrow {
  margin-bottom: 0.85rem;
  color: rgba(230, 243, 246, 0.84);
}

.page-hero__crest {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.page-hero__crest::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.66);
}

.page-hero h1,
.section__header h2,
.feature__body h2,
.article__header h2,
.gallery-card strong,
.deity-panel h3,
.timeline__body h3,
.fact-card h3,
.prayer-group h3,
.info-panel h3 {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 700;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: balance;
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.6rem, 2.8vw, 4.4rem);
  line-height: 1.12;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.page-hero__lead {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  padding-left: 1rem;
  border-left: 1px solid rgba(227, 242, 246, 0.48);
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.page-yuisho .page-hero,
.page-kigan .page-hero,
.page-gyoji .page-hero,
.page-photo .page-hero,
.page-access .page-hero {
  background:
    linear-gradient(180deg, rgba(5, 12, 9, 0.24), rgba(5, 12, 9, 0.1) 30%, rgba(5, 12, 9, 0.48) 100%),
    linear-gradient(102deg, rgba(8, 19, 15, 0.58), rgba(8, 19, 15, 0.16) 46%, rgba(9, 18, 14, 0.32)),
    var(--hero-image) center center / cover no-repeat;
}

.page-yuisho .page-hero--media,
.page-kigan .page-hero--media,
.page-gyoji .page-hero--media,
.page-photo .page-hero--media,
.page-access .page-hero--media {
  background:
    linear-gradient(180deg, rgba(5, 12, 9, 0.24), rgba(5, 12, 9, 0.1) 30%, rgba(5, 12, 9, 0.48) 100%),
    linear-gradient(102deg, rgba(8, 19, 15, 0.58), rgba(8, 19, 15, 0.16) 46%, rgba(9, 18, 14, 0.32));
}

.page-yuisho .page-hero::before,
.page-kigan .page-hero::before,
.page-gyoji .page-hero::before,
.page-photo .page-hero::before,
.page-access .page-hero::before {
  opacity: 0.72;
}

.page-yuisho .page-hero__stream,
.page-kigan .page-hero__stream,
.page-gyoji .page-hero__stream,
.page-photo .page-hero__stream,
.page-access .page-hero__stream {
  opacity: 0.62;
}

.page-hero__lead:empty {
  display: none;
}

.page-yuisho .page-hero,
.page-kigan .page-hero,
.page-gyoji .page-hero,
.page-access .page-hero,
.page-photo .page-hero,
.page-parking .page-hero,
.page-gallery .page-hero,
.page-article .page-hero {
  min-height: clamp(22rem, 40vh, 30rem);
}

.page-parking .page-hero,
.page-gallery .page-hero,
.page-article .page-hero {
  display: none;
}

.page-parking main,
.page-gallery main,
.page-article main {
  padding-top: 5.2rem;
}

.page-parking main > .section:first-of-type,
.page-gallery main > .section:first-of-type,
.page-article main > .article:first-of-type {
  margin-top: 0;
}

.page-yuisho .page-hero__crest,
.page-kigan .page-hero__crest,
.page-gyoji .page-hero__crest,
.page-access .page-hero__crest,
.page-photo .page-hero__crest,
.page-parking .page-hero__crest,
.page-gallery .page-hero__crest,
.page-article .page-hero__crest {
  display: none;
}

.page-article .page-hero__inner {
  max-width: 30rem;
}

.page-article .page-hero h1 {
  max-width: 8ch;
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
}

.page-yuisho .section__header h2,
.page-yuisho .feature__body h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
}

.page-yuisho .deity-panel h3 {
  font-size: 1.18rem;
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-6);
  overflow: clip;
}

main::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 16rem;
  height: 18rem;
  background:
    radial-gradient(circle at 24% 42%, rgba(138, 174, 183, 0.18), transparent 22%),
    radial-gradient(circle at 74% 60%, rgba(138, 174, 183, 0.16), transparent 20%),
    linear-gradient(90deg, rgba(138, 174, 183, 0.06), rgba(255, 255, 255, 0.02), rgba(138, 174, 183, 0.06));
  filter: blur(34px);
  pointer-events: none;
  z-index: -1;
  animation: water-float 20s ease-in-out infinite;
}

.section,
.article {
  position: relative;
}

.section,
.article {
  width: min(calc(100% - var(--page-gutter)), var(--layout-content));
  margin: var(--space-6) auto 0;
}

.section--compact {
  margin-top: 3.2rem;
}

.page-hero + .section,
.page-hero + .article,
.home-hero + .section {
  margin-top: clamp(1.9rem, 4vw, 2.35rem);
}

.section__header,
.article__header {
  max-width: 39rem;
  margin-bottom: 2rem;
}

.split-grid .section__header,
.split-grid .article__header {
  max-width: 100%;
}

.section__header--compact {
  margin-bottom: 1.5rem;
}

.section__eyebrow {
  margin-bottom: 0.9rem;
  color: var(--color-gold);
}

.section__header h2,
.feature__body h2,
.article__header h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.24;
  letter-spacing: 0.05em;
}

.section__header p,
.feature__body p,
.article__body,
.prayer-group li,
.info-panel li,
.timeline__body p,
.deity-list dd,
.site-footer p {
  color: var(--color-ink-soft);
}

.section__header p,
.article__header p,
.site-footer p {
  margin: 0;
}

.section__header p:last-child,
.article__header p:last-child {
  margin-top: 0.85rem;
}

.feature__body p,
.info-panel p,
.timeline__body p {
  margin: 0 0 1rem;
}

.feature__body p:last-child,
.info-panel p:last-child,
.timeline__body p:last-child {
  margin-bottom: 0;
}

.article__meta time {
  color: var(--color-forest);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.split-grid > * {
  min-width: 0;
}

.split-grid--wide {
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.95fr);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.2rem;
  align-items: center;
}

.feature--reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.feature--reverse .feature__media {
  order: 2;
}

.feature--reverse .feature__body {
  order: 1;
}

.feature__media {
  position: relative;
}

.feature__media::before {
  content: "";
  position: absolute;
  inset: -1rem auto auto -1rem;
  width: 5rem;
  height: 5rem;
  border-top: 1px solid rgba(144, 114, 68, 0.4);
  border-left: 1px solid rgba(144, 114, 68, 0.4);
}

.feature__media img,
.info-panel__image,
.timeline__body img {
  width: 100%;
  object-fit: cover;
}

.page-kigan .info-panel__image {
  object-position: center top;
}

.feature__media img {
  aspect-ratio: 4 / 3;
}

.deity-panel,
.info-panel,
.prayer-group,
.fact-card,
.article,
.parking-figure {
  border: 1px solid var(--color-line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 6rem),
    var(--color-paper);
  box-shadow: var(--shadow-edge);
}

.deity-panel,
.info-panel,
.prayer-group,
.fact-card,
.article {
  padding: 1.6rem;
}

.deity-panel h3,
.info-panel h3,
.prayer-group h3 {
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.fact-card h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.deity-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.deity-list div {
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-line);
}

.deity-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.deity-list dt {
  font-family: var(--font-mincho);
  font-size: 1.15rem;
  color: var(--color-ink);
}

.deity-list dd {
  margin: 0.25rem 0 0;
}

.prayer-group-list {
  display: grid;
  gap: 1rem;
}

.prayer-group ul,
.info-panel ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.info-panel li,
.prayer-group li {
  position: relative;
  padding-left: 1rem;
}

.prayer-group li::before,
.info-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(144, 114, 68, 0.58);
}

.prayer-group-list--feature {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.prayer-group-list--feature > :last-child {
  grid-column: 1 / -1;
}

.prayer-group--iconic {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 1.7rem 1.6rem 1.55rem;
  border-color: rgba(16, 52, 41, 0.08);
  border-radius: 1.4rem;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.86), transparent 32%),
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 249, 0.8) 34%, rgba(239, 245, 241, 0.96)),
    linear-gradient(135deg, var(--prayer-tint, rgba(184, 168, 113, 0.22)), transparent 52%);
  box-shadow:
    0 22px 34px rgba(11, 25, 19, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.prayer-group--iconic::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.3rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--prayer-accent, rgba(155, 139, 85, 0.82)) 18%, rgba(16, 52, 41, 0.82));
  opacity: 0.92;
  z-index: 0;
}

.prayer-group--iconic::after {
  content: attr(data-symbol);
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  z-index: 0;
  color: rgba(16, 52, 41, 0.05);
  font-family: var(--font-mincho);
  font-size: clamp(4.4rem, 8vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0.08em;
}

.prayer-group--celebration {
  --prayer-accent: rgba(155, 139, 85, 0.82);
  --prayer-tint: rgba(184, 168, 113, 0.22);
}

.prayer-group--purification {
  --prayer-accent: rgba(92, 139, 144, 0.82);
  --prayer-tint: rgba(110, 155, 161, 0.18);
}

.prayer-group--ceremony {
  --prayer-accent: rgba(125, 84, 67, 0.82);
  --prayer-tint: rgba(140, 98, 84, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .prayer-group--iconic:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 52, 41, 0.16);
    box-shadow:
      0 28px 44px rgba(11, 25, 19, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }
}

.prayer-group__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 0.45rem;
  color: rgba(16, 52, 41, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
}

.prayer-group--iconic h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.48rem, 2.2vw, 1.72rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.prayer-group__lead {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(19, 32, 25, 0.08);
  color: #496059;
  line-height: 1.85;
}

.prayer-group--iconic ul {
  position: relative;
  z-index: 1;
  gap: 0.72rem;
  margin-top: 0.2rem;
}

.prayer-group--iconic li {
  padding-left: 1.15rem;
  color: rgba(18, 32, 26, 0.88);
}

.prayer-group--iconic li::before {
  top: 0.82rem;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--prayer-accent, rgba(155, 139, 85, 0.82));
  box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.58);
}

@media (min-width: 981px) {
  .prayer-group-list--feature > :last-child {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: start;
  }

  .prayer-group-list--feature > :last-child .prayer-group__eyebrow,
  .prayer-group-list--feature > :last-child h3,
  .prayer-group-list--feature > :last-child .prayer-group__lead {
    grid-column: 1;
  }

  .prayer-group-list--feature > :last-child ul {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
    padding-left: 1.2rem;
    border-left: 1px solid rgba(19, 32, 25, 0.08);
  }
}

.info-panel--quiet {
  padding: 0;
  overflow: hidden;
}

.info-panel__image {
  aspect-ratio: 4 / 3;
}

.info-panel--quiet h3,
.info-panel--quiet p,
.info-panel--quiet ul,
.info-panel--quiet .button-row,
.info-panel--quiet .contact-card {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.info-panel--quiet h3 {
  margin-top: 1.4rem;
}

.kigan-support {
  margin-top: clamp(4rem, 5vw, 5rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.button-row--center {
  justify-content: center;
}

.button,
.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--color-line-strong);
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-forest);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: transform var(--motion-base), border-color var(--motion-base), background var(--motion-base), color var(--motion-base);
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--color-vermilion);
  background: rgba(139, 58, 46, 0.05);
  color: var(--color-vermilion);
}

.button--ghost,
.button--ghost:visited {
  background: transparent;
}

.contact-card {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.35rem;
  padding-top: 1.05rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--color-line);
}

.contact-card a {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.section--kigan-apply {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  width: min(calc(100% - var(--page-gutter)), 1060px);
  padding: 2rem 1.6rem 1.7rem;
  border: 1px solid rgba(19, 32, 25, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.2)),
    rgba(239, 244, 240, 0.9);
  box-shadow: var(--shadow-edge);
}

.section--kigan-apply::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(110, 155, 161, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.section--kigan-apply .section__header {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin-bottom: 2rem;
}

.application-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.application-card {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 1.8rem;
  border: 1px solid var(--color-line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.18)),
    rgba(247, 251, 248, 0.92);
  box-shadow: var(--shadow-edge);
}

.application-card__label {
  margin: 0 0 0.65rem;
  color: var(--color-gold);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.application-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  line-height: 1.35;
}

.application-card p,
.application-card ul,
.application-card a {
  min-width: 0;
}

.application-card .button-row {
  margin-top: 1.2rem;
}

.application-card__note {
  margin: 1rem 0 0.25rem;
  color: var(--color-ink-soft);
}

.application-card__text-link {
  font-weight: 600;
}

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

.fact-card__label {
  margin-bottom: 0.7rem;
  color: var(--color-gold);
}

.fact-card p {
  margin: 0.75rem 0 0;
}

.map-frame {
  min-height: 100%;
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-edge);
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 28rem;
  border: 0;
}

.map-frame--wide iframe {
  min-height: clamp(24rem, 34vw, 32rem);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.timeline__date {
  margin: 0;
  padding-top: 1rem;
  color: var(--color-forest);
  font-family: var(--font-mincho);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.timeline__body {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--color-line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 5rem),
    var(--color-paper);
  box-shadow: var(--shadow-edge);
}

.timeline__body img {
  aspect-ratio: 4 / 3;
}

.timeline__body h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.gallery-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-edge);
}

.gallery-card__link {
  position: relative;
  display: block;
  min-height: 22rem;
  color: #fff;
  text-decoration: none;
}

.gallery-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(8, 17, 13, 0.16) 56%, rgba(8, 17, 13, 0.72) 100%);
}

.gallery-card__link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-card__label,
.gallery-card strong {
  position: absolute;
  left: 1.15rem;
  z-index: 1;
}

.gallery-card__label {
  bottom: 4.15rem;
  color: rgba(226, 241, 245, 0.8);
}

.gallery-card strong {
  bottom: 1.25rem;
  font-size: 1.6rem;
  line-height: 1.22;
  letter-spacing: 0.05em;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.photo-grid a {
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-edge);
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 520ms ease;
}

.photo-grid a:hover img {
  transform: scale(1.03);
}

.parking-figure {
  padding: 0.65rem;
}

.parking-figure img {
  width: 100%;
}

.article {
  padding: 2.3rem;
}

.article__meta {
  margin: 1rem 0 0;
}

.article__body {
  font-size: 1rem;
}

.article__body > :first-child {
  margin-top: 0;
}

.article__body p {
  margin: 0 0 1.15rem;
}

.article__body img {
  display: block;
  width: auto;
  max-width: min(100%, 46rem);
  margin: 1.6rem auto;
}

.article__body figure {
  max-width: 46rem;
  margin: 1.6rem auto;
}

.article__body table {
  width: 100%;
  margin: 1.4rem 0;
  border-collapse: collapse;
  border-top: 1px solid var(--color-line-strong);
  border-bottom: 1px solid var(--color-line);
}

.article__body th,
.article__body td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

.article__body th {
  width: 28%;
  background: rgba(19, 32, 25, 0.04);
}

.site-footer {
  margin-top: 2.4rem;
  padding: 1.2rem 0 0.78rem;
  border-top: 1px solid rgba(84, 120, 126, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 2.5rem),
    linear-gradient(135deg, rgba(84, 120, 126, 0.12), rgba(84, 120, 126, 0.04) 35%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(180deg, var(--color-splash-bg-top) 0%, var(--color-footer-bg) 56%, var(--color-splash-bg-bottom) 100%);
}

.site-footer__inner {
  width: min(calc(100% - var(--page-gutter)), 57.5rem);
  display: grid;
  grid-template-columns: minmax(18rem, 27rem) minmax(14.5rem, 16.5rem);
  justify-content: space-between;
  gap: 1rem 2.2rem;
  align-items: start;
}

.site-footer__identity {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.82rem;
  max-width: 26rem;
}

.site-footer__mark {
  width: clamp(4.2rem, 7vw, 4.85rem);
  max-width: 100%;
}

.site-footer__logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: var(--filter-crest-splash);
  opacity: 0.96;
}

.site-footer__identity-copy {
  display: grid;
  gap: 0.16rem;
}

.site-footer .site-footer__eyebrow,
.site-footer .site-footer__heading {
  color: var(--color-splash-text);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.site-footer .site-footer__brand {
  color: var(--color-footer-ink);
  font-family: var(--font-mincho);
  font-size: 1.62rem;
  line-height: 1.08;
  letter-spacing: 0.08em;
}

.site-footer__address {
  display: grid;
  gap: 0.22rem;
  padding-top: 0.18rem;
  padding-bottom: 0.24rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-footer-ink-soft);
}

.site-footer__links,
.site-footer__contact {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.site-footer__contact {
  justify-self: stretch;
  align-self: start;
  min-width: 0;
  gap: 0.28rem;
  padding: 0.08rem 0 0.08rem 1.15rem;
  border: 0;
  border-left: 1px solid rgba(84, 120, 126, 0.18);
  background: none;
  box-shadow: none;
}

.site-footer__links {
  display: none;
}

.site-footer a {
  position: relative;
  width: fit-content;
  color: var(--color-footer-ink);
  text-decoration: none;
}

.site-footer__phone {
  color: var(--color-footer-ink);
  font-family: var(--font-mincho);
  font-size: 1.82rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.site-footer .site-footer__fax {
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: rgba(47, 74, 65, 0.72);
}

.site-footer__contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.site-footer__contact-links {
  display: none;
}

.site-footer .site-footer__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.56rem;
  width: 100%;
  margin: 0.56rem auto 0;
  padding: 0;
  color: rgba(47, 74, 65, 0.72);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.site-footer__copy::before {
  content: "";
  width: min(calc(100% - var(--page-gutter)), 57.5rem);
  border-top: 1px solid var(--color-footer-copy-line);
}

.scroll-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 52, 41, 0.72);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 10px 22px rgba(9, 23, 17, 0.16);
}

.scroll-to-top::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg) translate(-1px, 1px);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.scroll-to-top:hover {
  background: rgba(16, 52, 41, 1);
}

.scroll-to-top:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.94);
  outline-offset: 3px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(8, 15, 12, 0.92);
}

.lightbox__image {
  max-width: min(92vw, 1080px);
  max-height: 78vh;
}

.lightbox__caption {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes water-drift {
  0% {
    transform: translate3d(-3%, 0, 0) skewX(-18deg);
  }

  50% {
    transform: translate3d(3%, 0, 0) skewX(-18deg);
  }

  100% {
    transform: translate3d(-3%, 0, 0) skewX(-18deg);
  }
}

@keyframes water-float {
  0% {
    transform: translate3d(-2%, 0, 0);
    opacity: 0.6;
  }

  50% {
    transform: translate3d(2%, 0, 0);
    opacity: 0.9;
  }

  100% {
    transform: translate3d(-2%, 0, 0);
    opacity: 0.6;
  }
}

@keyframes sacred-ripple {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.18);
  }

  14% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.42);
  }
}

@media (max-width: 1100px) {
  .site-header__inner,
  .page-hero__inner,
  .section,
  .article,
  .site-footer__inner {
    width: min(calc(100% - var(--page-gutter-narrow)), var(--layout-wide));
  }

  .gallery-hub,
  .facts-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    gap: 0.7rem;
  }

  .site-footer__identity {
    max-width: none;
  }

  .site-footer__contact {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: 0.7rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--color-footer-copy-line);
  }

  .feature,
  .feature--reverse,
  .split-grid,
  .split-grid--wide,
  .timeline__body {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__media,
  .feature--reverse .feature__body {
    order: initial;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .timeline__date {
    padding-top: 0;
  }

  .kigan-support {
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    background: linear-gradient(180deg, var(--color-header-glass-top) 0%, var(--color-header-glass-mid) 58%, var(--color-header-glass-bottom) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(5, 14, 11, 0.1);
  }

  .site-brand__logo--light {
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
  }

  .site-brand__logo--dark {
    opacity: 0;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 4.1vw, 2.6rem);
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-header__panel {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.7rem);
    display: none;
    padding: 1rem 1.1rem 1.2rem;
    border: 1px solid rgba(207, 241, 238, 0.12);
    background: rgba(9, 22, 18, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .site-header__panel.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(207, 241, 238, 0.12);
  }

  .gallery-card__link {
    min-height: 19rem;
  }

  .map-frame iframe {
    min-height: 24rem;
  }

  .page-home .site-header {
    background: linear-gradient(180deg, var(--color-header-glass-top) 0%, var(--color-header-glass-mid) 58%, var(--color-header-glass-bottom) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(5, 14, 11, 0.1);
  }

  .page-yuisho .site-header:not(.is-scrolled),
  .page-kigan .site-header:not(.is-scrolled),
  .page-gyoji .site-header:not(.is-scrolled),
  .page-photo .site-header:not(.is-scrolled),
  .page-access .site-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(10, 34, 27, 0.58), rgba(13, 52, 42, 0));
    box-shadow: none;
  }

  .page-home .site-brand__logo--light {
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
  }

  .page-home .site-brand__logo--dark {
    opacity: 0;
  }

  .page-home .site-header__panel {
    border: 1px solid rgba(207, 241, 238, 0.12);
    background: rgba(9, 22, 18, 0.96);
    color: #fff;
    box-shadow: 0 24px 50px rgba(5, 14, 11, 0.22);
  }

  .page-home .site-nav a {
    border-bottom-color: rgba(207, 241, 238, 0.12);
  }
}

@media (max-width: 720px) {
  .page-yuisho .page-hero,
  .page-kigan .page-hero,
  .page-gyoji .page-hero,
  .page-access .page-hero,
  .page-photo .page-hero,
  .page-parking .page-hero,
  .page-gallery .page-hero,
  .page-article .page-hero {
    min-height: 18rem;
    padding-top: 5.4rem;
    padding-bottom: 2rem;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 6.5vw, 2.2rem);
  }

  .section,
  .article {
    margin-top: 3.2rem;
  }

  .photo-grid,
  .gallery-hub {
    grid-template-columns: 1fr;
  }

  .page-gallery [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-footer {
    margin-top: 2.8rem;
    padding: 0.98rem 0 0.62rem;
  }

  .site-footer__identity {
    align-items: flex-start;
    grid-template-columns: auto 1fr;
    gap: 0.72rem;
  }

  .site-footer__mark {
    width: 4.1rem;
  }

  .site-footer__contact {
    max-width: none;
    gap: 0.24rem;
    padding: 0.62rem 0 0;
  }

  .site-footer__eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .site-footer__brand {
    font-size: 1.42rem;
  }

  .site-footer__phone {
    font-size: 1.62rem;
  }

  .site-footer__address {
    font-size: 0.92rem;
    padding-bottom: 0.18rem;
  }

  .site-footer__copy {
    gap: 0.62rem;
    font-size: 0.74rem;
  }

  .site-footer__copy::before {
    width: min(calc(100% - var(--page-gutter-narrow)), 60rem);
  }

  .site-footer__contact-links {
    flex-direction: column;
    gap: 0.45rem;
  }

  .scroll-to-top {
    right: 18px;
    bottom: 18px;
  }
}

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

  .water-ripple {
    display: none !important;
  }
}

.page-home {
  --home-display: "Zen Old Mincho", "Shippori Mincho", "Yu Mincho", serif;
  --home-card: rgba(244, 250, 247, 0.9);
  --home-line: rgba(14, 25, 20, 0.12);
  --home-card-border: 1px solid var(--home-line);
  --home-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0)), var(--home-card);
  --home-panel-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0)), var(--home-card);
  --home-muted: #4f635d;
  --home-ink: #0f1814;
  --home-accent: #2e6569;
  background:
    radial-gradient(circle at 10% 8%, rgba(63, 106, 86, 0.14), transparent 22%),
    radial-gradient(circle at 86% 16%, rgba(123, 183, 180, 0.14), transparent 20%),
    linear-gradient(180deg, #eef5f0 0%, #e6efe9 42%, #dde8e1 100%);
}

.page-home .site-header {
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(10, 34, 27, 0.58), rgba(13, 52, 42, 0));
}

.page-home .site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.82) 0%, rgba(15, 18, 19, 0.74) 58%, rgba(26, 29, 30, 0.62) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(5, 14, 11, 0.07);
}

.page-home .site-brand__text {
  display: grid;
  gap: 0.1rem;
}

.page-home .site-brand__text strong {
  font-family: var(--home-display);
  font-size: 1.16rem;
  letter-spacing: 0.12em;
}

.page-home .site-brand__text small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.page-home .site-brand__logo--light {
  opacity: 1;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.page-home .site-brand__logo--dark {
  opacity: 0;
}

.page-home .site-header.is-scrolled .site-brand__logo--light {
  opacity: 1;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.page-home .site-header.is-scrolled .site-brand__logo--dark {
  opacity: 0;
}

.page-home .site-header.is-scrolled .site-brand__text small {
  color: rgba(255, 255, 255, 0.78);
}

.page-home main {
  padding-bottom: 0;
}

.page-home main::before {
  top: 24rem;
  height: 26rem;
  background:
    radial-gradient(circle at 22% 40%, rgba(156, 125, 67, 0.12), transparent 22%),
    radial-gradient(circle at 74% 56%, rgba(105, 139, 121, 0.14), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.page-home .section {
  margin-top: 3.5rem;
}

.page-home .section__header {
  max-width: 48rem;
  margin-bottom: 2.4rem;
}

.page-home .section__eyebrow {
  color: var(--home-accent);
}

.page-home .section__header h2 {
  font-family: var(--home-display);
  font-size: clamp(1.95rem, 3.5vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.page-home .section__header p {
  color: var(--home-muted);
}

.page-home .button--primary,
.page-home .button--primary:visited {
  border-color: rgba(46, 101, 105, 0.82);
  background: linear-gradient(135deg, rgba(34, 104, 98, 0.98), rgba(12, 57, 44, 0.98));
  color: #fff;
}

.page-home .button--primary:hover {
  background: linear-gradient(135deg, rgba(40, 120, 114, 1), rgba(17, 68, 53, 1));
  border-color: rgba(64, 137, 131, 1);
  color: #fff;
}

.page-home .button--ghost-light,
.page-home .button--ghost-light:visited {
  border-color: rgba(198, 234, 231, 0.34);
  background: rgba(205, 236, 233, 0.08);
  color: #fff;
}

.page-home .button--ghost-light:hover {
  border-color: rgba(198, 234, 231, 0.58);
  background: rgba(205, 236, 233, 0.14);
  color: #fff;
}

.page-home .button,
.home-entry-card strong,
.home-news-card strong,
.home-story__points h3,
.home-story__deities h3,
.home-prayer-card h3,
.home-season__intro h2,
.home-access__card h2 {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: balance;
}

.page-home .button {
  white-space: nowrap;
}

.home-entry-card strong,
.home-story__points h3,
.home-story__deities h3,
.home-prayer-card h3 {
  white-space: nowrap;
}

[data-ripple-surface] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

[data-ripple-tone="light"] {
  --ripple-line: rgba(205, 241, 237, 0.68);
  --ripple-glow: rgba(123, 183, 180, 0.2);
  --ripple-core: rgba(233, 252, 249, 0.28);
}

[data-ripple-tone="dark"] {
  --ripple-line: rgba(46, 101, 105, 0.22);
  --ripple-glow: rgba(123, 183, 180, 0.1);
  --ripple-core: rgba(123, 183, 180, 0.16);
}

.water-ripple {
  position: absolute;
  left: 0;
  top: 0;
  width: 12rem;
  height: 12rem;
  border: 1px solid var(--ripple-line, rgba(255, 255, 255, 0.38));
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--ripple-core, rgba(255, 255, 255, 0.18)) 0%, var(--ripple-glow, rgba(255, 255, 255, 0.08)) 36%, transparent 70%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 32px rgba(123, 183, 180, 0.1);
  transform: translate(-50%, -50%) scale(0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  animation: sacred-ripple var(--ripple-duration, 3400ms) cubic-bezier(0.18, 0.67, 0.2, 1) forwards;
}

.home-access__card > * {
  position: relative;
  z-index: 1;
}

.home-hero {
  position: relative;
  min-height: min(37svh, 20.5rem);
  padding: 3.6rem 0 1.2rem;
  overflow: hidden;
  background-color: #d6e0da;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 10, 0.12), rgba(6, 12, 10, 0.04) 24%, rgba(6, 12, 10, 0.68) 100%),
    linear-gradient(104deg, rgba(6, 20, 16, 0.72), rgba(6, 20, 16, 0.18) 42%, rgba(19, 67, 64, 0.18) 60%, rgba(7, 19, 15, 0.42)),
    radial-gradient(circle at 16% 24%, rgba(224, 247, 243, 0.18), transparent 18%),
    linear-gradient(120deg, rgba(123, 183, 180, 0.16), transparent 32%, rgba(255, 255, 255, 0.05) 52%, transparent 76%);
  z-index: 1;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(180deg, rgba(231, 224, 211, 0), rgba(231, 224, 211, 0.96));
  z-index: 1;
}

.home-hero__mist {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 4rem;
  height: 7rem;
  background:
    linear-gradient(90deg, transparent 0%, rgba(220, 247, 244, 0.16) 20%, rgba(123, 183, 180, 0.18) 40%, rgba(220, 247, 244, 0.12) 56%, rgba(123, 183, 180, 0.14) 72%, transparent 100%);
  filter: blur(12px);
  opacity: 0.86;
  transform: skewX(-20deg);
  pointer-events: none;
  animation: water-drift 22s linear infinite;
}

.home-hero__inner {
  width: min(calc(100% - var(--page-gutter)), 1240px);
  margin: 0 auto;
}

.home-hero__mist,
.home-hero__inner {
  position: relative;
  z-index: 2;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(16rem, 21.5rem);
  gap: 1.35rem;
  align-items: center;
}

.home-hero__content {
  max-width: 39rem;
  color: #fff;
}

.home-hero__eyebrow,
.home-hero__aside-label,
.home-entry-card__eyebrow,
.home-news-card__meta,
.home-prayer__visual-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.home-hero__eyebrow {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.8rem;
  margin: 0 0 1rem;
  border: 1px solid rgba(205, 241, 237, 0.18);
  border-radius: 999px;
  background: rgba(205, 241, 237, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.home-hero h1 {
  margin: 0;
  font-family: var(--home-display);
  font-size: clamp(2.1rem, 3.8vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0.05em;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.home-hero__lead {
  max-width: 31rem;
  margin: 1.1rem 0 0;
  padding-left: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.7;
}

.button-row--hero {
  margin-top: 1.35rem;
}

.button-row--hero .button,
.button-row--hero .button:visited {
  min-height: 2.65rem;
  padding: 0.68rem 1rem;
  font-size: 0.94rem;
}

.home-hero__aside {
  display: grid;
  grid-template-columns: auto 1fr;
  align-self: start;
  margin-top: 1.45rem;
  min-height: 16.5rem;
  overflow: hidden;
  border: 1px solid rgba(207, 241, 238, 0.12);
  background: linear-gradient(180deg, rgba(8, 20, 16, 0.9), rgba(13, 38, 31, 0.76));
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.home-hero__aside-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem 0.75rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(115, 128, 82, 0.28), rgba(46, 101, 105, 0.2));
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--home-display);
  font-size: 1.18rem;
  letter-spacing: 0.14em;
}

.home-hero__aside-body {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem 1.1rem;
  color: #fff;
}

.home-hero__aside-label {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mincho);
  font-size: 1rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: none;
}

.home-hero__facts {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.home-hero__facts div {
  padding: 0.65rem 0 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero__facts div:first-child {
  border-top: 0;
  padding-top: 0;
}

.home-hero__facts dt {
  margin-bottom: 0.22rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.home-hero__facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-hero__facts a {
  color: inherit;
  text-decoration: none;
}

.section--home-intro {
  margin-top: 6.4rem;
}

.home-story__panel,
.home-entry-card,
.home-ritual-card,
.home-prayer__content {
  border: var(--home-card-border);
  box-shadow: var(--shadow-edge);
}

.home-entry-card,
.home-ritual-card,
.home-prayer__content {
  background: var(--home-panel);
}

.home-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 1.7rem;
}

.home-story__panel {
  min-width: 0;
  display: grid;
  gap: 1.4rem;
  padding: 2rem;
  background: var(--home-panel-soft);
}

.home-story__lead {
  margin: 0;
  color: var(--home-muted);
  font-size: 1.02rem;
}

.home-story__quote {
  margin: 0;
  padding: 1.2rem 1.3rem;
  border-left: 2px solid var(--home-accent);
  background: rgba(46, 101, 105, 0.06);
  color: var(--home-ink);
  font-family: var(--home-display);
  font-size: 1.05rem;
  line-height: 1.82;
}

.home-story__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-story__points article {
  padding: 1rem;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.52);
}

.home-story__points span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--home-accent);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.home-story__points h3,
.home-entry-card strong,
.home-ritual-card h3,
.home-prayer-card h3,
.home-news-card strong,
.home-access__card h2 {
  margin: 0;
  font-family: var(--home-display);
  font-weight: 700;
}

.home-story__points h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  line-height: 1.38;
  letter-spacing: 0.02em;
}

.home-story__points p,
.home-entry-card__body span:last-child,
.home-ritual-card p,
.home-prayer-card li,
.home-news-card p,
.home-access__copy {
  margin: 0;
  color: var(--home-muted);
}

.home-story__media {
  min-width: 0;
  display: grid;
  gap: 1rem;
}

.home-story__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  box-shadow: var(--shadow-edge);
}

.home-story__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-story__deities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-story__deities article {
  padding: 1rem;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.58);
}

.home-story__deities h3 {
  margin: 0 0 0.4rem;
  font-family: var(--home-display);
  font-size: 1.08rem;
  line-height: 1.4;
}

.home-story__deities p {
  margin: 0;
  color: var(--home-muted);
}

.section--home-guides {
  margin-top: 5rem;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-entry-card {
  display: grid;
  overflow: hidden;
  color: var(--home-ink);
  text-decoration: none;
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.home-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 33, 31, 0.22);
  box-shadow: 0 24px 48px rgba(11, 25, 19, 0.12);
}

.home-entry-card__media {
  overflow: hidden;
}

.home-entry-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
  transition: transform 560ms ease;
}

.home-entry-card:hover .home-entry-card__media img {
  transform: scale(1.05);
}

.home-entry-card__body {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem;
}

.home-entry-card__eyebrow {
  color: var(--home-accent);
  letter-spacing: 0.12em;
  text-transform: none;
}

.home-entry-card strong {
  font-size: 1.62rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.section--home-season {
  margin-top: 5.4rem;
}

.home-season {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.4rem;
  align-items: stretch;
}

.home-season__intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem;
  border: var(--home-card-border);
  background: var(--home-panel-soft);
  box-shadow: var(--shadow-edge);
}

.home-season__intro h2 {
  margin: 0;
  font-family: var(--home-display);
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1.22;
  letter-spacing: 0.04em;
}

.home-season__intro p {
  margin: 1rem 0 0;
  color: var(--home-muted);
}

.home-season__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.home-season__tags li {
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--home-ink);
  font-size: 0.86rem;
}

.home-season__tags a {
  color: inherit;
  text-decoration: none;
}

.home-season__intro .button {
  margin-top: auto;
  align-self: flex-start;
}

.home-season__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-season__figure {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-edge);
}

.home-season__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 9, 0.08), rgba(6, 11, 9, 0.6) 100%);
}

.home-season__figure--wide {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

.home-season__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 620ms ease;
}

.home-season__figure:hover img {
  transform: scale(1.04);
}

.home-season__figure span {
  position: absolute;
  left: 1rem;
  bottom: 0.95rem;
  z-index: 1;
  font-family: var(--home-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.home-ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-ritual-card {
  padding: 1.35rem;
}

.home-ritual-card__date {
  margin: 0 0 0.95rem;
  color: var(--home-accent);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-ritual-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
  line-height: 1.28;
  letter-spacing: 0.04em;
}

.section--home-prayer {
  margin-top: 5.5rem;
}

.home-prayer {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.4rem;
  align-items: stretch;
}

.home-prayer__visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  box-shadow: var(--shadow-edge);
}

.home-prayer__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 8, 0.04), rgba(5, 10, 8, 0.64));
}

.home-prayer__visual img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
}

.home-prayer__visual-card {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  max-width: 18rem;
  padding: 1.1rem 1.2rem;
  background: rgba(7, 23, 19, 0.8);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.home-prayer__visual-label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.12em;
  text-transform: none;
}

.home-prayer__visual-card p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.home-prayer__content {
  display: grid;
  gap: 1.35rem;
  padding: 1.7rem;
}

.home-prayer__content > * {
  min-width: 0;
}

.home-prayer__content .section__header {
  max-width: 40rem;
  margin-bottom: 0.2rem;
}

.home-prayer__content .section__header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
  line-height: 1.2;
}

.home-prayer__content .section__header p:last-child {
  max-width: 36rem;
}

.home-prayer__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-prayer__cards > * {
  min-width: 0;
}

.home-prayer-card {
  padding: 1rem;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.56);
}

.home-prayer-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.12rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.home-prayer-card ul {
  display: grid;
  gap: 0.45rem;
  margin-top: 0;
}

.home-prayer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  align-items: baseline;
  padding-top: 1rem;
  border-top: 1px solid var(--home-line);
}

.home-prayer__contact span {
  color: var(--home-muted);
}

.home-prayer__contact a {
  font-family: var(--home-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.section--home-news {
  margin-top: 3.4rem;
}

.home-news__header {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.home-news__header h2 {
  font-size: clamp(2.55rem, 3.5vw, 4.25rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
}

.home-news__header p {
  text-wrap: pretty;
}

.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 1rem;
  align-items: stretch;
}

.home-news-card {
  display: grid;
  min-height: 100%;
  border: 1px solid rgba(14, 25, 20, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0)),
    rgba(243, 247, 244, 0.94);
  color: var(--home-ink);
  text-decoration: none;
  box-shadow: var(--shadow-edge);
  transition: transform var(--motion-base), border-color var(--motion-base), box-shadow var(--motion-base);
}

.home-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 101, 105, 0.22);
  box-shadow: 0 24px 48px rgba(11, 25, 19, 0.12);
}

.home-news-card__body {
  display: grid;
  gap: 0.72rem;
  min-width: 0;
  padding: 1.5rem 1.45rem;
}

.home-news-card__meta {
  color: var(--home-accent);
}

.home-news-card strong {
  font-size: 1.3rem;
  line-height: 1.38;
  letter-spacing: 0.04em;
}

.home-news-card p {
  margin: 0;
  color: var(--home-muted);
}

.home-news-card__image {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.home-news-card__image img {
  width: 100%;
  height: 100%;
  min-height: 21rem;
  object-fit: cover;
}

.home-news-card--feature {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-news-card--feature .home-news-card__image {
  position: absolute;
  inset: 0;
}

.home-news-card--feature .home-news-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 15, 12, 0.04), rgba(6, 24, 20, 0.82)),
    linear-gradient(135deg, rgba(46, 101, 105, 0.12), transparent 48%);
}

.home-news-card--feature .home-news-card__body {
  position: relative;
  z-index: 1;
  align-content: end;
  min-height: 100%;
  padding: 1.45rem;
}

.home-news-card--feature .home-news-card__meta,
.home-news-card--feature p {
  color: rgba(255, 255, 255, 0.8);
}

.home-news-list {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.home-news-item {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(14, 25, 20, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
    rgba(245, 249, 246, 0.96);
  color: var(--home-ink);
  text-decoration: none;
  box-shadow: var(--shadow-edge);
  transition: transform var(--motion-base), border-color var(--motion-base), box-shadow var(--motion-base);
}

.home-news-item:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 101, 105, 0.24);
  box-shadow: 0 24px 48px rgba(11, 25, 19, 0.1);
}

.home-news-item__meta {
  color: var(--home-accent);
  font-size: 0.83rem;
  letter-spacing: 0.08em;
}

.home-news-item strong {
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.home-news__fallback {
  margin-top: 1rem;
  color: var(--home-muted);
}

.section--home-access {
  margin-top: 5.8rem;
}

.home-access {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: 1.3rem;
  align-items: stretch;
}

.home-access__card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(7, 19, 15, 0.98), rgba(15, 51, 41, 0.96));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.home-access__card .section__eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.home-access__card h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.home-access__address {
  margin: 1.2rem 0 0;
  font-style: normal;
  color: rgba(255, 255, 255, 0.84);
}

.home-access__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.home-access__facts div {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-access__facts dt {
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-access__facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.72;
}

.home-access__facts a {
  color: #fff;
  text-decoration: none;
}

.home-access__copy {
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.home-access__gallery {
  display: grid;
  gap: 1rem;
}

.home-access__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-edge);
}

.page-home .site-footer {
  margin-top: 2rem;
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 1.1rem),
    linear-gradient(135deg, rgba(84, 120, 126, 0.16), rgba(84, 120, 126, 0.05) 34%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, var(--color-splash-bg-top) 0%, var(--color-footer-bg) 54%, var(--color-splash-bg-bottom) 100%);
  padding-top: 0.68rem;
}

.page-home .site-footer__inner {
  align-items: center;
}

.page-home .site-footer__copy {
  padding-bottom: 0;
}

@media (max-width: 1360px) {
  .home-story {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.9fr);
    gap: 1.35rem;
  }

  .home-story__points,
  .home-story__deities,
  .home-prayer__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-story__points > :last-child,
  .home-story__deities > :last-child,
  .home-prayer__cards > :last-child {
    grid-column: 1 / -1;
  }

  .home-story__deities {
    gap: 0.8rem;
  }
}

@media (max-width: 1200px) {
  .home-hero__grid,
  .home-season,
  .home-prayer,
  .home-access {
    grid-template-columns: 1fr;
  }

  .home-hero__content {
    max-width: 100%;
  }

  .home-hero__aside {
    margin-top: 0;
  }

  .home-story {
    grid-template-columns: 1fr;
  }

  .home-entry-grid,
  .home-ritual-grid,
  .home-access__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prayer-group-list--feature,
  .application-grid,
  .home-prayer__cards,
  .home-story__points,
  .home-story__deities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-hero__inner {
    width: min(calc(100% - var(--page-gutter-narrow)), 1240px);
  }

  .home-hero {
    min-height: min(50svh, 26rem);
    padding-top: 4.1rem;
    padding-bottom: 2.2rem;
  }

  .home-hero h1 {
    font-size: clamp(2.15rem, 8.7vw, 3.35rem);
  }

  .home-hero__lead {
    max-width: 28rem;
  }

  .home-hero__aside {
    display: none;
  }

  .home-entry-grid,
  .home-season__gallery,
  .home-ritual-grid,
  .home-news-layout,
  .home-news-list,
  .prayer-group-list--feature,
  .application-grid,
  .home-prayer__cards,
  .home-story__points,
  .home-story__deities,
  .home-access__facts {
    grid-template-columns: 1fr;
  }

  .home-news-card--feature {
    grid-row: auto;
  }

  .home-entry-card__media img {
    aspect-ratio: 16 / 11;
  }

  .home-season__figure--wide {
    grid-column: auto;
  }

}

@media (max-width: 720px) {
  .page-home .section {
    margin-top: 4rem;
  }

  .home-hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .home-hero h1 {
    font-size: clamp(1.95rem, 11.8vw, 1.8rem);
  }

  .home-hero__badge {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .home-hero__lead {
    font-size: 0.9rem;
  }

  .button-row--hero .button,
  .button-row--hero .button:visited {
    min-height: 2.5rem;
    padding: 0.62rem 0.92rem;
    font-size: 0.9rem;
  }

  .home-hero__aside {
    grid-template-columns: 1fr;
  }

  .home-hero__aside-mark {
    writing-mode: horizontal-tb;
    justify-content: flex-start;
    padding: 1rem 1.2rem 0;
    border-left: 0;
    background: transparent;
    font-size: 1rem;
    letter-spacing: 0.16em;
  }

  .home-story__panel,
  .home-season__intro,
  .home-prayer__content,
  .home-access__card,
  .application-card {
    padding: 1.5rem;
  }

  .section--kigan-apply {
    padding: 1.5rem 1rem 1.2rem;
  }

  .prayer-group--iconic {
    padding: 1.55rem 1.25rem 1.2rem;
    border-radius: 1.1rem;
  }

  .prayer-group--iconic::after {
    top: 0.7rem;
    right: 0.7rem;
    font-size: 4.2rem;
  }

  .prayer-group__eyebrow {
    letter-spacing: 0.2em;
  }

  .prayer-group--iconic h3 {
    font-size: 1.42rem;
  }

  .prayer-group__lead {
    margin-top: 0.7rem;
    padding-bottom: 0.85rem;
  }

  .home-access__gallery {
    grid-template-columns: 1fr;
  }

  .home-news-card__image img {
    min-height: 15rem;
  }

  .page-home .site-footer {
    margin-top: 3rem;
  }
}

body.is-splash-active .site-header {
  opacity: 0;
  pointer-events: none;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.16), transparent 20%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(180deg, var(--color-splash-bg-top) 0%, var(--color-splash-bg-mid) 56%, var(--color-splash-bg-bottom) 100%);
  opacity: 1;
  transition: opacity 3.45s ease;
}

.splash.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  display: grid;
  justify-items: center;
  width: clamp(15.5rem, 32vw, 19rem);
  gap: 0.56rem;
}

.splash-logo,
.splash-text {
  opacity: 0;
}

.splash-logo {
  width: clamp(94px, 16vw, 156px);
  margin: 0 auto;
  filter: var(--filter-crest-splash) drop-shadow(0 10px 20px rgba(183, 222, 230, 0.18));
  animation: home-splash-fade-in 1.45s ease 0.65s forwards;
}

.splash-text {
  margin: 0 0 -0.18rem;
  color: var(--color-splash-text);
  font-family: var(--font-mincho);
  font-size: clamp(0.94rem, 1.95vw, 1.18rem);
  letter-spacing: 0.18em;
  justify-self: center;
  text-align: center;
  transform: translateX(-1.02rem);
  animation: home-splash-fade-in 1.45s ease 0.65s forwards;
}

.splash-note {
  margin: 0.4rem 0 0;
  opacity: 0;
  color: var(--color-splash-note);
  font-family: var(--font-mincho);
  font-size: clamp(0.86rem, 1.56vw, 1.06rem);
  line-height: 1.75;
  letter-spacing: 0.12em;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.04rem;
  animation: home-splash-fade-in 1.45s ease 0.65s forwards;
}

.splash-note-line {
  display: block;
  white-space: nowrap;
  opacity: 1;
  clip-path: none;
  filter: none;
}

.page-home .site-header {
  color: #fff;
  backdrop-filter: blur(0);
}

.page-home .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(18, 29, 29, 0.14), rgba(18, 29, 29, 0));
  box-shadow: none;
}

.page-home .site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.82) 0%, rgba(15, 18, 19, 0.74) 58%, rgba(26, 29, 30, 0.62) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(5, 14, 11, 0.07);
  backdrop-filter: blur(18px);
}

.page-home .site-brand__logo--light {
  opacity: 1;
  filter: brightness(1.12) saturate(0.18) drop-shadow(0 10px 20px rgba(255, 255, 255, 0.12));
}

.page-home .site-brand__logo--dark {
  opacity: 0;
}

.page-home .site-header.is-scrolled .site-brand__logo--light {
  opacity: 1;
  filter: brightness(1.04) saturate(0.15) drop-shadow(0 10px 20px rgba(255, 255, 255, 0.08));
}

.page-home .site-header.is-scrolled .site-brand__logo--dark {
  opacity: 0;
}

.page-home .site-header.is-scrolled .site-brand__text small {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .site-header.is-scrolled .menu-toggle {
  background: rgba(255, 255, 255, 0.06);
}

.page-home main::before {
  top: 38rem;
  height: 34rem;
}

.page-home .section {
  margin-top: clamp(4.5rem, 8vw, 6rem);
}

.page-home .home-hero + .section {
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

.page-home [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-home [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-title,
.hero-subtitle,
.hero-cta,
.hero-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

body.first-visit .hero-title,
body.first-visit .hero-subtitle,
body.first-visit .hero-cta,
body.first-visit .hero-panel {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  filter: blur(6px);
}

body.first-visit:not(.hero-visual-ready) .home-hero__media,
body.first-visit:not(.hero-visual-ready) .home-hero__mist,
body.first-visit:not(.hero-visual-ready) .home-hero::before,
body.first-visit:not(.hero-visual-ready) .home-hero::after {
  opacity: 0;
}

body.first-visit:not(.hero-visual-ready) .home-hero {
  opacity: 0;
}

body.first-visit.hero-sequence-ready .hero-title,
body.first-visit.hero-sequence-ready .hero-subtitle,
body.first-visit.hero-sequence-ready .hero-cta {
  animation: home-hero-fade-in 1.0s linear 0s forwards;
}

body.first-visit.hero-sequence-ready .hero-panel {
  animation: home-hero-fade-in 1.0s linear 0s forwards;
}

body.first-visit .home-hero + .section {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

body.first-visit.hero-sequence-ready .home-hero + .section {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 1.15s;
}

.home-hero {
  min-height: min(72svh, 39rem);
  padding: 6.2rem 0 2.2rem;
  overflow: clip;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.home-hero__media {
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.95s ease;
}

.home-hero__media-base,
.home-hero__slides,
.home-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__media-base,
.home-hero__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.home-hero__media-base {
  object-position: center 44%;
  transform: scale(1.02);
  animation: home-hero-base-pan 42s ease-in-out infinite alternate;
}

.home-hero__slide {
  opacity: 0;
  transform: scale(1.05);
  animation: home-hero-overlay 42s linear infinite;
}

body.first-visit:not(.hero-visual-ready) .home-hero__media-base,
body.first-visit:not(.hero-visual-ready) .home-hero__slide {
  animation-play-state: paused;
}

.home-hero__slide--everyday-2219 {
  animation-delay: 6s;
  object-position: center center;
}

.home-hero__slide--everyday-2226 {
  animation-delay: 12s;
  object-position: center center;
}

.home-hero__slide--everyday-2213 {
  animation-delay: 18s;
  object-position: center center;
}

.home-hero__slide--everyday-2233 {
  animation-delay: 24s;
  object-position: center center;
}

.home-hero__slide--chinowa {
  animation-delay: 30s;
  object-position: center 48%;
}

.home-hero__slide--festival {
  animation-delay: 36s;
  object-position: center center;
}

.home-hero::before {
  background:
    linear-gradient(180deg, rgba(8, 13, 14, 0.03), rgba(8, 13, 14, 0.01) 24%, rgba(8, 13, 14, 0.22) 100%),
    linear-gradient(104deg, rgba(9, 18, 20, 0.18), rgba(9, 18, 20, 0.02) 42%, rgba(242, 246, 247, 0.16) 62%, rgba(9, 18, 20, 0.06)),
    radial-gradient(circle at 16% 24%, rgba(252, 253, 253, 0.34), transparent 19%),
    linear-gradient(120deg, rgba(247, 250, 250, 0.18), transparent 34%, rgba(255, 255, 255, 0.1) 54%, transparent 78%);
  opacity: 1;
  transition: opacity 0.95s ease;
}

.home-hero::after {
  height: 4.75rem;
  opacity: 1;
  transition: opacity 0.95s ease;
}

.home-hero__mist {
  left: -10%;
  right: -10%;
  bottom: 3.25rem;
  height: 6.25rem;
  background:
    radial-gradient(ellipse at 50% 42%,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(246, 248, 249, 0.16) 24%,
      rgba(235, 241, 242, 0.1) 46%,
      transparent 72%);
  filter: blur(14px);
  opacity: 0.56;
  z-index: 2;
  transition: opacity 0.95s ease;
}

.home-hero__grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(19.75rem, 23rem);
  gap: clamp(1.5rem, 4vw, 2.6rem);
  align-items: end;
}

.home-hero__inner {
  z-index: 3;
}

.home-hero__content {
  max-width: 41rem;
  padding-bottom: 0;
}

.home-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 4.6rem);
  line-height: 1.08;
  white-space: nowrap;
  text-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.home-hero__lead {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.96rem;
  line-height: 1.9;
}

.button-row--hero {
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.button-row--hero .button,
.button-row--hero .button:visited {
  min-height: 2.9rem;
  padding: 0.78rem 1.14rem;
}

.home-hero__aside {
  position: relative;
  align-self: end;
  margin-top: 0;
  inset-inline-end: clamp(1.25rem, 2.6vw, 2.5rem);
  min-height: 18rem;
  border-radius: 1.35rem;
  border-color: rgba(207, 241, 238, 0.18);
  background: linear-gradient(180deg, rgba(8, 20, 16, 0.86), rgba(13, 38, 31, 0.72));
  box-shadow: 0 32px 56px rgba(0, 0, 0, 0.2);
}

.home-hero__aside-mark {
  background: linear-gradient(180deg, rgba(115, 128, 82, 0.34), rgba(46, 101, 105, 0.22));
}

@keyframes home-splash-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes home-splash-note-in {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

@keyframes home-hero-rise {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes home-hero-fade-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    filter: blur(6px);
  }

  18% {
    opacity: 0.1;
    filter: blur(5px);
  }

  38% {
    opacity: 0.28;
    filter: blur(4px);
  }

  58% {
    opacity: 0.5;
    filter: blur(2px);
  }

  78% {
    opacity: 0.74;
    filter: blur(1px);
  }

  92% {
    opacity: 0.9;
    filter: blur(0.3px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes home-hero-base-pan {
  0% {
    transform: scale(1.02) translate3d(-0.6%, 0, 0);
  }

  50% {
    transform: scale(1.08) translate3d(1.2%, -1%, 0);
  }

  100% {
    transform: scale(1.05) translate3d(-1%, 1%, 0);
  }
}

@keyframes home-hero-overlay {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }

  3% {
    opacity: 1;
  }

  14% {
    opacity: 1;
    transform: scale(1.1);
  }

  17% {
    opacity: 0;
    transform: scale(1.14);
  }

  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@media (max-width: 1200px) {
  .home-hero {
    min-height: min(66svh, 35rem);
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 18.5rem);
    gap: clamp(0.85rem, 1.7vw, 1.2rem);
  }

  .home-hero__content {
    max-width: min(100%, 33rem);
  }

  .home-hero__lead {
    max-width: 100%;
  }

  .home-hero__aside {
    inset-inline-end: clamp(0.75rem, 1.6vw, 1.25rem);
    justify-self: stretch;
    width: auto;
    min-height: 16rem;
  }

  .home-hero__aside-mark {
    padding: 0.85rem 0.55rem;
    font-size: 1rem;
  }

  .home-hero__aside-body {
    padding: 0.95rem 0.9rem;
  }
}

@media (max-width: 980px) {
  .page-home .site-header__panel {
    border: 1px solid rgba(207, 241, 238, 0.12);
    background: rgba(9, 22, 18, 0.96);
    color: #fff;
    box-shadow: 0 24px 50px rgba(5, 14, 11, 0.22);
  }

  .page-home .site-nav a {
    border-bottom-color: rgba(207, 241, 238, 0.12);
  }

  .home-hero {
    min-height: min(54svh, 24rem);
    padding-top: 5.4rem;
    padding-bottom: 1.15rem;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-hero h1 {
    font-size: clamp(1.65rem, 5.2vw, 2.9rem);
    line-height: 1.12;
  }

  .home-hero__content {
    max-width: min(100%, 46rem);
    padding-bottom: 0;
  }

  .home-hero__lead {
    max-width: 100%;
    font-size: clamp(0.88rem, 1.45vw, 0.96rem);
  }

  .button-row--hero {
    flex-wrap: nowrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
  }
}

@media (min-width: 901px) and (max-width: 980px) {
  .page-home .menu-toggle {
    display: none;
  }

  .page-home .site-header__panel,
  .page-home .site-header__panel.is-open {
    position: static;
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
  }

  .page-home .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.3rem;
  }

  .page-home .site-nav a {
    padding: 0.25rem 0;
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .splash-logo {
    width: clamp(86px, 34vw, 132px);
  }

  .splash-text {
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    margin-bottom: -0.1rem;
    transform: translateX(-0.52rem);
  }

  .splash-note {
    font-size: 0.88rem;
    letter-spacing: 0.14em;
  }

  .home-hero {
    min-height: min(52svh, 22rem);
    padding-top: 4.9rem;
    padding-bottom: 1.25rem;
  }

  .home-hero h1 {
    font-size: clamp(1.28rem, 5.8vw, 1.9rem);
    line-height: 1.14;
    letter-spacing: 0.03em;
  }

  .home-hero__lead {
    max-width: 100%;
    margin-top: 1.2rem;
    padding-left: 0.85rem;
    font-size: clamp(0.78rem, 3vw, 0.9rem);
    line-height: 1.8;
  }

  .button-row--hero {
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    margin-top: 0.9rem;
    gap: 0.5rem;
  }

  .button-row--hero .button,
  .button-row--hero .button:visited {
    flex: 0 0 auto;
    width: auto;
    min-height: 2.15rem;
    min-width: 0;
    padding: 0.48rem 0.78rem;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
  }

  .home-news__header p {
    font-size: 0.94rem;
    line-height: 1.7;
  }
}
