:root {
  --color-bg: #fbf7ed;
  --color-bg-white: #ffffff;
  --color-surface: #ffffff;
  --color-text: #2f2f2b;
  --color-muted: #6f7568;
  --color-primary: #4f6f5a;
  --color-primary-hover: #2f4a3a;
  --color-primary-soft: #eef4e8;
  --color-border: #e5ddcc;
  --color-accent: #d6a23a;
  --color-accent-light: #fff4d7;
  --color-main: var(--color-primary);
  --color-main-dark: var(--color-primary-hover);
  --color-main-light: var(--color-primary-soft);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-card: 20px;
  --radius-button: 999px;
  --shadow-soft: 0 12px 32px rgba(47, 47, 43, .08);
  --paper: var(--color-bg);
  --white: var(--color-surface);
  --text: var(--color-text);
  --muted: var(--color-muted);
  --green: var(--color-primary);
  --green-dark: var(--color-primary-hover);
  --green-soft: var(--color-primary-soft);
  --line: var(--color-border);
  --container: 1120px;
  --hero-min-height: 500px;
  --hero-overlay-opacity: .1;
  --hero-image-position: center center;
}

.region-hokkaido { --region-color: #b0b600; }
.region-tohoku { --region-color: #7fbfe8; }
.region-kanto { --region-color: #1167d8; }
.region-chubu { --region-color: #4b235f; }
.region-kinki { --region-color: #17314a; }
.region-chugoku { --region-color: #32a7aa; }
.region-shikoku { --region-color: #244f32; }
.region-kyushu { --region-color: #f26a2e; }

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.78;
}
.tone-bright {
  --shadow-soft: 0 16px 36px rgba(15, 118, 88, .08);
}
.tone-bright .site-header {
  background: rgba(255, 253, 248, .96);
}
.tone-deep {
  --shadow-soft: 0 18px 44px rgba(18, 61, 52, .12);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 {
  margin-top: 0;
  font-family: inherit;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .01em;
}

.home-hero, .section, .usecase-section, .cta-band, .page-hero, .content-grid, .profile-hero, .lp-hero, .lp-content {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, .96);
  backdrop-filter: blur(12px);
}
.brand, .desktop-nav, .header-actions, .footer-links, .hero-actions, .card-actions, .tag-row, .cta-actions {
  display: flex;
  align-items: center;
}
.brand {
  flex: 0 0 auto;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
}
.brand .custom-logo-link img { width: 40px; height: 40px; object-fit: contain; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}
.desktop-nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.desktop-menu, .footer-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: inherit;
  margin: 0;
  padding: 0;
}
.desktop-nav .menu-item { list-style: none; }
.desktop-nav a:hover, .text-link:hover { color: var(--green); }
.header-actions { flex: 0 0 auto; gap: 10px; }
.header-action-link {
  display: grid;
  min-width: 124px;
  gap: 3px;
  padding: 8px 15px 9px;
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--green);
  line-height: 1.2;
  text-align: center;
}
.header-action-link small {
  font-size: 9px;
  font-weight: 700;
  opacity: .76;
}
.header-action-link strong {
  font-size: 12px;
  font-weight: 900;
}
.header-action-link--secondary {
  color: var(--green);
  border-color: var(--line);
  background: #fff;
}
.header-action-link:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.header-action-link--secondary:hover {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: rgba(79,111,90,.35);
}
.mobile-menu-button, .mobile-nav { display: none; }

.button, .header-login-button, .c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}
.button, .c-button--primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(15, 118, 88, .22), inset 0 -1px 0 rgba(0,0,0,.16);
}
.button:hover, .header-login-button:hover {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 14px 28px rgba(18, 61, 52, .22);
  transform: translateY(-1px);
}
.button.secondary, .header-login-button, .c-button--outline {
  color: var(--green);
  background: #fff;
  box-shadow: 0 8px 18px rgba(23, 43, 39, .06);
}
.button.secondary:hover {
  color: #fff;
  background: var(--green);
}
.button:focus-visible, .header-login-button:focus-visible, .text-link:focus-visible, .mobile-menu-button:focus-visible {
  outline: 3px solid rgba(18, 61, 52, .24);
  outline-offset: 3px;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 52px;
  align-items: center;
  padding: 82px 0 76px;
}
.home-hero::before {
  position: absolute;
  inset: 34px auto auto -24px;
  width: 96px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(217,164,65,.72));
  pointer-events: none;
}
.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4.4vw, 54px);
}
.hero-copy h1::after {
  display: block;
  width: 74px;
  height: 4px;
  margin-top: 20px;
  content: "";
  border-radius: 999px;
  background: var(--color-accent);
}
.hero-copy p, .page-hero p, .member-card p, .content-main p, .usecase-title p {
  color: var(--muted);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 26px;
}
.hero-actions { flex-wrap: wrap; gap: 12px; }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(217,164,65,.38);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--text) !important;
  font-size: 13px;
  font-weight: 800;
}
.editorial-photo, .member-photo, .profile-photo, .article-thumb, .page-hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(18,61,52,.08)),
    linear-gradient(145deg, #d7dfd3 0%, #f1e7d7 48%, #5f7d66 100%);
}
.landscape-photo, .hero-media {
  position: relative;
  overflow: visible;
  min-height: var(--hero-min-height);
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: var(--hero-image-position);
  box-shadow: var(--shadow-soft);
}
.landscape-photo::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(18,61,52,var(--hero-overlay-opacity))),
    linear-gradient(45deg, rgba(217,164,65,.12), transparent 42%);
}
.landscape-photo:not(.has-custom-image)::after {
  position: absolute;
  inset: 18% 10% 12%;
  content: "";
  border-bottom: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  opacity: .5;
}
.landscape-line { display: none; }

.hero-search-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: min(382px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(222,216,205,.95);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 40px rgba(23,43,39,.12);
}
.hero-search-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  font-weight: 900;
}
.hero-search-head a { color: var(--green); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.hero-stats div {
  padding: 12px 10px;
  border-radius: 12px;
  background: #f7fbf8;
}
.hero-stats strong {
  display: block;
  min-height: 28px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
}
.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.hero-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 14px;
}
.hero-tag-grid a, .hero-tag-grid span, .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}
.hero-more-link, .text-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.section { padding: 88px 0 0; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
}
.section-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
}
.profile-features-section {
  position: relative;
}
.profile-features-section::before {
  position: absolute;
  inset: 66px 0 auto auto;
  width: min(36vw, 420px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(217,164,65,.6), transparent);
  pointer-events: none;
}
.profile-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.profile-feature-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 28px rgba(15,118,88,.04);
}
.profile-feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding-inline: 10px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}
.profile-feature-card h3 {
  margin: 18px 0 12px;
  font-size: 19px;
}
.profile-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.profile-feature-card.featured {
  border-color: rgba(15,118,88,.26);
  background:
    linear-gradient(135deg, rgba(238,248,243,.94), rgba(255,255,255,.92)),
    #fff;
}
.profile-feature-card.featured h3 {
  color: var(--green);
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.member-card, .content-main, .side-panel, .lp-content article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.member-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(15,118,88,.05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.member-card:hover {
  border-color: rgba(18,61,52,.26);
  box-shadow: 0 18px 42px rgba(15,118,88,.12);
  transform: translateY(-2px);
}
.member-photo {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
}
.member-photo img, .profile-photo img, .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-photo::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(18,61,52,.16));
}
.member-card-body, .content-main, .side-panel, .lp-content article { padding: 24px; }
.member-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.member-card h3 {
  margin: 10px 0 8px;
  font-size: 21px;
  line-height: 1.35;
}
.member-card-link::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}
.activity-theme {
  margin: 0 0 10px;
  color: var(--green) !important;
  font-size: 13px;
  font-weight: 900;
}
.member-card p:not(.activity-theme) {
  margin: 0 0 16px;
  font-size: 14px;
}
.member-discovery {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 18px;
  width: min(var(--container), calc(100% - 48px));
  margin: 34px auto 0;
}
.member-discovery__block {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 6px 6px 20px 6px;
  background: rgba(255,255,255,.78);
}
.member-discovery__block h2 {
  margin: 0 0 6px;
  font-size: 21px;
}
.member-discovery__block p {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 13px;
}
.member-discovery__region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.member-discovery-region {
  position: relative;
  display: grid;
  min-height: 76px;
  place-items: end center;
  padding: 12px 8px 9px;
  overflow: hidden;
  border: 1px solid var(--region-color-border, var(--color-border));
  border-radius: 5px 5px 14px 5px;
  background: linear-gradient(145deg, var(--region-color-soft, var(--color-main-light)), rgba(255,255,255,.9));
  color: var(--region-color, var(--color-main));
  font-size: 12px;
  font-weight: 900;
}
.member-discovery-region .region-character {
  position: absolute;
  top: -9px;
  width: 52px;
  height: 52px;
  object-fit: contain;
  opacity: .9;
  mix-blend-mode: multiply;
}
.member-discovery-region span {
  position: relative;
  z-index: 1;
}
.member-discovery__theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.member-discovery__theme-list a {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}
.member-discovery__theme-list a:hover {
  border-color: var(--color-main);
  color: var(--color-main-dark);
  background: var(--color-main-light);
}
.member-archive-pagination {
  margin-top: 36px;
}
.member-archive-pagination .pagination {
  display: flex;
  justify-content: center;
}
.member-archive-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.member-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 900;
}
.member-archive-pagination .page-numbers.current,
.member-archive-pagination a.page-numbers:hover {
  border-color: var(--color-main);
  color: #fff;
  background: var(--color-main);
}
.tag-row {
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 8px;
}
.card-actions {
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
}
.sample-card {
  border-style: dashed;
  background: rgba(255,255,255,.74);
}
.sample-note {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.usecase-section {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 44px;
  margin-top: 88px;
  padding: 76px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(238,248,243,.55), rgba(255,253,248,0));
}
.usecase-title h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 32px);
}
.usecase-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.usecase-columns a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.88);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.usecase-columns a:hover {
  border-color: rgba(18,61,52,.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.usecase-columns span {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.usecase-columns h3 {
  margin: 12px 0 12px;
  font-size: 18px;
}
.usecase-columns p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.usecase-columns strong {
  margin-top: auto;
  color: var(--green);
  font-size: 14px;
}

.editorial-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .9fr);
  gap: 56px;
}
.reading-list, .faq-preview-list { border-top: 1px solid var(--line); }
.article-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 84px;
  gap: 8px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.article-thumb {
  grid-row: span 3;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
}
.article-card > span:not(.article-thumb) {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}
.article-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.article-card time {
  grid-column: 3;
  grid-row: 1;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}
.faq-preview-list details {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.56);
}
.faq-preview-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 17px 42px 17px 16px;
  font-weight: 900;
}
.faq-preview-list summary::-webkit-details-marker { display: none; }
.faq-preview-list summary::after {
  position: absolute;
  right: 16px;
  top: 50%;
  content: "+";
  color: var(--green);
  font-size: 20px;
  transform: translateY(-50%);
}
.faq-preview-list details[open] summary::after { content: "-"; }
.faq-preview-list p {
  margin: 0;
  padding: 0 16px 18px;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 96px;
  padding: 52px 56px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  background-size: cover;
  background-position: center;
}
.cta-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13,89,69,.94) 0%, rgba(13,89,69,.86) 52%, rgba(13,89,69,.42) 100%);
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}
.cta-band p {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.86);
}
.cta-actions {
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cta-band .button {
  color: var(--green-dark);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 24px rgba(0,0,0,.2), inset 0 -1px 0 rgba(0,0,0,.1);
}
.cta-band .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.72);
}
.cta-band .button:hover {
  color: #fff;
  background: var(--green);
  border-color: rgba(255,255,255,.6);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 36px;
  padding: 52px 36px;
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-title {
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 900;
}
.footer-about p:last-child {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-links {
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.footer-menu {
  justify-content: flex-end;
  gap: 12px 20px;
}
.footer-menu .menu-item { list-style: none; }

.page-hero { padding: 70px 0 38px; }
.page-hero.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: end;
}
.page-hero h1 {
  margin-block: 0;
  font-size: clamp(30px, 4vw, 46px);
}
.page-hero-media {
  min-height: 210px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}
.content-grid, .lp-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}
.profile-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 70px 0 22px;
}
.profile-photo { aspect-ratio: 1; border-radius: 18px; }
.lp-hero { grid-template-columns: .95fr .8fr; align-items: center; }
.lp-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.layout-compact .section { padding-top: 64px; }
.layout-compact .usecase-section { margin-top: 64px; padding-block: 56px; }
.layout-compact .cta-band { margin-top: 72px; }
.layout-airy .section { padding-top: 112px; }
.layout-airy .usecase-section { margin-top: 112px; padding-block: 88px; }
.layout-airy .cta-band { margin-top: 120px; }

