/*
 * UCDA 100-point refinement layer.
 * Remove this stylesheet link to return to the previous design.
 */

:root {
  --ink: #171916;
  --muted: rgba(23, 25, 22, 0.78);
  --line: rgba(23, 25, 22, 0.20);
  --red: #c9443b;
  --red-dark: #8f1d21;
  --red-soft: rgba(201, 68, 59, 0.075);
  --gold: #785500;
  --gold-accent: #c98b00;
  --gold-light: #ffd24a;
  --green-info: #245f46;
  --green-soft: rgba(36, 95, 70, 0.07);
  --leaf: #245f46;
  --leaf-deep: #245f46;
  --trust-black: #171916;
  --trust-white: #ffffff;
  --ucda-inline:
    max(clamp(20px, 5vw, 76px), calc((100vw - 1400px) / 2));
  --ucda-shadow: 0 12px 34px rgba(23, 25, 22, 0.09);
}

html {
  scroll-padding-top: 88px;
}

body {
  color: var(--ink);
  background: var(--trust-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.82;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  background:
    linear-gradient(90deg, rgba(36, 95, 70, 0.018) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 25, 22, 0.014) 1px, transparent 1px);
  background-size: 80px 80px;
}

p,
li,
dt,
dd,
small,
span {
  letter-spacing: 0;
}

::selection {
  color: var(--trust-white);
  background: var(--red-dark);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--trust-black);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--gold-light);
}

main:focus-visible,
.section[tabindex="-1"]:focus-visible {
  outline-offset: -4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--trust-white);
  background: var(--trust-black);
  border: 3px solid var(--gold-light);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  z-index: 1001;
  top: 0;
  height: 4px;
  background: rgba(23, 25, 22, 0.10);
}

.scroll-progress span {
  background: linear-gradient(
    90deg,
    var(--red-dark) 0 52%,
    var(--gold-accent) 52% 78%,
    var(--green-info) 78% 100%
  );
}

.site-header {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-width: none;
  min-height: 76px;
  padding: 10px var(--ucda-inline);
  border: 0;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 4px 18px rgba(23, 25, 22, 0.06);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  border-top-color: var(--red);
  background: var(--trust-white);
  box-shadow: 0 8px 26px rgba(23, 25, 22, 0.12);
}

.site-header::after {
  right: var(--ucda-inline);
  width: 160px;
  opacity: 0.42;
  animation-duration: 14s;
}

.brand {
  min-height: 54px;
  gap: 14px;
  margin-right: auto;
  padding: 3px 0;
}

.brand-copy {
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
}

.brand-name {
  display: flex;
  align-items: flex-end;
  padding: 0 18px 0 0;
}

.brand-mark {
  width: 44px;
  height: 48px;
  flex-basis: 44px;
}

.brand-type {
  color: #173f2f;
  font-weight: 700;
  line-height: 1;
  text-align: left;
}

.site-nav {
  gap: clamp(12px, 1.6vw, 24px);
  color: var(--trust-black);
  font-size: 12px;
}

.site-nav a {
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  padding: 9px 2px;
  color: rgba(23, 25, 22, 0.78);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  color: var(--red-dark);
}

.site-nav a[aria-current="location"] {
  font-weight: 700;
}

.site-nav a::after {
  bottom: 5px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold-accent));
}

.language-toggle {
  min-height: 48px;
  color: var(--trust-white);
  border-color: var(--red-dark);
  background:
    linear-gradient(90deg, var(--gold-light) 0 4px, transparent 4px),
    var(--red-dark);
}

.language-menu {
  width: min(400px, calc(100vw - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: min(70vh, 520px);
  overflow-y: auto;
  border-color: var(--gold-accent);
  border-top-color: var(--red);
  background: var(--trust-white);
  box-shadow: var(--ucda-shadow);
}

.language-menu:not([hidden]) {
  display: grid;
}

.language-menu button {
  min-width: 0;
  text-align: start;
}

.language-menu button:nth-child(odd) {
  border-right: 1px solid rgba(23, 25, 22, 0.12);
}

.language-menu button:nth-last-child(-n + 2) {
  border-bottom: 0;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .language-menu button,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .activity-body {
  text-align: right;
}

html[lang="ar"] body {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", Arial, sans-serif;
}

@media (max-width: 760px) {
  .language-menu {
    width: 100%;
    grid-template-columns: 1fr;
    max-height: min(52vh, 440px);
  }

  .language-menu button:nth-child(odd) {
    border-right: 0;
  }

  .language-menu button:nth-last-child(2) {
    border-bottom: 1px solid rgba(23, 25, 22, 0.12);
  }
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-checked="true"] {
  color: var(--trust-black);
  background: var(--red-soft);
}

.hero {
  min-height: max(720px, 88svh);
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(23, 25, 22, 0.89) 0%,
      rgba(23, 25, 22, 0.69) 34%,
      rgba(23, 25, 22, 0.19) 67%,
      rgba(23, 25, 22, 0.03) 100%
    ),
    linear-gradient(0deg, rgba(23, 25, 22, 0.49), transparent 50%);
}

.hero-content {
  max-width: min(720px, 88vw);
}

.hero-association-en {
  color: var(--gold-light) !important;
  text-shadow: 0 2px 10px rgba(23, 25, 22, 0.58);
}

.button {
  min-height: 48px;
  padding: 11px 20px;
  border-width: 2px;
  border-radius: 4px;
  font-size: 14px;
}

.button.primary {
  color: var(--trust-white);
  border-color: var(--red-dark);
  background: var(--red-dark);
  box-shadow: 0 8px 22px rgba(143, 29, 33, 0.22);
}

.button.primary:hover {
  color: var(--trust-white);
  border-color: var(--red);
  background: var(--red);
}

.hero-statement-inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--ucda-inline);
}

