/* Shalom International — Every Nation, One Worship. Pearl, champagne and mist blue. */
:root {
  --navy: #293e58;
  --navy-2: #3c5674;
  --navy-deep: #22334a;
  --ink: #27394d;
  --text: #4e5c6b;
  --muted: #637081;
  --on-navy: #fffefa;
  --on-navy-muted: #e7edf5;
  --on-navy-accent: #e4c795;
  --line: #e4e4df;
  --soft: #f0f3f6;
  --surface: #fffefa;
  --accent: #87652f;
  --accent-hover: #6d4e20;
  --tag-bg: #edf0f4;
  --line-green: #06c755;

  --font-display: 'Cormorant Garamond', 'Noto Sans JP', Georgia, serif;
  --font-body: 'Figtree', 'Noto Sans JP', system-ui, sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;

  --radius: 16px;
  --radius-lg: 20px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

[lang='ja'] {
  font-family: var(--font-ja);
}

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

[hidden] {
  display: none !important;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

/* ---------- layout ---------- */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.band {
  padding-block: 80px;
  background: var(--surface);
}
.band--navy {
  background: var(--navy);
  color: var(--on-navy);
}
.band--soft {
  background: var(--soft);
}
.band--tight-top {
  padding-top: 0;
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 0;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}

.prose {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  max-width: 65ch;
}

.select-all {
  user-select: all;
  font-weight: 600;
}

/* ---------- type ---------- */

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light {
  color: var(--on-navy-accent);
}
.eyebrow--muted {
  color: var(--muted);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.section-head__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  color: var(--navy);
}
.band--navy .section-title {
  color: var(--on-navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding-block: 12px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid transparent;
}
.btn--lg {
  padding: 14px 24px;
  font-size: 16px;
}
.btn--accent,
.btn--accent:hover {
  background: var(--accent);
  color: var(--on-navy);
}
.btn--accent:hover {
  background: var(--accent-hover);
}
.btn--navy,
.btn--navy:hover {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 12px;
}
.btn--ghost-light,
.btn--ghost-light:hover {
  border-color: #8c9ab8;
  color: var(--on-navy);
}
.btn--ghost-light:hover {
  background: var(--navy-2);
}
.btn--line,
.btn--line:hover {
  align-self: flex-start;
  background: var(--line-green);
  color: #fffefa;
  border-radius: 12px;
}
.btn--block {
  width: 100%;
}
.btn--grow {
  flex: 1 1 180px;
  border-radius: 12px;
}

/* ---------- header ---------- */

.sunday-bar {
  background: var(--navy-deep);
  color: var(--on-navy);
  font-size: 14px;
}
.sunday-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 20px;
  padding-block: 6px;
}
.sunday-bar a {
  color: var(--on-navy-accent);
  font-weight: 600;
  padding-block: 8px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand:hover {
  color: var(--navy);
}
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--on-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.brand__text {
  display: flex;
  flex-direction: column;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.brand__sub {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  padding-block: 12px;
}
.site-nav a:not(.btn):hover {
  color: var(--accent);
}
.site-nav .site-nav__muted {
  color: var(--muted);
}

/* ---------- hero ---------- */

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero__copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.05;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--on-navy-muted);
  max-width: 560px;
}

.service-card {
  flex: 1 1 340px;
  min-width: 0;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-card__time {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-card__hours {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--navy);
}
.service-card__place {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--navy);
}
.service-card__place svg {
  flex: none;
  margin-top: 2px;
}
.service-card__place div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  color: var(--ink);
}

/* ---------- sermon ---------- */

.sermon {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.sermon__video {
  flex: 3 1 520px;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-2);
}
.sermon__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.sermon__body {
  flex: 2 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sermon__title {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.2;
  color: var(--navy);
}
.sermon__scripture {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.chip {
  align-self: flex-start;
  background: var(--soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text);
}

/* ---------- devotionals ---------- */

.devo-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.devo-layout__intro {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.devo {
  flex: 2 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.devo__days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.day-tile {
  flex: 1 1 78px;
  min-height: 44px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.day-tile:hover {
  border-color: var(--navy);
}
.day-tile[aria-pressed='true'] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-navy);
}
.day-tile__date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.day-tile__passages {
  font-size: 14px;
}

.devo__card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.devo__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.devo__title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
}
.devo__entry {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.devo__entry[lang='ja'] {
  font-size: 16px;
  line-height: 1.9;
}
.devo__passage {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.lang-toggle {
  display: flex;
  background: var(--soft);
  border-radius: 999px;
  padding: 4px;
}
.lang-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text);
}
.lang-toggle button[aria-pressed='true'] {
  background: var(--navy);
  color: var(--on-navy);
}

/* ---------- announcements ---------- */

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.news-card {
  flex: 1 1 300px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-card__title {
  font-size: 21px;
  color: var(--navy);
}
.news-card .prose {
  font-size: 16px;
}
.tag {
  align-self: flex-start;
  background: var(--tag-bg);
  color: var(--navy);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}
.tag--event {
  background: #fdece3;
  color: var(--accent-hover);
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 182px;
  gap: 16px;
}
.gallery__tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.gallery__tile--lead {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__tile img {
  object-fit: cover;
}
.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 16px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fffefa;
  background: linear-gradient(to top, rgba(14, 24, 48, 0.75), rgba(14, 24, 48, 0));
}
@media (max-width: 800px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }
}

/* ---------- visit ---------- */

.visit {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.visit__map {
  flex: 3 1 520px;
  min-width: 0;
  min-height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dce3ee;
}
.visit__map iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}
.visit__info {
  flex: 2 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.address-card {
  background: var(--navy-2);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--on-navy-muted);
  font-size: 15px;
}
.address-card strong {
  color: var(--on-navy);
  font-size: 18px;
}
.directions {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e6eaf2;
}
.entrance-photo {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}
.entrance-photo img {
  object-fit: cover;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #b9c2d6;
  font-size: 14px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-block: 40px;
}
.site-footer__about {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-footer__about strong {
  color: var(--on-navy);
  font-size: 16px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.site-footer__links a {
  color: #e6eaf2;
  padding-block: 12px;
}

@media (max-width: 600px) {
  .band {
    padding-block: 56px;
  }
  .band--tight-top {
    padding-top: 0;
  }
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .service-card {
    padding: 24px;
  }
}

/* ---------- WordPress additions ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: 8px;
}
.skip-link:focus {
  left: 8px;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--accent);
}

/* titles that link stay in their heading colour */
.sermon__title a,
.devo__title a,
.news-card__title a,
.post-row__title a {
  color: inherit;
  text-decoration: none;
}
.sermon__title a:hover,
.devo__title a:hover,
.news-card__title a:hover,
.post-row__title a:hover {
  color: var(--accent);
}
.prose p + p {
  margin-top: 0.8em;
}

.devo__entry p + p {
  margin-top: 0;
}

.gallery__tile {
  display: block;
}
.gallery__tile img,
.entrance-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.page-hero {
  padding-block: 56px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
}
.page-hero__lead {
  color: var(--on-navy-muted);
  font-size: 18px;
  max-width: 65ch;
}
.page-hero .tag {
  background: var(--navy-2);
  color: var(--on-navy);
}

.post-list {
  display: flex;
  flex-direction: column;
  max-width: 820px;
}
.post-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.post-row:first-child {
  padding-top: 0;
}
.post-row__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  color: var(--navy);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 220px;
  gap: 16px;
}

.entry {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.entry--wide {
  max-width: 960px;
}
.entry__meta {
  font-size: 16px;
  color: var(--text);
}
.entry__image img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}
.entry-content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.entry-content > * + * {
  margin-top: 1em;
}
.entry-content h2,
.entry-content h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-top: 1.6em;
}
.entry-content img {
  height: auto;
  border-radius: 12px;
}
.entry-content .wp-block-gallery {
  gap: 12px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-navy);
}

.day-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Every Nation, One Worship ---------- */
:root { --radius: 10px; --radius-lg: 16px; }
html { scroll-padding-top: 110px; }
body { background: #fffefa; }
::selection { background: #e4c795; color: #293e58; }
:focus-visible { outline-color: #a58243; outline-offset: 5px; }
.band { padding-block: 88px; }
.band--tight-top { padding-top: 0; }
.wrap { max-width: 1280px; padding-inline: max(40px, env(safe-area-inset-left, 0px)); }
.eyebrow { font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.section-title { font-size: clamp(38px, 3.7vw, 52px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.section-title em { font-weight: 400; }
.btn { border-radius: 5px; gap: 14px; font-size: 14px; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: #e4c590; color: #293c53; }
.btn--accent:hover { background: #f0dbb4; color: #293c53; }
.btn--lg { padding: 16px 24px; min-height: 54px; }
.btn--navy, .btn--grow { border-radius: 5px; }
.btn--ghost-light { border-color: #a9b5c4; }
.text-link { text-decoration: none; gap: 12px; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.sunday-bar { font-size: 12px; letter-spacing: .02em; }
.sunday-bar__inner { padding-block: 1px; gap: 6px 20px; }
.sunday-bar a { padding-block: 8px; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fffefaf5; backdrop-filter: blur(16px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { padding-block: 17px; gap: 16px; }
.brand { gap: 13px; }
.brand__mark { width: 42px; height: 48px; background: transparent; border: 1px solid #cbb584; border-radius: 23px 23px 3px 3px; color: #8b6a34; }
.brand__name { font-size: 25px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.brand__sub { margin-top: 4px; font-size: 10px; letter-spacing: .06em; }
.site-nav { font-size: 13px; gap: 20px; }
.site-nav a:not(.btn) { display: inline-block; }
.site-nav .btn { min-height: 43px; padding: 10px 18px; background: var(--navy); color: #fffefa; }
.site-nav .btn:hover { background: var(--navy-2); }
.menu-list { gap: 22px; }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #f8f4e9; }
.hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,253,247,.97) 0%, rgba(255,253,247,.92) 29%, rgba(255,253,247,.66) 45%, rgba(255,253,247,.12) 65%, transparent 82%); }
.hero__inner { display: flex; min-height: 650px; padding-block: 64px 72px; }
.hero__copy { flex: 0 1 610px; gap: 20px; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; }
.hero__eyebrow::before { content: ''; width: 30px; height: 1px; background: #e4c795; }
.hero__title { font-size: clamp(54px, 5.7vw, 84px); line-height: .99; font-weight: 400; letter-spacing: -.035em; text-wrap: initial; }
.hero__title em { color: #8d6a31; font-weight: 400; }
.hero__lead { font-size: 16px; line-height: 1.75; max-width: 490px; color: #485d73; }
.hero__copy .btn-row { align-items: center; gap: 26px; margin-top: 5px; }
.hero__secondary { color: var(--navy); font-size: 14px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding-block: 14px; }
.hero__secondary:hover { color: var(--accent); }
.hero__welcome { color: #52667c; font-size: 12px; letter-spacing: .025em; }
.hero__signature { background: #fffdf3e8; border: 1px solid #ffffff80; padding: 8px 14px; border-radius: 4px; position: absolute; bottom: 30px; right: max(40px, calc((100vw - 1200px) / 2)); color: #485b70; font-family: var(--font-display); font-style: italic; font-size: 21px; }
.sunday-invitation { background: #f5f2e9; border-bottom: 1px solid #e5e2d8; }
.service-card { display: grid; grid-template-columns: 1.1fr 1fr 1.25fr auto; gap: 30px; align-items: center; background: transparent; border-radius: 0; padding-block: 32px; }
.service-card__intro { display: flex; flex-direction: column; gap: 6px; }
.service-card__intro h2 { font: 500 28px/1.1 var(--font-display); letter-spacing: -.03em; }
.service-card__time { border-left: 1px solid #dedbce; padding-left: 30px; gap: 2px; }
.service-card__label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #637081; }
.service-card__hours { font-family: var(--font-body); font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.service-card__time .small { font-size: 12px; }
.service-card__place { gap: 12px; }
.service-card__place svg { color: #8b6a34; }
.service-card__place div { font-size: 12px; line-height: 1.6; gap: 5px; }
.service-card__place strong { font-size: 13px; }
.service-card > .text-link { white-space: nowrap; }
.welcome { padding-block: 75px; }
.welcome__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: center; }
.welcome .section-title { margin-top: 17px; }
.welcome__body { display: flex; flex-direction: column; gap: 24px; }
.welcome__body .prose { font-size: 16px; line-height: 1.8; }
.welcome__values { display: flex; flex-wrap: wrap; gap: 12px 24px; color: #87652f; font-size: 12px; font-weight: 600; letter-spacing: .035em; }
.welcome__values span + span::before { content: '✦'; padding-right: 24px; font-size: 9px; }
.devo-layout { gap: 60px; }
.devo-layout__intro { flex-basis: 260px; gap: 20px; padding-top: 6px; }
.devo-layout__intro .prose { font-size: 16px; line-height: 1.75; }
.devo__days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px; }
.day-tile { padding: 11px 8px; border-radius: 6px; gap: 6px; min-width: 0; }
.day-tile__date { font-size: 10px; letter-spacing: .02em; }
.day-tile__passages { font-size: 11px; line-height: 1.45; }
.day-tile[aria-pressed='true'] { box-shadow: inset 0 -3px #d9bd87; }
.devo__card { background: #fffefa; border: 1px solid var(--line); border-radius: 10px; padding: 30px; box-shadow: 0 12px 35px #263e5905; display: flex; flex-direction: column; gap: 24px; }
.devo__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.devo__title { font-family: var(--font-display); font-size: 32px; font-weight: 600; margin-top: 4px; }
.lang-toggle { align-self: center; flex-shrink: 0; }
.lang-toggle button { min-height: 36px; padding: 7px 13px; font-size: 12px; }
.devo__entry { color: var(--text); font-size: 15px; line-height: 1.85; }
.devo__passage { font-family: var(--font-body); font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 12px; }
.devo__entry p + p { margin-top: 14px; }
.card-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.news-card { background: #fffefa; border-radius: 8px; border-top: 2px solid #c7b181; padding: 28px; gap: 16px; }
.news-card__title { font-family: var(--font-display); font-size: 29px; line-height: 1.15; font-weight: 600; }
.news-card .prose { font-size: 14px; line-height: 1.7; }
.news-card .small { font-size: 12px; }
.tag, .tag--event { background: #f3eddf; color: #786137; border-radius: 3px; padding: 5px 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
#visit { background: #edf2f6; }
#visit .section-title { font-size: 50px; }
.visit__map { min-height: 350px; border-radius: 8px; }
.visit__map iframe { min-height: 350px; }
.address-card { border: 1px solid #ffffff20; background: #ffffff06; border-radius: 8px; padding: 28px; gap: 12px; line-height: 1.7; }
.address-card strong { font-family: var(--font-display); font-size: 28px; font-weight: 500; }
.site-footer { color: #5c6b7e; }
.site-footer__inner { padding-block: 40px; align-items: center; }
.site-footer__about { gap: 8px; font-size: 12px; }
.site-footer__about strong { font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.site-footer__links { font-size: 12px; }
.site-footer__links a { color: #3f536b; text-decoration: none; }
.page-hero__title { font-weight: 500; font-size: clamp(40px,5vw,64px); }
.entry-content { line-height: 1.85; }

@media (max-width: 1100px) {
  .site-nav, .menu-list { gap: 14px; }
  .brand__name { font-size: 22px; }
  .service-card { grid-template-columns: 1fr 1fr; gap: 25px 35px; }
  .service-card__time { border: 0; padding: 0; }
  .service-card > .text-link { justify-self: start; }
  .welcome__inner { gap: 50px; }
}
@media (max-width: 900px) {
  .wrap { padding-inline: 28px; }
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; padding: 10px 13px; min-height: 44px; border: 1px solid #d8dfe5; border-radius: 5px; color: var(--navy); background: transparent; font: 500 13px var(--font-body); cursor: pointer; }
  .site-nav { flex-basis: 100%; gap: 10px 20px; padding-block: 12px 4px; border-top: 1px solid var(--line); }
  .site-header.has-menu .site-nav { display: none; }
  .site-header.has-menu.is-menu-open .site-nav { display: flex; }
  .menu-list { flex: 1 1 100%; gap: 0 24px; }
  .hero__inner { min-height: 570px; padding-block: 75px; }
  .hero__title { font-size: 66px; }
  .hero__copy { flex-basis: 610px; }
  .hero__image { object-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, #fffdf7f5, #fffdf7e0 42%, #fffdf74a 70%, transparent); }
  .hero__signature { right: 28px; bottom: 20px; font-size: 18px; }
  .devo-layout { gap: 32px; }
  .devo-layout__intro { flex-basis: 100%; max-width: 590px; }
  .card-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .wrap { padding-inline: max(22px, env(safe-area-inset-left, 0px)); }
  .band { padding-block: 58px; }
  .band--tight-top { padding-top: 0; }
  .sunday-bar { font-size: 10px; }
  .sunday-bar__inner { gap: 5px 10px; padding-inline: 12px; }
  .sunday-bar__inner > span { text-align: center; }
  .sunday-bar a { padding-block: 9px; }
  .brand { gap: 9px; }
  .brand__name { font-size: 21px; }
  .brand__sub { font-size: 8px; }
  .brand__mark { width: 34px; height: 42px; }
  .site-header__inner { padding-block: 13px; }
  .menu-toggle:not([hidden]) { padding: 9px; }
  .menu-toggle span { display: none; }
  .admin-bar .site-header { top: 0; }
  .site-nav .menu-list { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__inner { min-height: 780px; padding-block: 215px 48px; align-items: flex-end; }
  .hero__image { object-position: 79% top; height: 470px; }
  .hero::before { background: linear-gradient(0deg, #fffdf7 0%, #fffdf7f5 36%, #fffdf7cf 57%, #fffdf733 80%, transparent); }
  .hero__copy { gap: 18px; }
  .hero__eyebrow { font-size: 9px; letter-spacing: .12em; gap: 10px; }
  .hero__eyebrow::before { width: 20px; }
  .hero__title { font-size: clamp(43px, 10.8vw, 64px); line-height: 1.02; }
  .hero__lead { font-size: 14px; line-height: 1.8; max-width: 355px; }
  .hero__lead br { display: none; }
  .hero__copy .btn-row { gap: 8px 18px; }
  .hero__copy .btn--lg { padding: 14px 17px; font-size: 13px; }
  .hero__secondary { font-size: 12px; }
  .hero__welcome { font-size: 10px; letter-spacing: 0; }
  .hero__signature { display: none; }
  .service-card { grid-template-columns: 1fr; gap: 22px; padding-block: 30px; }
  .service-card__intro { padding-bottom: 20px; border-bottom: 1px solid #dedbce; }
  .service-card__intro h2 { font-size: 31px; }
  .service-card__hours { font-size: 25px; }
  .service-card__place div { font-size: 13px; }
  .service-card > .text-link { padding-block: 5px; }
  .welcome__inner { grid-template-columns: 1fr; gap: 25px; }
  .welcome__values { gap: 12px 15px; font-size: 11px; }
  .welcome__values span + span::before { padding-right: 15px; }
  .section-title, #visit .section-title { font-size: 40px; }
  .devo__days { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
  .day-tile { flex: 0 0 78px; scroll-snap-align: start; padding: 10px; }
  .devo__card { padding: 22px 20px; }
  .devo__title { font-size: 29px; }
  .devo__entry { font-size: 14px; }
  .card-row { grid-template-columns: 1fr; }
  .news-card { padding: 25px; }
  .visit { gap: 24px; }
  .visit__map, .visit__map iframe { min-height: 300px; }
  .address-card { padding: 22px; }
  .site-footer__inner { gap: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .btn:hover { transform: none; }
}

/* Light surfaces and scripture treatment drawn from the selected Revelation artwork. */
:root {
  --gold: #e4c590;
  --gold-ink: #87652f;
  --pearl: #fffdf7;
  --sky: #edf2f6;
}
.sunday-bar { background: #f3edde; color: var(--navy); border-bottom: 1px solid #e9dfcb; }
.sunday-bar a { color: var(--gold-ink); }
.site-header { background: #fffefaf7; border-bottom-color: #e9e4da; }
.site-nav .btn { background: var(--gold); color: var(--navy); border-color: #d9ba80; }
.site-nav .btn:hover { background: #f0dbb4; color: var(--navy); }
.hero { color: var(--navy); }
.hero .eyebrow--light { color: var(--gold-ink); }
.hero__eyebrow::before { background: #ad8848; }
.hero__scripture { margin: 2px 0 0; max-width: 480px; padding-left: 19px; border-left: 2px solid #c9a86d; }
.hero__scripture blockquote { margin: 0; font-family: var(--font-display); font-size: 25px; font-weight: 500; line-height: 1.35; text-wrap: pretty; color: #3d526a; }
.hero__scripture figcaption { margin-top: 13px; }
.hero__scripture a { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; color: var(--gold-ink); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.hero__scripture a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero__scripture figcaption span { font-weight: 400; letter-spacing: .03em; }
.hero__scripture figcaption svg { width: 12px; height: 12px; }
.hero .btn--ghost-light { color: var(--navy); border-color: #9dabb9; background: #fffdf766; }
.hero .btn--ghost-light:hover { background: #fffdf7; }
.hero__welcome { font-size: 11px; }
.service-card__intro .eyebrow { color: var(--gold-ink); }
.welcome__values { color: var(--gold-ink); }
.news-card { border-top-color: #c9a86d; }
.band--sky { background: var(--sky); color: var(--navy); }
#visit .section-title { color: var(--navy); }
#visit .address-card { background: #fffefa; border-color: #dce3e9; color: var(--text); }
#visit .address-card strong { color: var(--navy); }
#visit .directions { color: var(--text); }
.btn--outline { border-color: #9baaba; color: var(--navy); background: transparent; }
.btn--outline:hover { background: #fffefa; color: var(--navy); }
.site-footer { background: #f8f5ed; color: var(--muted); border-top: 1px solid #e5e0d5; }
.site-footer__about strong { color: var(--navy); }
.site-footer__links a { color: #3f536b; }
.site-footer__links a:hover { color: var(--gold-ink); text-decoration: underline; }
.page-hero.band--navy { background: #f4f2eb; color: var(--navy); border-bottom: 1px solid #e8e2d6; }
.page-hero .page-hero__lead { color: var(--text); margin-top: 15px; }
.page-hero .eyebrow--light { color: var(--gold-ink); }
.page-hero .tag { background: #e8e0ce; color: #695125; }
.post-row { border-bottom-color: #e6e5df; }
@media (max-width: 900px) and (min-width: 601px) {
  .hero__inner { min-height: 680px; padding-block: 65px; }
  .hero__copy { flex-basis: 550px; }
  .hero__image { object-position: 62% top; }
}
@media (max-width: 600px) {
  .hero__title { font-size: clamp(48px, 13vw, 68px); }
  .hero__scripture { max-width: 100%; padding-left: 15px; }
  .hero__scripture blockquote { font-size: 23px; }
  .hero__scripture a { font-size: 9px; }
  .hero__lead { font-size: 14px; }
  .hero__welcome { font-size: 10px; }
}

/* Bilingual devotionals: pair each original reflection with its available translation. */
.devo-layout__japanese { color: var(--muted); font-size: 13px; line-height: 2; }
.devo__date-ja { display: block; margin-top: 4px; font-size: 12px; }
.devo__title-ja { display: block; font: 500 16px/1.7 var(--font-ja); margin-top: 6px; }
.devo__language-picker { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.devo__language-label { color: var(--muted); font-size: 10px; }
.devo__language-picker .lang-toggle { align-self: flex-start; display: flex; flex-wrap: wrap; }
.devo__language-picker button { min-height: 44px; }
.devo__reading { display: flex; flex-direction: column; gap: 25px; }
.devo__reading + .devo__reading { padding-top: 28px; border-top: 1px solid var(--line); }
.devo__entry-language { display: block; color: var(--gold-ink); font: 600 10px/1.6 var(--font-body), var(--font-ja); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 8px; }
.devo__entry[lang='ja'] { line-height: 2.1; font-size: 14px; }
.devo__entry[lang='ja'] .devo__passage { font-family: var(--font-ja); }
.devo[data-reading-language='both'] .devo__entry[lang='ja'] { padding: 23px; background: #f6f3eb; border-radius: 8px; border-left: 2px solid #cfb580; }
.devo__translation-note { padding: 13px 16px; background: #f5f1e8; border-radius: 6px; color: #6a5b40; font-size: 12px; line-height: 1.9; }
@media (max-width: 600px) {
  .devo__head { align-items: flex-start; }
  .devo__language-picker { width: 100%; }
  .devo__language-picker .lang-toggle { width: 100%; }
  .devo__language-picker button { flex: 1; padding: 9px 10px; }
  .devo[data-reading-language='both'] .devo__entry[lang='ja'] { padding: 17px; }
  .devo__entry[lang='ja'] { font-size: 13px; }
}

/* Approved Spirit & Flame identity, with a readable horizontal wordmark. */
.brand__mark {
  width: 40px;
  height: 62px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand__name {
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand__international { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .32em; }
.brand__sub { margin-top: 7px; font-size: 8px; letter-spacing: .035em; }
.footer-brand { display: flex; align-items: center; gap: 14px; width: fit-content; color: var(--navy); text-decoration: none; }
.footer-brand img { width: 28px; height: 46px; object-fit: contain; }
@media (max-width: 600px) {
  .brand__mark { width: 31px; height: 50px; flex-basis: 31px; }
  .brand__name { font-size: 21px; }
  .brand__international { font-size: 8px; margin-top: 5px; }
  .brand__sub { font-size: 7px; margin-top: 6px; }
}

/* Keep single-post players at 16:9 inside the vertical article layout. */
.entry > .sermon__video { flex: none; width: 100%; min-height: 200px; }

/* Compact sermon thumbnails and an accessible quick-watch dialog. */
.post-row--sermon { display: grid; grid-template-columns: 184px minmax(0, 1fr); align-items: start; gap: 24px; }
.post-row__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sermon-preview { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--navy); color: white; }
.sermon-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sermon-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #152237b3); }
.sermon-preview__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #ffffffa6; border-radius: 50%; background: #203349cc; z-index: 1; }
.sermon-preview__play svg { margin-left: 3px; }
.sermon-preview__label { position: absolute; bottom: 7px; left: 10px; z-index: 1; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.sermon-preview:hover .sermon-preview__play { background: var(--accent); }
.sermon-preview:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
body.sermon-modal-open { overflow: hidden; }
.sermon-modal { width: min(960px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #d6c6a5; border-radius: 14px; margin: auto; background: var(--surface); color: var(--ink); box-shadow: 0 24px 90px #17233540; overflow: auto; }
.sermon-modal::backdrop { background: #172335bf; backdrop-filter: blur(5px); }
.sermon-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; }
.sermon-modal__header h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.35; margin: 6px 0 0; overflow-wrap: anywhere; }
.sermon-modal__header form { flex: none; margin: 0; }
.sermon-modal__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--soft); color: var(--navy); cursor: pointer; }
.sermon-modal__close:hover { background: #e7dfd0; }
.sermon-modal__close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sermon-modal__player { aspect-ratio: 16 / 9; min-height: 200px; background: #182433; }
.sermon-modal__player iframe { display: block; width: 100%; height: 100%; min-height: 200px; border: 0; }
.sermon-modal__footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 18px 24px; }
@media (max-width: 600px) {
  .post-row--sermon { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .post-row--sermon .post-row__title { font-size: 20px; line-height: 1.4; }
  .sermon-preview__play { width: 30px; height: 30px; }
  .sermon-preview__play svg { width: 12px; height: 14px; }
  .sermon-preview__label { font-size: 8px; left: 6px; bottom: 4px; }
  .sermon-modal__header { padding: 16px; gap: 10px; }
  .sermon-modal__header h2 { font-size: 19px; }
  .sermon-modal__header .eyebrow { font-size: 9px; }
  .sermon-modal__footer { padding: 16px; }
}

/* Responsive reading polish: Japanese glyphs use Noto Sans JP in every font stack. */
.post-row--media { display: grid; grid-template-columns: 184px minmax(0, 1fr); align-items: start; gap: 24px; }
.post-row__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--soft); }
.post-row__image img { width: 100%; height: 100%; object-fit: contain; }
.post-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.post-row__title, .news-card__title, .sermon__title { line-height: 1.5; text-wrap: pretty; overflow-wrap: anywhere; font-weight: 500; }
.single .page-hero__title { width: 100%; max-width: none; font-size: clamp(30px, 4vw, 52px); line-height: 1.4; text-wrap: pretty; overflow-wrap: anywhere; }
.page-hero__lead { line-height: 1.7; }
.wrap.entry { max-width: 820px; }
.wrap.entry--wide { max-width: 1040px; }
.brand__sub { font-size: 10px; line-height: 1.6; }
.devo__entry, .devo__entry[lang='ja'] { font-size: 16px; }
.devo-layout__japanese { font-size: 15px; }
.devo__entry[lang='ja'] { line-height: 2; }
.sermon-modal__header h2 { font-weight: 500; line-height: 1.6; text-wrap: pretty; }
.pagination { flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 601px) and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 100px; }
  .page-hero { padding-block: 36px; }
  .page-hero__lead { font-size: 16px; }
  .brand__sub { font-size: 9px; }
  .brand__international { font-size: 9px; }
  .menu-toggle:not([hidden]) { min-width: 44px; justify-content: center; }
  .site-nav a:not(.btn) { padding-block: 12px; }
  .hero__lead { font-size: 16px; }
  .hero__welcome { font-size: 12px; line-height: 1.7; }
  .hero__eyebrow { font-size: 10px; }
  .hero__scripture a { font-size: 10px; }
  .hero__secondary { font-size: 14px; }
  .hero__inner { min-height: 780px; padding-top: 240px; }
  .post-row--media { grid-template-columns: 128px minmax(0, 1fr); gap: 16px; }
  .post-row--media .post-row__body { display: contents; }
  .post-row--media > a { grid-column: 1; grid-row: 1; }
  .post-row--media .post-row__meta { grid-column: 2; grid-row: 1; align-self: center; align-items: flex-start; flex-direction: column; gap: 7px; font-size: 13px; line-height: 1.7; }
  .post-row--media .post-row__title, .post-row--media .prose { grid-column: 1 / -1; }
  .post-row__title, .post-row--sermon .post-row__title { font-size: 24px; line-height: 1.5; }
  .sermon-preview__label { font-size: 10px; }
  .sermon-preview__play { width: 32px; height: 32px; }
  .news-card__title, .sermon__title { font-size: 26px; }
  .post-row .prose { font-size: 15px; line-height: 1.75; }
  .devo__card { padding: 22px 16px; }
  .devo[data-reading-language='both'] .devo__entry[lang='ja'] { padding: 16px; }
  .devo__entry, .devo__entry[lang='ja'] { font-size: 15px; }
  .sermon-modal__header h2 { font-size: 18px; }
  .sermon-modal__footer { gap: 4px; }
  .sermon-modal__footer a { min-height: 44px; display: inline-flex; align-items: center; }
  .site-footer__about, .site-footer__links { font-size: 13px; }
  .footer-brand strong { font-size: 24px; }
}
@media (max-width: 360px) {
  .wrap { padding-inline: 18px; }
  .brand { gap: 8px; }
  .brand__name { font-size: 19px; }
  .brand__sub { font-size: 8px; }
  .hero__title { font-size: 44px; }
  .section-title, #visit .section-title { font-size: 36px; }
}

/* Ongoing Sunday JCC invitation, paired with the welcome section. */
.jcc-card { display: grid; grid-template-columns: 94px minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 26px 32px; border: 1px solid #ded8c9; border-radius: 12px; background: linear-gradient(110deg, #f7f3e9, #f0f4f7); color: var(--navy); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.jcc-card:hover { color: var(--navy); border-color: #bba16c; box-shadow: 0 8px 28px #293e580c; }
.jcc-card__poster { width: 94px; height: auto; border-radius: 4px; box-shadow: 0 4px 14px #293e581a; }
.jcc-card__copy { min-width: 0; }
.jcc-card .eyebrow { color: var(--gold-ink); }
.jcc-card h2 { margin-top: 6px; font: 500 34px/1.2 var(--font-display); text-wrap: pretty; }
.jcc-card__japanese { margin-top: 6px; font-size: 14px; line-height: 1.8; }
.jcc-card__details { margin-top: 13px; font-size: 14px; line-height: 1.7; }
.jcc-card__welcome { margin-top: 3px; font-size: 13px; color: var(--text); }
.jcc-card__action { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 10px 18px; border: 1px solid #c5b38c; border-radius: 5px; color: var(--gold-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
body.jcc-modal-open { overflow: hidden; }
.jcc-modal { width: min(980px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #d6c6a5; border-radius: 14px; background: var(--surface); color: var(--ink); overflow: auto; box-shadow: 0 24px 90px #17233540; }
.jcc-modal::backdrop { background: #172335bf; backdrop-filter: blur(5px); }
.jcc-modal__header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.jcc-modal__header h2 { margin-top: 4px; font: 500 28px/1.2 var(--font-display); text-wrap: pretty; }
.jcc-modal__header form { margin: 0; flex: none; }
.jcc-modal__body { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 28px; padding: 24px; }
.jcc-modal__poster { display: block; }
.jcc-modal__poster img { width: 100%; height: auto; border-radius: 4px; }
.jcc-modal__details { display: flex; flex-direction: column; gap: 18px; color: var(--text); font-size: 15px; line-height: 1.8; }
.jcc-modal__details dl { margin: 0; display: grid; gap: 18px; }
.jcc-modal__details dt { margin-bottom: 5px; font-size: 12px; font-weight: 600; color: var(--gold-ink); }
.jcc-modal__details dd { margin: 0; color: var(--navy); }
.jcc-modal__details [lang='ja'] { font-size: 14px; }
@media (max-width: 900px) {
  .jcc-card { grid-template-columns: 86px minmax(0, 1fr); gap: 18px 24px; padding: 24px; }
  .jcc-card__poster { width: 86px; grid-row: 1 / 3; }
  .jcc-card__action { grid-column: 2; justify-self: start; }
  .jcc-modal__body { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .jcc-card { grid-template-columns: 64px minmax(0, 1fr); padding: 22px 18px; gap: 18px 16px; }
  .jcc-card__poster { width: 64px; grid-row: 1; align-self: start; margin-top: 4px; }
  .jcc-card h2 { font-size: 27px; line-height: 1.15; }
  .jcc-card .eyebrow { font-size: 9px; letter-spacing: .08em; }
  .jcc-card__japanese { font-size: 13px; }
  .jcc-card__details { font-size: 13px; }
  .jcc-card__action { grid-column: 1 / -1; justify-self: stretch; }
  .jcc-modal__header { padding: 16px; gap: 12px; }
  .jcc-modal__header h2 { font-size: 24px; }
  .jcc-modal__header .eyebrow { font-size: 9px; }
  .jcc-modal__body { grid-template-columns: 1fr; padding: 16px; gap: 24px; }
}

/* Annual Bible reading plan: two compact previews and a zoomable document viewer. */
.reading-plan { width: 100%; max-width: 480px; padding: 22px; background: #fffefa; border: 1px solid #e0d8c5; border-radius: 10px; }
.reading-plan > .eyebrow { color: var(--gold-ink); font-size: 10px; }
.reading-plan h3 { margin-top: 7px; font: 500 28px/1.2 var(--font-display); text-wrap: pretty; }
.reading-plan__intro { margin-top: 8px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.reading-plan__pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.reading-plan__page { min-width: 0; }
.reading-plan__preview { display: flex; flex-direction: column; gap: 10px; color: var(--navy); text-decoration: none; }
.reading-plan__preview img { width: 100%; aspect-ratio: 1.23; object-fit: contain; background: #fff; border: 1px solid #e2dccd; border-radius: 4px; transition: border-color .2s, box-shadow .2s; }
.reading-plan__preview:hover img { border-color: #aa8b50; box-shadow: 0 4px 14px #293e5810; }
.reading-plan__label { font-size: 13px; font-weight: 600; line-height: 1.6; }
.reading-plan__label [lang='ja'] { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.reading-plan__download { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.reading-plan__download:hover { text-decoration: underline; }
.reading-plan-archive { margin-bottom: 40px; }
body.reading-plan-open { overflow: hidden; }
.reading-plan-modal { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #d6c6a5; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 90px #17233540; overflow: hidden; }
.reading-plan-modal[open] { display: flex; flex-direction: column; }
.reading-plan-modal::backdrop { background: #172335bf; backdrop-filter: blur(5px); }
.reading-plan-modal__header { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.reading-plan-modal__header h2 { margin-top: 4px; font: 500 30px/1.2 var(--font-display); }
.reading-plan-modal__header form { margin: 0; flex: none; }
.reading-plan-modal__toolbar { display: flex; flex: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 24px 0; }
.reading-plan-modal__pages { display: flex; flex-wrap: wrap; gap: 6px; }
.reading-plan-modal__toolbar button { min-height: 44px; padding: 9px 14px; border: 1px solid #d8d4ca; border-radius: 5px; background: #fffefa; color: var(--navy); font: 500 13px/1.5 var(--font-body); cursor: pointer; }
.reading-plan-modal__pages button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fffefa; }
.reading-plan-modal__toolbar button:hover { border-color: var(--gold-ink); }
#reading-plan-help { flex: none; padding: 10px 24px 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.reading-plan-modal__canvas { flex: 1 1 auto; min-height: 120px; overflow: auto; overscroll-behavior: contain; background: #f0f2f4; border-block: 1px solid var(--line); }
.reading-plan-modal__canvas img { display: block; width: auto; max-width: 100%; height: auto; max-height: max(120px, calc(100dvh - 340px)); margin: auto; object-fit: contain; }
.reading-plan-modal__canvas.is-zoomed img { width: max(1440px, 100%); max-width: none; max-height: none; }
.reading-plan-modal__footer { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; padding: 14px 24px; }
.reading-plan-modal__footer .text-link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 600px) {
  .reading-plan { padding: 20px 18px; }
  .reading-plan h3 { font-size: 26px; }
  .reading-plan-modal__header { padding: 14px 16px; }
  .reading-plan-modal__header .eyebrow { font-size: 9px; letter-spacing: .09em; }
  .reading-plan-modal__header h2 { font-size: 27px; }
  .reading-plan-modal__toolbar { padding: 10px 16px 0; }
  .reading-plan-modal__toolbar button { padding-inline: 10px; font-size: 12px; }
  #reading-plan-help { padding: 8px 16px 10px; font-size: 11px; }
  .reading-plan-modal__footer { padding: 10px 16px; }
  .reading-plan-modal__footer .btn { min-height: 44px; font-size: 13px; padding: 10px 14px; }
  .reading-plan-modal__footer .text-link { font-size: 12px; }
}

/* The R&R vision anchors the opening Revelation 7:9 invitation. */
.hero__vision { display: flex; flex-direction: column; gap: 10px; max-width: 490px; }
.hero__vision .hero__lead { color: var(--navy); line-height: 1.65; }
.hero__vision .hero__lead strong { font-weight: 600; }
.hero__vision-ja { color: #76613e; font-size: 12px; line-height: 1.9; text-wrap: pretty; }
.hero__eyebrow::before { flex: none; }
.hero__welcome { line-height: 1.8; }
@media (min-width: 901px) {
  .hero__inner { padding-block: 48px 56px; }
  .hero__copy { gap: 18px; }
}
@media (max-width: 600px) {
  .hero__eyebrow { font-size: 9px; letter-spacing: .09em; line-height: 1.7; }
  .hero__vision .hero__lead br { display: initial; }
  .hero__vision-ja { font-size: 12px; }
}
/* About SI: editable WordPress blocks, styled to match the pearl and gold theme. */
.si-about { color: var(--text); }
.si-about .wp-block-group { box-sizing: border-box; }
.si-about .wp-block-group > .wp-block-group__inner-container { display: contents; }
.si-about .about-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.si-about .about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.si-about p { line-height: 1.85; }
.si-about h1, .si-about h2, .si-about h3 { font-family: var(--font-display); color: var(--navy); font-weight: 500; line-height: 1.08; }
.si-about h1 { font-size: clamp(42px, 4.7vw, 72px); letter-spacing: -.025em; }
.si-about h2 { font-size: clamp(36px, 3.5vw, 54px); }
.si-about h3 { font-size: clamp(28px, 2.8vw, 40px); }
.si-about h1 em, .si-about h2 em { color: #87652f; }
.si-about .eyebrow { color: #87652f; font-size: 11px; line-height: 1.6; }
.si-about .about-lead { font-size: 20px; line-height: 1.65; }
.si-about .about-ja { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; line-height: 2; color: #647080; }
.si-about figure { margin: 0; min-width: 0; }
.si-about figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.si-about figcaption { font-size: 12px; line-height: 1.8; color: #647080; margin: 14px 0 0; }
.si-about .about-hero { padding-block: 72px; background: linear-gradient(120deg, #faf5e9, #fffefa 65%); }
.si-about .about-family { transform: rotate(1.5deg); }
.si-about .about-family img { box-shadow: 0 16px 50px #293e5814; }
.si-about .about-anchor a { display: inline-block; color: #87652f; text-decoration: none; font-weight: 600; padding-block: 6px; }
.si-about .about-anchor a:hover { text-decoration: underline; }
.si-about .about-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 100px; align-items: start; }
.si-about .about-details { padding: 32px; border: 1px solid #e7dcc7; border-radius: 12px; background: #faf8f3; display: grid; gap: 20px; }
.si-about .about-details strong { color: var(--navy); font-weight: 600; }
.si-about .about-vision { padding-block: 72px; background: #edf2f6; }
.si-about .about-vision-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 100px; align-items: center; }
.si-about .about-scripture { border-left: 2px solid #c8a96d; padding: 24px 0 24px 36px; display: grid; gap: 20px; }
.si-about .about-reference, .si-about .about-role { color: #87652f; font-size: 13px; font-weight: 500; }
.si-about .about-pastor { scroll-margin-top: 140px; }
.si-about .about-portrait { align-self: start; }
.si-about .about-invitation { background: #f7efdf; padding-block: 56px; }
.si-about .about-invitation-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.si-about .about-visit-link a { display: inline-flex; padding: 16px 24px; background: var(--gold); border: 1px solid #d9ba80; border-radius: 5px; color: var(--navy); text-decoration: none; font-weight: 600; white-space: nowrap; }
.si-about .about-source { padding-block: 26px; font-size: 12px; color: #647080; }
.welcome__body > .text-link { margin-top: 24px; display: inline-flex; }
@media (max-width: 900px) {
  .si-about .about-split, .si-about .about-intro, .si-about .about-vision-inner { gap: 36px; }
  .si-about .about-hero { padding-block: 48px; }
}
@media (max-width: 700px) {
  .si-about .about-split, .si-about .about-intro, .si-about .about-vision-inner { grid-template-columns: 1fr; }
  .si-about .band, .si-about .about-vision { padding-block: 48px; }
  .si-about .about-family { transform: none; }
  .si-about .about-details { padding: 24px; }
  .si-about .about-invitation-inner { flex-direction: column; align-items: flex-start; }
  .si-about .about-pastor .about-copy { order: -1; }
  .si-about .about-lead { font-size: 18px; }
}

/* Contact Form 7 and visitor information. */
.si-contact .page-hero { background: linear-gradient(120deg,#faf5e9,#fffefa); }
.si-contact .page-hero .eyebrow { color: #87652f; margin-bottom: 18px; }
.si-contact .page-hero__title { color: var(--navy); }
.si-contact .page-hero__title span { display: inline-block; font: 400 16px 'Noto Sans JP',sans-serif; color: #87652f; margin-left: 16px; vertical-align: middle; }
.contact-lead { font-size: 19px; margin-top: 24px; line-height: 1.7; }
.contact-ja { font-family: 'Noto Sans JP',sans-serif; font-size: 13px; line-height: 1.9; color: #647080; }
.si-contact .page-hero .contact-ja { margin-top: 12px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 64px; align-items: start; }
.contact-form-card { border: 1px solid #e7dcc7; padding: 36px; border-radius: 12px; background: #fffefa; }
.contact-form-card h2 { font: 500 38px/1.15 var(--font-display); color: var(--navy); margin-bottom: 14px; }
.contact-form-card > p { font-size: 13px; color: #647080; line-height: 1.8; }
.si-contact .wpcf7 { margin-top: 28px; }
.si-contact .wpcf7 form > p { margin-bottom: 24px; }
.si-contact .wpcf7 label { display: block; font-size: 14px; font-weight: 600; line-height: 1.8; color: var(--navy); }
.si-contact .wpcf7 label span[lang=ja] { font-family: 'Noto Sans JP',sans-serif; font-size: 12px; font-weight: 400; }
.si-contact .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.si-contact .wpcf7 input[type=text], .si-contact .wpcf7 input[type=email], .si-contact .wpcf7 select, .si-contact .wpcf7 textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; min-height: 48px; border: 1px solid #d2d8dd; border-radius: 6px; background: #fff; color: var(--navy); font: 400 16px/1.6 var(--font-body); }
.si-contact .wpcf7 textarea { min-height: 160px; resize: vertical; }
.si-contact .wpcf7 input:focus, .si-contact .wpcf7 select:focus, .si-contact .wpcf7 textarea:focus { outline: 2px solid #a58a50; outline-offset: 2px; }
.si-contact .wpcf7 input[type=submit] { border: 1px solid #d9ba80; border-radius: 5px; background: var(--gold); color: var(--navy); padding: 15px 24px; min-height: 48px; cursor: pointer; font: 600 15px var(--font-body); }
.si-contact .wpcf7 input[type=submit]:disabled { opacity: .65; cursor: wait; }
.si-contact .wpcf7 .contact-privacy { font-size: 12px; line-height: 1.8; color: #647080; }
.si-contact .wpcf7-not-valid-tip { font-size: 13px; margin-top: 7px; }
.si-contact .wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; border-radius: 6px; font-size: 14px; line-height: 1.8; }
.si-contact .si-contact-trap { display: none !important; }
.contact-details { display: grid; gap: 22px; padding-top: 12px; line-height: 1.85; }
.contact-details .eyebrow { color: #87652f; }
.contact-details h2 { font: 500 42px/1.15 var(--font-display); color: var(--navy); }
.contact-details strong { font-weight: 600; color: var(--navy); }
.contact-direct { display: grid; gap: 12px; border-top: 1px solid #e7dcc7; padding-top: 24px; margin-top: 6px; }
.contact-direct h3 { font-size: 16px; font-weight: 600; color: var(--navy); }
.contact-direct a { color: #87652f; overflow-wrap: anywhere; }
@media(max-width:900px) { .contact-layout { gap: 36px; } .contact-form-card { padding: 26px; } }
@media(max-width:700px) {
  .contact-layout { grid-template-columns: 1fr; }
  .si-contact .band { padding-block: 42px; }
  .contact-form-card { padding: 22px; }
  .contact-form-card h2 { font-size: 32px; }
  .si-contact .page-hero__title span { display: block; margin: 14px 0 0; }
  .contact-lead { font-size: 17px; }
  .si-contact .wpcf7 input[type=submit] { width: 100%; }
}