@media (max-width: 1100px) {
  .site-header { gap: 14px; padding-inline: 24px; }
  .desktop-nav { display: none; }
  .header-actions { display: none; }
  .mobile-menu-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    background: #fff;
    font-weight: 900;
  }
  .mobile-menu-button span {
    position: absolute;
    left: 50%;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: opacity .18s ease, transform .18s ease;
  }
  .mobile-menu-button span + span {
    margin-left: 0;
  }
  .mobile-menu-button span:nth-child(1) {
    transform: translate(-50%, -6px);
  }
  .mobile-menu-button span:nth-child(2) {
    transform: translate(-50%, 0);
  }
  .mobile-menu-button span:nth-child(3) {
    transform: translate(-50%, 6px);
  }
  .mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translate(-50%, 0) rotate(45deg);
  }
  .mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translate(-50%, 0) rotate(-45deg);
  }
  .mobile-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-soft);
  }
  .mobile-menu-button[aria-expanded="true"] + .mobile-nav,
  .mobile-nav.is-open {
    display: grid;
    z-index: 60;
  }
  .mobile-nav a {
    padding: 12px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 800;
  }
  .mobile-nav a:hover { background: var(--green-soft); }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 56px;
  }
  .hero-media { min-height: 420px; }
  .content-grid, .profile-hero, .lp-hero, .lp-content, .usecase-section, .editorial-lower, .page-hero.has-media {
    grid-template-columns: 1fr;
  }
  .member-grid, .usecase-columns, .profile-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .home-hero, .section, .usecase-section, .page-hero, .content-grid, .profile-hero, .lp-hero, .lp-content, .cta-band {
    width: min(var(--container), calc(100% - 40px));
  }
  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }
  .brand { gap: 8px; min-width: 0; }
  .brand-name {
    max-width: 10em;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand .custom-logo-link img, .brand-mark { width: 36px; height: 36px; }
  .header-actions .button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 12px;
  }
  .home-hero { padding: 48px 0 52px; }
  .hero-copy h1 { font-size: 33px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-media {
    min-height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }
  .hero-search-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: 58% auto 12px;
  }
  .section { padding-top: 56px; }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .member-grid, .usecase-columns, .hero-tag-grid, .hero-stats, .article-card, .profile-feature-grid {
    grid-template-columns: 1fr;
  }
  .profile-feature-card {
    min-height: auto;
    padding: 22px;
  }
  .member-card { border-radius: 18px; }
  .member-photo { aspect-ratio: 16 / 10; }
  .usecase-section {
    margin-top: 64px;
    padding-block: 56px;
  }
  .article-thumb {
    grid-row: auto;
    width: 100%;
  }
  .article-card time {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 64px;
    padding: 34px 24px;
  }
  .cta-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }
  .cta-actions .button { width: 100%; }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 42px 20px;
  }
  .footer-links { justify-content: flex-start; }
  .footer-menu { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .site-header { gap: 8px; }
  .brand-name { max-width: 7em; }
  .mobile-menu-button {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 12px;
  }
}

/* Top page */
.top-hero {
  overflow: hidden;
  background: var(--color-bg);
}
.top-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, .44fr) minmax(0, .56fr);
  gap: 36px;
  align-items: center;
  width: min(1220px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  padding: 84px 0 72px;
}
.top-hero__content {
  position: relative;
  z-index: 2;
}
.top-hero__label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 20px;
  padding: 5px 13px;
  border: 1px solid rgba(79,111,90,.22);
  border-radius: var(--radius-button);
  color: var(--color-main-dark);
  background: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
}
.top-hero h1 {
  margin: 0 0 24px;
  color: var(--color-text);
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.38;
}
.top-hero__lead {
  max-width: 600px;
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.95;
}
.top-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.top-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.top-button--primary {
  color: #fff;
  background: var(--color-main-dark);
  box-shadow: 0 10px 22px rgba(47,74,58,.16);
}
.top-button--secondary {
  color: var(--color-main-dark);
  border-color: var(--color-border);
  background: #fff;
}
.top-button:hover {
  transform: translateY(-1px);
}
.top-button--primary:hover {
  color: #fff;
  background: var(--color-main);
}
.top-button--secondary:hover {
  color: var(--color-main-dark);
  border-color: rgba(79,111,90,.42);
  background: var(--color-main-light);
}
.top-button:focus-visible,
.top-text-link:focus-visible,
.top-region-card:focus-visible,
.top-theme-list a:focus-visible,
.top-audience-card a:focus-visible {
  outline: 3px solid rgba(79,111,90,.25);
  outline-offset: 3px;
}
.top-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.top-hero__tags span {
  padding: 7px 11px;
  border-radius: var(--radius-button);
  color: var(--color-main-dark);
  background: var(--color-main-light);
  font-size: 12px;
  font-weight: 700;
}
.top-hero__sub-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-main-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.top-hero__visual {
  display: flex;
  align-self: end;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
}
.top-hero__visual img {
  width: 100%;
  max-height: 570px;
  object-fit: contain;
  object-position: right bottom;
}

.top-section {
  padding: 88px 0;
  background: var(--color-bg);
}
.top-section--white { background: var(--color-bg-white); }
.top-section--soft { background: var(--color-main-light); }
.top-section--municipality {
  padding-top: 48px;
  background: var(--color-bg);
}
.top-section__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.top-section__heading {
  margin-bottom: 32px;
}
.top-section__heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.top-section__heading > p,
.top-section__heading > div > p,
.top-register-cta > div > p,
.top-municipality-cta > div > p {
  margin: 0 0 8px;
  color: var(--color-main);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.top-section__heading h2,
.top-register-cta h2,
.top-municipality-cta h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 32px;
  line-height: 1.45;
}
.top-text-link {
  flex: 0 0 auto;
  color: var(--color-main-dark);
  font-size: 14px;
  font-weight: 800;
}

.top-value-grid,
.top-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.top-value-card,
.top-audience-card {
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 8px 24px rgba(47,47,43,.04);
}
.top-value-card > span {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
}
.top-value-card h3,
.top-audience-card h3 {
  margin: 12px 0 10px;
  color: var(--color-text);
  font-size: 19px;
}
.top-value-card p,
.top-audience-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}
.top-audience-card {
  display: flex;
  flex-direction: column;
}
.top-audience-card a {
  align-self: flex-start;
  margin-top: 22px;
  color: var(--color-main-dark);
  font-size: 14px;
  font-weight: 800;
}

.top-region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.top-region-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  min-height: 205px;
  padding: 24px 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.top-region-card:hover {
  border-color: var(--region-color);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.top-region-card__mark {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--region-color);
}
.top-region-card__placeholder {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--region-color);
  border-radius: 50%;
  color: var(--region-color);
  background: #fff;
  font-size: 19px;
  font-weight: 900;
}

.region-character {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.region-character--region-card {
  align-self: end;
  width: 72px;
  max-height: 96px;
}
.member-card-body {
  position: relative;
}
.member-card-character {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 56px;
  height: 56px;
  opacity: .92;
}
.region-character--member-card {
  width: 100%;
  max-height: 56px;
}
.member-card-character + .card-meta {
  padding-right: 62px;
}

@media (max-width: 768px) {
  .region-character--region-card {
    width: 72px;
    max-height: 84px;
  }
  .member-card-character {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }
  .region-character--member-card {
    max-height: 44px;
  }
  .member-card-character + .card-meta {
    padding-right: 50px;
  }
}
.top-region-card h3 {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 18px;
}
.top-region-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.7;
}
.top-region-card__count {
  display: block;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 700;
}

.top-member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.top-member-grid .member-card {
  border-radius: var(--radius-card);
}
.top-member-grid .member-photo {
  aspect-ratio: 4 / 3;
}
.top-member-grid .member-card-body {
  padding: 20px;
}
.top-member-grid .member-card h3 {
  font-size: 18px;
}
.top-empty-state {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 38px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,.7);
  text-align: center;
}
.top-empty-state p {
  margin: 0;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 800;
}
.top-empty-state span {
  margin: 8px 0 22px;
  color: var(--color-muted);
}

.top-theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.top-theme-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(79,111,90,.16);
  border-radius: var(--radius-button);
  color: var(--color-main-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}
.top-theme-list a:hover {
  border-color: rgba(79,111,90,.36);
  background: var(--color-main-light);
}

.top-column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.top-column-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
}
.top-column-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, var(--color-main-light), #f4ead6);
}
.top-column-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-column-card > div:last-child {
  padding: 22px;
}
.top-column-card > div > span {
  color: var(--color-main);
  font-size: 12px;
  font-weight: 800;
}
.top-column-card h3 {
  margin: 8px 0 14px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.55;
}
.top-column-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}
.top-column-card time {
  color: var(--color-muted);
  font-size: 12px;
}

.top-directory-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.top-directory-feature-grid article {
  padding: 24px;
  border: 1px solid rgba(79,111,90,.15);
  border-radius: var(--radius-card);
  background: rgba(238,244,232,.58);
}
.top-directory-feature-grid span {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
}
.top-directory-feature-grid h3 {
  margin: 12px 0 8px;
  font-size: 17px;
}
.top-directory-feature-grid p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.top-register-cta,
.top-municipality-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 46px 50px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.top-register-cta {
  background: var(--color-bg);
}
.top-municipality-cta {
  color: #fff;
  border-color: transparent;
  background: var(--color-main-dark);
}
.top-register-cta > div,
.top-municipality-cta > div {
  max-width: 720px;
}
.top-register-cta span,
.top-municipality-cta span {
  display: block;
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 14px;
}
.top-municipality-cta h2,
.top-municipality-cta > div > p,
.top-municipality-cta span {
  color: #fff;
}
.top-municipality-cta span { opacity: .82; }