.hero-statement-heading p {
  max-width: 14em;
  font-weight: 500;
  line-height: 1.45;
}

.hero-statement-copy > p:first-child {
  color: var(--trust-black);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.85;
}

body main > .section,
.category-directory > .section {
  padding: clamp(64px, 7vw, 96px) var(--ucda-inline);
}

.section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 860px;
  padding-left: 24px;
}

.section-heading::before {
  width: 4px;
  background: linear-gradient(
    var(--red-dark) 0 52%,
    var(--gold-accent) 52% 78%,
    var(--green-info) 78% 100%
  );
}

.section-heading::after {
  width: 72px;
  height: 3px;
  margin-top: 20px;
  background: var(--gold-accent);
  box-shadow: none;
}

.eyebrow,
.vm-label,
.identity-kicker,
.identity-era {
  color: var(--gold) !important;
  font-weight: 700 !important;
}

.eyebrow {
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.4;
}

.en-small,
.statement-en,
.identity-en,
.feature-list small {
  font-weight: 400 !important;
  line-height: 1.72;
}

.en-small,
.statement-en {
  color: var(--gold) !important;
  font-size: 13.5px;
}

h2 {
  color: var(--trust-black);
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.38;
}

h3 {
  color: var(--trust-black);
  font-weight: 600;
  line-height: 1.5;
}

.section-lead,
.intro-copy,
.story-copy > p:not(.eyebrow, .en-small),
.identity-copy > p:not(.identity-kicker, .en-small),
.edo-history-copy > p:not(.en-small),
.feature-text > p:not(.eyebrow, .en-small),
.contact p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.vision-mission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vision-mission-grid article {
  min-height: 440px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red-dark);
  box-shadow: var(--ucda-shadow);
}

.vision-mission-grid article + article {
  border-color: rgba(255, 210, 74, 0.42);
  border-top-color: var(--gold-light);
  background:
    linear-gradient(90deg, rgba(255, 210, 74, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--red-dark);
}

.vision-mission-grid h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
}

.vision-copy .vision-mission-grid p:not(.eyebrow) {
  font-size: 15.5px;
  line-height: 1.88;
}

.vision-mission-grid .vm-value {
  grid-column: auto;
  display: block;
  container-type: inline-size;
  border-color: rgba(36, 95, 70, 0.62);
  border-top-color: var(--green-info);
  color: var(--trust-white);
  background:
    linear-gradient(90deg, rgba(201, 139, 0, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--trust-black);
  background-size: 52px 52px;
}

.vision-mission-grid .vm-value::before {
  animation-delay: -2.4s;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(36, 95, 70, 0.18),
    rgba(201, 139, 0, 0.12),
    transparent
  );
}

.vision-mission-grid .vm-value::after {
  border-top-color: var(--green-info);
  border-right-color: var(--gold-accent);
}

.vision-mission-grid .vm-value:hover {
  border-color: rgba(201, 139, 0, 0.72);
  border-top-color: var(--green-info);
  box-shadow:
    0 24px 56px rgba(23, 25, 22, 0.24),
    0 0 28px rgba(201, 139, 0, 0.12);
}

.vision-mission-grid .vm-value .vm-label {
  color: var(--gold-light) !important;
}

.vision-mission-grid .vm-value .vm-label::before {
  background: var(--green-info);
  box-shadow: 0 0 10px rgba(36, 95, 70, 0.52);
}

.vision-mission-grid .vm-value h2 {
  max-width: 10em;
  color: var(--trust-white);
}

html[lang="ja"] .vision-mission-grid .vm-value h2 {
  max-width: none;
  white-space: normal;
}

.vision-mission-grid .vm-value .en-small {
  color: var(--gold-light) !important;
}

.intro {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(46px, 7vw, 104px);
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(143, 29, 33, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 25, 22, 0.025) 1px, transparent 1px),
    var(--trust-white);
  background-size: 72px 72px;
}

.intro::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: var(--ucda-inline);
  left: var(--ucda-inline);
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--red-dark) 0 52%,
    var(--gold-accent) 52% 76%,
    var(--green-info) 76% 100%
  );
}

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

.intro .section-heading {
  max-width: none;
  align-self: center;
  padding-top: clamp(24px, 3vw, 42px);
  padding-left: 30px;
}

.intro .section-heading::before {
  top: clamp(24px, 3vw, 42px);
  bottom: 2px;
  width: 6px;
  background: var(--red-dark);
}

.intro .section-heading::after {
  width: clamp(82px, 9vw, 128px);
  background: linear-gradient(90deg, var(--gold-accent), var(--green-info));
}

.intro .section-heading h2 {
  max-width: 12em;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.34;
}

.intro .section-heading > .en-small {
  max-width: 48em;
  margin-top: 16px;
}

.intro-copy {
  max-width: none;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.88);
  border-top: 5px solid var(--gold-accent);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(255, 210, 74, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--trust-black);
  background-size: 52px 52px;
  box-shadow: var(--ucda-shadow);
}

.intro-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.95;
}

.intro-copy p + p {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 210, 74, 0.25);
}

