/*
 * みんなのWA - 湖畔エディトリアル（Option 1）
 * Visual-only layer. Existing layout order, interaction state, carousel overflow,
 * motion, modal positioning, and visibility rules remain owned by index.html.
 */

:root {
  --c1: #176b4a;
  --c2: #f2a78f;
  --c3: #4f9d69;
  --c4: #73ad72;
  --accent2: #4f9d69;
  --cbg: #f2f8f2;
  --cbg2: #fff9ef;
  --cbg3: #f7fbf6;
  --td: #173b2d;
  --tm: #405b4f;
  --tl: #62776d;
  --glass-bg: rgba(255, 249, 239, .72);
  --glass-bg-soft: rgba(255, 249, 239, .52);
  --glass-bg-strong: rgba(255, 249, 239, .86);
  --glass-border: rgba(23, 107, 74, .14);
  --glass-border2: rgba(23, 107, 74, .20);
  --glass-blur: blur(18px) saturate(125%);
  --shadow-short: 0 3px 10px rgba(23, 107, 74, .08);
  --shadow-wide: 0 22px 54px rgba(32, 75, 56, .08);
  --sh: var(--shadow-short), var(--shadow-wide), inset 0 1px 0 rgba(255, 255, 255, .72);
  --sh2: 0 5px 16px rgba(23, 107, 74, .09), 0 28px 66px rgba(32, 75, 56, .10);
  --r: 28px;
  --r2: 22px;
}

html {
  background: #f2f8f2;
  color-scheme: light;
}

body {
  color: var(--td);
  background: #f2f8f2;
}

body::before {
  background: rgba(255, 249, 239, .14);
  opacity: 1;
}

/* Header: one calm, readable navigation surface. */
.top-nav {
  padding-top: calc(.75rem + env(safe-area-inset-top, 0px));
}

.top-nav-inner {
  max-width: 1240px;
  min-height: 56px;
  padding: .48rem .72rem;
  background: rgba(255, 249, 239, .82);
  border: 1px solid rgba(23, 107, 74, .12);
  border-radius: 22px;
  box-shadow: 0 3px 10px rgba(23, 107, 74, .07), 0 16px 40px rgba(32, 75, 56, .08), inset 0 1px 0 rgba(255, 255, 255, .74);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.top-nav-brand {
  color: #176b4a;
  font-size: .86rem;
  letter-spacing: -.01em !important;
}

.top-nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(23, 107, 74, .12);
}

.top-nav-burger,
.top-nav-pill {
  color: var(--td);
  background: rgba(255, 249, 239, .62);
  border-color: rgba(23, 107, 74, .10);
  box-shadow: 0 2px 7px rgba(23, 107, 74, .05);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.top-nav-burger:hover,
.top-nav-pill:hover {
  color: var(--c1);
  background: rgba(221, 239, 227, .78);
  border-color: rgba(79, 157, 105, .34);
  transform: translateY(-1px);
}

.top-nav-pill.active,
.top-nav-pill[data-section="board"],
.top-nav-pill[data-section="board"]:hover,
.top-nav-pill[data-section="board"].active {
  color: var(--c1);
  background: rgba(221, 239, 227, .82);
  border-color: rgba(79, 157, 105, .30);
}

.top-nav-pill-accent,
.top-nav-pill-accent:hover,
.top-nav-pill-accent.is-open,
.top-nav-burger.is-open {
  color: #ffffff;
  background: #176b4a;
  border-color: rgba(255, 255, 255, .46);
  box-shadow: 0 4px 12px rgba(23, 107, 74, .14), 0 16px 32px rgba(32, 75, 56, .08);
}

/* Hero: the selected 30/70 editorial split, using the existing live video. */
.hero {
  min-height: 660px !important;
  padding: calc(var(--nav-anchor) + 1.3rem) 1.5rem 1.7rem !important;
  color: var(--td);
  align-items: center;
  background: #eef6ef;
}

.hero-bg {
  background-color: #eef6ef;
  background-image: url('/assets/design/homepage-hikone-green-sprout-20260802.webp?v=20260802-1');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-mesh,
.hero-grid-overlay {
  opacity: 0 !important;
}

.hero-glow {
  display: block !important;
  opacity: .09 !important;
  filter: blur(80px);
  animation-duration: 16s;
}

.hero-particles {
  opacity: .07 !important;
}

.hero-video-overlay {
  background: rgba(23, 107, 74, .20);
}

.hero-content {
  width: min(1240px, calc(100vw - 3rem));
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(320px, 410px) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto auto;
  column-gap: 2.15rem;
  row-gap: .48rem;
  align-items: start;
  text-align: left;
}

.hero-logo,
.hero-content > h1,
.hero-content > p,
.hero-trust,
.hero-notif-bar,
.hero-cta {
  grid-column: 1;
}

.hero-logo {
  grid-row: 1;
  margin: .25rem 0 .3rem;
  color: #176b4a;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  font-size: 1.12rem;
  letter-spacing: .02em !important;
}

.hero-content > h1 {
  grid-row: 2;
  margin: 0;
}

.hero h1 {
  color: #174b36;
  font-size: clamp(2.25rem, 3.1vw, 2.8rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -.04em !important;
  text-align: left;
  text-shadow: none;
  text-wrap: balance;
}

#heroTitle {
  word-break: normal;
}

#typedCursor {
  background: #f2a78f;
}

.hero-content > p {
  grid-row: 3;
  margin: 0;
}

.hero p,
#heroSubtitle {
  max-width: 34rem;
  padding: 0;
  color: #405b4f;
  font-size: 1rem;
  line-height: 1.72;
  text-align: left;
  text-shadow: none;
}