@media (max-width: 1024px) {
  .top-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }
  .top-hero__visual {
    justify-content: center;
  }
  .top-hero__visual img {
    max-height: none;
    object-position: center bottom;
  }
  .top-region-grid,
  .top-member-grid,
  .top-directory-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-hero__inner {
    width: min(100% - 24px, 1120px);
    gap: 34px;
    padding: 48px 0 62px;
  }
  .top-hero h1 {
    font-size: 34px;
  }
  .top-hero__lead {
    font-size: 15px;
  }
  .top-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .top-button {
    width: 100%;
  }
  .top-hero__visual img {
    width: 100%;
  }
  .top-section {
    padding: 56px 0;
  }
  .top-section__inner {
    width: min(100% - 24px, 1120px);
  }
  .top-section__heading--row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .top-section__heading h2,
  .top-register-cta h2,
  .top-municipality-cta h2 {
    font-size: 26px;
  }
  .top-value-grid,
  .top-audience-grid,
  .top-column-grid {
    grid-template-columns: 1fr;
  }
  .top-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-region-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .top-member-grid {
    grid-template-columns: 1fr;
  }
  .top-member-grid .member-photo {
    aspect-ratio: 16 / 10;
  }
  .top-directory-feature-grid {
    grid-template-columns: 1fr;
  }
  .top-register-cta,
  .top-municipality-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }
}

@media (max-width: 480px) {
  .top-region-grid {
    grid-template-columns: 1fr;
  }
}

/* Regional character and theme-color layer */
.region-hokkaido { --region-color: #b0b600; --region-color-soft: rgba(176,182,0,.15); --region-color-border: rgba(176,182,0,.46); }
.region-tohoku { --region-color: #7fbfe8; --region-color-soft: rgba(127,191,232,.2); --region-color-border: rgba(127,191,232,.58); }
.region-kanto { --region-color: #1167d8; --region-color-soft: rgba(17,103,216,.11); --region-color-border: rgba(17,103,216,.32); }
.region-chubu { --region-color: #4b235f; --region-color-soft: rgba(75,35,95,.11); --region-color-border: rgba(75,35,95,.32); }
.region-kinki { --region-color: #17314a; --region-color-soft: rgba(23,49,74,.1); --region-color-border: rgba(23,49,74,.32); }
.region-chugoku { --region-color: #32a7aa; --region-color-soft: rgba(50,167,170,.13); --region-color-border: rgba(50,167,170,.38); }
.region-shikoku { --region-color: #244f32; --region-color-soft: rgba(36,79,50,.12); --region-color-border: rgba(36,79,50,.34); }
.region-kyushu { --region-color: #f26a2e; --region-color-soft: rgba(242,106,46,.13); --region-color-border: rgba(242,106,46,.36); }

.top-region-card {
  border-color: var(--region-color-border, var(--color-border));
  background:
    radial-gradient(circle at 16% 100%, var(--region-color-soft, rgba(238,244,232,.78)), transparent 45%),
    #fff;
}
.top-region-card__mark {
  box-shadow: 0 0 0 6px var(--region-color-soft, rgba(238,244,232,.75));
}
.region-character--region-card {
  align-self: center;
  padding: 5px;
  border: 1px solid var(--region-color-border, var(--line));
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 24px rgba(47,47,43,.06);
}
.top-region-card:hover .region-character--region-card {
  border-color: var(--region-color);
}

.member-card {
  border-color: var(--region-color-border, var(--line));
}
.member-card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 5px;
  content: "";
  background: var(--region-color, var(--green));
  opacity: .82;
}
.member-card:hover {
  border-color: var(--region-color, rgba(18,61,52,.26));
}
.member-card .card-meta span:first-child,
.profile-hero .card-meta span:first-child {
  color: var(--region-color, var(--green));
}
.member-card .activity-theme {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid var(--region-color-border, rgba(15,118,88,.16));
  border-radius: var(--radius-button);
  color: var(--region-color, var(--green)) !important;
  background: var(--region-color-soft, var(--green-soft));
}
.member-card .tag {
  border-color: var(--region-color-border, transparent);
  color: var(--region-color, var(--green));
  background: var(--region-color-soft, var(--green-soft));
}
.member-card-character {
  width: 60px;
  height: 60px;
  padding: 4px;
  border: 1px solid var(--region-color-border, var(--line));
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 20px rgba(47,47,43,.06);
  opacity: .96;
}

.profile-hero > div:last-child {
  position: relative;
  padding: 34px;
  border: 1px solid var(--region-color-border, var(--line));
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, var(--region-color-soft, rgba(238,244,232,.7)), transparent 42%),
    var(--white);
}
.profile-hero > div:last-child::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  content: "";
  background: var(--region-color, var(--green));
  opacity: .82;
}
.profile-region-character {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 104px;
  padding: 6px;
  border: 1px solid var(--region-color-border, var(--line));
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  opacity: .92;
}
.region-character--profile-hero {
  width: 100%;
  max-height: 112px;
}

@media (max-width: 768px) {
  .profile-hero > div:last-child {
    padding: 26px 22px 96px;
  }
  .profile-region-character {
    right: 18px;
    bottom: 18px;
    width: 78px;
  }
  .member-card-character {
    width: 48px;
    height: 48px;
  }
}

/* Regional category and character enhancement */
.top-section__inner,
.top-section__heading,
.top-register-cta {
  position: relative;
}
.top-section-character {
  position: absolute;
  z-index: 0;
  width: 82px;
  padding: 5px;
  border: 1px solid var(--region-color-border, var(--line));
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 28px rgba(47,47,43,.06);
  opacity: .9;
  pointer-events: none;
}
.top-section-character .region-character {
  width: 100%;
  max-height: 86px;
}
.top-section-character--value-primary {
  right: 34px;
  top: -18px;
}
.top-section-character--value-secondary {
  right: 132px;
  top: 18px;
  width: 58px;
  opacity: .72;
}
.top-section-character--audience {
  right: 8px;
  top: -8px;
}
.top-section-character--themes {
  right: 0;
  top: -16px;
  width: 68px;
}
.top-section-character--features {
  right: 24px;
  top: -16px;
  width: 72px;
}
.top-section-character--register {
  right: 34px;
  bottom: 28px;
  width: 104px;
  background: rgba(255,255,255,.9);
}
.top-section__heading > p,
.top-section__heading > h2,
.top-value-grid,
.top-audience-grid,
.top-theme-list,
.top-directory-feature-grid,
.top-register-cta > div:not(.top-section-character),
.top-register-cta > a {
  position: relative;
  z-index: 1;
}

.profile-page {
  --profile-region-surface: var(--region-color-soft, rgba(238,244,232,.7));
}
.profile-hero {
  position: relative;
}
.profile-hero > div:last-child {
  min-height: 270px;
  padding-right: 170px;
  box-shadow: 0 18px 44px rgba(47,47,43,.07);
}
.profile-region-character {
  right: 32px;
  bottom: 28px;
  width: 132px;
  padding: 8px;
  box-shadow: 0 16px 32px rgba(47,47,43,.08);
}
.region-character--profile-hero {
  max-height: 140px;
}
.profile-page .content-main,
.profile-page .side-panel {
  border-color: var(--region-color-border, var(--line));
}
.profile-page .content-main h2,
.profile-page .side-panel h2 {
  color: var(--region-color, var(--green));
}
.profile-page .notice {
  border-color: var(--region-color-border, var(--line));
  background: var(--profile-region-surface);
}

@media (max-width: 900px) {
  .top-section-character {
    width: 62px;
    opacity: .72;
  }
  .top-section-character--value-secondary {
    display: none;
  }
  .top-section-character--register {
    right: 20px;
    bottom: 20px;
    width: 74px;
  }
}

@media (max-width: 768px) {
  .top-section-character {
    display: none;
  }
  .profile-hero > div:last-child {
    min-height: 0;
    padding: 26px 22px 118px;
  }
  .profile-region-character {
    right: 18px;
    bottom: 18px;
    width: 88px;
  }
}

/* Top page phase 1: registrant-first editorial direction */
.top-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(214,162,58,.09), transparent 26%),
    linear-gradient(180deg, #fbf8f0 0%, var(--color-bg) 100%);
}
.top-hero__inner {
  grid-template-columns: minmax(0, .56fr) minmax(380px, .44fr);
  gap: clamp(42px, 6vw, 88px);
  min-height: 620px;
  padding-block: 76px 82px;
}
.top-hero__label {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  letter-spacing: .1em;
}
.top-hero h1 {
  max-width: 720px;
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 1.42;
  letter-spacing: .025em;
}
.top-hero__lead {
  max-width: 690px;
  font-size: 16px;
}
.top-hero__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}
.top-hero__assurance span {
  position: relative;
  padding-left: 15px;
}
.top-hero__assurance span::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateY(-50%);
}
.top-hero__visual {
  position: relative;
  display: block;
  align-self: center;
  min-height: 470px;
}
.top-hero__visual--fallback {
  padding: 34px 34px 0;
  overflow: hidden;
  border: 1px solid rgba(79,111,90,.16);
  border-radius: 24px 24px 6px 24px;
  background: linear-gradient(155deg, rgba(255,255,255,.96), rgba(238,244,232,.78));
}
.top-hero__visual--fallback::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  content: "";
  background: linear-gradient(180deg, var(--color-main), var(--color-accent));
}
.top-hero__visual-copy {
  position: relative;
  z-index: 1;
  max-width: 390px;
}
.top-hero__visual-copy p {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.55;
}
.top-hero__visual-copy span {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.8;
}
.top-hero__visual--fallback > img {
  position: absolute;
  right: -7%;
  bottom: -7%;
  width: 108%;
  max-height: 335px;
  object-position: center bottom;
  opacity: .78;
}
.top-hero__visual--profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.top-hero__visual-label {
  margin: 0 0 12px;
  color: var(--color-main);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.top-hero-profile {
  position: relative;
  display: grid;
  grid-template-rows: minmax(245px, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--region-color-border, var(--color-border));
  border-radius: 2px 2px 22px 2px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(47,74,58,.12);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.top-hero-profile:hover {
  border-color: var(--region-color, var(--color-main));
  box-shadow: 0 28px 66px rgba(47,74,58,.16);
  transform: translateY(-2px);
}
.top-hero-profile:focus-visible {
  outline: 3px solid rgba(28,105,83,.28);
  outline-offset: 5px;
}
.top-hero-profile__photo {
  display: grid;
  min-height: 245px;
  overflow: hidden;
  place-items: center;
  color: var(--color-muted);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(47,74,58,.12)),
    var(--color-main-light);
  font-size: 13px;
  font-weight: 700;
}
.top-hero-profile__photo img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
}
.top-hero-profile__body {
  position: relative;
  min-height: 205px;
  padding: 24px 92px 24px 26px;
  border-top: 4px solid var(--region-color, var(--color-main));
}
.top-hero-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--region-color, var(--color-main));
  font-size: 11px;
  font-weight: 800;
}
.top-hero-profile h2 {
  margin: 8px 0 6px;
  font-size: 25px;
  line-height: 1.45;
}
.top-hero-profile__theme {
  margin: 0 0 8px;
  color: var(--region-color, var(--color-main));
  font-size: 13px;
  font-weight: 800;
}
.top-hero-profile__tagline {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.top-hero-profile__link {
  display: inline-block;
  margin-top: 15px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--color-main-dark);
  font-size: 12px;
  font-weight: 800;
}
.top-hero-profile__character {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 62px;
  padding: 4px;
  border: 1px solid var(--region-color-border, var(--color-border));
  border-radius: 16px 16px 4px 16px;
  background: rgba(255,255,255,.94);
}
.region-character--hero-profile {
  width: 100%;
  max-height: 66px;
}
.top-hero__visual-note {
  max-width: 430px;
  margin: 14px 0 0 auto;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.7;
}

