:root {
  color-scheme: light;
  --paper: #fbf9f4;
  --wash: #efeee4;
  --green: #253d31;
  --ink: #242b25;
  --muted: #505c51;
  --line: #d7d8cb;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS PMincho", serif;
  --sans: "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.8 var(--sans); }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, button:focus-visible { outline: 3px solid #84502b; outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--green); font-family: var(--serif); line-height: 1.45; overflow-wrap: anywhere; }
h1, h2, h3, h4, p { margin-block-start: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 4rem); margin-bottom: 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); margin-bottom: .45em; }
h3 { font-size: 1.4rem; margin-bottom: .5em; }
address { font-style: normal; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.skip-link { position: fixed; z-index: 2; left: 1rem; top: 1rem; padding: .5rem 1rem; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { max-width: 90rem; min-height: 5.25rem; padding: .75rem clamp(1rem, 4vw, 3.75rem); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: grid; text-decoration: none; line-height: 1.35; flex: none; }
.brand span { font-size: .65rem; letter-spacing: .17em; }
.brand strong { font: 700 clamp(1.25rem, 2vw, 1.6rem)/1.45 var(--serif); letter-spacing: .1em; }
.brand rt, .footer-name rt { font-size: .5em; font-weight: 400; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem clamp(.65rem, 1.7vw, 1.5rem); }
.site-nav a { font-size: .86rem; font-weight: 700; padding: .45rem 0; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-color: var(--green); }
.menu-toggle { display: none; color: var(--green); border: 1px solid var(--line); background: transparent; border-radius: .2rem; padding: .4rem .7rem; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(24rem, 39vw, 42rem); background: var(--green); }
.hero-copy { grid-area: 1 / 1; z-index: 1; justify-self: start; padding: clamp(1.5rem, 5.5vw, 6rem); color: white; pointer-events: none; }
.eyebrow { color: var(--muted); margin-bottom: .8rem; font-size: .76rem; font-weight: 700; letter-spacing: .15em; }
.hero h1 { color: inherit; font-size: clamp(2.6rem, 5.7vw, 6.25rem); letter-spacing: .045em; line-height: 1.16; }
.hero-lead { margin: .8rem 0 1.65rem; font: 700 clamp(1.4rem, 3vw, 3rem)/1.4 var(--serif); }
.hero .button { border: 1px solid white; padding: .7rem 1.5rem; background: #203428; pointer-events: auto; }
.hero .button:hover { background: #3b5948; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .66rem 1rem; background: var(--green); color: white; text-decoration: none; font-weight: 700; border-radius: .18rem; }
.button:hover { background: #3b5948; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { position: absolute; bottom: 0; width: 100%; height: 145%; object-fit: cover; object-position: center bottom; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 29, 17, .86), rgba(10, 29, 17, .57) 47%, transparent 83%); pointer-events: none; }
.season-controls { position: absolute; bottom: 1rem; right: 1rem; display: flex; gap: .2rem; padding: .25rem; border-radius: .25rem; background: var(--paper); }
.season-controls { z-index: 2; }
.season-controls button { min-height: 2.5rem; padding: .2rem .7rem; border: 0; border-radius: .12rem; background: transparent; color: var(--green); font-size: .8rem; }
.season-controls button[aria-pressed="true"] { background: var(--green); color: white; }
.home-news { max-width: 67rem; padding-block: clamp(2.5rem, 4vw, 4rem); }
.home-news h2 { display: flex; align-items: center; gap: clamp(.6rem, 3vw, 2.5rem); text-align: center; margin-bottom: 1.4rem; }
.home-news h2::before, .home-news h2::after { content: ""; flex: 1; border-top: 1px solid #a0aa96; }
.home-news .story-list a { display: flex; justify-content: space-between; align-items: baseline; padding: .85rem .65rem; }
.home-news .story-list a > span:nth-child(2) { order: -1; font-family: var(--serif); font-weight: 700; }
.home-news .story-list .row-arrow { display: none; }
.home-news time { flex: none; }
.home-news > p { margin: 1rem 0 0; text-align: right; }
.text-link { font-size: .9rem; font-weight: 700; }
.story-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.story-list li { border-bottom: 1px solid var(--line); }
.story-list a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 1.25rem; gap: .75rem; align-items: baseline; padding: .8rem .25rem; text-decoration: none; }
.story-list a:hover { background: var(--wash); }
time { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.row-arrow { text-align: end; }
.soft-band { background: var(--wash); }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; column-gap: 1.2rem; margin-bottom: .6rem; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.25rem; }
.event-card { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); }
.event-card:hover strong { text-decoration: underline; }
.event-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.event-copy { padding: .8rem 1rem; }
.event-season { display: block; font-size: .75rem; color: var(--muted); }
.event-copy strong { display: block; line-height: 1.5; }
.event-copy p { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }
.related-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.home-visit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.about-teaser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-intro { background: var(--wash); padding: 1rem 0 clamp(1.8rem, 4vw, 3rem); }
.breadcrumbs { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; margin-bottom: 1.4rem; }
.subpage-trail { padding-block: .55rem; font-size: .82rem; color: var(--muted); }
.subpage-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(13rem, 25vw, 22rem); overflow: hidden; background: var(--green); }
.subpage-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; z-index: -2; }
.subpage-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0a1d11ec, #0a1d1140 78%); }
.subpage-title { padding-block: 1.8rem clamp(1.8rem, 4vw, 3rem); }
.subpage-title h1, .subpage-title .eyebrow { color: #fff; }
.subpage-title .eyebrow { margin-bottom: .5rem; }
.subpage-list, .subpage-prose { max-width: 58rem; }
.about-content dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; margin: 1rem 0 2rem; }
.about-content dl > div { background: var(--wash); border-top: 2px solid #6c7d62; padding: .85rem 1rem; }
.about-content dt { font-size: .85rem; color: var(--muted); }
.about-content dd { margin: .2rem 0 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.about-content h2 { margin-top: 1.5rem; }
.about-content p { line-height: 1.9; }
.about-contact img, .about-contact address { margin-bottom: .75rem; }
.subpage-list .story-list a { padding-inline: .65rem; }
.topics-news-list details { border-bottom: 1px solid var(--line); }
.topics-news-list summary { padding: .85rem .65rem; cursor: pointer; }
.topics-news-body { padding: 0 .65rem .85rem; overflow-wrap: anywhere; }
.topics-news-body p { white-space: pre-wrap; }
.topics-news-body img { max-width: 100%; height: auto; margin-block: .65rem; }
.topics-more { margin-top: 1rem; }
.subpage-list .story-list a > span:nth-child(2) { font-family: var(--serif); font-weight: 700; }
.festival-schedule, .visit-details { background: var(--wash); border-left: 3px solid #6c7d62; padding: clamp(1rem, 3vw, 2rem); margin-bottom: 1.75rem; }
.festival-schedule h2, .visit-details h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.festival-schedule ul { padding-inline-start: 1.3em; }
.festival-schedule p:last-child, .visit-details p:last-child { margin-bottom: 0; }
.prose { max-width: 54rem; overflow-wrap: anywhere; }
.prose h2:not(:first-child), .prose h3, .prose h4 { margin-top: 1.6em; }
.prose p { margin-bottom: .95em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: .75rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--wash); text-align: start; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { margin-top: .4rem; font-size: .85rem; color: var(--muted); }
.archive-note { border-left: 3px solid #6c7d62; background: var(--wash); padding: .7rem 1rem; margin-block: .7rem 1.35rem; }
.article-text { margin-block: .65rem; }
.annual-schedule { list-style: none; padding: 0; margin: .75rem 0 1.5rem; border-top: 2px solid var(--green); }
.annual-schedule li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .25rem 1.25rem; border-bottom: 1px solid var(--line); padding: .7rem .85rem; }
.annual-schedule li:nth-child(odd) { background: var(--wash); }
.annual-schedule strong { color: var(--green); }
.annual-hours { display: inline-block; margin-inline-start: .65em; white-space: nowrap; }
@media (max-width: 38rem) {
  .annual-schedule li { grid-template-columns: minmax(0, 1fr); }
}
.article-column { max-width: 49rem; }
.article-header { background: var(--wash); border-bottom: 1px solid var(--line); padding-block: .75rem clamp(1rem, 2.4vw, 1.75rem); }
.article-header h1 { font-size: clamp(1.85rem, 4vw, 3.4rem); margin-bottom: .55rem; }
.article-header--topic h1 { font-size: clamp(1.125rem, 2.1vw, 1.625rem); }
.article-trail { margin-bottom: .65rem; font-size: .85rem; color: var(--muted); }
.article-column.section { padding-block: clamp(1rem, 2.6vw, 2rem); }
.article-column > :first-child { margin-top: 0; }
.article-column .archive-note, .article-schedule { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 0 0 .65rem; margin-block: 0 .85rem; font-size: .9rem; }
.article-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .85rem; margin-block: .8rem; }
.article-photos figure { margin: 0; }
.article-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--wash); }
.article-photos figcaption { margin-top: .25rem; }
.article-footer { border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: .85rem; }
.road-steps { padding-inline-start: 1.6rem; }
.road-steps li { margin-bottom: 2rem; padding-inline-start: .3rem; }
.road-steps li::marker { color: var(--green); font-weight: 700; font-size: 1.25rem; }
.road-steps h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); }

