.site-languages { position: relative; flex: 0 0 auto; align-self: center; color: #eff6f0; }
.site-languages > summary {
  display: flex;
  box-sizing: border-box;
  block-size: 42px;
  min-inline-size: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 10px;
  margin: 0;
  border: 1px solid #496955;
  border-radius: 7px;
  background: #101914;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.25;
  list-style: none;
  white-space: nowrap;
}
.site-languages > summary::-webkit-details-marker { display: none; }
.site-languages > summary::after { content: "⌄"; color: #a3efba; }
.site-languages > ul {
  position: absolute;
  z-index: 30;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  box-sizing: border-box;
  inline-size: min(196px, calc(100vw - 32px));
  max-block-size: min(62vh, 460px);
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid #496955;
  border-radius: 9px;
  background: #152019;
  box-shadow: 0 8px 28px #0006;
}
.site-languages > ul > li { display: block; margin: 0; padding: 0; }
.site-languages > ul > li > a {
  display: flex;
  box-sizing: border-box;
  inline-size: 100%;
  align-items: center;
  min-block-size: 40px;
  padding: 4px 9px;
  border-radius: 5px;
  color: #eff6f0;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.site-languages bdi { overflow-wrap: anywhere; }
.site-languages a:is(:hover, [aria-current]) { background: #1d3427; color: #a3efba; }
.site-languages :is(a, summary):focus-visible { outline: 2px solid #a3efba; outline-offset: 1px; }
.green-home:lang(es) .hero h1 { font-size: clamp(32px, 4.2vw, 62px); }
.green-home:lang(ja) .hero h1 { font-size: clamp(30px, 3.5vw, 50px); }
.green-home:lang(ja) .hero h1 span { word-break: auto-phrase; }
.green-home:is(:lang(es), :lang(ja)) .project-quote .quote-data strong { white-space: normal; }
.green-home:is(:lang(es), :lang(ja)) .home-news { display: none; }

.locale-hub { margin: 0; background: #0a100d; color: #eff6f0; color-scheme: dark; font: 16px/1.65 system-ui, sans-serif; }
.locale-hub * { box-sizing: border-box; }
.locale-frame { width: min(100% - 32px, 1060px); margin-inline: auto; }
.locale-header { border-bottom: 1px solid #2c4033; }
.locale-top { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 14px; }
.locale-nav { display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 0 0 12px; }
.locale-nav a, .locale-brand { display: inline-flex; align-items: center; min-height: 38px; color: #afc0b2; text-decoration: none; }
.locale-brand { color: #eff6f0; font-size: 19px; font-weight: 680; }
.locale-nav a:is(:hover, [aria-current]) { color: #a3efba; }
.locale-main { padding-block: clamp(34px, 7vw, 88px); }
.locale-kicker { color: #a3efba; font-size: 13px; font-weight: 650; letter-spacing: .05em; }
.locale-main h1 { max-width: 23ch; margin: 12px 0; font-size: clamp(29px, 5.5vw, 58px); line-height: 1.18; letter-spacing: -.035em; }
.locale-intro { max-width: 65ch; margin: 0 0 28px; color: #afc0b2; }
.locale-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 26px; }
.locale-card { padding: 18px; border: 1px solid #2c4033; border-radius: 10px; background: #101914; }
.locale-card h2 { margin: 0 0 5px; font-size: 18px; line-height: 1.4; }
.locale-card p { margin: 0 0 8px; color: #afc0b2; }
.locale-card a { display: inline-flex; min-height: 40px; align-items: center; color: #a3efba; }
.locale-cards > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #eff6f0; text-decoration: none; }
.locale-cards > a:hover { border-color: #a3efba; }
.locale-cards > a small { color: #afc0b2; }
.locale-language-note { margin-top: 14px; }
.locale-home .locale-main h1 { max-width: none; font-size: clamp(44px, 8vw, 84px); line-height: 1; }
.locale-home .locale-main h1 span { display: block; max-width: 26ch; margin-top: 12px; color: #a3efba; font-size: clamp(25px, 4.5vw, 48px); line-height: 1.15; overflow-wrap: break-word; }
.locale-state { color: #f0c68c; margin: 14px 0; font-size: 14px; }
.locale-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.locale-action.locale-secondary { background: #101914; color: #eff6f0; border: 1px solid #496955; }
.locale-resources { margin-top: clamp(28px, 5vw, 54px); padding-top: 20px; border-top: 1px solid #2c4033; }
.locale-resources h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.3; }
.locale-footer a { color: #a3efba; }
.locale-action { display: inline-flex; min-height: 44px; align-items: center; padding: 5px 15px; border-radius: 7px; background: #a3efba; color: #102319; font-weight: 650; text-decoration: none; }
.locale-hub a:focus-visible { outline: 2px solid #a3efba; outline-offset: 3px; }
.locale-footer { padding-block: 18px; border-top: 1px solid #2c4033; color: #afc0b2; font-size: 14px; }
.locale-skip { position: fixed; z-index: 50; top: 8px; left: 8px; transform: translateY(-160%); }
.locale-skip:focus { transform: none; }
@media (max-width: 560px) {
  .locale-cards { grid-template-columns: 1fr; }
  .locale-nav { gap: 0 12px; font-size: 14px; }
  .green-home:lang(es) .hero h1 { font-size: clamp(29px, 8vw, 40px); }
  .green-home:lang(ja) .hero h1 { font-size: clamp(25px, 7vw, 38px); }
}
@media (max-width: 350px) {
  .green-home .header-inner { gap: 8px; }
  .green-home .header-actions { gap: 7px; }
  .green-home .brand { font-size: 16px; }
}