.hero-trust {
  grid-row: 4;
  width: 100%;
  max-width: 390px;
  margin: .25rem 0 .3rem !important;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem;
  justify-content: stretch;
  padding: .42rem;
  background: rgba(255, 249, 239, .50);
  border: 1px solid rgba(23, 107, 74, .10);
  border-radius: 24px;
  box-shadow: 0 3px 10px rgba(23, 107, 74, .05), 0 18px 40px rgba(32, 75, 56, .06), inset 0 1px 0 rgba(255, 255, 255, .66);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.hero-trust-item {
  min-height: 46px;
  justify-content: flex-start;
  padding: .52rem .62rem;
  color: var(--c1);
  background: rgba(255, 249, 239, .78);
  border: 1px solid rgba(23, 107, 74, .13);
  border-radius: 17px;
  box-shadow: 0 3px 9px rgba(23, 107, 74, .06);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  font-size: .81rem;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.hero-trust-item::before {
  background: none;
}

.hero-trust-item i {
  color: #4f9d69;
}

.hero-trust-item:hover,
.hero-trust-item[aria-pressed="true"],
.hero-trust-item.is-active {
  color: #174b36;
  background: rgba(221, 239, 227, .94);
  border-color: rgba(79, 157, 105, .44);
  box-shadow: 0 0 0 2px rgba(79, 157, 105, .12), 0 5px 14px rgba(23, 107, 74, .07);
  transform: translateY(-2px);
}

.hero-notif-bar {
  grid-row: 5;
  width: 100%;
  max-width: 390px;
  margin: .25rem 0 0 !important;
  color: var(--td);
}

.hero-notif-section {
  padding: .4rem;
  color: var(--td);
  background: rgba(255, 249, 239, .82);
  border: 1px solid rgba(23, 107, 74, .13);
  border-radius: 18px;
  box-shadow: var(--shadow-short), inset 0 1px 0 rgba(255, 255, 255, .64);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.hero-notif-section::after {
  display: none;
}

.hero-notif-bar .hero-ev-card,
.hero-notif-bar .hero-ev-card:hover,
.hero-board-notif,
.hero-board-notif:hover {
  color: var(--td) !important;
  background: rgba(255, 249, 239, .58) !important;
  border-color: rgba(23, 107, 74, .10) !important;
  box-shadow: none !important;
  transform: none;
}

.hero-notif-bar .hero-ev-card.hero-event-strip,
.hero-notif-bar .hero-ev-card.hero-event-strip:hover {
  color: var(--td) !important;
  background: rgba(255, 249, 239, .64) !important;
  border-color: rgba(23, 107, 74, .10) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .66) !important;
  backdrop-filter: blur(12px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
}

.hero-event-kicker {
  color: #a4513d !important;
}

.hero-event-date {
  color: #405b4f !important;
}

.hero-notif-bar .hero-ev-title,
.hero-notif-bar .hero-ev-date,
.hero-notif-bar .hero-ev-cd-text,
.hero-board-notif-text {
  color: var(--td) !important;
  text-shadow: none;
}

.hero-notif-bar .hero-ev-status-text {
  color: #7d3d2f !important;
  background: rgba(242, 167, 143, .30) !important;
  border-color: rgba(164, 81, 61, .22) !important;
}

.hero-vid-showcase {
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 34px 42px 32px 46px;
  isolation: isolate;
  transition: transform .42s cubic-bezier(.2, .8, .2, 1), filter .42s ease;
}

.hero-vid-showcase::before {
  content: "";
  position: absolute;
  inset: 8% -2% -7% 6%;
  z-index: -1;
  border-radius: 40%;
  background: rgba(79, 157, 105, .16);
  box-shadow: -24px -10px 70px rgba(242, 167, 143, .17), 30px 24px 76px rgba(79, 157, 105, .14);
  filter: blur(34px);
  pointer-events: none;
}

.hero-vid-frame {
  overflow: hidden;
  border: 1px solid rgba(23, 107, 74, .16);
  border-radius: inherit;
  background: rgba(255, 249, 239, .58);
  box-shadow: 0 4px 14px rgba(23, 107, 74, .10), 0 28px 64px rgba(32, 75, 56, .11), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.hero-vid-frame video.hero-local-digest-video,
.hero-video-fallback,
.hero-video-fallback img,
.hero-local-video-poster {
  border-radius: inherit;
}

.hero-muted-badge,
.hero-sound-play,
.hero-vid-action {
  color: var(--c1);
  min-height: 44px;
  background: rgba(255, 249, 239, .88) !important;
  border-color: rgba(23, 107, 74, .16);
  box-shadow: 0 3px 10px rgba(23, 107, 74, .08), inset 0 1px 0 rgba(255, 255, 255, .66);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.hero-muted-badge:hover,
.hero-sound-play:hover,
.hero-vid-action:hover {
  color: #174b36;
  background: rgba(221, 239, 227, .94) !important;
  border-color: rgba(79, 157, 105, .42);
  transform: translateY(-2px);
}

.hero-vid-actions {
  margin-top: .42rem;
  gap: .4rem;
}

.hero-cta {
  grid-row: 6;
  justify-content: flex-start;
  margin: .3rem 0 0;
}

.hero-cta .btn-glass {
  color: #ffffff;
  background: #176b4a;
  border-color: rgba(255, 255, 255, .48);
  box-shadow: 0 4px 12px rgba(23, 107, 74, .15), 0 18px 36px rgba(32, 75, 56, .10);
}

.hero-scroll {
  color: rgba(23, 75, 54, .72);
}

.hero-scroll-line {
  background: rgba(23, 107, 74, .42);
}

/* Main editorial rhythm. Functional grid/order rules are intentionally untouched. */
.bento-container {
  max-width: 1240px;
  padding: .8rem 1.1rem 2rem;
}

.bento-grid {
  gap: .72rem;
}

.bento-cell,
.glass-surface,
.card,
.about-card,
.board-post,
.faq-item,
.contact-box,
.interview-card,
.op-card,
.mem-card,
.member-map-wrap {
  background: rgba(255, 249, 239, .72);
  border-color: rgba(23, 107, 74, .12) !important;
  box-shadow: var(--sh) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.bento-cell:has(#events) {
  background: rgba(255, 249, 239, .70);
  border: 1px solid rgba(23, 107, 74, .10) !important;
  border-radius: 32px;
  box-shadow: var(--sh) !important;
}

.bento-cell:has(#about),
.bento-cell:has(#participation-guide),
.bento-cell:has(#members),
.bento-cell:has(#blogs) {
  background: transparent;
  border-color: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
}

.sec {
  max-width: 1240px;
  padding: 2.8rem 1.4rem 2.5rem;
}

.sec-head {
  margin-bottom: 1.05rem;
}

.sec-head h2 {
  color: #173b2d;
  font-size: clamp(2rem, 2.75vw, 2.3rem);
  line-height: 1.3;
  letter-spacing: -.035em !important;
}

.sec-head h2 i {
  color: #4f9d69;
  opacity: 1;
}

.sec-head h2::after {
  width: 44px;
  height: 3px;
  background: #f2a78f;
}

.sec-head p {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  color: #62776d;
  font-size: 1rem;
  line-height: 1.7;
}

.carousel-track {
  gap: .78rem;
  padding-bottom: .5rem;
}

.ev-card,
.blog-card,
.mem-card,
.op-card {
  overflow: hidden;
  background: rgba(255, 249, 239, .82);
  border: 1px solid rgba(23, 107, 74, .12) !important;
  border-radius: 22px;
  box-shadow: 0 3px 10px rgba(23, 107, 74, .07), 0 18px 42px rgba(32, 75, 56, .07), inset 0 1px 0 rgba(255, 255, 255, .68) !important;
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}

.ev-card:hover,
.blog-card:hover,
.mem-card:hover,
.op-card:hover {
  border-color: rgba(79, 157, 105, .32) !important;
  box-shadow: 0 5px 14px rgba(23, 107, 74, .09), 0 24px 50px rgba(32, 75, 56, .09) !important;
}

.card-tag,
.blog-date-badge,
.board-cat,
.card-cat-badge.cat-notice {
  color: #53372f;
  background: #f2a78f;
  box-shadow: none;
}

.card-cat-badge.cat-report {
  background: #176b4a;
}

.btn-primary,
.ev-apply-btn,
.hero-cta .btn-glass {
  color: #ffffff;
  background: #176b4a;
  border-color: rgba(255, 255, 255, .48);
  box-shadow: 0 4px 12px rgba(23, 107, 74, .15), 0 18px 36px rgba(32, 75, 56, .10);
}

.btn-primary:hover,
.ev-apply-btn:hover,
.hero-cta .btn-glass:hover {
  color: #ffffff;
  background: #12583d;
  border-color: rgba(255, 255, 255, .64);
  box-shadow: 0 5px 14px rgba(23, 107, 74, .17), 0 22px 42px rgba(32, 75, 56, .11);
  transform: translateY(-2px);
}

.btn-outline,
.btn-ghost,
.mem-filter-btn,
.mem-filter-chip,
.search-box input {
  color: var(--c1);
  background: rgba(255, 249, 239, .72);
  border-color: rgba(23, 107, 74, .13);
  box-shadow: 0 3px 9px rgba(23, 107, 74, .06);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.btn-outline:hover,
.btn-ghost:hover,
.mem-filter-btn:hover,
.mem-filter-btn.active {
  color: #ffffff;
  background: var(--c1);
  border-color: var(--c1);
}

.mem-filter-chip:hover,
.mem-filter-chip.active {
  color: #ffffff;
  background: var(--c1);
  border-color: var(--c1);
  box-shadow: none;
}

.mem-board-btn,
.mem-approach-btn,
#board .board-action-primary,
#board .board-action-primary:hover {
  color: #ffffff;
  background: #176b4a;
  border-color: rgba(255, 255, 255, .44);
  box-shadow: 0 3px 10px rgba(23, 107, 74, .12), 0 14px 28px rgba(32, 75, 56, .08);
}

.mem-board-btn:hover,
.mem-approach-btn:hover,
#board .board-action-primary:hover {
  background: #12583d;
  box-shadow: 0 4px 12px rgba(23, 107, 74, .16), 0 18px 34px rgba(32, 75, 56, .09);
}

#board .board-action,
.board-detail-open {
  color: #176b4a !important;
  border-color: rgba(23, 107, 74, .18) !important;
}

#board .board-action:hover,
.board-detail-open:hover {
  color: #174b36 !important;
  background: rgba(221, 239, 227, .74) !important;
}

.bento-cell > .sec {
  padding: 1.05rem 1.15rem 1.05rem;
}

.bento-cell .sec-head {
  margin-bottom: .8rem;
}

.ev-card .card-img-wrap,
.blog-card .card-img-wrap {
  margin: .42rem .42rem 0;
  overflow: hidden;
  border-radius: 19px;
}

#events .carousel-track > .ev-card:nth-child(3n + 1),
#blogs .carousel-track > .blog-card:nth-child(3n + 1),
#members .carousel-track > .mem-card:nth-child(3n + 1),
#opMembers .carousel-track > .op-card:nth-child(3n + 1) {
  border-radius: 28px 21px 30px 24px;
}

#events .carousel-track > .ev-card:nth-child(3n + 2),
#blogs .carousel-track > .blog-card:nth-child(3n + 2),
#members .carousel-track > .mem-card:nth-child(3n + 2),
#opMembers .carousel-track > .op-card:nth-child(3n + 2) {
  border-radius: 22px 29px 24px 30px;
}

#events .carousel-track > .ev-card:nth-child(3n),
#blogs .carousel-track > .blog-card:nth-child(3n),
#members .carousel-track > .mem-card:nth-child(3n),
#opMembers .carousel-track > .op-card:nth-child(3n) {
  border-radius: 26px 24px 22px 29px;
}

.board-post,
.contact-box,
.interview-card {
  border-radius: 22px;
}

.btn,
.top-nav-pill,
.top-nav-burger,
.hero-vid-action,
.hero-sound-play {
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), background-color .28s ease, border-color .28s ease, box-shadow .28s ease, color .28s ease;
}

.btn:active,
.top-nav-pill:active,
.top-nav-burger:active,
.hero-vid-action:active,
.hero-sound-play:active {
  transform: scale(.98);
}

@media (hover: hover) and (pointer: fine) {
  .hero-vid-showcase:hover {
    transform: translateY(-4px) scale(1.004);
    filter: saturate(1.04);
  }

  .ev-card:hover,
  .blog-card:hover,
  .mem-card:hover,
  .op-card:hover {
    transform: translateY(-3px);
  }

  .board-post:hover,
  .join-step:hover,
  .about-acc:hover,
  .faq-item:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 157, 105, .30) !important;
    box-shadow: 0 4px 12px rgba(23, 107, 74, .08), 0 22px 46px rgba(32, 75, 56, .08) !important;
  }
}

@media (min-width: 769px) {
  #events .carousel-track .ev-card {
    width: 278px;
  }

  #members .carousel-track .mem-card,
  #blogs .carousel-track .blog-card,
  #opMembers .carousel-track .op-card {
    width: 220px;
  }
}