/* Start the map below the 152 px caption in the original 800 px image. */
#parking > img {
  width: min(100%, 800px);
  aspect-ratio: 800 / 648;
  object-fit: cover;
  object-position: center bottom;
}

@media (max-width: 35rem) {
  .article-photos { grid-template-columns: minmax(0, 1fr); }
}
.site-footer { background: var(--green); color: #f6f3eb; padding: 2rem 0; }
.site-footer a { color: inherit; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; font-size: .9rem; }
.footer-inner p { margin: .2rem 0 0; }
.footer-name { font: 700 1.35rem var(--serif); text-decoration: none; }

@media (max-width: 52rem) {
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  .site-nav { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); padding-bottom: .4rem; }
  .site-nav.is-collapsed { display: none; }
  .hero h1 { font-size: clamp(2rem, 7vw, 4rem); }
  .hero-media::after { background: linear-gradient(90deg, rgba(10, 29, 17, .82), rgba(10, 29, 17, .24)); }
}
@media (max-width: 35rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-copy { padding: 1.8rem 1rem; }
  .story-list a { grid-template-columns: 1fr 1rem; gap: .05rem .6rem; padding: .75rem .25rem; }
  .story-list time { grid-column: 1 / -1; }
  .event-grid, .about-teaser { grid-template-columns: 1fr; }
  .event-card { display: grid; grid-template-columns: 5rem 1fr; align-items: start; }
  .event-card img { aspect-ratio: 1; }
  .prose table { font-size: .8rem; }
  .prose th, .prose td { padding: .4rem; }
}