.intro-copy p.en-small {
  color: var(--gold-light) !important;
  font-size: 12.5px;
  font-weight: 600 !important;
}

.about-categories {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 2px solid var(--trust-black);
}

.about-categories li {
  min-width: 0;
  min-height: 84px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-content: center;
  gap: 3px 8px;
  padding: 15px 14px 15px 0;
  border-bottom: 1px solid var(--line);
}

.about-categories li:nth-child(even) {
  padding-right: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.about-categories span {
  grid-row: 1 / span 2;
  color: var(--red-dark);
  font-family: var(--font-english);
  font-size: 11px;
  font-weight: 700;
}

.about-categories strong {
  min-width: 0;
  color: var(--trust-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.about-categories small {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.4;
}

.story-visual {
  border: 1px solid rgba(255, 210, 74, 0.34);
  border-radius: 4px;
}

.story-copy > p:not(.eyebrow, .en-small) {
  color: rgba(255, 255, 255, 0.86);
}

.identity-source a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.identity-note {
  display: grid;
  grid-template-columns: minmax(190px, 0.3fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 46px);
  margin-top: 0;
  padding: 22px 24px;
  color: var(--trust-black);
  border: 0;
  border-top: 3px solid var(--gold-accent);
  border-left: 4px solid var(--green-info);
  background: var(--green-soft);
}

.identity-section {
  padding-top: clamp(52px, 5.5vw, 72px) !important;
  padding-bottom: clamp(52px, 5.5vw, 72px) !important;
}

.identity-section .section-heading::after {
  margin-top: 14px;
}

.identity-layout {
  gap: 28px clamp(30px, 4vw, 52px);
  margin-top: 30px;
}

.identity-visual {
  min-height: 390px;
  gap: 22px;
  padding: clamp(30px, 3.6vw, 44px);
}

.identity-mark {
  width: clamp(168px, 46%, 224px);
}

.identity-wordmark {
  padding-top: 18px;
}

.identity-wordmark span {
  margin-bottom: 8px;
}

.identity-copy > h3 {
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.38;
}

.identity-copy > h3 + p {
  margin-top: 16px;
}

.identity-copy > .en-small {
  margin-top: 10px;
}

.identity-symbols {
  margin-top: 20px;
}

.identity-symbols > div {
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: 5px 18px;
  padding: 13px 0;
}

.edo-history {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 3.5vw, 44px);
  margin-top: 0;
  padding: clamp(28px, 3.5vw, 42px);
  color: var(--trust-white);
  border: 0;
  border-left: 4px solid var(--red);
  background:
    linear-gradient(90deg, rgba(255, 210, 74, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--trust-black);
  background-size: 52px 52px;
  box-shadow: none;
}

.edo-history .identity-kicker,
.edo-history .en-small,
.edo-history .identity-en,
.edo-history .identity-era {
  color: var(--gold-light) !important;
}

.edo-history-heading h3 {
  margin-top: 9px;
  color: var(--trust-white);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.38;
}

.edo-history-logo {
  width: min(100%, 480px);
  margin-top: 26px;
  padding: 20px 0 0;
  border-top: 3px solid var(--gold-accent);
  background: transparent;
  box-shadow: none;
}

.edo-history-logo-horizontal {
  display: none;
}

.edo-history-logo-stacked {
  width: 285px;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-inline: auto;
}

.edo-logo-slice {
  position: relative;
  height: 64px;
  display: block;
  overflow: hidden;
}

.edo-logo-slice img {
  position: absolute;
  top: 0;
  width: auto;
  max-width: none;
  height: 64px;
  filter: brightness(0) invert(1);
}

.edo-logo-slice-nihon {
  width: 113px;
  justify-self: start;
}

.edo-logo-slice-nihon img {
  left: 0;
}

.edo-logo-slice-malartan {
  width: 285px;
  justify-self: center;
}

.edo-logo-slice-malartan img {
  left: -113px;
}

.edo-logo-slice-association {
  width: 110px;
  justify-self: end;
}

.edo-logo-slice-association img {
  left: -398px;
}

.edo-history-copy > p:not(.en-small) {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.82;
}

.edo-history-copy > .en-small {
  margin-top: 10px;
}

.identity-note-heading {
  padding-left: 16px;
  border-left: 4px solid var(--red-dark);
}

.identity-note-heading h4 {
  margin-top: 7px;
  color: var(--trust-black);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.identity-note-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.identity-note-copy > p + p {
  margin-top: 8px;
}

.identity-note-copy > .identity-note-summary {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--trust-black);
}

.identity-note-copy > .identity-en {
  color: var(--gold) !important;
  font-size: 11.5px;
  font-weight: 300 !important;
}

.activity-grid,
.join-grid,
.logo-grid {
  gap: 16px;
}

.activity-grid article,
.join-grid article,
.logo-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 5px 16px rgba(23, 25, 22, 0.055);
}

.activity-grid article {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  isolation: isolate;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.activity-index {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  min-width: 42px;
  display: inline-grid;
  place-items: center;
  padding: 7px 9px;
  color: var(--trust-white);
  background: var(--red-dark);
  border: 1px solid var(--gold-accent);
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(23, 25, 22, 0.12);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.activity-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(201, 139, 0, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 25, 22, 0.03) 1px, transparent 1px),
    var(--trust-white);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--line);
}

.activity-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  top: -2px;
  height: 2px;
  pointer-events: none;
  background: var(--gold-accent);
  box-shadow:
    0 0 8px rgba(201, 139, 0, 0.38),
    0 0 18px rgba(143, 29, 33, 0.16);
  opacity: 0;
}