.top-section--profiles {
  padding-top: 76px;
  background: var(--color-bg-white);
}
.top-section--profiles .top-section__heading {
  max-width: 790px;
}
.top-section--profiles .top-section__heading h2 {
  font-size: clamp(29px, 3.4vw, 42px);
}
.top-section--profiles .top-member-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.top-section--profiles .member-card {
  border-radius: 4px 4px 18px 4px;
  box-shadow: none;
}
.top-section--profiles .member-card:first-child {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
}
.top-section--profiles .member-card:first-child .member-photo {
  min-height: 100%;
  aspect-ratio: auto;
}
.top-section--profiles .member-card:first-child .member-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}
.top-section--profiles .member-card:first-child h3 {
  font-size: 25px;
}
.top-section--profiles .member-card:first-child .card-actions {
  margin-top: auto;
  padding-top: 20px;
}
.top-section--profiles .member-card:hover {
  box-shadow: 0 18px 36px rgba(47,47,43,.09);
}
.top-section--profiles .member-card-character {
  opacity: .78;
}

.top-section--profile-value {
  padding-block: 104px;
  background: var(--color-bg);
}
.top-profile-value {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: start;
  padding: 18px 120px 18px 0;
}
.top-profile-value::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(44% + 20px);
  width: 1px;
  content: "";
  background: var(--color-border);
}
.top-profile-value__intro > p {
  margin: 0 0 12px;
  color: var(--color-main);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}
.top-profile-value__intro h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 45px);
  line-height: 1.55;
}
.top-profile-value__intro > span {
  display: block;
  margin-top: 24px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 2;
}
.top-profile-value__intro .top-text-link {
  display: inline-flex;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}
.top-profile-value__points {
  display: grid;
  gap: 0;
}
.top-profile-value__points article {
  padding: 0 0 26px;
  border-bottom: 1px solid var(--color-border);
}
.top-profile-value__points article + article {
  padding-top: 26px;
}
.top-profile-value__points h3 {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 19px;
}
.top-profile-value__points p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}
.top-profile-value__character {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 86px;
  padding: 6px;
  border: 1px solid var(--region-color-border, var(--color-border));
  border-radius: 22px 22px 6px 22px;
  background: rgba(255,255,255,.8);
}
.region-character--profile-value {
  width: 100%;
  max-height: 92px;
}

.top-section--profile-value + .top-section--regions .top-region-card {
  border-radius: 0;
  box-shadow: none;
}
.top-section--regions {
  background: var(--color-bg-white);
}
.top-section--regions .top-region-grid {
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.top-section--regions .top-region-card {
  grid-template-columns: 64px 1fr;
  min-height: 168px;
  padding: 22px 18px;
  border-width: 0 1px 1px 0;
  border-color: var(--color-border);
  border-radius: 0;
  background:
    linear-gradient(135deg, var(--region-color-soft, rgba(238,244,232,.58)), transparent 46%),
    #fff;
}
.top-section--regions .top-region-card:hover {
  z-index: 1;
  border-color: var(--region-color);
  box-shadow: inset 4px 0 0 var(--region-color);
  transform: none;
}
.top-section--regions .region-character--region-card {
  width: 62px;
  max-height: 76px;
  padding: 3px;
  border-radius: 12px 12px 3px 12px;
  box-shadow: none;
}
.top-section--regions .top-region-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.top-section--regions .top-region-card__count {
  margin-top: 8px;
}
.top-section--soft {
  background:
    linear-gradient(90deg, rgba(79,111,90,.035) 1px, transparent 1px),
    linear-gradient(rgba(79,111,90,.035) 1px, transparent 1px),
    var(--color-main-light);
  background-size: 32px 32px;
}
.top-section--soft .top-theme-list {
  max-width: 980px;
}
.top-section--soft .top-theme-list a {
  min-height: 40px;
  padding: 8px 14px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.top-section--soft .top-theme-list a:hover {
  border-color: var(--color-main);
  background: rgba(255,255,255,.46);
}

.top-section--columns {
  background: var(--color-bg-white);
}
.top-section--columns .top-column-grid {
  display: block;
  border-top: 1px solid var(--color-border);
}
.top-section--columns .top-column-card {
  display: grid;
  grid-template-columns: minmax(180px, 28%) 1fr;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
}
.top-section--columns .top-column-card__image {
  min-height: 170px;
  aspect-ratio: auto;
}
.top-section--columns .top-column-card > div:last-child {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  column-gap: 32px;
  padding: 28px 34px;
}
.top-section--columns .top-column-card > div > span {
  grid-column: 1;
}
.top-section--columns .top-column-card h3 {
  grid-column: 1;
  margin-bottom: 0;
  font-size: 20px;
}
.top-section--columns .top-column-card p {
  grid-column: 1;
  margin-top: 10px;
}
.top-section--columns .top-column-card time {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}

.top-section--register {
  padding-block: 72px;
  background: var(--color-bg-white);
}
.top-section--register .top-register-cta {
  overflow: hidden;
  padding: 56px 58px;
  border: 0;
  border-radius: 8px 8px 28px 8px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(214,162,58,.22), transparent 30%),
    var(--color-main-dark);
  box-shadow: 0 24px 54px rgba(47,74,58,.16);
}
.top-section--register .top-register-cta h2,
.top-section--register .top-register-cta > div > p,
.top-section--register .top-register-cta span {
  color: #fff;
}
.top-section--register .top-register-cta span {
  max-width: 690px;
  opacity: .82;
}
.top-section--register .top-button--primary {
  color: var(--color-main-dark);
  background: #fff;
  box-shadow: none;
}
.top-section--register .top-button--primary:hover {
  color: var(--color-main-dark);
  background: var(--color-accent-light);
}
.top-register-cta__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}
.top-register-cta__assurance li {
  position: relative;
  padding-left: 15px;
}
.top-register-cta__assurance li::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateY(-50%);
}
.top-section--municipality {
  padding-block: 22px 64px;
  background: var(--color-bg-white);
}
.top-section--municipality .top-municipality-cta {
  padding: 26px 0;
  border-width: 1px 0 0;
  border-color: var(--color-border);
  border-radius: 0;
  color: var(--color-text);
  background: transparent;
}
.top-section--municipality .top-municipality-cta h2,
.top-section--municipality .top-municipality-cta > div > p,
.top-section--municipality .top-municipality-cta span {
  color: inherit;
}
.top-section--municipality .top-municipality-cta > div > p {
  color: var(--color-main);
}
.top-section--municipality .top-municipality-cta h2 {
  font-size: 23px;
}
.top-section--municipality .top-municipality-cta span {
  margin-top: 8px;
  opacity: 1;
}
.top-section--municipality .top-button--secondary {
  min-height: 44px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .top-hero__inner {
    grid-template-columns: 1fr;
  }
  .top-hero__visual {
    width: min(100%, 720px);
    min-height: 420px;
  }
  .top-section--profiles .top-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-section--profiles .member-card:first-child {
    grid-column: 1 / -1;
  }
  .top-profile-value {
    grid-template-columns: 1fr;
    padding-right: 110px;
  }
  .top-profile-value::before {
    display: none;
  }
  .top-section--regions .top-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-hero__inner {
    width: min(100% - 32px, 1120px);
    gap: 30px;
    padding-block: 40px 52px;
  }
  .top-hero__label {
    margin-bottom: 14px;
  }
  .top-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(30px, 9vw, 35px);
    line-height: 1.46;
  }
  .top-hero__lead {
    font-size: 14px;
    line-height: 1.85;
  }
  .top-hero__actions {
    gap: 10px;
    margin-top: 24px;
  }
  .top-hero__actions .top-button--secondary {
    width: fit-content;
    min-height: 38px;
    padding: 6px 0 3px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
  }
  .top-hero__assurance {
    gap: 8px 16px;
    margin-top: 18px;
    font-size: 11px;
  }
  .top-hero__sub-link {
    margin-top: 14px;
  }
  .top-hero__visual {
    min-height: 0;
  }
  .top-hero__visual--fallback {
    min-height: 350px;
    padding: 26px 24px 0;
    border-radius: 18px 18px 4px 18px;
  }
  .top-hero__visual-copy p {
    font-size: 18px;
  }
  .top-hero__visual--fallback > img {
    max-height: 250px;
  }
  .top-hero-profile {
    grid-template-rows: 190px auto;
    border-radius: 2px 2px 16px 2px;
    box-shadow: 0 14px 34px rgba(47,74,58,.1);
  }
  .top-hero-profile__photo,
  .top-hero-profile__photo img {
    min-height: 190px;
  }
  .top-hero-profile__body {
    min-height: 170px;
    padding: 20px 68px 20px 20px;
  }
  .top-hero-profile h2 {
    font-size: 21px;
  }
  .top-hero-profile__tagline {
    font-size: 12px;
  }
  .top-hero-profile__link {
    margin-top: 11px;
  }
  .top-hero-profile__character {
    right: 12px;
    bottom: 16px;
    width: 46px;
  }
  .top-hero__visual-note {
    margin-top: 10px;
  }
  .top-section {
    padding-block: 50px;
  }
  .top-section__inner {
    width: min(100% - 32px, 1120px);
  }
  .top-section__heading {
    margin-bottom: 24px;
  }
  .top-section__heading--row {
    gap: 9px;
  }
  .top-section__heading h2,
  .top-register-cta h2,
  .top-municipality-cta h2 {
    font-size: 25px;
    line-height: 1.5;
  }
  .top-section--profiles {
    padding-top: 48px;
  }
  .top-section--profiles .top-member-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .top-section--profiles .member-card:first-child {
    display: block;
    grid-column: auto;
    margin-bottom: 18px;
  }
  .top-section--profiles .member-card:first-child .member-photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .top-section--profiles .member-card:first-child .member-card-body {
    display: block;
    padding: 20px;
  }
  .top-section--profiles .member-card:first-child h3 {
    font-size: 20px;
  }
  .top-section--profiles .member-card:not(:first-child) {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 126px;
    border-width: 1px 0 0;
    border-radius: 0;
  }
  .top-section--profiles .member-card:not(:first-child)::before {
    width: 4px;
    height: 100%;
  }
  .top-section--profiles .member-card:not(:first-child) .member-photo {
    min-height: 126px;
    aspect-ratio: auto;
  }
  .top-section--profiles .member-card:not(:first-child) .member-card-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 16px 44px 16px 16px;
  }
  .top-section--profiles .member-card:not(:first-child) .card-meta {
    gap: 5px 9px;
    padding-right: 0;
    font-size: 10px;
  }
  .top-section--profiles .member-card:not(:first-child) h3 {
    margin: 5px 0 4px;
    font-size: 17px;
  }
  .top-section--profiles .member-card:not(:first-child) .activity-theme {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 11px;
  }
  .top-section--profiles .member-card:not(:first-child) p:not(.activity-theme),
  .top-section--profiles .member-card:not(:first-child) .tag-row,
  .top-section--profiles .member-card:not(:first-child) .card-actions {
    display: none;
  }
  .top-section--profiles .member-card:not(:first-child) .member-card-character {
    top: 14px;
    right: 4px;
    width: 36px;
    height: 36px;
    padding: 2px;
    border-radius: 10px 10px 3px 10px;
    opacity: .62;
  }
  .top-section--profile-value {
    padding-block: 58px;
  }
  .top-profile-value {
    gap: 32px;
    padding: 0;
  }
  .top-profile-value__intro h2 {
    font-size: 29px;
  }
  .top-profile-value__intro > span {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
  }
  .top-profile-value__points article {
    padding-bottom: 20px;
  }
  .top-profile-value__points article + article {
    padding-top: 20px;
  }
  .top-profile-value__character {
    display: none;
  }
  .top-section--regions .top-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-section--regions .top-region-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    min-height: 104px;
    padding: 14px 12px;
  }
  .top-section--regions .region-character--region-card {
    width: 42px;
    max-height: 52px;
    padding: 2px;
    border-radius: 10px 10px 3px 10px;
  }
  .top-section--regions .top-region-card h3 {
    margin-bottom: 5px;
    font-size: 15px;
  }
  .top-section--regions .top-region-card p {
    display: none;
  }
  .top-section--regions .top-region-card__count {
    margin-top: 0;
    font-size: 10px;
  }
  .top-section--regions .top-region-card__mark {
    top: 10px;
    right: 10px;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px var(--region-color-soft, rgba(238,244,232,.75));
  }
  .top-section--soft .top-theme-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .top-section--soft .top-theme-list a {
    min-height: 42px;
    padding: 8px 2px;
    font-size: 13px;
  }
  .top-section--columns .top-column-card {
    grid-template-columns: 104px 1fr;
  }
  .top-section--columns .top-column-card__image {
    min-height: 122px;
  }
  .top-section--columns .top-column-card > div:last-child {
    display: block;
    padding: 16px;
  }
  .top-section--columns .top-column-card h3 {
    margin: 6px 0 8px;
    font-size: 16px;
  }
  .top-section--columns .top-column-card time {
    display: block;
  }
  .top-section--register {
    padding-block: 54px;
  }
  .top-section--register .top-register-cta {
    gap: 28px;
    padding: 32px 22px;
    border-radius: 4px 4px 18px 4px;
    box-shadow: 0 16px 34px rgba(47,74,58,.13);
  }
  .top-section--register .top-register-cta span {
    font-size: 13px;
    line-height: 1.8;
  }
  .top-register-cta__assurance {
    display: grid;
    gap: 7px;
    margin-top: 18px;
  }
  .top-section--register .top-button--primary {
    min-height: 52px;
  }
  .top-section--municipality .top-municipality-cta {
    gap: 18px;
    padding-block: 24px;
  }
}