.hero-copy .hero-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-prayer { margin: 0 0 .75rem; font: 700 clamp(1.25rem, 3vw, 2.25rem)/1.45 var(--serif); }
.hero .hero-prayer-link { background: #fbf9f4; color: var(--green); }
.hero .hero-prayer-link:hover { background: #efeee5; }
@media (max-width: 52rem) { .hero-copy { padding-bottom: 5rem; } }
.festival-guide h3 { margin: 0 0 .35rem; }
.festival-grid, .grounds-gallery { display: grid; gap: 1rem; margin: 1.15rem 0; }
.festival-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.festival-grid article { display: grid; grid-template-columns: 8rem minmax(0, 1fr); align-items: center; background: var(--wash); }
.festival-grid img { width: 100%; height: 100%; min-height: 8rem; object-fit: cover; }
.festival-grid article div { padding: .85rem 1rem; }
.festival-grid p { margin: 0; }
.home-news .flower-archive-note { margin: 0 0 1rem; text-align: center; }
.flower-archive { margin-top: 1rem; border-block: 1px solid var(--line); }
.flower-archive summary { padding: .85rem .65rem; cursor: pointer; font-weight: 700; color: var(--green); }
.flower-archive .story-list li:last-child { border-bottom: 0; }
.instagram-post { text-align: center; }
.instagram-post h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.instagram-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 326px), 1fr)); gap: 1rem; }
.instagram-posts > div { min-width: 0; }
.instagram-posts .instagram-media, .instagram-posts iframe {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 auto 1rem !important;
}
.instagram-posts blockquote:empty { display: none; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.grounds-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); list-style: none; padding: 0; }
.grounds-gallery a { display: block; border: 1px solid var(--line); }
.grounds-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.grounds-gallery span { display: block; padding: .75rem; font-weight: 700; }
@media (max-width: 45rem) { .festival-grid { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .visit-actions { display: grid; } }