.activity-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  pointer-events: none;
  border-top: 1px solid rgba(201, 139, 0, 0.58);
  border-right: 1px solid rgba(143, 29, 33, 0.30);
  opacity: 0.72;
  clip-path: polygon(72% 0, 100% 0, 100% 28%, 99% 28%, 99% 1%, 72% 1%);
}

.activity-media img {
  width: 72%;
  height: 72%;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms ease;
}

.activity-body {
  min-width: 0;
  padding: 24px 24px 28px;
}

.activity-body h3 {
  color: var(--trust-black);
  font-size: 20px;
  line-height: 1.45;
}

.activity-body .en-small {
  margin-top: 6px;
}

.activity-body > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

.activity-grid article:hover .activity-media img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}

.activity-grid article:hover .activity-index {
  color: var(--trust-black);
  background: var(--gold-light);
  transform: translateY(-1px);
}

.motion-enabled #activities.is-visible .activity-grid article .activity-media::before {
  animation: activity-pictogram-scan 7.5s ease-in-out infinite;
}

.motion-enabled #activities.is-visible .activity-grid article .activity-media img {
  animation: activity-pictogram-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-enabled #activities.is-visible .activity-grid article:nth-child(2) .activity-media img {
  animation-delay: 90ms;
}

.motion-enabled #activities.is-visible .activity-grid article:nth-child(3) .activity-media img {
  animation-delay: 180ms;
}

.motion-enabled #activities.is-visible .activity-grid article:nth-child(4) .activity-media img {
  animation-delay: 270ms;
}

.map-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 30px;
}

.map-section {
  background:
    linear-gradient(90deg, rgba(143, 29, 33, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 25, 22, 0.025) 1px, transparent 1px),
    var(--trust-white);
  background-size: 88px 88px;
}

.map-section .section-heading {
  max-width: 980px;
}

.map-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-summary > div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 13px;
  align-items: baseline;
  padding: 18px 22px;
}

.map-summary > div + div {
  border-left: 1px solid var(--line);
}

.map-summary strong {
  grid-row: 1 / 3;
  color: var(--red-dark);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.map-summary span {
  color: var(--trust-black);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.map-summary small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
}

.map-summary > div:last-child strong {
  color: var(--green-info);
}

.japan-map,
.shop-preview,
.chaos-board {
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--ucda-shadow);
}