@media (max-width: 420px) {
  .top-hero h1 {
    font-size: 29px;
  }
  .top-hero-profile {
    grid-template-rows: 176px auto;
  }
  .top-hero-profile__photo,
  .top-hero-profile__photo img {
    min-height: 176px;
  }
  .top-hero-profile__body {
    padding-right: 58px;
  }
  .top-section--profiles .member-card:not(:first-child) {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .top-section--profiles .member-card:not(:first-child) .member-photo {
    min-height: 118px;
  }
  .top-section--regions .top-region-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    min-height: 96px;
    padding: 12px 9px;
  }
  .top-section--regions .region-character--region-card {
    width: 36px;
    max-height: 46px;
  }
  .top-section--regions .top-region-card h3 {
    font-size: 14px;
  }
}

/* Top page polish: character-led regional identity */
.site-header,
.tone-bright .site-header {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.14);
  background: rgba(39,70,53,.97);
}
.site-header .brand {
  color: #fff;
}
.site-header .desktop-nav {
  color: rgba(255,255,255,.82);
}
.site-header .desktop-nav a:hover {
  color: #fff4d7;
}
.site-header .header-action-link {
  color: var(--color-main-dark);
  border-color: #f4dfaa;
  background: #f4dfaa;
}
.site-header .header-action-link small {
  color: rgba(47,74,58,.72);
  opacity: 1;
}
.site-header .header-action-link:hover {
  color: var(--color-main-dark);
  border-color: #fff4d7;
  background: #fff4d7;
}
.site-header .header-action-link--secondary {
  color: #fff;
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
}
.site-header .header-action-link--secondary small {
  color: rgba(255,255,255,.7);
}
.site-header .header-action-link--secondary:hover {
  color: var(--color-main-dark);
  border-color: #fff;
  background: #fff;
}
.site-header .header-action-link--secondary:hover small {
  color: rgba(47,74,58,.72);
}
.site-header .header-login-button {
  color: #fff;
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.08);
  box-shadow: none;
}
.site-header .header-login-button:hover {
  color: var(--color-main-dark);
  border-color: #fff;
  background: #fff;
}
.site-header .header-actions .button {
  color: var(--color-main-dark);
  border-color: #f4dfaa;
  background: #f4dfaa;
  box-shadow: none;
}
.site-header .header-actions .button:hover {
  color: var(--color-main-dark);
  border-color: #fff4d7;
  background: #fff4d7;
}
.site-header .mobile-menu-button {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
}
.site-footer {
  color: rgba(255,255,255,.9);
  border-top-color: rgba(255,255,255,.12);
  background: #294735;
}
.site-footer .footer-title {
  color: #fff;
}
.site-footer .footer-about p:last-child,
.site-footer .footer-links {
  color: rgba(255,255,255,.72);
}
.site-footer a:hover {
  color: #fff4d7;
}
.home .site-footer {
  margin-top: 0;
}

.top-hero {
  position: relative;
  isolation: isolate;
  background: #f8f4e9;
}
.top-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image: var(--top-hero-character-image);
  background-position: center 44%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: .38;
  transform: scale(1.035);
}
.top-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251,248,240,.76) 0%, rgba(251,248,240,.64) 46%, rgba(251,248,240,.42) 100%),
    linear-gradient(180deg, rgba(251,248,240,.18), rgba(251,248,240,.54));
}
.top-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 48px));
  grid-template-columns: minmax(0, .5fr) minmax(520px, .5fr);
  gap: clamp(36px, 4.5vw, 68px);
}
.top-hero__content {
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.top-hero__actions {
  align-items: flex-end;
}
.top-hero__primary-action {
  display: grid;
  justify-items: center;
  gap: 1px;
}
.top-hero__primary-action > span {
  color: var(--color-main-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
}
.top-hero__visual--profile {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.top-hero-profile-rail {
  display: flex;
  width: 100%;
  gap: 16px;
  padding: 4px 32px 18px 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(47,74,58,.38) transparent;
  scrollbar-width: thin;
  scroll-padding-inline: 4px;
  scroll-snap-type: inline mandatory;
}
.top-hero-profile-rail::-webkit-scrollbar {
  height: 6px;
}
.top-hero-profile-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(47,74,58,.34);
}
.top-hero-profile-rail .top-hero-profile {
  flex: 0 0 calc(100% - 36px);
  min-width: 520px;
  scroll-snap-align: start;
}
.top-hero-profile-rail .top-hero-profile__photo,
.top-hero-profile-rail .top-hero-profile__photo img {
  min-height: 280px;
}
.top-hero-profile-rail .top-hero-profile__body {
  min-height: 220px;
}

.top-section__inner {
  width: min(1240px, calc(100% - 48px));
}
.top-section--profiles .top-section__heading {
  max-width: none;
}
.top-section--profiles .top-section__heading h2 {
  white-space: nowrap;
}
.top-section__footer-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}
.top-section__footer-link .top-text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}
.top-section--profiles .member-card-character {
  top: 18px;
  right: 18px;
  width: 92px;
  height: 92px;
  padding: 5px;
  opacity: .96;
}
.top-section--profiles .region-character--member-card {
  max-height: 82px;
}
.top-section--profiles .member-card-character + .card-meta {
  min-height: 82px;
  align-content: flex-start;
  padding-right: 100px;
}
.top-section--profiles .member-card:first-child .member-card-character {
  width: 110px;
  height: 110px;
}
.top-section--profiles .member-card:first-child .region-character--member-card {
  max-height: 100px;
}
.top-section--profiles .member-card:first-child .member-card-character + .card-meta {
  min-height: 96px;
  padding-right: 118px;
}

.top-profile-value {
  padding-right: 0;
}
.top-profile-value__points {
  padding-right: 166px;
}
.top-profile-value__character {
  right: 0;
  bottom: 2px;
  width: 142px;
  padding: 8px;
  border-radius: 28px 28px 7px 28px;
  background: rgba(255,255,255,.9);
}
.region-character--profile-value {
  max-height: 150px;
}

.top-section--regions .top-region-card__mark {
  display: none;
}
.top-section--regions .top-region-card {
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  min-height: 192px;
  padding: 24px 20px;
  background:
    linear-gradient(145deg, var(--region-color-soft, rgba(238,244,232,.76)), rgba(255,255,255,.92) 68%),
    #fff;
}
.top-section--regions .region-character--region-card {
  width: 96px;
  max-height: 116px;
  padding: 5px;
  border-color: var(--region-color-border, var(--color-border));
  border-radius: 20px 20px 5px 20px;
  background: rgba(255,255,255,.9);
}
.top-section--regions .top-region-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.top-section--regions .top-region-card p {
  display: none;
}
.top-section--regions .top-region-card__count {
  margin-top: 0;
  color: var(--region-color, var(--color-main-dark));
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1024px) {
  .top-hero__inner {
    width: min(100% - 48px, 860px);
    grid-template-columns: 1fr;
  }
  .top-profile-value__points {
    padding-right: 168px;
  }
}

@media (max-width: 768px) {
  .top-hero::before {
    background-position: 52% center;
    background-size: auto 100%;
    opacity: .32;
  }
  .top-hero::after {
    background: rgba(251,248,240,.66);
  }
  .top-hero__actions {
    align-items: stretch;
  }
  .top-hero__primary-action {
    width: 100%;
  }
  .top-hero__primary-action > span {
    padding-left: 0;
  }
  .top-hero__visual {
    width: calc(100% + 32px);
    max-width: none;
    margin-inline: -16px;
  }
  .top-hero__visual--profile {
    padding: 0;
    border: 0;
    background: transparent;
  }
  .top-hero__visual-note {
    padding-inline: 16px;
  }
  .top-hero-profile-rail {
    gap: 12px;
    padding: 4px 28px 14px 16px;
  }
  .top-hero-profile-rail .top-hero-profile {
    flex-basis: calc(100% - 28px);
    min-width: 0;
    border-radius: 2px 2px 16px 2px;
  }
  .top-hero-profile-rail .top-hero-profile__photo,
  .top-hero-profile-rail .top-hero-profile__photo img {
    min-height: 210px;
  }
  .top-hero-profile-rail .top-hero-profile__body {
    min-height: 180px;
  }
  .top-section--profiles .top-section__heading h2 {
    white-space: normal;
  }
  .top-section__footer-link {
    margin-top: 22px;
  }
  .top-section--profiles .member-card:first-child .member-card-character {
    width: 80px;
    height: 80px;
  }
  .top-section--profiles .member-card:first-child .region-character--member-card {
    max-height: 70px;
  }
  .top-section--profiles .member-card:first-child .member-card-character + .card-meta {
    min-height: 70px;
    padding-right: 88px;
  }
  .top-section--profiles .member-card:not(:first-child) .member-card-character {
    top: 12px;
    right: 5px;
    width: 56px;
    height: 56px;
    padding: 3px;
    opacity: .9;
  }
  .top-section--profiles .member-card:not(:first-child) .region-character--member-card {
    max-height: 50px;
  }
  .top-section--profiles .member-card:not(:first-child) .member-card-body {
    padding-right: 64px;
  }
  .top-profile-value {
    padding-bottom: 104px;
  }
  .top-profile-value__points {
    padding-right: 0;
  }
  .top-profile-value__character {
    display: block;
    right: 0;
    bottom: 0;
    width: 92px;
  }
  .region-character--profile-value {
    max-height: 98px;
  }
  .top-section--regions .top-region-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    min-height: 122px;
    padding: 15px 12px;
  }
  .top-section--regions .region-character--region-card {
    width: 62px;
    max-height: 76px;
    padding: 3px;
    border-radius: 14px 14px 4px 14px;
  }
  .top-section--regions .top-region-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
  }
  .top-section--regions .top-region-card__count {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .top-section--regions .top-region-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 7px;
    min-height: 112px;
    padding: 13px 8px;
  }
  .top-section--regions .region-character--region-card {
    width: 52px;
    max-height: 66px;
  }
  .top-section--regions .top-region-card h3 {
    font-size: 15px;
  }
  .top-section--regions .top-region-card__count {
    font-size: 10px;
  }
}