/* About: use an existing real community photo, never generated evidence. */
#about .pvm-block {
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  grid-template-rows: auto 1fr;
  gap: .45rem 1rem;
  margin-bottom: .8rem;
  padding: .85rem;
  background: rgba(255, 249, 239, .76);
  border: 1px solid rgba(23, 107, 74, .12);
  border-radius: 24px;
  box-shadow: 0 3px 10px rgba(23, 107, 74, .06), 0 18px 42px rgba(32, 75, 56, .06), inset 0 1px 0 rgba(255, 255, 255, .68);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

#about .pvm-head,
#about .pvm-list {
  grid-column: 1;
}

#about .pvm-block::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 220px;
  background-color: #edf1eb;
  background-image: url('/assets/design/about-community.webp?v=20260802-1');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border: 1px solid rgba(23, 107, 74, .12);
  border-radius: 20px 26px 20px 30px;
  box-shadow: 0 3px 10px rgba(23, 107, 74, .07), 0 18px 38px rgba(32, 75, 56, .07);
}

.pvm-row {
  border-top-color: #eee7dc !important;
}

.pvm-title {
  color: #a4513d;
}

.join-steps {
  gap: .65rem;
  margin-bottom: .8rem;
}

.join-step {
  padding: .78rem;
  background: rgba(255, 249, 239, .76);
  border-color: rgba(23, 107, 74, .12);
  border-radius: 19px;
  box-shadow: 0 3px 10px rgba(23, 107, 74, .06), 0 18px 42px rgba(32, 75, 56, .06);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.join-step::before {
  height: 3px;
  background: #f2a78f;
}

.join-step-num {
  background: #176b4a;
  box-shadow: 0 4px 12px rgba(23, 107, 74, .14);
}

.about-acc,
.about-chk,
.faq-item {
  background: rgba(255, 249, 239, .76) !important;
  border-color: rgba(23, 107, 74, .12) !important;
  box-shadow: 0 3px 10px rgba(23, 107, 74, .06), 0 18px 42px rgba(32, 75, 56, .06) !important;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.about-acc-icon,
.faq-q i {
  background: #176b4a;
  box-shadow: 0 4px 12px rgba(23, 107, 74, .14);
}

.contact-info-item,
.board-modal-profile,
.board-chip {
  background: rgba(221, 239, 227, .74);
}

.modal-box {
  color: var(--td);
  background: rgba(255, 249, 239, .92);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 30px 90px rgba(8, 80, 88, .22);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.bottom-nav,
.bottom-menu-panel,
.mypage-panel {
  background: rgba(255, 249, 239, .90);
  border-color: rgba(23, 107, 74, .14);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

:focus-visible {
  outline: 3px solid rgba(23, 107, 74, .72);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.hero-cta .btn-glass:focus-visible,
.top-nav-pill-accent:focus-visible {
  outline-color: #f2a78f;
}

@media (max-width: 900px) {
  .top-nav {
    padding-top: calc(.45rem + env(safe-area-inset-top, 0px));
  }

  .hero {
    min-height: auto !important;
    padding: calc(var(--nav-anchor) + 1.35rem) 1rem 2rem !important;
  }

  .hero-bg {
    background-position: 50% center;
  }

  .hero-content {
    width: min(100%, 720px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
  }

  .hero-logo,
  .hero h1,
  .hero p,
  #heroSubtitle {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 8.7vw, 2.85rem) !important;
  }

  .hero-trust {
    width: 100%;
    max-width: 620px;
    grid-template-columns: 1fr 1fr;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-trust-item {
    justify-content: center;
  }

  .hero-notif-bar {
    width: 100%;
    max-width: 620px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-vid-showcase {
    width: min(100%, 720px);
    margin: .3rem auto 0;
  }

  .hero-cta {
    justify-content: center;
  }

  .sec {
    padding: 2.2rem 1rem 2rem;
  }

  #about .pvm-block {
    grid-template-columns: 1fr;
  }

  #about .pvm-head,
  #about .pvm-list,
  #about .pvm-block::after {
    grid-column: 1;
  }

  #about .pvm-block::after {
    grid-row: 3;
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .top-nav-inner {
    min-height: 50px;
    border-radius: 18px;
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
  }

  .top-nav-brand img {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding: calc(var(--nav-anchor) + 1.05rem) .72rem 1.45rem !important;
  }

  .hero h1 {
    letter-spacing: -.045em !important;
  }

  .hero-trust {
    gap: .38rem;
    padding: .38rem;
    border-radius: 20px;
    backdrop-filter: blur(11px) saturate(115%);
    -webkit-backdrop-filter: blur(11px) saturate(115%);
  }

  .hero-trust-item {
    min-height: 48px;
    padding: .55rem .42rem;
    font-size: .77rem;
    line-height: 1.35;
    white-space: normal;
    border-radius: 15px;
  }

  .hero-vid-frame,
  .hero-vid-showcase {
    border-radius: 24px;
  }

  .hero-vid-showcase::before {
    inset: 10% 0 -5% 8%;
    filter: blur(22px);
  }

  .hero-muted-badge,
  .hero-sound-play,
  .hero-vid-action {
    backdrop-filter: blur(12px) saturate(115%);
    -webkit-backdrop-filter: blur(12px) saturate(115%);
  }

  .hero-vid-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-vid-action {
    width: 100%;
    padding-left: .38rem;
    padding-right: .38rem;
  }

  .hero-sound-play,
  .hero-vid-action {
    min-height: 44px;
  }

  .bento-container {
    padding: .55rem .55rem calc(1.4rem + env(safe-area-inset-bottom));
  }

  .bento-grid {
    gap: .62rem;
  }

  .bento-cell:has(#events) {
    border-radius: 24px;
  }

  .hero-glow,
  .hero-particles {
    display: none !important;
  }

  .sec {
    padding: 1.45rem .72rem 1.25rem !important;
  }

  .sec-head {
    text-align: left;
    margin-bottom: .8rem !important;
  }

  .sec-head h2 {
    justify-content: flex-start;
    font-size: 1.72rem !important;
    text-align: left;
  }

  .sec-head h2::after {
    left: 0;
    transform: none;
  }

  .sec-head p {
    margin-left: 0;
    text-align: left;
  }

  #about .pvm-block::after {
    min-height: 185px;
  }

  .join-steps {
    gap: .55rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto !important;
    padding: calc(var(--nav-anchor) + 1rem) 1rem 2rem !important;
  }
}

/* Member showcase: compact local-business discovery. */
.member-showcase-cell {
  grid-column: 1 / -1;
}

#members {
  position: relative;
}

#members::before {
  content: "";
  position: absolute;
  inset: .25rem 0 auto;
  height: 210px;
  z-index: -1;
  pointer-events: none;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 15%, rgba(115, 173, 114, .15), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(242, 167, 143, .13), transparent 31%);
}

.member-discovery-tools {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  margin-bottom: 1rem;
}

.member-search-field {
  position: relative;
  display: block;
  width: 100%;
}

.member-search-field i {
  position: absolute;
  top: 50%;
  left: .95rem;
  z-index: 1;
  color: #62776d;
  transform: translateY(-50%);
}

.member-search-field input {
  width: 100%;
  min-height: 44px;
  padding: .7rem .95rem .7rem 2.55rem;
  border: 1px solid rgba(23, 107, 74, .17);
  border-radius: 14px;
  background: rgba(255, 253, 248, .92);
  color: var(--td);
  font: inherit;
}

.member-search-field input::-webkit-search-cancel-button {
  cursor: pointer;
}

.member-category-scroller {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

#members .mem-filter-bar {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  margin: 0;
  gap: .45rem;
  padding: .1rem 0 .35rem;
}

#members .mem-filter-chip {
  min-height: 40px;
  padding: .48rem .78rem;
  border: 1px solid rgba(23, 107, 74, .17);
  border-radius: 999px;
  color: #315446;
  background: rgba(255, 253, 248, .86);
  box-shadow: 0 2px 7px rgba(23, 107, 74, .05);
  text-decoration: none;
  font-size: .75rem;
  line-height: 1.1;
  flex: 0 0 auto;
  white-space: nowrap;
}