.japan-map {
  min-height: 680px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(36, 95, 70, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(36, 95, 70, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201, 68, 59, 0.035), transparent 34%),
    var(--trust-white);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.japan-map::before {
  z-index: 0;
  inset: 72px 18px 46px;
  border: 1px solid rgba(120, 85, 0, 0.24);
  border-radius: 2px;
  pointer-events: none;
}

.japan-map > .japan-map-svg {
  position: relative;
  z-index: 0;
  width: min(72%, 470px);
  height: auto;
  max-height: 590px;
  margin-top: 22px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.78;
  filter:
    grayscale(1)
    contrast(0.82)
    brightness(0.95)
    drop-shadow(0 16px 20px rgba(23, 25, 22, 0.12));
}

.map-toolbar {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  right: 14px;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 9px 8px 13px;
  border: 1px solid rgba(23, 25, 22, 0.16);
  border-bottom: 3px solid var(--gold-accent);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(23, 25, 22, 0.12);
  backdrop-filter: blur(10px);
}

.map-mode {
  min-width: 112px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--trust-black);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.map-mode > span {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border: 2px solid var(--trust-white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 68, 59, 0.18);
  animation: map-status-pulse 2.2s ease-in-out infinite;
}

.map-mode strong {
  font-weight: 700;
}

.map-location-picker {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.map-location-picker > span {
  color: var(--green-info);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.map-location-picker select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 6px 34px 6px 10px;
  border: 1px solid rgba(23, 25, 22, 0.24);
  border-radius: 2px;
  color: var(--trust-black);
  background-color: var(--trust-white);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.map-location-picker select:focus-visible {
  outline: 3px solid var(--trust-black);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--gold-light);
}

#map-reset {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--red-dark);
  border-radius: 2px;
  color: var(--trust-white);
  background: var(--red-dark);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

#map-reset:hover {
  border-color: var(--red);
  background: var(--red);
}

.map-legend {
  position: absolute;
  z-index: 4;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 8px 11px;
  border-left: 3px solid var(--gold-accent);
  color: var(--trust-black);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(23, 25, 22, 0.10);
  font-size: 10px;
  font-weight: 700;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  width: 9px;
  height: 9px;
  display: block;
  border: 2px solid var(--trust-white);
  border-radius: 50%;
  background: var(--red-dark);
  box-shadow: 0 0 0 2px rgba(201, 68, 59, 0.20);
}

.map-legend i.is-selected {
  box-shadow:
    0 0 0 3px rgba(201, 68, 59, 0.24),
    0 0 10px 4px rgba(201, 68, 59, 0.26);
}

.map-source {
  position: absolute;
  z-index: 4;
  right: 15px;
  bottom: 15px;
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.map-source a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.google-malartang-map {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--trust-white);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 360ms ease,
    visibility 0s linear 360ms;
}

.japan-map.is-google-ready .google-malartang-map {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.japan-map > .japan-map-svg,
.japan-map > .map-pins,
.japan-map::before {
  transition:
    opacity 240ms ease,
    visibility 0s linear 240ms;
}

.japan-map.is-google-ready > .japan-map-svg,
.japan-map.is-google-ready > .map-pins,
.japan-map.is-google-ready::before {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.google-map-marker {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  border: 3px solid var(--trust-white);
  border-radius: 50%;
  background: var(--red-dark);
  box-shadow:
    0 0 0 4px rgba(201, 68, 59, 0.20),
    0 4px 14px rgba(23, 25, 22, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.google-map-marker::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(143, 29, 33, 0.32);
  border-radius: 50%;
}

.google-map-marker.is-featured,
.google-map-marker.is-selected {
  transform: scale(1.18);
  box-shadow:
    0 0 0 6px rgba(201, 68, 59, 0.24),
    0 0 22px 8px rgba(201, 68, 59, 0.30),
    0 5px 16px rgba(23, 25, 22, 0.30);
}

.google-malartang-map .gm-style {
  font-family: var(--font-japanese), sans-serif;
}

.map-pins {
  z-index: 3;
}

.land,
.islet {
  fill: var(--trust-white);
  stroke: var(--green-info);
}

.map-pins button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  background: transparent;
  box-shadow: none;
  outline-offset: 8px;
}

.map-pins button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(12px * var(--s));
  height: calc(12px * var(--s));
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 5px rgba(201, 68, 59, 0.16),
    0 0 18px 7px rgba(201, 68, 59, 0.34);
  transform: translate(-50%, -50%);
}

.map-pins button::after {
  inset: 7px;
  border: 2px solid rgba(143, 29, 33, 0.34);
}

.map-pins button:hover,
.map-pins button:focus-visible,
.map-pins button[data-featured="true"] {
  box-shadow: none;
}

.map-pins button:hover::after,
.map-pins button:focus-visible::after,
.map-pins button[data-featured="true"]::after {
  inset: 7px;
  border-color: rgba(143, 29, 33, 0.56);
}

.map-pins button:focus-visible {
  outline: 3px solid var(--trust-black);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--gold-light);
}

.map-pins button:hover::before,
.map-pins button:focus-visible::before {
  box-shadow:
    0 0 0 8px rgba(201, 68, 59, 0.20),
    0 0 24px 11px rgba(201, 68, 59, 0.46);
}

.map-pins button[data-featured="true"] {
  animation: none;
}

.map-pins button[data-featured="true"]::before {
  animation: ucda-pin-pulse 2.4s ease-out infinite;
}

.map-pins button.is-selected::after {
  border-color: var(--red-dark);
}

.map-pins button.is-selected::before {
  animation: ucda-pin-pulse 2.4s ease-out infinite;
  box-shadow:
    0 0 0 8px rgba(201, 68, 59, 0.20),
    0 0 25px 11px rgba(201, 68, 59, 0.46);
}

.map-pins button[data-featured="true"]:not(.is-selected)::before {
  animation: none;
}

.shop-preview {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.2vw, 40px);
  border-top: 4px solid var(--red-dark);
  background:
    linear-gradient(90deg, rgba(120, 85, 0, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 25, 22, 0.025) 1px, transparent 1px),
    var(--trust-white);
  background-size: 48px 48px;
}

.shop-preview::after {
  content: "SELECTED LOCATION";
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(120, 85, 0, 0.62);
  font-size: 8px;
  font-weight: 700;
}

.shop-preview h3 {
  max-width: 14em;
  font-weight: 600;
  line-height: 1.42;
}

.map-notes dt {
  color: var(--green-info);
  font-weight: 700;
}

.map-notes dd {
  color: var(--trust-black);
  font-size: 14px;
  line-height: 1.72;
}

.shop-preview-note {
  padding-left: 14px;
  border-left: 4px solid var(--gold-accent);
  color: var(--muted);
}

@keyframes map-status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(201, 68, 59, 0.16);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(201, 68, 59, 0.05);
  }
}

.axis {
  color: var(--trust-white);
  background: var(--trust-black);
  font-weight: 700;
}

.plot {
  min-height: 36px;
  padding: 8px 12px;
  border-width: 2px;
  font-weight: 600;
}

.logo-card {
  min-height: 150px;
}

.logo-card strong {
  color: var(--trust-black);
  font-weight: 700;
}

.logo-card p:not([lang="en"]) {
  color: var(--green-info);
}

.people-grid {
  margin-top: 30px;
}

.people-grid article {
  min-height: 84px;
  grid-template-columns:
    minmax(112px, 0.17fr)
    minmax(190px, 0.26fr)
    minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 34px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.people-grid article:last-child {
  border-bottom: 1px solid var(--line);
}

.people-grid span {
  color: var(--red-dark);
  font-size: 12.5px;
  font-weight: 700;
}

.people-grid h3 {
  color: var(--trust-black);
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: 600;
}

.people-grid p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 350;
  line-height: 1.78;
}

.role-list {
  column-gap: clamp(22px, 4vw, 52px);
}

.role-list article {
  min-height: 94px;
  grid-template-columns: 1fr;
  gap: 6px;
}

.name-list span {
  min-height: 44px;
  padding: 10px 0;
  color: var(--trust-black);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.62;
}

.student-school {
  color: var(--muted);
  font-size: 0.76em;
  font-weight: 350;
  line-height: inherit;
}