/* Top page polish: navigation, section links and horizontal media */
.site-header,
.tone-bright .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(21,44,31,.12);
}
.admin-bar .site-header {
  top: 32px;
}

.top-hero::before {
  background-position: center 48%;
  background-size: min(1500px, 96vw) auto;
  opacity: .5;
  transform: none;
}
.top-hero::after {
  background:
    linear-gradient(90deg, rgba(251,248,240,.64) 0%, rgba(251,248,240,.48) 46%, rgba(251,248,240,.28) 100%),
    linear-gradient(180deg, rgba(251,248,240,.1), rgba(251,248,240,.4));
}
.top-hero-profile-rail .top-hero-profile {
  grid-template-rows: auto auto;
}
.top-hero-profile-rail .top-hero-profile__photo,
.top-hero-profile-rail .top-hero-profile__photo img {
  min-height: 0;
  aspect-ratio: 16 / 9;
}
.top-hero-profile__body {
  border-top: 0;
  border-left: 4px solid var(--region-color, var(--color-main));
}

.top-section__footer-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}
.top-section__footer-link .top-text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

.top-section--profiles .member-card:first-child {
  display: block;
  grid-column: span 2;
}
.top-section--profiles .member-card:first-child .member-photo,
.top-section--profiles .member-card:not(:first-child) .member-photo {
  min-height: 0;
  aspect-ratio: 16 / 9;
}
.top-section--profiles .member-card:first-child .member-card-body {
  display: block;
  padding: 34px;
}
.top-section--profiles .member-card:first-child .card-actions {
  margin-top: 20px;
  padding-top: 0;
}

.top-section--columns .top-column-card__image {
  align-self: center;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .top-hero {
    isolation: auto;
    background: #f8f4e9;
  }
  .top-hero::before,
  .top-hero::after {
    display: none;
  }
  .top-hero__inner {
    padding-top: 0;
  }
  .top-hero__content {
    isolation: isolate;
    padding-block: 38px 28px;
  }
  .top-hero__content::before,
  .top-hero__content::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    content: "";
  }
  .top-hero__content::before {
    z-index: -2;
    background-image: var(--top-hero-character-image);
    background-position: center 45%;
    background-repeat: no-repeat;
    background-size: auto 100%;
    opacity: .46;
  }
  .top-hero__content::after {
    z-index: -1;
    background: rgba(251,248,240,.58);
  }
  .top-hero-profile-rail .top-hero-profile {
    grid-template-rows: auto auto;
  }
  .top-hero-profile-rail .top-hero-profile__photo,
  .top-hero-profile-rail .top-hero-profile__photo img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .top-hero-profile__character {
    right: 14px;
    bottom: 16px;
    width: 72px;
  }
  .region-character--hero-profile {
    max-height: 76px;
  }

  .top-section--profiles .member-card:first-child .member-card-character {
    width: 92px;
    height: 92px;
  }
  .top-section--profiles .member-card:first-child .region-character--member-card {
    max-height: 82px;
  }
  .top-section--profiles .member-card:first-child .member-card-character + .card-meta {
    min-height: 82px;
    padding-right: 100px;
  }
  .top-section--profiles .member-card:not(:first-child) {
    grid-template-columns: 136px minmax(0, 1fr);
    min-height: 122px;
  }
  .top-section--profiles .member-card:not(:first-child) .member-photo {
    align-self: center;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .top-section--profiles .member-card:not(:first-child) .member-card-character {
    top: 10px;
    right: 5px;
    width: 64px;
    height: 64px;
    padding: 3px;
    opacity: .92;
  }
  .top-section--profiles .member-card:not(:first-child) .region-character--member-card {
    max-height: 58px;
  }
  .top-section--profiles .member-card:not(:first-child) .member-card-body {
    padding-right: 72px;
  }

  .top-section--columns .top-column-card {
    grid-template-columns: 136px minmax(0, 1fr);
  }
  .top-section--columns .top-column-card__image {
    align-self: center;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 420px) {
  .top-hero__content {
    padding-block: 34px 26px;
  }
  .top-section--profiles .member-card:not(:first-child) {
    grid-template-columns: 122px minmax(0, 1fr);
  }
  .top-section--columns .top-column-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

/* Header positioning, mobile profile grid and operator footer */
body {
  padding-top: 68px;
}

.site-header,
.tone-bright .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}

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

.site-footer {
  display: block;
  width: 100%;
  padding: 0;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(420px, 1.1fr);
  gap: 48px;
  align-items: start;
  padding: 52px clamp(24px, 5vw, 76px) 42px;
}

.footer-about {
  max-width: 620px;
}

.site-footer__navigation {
  display: grid;
  justify-items: end;
}

.footer-trust-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 24px;
  font-size: 13px;
}

.footer-trust-links a {
  color: rgba(255,255,255,.78);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.28);
  text-underline-offset: 4px;
}

.site-footer__credit {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 17px clamp(24px, 5vw, 76px);
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.site-footer__credit small {
  margin: 0;
}

.top-section--soft .top-section__inner,
.top-section--columns .top-section__inner,
.top-section--municipality .top-section__inner {
  display: grid;
  grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr) 142px;
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}
.top-section--soft .top-section__heading,
.top-section--columns .top-section__heading {
  grid-column: 1;
  margin: 0;
}
.top-section--soft .top-theme-list,
.top-section--columns .top-column-grid {
  grid-column: 2;
}
.top-section--municipality .top-municipality-cta {
  grid-column: 1 / 3;
}
.top-section-corner-character {
  position: relative;
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: end;
  width: 142px;
  padding: 8px;
  border: 1px solid var(--region-color-border, var(--color-border));
  border-radius: 28px 28px 7px 28px;
  background: rgba(255,255,255,.9);
  pointer-events: none;
}
.region-character--section-corner {
  width: 100%;
  max-height: 150px;
}
.top-column-side {
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 3;
  gap: 14px;
  align-self: end;
  justify-items: center;
  padding-bottom: 10px;
}
.top-column-side .top-section-corner-character {
  grid-column: auto;
  grid-row: auto;
  align-self: auto;
}
.top-column-side .top-text-link {
  font-size: 12px;
  text-align: center;
}
.top-section--municipality .top-section-corner-character {
  align-self: center;
}
.top-section--profiles .member-card-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}
.top-section--profiles .member-card .card-actions,
.top-section--profiles .member-card:first-child .card-actions {
  margin-top: auto;
  padding-top: 18px;
}

.page-hero--characters {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(280px, .64fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.character-hero-visual {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 6px 6px 28px 6px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(47,47,43,.08);
}
.character-hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}
.character-directory,
.columns-archive {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 88px;
}
.character-directory__intro {
  max-width: 760px;
  margin-bottom: 36px;
}
.character-directory__intro h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}
.character-directory__intro p {
  margin: 0;
  color: var(--color-muted);
}
.character-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.character-profile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}
.character-profile__image {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 12px;
  background: var(--region-color-soft, var(--color-main-light));
}
.region-character--character-page {
  width: 100%;
  max-height: 180px;
}
.character-profile__image > span {
  color: var(--region-color, var(--color-main));
  font-size: 40px;
  font-weight: 900;
}
.character-profile p {
  margin: 0 0 3px;
  color: var(--region-color, var(--color-main));
  font-size: 12px;
  font-weight: 800;
}
.character-profile h2 {
  margin: 0 0 10px;
  font-size: 25px;
}
.character-profile div:last-child > span {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.8;
}
.character-profile a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--region-color, var(--color-main));
  font-size: 13px;
  font-weight: 800;
}
.columns-archive__grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}
.columns-archive-card {
  display: grid;
  grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}
.columns-archive-card__image {
  display: block;
  min-height: 210px;
  overflow: hidden;
  background: var(--color-main-light);
}
.columns-archive-card__image img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}
.columns-archive-card > div {
  display: grid;
  align-content: center;
  padding: 30px 36px;
}
.columns-archive-card span,
.columns-archive-card time {
  color: var(--color-muted);
  font-size: 11px;
}
.columns-archive-card h2 {
  margin: 7px 0 10px;
  font-size: 22px;
}
.columns-archive-card p {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 14px;
}

.column-article {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}
.column-article__header {
  max-width: 780px;
  margin: 0 auto 38px;
}
.column-article__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.column-article__categories a {
  color: var(--color-main);
  font-size: 12px;
  font-weight: 800;
}
.column-article__header h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.45;
}
.column-article__header time {
  color: var(--color-muted);
  font-size: 12px;
}
.column-article__featured {
  margin: 0 0 48px;
}
.column-article__featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.column-article__body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 16px;
  line-height: 2;
}
.column-article__body > *:first-child {
  margin-top: 0;
}
.column-article__body h2 {
  margin: 2.4em 0 .9em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 27px;
}
.column-article__body h3 {
  margin: 2em 0 .7em;
  font-size: 21px;
}
.column-article__body p,
.column-article__body ul,
.column-article__body ol,
.column-article__body blockquote {
  margin: 0 0 1.6em;
}
.column-article__body img {
  margin-block: 28px;
}
.column-article__body blockquote {
  padding: 18px 24px;
  border-left: 3px solid var(--color-main);
  background: var(--color-main-light);
}
.column-article__footer {
  max-width: 720px;
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.column-article__footer > a {
  color: var(--color-main-dark);
  font-size: 14px;
  font-weight: 800;
}
.column-article__pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  font-size: 13px;
}
.column-article__pagination div:last-child {
  text-align: right;
}

.post-type-archive-member .member-card,
.tax-area .member-card,
.tax-activity_category .member-card,
.tax-member_status .member-card {
  border-radius: 8px;
  box-shadow: none;
}
.post-type-archive-member .member-card::before,
.tax-area .member-card::before,
.tax-activity_category .member-card::before,
.tax-member_status .member-card::before {
  height: 3px;
}
.post-type-archive-member .member-card:hover,
.tax-area .member-card:hover,
.tax-activity_category .member-card:hover,
.tax-member_status .member-card:hover {
  box-shadow: 0 10px 24px rgba(47,47,43,.07);
  transform: translateY(-1px);
}