#members .mem-filter-chip:hover {
  color: #174b36;
  background: #ffffff;
  border-color: rgba(23, 107, 74, .36);
}

#members .mem-filter-chip[aria-pressed="true"] {
  color: #ffffff;
  background: #176b4a;
  border-color: #176b4a;
  box-shadow: 0 5px 14px rgba(23, 107, 74, .16);
}

.member-discovery-heading {
  max-width: 720px;
  margin-bottom: .72rem !important;
}

.member-section-eyebrow,
.member-information-panel-kicker {
  margin: 0 0 .22rem;
  color: #27835e;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.2;
}

.member-discovery-heading h2 {
  margin-bottom: .22rem;
}

.member-discovery-heading > p:last-child {
  max-width: 48rem;
  color: #536b60;
  font-size: .88rem;
  line-height: 1.65;
}

.member-discovery-tools {
  grid-template-columns: minmax(220px, .82fr) minmax(0, 1.18fr);
  gap: .75rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: .72rem;
  border: 1px solid rgba(23, 107, 74, .12);
  border-radius: 18px;
  background: rgba(255, 253, 248, .72);
  box-shadow: 0 4px 14px rgba(23, 107, 74, .045);
}

.member-discovery-fieldgroup {
  min-width: 0;
}

.member-discovery-label {
  display: flex;
  align-items: center;
  gap: .32rem;
  margin: 0 0 .35rem;
  color: #456457;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.25;
}