.person-roman {
  display: inline-block;
  margin-left: 0.7em;
  color: rgba(23, 25, 22, 0.5);
  font-family: var(--font-english);
  font-size: 0.58em;
  font-weight: 300;
  line-height: 1.3;
  vertical-align: 0.08em;
  white-space: nowrap;
}

.name-list .person-roman {
  margin-left: 0.55em;
  font-size: 0.76em;
}

.evangelist-name .person-roman {
  margin-right: 0.25em;
}

.executive-grid .person-roman,
.board-grid .person-roman,
.member-category-section[data-category="顧問"] .person-roman,
.member-category-section[data-category="参与"] .person-roman,
.member-category-section[data-category="参事"] .person-roman {
  display: block;
  margin: 4px 0 0;
  font-size: 0.62em;
  line-height: 1.25;
  vertical-align: baseline;
}

/* Align roles and titles to the Japanese-name baseline; readings remain secondary. */
@media (min-width: 761px) {
  .executive-grid article,
  .board-grid article {
    align-items: baseline;
  }

  .executive-grid h3,
  .board-grid h3 {
    display: block;
    min-height: 0;
  }
}

.member-category-section[data-category="顧問"] .role-list article,
.member-category-section[data-category="参与"] .role-list article,
.member-category-section[data-category="参事"] .role-list article {
  grid-template-rows: minmax(48px, auto) 1fr;
  align-content: stretch;
}

.member-category-section[data-category="顧問"] .role-list h3,
.member-category-section[data-category="参与"] .role-list h3,
.member-category-section[data-category="参事"] .role-list h3 {
  display: flex;
  min-height: 48px;
  flex-direction: column;
  justify-content: flex-end;
}

.member-category-section[data-category="顧問"] .role-list p,
.member-category-section[data-category="参与"] .role-list p,
.member-category-section[data-category="参事"] .role-list p {
  align-self: start;
}

.feature-list p {
  min-height: 68px;
  border-left: 4px solid var(--red);
}

.contact {
  color: var(--trust-white);
  background:
    linear-gradient(90deg, rgba(255, 210, 74, 0.075) 1px, transparent 1px),
    var(--red-dark);
}

.contact h2,
.contact p {
  color: var(--trust-white);
}

.contact .eyebrow,
.contact .en-small {
  color: var(--gold-light) !important;
}

.contact-status {
  min-width: 200px;
  justify-content: center;
  color: var(--trust-black) !important;
  border-color: var(--gold-light) !important;
  background: var(--gold-light) !important;
  box-shadow: none !important;
  cursor: default;
}

.site-footer {
  min-height: 88px;
  padding: 28px var(--ucda-inline);
  border-top: 4px solid var(--gold-accent);
}

.site-footer p {
  line-height: 1.65;
}

.back-to-top {
  position: fixed;
  z-index: 30;
  right: max(18px, calc((100vw - 1440px) / 2));
  bottom: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--trust-white);
  background: var(--red-dark);
  border: 2px solid var(--gold-light);
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(23, 25, 22, 0.20);
  font-family: var(--font-english);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--trust-black);
  background: var(--gold-light);
}

@keyframes ucda-pin-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 5px rgba(201, 68, 59, 0.16),
      0 0 18px 7px rgba(201, 68, 59, 0.32);
  }
  50% {
    box-shadow:
      0 0 0 9px rgba(201, 68, 59, 0.10),
      0 0 26px 12px rgba(201, 68, 59, 0.44);
  }
}

html.nav-scrolling .site-header {
  animation: ucda-header-rush 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.nav-scrolling .site-header::after {
  display: block;
  right: auto;
  left: -38%;
  width: 38%;
  height: 3px;
  opacity: 1;
  background: linear-gradient(
    90deg,
    transparent,
    var(--green-info) 22%,
    var(--gold-accent) 54%,
    var(--red) 82%,
    transparent
  );
  animation: ucda-header-speed-line 620ms cubic-bezier(0.22, 1, 0.36, 1)
    infinite;
}

html.nav-scrolling .scroll-progress span {
  transition-duration: 36ms;
}

html.nav-scrolling::after {
  content: "";
  position: fixed;
  z-index: 2001;
  top: 0;
  right: 9px;
  width: 4px;
  height: 26vh;
  min-height: 120px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    var(--green-info) 18%,
    var(--gold-accent) 52%,
    var(--red) 82%,
    transparent
  );
  box-shadow:
    0 0 10px rgba(201, 139, 0, 0.42),
    0 0 18px rgba(201, 68, 59, 0.30);
  animation-duration: var(--nav-flight-duration, 900ms);
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

html.nav-scrolling-down::after {
  animation-name: ucda-page-rush-down;
}

html.nav-scrolling-up::after {
  animation-name: ucda-page-rush-up;
}

.section.nav-arrival {
  animation: ucda-nav-arrival 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ucda-header-rush {
  0% {
    box-shadow: 0 4px 18px rgba(23, 25, 22, 0.06);
  }
  38% {
    box-shadow:
      0 10px 28px rgba(143, 29, 33, 0.18),
      0 3px 0 rgba(214, 154, 0, 0.34);
  }
  100% {
    box-shadow: 0 8px 26px rgba(23, 25, 22, 0.12);
  }
}

@keyframes ucda-page-rush-down {
  from {
    opacity: 0;
    transform: translateY(-110%);
  }
  12% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(390%);
  }
}

@keyframes ucda-page-rush-up {
  from {
    opacity: 0;
    transform: translateY(390%);
  }
  12% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-110%);
  }
}