@media (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar.tone-bright .site-header {
    top: 46px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .top-hero__content::before {
    background-position: center center;
    background-size: 94% auto;
    opacity: .52;
  }

  .top-hero__actions {
    justify-items: center;
  }

  .top-hero__primary-action {
    justify-items: center;
  }

  .top-hero__actions .top-button--secondary {
    justify-self: center;
    margin-right: auto;
    margin-left: auto;
  }

  .top-hero__assurance {
    width: 100%;
    justify-content: center;
    gap: 8px 14px;
    text-align: center;
  }

  .top-section--profiles .top-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .top-section--profiles .member-card,
  .top-section--profiles .member-card:first-child,
  .top-section--profiles .member-card:not(:first-child) {
    display: block;
    grid-column: auto;
    min-height: 0;
    margin: 0;
    border-width: 1px;
    border-radius: 4px 4px 14px 4px;
  }

  .top-section--profiles .member-card:first-child {
    grid-column: 1 / -1;
  }

  .top-section--profiles .member-card .member-photo,
  .top-section--profiles .member-card:first-child .member-photo,
  .top-section--profiles .member-card:not(:first-child) .member-photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .top-section--profiles .member-card:first-child .member-photo {
    aspect-ratio: 16 / 8;
  }

  .top-section--profiles .member-card .member-card-body,
  .top-section--profiles .member-card:first-child .member-card-body,
  .top-section--profiles .member-card:not(:first-child) .member-card-body {
    display: block;
    padding: 12px;
  }

  .top-section--profiles .member-card:first-child .member-card-body {
    padding: 20px;
  }

  .top-section--profiles .member-card .member-card-character,
  .top-section--profiles .member-card:first-child .member-card-character,
  .top-section--profiles .member-card:not(:first-child) .member-card-character {
    top: 9px;
    right: 8px;
    width: 52px;
    height: 52px;
  }

  .top-section--profiles .member-card:first-child .member-card-character {
    top: 14px;
    right: 14px;
    width: 78px;
    height: 78px;
  }

  .top-section--profiles .member-card .region-character--member-card,
  .top-section--profiles .member-card:first-child .region-character--member-card,
  .top-section--profiles .member-card:not(:first-child) .region-character--member-card {
    max-width: 48px;
    max-height: 48px;
  }

  .top-section--profiles .member-card:first-child .region-character--member-card {
    max-width: 72px;
    max-height: 72px;
  }

  .top-section--profiles .member-card .member-card-character + .card-meta,
  .top-section--profiles .member-card:first-child .member-card-character + .card-meta,
  .top-section--profiles .member-card:not(:first-child) .member-card-character + .card-meta {
    min-height: 48px;
    padding-right: 52px;
    font-size: 10px;
  }

  .top-section--profiles .member-card:first-child .member-card-character + .card-meta {
    min-height: 70px;
    padding-right: 82px;
    font-size: 12px;
  }

  .top-section--profiles .member-card h3,
  .top-section--profiles .member-card:first-child h3,
  .top-section--profiles .member-card:not(:first-child) h3 {
    margin: 6px 0 5px;
    font-size: 15px;
    line-height: 1.45;
  }

  .top-section--profiles .member-card:first-child h3 {
    margin-top: 8px;
    font-size: 20px;
  }

  .top-section--profiles .member-card .activity-theme {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1.4;
  }

  .top-section--profiles .member-card p:not(.activity-theme),
  .top-section--profiles .member-card .tag-row,
  .top-section--profiles .member-card .card-actions {
    display: none;
  }

  .top-section--profiles .member-card:first-child p:not(.activity-theme) {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.75;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 22px 32px;
  }

  .site-footer__navigation {
    justify-items: start;
  }

  .footer-trust-links {
    justify-content: flex-start;
    gap: 12px 20px;
  }

  .site-footer__credit {
    display: grid;
    gap: 8px;
    padding: 18px 22px 22px;
    line-height: 1.7;
  }
  .top-section--soft .top-section__inner,
  .top-section--columns .top-section__inner,
  .top-section--municipality .top-section__inner {
    display: grid;
    grid-template-columns: 1fr 92px;
    gap: 22px 16px;
  }
  .top-section--soft .top-section__heading,
  .top-section--columns .top-section__heading,
  .top-section--soft .top-theme-list,
  .top-section--columns .top-column-grid,
  .top-section--municipality .top-municipality-cta {
    grid-column: 1 / -1;
  }
  .top-section-corner-character {
    position: relative;
    grid-column: 2;
    grid-row: auto;
    justify-self: end;
    width: 92px;
    padding: 5px;
    border-radius: 20px 20px 5px 20px;
  }
  .region-character--section-corner {
    max-height: 98px;
  }
  .top-column-side {
    grid-column: 2;
    grid-row: auto;
    gap: 10px;
    padding-bottom: 0;
  }
  .character-directory,
  .columns-archive {
    width: min(100% - 24px, 1120px);
    padding-bottom: 56px;
  }
  .character-directory__grid {
    grid-template-columns: 1fr;
  }
  .character-profile {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 20px 16px;
  }
  .character-profile__image {
    min-height: 130px;
    padding: 7px;
  }
  .region-character--character-page {
    max-height: 138px;
  }
  .columns-archive-card {
    grid-template-columns: 1fr;
  }
  .columns-archive-card__image,
  .columns-archive-card__image img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .columns-archive-card > div {
    padding: 22px 18px 26px;
  }
  .column-article {
    width: min(100% - 24px, 860px);
    padding: 46px 0 64px;
  }
  .column-article__header {
    margin-bottom: 26px;
  }
  .column-article__header h1 {
    font-size: 30px;
  }
  .column-article__featured {
    margin-bottom: 34px;
  }
  .column-article__body {
    font-size: 15px;
  }
  .column-article__body h2 {
    font-size: 23px;
  }
  .column-article__pagination {
    grid-template-columns: 1fr;
  }
  .column-article__pagination div:last-child {
    text-align: left;
  }
  .top-section--profiles .member-card-body,
  .top-section--profiles .member-card:first-child .member-card-body,
  .top-section--profiles .member-card:not(:first-child) .member-card-body {
    display: flex;
    flex-direction: column;
  }
  .top-section--profiles .member-card .card-actions,
  .top-section--profiles .member-card:first-child .card-actions,
  .top-section--profiles .member-card:not(:first-child) .card-actions {
    display: flex;
    margin-top: auto;
  }
}

@media (max-width: 420px) {
  .top-section--profiles .top-member-grid {
    gap: 10px;
  }

  .top-section--profiles .member-card .member-card-body,
  .top-section--profiles .member-card:first-child .member-card-body,
  .top-section--profiles .member-card:not(:first-child) .member-card-body {
    padding: 10px;
  }

  .top-section--profiles .member-card .member-card-character,
  .top-section--profiles .member-card:first-child .member-card-character,
  .top-section--profiles .member-card:not(:first-child) .member-card-character {
    width: 48px;
    height: 48px;
  }

  .top-section--profiles .member-card .region-character--member-card,
  .top-section--profiles .member-card:first-child .region-character--member-card,
  .top-section--profiles .member-card:not(:first-child) .region-character--member-card {
    max-width: 44px;
    max-height: 44px;
  }

  .top-section--profiles .member-card:first-child .member-card-body {
    padding: 18px;
  }

  .top-section--profiles .member-card:first-child .member-card-character {
    width: 72px;
    height: 72px;
  }

  .top-section--profiles .member-card:first-child .region-character--member-card {
    max-width: 66px;
    max-height: 66px;
  }

  .top-section--profiles .member-card:first-child .member-card-character + .card-meta {
    min-height: 64px;
    padding-right: 74px;
  }
}

/* Member profile */
.member-profile {
  --member-region: var(--region-color, var(--color-main));
  --member-region-soft: var(--region-color-soft, var(--color-main-light));
  --member-region-border: var(--region-color-border, var(--color-border));
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 0;
}
.member-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .85fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
}
.member-profile-hero__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--member-region-border);
  border-radius: 3px 3px 18px 3px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(47,47,43,.08);
}
.member-profile-hero__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--member-region-soft), #f4ead6);
}
.member-profile-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-profile-hero__photo-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,.85) 0 15%, transparent 16%),
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.75) 0 30%, transparent 31%);
}
.member-profile-hero__content {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 38px;
}
.member-profile-hero__content::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 5px;
  content: "";
  border-radius: 999px;
  background: var(--member-region);
}
.member-region-identity {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 15px 20px;
  border-top: 1px solid var(--member-region-border);
  background:
    linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,255,255,.96)),
    var(--member-region-soft);
}
.member-region-identity__character {
  position: static;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 18px 18px 6px 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(47,47,43,.07);
}
.member-region-identity__character .region-character {
  width: 68px;
  height: 68px;
  object-fit: contain;
  mix-blend-mode: normal;
}
.member-region-identity__text {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 8px;
  align-items: baseline;
}
.member-region-identity small {
  grid-column: 1 / -1;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.member-region-identity strong {
  font-size: 14px;
}
.member-region-identity__text > span {
  color: var(--color-muted);
  font-size: 11px;
}
.member-region-identity__text em {
  grid-column: 1 / -1;
  max-width: 440px;
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.65;
}
.member-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 12px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}
.member-profile-meta span {
  position: relative;
}
.member-profile-meta span + span::before {
  position: absolute;
  top: 50%;
  left: -11px;
  width: 3px;
  height: 3px;
  content: "";
  border-radius: 50%;
  background: var(--member-region);
}
.member-profile-meta__status {
  color: var(--member-region);
}
.member-profile-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.28;
  letter-spacing: .025em;
}
.member-profile-tagline {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--color-text);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.75;
}
.member-profile-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.member-profile-highlights > div {
  padding: 15px 17px;
  border-left: 3px solid var(--member-region);
  background: rgba(255,255,255,.68);
}
.member-profile-highlights small {
  display: block;
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.member-profile-highlights strong {
  display: block;
  font-size: 14px;
  line-height: 1.65;
}
.member-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.member-availability span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid var(--member-region-border);
  border-radius: 999px;
  color: var(--member-region);
  background: var(--member-region-soft);
  font-size: 12px;
  font-weight: 900;
}
.member-availability span::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}
.member-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.member-contact-actions--mobile {
  display: none;
}
.member-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.member-profile-button:hover {
  transform: translateY(-1px);
}
.member-profile-button--primary {
  color: #fff;
  background: var(--member-region);
  border-color: var(--member-region);
}
.member-profile-button--secondary {
  color: var(--color-text);
  border-color: var(--color-border);
  background: #fff;
}
.member-profile-summary,
.member-profile-layout,
.member-related,
.member-profile-cta {
  margin-top: 88px;
}
.member-profile-section-heading {
  margin-bottom: 28px;
}
.member-profile-section-heading > p,
.member-profile-section-heading > div > p,
.member-profile-cta > div > p {
  margin: 0 0 7px;
  color: var(--member-region);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.member-profile-section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
}
.member-profile-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.member-profile-summary__grid article {
  position: relative;
  min-height: 232px;
  padding: 27px 25px 92px;
  overflow: hidden;
  border: 1px solid var(--member-region-border);
  border-radius: 3px 3px 14px 3px;
  background: #fff;
}
.member-profile-summary__grid article::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 18px;
  content: "";
  background: var(--member-region);
}
.member-profile-summary__grid h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 17px;
}
.member-profile-summary__grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.9;
}
.member-profile-summary__character {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 78px;
  height: 78px;
  opacity: .94;
  pointer-events: none;
}
.member-profile-summary__character .region-character {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.member-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(30px, 5vw, 66px);
  align-items: start;
}
.member-profile-main {
  min-width: 0;
}
.member-story-section {
  padding: 38px 0;
  border-top: 1px solid var(--color-border);
}
.member-story-section:first-of-type {
  border-top-color: var(--member-region-border);
}
.member-story-section__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.member-story-section h3 {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.5;
}
.member-story-section h3::before {
  position: absolute;
  top: .2em;
  bottom: .2em;
  left: 0;
  width: 4px;
  content: "";
  border-radius: 999px;
  background: var(--member-region);
}
.member-story-section__character {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  margin-top: -12px;
  opacity: .92;
  pointer-events: none;
}
.member-story-section__character .region-character {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.member-story-section__body {
  color: var(--color-text);
  font-size: 16px;
  line-height: 2.05;
}
.member-story-section__body p {
  margin: 0 0 1.3em;
}
.member-story-section__body p:last-child {
  margin-bottom: 0;
}
.member-offer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}
.member-offer-list li {
  position: relative;
  list-style: none;
  padding: 14px 16px 14px 38px;
  border: 1px solid var(--member-region-border);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}