.member-discovery-label i {
  color: #27835e;
}

.member-community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: 1rem;
  align-items: stretch;
  margin: .1rem 0 1.1rem;
}

#members .member-community-grid .member-community-panel {
  min-width: 0;
  min-height: 0 !important;
  padding: 1rem !important;
  scroll-margin-top: calc(var(--nav-anchor) + .8rem);
  border: 1px solid rgba(23, 107, 74, .14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 253, 248, .95), rgba(242, 248, 243, .84));
  box-shadow: 0 7px 22px rgba(23, 107, 74, .07);
}

.member-information-panel-head {
  display: flex;
  align-items: flex-start;
  gap: .62rem;
  min-width: 0;
  margin: 0 0 .78rem;
}

.member-information-panel-icon {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #176b4a;
  background: rgba(79, 157, 105, .12);
}

.member-board-panel .member-information-panel-icon {
  color: #a4513d;
  background: rgba(242, 167, 143, .2);
}

.member-information-panel-head > div {
  min-width: 0;
}

.member-information-panel-head h3 {
  margin: 0;
  color: #173b2d;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.3;
}

.member-information-panel-head > div > p:last-child {
  margin: .15rem 0 0;
  color: #61756b;
  font-size: .75rem;
  line-height: 1.45;
}

#members #board.member-board-panel .board-post-btn {
  position: static !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  min-height: 40px !important;
  margin: 0 0 0 auto !important;
  padding: .45rem .68rem !important;
  transform: none !important;
  font-size: .76rem !important;
  line-height: 1.1;
}

#members #board.member-board-panel .board-panel-actions {
  margin-bottom: .78rem;
}

#boardPostModal .board-post-back {
  position: absolute;
  z-index: 3;
  top: .72rem;
  right: .72rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 34px;
  padding: .35rem .62rem;
  border: 1px solid rgba(23, 107, 74, .18);
  border-radius: 999px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 3px 10px rgba(23, 107, 74, .1);
  color: #176b4a;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

#boardPostModal .board-post-back:hover {
  background: #ffffff;
  border-color: rgba(23, 107, 74, .35);
}

#boardPostModal .board-post-back:focus-visible {
  outline: 3px solid rgba(242, 167, 143, .72);
  outline-offset: 2px;
}

#boardPostModal .modal-title {
  padding-right: 5.5rem;
}

#members #board.member-board-panel .board-list,
#members #board.member-board-panel .board-list.board-list-expanded {
  max-width: none !important;
  min-height: 250px;
  max-height: 306px !important;
  margin: 0 !important;
  padding-right: .2rem;
  overflow-y: auto !important;
}

#members #memberMap.member-map-panel .member-map-wrap {
  gap: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#members #memberMap.member-map-panel .member-map-container {
  height: 330px !important;
  min-height: 330px !important;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(23, 107, 74, .08);
}

.member-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .82rem;
  align-items: start;
}

.member-showcase-grid .member-showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  align-self: start;
  cursor: pointer;
  border: 1px solid rgba(23, 107, 74, .13) !important;
  border-radius: 18px;
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 3px 10px rgba(23, 107, 74, .07), 0 16px 32px rgba(32, 75, 56, .055) !important;
}

.member-showcase-grid .member-showcase-card.has-site {
  border-color: rgba(23, 107, 74, .22) !important;
}

.member-site-media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: inherit;
  background: linear-gradient(105deg, #e7efe9 8%, #f8fbf8 18%, #e7efe9 33%);
  background-size: 220% 100%;
  text-decoration: none;
  isolation: isolate;
}

.member-site-media.is-loading {
  animation: member-media-loading 1.25s linear infinite;
}

@media (max-width: 820px) {
  .member-community-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #members .member-community-grid .member-community-panel {
    padding: .85rem !important;
  }

  #members #board.member-board-panel .board-list,
  #members #board.member-board-panel .board-list.board-list-expanded {
    min-height: 220px;
    max-height: 280px !important;
  }

  #members #memberMap.member-map-panel .member-map-container {
    height: 260px !important;
    min-height: 240px !important;
  }
}

@media (max-width: 640px) {
  .member-information-panel-head {
    gap: .52rem;
  }

  .member-information-panel-head h3 {
    font-size: .96rem;
  }

  .member-information-panel-head > div > p:last-child {
    font-size: .72rem;
  }

  #members #board.member-board-panel .board-panel-actions {
    margin-bottom: .62rem;
  }

  #members #board.member-board-panel .board-post-btn {
    min-height: 38px;
    padding: .38rem .56rem !important;
    font-size: .72rem !important;
  }

  #boardPostModal .board-post-back {
    top: .58rem;
    right: .58rem;
    min-height: 32px;
    padding: .32rem .52rem;
    font-size: .72rem;
  }

  #boardPostModal .modal-title {
    padding-right: 4.95rem;
  }

}