@keyframes ucda-nav-arrival {
  0% {
    box-shadow: inset 0 0 0 transparent;
  }
  28% {
    box-shadow:
      inset 6px 0 0 var(--red-dark),
      inset 10px 0 0 var(--gold-accent);
  }
  100% {
    box-shadow: inset 0 0 0 transparent;
  }
}

@keyframes ucda-header-speed-line {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(365%);
  }
}

@keyframes ucda-menu-button-pop {
  0% {
    box-shadow: 0 0 0 0 rgba(143, 29, 33, 0);
  }
  48% {
    box-shadow: 0 0 0 5px rgba(143, 29, 33, 0.14);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(143, 29, 33, 0);
  }
}

@keyframes ucda-mobile-nav-reveal {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ucda-mobile-nav-item {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 16px;
  }

  .site-header::after {
    right: 16px;
  }

  .hero-statement-inner {
    padding-inline: clamp(20px, 5vw, 44px);
  }

  .map-layout,
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro::after {
    right: clamp(20px, 5vw, 44px);
    left: clamp(20px, 5vw, 44px);
  }

  .intro .section-heading {
    align-self: start;
  }

  .intro-copy {
    min-height: 0;
  }

  .edo-history {
    grid-template-columns: 1fr;
  }

  .people-grid article {
    grid-template-columns:
      minmax(100px, 0.22fr)
      minmax(170px, 0.30fr)
      minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --ucda-inline: 20px;
  }

  html {
    scroll-padding-top: 94px;
  }

  body {
    font-size: 15.5px;
    line-height: 1.8;
  }

  .site-header {
    top: 0;
    right: 0;
    left: 0;
    min-height: 82px;
    padding: 8px 12px;
  }

  .site-header::after {
    display: none;
  }

  .brand {
    width: calc(100% - 68px);
    max-width: calc(100% - 68px);
    flex-basis: calc(100% - 68px);
    row-gap: 6px;
    column-gap: clamp(10px, 3vw, 14px);
    padding: 4px 0;
  }

  .brand-name {
    display: block;
    align-self: center;
    padding: 7px 12px 7px 2px;
  }

  .brand-type {
    line-height: 1;
    text-align: center;
  }

  .site-nav {
    max-height: calc(100svh - 86px);
    margin-top: 5px;
    padding: 8px 0 10px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--trust-white);
  }

  .site-nav a {
    min-height: 48px;
    justify-content: flex-start;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .site-nav a::after {
    bottom: 0;
  }

  .menu-toggle {
    right: 12px;
    left: auto;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 2px solid var(--line);
    transition:
      color 220ms ease,
      border-color 220ms ease,
      background-color 220ms ease,
      box-shadow 220ms ease,
      transform 160ms ease;
  }

  .menu-toggle span {
    left: 12px;
    width: 20px;
    height: 2px;
    border-radius: 0;
    transition:
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 180ms ease,
      width 260ms ease,
      background-color 220ms ease;
    transform-origin: center;
  }

  .menu-toggle span:nth-child(1) {
    top: 15px;
  }

  .menu-toggle span:nth-child(2) {
    top: 22px;
  }

  .menu-toggle span:nth-child(3) {
    top: 29px;
  }

  .menu-toggle:active {
    transform: translateY(-50%) scale(0.92);
  }

  .site-header.menu-open .menu-toggle {
    color: var(--trust-white);
    border-color: var(--red-dark);
    background: var(--red-dark);
    animation: ucda-menu-button-pop 420ms ease-out;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    width: 24px;
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.18);
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    width: 24px;
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header.menu-open .site-nav {
    animation: ucda-mobile-nav-reveal 340ms cubic-bezier(0.22, 1, 0.36, 1)
      both;
  }

  .site-header.menu-open .site-nav a {
    animation: ucda-mobile-nav-item 320ms cubic-bezier(0.22, 1, 0.36, 1)
      both;
  }

  .site-header.menu-open .site-nav a:nth-child(2) {
    animation-delay: 35ms;
  }

  .site-header.menu-open .site-nav a:nth-child(3) {
    animation-delay: 70ms;
  }

  .site-header.menu-open .site-nav a:nth-child(4) {
    animation-delay: 105ms;
  }

  .site-header.menu-open .site-nav a:nth-child(5) {
    animation-delay: 140ms;
  }

  .hero {
    min-height: 760px;
    padding-top: 108px;
  }

  .hero-image {
    object-position: 37% 48%;
  }

  .edo-history-logo-stacked {
    display: none;
  }

  .edo-history-logo-horizontal {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(23, 25, 22, 0.87) 0%,
        rgba(23, 25, 22, 0.66) 62%,
        rgba(23, 25, 22, 0.19) 100%
      ),
      linear-gradient(0deg, rgba(23, 25, 22, 0.52), transparent 50%);
  }

  .button {
    min-height: 50px;
  }

  .hero-statement-inner {
    padding: 62px 20px 58px;
  }

  .hero-statement-heading p {
    font-size: 27px;
  }

  body main > .section,
  .category-directory > .section {
    padding: 60px 20px;
  }

  .section-heading {
    padding-left: 18px;
  }

  .section-heading::before {
    width: 4px;
  }

  .intro {
    gap: 30px;
  }

  .intro::after {
    right: 20px;
    left: 20px;
  }

  .intro .section-heading {
    padding-top: 24px;
    padding-left: 20px;
  }

  .intro .section-heading::before {
    top: 24px;
    width: 5px;
  }

  .intro .section-heading h2 {
    font-size: clamp(31px, 8.8vw, 40px);
  }

  .intro-copy {
    padding: 30px 24px 32px;
  }

  .intro-copy p {
    font-size: 15.5px;
  }

  h2 {
    font-size: 28px;
    line-height: 1.42;
  }

  .section-lead,
  .intro-copy,
  .story-copy > p:not(.eyebrow, .en-small),
  .identity-copy > p:not(.identity-kicker, .en-small),
  .edo-history-copy > p:not(.en-small),
  .feature-text > p:not(.eyebrow, .en-small),
  .contact p {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .vision-mission-grid article {
    min-height: 0;
    padding: 34px 24px 38px;
  }

  .vision-mission-grid h2 {
    font-size: 28px;
  }

  .vision-mission-grid .vm-value h2 {
    font-size: 28px;
  }

  .activity-grid article {
    min-height: 0;
    padding: 0;
  }

  .activity-media {
    aspect-ratio: 16 / 10;
  }

  .activity-media img {
    width: 58%;
    height: 58%;
  }

  .activity-body {
    padding: 22px 20px 26px;
  }

  .identity-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .identity-layout {
    gap: 22px;
    margin-top: 22px;
  }

  .identity-visual {
    min-height: 340px;
    gap: 18px;
    padding: 46px 18px 22px;
  }

  .identity-mark {
    width: min(198px, 48vw);
  }

  .identity-symbols {
    margin-top: 17px;
  }

  .identity-symbols > div {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .edo-history {
    gap: 20px;
    padding: 25px 20px;
  }

  .identity-note,
  .identity-source {
    margin-top: 0;
  }

  .identity-note {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 20px 18px 22px;
  }

  .japan-map,
  .shop-preview {
    min-height: 500px;
  }

  .map-summary > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 13px 9px;
  }

  .map-summary strong {
    font-size: 22px;
  }

  .map-summary span {
    font-size: 11px;
  }

  .map-summary small {
    font-size: 9px;
  }

  .japan-map {
    min-height: 560px;
  }

  .japan-map::before {
    inset: 120px 10px 44px;
  }

  .japan-map > .japan-map-svg {
    width: min(82%, 360px);
    max-height: 430px;
    margin-top: 72px;
  }

  .map-toolbar {
    top: 10px;
    right: 10px;
    left: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
  }

  .map-mode {
    grid-column: 1 / -1;
    min-width: 0;
    padding: 1px 3px 3px;
  }

  .map-location-picker {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-location-picker > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .map-location-picker select {
    min-height: 40px;
  }

  #map-reset {
    min-height: 40px;
  }

  .map-legend {
    bottom: 10px;
    left: 10px;
    gap: 10px;
    padding: 7px 9px;
  }

  .map-source {
    display: none;
  }

  .shop-preview {
    min-height: 0;
  }

  .people-grid article {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 20px 0;
    overflow: hidden;
  }

  .people-grid article > p {
    width: max-content;
    max-width: none;
    margin-right: 0;
    font-size: 11.5px;
    line-height: 1.65;
    white-space: nowrap;
    overflow-wrap: normal;
    transform: scaleX(var(--mobile-title-scale, 1));
    transform-origin: left center;
  }

  .role-list {
    grid-template-columns: 1fr;
  }

  .name-list-vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }

  .name-list-vertical span {
    padding: 10px 0;
    font-size: 11.5px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .contact {
    gap: 26px;
  }

  .contact-status {
    width: 100%;
  }

  .site-footer {
    padding: 26px 20px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.nav-scrolling::after {
    content: none;
  }

  .section.nav-arrival,
  .back-to-top,
  .skip-link,
  .menu-toggle,
  .menu-toggle span {
    transition: none;
  }

  .section.nav-arrival,
  .map-mode > span,
  .map-pins button[data-featured="true"]::before,
  .map-pins button.is-selected::before,
  html.nav-scrolling .site-header,
  html.nav-scrolling .site-header::after,
  .site-header.menu-open .menu-toggle,
  .site-header.menu-open .site-nav,
  .site-header.menu-open .site-nav a {
    animation: none;
  }
}

.en-small,
.statement-en,
.identity-en,
.feature-list small,
.vision-mission-grid p.en-small,
.section-heading p.en-small,
.intro-copy p.en-small,
.story-copy p.en-small,
.activity-grid p.en-small,
.join-grid p.en-small,
.sponsor-grid p.en-small,
.map-notes p.en-small,
.shop-preview p.en-small,
.feature-text p.en-small,
.contact p.en-small,
.identity-note-copy > .identity-en,
.edo-history .en-small,
.edo-history .identity-en,
.person-roman {
  font-weight: 300 !important;
}

@keyframes activity-pictogram-in {
  0% {
    opacity: 0;
    transform: scale(0.78) rotate(-3deg);
  }
  62% {
    opacity: 1;
    transform: scale(1.04) rotate(0.5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes activity-pictogram-scan {
  0%,
  14% {
    top: -2px;
    opacity: 0;
  }
  20% {
    opacity: 0.72;
  }
  52% {
    top: calc(100% + 2px);
    opacity: 0.42;
  }
  58%,
  100% {
    top: calc(100% + 2px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-enabled #activities.is-visible .activity-grid article .activity-media::before,
  .motion-enabled #activities.is-visible .activity-grid article .activity-media img {
    animation: none;
  }
}