.member-offer-list li::before {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 8px;
  height: 8px;
  content: "";
  border: 3px solid var(--member-region);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.member-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.member-gallery figure {
  margin: 0;
}
.member-gallery figure:first-child {
  grid-column: 1 / -1;
}
.member-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px 3px 16px 3px;
}
.member-gallery figure:first-child img {
  aspect-ratio: 16 / 9;
}
.member-gallery figcaption {
  padding-top: 7px;
  color: var(--color-muted);
  font-size: 11px;
}
.member-profile-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}
.member-sidebar-card {
  padding: 24px;
  border: 1px solid var(--member-region-border);
  border-radius: 3px 3px 18px 3px;
  background: #fff;
}
.member-sidebar-card h2 {
  margin: 0 0 17px;
  font-size: 18px;
}
.member-info-list {
  margin: 0;
}
.member-info-list > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
}
.member-info-list dt {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 800;
}
.member-info-list dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}
.member-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.member-profile-tags a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--member-region);
  background: var(--member-region-soft);
  font-size: 11px;
  font-weight: 800;
}
.member-sidebar-links {
  display: grid;
}
.member-sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 800;
}
.member-sidebar-links a span {
  color: var(--member-region);
}
.member-sidebar-card--contact {
  color: #fff;
  border-color: transparent;
  background: var(--member-region);
}
.member-sidebar-card--contact > p {
  margin: 0 0 5px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 700;
}
.member-sidebar-card--contact h2 {
  color: #fff;
}
.member-sidebar-card--contact .member-profile-button {
  width: 100%;
  color: var(--member-region);
  background: #fff;
  border-color: #fff;
}
.member-sidebar-card--contact small {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  line-height: 1.7;
}
.member-profile-note {
  margin: 0;
  padding: 4px 8px;
  color: var(--color-muted);
  font-size: 10px;
  line-height: 1.7;
}
.member-profile-section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.member-profile-section-heading--row > a {
  flex: 0 0 auto;
  color: var(--member-region);
  font-size: 13px;
  font-weight: 900;
}
.member-related {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 64px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,.74);
}
.member-related + .member-related {
  margin-top: 0;
  border-top: 0;
  background: var(--member-region-soft);
}
.member-related .member-profile-section-heading {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--member-region);
}
.member-related .member-profile-section-heading h2 {
  font-size: clamp(23px, 2.7vw, 30px);
}
.member-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.member-related .member-card {
  border-color: var(--color-border);
  border-radius: 3px 3px 12px 3px;
  box-shadow: none;
}
.member-related .member-card::before {
  display: none;
}
.member-related .member-card:hover {
  border-color: var(--member-region-border);
  box-shadow: 0 10px 24px rgba(47,47,43,.07);
}
.member-related .member-photo {
  aspect-ratio: 16 / 9;
}
.member-related .member-card-body {
  padding: 20px;
}
.member-related .member-card p:not(.activity-theme) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.member-profile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 52px;
  border-radius: 4px 4px 26px 4px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(135deg, var(--member-region), var(--color-main-dark));
}
.member-profile-cta > div:first-child {
  max-width: 690px;
}
.member-profile-cta > div > p {
  color: rgba(255,255,255,.74);
}
.member-profile-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
}
.member-profile-cta span {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.member-profile-cta__actions {
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 230px;
}
.member-profile-button--light {
  color: var(--color-main-dark);
  background: #fff;
  border-color: #fff;
}
.member-profile-button--outline-light {
  color: #fff;
  border-color: rgba(255,255,255,.65);
  background: transparent;
}

@media (max-width: 960px) {
  .member-profile-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 34px;
  }
  .member-profile-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 30px;
  }
  .member-profile-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .member-profile-cta__actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .member-profile {
    width: min(100% - 24px, 1180px);
    padding-top: 28px;
  }
  .member-profile-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .member-profile-hero__visual {
    border-radius: 3px 3px 20px 3px;
  }
  .member-profile-hero__photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .member-profile-hero__photo img,
  .member-profile-hero__photo-placeholder {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .member-profile-hero__content {
    padding: 30px 4px 8px;
  }
  .member-profile-hero__content::before {
    top: 0;
  }
  .member-region-identity {
    min-height: 76px;
    padding: 12px 16px 12px 108px;
  }
  .member-region-identity__character {
    bottom: 5px;
    left: 14px;
    width: 86px;
    height: 86px;
  }
  .member-profile-hero h1 {
    font-size: 36px;
  }
  .member-profile-tagline {
    font-size: 18px;
  }
  .member-profile-highlights {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .member-contact-actions--desktop {
    display: none;
  }
  .member-contact-actions--mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0 0;
    padding: 18px;
    border: 1px solid var(--member-region-border);
    border-radius: 3px 3px 16px 3px;
    background: #fff;
  }
  .member-contact-actions--mobile .member-profile-button--primary {
    grid-column: 1 / -1;
  }
  .member-profile-summary,
  .member-profile-layout,
  .member-related,
  .member-profile-cta {
    margin-top: 60px;
  }
  .member-profile-summary__grid {
    grid-template-columns: 1fr;
  }
  .member-profile-summary__grid article {
    min-height: 180px;
    padding-right: 98px;
    padding-bottom: 27px;
  }
  .member-profile-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  .member-profile-main {
    order: 1;
  }
  .member-profile-sidebar {
    position: static;
    order: 2;
    width: 100%;
  }
  .member-story-section {
    padding: 30px 0;
  }
  .member-story-section__body {
    font-size: 15px;
    line-height: 2;
  }
  .member-offer-list,
  .member-gallery__grid {
    grid-template-columns: 1fr;
  }
  .member-gallery figure:first-child {
    grid-column: auto;
  }
  .member-gallery figure:first-child img,
  .member-gallery img {
    aspect-ratio: 4 / 3;
  }
  .member-related__grid {
    grid-template-columns: 1fr;
  }
  .member-related {
    padding: 46px 12px;
  }
  .member-related + .member-related {
    margin-top: 0;
  }
  .member-related .member-profile-section-heading {
    margin: 0 6px 20px;
    padding-bottom: 14px;
  }
  .member-profile-section-heading--row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .member-profile-cta {
    padding: 34px 24px;
  }
  .member-profile-cta__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .member-contact-actions--mobile {
    grid-template-columns: 1fr;
  }
  .member-contact-actions--mobile .member-profile-button--primary {
    grid-column: auto;
  }
  .member-region-identity__character {
    width: 80px;
    height: 80px;
  }
  .member-region-identity {
    padding-left: 100px;
  }
  .member-profile-summary__grid article {
    min-height: 200px;
    padding-right: 24px;
    padding-bottom: 88px;
  }
  .member-profile-summary__character {
    width: 70px;
    height: 70px;
  }
  .member-profile-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .member-discovery,
  .page-hero--characters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .member-discovery {
    width: min(var(--container), calc(100% - 40px));
    margin-top: 24px;
  }
  .member-discovery__block {
    padding: 20px;
  }
  .member-discovery__region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-hero--characters {
    width: min(var(--container), calc(100% - 40px));
  }
  .character-hero-visual img {
    aspect-ratio: 16 / 10;
  }
  .member-region-identity {
    min-height: 92px;
    padding: 13px 16px 13px 116px;
  }
  .member-region-identity__character {
    top: -42px;
    bottom: auto;
    left: 18px;
    width: 92px;
    height: 92px;
  }
  .member-region-identity__text em {
    font-size: 11px;
    line-height: 1.55;
  }
  .member-story-section__heading {
    gap: 12px;
  }
  .member-story-section__character {
    width: 56px;
    height: 56px;
    margin-top: -8px;
  }
}

@media (max-width: 420px) {
  .member-region-identity {
    min-height: 82px;
    padding-left: 98px;
  }
  .member-region-identity__text em {
    display: none;
  }
}

/* Member hero visual refinement */
.member-profile-hero__visual .member-region-identity {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  min-height: 96px;
  padding: 15px 20px;
}
.member-profile-hero__visual .member-region-identity__character {
  position: static;
  width: 76px;
  height: 76px;
  transform: none;
  filter: none;
}
.member-profile-hero__visual .member-region-identity__character .region-character {
  width: 68px;
  height: 68px;
}

.site-header .mobile-menu-button[aria-expanded="true"] + .mobile-nav,
.site-header .mobile-nav.is-open {
  display: grid;
}
.site-header .mobile-menu-button {
  color: var(--color-text);
  border-color: var(--color-border);
  background: #fff;
}
.site-header .mobile-nav {
  color: var(--color-text);
  background: #fff;
}
.site-header .mobile-nav a {
  color: var(--color-text);
}

@media (max-width: 767px) {
  .member-profile-hero__visual .member-region-identity {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    min-height: 82px;
    padding: 12px 14px;
  }
  .member-profile-hero__visual .member-region-identity__character {
    width: 62px;
    height: 62px;
    border-radius: 14px 14px 5px 14px;
  }
  .member-profile-hero__visual .member-region-identity__character .region-character {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 420px) {
  .member-profile-hero__visual .member-region-identity {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    min-height: 72px;
    padding: 10px 12px;
  }
  .member-profile-hero__visual .member-region-identity__character {
    width: 56px;
    height: 56px;
  }
  .member-profile-hero__visual .member-region-identity__character .region-character {
    width: 50px;
    height: 50px;
  }
}

/* Member alumni profile */
.member-profile--alumni .member-profile-hero {
  align-items: center;
  border-color: rgba(100, 116, 89, 0.2);
}
.member-alumni-hero .member-profile-hero__content {
  gap: 18px;
}
.member-alumni-badge {
  color: #4f6650;
  border-color: rgba(79, 102, 80, 0.28);
  background: #f4f7f1;
}
.member-alumni-summary {
  max-width: 680px;
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 2;
}
.member-profile-tabs {
  width: min(var(--container), calc(100% - 48px));
  margin: 64px auto 0;
}
.member-profile-tab-list {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
}
.member-profile-tab {
  appearance: none;
  min-width: 116px;
  padding: 10px 18px;
  color: var(--color-muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.member-profile-tab:hover,
.member-profile-tab:focus-visible {
  color: var(--color-text);
  outline: none;
}
.member-profile-tab:focus-visible {
  box-shadow: 0 0 0 3px rgba(103, 133, 80, 0.22);
}
.member-profile-tab.is-active,
.member-profile-tab[aria-selected="true"] {
  color: #fff;
  background: var(--green);
}
.member-profile-panel {
  margin-top: 30px;
}
.member-profile-panel[hidden] {
  display: none;
}
.member-profile-empty-note {
  margin: 24px 0 0;
  padding: 22px 24px;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  line-height: 1.9;
}
.member-alumni-cta-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.member-alumni-cta-links--hero {
  margin-top: 8px;
}
.member-alumni-link-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid rgba(103, 133, 80, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(49, 67, 43, 0.06);
}
.member-alumni-link-card span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}
.member-alumni-link-card strong {
  font-size: 15px;
}
.member-alumni-link-card small {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}
.member-alumni-link-card--primary {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}
.member-alumni-link-card--primary span,
.member-alumni-link-card--primary small {
  color: rgba(255, 255, 255, 0.78);
}
.member-profile--alumni .member-profile-layout {
  margin-top: 28px;
}

@media (max-width: 767px) {
  .member-profile-tabs {
    width: min(var(--container), calc(100% - 40px));
    margin-top: 46px;
  }
  .member-profile-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 14px;
  }
  .member-profile-tab {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
  }
  .member-alumni-cta-links {
    grid-template-columns: 1fr;
  }
}