.member-preview-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem;
  color: #14583f;
  background: rgba(244, 250, 246, .9);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.member-preview-spinner {
  width: 1.35rem;
  height: 1.35rem;
  border: 3px solid rgba(23, 107, 74, .2);
  border-top-color: #176b4a;
  border-radius: 50%;
  animation: member-preview-spin .78s linear infinite;
}

.member-site-media.is-screenshot.is-loading img {
  opacity: .16;
}

@keyframes member-preview-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .member-preview-spinner {
    animation: none;
  }
}

.member-site-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #edf3ee;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), filter .28s ease, opacity .2s ease;
}

.member-perk-badge {
  position: absolute;
  right: .42rem;
  bottom: .42rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .24rem;
  padding: .26rem .5rem;
  border: 1px solid rgba(245, 158, 11, .42);
  border-radius: 999px;
  color: #8a5100;
  background: rgba(255, 251, 235, .96);
  box-shadow: 0 3px 10px rgba(120, 72, 0, .18);
  font-size: .64rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.member-perk-badge i {
  color: #d97706;
  font-size: .62rem;
}

.member-site-media.is-profile img {
  object-position: center top;
}

.member-site-media.is-instagram-preview img {
  object-position: center;
}

.member-showcase-card.has-site .member-site-media.is-screenshot img {
  object-fit: contain;
  object-position: top center;
  background: #e7efea;
}

.member-instagram-fallback {
  display: grid;
  width: 100%;
  min-height: 100%;
  place-content: center;
  gap: .24rem;
  padding: .8rem;
  overflow-wrap: anywhere;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 10px rgba(62, 17, 74, .22);
  background:
    radial-gradient(circle at 16% 104%, rgba(254, 211, 115, .98) 0 13%, transparent 38%),
    radial-gradient(circle at 96% 0%, rgba(255, 204, 122, .62) 0 11%, transparent 35%),
    linear-gradient(135deg, #5b3193 0%, #c43283 46%, #f58529 100%);
}

.member-instagram-fallback i {
  font-size: 1.52rem;
  line-height: 1;
}

.member-instagram-fallback span {
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.member-instagram-fallback strong {
  max-width: 100%;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.25;
}

.member-site-media.is-blank {
  background: transparent;
}

.member-media-blank {
  width: 100%;
  min-height: 100%;
}

.member-site-media:focus-visible,
#members .mem-filter-chip:focus-visible,
.member-showcase-card:focus-visible {
  outline: 3px solid rgba(23, 107, 74, .38);
  outline-offset: 2px;
}

.member-showcase-body {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  flex-direction: column;
  gap: .3rem;
  padding: .68rem .7rem .62rem;
  text-align: left;
}

.member-card-rank {
  position: absolute;
  top: .42rem;
  left: .42rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .18rem;
  max-width: calc(100% - .84rem);
}

.member-card-rank:empty {
  display: none;
}

.member-card-rank .mem-rank {
  margin: 0;
  padding: .16rem .42rem;
  font-size: .61rem;
}

.member-card-rank .mem-rank-count {
  margin: 0;
  padding: .18rem .35rem;
  border-radius: 999px;
  color: #234638;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 8px rgba(21, 61, 43, .12);
  font-size: .58rem;
}

.member-showcase-body h3 {
  display: -webkit-box;
  min-height: 2.5em;
  margin: 0;
  overflow: hidden;
  color: #173b2d;
  font-size: .96rem;
  font-weight: 850;
  line-height: 1.25;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.member-person-name {
  margin: -.08rem 0 0;
  overflow: hidden;
  color: #62776d;
  font-size: .69rem;
  font-weight: 650;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-card-meta {
  display: flex;
  min-width: 0;
  gap: .28rem;
  overflow: hidden;
}

.member-card-meta span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: .17rem .38rem;
  border-radius: 999px;
  color: #456358;
  background: rgba(79, 157, 105, .095);
  font-size: .63rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-showcase-body .mem-intro {
  display: -webkit-box;
  min-height: 2.8em;
  margin: .02rem 0 0;
  padding: 0;
  overflow: hidden;
  color: #536b60;
  font-size: .72rem;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.member-showcase-body .mem-benefit {
  margin: .02rem 0 0;
  padding: .3rem .42rem;
  overflow: hidden;
  border: 1px solid rgba(211, 145, 36, .15);
  border-radius: 8px;
  color: #8b5817;
  background: rgba(253, 230, 138, .28);
  font-size: .66rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-showcase-body .mem-benefit i {
  float: none;
  margin: 0 .18rem 0 0;
  font-size: .62rem;
}

.member-showcase-body .mem-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: .32rem;
  min-height: 40px;
  margin: auto -.1rem -.05rem;
  padding: .38rem 0 0;
  border: 0;
  border-top: 1px solid rgba(23, 107, 74, .08);
  background: transparent;
}

.member-showcase-body .mem-links {
  display: flex;
  flex-wrap: nowrap;
  gap: .25rem;
}

.member-showcase-body .mem-links a,
.member-showcase-body .mem-links button {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  padding: 0 !important;
  border: 1px solid rgba(23, 107, 74, .14);
  color: #176b4a;
  background: rgba(79, 157, 105, .08);
  font-size: .82rem !important;
  box-shadow: none;
}

.member-showcase-body .mem-approach-btn {
  min-width: 0;
  min-height: 40px;
  padding: .42rem .58rem;
  border-radius: 10px;
  font-size: .69rem;
  box-shadow: 0 3px 9px rgba(23, 107, 74, .11);
}

.member-empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 190px;
  place-content: center;
  justify-items: center;
  gap: .35rem;
  padding: 1.5rem;
  border: 1px dashed rgba(23, 107, 74, .24);
  border-radius: 18px;
  color: #536b60;
  background: rgba(255, 253, 248, .62);
  text-align: center;
}

.member-empty > i {
  margin-bottom: .15rem;
  color: #4f9d69;
  font-size: 1.35rem;
}

.member-empty strong {
  color: #294d3e;
  font-size: .92rem;
}

.member-empty span {
  font-size: .76rem;
}

.member-empty .member-empty-clear {
  margin-top: .35rem;
}

@keyframes member-media-loading {
  to { background-position-x: -220%; }
}

@media (hover: hover) and (pointer: fine) {
  .member-showcase-grid .member-showcase-card:hover {
    transform: translateY(-3px);
  }

  .member-showcase-card.has-site:hover .member-site-media img {
    transform: scale(1.025);
    filter: saturate(1.03);
  }
}

@media (min-width: 1380px) {
  .member-showcase-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .72rem;
  }
}

@media (max-width: 1180px) {
  .member-showcase-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .member-discovery-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #members::before {
    inset-inline: -.2rem;
    height: 170px;
    border-radius: 24px;
  }

  .member-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .58rem;
  }

  .member-showcase-grid .member-showcase-card {
    border-radius: 14px;
  }

  .member-showcase-body {
    gap: .24rem;
    padding: .55rem .52rem .5rem;
  }

  .member-showcase-body h3 {
    min-height: 2.55em;
    font-size: .82rem;
    line-height: 1.28;
  }

  .member-person-name {
    font-size: .63rem;
  }

  .member-card-meta {
    gap: .2rem;
  }

  .member-card-meta span {
    padding: .14rem .3rem;
    font-size: .57rem;
  }

  .member-showcase-body .mem-intro {
    min-height: 2.75em;
    font-size: .65rem;
    line-height: 1.38;
  }

  .member-showcase-body .mem-benefit {
    padding: .27rem .34rem;
    font-size: .6rem;
  }

  .member-card-rank {
    top: .32rem;
    left: .32rem;
  }

  .member-card-rank .mem-rank-count {
    display: none;
  }

  .member-showcase-body .mem-links a,
  .member-showcase-body .mem-links button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
  }

  .member-showcase-body .mem-approach-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
  }

  .member-showcase-body .mem-links a[title="公式サイト"] {
    display: none;
  }

  .member-showcase-body .mem-approach-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Member card: desktop-ready site preview first, then the shop details. */
.member-card-head {
  display: grid;
  flex: 0 0 auto;
  min-width: 0;
  gap: .14rem;
  padding: .52rem .68rem .42rem;
  border-top: 1px solid rgba(23, 107, 74, .1);
  text-align: left;
}

.member-card-head h3 {
  display: -webkit-box;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #173b2d;
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.24;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.member-card-head .member-person-name,
.member-card-head .member-service-name {
  margin: 0;
  overflow: hidden;
  color: #62776d;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-card-head .member-service-name {
  color: #426354;
  font-weight: 750;
}

.member-showcase-grid .member-site-media {
  aspect-ratio: 16 / 10;
}

.member-showcase-grid .member-showcase-body {
  gap: .12rem;
  padding: .28rem .62rem .3rem;
}

.member-showcase-grid .member-showcase-body .mem-intro {
  min-height: 0;
}

.member-showcase-grid .member-card-head {
  gap: .1rem;
  padding: .42rem .62rem .32rem;
}

@media (max-width: 640px) {
  .member-card-head {
    padding: .4rem .5rem .28rem;
  }

  .member-card-head h3 {
    font-size: 1rem;
  }

  .member-card-head .member-person-name,
  .member-card-head .member-service-name {
    font-size: .72rem;
  }

  .member-showcase-grid .member-showcase-body {
    gap: .12rem;
    padding: .26rem .5rem .28rem;
  }

  .member-perk-badge {
    right: .3rem;
    bottom: .3rem;
    gap: .2rem;
    padding: .22rem .4rem;
    font-size: .58rem;
  }

  .member-perk-badge i {
    font-size: .56rem;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top-nav-inner,
  .hero-trust,
  .hero-trust-item,
  .hero-notif-section,
  .hero-muted-badge,
  .hero-sound-play,
  .hero-vid-action,
  .bento-cell,
  .glass-surface,
  .card,
  .about-card,
  .board-post,
  .faq-item,
  .contact-box,
  .interview-card,
  .op-card,
  .mem-card,
  .member-map-wrap {
    background: #fff9ef;
    border-color: rgba(23, 107, 74, .20) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .hero-glow,
  .hero-particles,
  .hero-vid-showcase,
  .hero-vid-showcase::before,
  .hero-trust-item,
  .ev-card,
  .blog-card,
  .mem-card,
  .op-card,
  .board-post,
  .join-step,
  .about-acc,
  .faq-item,
  .btn,
  .top-nav-pill,
  .top-nav-burger,
  .hero-vid-action,
  .hero-sound-play {
    animation: none !important;
    transition-duration: .01ms !important;
    transform: none !important;
  }

  .member-site-media,
  .member-site-media img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media print {
  body {
    color: #000 !important;
    background: #fff !important;
  }

  .hero-bg {
    background: #fff !important;
  }

  .hero h1,
  .hero p,
  #heroSubtitle {
    color: #000 !important;
  }

  .top-nav,
  .hero-particles,
  .hero-glow,
  .hero-grid-overlay,
  .hero-mesh {
    display: none !important;
  }
}

/* Hero feature cues: keep three actions clear without a surrounding frame. */
.hero-trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-trust-item {
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: .46rem .38rem;
  white-space: nowrap;
}

/* One small latest-video card immediately below the hero. */
.youtube-latest {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: .58rem 1rem .28rem;
}

.youtube-latest-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: .5rem;
  gap: .72rem;
  border: 1px solid rgba(23, 107, 74, .14);
  border-radius: 16px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 4px 16px rgba(32, 75, 56, .08);
}

.youtube-latest-media {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 11px;
  background: #19352b;
}

.youtube-latest-media iframe,
.youtube-latest-media video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.youtube-latest-media iframe[hidden],
.youtube-latest-media video[hidden] {
  display: none !important;
}

.youtube-latest-badge {
  position: absolute;
  top: .38rem;
  left: .38rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .4rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(176, 29, 29, .9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
  font-size: .58rem;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: none;
}

.youtube-latest-copy {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: .13rem;
}

.youtube-latest-kicker {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  color: #b51f1f;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.25;
}

.youtube-latest-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #173f31;
  font-size: .92rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.youtube-latest-copy p {
  margin: 0;
  overflow: hidden;
  color: #687b71;
  font-size: .7rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.youtube-latest-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: .18rem;
  padding: .36rem .64rem;
  gap: .32rem;
  border-radius: 9px;
  color: #ffffff;
  background: #b51f1f;
  text-decoration: none;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1.2;
}

.youtube-latest-button:hover {
  color: #ffffff;
  background: #941818;
  transform: translateY(-1px);
}

.youtube-latest-button:focus-visible {
  outline: 3px solid rgba(242, 167, 143, .8);
  outline-offset: 2px;
}

/* Keep the upcoming-event card immediately below the hero, not inside it. */
.hero-next-event {
  position: relative;
  z-index: 1;
}

.hero-next-event .hero-notif-bar {
  grid-row: auto;
  width: min(calc(100% - 2rem), 720px);
  max-width: 720px;
  margin: 0 auto .55rem !important;
}

.hero-next-event .hero-notif-section {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-next-event .hero-ev-card.hero-event-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 0 !important;
  margin: 0 !important;
  padding: .64rem .8rem !important;
  border: 1px solid rgba(23, 107, 74, .14) !important;
  border-radius: 16px !important;
  gap: .6rem !important;
  color: var(--td) !important;
  background: rgba(255, 249, 239, .92) !important;
  box-shadow: 0 4px 14px rgba(23, 107, 74, .08), inset 0 1px 0 rgba(255, 255, 255, .68) !important;
  backdrop-filter: blur(12px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
}

.hero-next-event .hero-event-kicker {
  color: #a4513d !important;
}

.hero-next-event .hero-event-strip .hero-ev-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .08rem;
  min-width: 0;
}

.hero-next-event .hero-event-strip .hero-ev-title {
  overflow: hidden;
  color: var(--td) !important;
  font-size: .92rem !important;
  font-weight: 900;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-next-event .hero-event-date {
  color: #405b4f !important;
  font-size: .78rem;
  font-weight: 700;
}

.hero-next-event .hero-ev-status-text {
  color: #7d3d2f !important;
  background: rgba(242, 167, 143, .30) !important;
  border-color: rgba(164, 81, 61, .22) !important;
}

@media (max-width: 640px) {
  .hero-trust {
    gap: .26rem;
    max-width: 100%;
  }

  .hero-trust-item {
    min-height: 40px;
    gap: .2rem;
    padding: .4rem .18rem;
    font-size: clamp(.56rem, 2.7vw, .72rem);
    line-height: 1.2;
  }

  .hero-trust-item i {
    font-size: .7rem;
  }

  .youtube-latest {
    padding: .42rem .72rem .2rem;
  }

  .youtube-latest-inner {
    grid-template-columns: minmax(116px, 38%) minmax(0, 1fr);
    gap: .58rem;
    padding: .4rem;
    border-radius: 14px;
  }

  .youtube-latest-media {
    border-radius: 9px;
  }

  .youtube-latest-badge {
    top: .26rem;
    left: .26rem;
    padding: .16rem .3rem;
    font-size: .52rem;
  }

  .youtube-latest-copy strong {
    font-size: .8rem;
    -webkit-line-clamp: 2;
  }

  .youtube-latest-copy p {
    display: none;
  }

  .youtube-latest-button {
    min-height: 32px;
    margin-top: .12rem;
    padding: .32rem .52rem;
    font-size: .66rem;
  }

  .hero-next-event .hero-notif-bar {
    width: calc(100% - 1.44rem);
    margin: 0 auto .4rem !important;
  }

  .hero-next-event .hero-ev-card.hero-event-strip {
    grid-template-columns: auto minmax(0, 1fr);
    padding: .58rem .66rem !important;
    border-radius: 14px !important;
    gap: .46rem !important;
  }

  .hero-next-event .hero-event-kicker {
    font-size: .66rem;
  }

  .hero-next-event .hero-event-strip .hero-ev-title {
    font-size: .82rem !important;
  }

  .hero-next-event .hero-event-date {
    font-size: .7rem;
  }

  .hero-next-event .hero-ev-status-text {
    display: none;
  }
}

/* Section headers use their title only; supporting copy belongs in each card. */
.sec-head > p {
  display: none;
}

/* Keep member cards focused on the person and service, without genre/location pills. */
.member-card-meta {
  display: none;
}

/* FAQ and contact each form one calm, full-width support section. */
.support-section-cell {
  grid-column: 1 / -1;
  border: 1px solid rgba(23, 107, 74, .11) !important;
  border-radius: 28px;
  background: rgba(255, 249, 239, .74) !important;
}

.support-section-cell > .sec {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 1.55rem 1.5rem 1.6rem;
}

#faq .faq-list {
  width: 100%;
  max-width: 900px;
  flex: none;
  gap: .58rem;
}

#faq .faq-item {
  flex: none;
  border-radius: 16px;
}

#faq .faq-q {
  min-height: 56px;
  padding: .9rem 1.1rem;
  font-size: 1rem;
}

#faq .faq-a {
  font-size: .94rem;
}

#faq .faq-bottom-tip {
  width: 100%;
  max-width: 900px;
  margin: .8rem auto 0;
  padding: .72rem 1rem;
  text-align: center;
  border: 1px solid rgba(217, 119, 6, .11);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(217, 119, 6, .07), rgba(217, 119, 6, .035));
}

