:root {
  --blue: #0047BB;
  --blue-deep: #00308A;
  --green: #007A53;
  --red: #DA291C;
  --grain: #D9DC5C;
  --straw-deep: #7A5C33;
  --paper: #FDFCF8;
  --ink: #17191C;
  --gray: #65686B;
  --rule: #E9E4D8;
  --font-latin: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --shell: 1200px;
  --header-offset: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-latin);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
html[lang="ja"] body {
  font-family: var(--font-ja);
  line-height: 1.9;
  line-break: strict;
  word-break: normal;
  font-feature-settings: "palt" 1;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
ul { list-style: none; }
main[id], main section[id], footer[id], header[id], [id].updates__col {
  scroll-margin-top: var(--header-offset);
}
[tabindex="-1"]:focus { outline: 0; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 600;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

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

.eyebrow {
  display: block;
  font-size: 13px; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
html[lang="ja"] .eyebrow { letter-spacing: .08em; font-weight: 700; }

h2 {
  font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.08;
}
html[lang="ja"] h2 { font-stretch: 100%; font-weight: 900; text-transform: none; letter-spacing: .02em; line-height: 1.3; font-size: clamp(1.5rem, 3vw, 2.2rem); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 650;
  padding: 12px 26px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:is(:hover, :focus-visible) { background: var(--blue-deep); }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:is(:hover, :focus-visible) { background: rgba(0, 71, 187, .07); }
.btn--white { background: #fff; color: var(--green); }
.btn--white:is(:hover, :focus-visible) { background: var(--grain); color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.stats :focus-visible, .newsletter :focus-visible, .footer-main :focus-visible { outline-color: var(--grain); }

/* ---------- institutional band ---------- */

.inst-band {
  background: #fff;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  display: flex; justify-content: center;
}
.inst-band img { width: min(720px, 92vw); height: auto; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 248, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  font-weight: 800; font-stretch: 125%; font-size: 14px; letter-spacing: .04em;
}
html[lang="ja"] .nav__brand { font-stretch: 100%; font-weight: 900; }
.nav__brand img { width: 40px; height: auto; }

.menu-button { display: none; }

.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-panel ul { display: flex; gap: 24px; }
.nav-panel ul a {
  color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 550; white-space: nowrap;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-panel ul a:is(:hover, :focus-visible, .is-active) {
  color: var(--blue);
  border-bottom-color: var(--grain);
}
.nav-panel ul a[aria-current="location"] { font-weight: 750; }

.nav-panel__actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: inline-flex; border: 2px solid var(--blue); border-radius: 999px; overflow: hidden;
}
.lang-toggle button {
  font-family: inherit; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: transparent; color: var(--blue); border: 0;
  padding: 7px 14px; cursor: pointer;
}
.lang-toggle button:is(:hover, :focus-visible) { background: rgba(0, 71, 187, .08); }
.lang-toggle button.is-active { background: var(--blue); color: #fff; }

@media (max-width: 1099px) {
  .nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { background: transparent; border-color: transparent; }
  body.menu-open .nav__brand { color: #fff; }
  .nav__brand, .menu-button { position: relative; z-index: 70; }
  .menu-button {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; align-items: center;
    background: var(--blue); border: 0; border-radius: 12px; cursor: pointer;
  }
  .menu-button span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] { background: #fff; }
  .menu-button[aria-expanded="true"] span { background: var(--blue); }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-panel {
    position: fixed; inset: 0; z-index: 60;
    min-height: 100vh; min-height: 100dvh;
    padding: calc(184px + env(safe-area-inset-top)) 24px calc(36px + env(safe-area-inset-bottom));
    background: var(--blue); color: #fff;
    flex-direction: column; justify-content: flex-start; gap: 32px;
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s ease, opacity .2s ease, visibility .25s ease;
  }
  .nav-panel.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-panel ul { flex-direction: column; align-items: stretch; gap: 0; width: min(100%, 620px); }
  .nav-panel li { border-bottom: 1px solid rgba(255, 255, 255, .25); }
  .nav-panel ul a {
    display: block;
    color: #fff; border: 0;
    padding: 13px 2px;
    font-size: clamp(1.25rem, 5vw, 1.65rem); line-height: 1.2;
    font-weight: 800; font-stretch: 125%; text-transform: uppercase; white-space: normal;
  }
  .nav-panel ul a:is(:hover, :focus-visible, .is-active) {
    color: var(--grain);
    border-bottom-color: transparent;
  }
  html[lang="ja"] .nav-panel ul a { font-stretch: 100%; font-weight: 900; text-transform: none; }
  .nav-panel__actions { flex-direction: column; align-items: flex-start; width: min(100%, 620px); gap: 20px; }
  .nav-panel .lang-toggle { border-color: #fff; }
  .nav-panel .lang-toggle button { color: #fff; }
  .nav-panel .lang-toggle button:is(:hover, :focus-visible) { background: rgba(255, 255, 255, .14); }
  .nav-panel .lang-toggle button.is-active { background: #fff; color: var(--blue); }
  .nav-panel .btn--blue { background: var(--grain); color: var(--ink); }
  .nav-panel .btn--blue:is(:hover, :focus-visible) { background: #fff; }
}

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

.hero--photo {
  position: relative; overflow: clip;
  display: flex; align-items: flex-end;
  min-height: clamp(540px, 78vh, 780px);
  color: #fff;
}
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 42%;
}
.hero--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 22, 58, .82) 0%, rgba(12, 22, 58, .38) 38%, rgba(12, 22, 58, .05) 65%);
}
.hero__content {
  position: relative; z-index: 2; width: 100%;
  padding-top: 140px; padding-bottom: 72px;
}
.hero--photo .eyebrow { color: var(--grain); }
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  line-height: .98; letter-spacing: .01em;
  margin: 10px 0 14px; color: #fff;
  text-wrap: balance;
}
html[lang="ja"] .hero__title { font-stretch: 100%; text-transform: none; letter-spacing: .04em; }
.hero__theme {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 550; font-style: italic;
  margin-bottom: 14px;
}
html[lang="ja"] .hero__theme { font-style: normal; font-weight: 700; }

.hero__dates {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 650; color: #fff;
  margin-bottom: 30px;
}
.tricolore {
  display: inline-flex; width: 27px; height: 18px;
  border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; flex: none;
}
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: #008C45; }
.tricolore i:nth-child(2) { background: #fff; }
.tricolore i:nth-child(3) { background: #CD212A; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero--photo .btn--ghost { border-color: #fff; color: #fff; }
.hero--photo .btn--ghost:is(:hover, :focus-visible) { background: rgba(255, 255, 255, .16); }

/* countdown — flip-card family resemblance to the parent expo site */

.countdown {
  border: 2px solid var(--blue); border-radius: 20px;
  padding: 22px 28px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px;
  background: #fff;
}
.countdown__label {
  font-size: 14px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
}
html[lang="ja"] .countdown__label { letter-spacing: .06em; font-size: 15px; }
.countdown__digits { display: inline-flex; gap: 6px; }
.countdown__digits span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 66px;
  background: var(--blue); color: #fff; border-radius: 10px;
  font-size: 44px; font-weight: 800; font-stretch: 125%;
  font-variant-numeric: tabular-nums;
}
.countdown__unit { font-size: 18px; font-weight: 700; }
.countdown__sub { margin-left: auto; color: var(--gray); font-size: 14px; }

/* ---------- countdown band ---------- */

.countdown-band { background: #fff; padding: 0 0 8px; }
.countdown-band .countdown { margin-top: -44px; position: relative; z-index: 3; }

/* ---------- identity band: draft logo ---------- */

.identity {
  background: #fff url("assets/trame-square.png") right -80px center / 420px auto no-repeat;
  padding: 64px 0;
}
.identity__inner {
  display: flex; align-items: center; gap: clamp(28px, 5vw, 64px);
}
.identity__logo { width: clamp(150px, 16vw, 220px); height: auto; flex: none; }
.identity__text { max-width: 560px; }
.identity__caption {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600; color: var(--ink); line-height: 1.5;
  margin-top: 8px;
}

/* ---------- concept ---------- */

.concept { background: var(--paper); }
.concept__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 64px; align-items: start;
}
.concept__copy h2 { margin-bottom: 24px; }
.concept__copy p + p { margin-top: 16px; }
.concept__quote {
  margin: 28px 0 10px;
  padding-left: 18px; border-left: 4px solid var(--grain);
  color: var(--blue); font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45;
}
.concept__credit { margin-top: 14px; color: var(--gray); font-size: 13.5px; }
.concept__figure img { width: 100%; border-radius: 12px; }
.concept__figure figcaption { margin-top: 12px; color: var(--straw-deep); font-size: 13.5px; }

/* ---------- curves + stats ---------- */

.curve { display: block; width: 100%; height: 72px; }
.stats .curve path { fill: var(--blue); }
.newsletter .curve path { fill: var(--green); }
.curve--top { margin-bottom: -1px; }
.curve--bottom { margin-top: -1px; }

.stats { background: transparent; }
.stats__row {
  background: var(--blue);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 26px 24px 40px;
  max-width: none;
}
.stat { text-align: center; color: #fff; }
.stat__value {
  display: block; white-space: nowrap;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 800; font-stretch: 125%;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
html[lang="ja"] .stat__value { font-size: clamp(1.55rem, 3.4vw, 2.75rem); }
.stat__label {
  display: block; margin-top: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grain);
}
html[lang="ja"] .stat__label { letter-spacing: .06em; }

/* ---------- explore rows ---------- */

.explore .shell { display: grid; gap: 0; }
.explore-row {
  display: grid; grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 32px; align-items: center;
  padding: 26px 8px;
  text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--rule);
  transition: background .15s ease;
}
.explore-row:last-child { border-bottom: 1px solid var(--rule); }
.explore-row figure { overflow: hidden; border-radius: 10px; }
.explore-row img { width: 240px; height: 150px; object-fit: cover; transition: transform .25s ease; }
.explore-row h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin: 2px 0 6px; }
.explore-row p { color: var(--gray); font-size: 15px; }
.explore-row .eyebrow { margin-bottom: 0; font-size: 12px; }
.explore-row__arrow {
  font-size: 26px; color: var(--blue);
  transition: transform .2s ease;
}
.explore-row:is(:hover, :focus-visible) { background: #fff; }
.explore-row:is(:hover, :focus-visible) img { transform: scale(1.04); }
.explore-row:is(:hover, :focus-visible) .explore-row__arrow { transform: translateX(6px); }

/* ---------- programme / news ---------- */

.updates { background: #fff; }
.updates__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 72px;
}
.updates__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px; gap: 16px;
}
.updates__status {
  color: var(--gray);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.event-list li { border-top: 1px solid var(--rule); }
.event-list li:last-child { border-bottom: 1px solid var(--rule); }
.event-list__item {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px;
  padding: 18px 10px;
  color: var(--ink);
}
.event-list__date {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px;
  min-width: 118px;
}
.event-list__date em { font-style: normal; font-size: 11px; color: var(--gray); margin-left: 4px; }
.event-list__title { flex: 1 1 240px; font-size: 15.5px; font-weight: 500; }

.tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); border: 1.5px solid currentColor;
  padding: 3px 10px; border-radius: 6px; white-space: nowrap;
}
.tag--green { color: var(--green); }
.tag--red { color: var(--red); }
html[lang="ja"] .tag { letter-spacing: .02em; }

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

.visit { background: var(--paper); }
.visit h2 { margin-bottom: 36px; }
.visit__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px; align-items: stretch;
}
.visit__facts div { padding: 18px 0; border-top: 1px solid var(--rule); }
.visit__facts div:last-child { border-bottom: 1px solid var(--rule); }
.visit__facts dt { margin-bottom: 6px; }
.visit__facts dd { font-size: 16px; }

.map-card {
  background: var(--green); border-radius: 12px;
  padding: 40px 36px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.map-card img {
  width: 96px; background: #fff; border-radius: 10px; padding: 10px;
  margin-bottom: 6px;
}
.map-card__link {
  color: #fff; font-weight: 750; font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  text-decoration: underline; text-underline-offset: 4px;
}
.map-card__link:is(:hover, :focus-visible) { color: var(--grain); }
.visit__a11y {
  margin-top: 32px; padding: 14px 18px;
  border-left: 4px solid var(--grain);
  background: #fff; border-radius: 0 12px 12px 0;
  font-size: 14px; color: var(--gray);
}

/* ---------- newsletter ---------- */

.newsletter { background: transparent; margin-top: 40px; }
.newsletter__grid {
  background: var(--green); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; align-items: center;
  padding: 30px 24px 64px;
  max-width: none;
}
.newsletter__grid > div { max-width: 560px; margin-left: auto; padding: 0 12px; }
.newsletter__grid h2 { margin-bottom: 10px; }
.newsletter-form {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  max-width: 560px; margin-right: auto; padding: 0 12px;
}
.newsletter-form input {
  flex: 1 1 240px; min-height: 50px;
  font-family: inherit; font-size: 15px;
  border: 0; border-radius: 999px; padding: 0 22px;
  background: #fff; color: var(--ink);
}
.newsletter-form input:focus-visible { outline: 3px solid var(--grain); outline-offset: 2px; }
.newsletter-form #form-message { flex-basis: 100%; font-size: 14px; font-weight: 600; min-height: 1.2em; }
.newsletter-form #form-message.is-error { color: #FFD6D1; }

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

.inst-band--footer { border-top: 1px solid var(--rule); border-bottom: 0; padding: 26px 24px; }
.inst-band--footer img { width: min(640px, 90vw); }

.footer-main { background: var(--blue-deep); color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px; padding-top: 56px; padding-bottom: 40px;
}
.footer-title {
  font-size: 13px; letter-spacing: .14em; font-weight: 750;
  color: var(--grain); margin-bottom: 16px;
}
html[lang="ja"] .footer-title { letter-spacing: .06em; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { color: #fff; text-decoration: none; font-size: 14.5px; }
.footer-grid a:is(:hover, :focus-visible) { color: var(--grain); text-decoration: underline; }
.footer-grid a[aria-current="location"] { color: var(--grain); font-weight: 700; }
ul.footer-social { display: flex; gap: 14px; }
.footer-social li a {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 12px;
}
.footer-social li a:is(:hover, :focus-visible) { border-color: var(--grain); color: var(--grain); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 22px; padding-bottom: 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: 12.5px; color: rgba(255, 255, 255, .78);
}
.footer-note { color: rgba(255, 255, 255, .78); }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .section { padding: 64px 0; }
  .hero--photo { min-height: clamp(480px, 68vh, 640px); }
  .hero__content { padding-top: 120px; padding-bottom: 84px; }
  .identity { background-size: 340px auto; }
  .concept__grid, .updates__grid, .visit__grid { grid-template-columns: 1fr; gap: 40px; }
  .stats__row { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .newsletter__grid { grid-template-columns: 1fr; }
  .newsletter__grid > div, .newsletter-form { margin: 0; max-width: none; }
  .explore-row { grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; }
  .explore-row img { width: 132px; height: 96px; }
  .countdown__sub { margin-left: 0; flex-basis: 100%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 560px) {
  .shell { padding-left: 18px; padding-right: 18px; }
  .section { padding: 56px 0; }
  .hero--photo { min-height: min(78vh, 620px); }
  .hero__content { padding-top: 110px; padding-bottom: 72px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .identity { background: #fff; padding: 48px 0; }
  .identity__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .identity__logo { width: 150px; }
  .countdown { padding: 18px; gap: 12px 14px; }
  .countdown__digits span { min-width: 42px; height: 54px; font-size: 34px; }
  .countdown__label { flex-basis: 100%; }
  .explore-row { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; padding: 20px 0; }
  .explore-row img { width: 84px; height: 72px; }
  .explore-row h2 { font-size: 1.15rem; }
  .explore-row p { font-size: 13px; line-height: 1.45; }
  .inst-band img { width: 100%; }
  html[lang="ja"] .stat__value { font-size: clamp(1.35rem, 6.2vw, 1.7rem); }
  .updates__head { align-items: flex-end; }
  .updates__status { max-width: 46%; text-align: right; white-space: normal; }
  .map-card { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