.faq-bottom-tip-title {
  margin: 0 0 .12rem;
  color: var(--td);
  font-size: .78rem;
  font-weight: 800;
}

.faq-bottom-tip-title i {
  margin-right: .34rem;
  color: #d97706;
}

.faq-bottom-tip-copy {
  margin: 0;
  color: var(--tl);
  font-size: .86rem;
  line-height: 1.6;
}

#contact .contact-inner,
#contact .contact-bottom-info {
  width: 100%;
  max-width: 680px;
  flex: none;
  margin-inline: auto;
}

#contact .contact-inner {
  display: block;
}

#contact .contact-box {
  width: 100%;
  flex: none;
  padding: 1.4rem;
}

#contact .contact-box form {
  gap: .72rem;
}

#contact .contact-box form .fg:nth-child(3) {
  flex: none;
}

#contact .contact-box form .fg:nth-child(3) textarea {
  min-height: 120px;
  resize: vertical;
}

#contact .contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin-top: .05rem;
  padding-top: .45rem;
}

#contact .contact-actions > .btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  justify-content: center;
}

#contact .contact-bottom-info {
  display: block;
  margin-top: .68rem;
  padding: .25rem;
  text-align: center;
}

.contact-response-note {
  margin: 0;
  color: var(--tl);
  font-size: .76rem;
  line-height: 1.5;
}

.contact-response-note i {
  margin-right: .24rem;
  color: var(--c1);
}

@media (max-width: 640px) {
  .support-section-cell {
    border-radius: 20px;
  }

  .support-section-cell > .sec {
    padding: 1.3rem .72rem 1.25rem !important;
  }

  #faq .faq-list {
    gap: .48rem;
  }

  #faq .faq-q {
    min-height: 52px;
    padding: .78rem .85rem;
    font-size: .92rem;
  }

  #faq .faq-a,
  #faq .faq-item.active .faq-a {
    font-size: .88rem;
  }

  #faq .faq-item.active .faq-a {
    padding-right: .85rem;
    padding-left: .85rem;
  }

  #faq .faq-bottom-tip {
    margin-top: .65rem;
    padding: .68rem .78rem;
    text-align: left;
  }

  #contact .contact-box {
    padding: 1rem;
  }

  #contact .contact-actions {
    grid-template-columns: 1fr;
  }
}
