/** LPA judicial scrivener website — project design layer. */

:root {
  --weluca-color-text: #171a1b;
  --weluca-color-muted: #62696c;
  --weluca-color-bg: #ffffff;
  --weluca-color-surface: #f4f5f4;
  --weluca-color-border: #dfe3e1;
  --weluca-color-accent: #35d894;
  --weluca-color-accent-contrast: #505754;
  --weluca-wide-width: 1240px;
  --lpa-ink: #111514;
  --lpa-graphite: #343a38;
  --lpa-gray: #737a77;
  --lpa-pale: #f3f5f4;
  --lpa-line: #dfe4e1;
  --lpa-mint: #35d894;
  --lpa-mint-dark: #26d07c;
  --lpa-white: #fff;
  --lpa-wide: 1240px;
  --lpa-narrow: 760px;
  --lpa-edge: clamp(1.25rem, 4vw, 4rem);
  --lpa-section: clamp(5.5rem, 10vw, 9.5rem);
}

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

body {
  color: var(--lpa-ink);
  font-family: "Helvetica Neue", "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
}

body.lpa-menu-open { overflow: hidden; }
a { color: inherit; }

/* Header */
.lpa-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(17, 21, 20, .11);
  backdrop-filter: blur(16px);
}

.lpa-header__inner {
  display: grid;
  grid-template-columns: minmax(240px, auto) 1fr auto;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  width: min(calc(100% - 2 * var(--lpa-edge)), 1440px);
  min-height: 88px;
  margin-inline: auto;
}

.lpa-branding { grid-area: brand; min-width: 0; }
.lpa-header__actions { grid-area: actions; display: flex; align-items: center; gap: 1.5rem; }
.lpa-site-nav { grid-area: nav; justify-self: end; }

.lpa-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: var(--lpa-ink);
  text-decoration: none;
}

.lpa-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 42px;
  color: var(--lpa-ink);
  border: 2px solid currentColor;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.lpa-brand-copy { display: grid; gap: .18rem; min-width: 0; }
.lpa-brand-name { font-size: .96rem; font-weight: 700; letter-spacing: .08em; line-height: 1.25; white-space: nowrap; }
.lpa-brand-tagline { color: var(--lpa-gray); font-family: Arial, sans-serif; font-size: .62rem; letter-spacing: .18em; line-height: 1.2; text-transform: uppercase; }
.lpa-brand .custom-logo { width: auto; max-width: 180px; max-height: 52px; }

.lpa-site-nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.7vw, 1.65rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.lpa-site-nav > ul > li > a {
  position: relative;
  display: block;
  padding-block: 2rem;
  color: var(--lpa-graphite);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
}

.lpa-site-nav > ul > li > a::after {
  position: absolute;
  right: 0;
  bottom: 1.55rem;
  left: 0;
  height: 2px;
  background: var(--lpa-mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.lpa-site-nav > ul > li > a:hover::after,
.lpa-site-nav > ul > li > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.lpa-site-nav > ul > li:last-child > a {
  padding: .75rem 1.15rem;
  color: var(--lpa-white);
  background: var(--lpa-ink);
  border: 1px solid var(--lpa-ink);
}
.lpa-site-nav > ul > li:last-child > a::after { display: none; }
.lpa-site-nav > ul > li:last-child > a:hover { color: var(--lpa-ink); background: var(--lpa-mint); border-color: var(--lpa-mint); }

.lpa-language-switcher { position: relative; font-family: Arial, sans-serif; }
.lpa-language-toggle {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 42px;
  padding: .65rem .75rem .65rem .9rem;
  color: var(--lpa-ink);
  background: rgba(255,255,255,.46);
  border: 1px solid var(--lpa-line);
  border-radius: 0;
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color .25s ease, background-color .25s ease;
}
.lpa-language-toggle:hover,
.lpa-language-toggle:focus-visible,
.lpa-language-toggle[aria-expanded="true"] { background: rgba(255,255,255,.86); border-color: var(--lpa-mint-dark); outline: none; }
.lpa-language-toggle__label { font-size: .61rem; font-weight: 700; letter-spacing: .16em; }
.lpa-language-toggle__current { min-width: 1.65rem; padding-left: .65rem; border-left: 1px solid var(--lpa-line); color: var(--lpa-mint-dark); font-size: .66rem; font-weight: 700; letter-spacing: .08em; }
.lpa-language-toggle__icon { width: 6px; height: 6px; margin: 0 .15rem 3px .05rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .25s ease, margin .25s ease; }
.lpa-language-toggle[aria-expanded="true"] .lpa-language-toggle__icon { margin-top: 5px; margin-bottom: 0; transform: rotate(225deg); }
.lpa-language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  width: 190px;
  padding: .35rem;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--lpa-line);
  box-shadow: 0 18px 42px rgba(74,84,80,.10);
  backdrop-filter: blur(18px);
}
.lpa-language-dropdown[hidden] { display: none; }
.lpa-language-switcher ul { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.lpa-language-switcher a,
.lpa-language-switcher .is-pending {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 42px;
  padding: .6rem .7rem;
  color: var(--lpa-gray);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.lpa-language-switcher a:hover,
.lpa-language-switcher a:focus-visible { color: var(--lpa-ink); background: rgba(53,216,148,.10); outline: none; }
.lpa-language-switcher [aria-current="page"] { color: var(--lpa-ink); background: rgba(53,216,148,.18); }
.lpa-language-switcher .is-pending { opacity: .55; cursor: default; }
.lpa-language-code { min-width: 1.7rem; color: var(--lpa-mint-dark); }
.lpa-language-name { color: var(--lpa-graphite); font-family: inherit; font-size: .7rem; font-weight: 500; letter-spacing: .02em; }
.lpa-language-switcher--mobile { display: none; }
.lpa-menu-toggle { display: none; }

/* Page and block-editor content */
.lpa-front-page .entry-content { overflow: clip; }
.lpa-front-page .entry-content > * { margin-block: 0; }
.lpa-home { margin: 0; }
.lpa-home .wp-block-group,
.lpa-home .wp-block-columns { box-sizing: border-box; }
.lpa-home .wp-block-columns { margin-bottom: 0; }
.lpa-home p { margin-top: 0; }
.lpa-home h1,
.lpa-home h2,
.lpa-home h3 { color: var(--lpa-ink); font-weight: 500; letter-spacing: .015em; }
.entry-content .lpa-home h2,
.entry-content .lpa-home h3 { margin-top: 0; }
.lpa-home .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: .85rem 1.55rem;
  color: var(--lpa-white);
  background: var(--lpa-ink);
  border: 1px solid var(--lpa-ink);
  border-radius: 0;
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.lpa-home .wp-block-button__link:hover { color: var(--lpa-ink); background: var(--lpa-mint); border-color: var(--lpa-mint); transform: translateY(-2px); }
.lpa-home .is-style-outline .wp-block-button__link { color: var(--lpa-ink); background: transparent; border-color: #aeb5b1; }
.lpa-home .is-style-outline .wp-block-button__link:hover { border-color: var(--lpa-ink); background: var(--lpa-white); }

.lpa-section { padding: var(--lpa-section) var(--lpa-edge); }
.lpa-section__inner { width: min(100%, var(--lpa-wide)); margin-inline: auto; }

.lpa-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem !important;
  color: var(--lpa-mint-dark);
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.lpa-eyebrow::before { width: 32px; height: 1px; background: currentColor; content: ""; }

.lpa-section-title {
  max-width: 820px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem) !important;
  font-size: clamp(2rem, 4.2vw, 4.15rem) !important;
  line-height: 1.28 !important;
}

/* Hero */
.lpa-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 88px));
  padding: clamp(4.5rem, 9vw, 8.5rem) var(--lpa-edge) 4.5rem;
  background: var(--lpa-white);
}
.lpa-hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, var(--lpa-mint) 0 16%, var(--lpa-line) 16%); content: ""; }

.lpa-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  width: min(100%, var(--lpa-wide));
  min-height: 560px;
  margin-inline: auto;
}

.lpa-hero__copy { position: relative; z-index: 2; }
.lpa-hero__kicker { margin-bottom: 1.6rem !important; color: var(--lpa-mint-dark); font-size: .76rem; font-weight: 700; letter-spacing: .18em; }
.lpa-hero h1 { max-width: 780px; margin: 0 0 2rem; font-size: clamp(2.7rem, 5.6vw, 6.1rem); font-weight: 450; letter-spacing: -.035em; line-height: 1.1; }
.lpa-hero h1 .lpa-h1-line { display: block; }
.lpa-hero h1 .lpa-h1-accent { position: relative; display: inline-block; }
.lpa-hero h1 .lpa-h1-accent::after { position: absolute; right: 0; bottom: .05em; left: .02em; z-index: -1; height: .17em; background: var(--lpa-mint); content: ""; }
.lpa-hero__lead { max-width: 620px; margin-bottom: 2.1rem !important; color: #4f5653; font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 2; }
.lpa-hero__buttons { gap: .7rem; margin-bottom: 1.25rem; }
.lpa-hero__note { margin-bottom: 0 !important; color: var(--lpa-gray); font-size: .78rem; }

.lpa-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  margin: 0;
  background: linear-gradient(135deg, transparent 0 49.8%, rgba(17,21,20,.08) 50%, transparent 50.2%), var(--lpa-pale);
  isolation: isolate;
}
.lpa-hero-visual::before { position: absolute; top: -32px; right: -32px; width: 170px; height: 170px; border: 1px solid rgba(17,21,20,.14); border-radius: 50%; content: ""; }
.lpa-hero-visual::after { position: absolute; right: 8%; bottom: 8%; width: 90px; height: 90px; background: var(--lpa-mint); content: ""; clip-path: polygon(0 0, 100% 0, 100% 22%, 22% 22%, 22% 100%, 0 100%); }
.lpa-document-card { position: relative; z-index: 1; width: min(78%, 360px); min-height: 430px; padding: clamp(2rem, 4vw, 3.25rem); background: var(--lpa-white); border: 1px solid var(--lpa-line); box-shadow: 28px 32px 0 rgba(17, 21, 20, .055); transform: rotate(-2deg); }
.lpa-document-card__number { margin-bottom: 5.2rem !important; color: var(--lpa-mint-dark); font-family: Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.lpa-document-card__title { margin-bottom: 1.2rem !important; font-family: Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.35; }
.lpa-document-card__text { color: var(--lpa-gray); font-size: .85rem; line-height: 1.9; }
.lpa-document-card .wp-block-separator { width: 44px; margin: 2.3rem 0 0; border: 0; border-top: 3px solid var(--lpa-mint); }

/* Trust ribbon */
.lpa-trust-ribbon { padding: 1.15rem var(--lpa-edge); background: var(--lpa-ink); }
.lpa-trust-ribbon__inner { display: flex; justify-content: center; gap: clamp(1rem, 6vw, 5rem); width: min(100%, var(--lpa-wide)); margin-inline: auto; }
.lpa-trust-ribbon p { position: relative; margin: 0 !important; color: #d9dddb; font-size: .74rem; letter-spacing: .11em; }
.lpa-trust-ribbon p::before { margin-right: .65rem; color: var(--lpa-mint); content: "●"; font-size: .55rem; }

/* Introduction */
.lpa-intro { background: var(--lpa-pale); }
.lpa-intro__grid { align-items: flex-start; gap: clamp(2.5rem, 8vw, 8rem); }
.lpa-intro__title { margin-bottom: 0 !important; font-size: clamp(2.1rem, 3.65vw, 3rem) !important; line-height: 1.25 !important; }
.lpa-intro__body p { color: #4e5552; line-height: 2.15; }
.lpa-intro__body .lpa-big-copy { margin-bottom: 2rem !important; color: var(--lpa-ink); font-size: clamp(1.2rem, 2.3vw, 1.65rem); font-weight: 500; line-height: 1.75; }
.lpa-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: var(--lpa-line); border: 1px solid var(--lpa-line); }
.lpa-stat { padding: 1.4rem; background: var(--lpa-white); }
.lpa-stat__number { margin-bottom: .25rem !important; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; }
.lpa-stat__label { margin-bottom: 0 !important; color: var(--lpa-gray); font-size: .72rem; line-height: 1.55; }

/* Services */
.lpa-services { background: var(--lpa-pale); }
.lpa-services__header { display: grid; grid-template-columns: 1fr .65fr; gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.lpa-services__header .lpa-section-title { margin-bottom: 0 !important; }
.lpa-services__intro { margin-bottom: .55rem !important; color: var(--lpa-gray); line-height: 1.95; }
.lpa-service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: #cfd5d2; border: 1px solid #cfd5d2; }
.lpa-service-card { position: relative; grid-column: span 4; min-height: 300px; padding: clamp(1.6rem, 3vw, 2.7rem); background: var(--lpa-white); transition: background-color .25s ease, transform .25s ease; }
.lpa-service-card:nth-child(4), .lpa-service-card:nth-child(5) { grid-column: span 6; }
.lpa-service-card:hover { z-index: 2; background: #f8f9f8; transform: translateY(-5px); }
.lpa-service-card__index { margin-bottom: 4.2rem !important; color: var(--lpa-mint-dark); font-family: Arial, sans-serif; font-size: .69rem; font-weight: 700; letter-spacing: .16em; }
.entry-content .lpa-service-card h3 { margin-bottom: 1rem; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.lpa-service-card__text { margin-bottom: 0 !important; color: var(--lpa-gray); font-size: .88rem; line-height: 1.9; }

/* International */
.lpa-international { position: relative; color: var(--lpa-white); background: var(--lpa-ink); }
.lpa-international::before { position: absolute; top: 0; right: 12%; width: 1px; height: 100%; background: rgba(255,255,255,.1); content: ""; }
.lpa-international .lpa-eyebrow { color: var(--lpa-mint); }
.lpa-international h2, .lpa-international h3 { color: var(--lpa-white); }
.lpa-international__grid { align-items: flex-start; gap: clamp(3rem, 8vw, 8rem); }
.lpa-international__copy p:not(.lpa-eyebrow) { color: #b9c0bd; line-height: 2.05; }
.lpa-language-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.lpa-language-card { min-height: 150px; padding: 1.6rem; background: var(--lpa-ink); }
.lpa-language-card__code { margin-bottom: 1.65rem !important; color: var(--lpa-mint); font-family: Arial, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .18em; }
.lpa-language-card__name { margin-bottom: 0 !important; color: var(--lpa-white); font-family: Georgia, serif; font-size: 1.2rem; }
.lpa-one-stop { margin-top: 3rem; padding: 1.8rem 2rem; border-left: 3px solid var(--lpa-mint); background: rgba(255,255,255,.05); }
.lpa-one-stop p { margin-bottom: 0 !important; color: #dfe4e1 !important; }

/* Approach */
.lpa-approach { background: var(--lpa-white); }
.lpa-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.lpa-step { position: relative; padding: 2.3rem 0 0; border-top: 1px solid var(--lpa-ink); }
.lpa-step::before { position: absolute; top: -1px; left: 0; width: 32%; height: 3px; background: var(--lpa-mint); content: ""; }
.lpa-step__number { margin-bottom: 3rem !important; color: var(--lpa-mint-dark); font-family: Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.entry-content .lpa-step h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.lpa-step__text { color: var(--lpa-gray); font-size: .9rem; line-height: 1.95; }

/* News */
.lpa-news { background: #edf0ee; }
.lpa-news__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.lpa-news__head .lpa-section-title { margin-bottom: 0 !important; }
.lpa-news__lead { max-width: 430px; margin-bottom: .7rem !important; color: var(--lpa-gray); font-size: .88rem; line-height: 1.8; }
.lpa-news-list { padding: 0; margin: 0; border-top: 1px solid #aeb6b2; list-style: none; }
.lpa-news-list li {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  margin: 0 !important;
  padding: 1.45rem .25rem;
  border-bottom: 1px solid #c9cfcc;
  background: transparent;
  transition:
    background-color .4s ease,
    box-shadow .4s ease,
    transform .4s cubic-bezier(.22, 1, .36, 1);
}
.lpa-news-list li::after {
  color: var(--lpa-mint-dark);
  content: "↗";
  font-size: 1.1rem;
  opacity: .78;
  transition:
    opacity .4s ease,
    transform .4s cubic-bezier(.22, 1, .36, 1);
}
.lpa-news-list a {
  color: var(--lpa-ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    color .4s ease,
    transform .4s cubic-bezier(.22, 1, .36, 1);
}
.lpa-news-list time {
  grid-column: 1;
  grid-row: 1;
  color: var(--lpa-gray);
  font-family: Arial, sans-serif;
  font-size: .76rem;
  letter-spacing: .08em;
  transition: color .4s ease;
}
.lpa-news-list li:hover,
.lpa-news-list li:focus-within {
  background-color: rgba(38, 208, 124, .045);
  box-shadow: 0 12px 32px rgba(38, 208, 124, .055);
  transform: translateY(-2px);
}
.lpa-news-list li:hover a,
.lpa-news-list li:focus-within a {
  transform: translateX(.3rem);
}
.lpa-news-list li:hover time,
.lpa-news-list li:focus-within time {
  color: var(--lpa-graphite);
}
.lpa-news-list li:hover::after,
.lpa-news-list li:focus-within::after {
  opacity: 1;
  transform: translate(.2rem, -.2rem);
}

@media (prefers-reduced-motion: reduce) {
  .lpa-news-list li,
  .lpa-news-list li::after,
  .lpa-news-list a,
  .lpa-news-list time {
    transition: none;
  }

  .lpa-news-list li:hover,
  .lpa-news-list li:focus-within,
  .lpa-news-list li:hover a,
  .lpa-news-list li:focus-within a,
  .lpa-news-list li:hover::after,
  .lpa-news-list li:focus-within::after {
    transform: none;
  }
}

/* Contact */
.lpa-contact { position: relative; overflow: hidden; color: var(--lpa-white); background: #252a28; }
.lpa-contact::after { position: absolute; right: -8vw; bottom: -14vw; width: 38vw; height: 38vw; border: 1px solid var(--lpa-line); border-radius: 50%; content: ""; }
.lpa-contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .75fr; gap: clamp(3rem, 9vw, 9rem); align-items: end; }
.lpa-contact .lpa-eyebrow { color: var(--lpa-mint); }
.lpa-contact h2 { color: var(--lpa-white); }
.lpa-contact__copy { color: #c7cecb; line-height: 2; }
.lpa-contact__aside { padding: 2.2rem; background: var(--lpa-white); }
.lpa-contact__aside p { color: var(--lpa-graphite); }
.lpa-contact__aside .lpa-contact__small { color: var(--lpa-gray); font-size: .78rem; }
.lpa-contact__aside .wp-block-button__link { width: 100%; color: var(--lpa-ink); background: var(--lpa-mint); border-color: var(--lpa-mint); }

/* Footer */
.lpa-footer { color: #c8cecb; background: #0d100f; border-top: 1px solid rgba(255,255,255,.1); }
.lpa-footer__inner { display: flex; justify-content: space-between; gap: 3rem; width: min(calc(100% - 2 * var(--lpa-edge)), var(--lpa-wide)); margin-inline: auto; padding-block: 4.5rem 2.5rem; }
.lpa-footer p { margin-top: 0; }
.lpa-footer__eyebrow { margin-bottom: .8rem; color: var(--lpa-mint); font-family: Arial, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .2em; }
.lpa-footer__name { margin-bottom: .5rem; color: var(--lpa-white); font-size: 1.2rem; font-weight: 600; }
.lpa-footer__note { color: #8e9692; font-size: .78rem; }
.lpa-footer__meta { display: grid; justify-items: end; gap: 1.5rem; }
.lpa-footer nav ul { display: flex; flex-wrap: wrap; justify-content: end; gap: 1rem 1.6rem; padding: 0; margin: 0; list-style: none; }
.lpa-footer nav a { color: #c8cecb; font-size: .76rem; text-decoration: none; }
.lpa-footer nav a:hover { color: var(--lpa-mint); }
.lpa-footer .site-info { margin: 0; color: #777e7b; font-family: Arial, sans-serif; font-size: .68rem; letter-spacing: .06em; }

@media (max-width: 1120px) {
  .lpa-header__inner { grid-template-columns: minmax(210px, auto) 1fr auto; gap: 1rem; }
  .lpa-brand-tagline { display: none; }
  .lpa-site-nav > ul { gap: .9rem; }
  .lpa-site-nav > ul > li > a { font-size: .74rem; }
  .lpa-language-switcher--desktop { display: block; }
  .lpa-language-switcher--desktop .lpa-language-toggle { gap: .35rem; padding-inline: .65rem; }
  .lpa-language-switcher--desktop .lpa-language-toggle__label { display: none; }
  .lpa-language-switcher--desktop .lpa-language-toggle__current { min-width: auto; padding-left: 0; border-left: 0; }
  .lpa-hero__inner { grid-template-columns: 1.05fr .8fr; gap: 3.5rem; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 72px; }
  .lpa-header { backdrop-filter: none; }
  .lpa-header__inner { display: flex; justify-content: space-between; width: min(calc(100% - 2rem), 100%); min-height: 72px; }
  .lpa-brand-mark { width: 48px; height: 35px; font-size: .84rem; }
  .lpa-brand-name { font-size: .82rem; }
  .lpa-language-switcher--desktop { display: none; }
  .lpa-menu-toggle { display: grid; align-content: center; gap: 5px; width: 46px; min-width: 46px; height: 46px; min-height: 46px; padding: 10px; background: transparent; border: 1px solid var(--lpa-line); border-radius: 0; }
  .lpa-menu-toggle span { display: block; width: 100%; height: 1px; background: var(--lpa-ink); transition: transform .25s ease, opacity .2s ease; }
  .lpa-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .lpa-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .lpa-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .lpa-site-nav { position: fixed; top: 72px; right: 0; bottom: 0; left: 0; z-index: 99; display: block; justify-self: stretch; box-sizing: border-box; width: 100%; padding: clamp(2rem, 8vh, 5rem) 1.5rem 3rem; overflow-y: auto; background: rgba(255,255,255,.99); border: 0; border-radius: 0; box-shadow: none; }
  .lpa-site-nav[hidden] { display: none; }
  .lpa-site-nav > ul { display: grid; align-items: stretch; gap: 0; width: min(100%, 520px); margin-inline: auto; border-top: 1px solid var(--lpa-line); }
  .lpa-site-nav > ul > li { border-bottom: 1px solid var(--lpa-line); }
  .lpa-site-nav > ul > li > a { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: .85rem .25rem; font-size: .92rem; }
  .lpa-site-nav > ul > li > a::after { position: static; display: block; width: auto; height: auto; background: none; color: var(--lpa-mint-dark); content: "↗"; transform: none; }
  .lpa-site-nav > ul > li:last-child { margin-top: 1.5rem; border: 0; }
  .lpa-site-nav > ul > li:last-child > a { justify-content: center; min-height: 56px; padding: .8rem 1rem; color: var(--lpa-white); }
  .lpa-language-switcher--mobile { display: block; width: min(100%, 520px); margin: 2.5rem auto 0; }
  .lpa-language-switcher--mobile .lpa-language-toggle { justify-content: space-between; width: 100%; min-height: 54px; padding-inline: 1rem; background: var(--lpa-white); }
  .lpa-language-switcher--mobile .lpa-language-toggle__current { margin-left: auto; }
  .lpa-language-switcher--mobile .lpa-language-dropdown { position: static; width: 100%; box-sizing: border-box; margin-top: 6px; padding: .35rem; box-shadow: none; }
  .lpa-language-switcher--mobile a, .lpa-language-switcher--mobile .is-pending { min-height: 50px; padding: .7rem .85rem; background: var(--lpa-white); }
  .lpa-hero { min-height: auto; padding-top: 4.5rem; }
  .lpa-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .lpa-hero h1 { font-size: clamp(2.65rem, 11vw, 5.1rem); }
  .lpa-hero-visual { min-height: 460px; }
  .lpa-document-card { min-height: 350px; }
  .lpa-document-card__number { margin-bottom: 3.4rem !important; }
  .lpa-trust-ribbon__inner { flex-wrap: wrap; justify-content: flex-start; gap: .6rem 1.3rem; }
  .lpa-intro__grid, .lpa-international__grid { flex-direction: column; gap: 3rem; }
  .lpa-services__header { grid-template-columns: 1fr; }
  .lpa-service-card { grid-column: span 6; }
  .lpa-service-card:last-child { grid-column: span 12; }
  .lpa-steps { grid-template-columns: 1fr; gap: 3rem; }
  .lpa-step__number { margin-bottom: 1.7rem !important; }
  .lpa-news__head { display: grid; }
  .lpa-contact__inner { grid-template-columns: 1fr; }
  .lpa-footer__inner { flex-direction: column; }
  .lpa-footer__meta { justify-items: start; }
  .lpa-footer nav ul { justify-content: start; }
}

/* Restore the former four-language clock as the desktop/tablet hero visual. */
.lpa-front-page .lpa-hero-language-orbit {
  overflow: hidden;
}

.lpa-front-page .lpa-hero-language-orbit::after {
  display: none;
}

.lpa-front-page .lpa-hero-language-orbit .lpa-language-cards {
  --lpa-language-card-size: clamp(132px, 11vw, 156px);
  --lpa-language-orbit-radius: clamp(150px, 16vw, 205px);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.lpa-front-page .lpa-hero-language-orbit .lpa-language-cards::before {
  top: 50%;
  right: auto;
  left: 50%;
  width: calc(2 * var(--lpa-language-orbit-radius));
  transform: translate(-50%, -50%);
}

.lpa-front-page .lpa-hero-language-orbit .lpa-hero-language-card,
.lpa-front-page .lpa-hero-language-orbit .lpa-hero-language-card:visited {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--lpa-language-card-size);
  color: #fff;
  background: #111514;
  border: 1px solid #111514;
  offset-path: circle(var(--lpa-language-orbit-radius) at 50% 50%);
  offset-anchor: 50% 50%;
}

.lpa-front-page .lpa-hero-language-orbit .lpa-language-card__code,
.lpa-front-page .lpa-hero-language-orbit .lpa-language-card__name {
  display: block;
  color: #fff;
}

.lpa-front-page .lpa-hero-language-orbit .lpa-language-card__code {
  margin-bottom: 1.2rem !important;
}

.lpa-front-page .lpa-hero-language-orbit .lpa-hero-language-card:hover,
.lpa-front-page .lpa-hero-language-orbit .lpa-hero-language-card:focus-visible {
  color: #fff;
  background: var(--lpa-graphite);
  border-color: var(--lpa-graphite);
}

@media (min-width: 801px) and (max-width: 1120px) {
  .lpa-front-page .lpa-hero-language-orbit .lpa-language-cards {
    --lpa-language-card-size: clamp(132px, 17vw, 156px);
    --lpa-language-orbit-radius: clamp(150px, 20vw, 180px);
  }
}


@media (max-width: 520px) {
  :root { --lpa-edge: 1.25rem; --lpa-section: 5.3rem; }
  .lpa-brand-copy { max-width: 170px; }
  .lpa-brand-name { overflow: hidden; text-overflow: ellipsis; }
  .lpa-hero { padding-top: 3.7rem; }
  .lpa-hero__kicker { font-size: .68rem; letter-spacing: .13em; }
  .lpa-hero h1 { font-size: clamp(2.4rem, 12.4vw, 3.65rem); line-height: 1.13; }
  .lpa-hero h1 .lpa-h1-line { display: inline; }
  .lpa-hero h1 .lpa-h1-line::after { content: " "; }
  .lpa-hero__buttons { display: grid; }
  .lpa-hero__buttons .wp-block-button, .lpa-hero__buttons .wp-block-button__link { width: 100%; }
  .lpa-hero-visual { min-height: 390px; }
  .lpa-document-card { width: 84%; min-height: 310px; padding: 1.7rem; box-shadow: 18px 20px 0 rgba(17,21,20,.055); }
  .lpa-document-card__number { margin-bottom: 2.6rem !important; }
  .lpa-document-card__title { font-size: 1.5rem; }
  .lpa-trust-ribbon { padding-block: 1.25rem; }
  .lpa-trust-ribbon__inner { display: grid; grid-template-columns: 1fr 1fr; }
  .lpa-trust-ribbon p { font-size: .65rem; }
  .lpa-section-title { font-size: clamp(1.85rem, 10vw, 2.7rem) !important; }
  .lpa-intro__title { font-size: clamp(1.6rem, 7.1vw, 2rem) !important; }
  .lpa-stat-row { grid-template-columns: 1fr; }
  .lpa-service-grid { grid-template-columns: 1fr; }
  .lpa-service-card, .lpa-service-card:nth-child(4), .lpa-service-card:nth-child(5), .lpa-service-card:last-child { grid-column: auto; min-height: 240px; }
  .lpa-service-card__index { margin-bottom: 2.7rem !important; }
  .lpa-language-cards { grid-template-columns: 1fr; }
  .lpa-language-card { min-height: 115px; }
  .lpa-news-list li { grid-template-columns: 1fr auto; gap: .6rem 1rem; }
  .lpa-news-list time { grid-column: 1 / -1; grid-row: auto; }
  .lpa-contact__aside { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lpa-home *, .lpa-header * { transition: none !important; }
}

/* 2026-08-18 refinement: white, spacious, Mincho-led visual system. */
:root {
  --weluca-color-text: #505754;
  --weluca-color-muted: #747b78;
  --weluca-color-accent-contrast: #4f5753;
  --lpa-ink: #505754;
  --lpa-graphite: #626966;
  --lpa-gray: #7b827f;
  --lpa-pale: #f8f9f8;
  --lpa-line: #e5e9e7;
  --lpa-section: clamp(7.5rem, 13vw, 13rem);
}

body,
.lpa-brand-mark,
.lpa-brand-tagline,
.lpa-language-switcher a,
.lpa-language-switcher .is-pending,
.lpa-eyebrow,
.lpa-document-card__number,
.lpa-document-card__title,
.lpa-stat__number,
.lpa-service-card__index,
.lpa-language-card__code,
.lpa-language-card__name,
.lpa-step__number,
.lpa-news-list time,
.lpa-footer__eyebrow,
.lpa-footer .site-info {
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
}

.lpa-header {
  border-bottom-color: rgba(80, 87, 84, .12);
}

.lpa-header__inner { min-height: 100px; }

.lpa-site-nav > ul > li:last-child > a,
.lpa-home .wp-block-button__link {
  color: var(--lpa-ink);
  background: var(--lpa-white);
  border-color: var(--lpa-mint);
}

.lpa-home .wp-block-button__link:hover,
.lpa-home .is-style-outline .wp-block-button__link:hover {
  color: var(--lpa-ink);
  background: #f8f9f8;
  border-color: var(--lpa-mint);
}

.lpa-hero {
  min-height: min(900px, calc(100vh - 100px));
  padding: clamp(6rem, 11vw, 11rem) var(--lpa-edge) clamp(6rem, 10vw, 9rem);
}

.lpa-hero__inner { gap: clamp(4rem, 10vw, 11rem); }
.lpa-hero h1 { letter-spacing: .01em; line-height: 1.28; }
.lpa-hero__lead { line-height: 2.2; }
.lpa-hero-visual { background: linear-gradient(135deg, transparent 0 49.8%, rgba(80,87,84,.08) 50%, transparent 50.2%), var(--lpa-pale); }
.lpa-hero-visual::before { border-color: rgba(80,87,84,.14); }
.lpa-document-card { padding: clamp(2.4rem, 5vw, 4rem); box-shadow: 28px 32px 0 rgba(80,87,84,.045); }
.lpa-document-card__title { line-height: 1.55; }

.lpa-trust-ribbon {
  padding: 2.25rem var(--lpa-edge);
  background: var(--lpa-white);
  border-bottom: 1px solid var(--lpa-line);
}
.lpa-trust-ribbon p { color: var(--lpa-gray); }

.lpa-intro__grid,
.lpa-international__grid { gap: clamp(4rem, 10vw, 10rem); }
.lpa-intro__body p { line-height: 2.3; }

.lpa-services {
  background: var(--lpa-white);
  border-block: 1px solid var(--lpa-line);
}
.lpa-service-grid {
  gap: clamp(1.5rem, 3vw, 3.5rem);
  background: var(--lpa-white);
  border: 0;
}
.lpa-service-card {
  min-height: 350px;
  padding: clamp(2.2rem, 4vw, 3.8rem);
  border: 1px solid var(--lpa-line);
}

.lpa-international {
  color: var(--lpa-ink);
  background: #f7f7f7;
  border-bottom: 1px solid var(--lpa-line);
  padding-block: clamp(4.5rem, 7vw, 5.5rem);
}
.lpa-international::before { background: var(--lpa-line); }
.lpa-international .lpa-eyebrow { color: var(--lpa-mint-dark); }
.lpa-international h2,
.lpa-international h3 { color: var(--lpa-ink); }
.lpa-international__copy p:not(.lpa-eyebrow) { color: var(--lpa-gray); line-height: 2.25; }
.lpa-language-cards {
  gap: clamp(1rem, 2vw, 2rem);
  background: var(--lpa-white);
  border: 0;
}
.lpa-language-card {
  min-height: 170px;
  padding: 2rem;
  background: var(--lpa-white);
  border: 1px solid var(--lpa-line);
}
.lpa-language-card__code { color: var(--lpa-mint-dark); }
.lpa-language-card__name { color: var(--lpa-ink); }
.lpa-one-stop { margin-top: 4rem; padding: 2.3rem 2.5rem; background: var(--lpa-pale); }
.lpa-one-stop p { color: var(--lpa-graphite) !important; }

.lpa-step { padding-top: 3rem; border-top-color: var(--lpa-line); }
.lpa-news { background: var(--lpa-white); border-block: 1px solid var(--lpa-line); }

.lpa-contact {
  color: var(--lpa-ink);
  background: var(--lpa-white);
}
.lpa-contact h2 { color: var(--lpa-ink); }
.lpa-contact__copy { color: var(--lpa-gray); line-height: 2.2; }
.lpa-contact__aside { padding: 3rem; border: 1px solid var(--lpa-line); }

.lpa-footer {
  color: var(--lpa-gray);
  background: var(--lpa-white);
  border-top-color: var(--lpa-line);
}
.lpa-footer__eyebrow { color: var(--lpa-mint-dark); }
.lpa-footer__name { color: var(--lpa-ink); }
.lpa-footer__note,
.lpa-footer nav a,
.lpa-footer .site-info { color: var(--lpa-gray); }

@media (max-width: 800px) {
  .lpa-header__inner { min-height: 72px; }
  .lpa-site-nav > ul > li:last-child > a { color: var(--lpa-ink); }
  .lpa-hero { padding-top: 6rem; }
}

@media (max-width: 520px) {
  :root { --lpa-section: 6.5rem; }
  .lpa-hero { padding-top: 5rem; }
  .lpa-document-card { box-shadow: 18px 20px 0 rgba(80,87,84,.045); }
}

/* Glass header and refined mobile navigation control. */
.lpa-header {
  background-color: rgba(255, 255, 255, .48);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .12));
  border-bottom-color: rgba(255, 255, 255, .68);
  box-shadow: 0 10px 36px rgba(80, 87, 84, .05), inset 0 1px 0 rgba(255, 255, 255, .7);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
}

@media (max-width: 800px) {
  .lpa-menu-toggle {
    position: relative;
    display: block;
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    background: rgba(255, 255, 255, .72);
    border: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--lpa-line);
    backdrop-filter: blur(8px);
  }

  .lpa-menu-toggle span {
    position: absolute;
    left: 14px;
    display: block;
    width: 26px;
    height: 1px;
    background: var(--lpa-graphite);
    transform-origin: center;
    transition: transform .3s ease, opacity .2s ease, width .25s ease, background-color .25s ease;
  }

  .lpa-menu-toggle span:nth-child(1) { top: 18px; }
  .lpa-menu-toggle span:nth-child(2) {
    top: 26px;
    left: 22px;
    width: 18px;
    background: var(--lpa-mint);
  }
  .lpa-menu-toggle span:nth-child(3) { top: 34px; }

  .lpa-menu-toggle:hover,
  .lpa-menu-toggle:focus-visible {
    background: rgba(255, 255, 255, .94);
    box-shadow: inset 0 0 0 1px var(--lpa-mint);
    outline: 0;
  }

  .lpa-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .lpa-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .lpa-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .lpa-site-nav {
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--lpa-line);
  }
}

/* Keep the approved long headline in three intentional lines on laptop widths. */
@media (min-width: 801px) and (max-width: 1399px) {
  .lpa-front-page .lpa-hero h1 {
    font-size: clamp(2.4rem, 3.1vw, 3.1rem) !important;
  }
}

/* Align the contact information square with the contact H2. */
.lpa-contact__inner {
  align-items: start;
}

.lpa-contact__aside {
  align-self: start;
  margin-top: 3.55rem;
}

@media (max-width: 800px) {
  .lpa-contact__aside {
    margin-top: 0;
  }
}

/* News archive */
.lpa-news-archive {
  color: var(--lpa-ink);
  background: var(--lpa-white);
}

.lpa-news-archive__header {
  padding: clamp(7rem, 12vw, 11rem) var(--lpa-edge) clamp(4.5rem, 8vw, 7rem);
}

.lpa-news-archive__header-inner,
.lpa-news-archive__body {
  width: min(100%, var(--lpa-wide));
  margin-inline: auto;
}

.lpa-news-archive__header-inner {
  width: min(100%, 960px);
}

.lpa-news-archive__heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.lpa-news-archive__title {
  margin: 0;
  color: var(--lpa-ink);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 450;
  letter-spacing: .04em;
  line-height: 1.25;
}

.lpa-news-archive__lead {
  margin: 0 0 .5rem;
  color: var(--lpa-gray);
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  line-height: 2.1;
}

.lpa-news-archive__body {
  width: min(calc(100% - 2 * var(--lpa-edge)), 780px);
  padding: 0 0 clamp(7rem, 12vw, 11rem);
}

.lpa-news-archive__list {
  border-top: 1px solid #aeb6b2;
}

.lpa-news-archive__item {
  margin: 0;
  border-bottom: 1px solid var(--lpa-line);
}

.lpa-news-archive__item > a {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
  padding: 1.2rem .25rem;
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition:
    background-color .4s ease,
    box-shadow .4s ease,
    transform .4s cubic-bezier(.22, 1, .36, 1);
}

.lpa-news-archive__item time {
  color: var(--lpa-gray);
  font-size: .78rem;
  letter-spacing: .12em;
  transition: color .4s ease;
}

.lpa-news-archive__item h2 {
  margin: 0;
  color: var(--lpa-graphite);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 450;
  line-height: 1.65;
  transition:
    color .4s ease,
    transform .4s cubic-bezier(.22, 1, .36, 1);
}

.lpa-news-archive__arrow {
  color: var(--lpa-mint-dark);
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  opacity: .78;
  transition:
    opacity .4s ease,
    transform .4s cubic-bezier(.22, 1, .36, 1);
}

.lpa-news-archive__item > a:hover,
.lpa-news-archive__item > a:focus-visible {
  background-color: rgba(38, 208, 124, .045);
  box-shadow: 0 12px 32px rgba(38, 208, 124, .055);
  transform: translateY(-2px);
}

.lpa-news-archive__item > a:hover h2,
.lpa-news-archive__item > a:focus-visible h2 {
  text-decoration: none;
  transform: translateX(.3rem);
}

.lpa-news-archive__item > a:hover time,
.lpa-news-archive__item > a:focus-visible time {
  color: var(--lpa-graphite);
}

.lpa-news-archive__item > a:hover .lpa-news-archive__arrow,
.lpa-news-archive__item > a:focus-visible .lpa-news-archive__arrow {
  opacity: 1;
  transform: translate(.2rem, -.2rem);
}

@media (prefers-reduced-motion: reduce) {
  .lpa-news-archive__item > a,
  .lpa-news-archive__item time,
  .lpa-news-archive__item h2,
  .lpa-news-archive__arrow {
    transition: none;
  }

  .lpa-news-archive__item > a:hover,
  .lpa-news-archive__item > a:focus-visible,
  .lpa-news-archive__item > a:hover h2,
  .lpa-news-archive__item > a:focus-visible h2,
  .lpa-news-archive__item > a:hover .lpa-news-archive__arrow,
  .lpa-news-archive__item > a:focus-visible .lpa-news-archive__arrow {
    transform: none;
  }
}

.lpa-news-archive .navigation.pagination {
  margin-top: 4rem;
}

.lpa-news-archive .nav-links {
  display: flex;
  justify-content: center;
  gap: .65rem;
}

.lpa-news-archive .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  color: var(--lpa-graphite);
  border: 1px solid var(--lpa-line);
  text-decoration: none;
}

.lpa-news-archive .page-numbers.current,
.lpa-news-archive .page-numbers:hover,
.lpa-news-archive .page-numbers:focus-visible {
  border-color: var(--lpa-mint-dark);
}

.lpa-news-archive__empty {
  padding-block: 5rem;
  color: var(--lpa-gray);
}

/* Simple editable heading hierarchy inside news posts. */
.lpa-single-news__content h2 {
  position: relative;
  padding-bottom: 1.2rem;
  color: var(--lpa-ink);
  border-bottom: 1px solid var(--lpa-line);
  font-weight: 450;
}

.lpa-single-news__content h2::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 64px;
  height: 1px;
  background: var(--lpa-mint-dark);
  content: "";
}

.lpa-single-news__content h3 {
  color: var(--lpa-graphite);
  font-weight: 500;
}

.lpa-single-news__content h3::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: .85rem;
  vertical-align: .35em;
  background: var(--lpa-mint);
  content: "";
}

@media (max-width: 800px) {
  .lpa-news-archive__heading-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 520px) {
  .lpa-news-archive__header {
    padding-top: 6rem;
  }

  .lpa-news-archive__heading-row {
    margin-top: 3rem;
  }

  .lpa-news-archive__body {
    padding-inline: 0;
  }

  .lpa-news-archive__item > a {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .8rem 1.25rem;
    min-height: 0;
    padding: 1.15rem .25rem;
  }

  .lpa-news-archive__item time {
    grid-column: 1 / -1;
  }
}

/* Spacious typography pass. */
.lpa-hero h1 {
  max-width: 700px;
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
  font-size: clamp(2.4rem, 4.4vw, 4.75rem);
  line-height: 1.38;
}

.lpa-hero h1 .lpa-h1-accent {
  padding-bottom: .12em;
  text-decoration: none;
}

.lpa-hero h1 .lpa-h1-accent::after {
  right: auto;
  bottom: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: var(--lpa-mint);
  content: "";
}

.lpa-site-nav > ul > li > a::after { height: 1px; }

.lpa-news-list a:hover,
.lpa-news-list a:focus-visible {
  text-decoration: none;
}

/* Single news post */
.lpa-single-news {
  color: var(--lpa-ink);
  background: var(--lpa-white);
}

.lpa-single-news__header {
  padding: clamp(5.25rem, 8vw, 7rem) var(--lpa-edge) clamp(2.75rem, 5vw, 4rem);
  border-bottom: 1px solid var(--lpa-line);
}

.lpa-single-news__header-inner {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.lpa-single-news__header .lpa-eyebrow {
  margin-bottom: clamp(1.1rem, 2vw, 1.5rem) !important;
}

.lpa-single-news__date {
  display: block;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--lpa-gray);
  font-size: .75rem;
  letter-spacing: .14em;
}

.lpa-single-news__title {
  max-width: 920px;
  margin: 0;
  color: var(--lpa-ink);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.4;
}

.lpa-single-news__body {
  width: min(calc(100% - 2 * var(--lpa-edge)), 820px);
  margin-inline: auto;
  padding-block: clamp(3.25rem, 6vw, 5rem);
}

.lpa-single-news__content {
  color: var(--lpa-graphite);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 2.4;
}

.lpa-single-news__content > * + * { margin-top: 2rem; }
.lpa-single-news__content h2 { margin-top: 5rem; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.6; }
.lpa-single-news__content h3 { margin-top: 4rem; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.6; }

.lpa-single-news__back {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: .45rem;
  color: var(--lpa-graphite);
  border-bottom: 1px solid var(--lpa-mint);
  font-size: .82rem;
  letter-spacing: .08em;
  text-decoration: none;
}

.lpa-single-news__back:hover,
.lpa-single-news__back:focus-visible { color: var(--lpa-mint-dark); }

.lpa-single-news__navigation {
  border-block: 1px solid var(--lpa-line);
}

.lpa-single-news__navigation-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(calc(100% - 2 * var(--lpa-edge)), 1120px);
  margin-inline: auto;
}

.lpa-single-news__previous,
.lpa-single-news__next {
  min-height: 190px;
  padding: 3rem 0;
}

.lpa-single-news__next {
  padding-left: clamp(2rem, 6vw, 6rem);
  border-left: 1px solid var(--lpa-line);
  text-align: right;
}

.lpa-single-news__previous { padding-right: clamp(2rem, 6vw, 6rem); }
.lpa-single-news__navigation span { display: block; margin-bottom: 1.5rem; color: var(--lpa-mint-dark); font-size: .65rem; letter-spacing: .18em; }
.lpa-single-news__navigation a { color: var(--lpa-graphite); line-height: 1.8; text-decoration: none; }
.lpa-single-news__navigation a:hover,
.lpa-single-news__navigation a:focus-visible { text-decoration: underline; text-decoration-color: var(--lpa-mint); text-decoration-thickness: 1px; text-underline-offset: .18em; }

@media (max-width: 520px) {
  .lpa-single-news__header {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }
  .lpa-single-news__header .lpa-eyebrow { margin-bottom: 1rem !important; }
  .lpa-single-news__date { margin-bottom: 1.15rem; }
  .lpa-single-news__title { font-size: clamp(1.75rem, 8vw, 2.2rem); line-height: 1.4; }
  .lpa-single-news__body { padding-block: 3rem 4.5rem; }
  .lpa-single-news__navigation-inner { grid-template-columns: 1fr; }
  .lpa-single-news__previous,
  .lpa-single-news__next { min-height: 0; padding: 2.5rem 0; }
  .lpa-single-news__next { border-top: 1px solid var(--lpa-line); border-left: 0; text-align: left; }
}

/* Service carousel on every viewport. */
.lpa-service-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 0 2rem !important;
  color: var(--lpa-gray);
  font-size: .76rem;
  line-height: 1.7;
  letter-spacing: .08em;
}

.lpa-service-swipe-hint span {
  color: var(--lpa-mint-dark);
  font-size: 1.15rem;
}

.lpa-service-grid {
  display: flex;
  gap: clamp(1.25rem, 2.2vw, 2rem);
  width: auto;
  padding: 0 0 2.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--lpa-mint) var(--lpa-pale);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.lpa-service-grid::-webkit-scrollbar { height: 3px; }
.lpa-service-grid::-webkit-scrollbar-track { background: var(--lpa-pale); }
.lpa-service-grid::-webkit-scrollbar-thumb { background: var(--lpa-mint); }

.lpa-service-card,
.lpa-service-card:nth-child(4),
.lpa-service-card:nth-child(5),
.lpa-service-card:last-child {
  flex: 0 0 clamp(350px, 32vw, 400px);
  grid-column: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (max-width: 520px) {
  .lpa-service-grid {
    margin-right: calc(-1 * var(--lpa-edge));
    padding-right: var(--lpa-edge);
  }
  .lpa-service-card,
  .lpa-service-card:nth-child(4),
  .lpa-service-card:nth-child(5),
  .lpa-service-card:last-child { flex-basis: min(82vw, 330px); }
}

.lpa-hero__kicker { margin-bottom: 2.4rem !important; }
.lpa-hero__lead { margin-bottom: 3rem !important; line-height: 2.35; }
.lpa-hero__buttons { gap: 1rem 1.25rem; margin-bottom: 2rem; }
.lpa-hero__buttons .wp-block-button { width: 220px; }
.lpa-hero__buttons .wp-block-button__link { box-sizing: border-box; width: 100%; }
.lpa-hero__note { line-height: 1.9; }

.lpa-section-title {
  margin-bottom: clamp(3.5rem, 7vw, 6rem) !important;
  line-height: 1.42 !important;
}

.lpa-eyebrow { margin-bottom: 2.25rem !important; }
.lpa-intro__body .lpa-big-copy { margin-bottom: 3rem !important; line-height: 1.95; }
.lpa-intro__body p + p { margin-top: 2rem; }
.lpa-stat-row { gap: 1.25rem; margin-top: 4.5rem; background: transparent; border: 0; }
.lpa-stat { min-height: 150px; padding: 2.2rem; border: 1px solid var(--lpa-line); }

.lpa-services__header { margin-bottom: clamp(4.5rem, 8vw, 7.5rem); }
.lpa-services__intro { line-height: 2.2; }
.lpa-service-swipe-hint { display: none; }
.lpa-service-card { min-height: 390px; }
.lpa-service-card__index { margin-bottom: 5rem !important; }
.entry-content .lpa-service-card h3 { margin-bottom: 1.75rem; }
.lpa-service-card__text { line-height: 2.15; }

.lpa-language-card { min-height: 190px; padding: 2.5rem; }
.lpa-language-card__code { margin-bottom: 2.4rem !important; }
.lpa-one-stop {
  margin-top: 5rem;
  padding: 2.5rem 0;
  background: transparent;
  border-top: 1px solid var(--lpa-line);
  border-right: 0;
  border-bottom: 1px solid var(--lpa-line);
  border-left: 0;
}

.lpa-news__head { margin-bottom: 4.5rem; }
.lpa-news-list li { gap: 2rem; padding: 2.25rem .5rem; }
.lpa-contact__inner { gap: clamp(4.5rem, 11vw, 11rem); }
.lpa-contact__aside { padding: clamp(2.5rem, 5vw, 4.5rem); }
.lpa-contact__aside p + p { margin-top: 1.75rem; }
.lpa-footer__inner { padding-block: 6rem 3.5rem; }

@media (max-width: 800px) {
  .lpa-hero h1 {
    max-width: 620px;
    font-size: clamp(2.35rem, 8vw, 3.8rem);
    line-height: 1.4;
  }
  .lpa-hero__inner { gap: 5rem; }
  .lpa-service-card { min-height: 350px; }
}

@media (max-width: 520px) {
  .lpa-hero h1 {
    font-size: clamp(2.05rem, 9.3vw, 2.8rem);
    line-height: 1.5;
  }
  .lpa-hero__kicker { margin-bottom: 2rem !important; }
  .lpa-hero__lead { margin-bottom: 2.5rem !important; }
  .lpa-hero__buttons .wp-block-button { width: 100%; }
  .lpa-section-title { line-height: 1.5 !important; }
  .lpa-stat-row { gap: 1rem; }
  .lpa-stat { min-height: 130px; padding: 2rem; }
  .lpa-service-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0 0 1.5rem !important;
    color: var(--lpa-gray);
    font-size: .76rem;
    line-height: 1.7;
    letter-spacing: .08em;
  }
  .lpa-service-swipe-hint span {
    color: var(--lpa-mint-dark);
    font-size: 1.15rem;
  }
  .lpa-service-grid {
    display: flex;
    gap: 1rem;
    width: auto;
    margin-right: calc(-1 * var(--lpa-edge));
    padding: 0 var(--lpa-edge) 2rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--lpa-mint) var(--lpa-pale);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .lpa-service-grid::-webkit-scrollbar { height: 3px; }
  .lpa-service-grid::-webkit-scrollbar-track { background: var(--lpa-pale); }
  .lpa-service-grid::-webkit-scrollbar-thumb { background: var(--lpa-mint); }
  .lpa-service-card,
  .lpa-service-card:nth-child(4),
  .lpa-service-card:nth-child(5),
  .lpa-service-card:last-child {
    flex: 0 0 min(82vw, 330px);
    min-height: 360px;
    padding: 2.4rem 2rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .lpa-service-card__index { margin-bottom: 3.5rem !important; }
  .lpa-language-card { min-height: 145px; padding: 2rem; }
  .lpa-news-list li { padding-block: 2rem; }
}

/* Keep the compact information modules geometrically consistent. */
.lpa-stat,
.lpa-language-card,
.lpa-contact__aside {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.lpa-stat,
.lpa-language-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lpa-stat__label,
.lpa-language-card__name {
  word-break: keep-all;
  overflow-wrap: normal;
}

.lpa-contact__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 520px) {
  .lpa-language-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .lpa-language-card {
    min-height: 0;
    padding: 1.25rem;
  }

  .lpa-language-card__code {
    margin-bottom: 1.25rem !important;
    font-size: .62rem;
  }

  .lpa-language-card__name {
    font-size: clamp(.9rem, 4.5vw, 1.05rem);
  }

  .lpa-stat {
    min-height: 0;
    padding: 1.5rem;
  }

  .lpa-contact__aside {
    min-height: 0;
    padding: 2rem;
  }
}

/* Continuous service carousel on desktop and mobile. */
.lpa-service-grid.is-auto-scrolling {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.lpa-service-grid.is-auto-scrolling .lpa-service-card {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

@media (prefers-reduced-motion: reduce) {
  .lpa-service-grid.is-auto-scrolling {
    scroll-snap-type: x mandatory;
  }

  .lpa-service-grid.is-auto-scrolling .lpa-service-card {
    scroll-snap-align: start;
  }
}

/* Language selector: a half-visible clock orbit. */
.lpa-language-cards {
  --lpa-language-card-size: clamp(140px, 12vw, 156px);
  --lpa-language-orbit-radius: clamp(160px, 16vw, 190px);
  position: relative;
  display: block;
  width: 100%;
  height: clamp(460px, 43vw, 540px);
  overflow: hidden;
  isolation: isolate;
}

.lpa-language-cards::before {
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--lpa-language-orbit-radius));
  box-sizing: border-box;
  width: calc(2 * var(--lpa-language-orbit-radius));
  aspect-ratio: 1 / 1;
  border: 1px solid var(--lpa-line);
  border-radius: 50%;
  transform: translateY(-50%);
  content: "";
  pointer-events: none;
}

.lpa-language-card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: var(--lpa-language-card-size);
  min-height: 0;
  padding: clamp(1.25rem, 2.2vw, 2rem);
  offset-path: circle(var(--lpa-language-orbit-radius) at 100% 50%);
  offset-rotate: 0deg;
  animation: lpa-language-clock 32s linear infinite;
  will-change: offset-distance;
}

a.lpa-language-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.lpa-language-card:focus-visible {
  outline: 1px solid var(--lpa-mint-dark);
  outline-offset: -1px;
}

.lpa-language-card:nth-child(1) { animation-delay: 0s; }
.lpa-language-card:nth-child(2) { animation-delay: -8s; }
.lpa-language-card:nth-child(3) { animation-delay: -16s; }
.lpa-language-card:nth-child(4) { animation-delay: -24s; }

@keyframes lpa-language-clock {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

@media (max-width: 520px) {
  .lpa-language-cards {
    --lpa-language-card-size: clamp(112px, 34vw, 136px);
    --lpa-language-orbit-radius: clamp(134px, 42vw, 164px);
    display: block;
    height: 470px;
  }

  .lpa-language-card {
    width: var(--lpa-language-card-size);
    min-height: 0;
    padding: 1rem;
  }

  .lpa-language-card__code {
    margin-bottom: 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lpa-language-card {
    animation-play-state: paused;
  }
}

/* Keep the hero message in two intentional semantic lines. */
.lpa-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.lpa-hero h1 .lpa-h1-line {
  display: block;
}

.lpa-hero h1 .lpa-h1-line:first-child {
  white-space: nowrap;
}

.lpa-hero h1 .lpa-h1-line::after {
  content: none;
}

@media (max-width: 800px) {
  .lpa-hero h1 {
    font-size: clamp(1.38rem, 6vw, 3.2rem);
    line-height: 1.45;
  }
}

/* Let the language clock disappear exactly at the viewport edge. */
.lpa-language-cards {
  --lpa-language-bleed: max(
    var(--lpa-edge),
    calc((100vw - var(--lpa-wide)) / 2)
  );
  width: calc(100% + var(--lpa-language-bleed));
  margin-right: calc(-1 * var(--lpa-language-bleed));
}

/* Compact footer with navigation and copyright anchored bottom-right. */
.lpa-footer__inner {
  align-items: flex-end;
  padding-block: clamp(2.75rem, 4vw, 3.5rem) 2rem;
}

.lpa-footer__meta {
  align-self: flex-end;
  justify-items: end;
  gap: .85rem;
  text-align: right;
}

.lpa-footer nav ul {
  justify-content: flex-end;
}

.lpa-footer .lpa-language-switcher--footer {
  justify-self: end;
  width: max-content;
}

.lpa-footer .lpa-language-switcher--footer .lpa-language-toggle {
  min-height: 40px;
  background: rgba(255,255,255,.72);
}

.lpa-footer .lpa-language-switcher--footer .lpa-language-dropdown {
  top: auto;
  right: 0;
  bottom: calc(100% + 8px);
}

.lpa-footer .lpa-language-switcher--footer ul {
  display: grid;
  justify-content: stretch;
  gap: 0;
}

.lpa-footer .lpa-language-switcher--footer a,
.lpa-footer .lpa-language-switcher--footer .is-pending {
  color: var(--lpa-gray);
  font-size: .66rem;
}

.lpa-footer .lpa-language-switcher--footer a:hover,
.lpa-footer .lpa-language-switcher--footer a:focus-visible {
  color: var(--lpa-ink);
}

.lpa-footer__logo {
  display: inline-flex;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.lpa-footer__logo-image {
  display: block;
  width: auto;
  max-width: 120px;
  max-height: 58px;
}

@media (max-width: 800px) {
  .lpa-site-nav {
    bottom: auto;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }

  .lpa-footer__inner {
    gap: 2.5rem;
    padding-block: 3rem 2rem;
  }

  .lpa-footer__meta {
    width: 100%;
    align-self: stretch;
    justify-items: end;
  }

  .lpa-footer .lpa-language-switcher--footer {
    justify-self: end;
  }

  .lpa-footer nav ul {
    justify-content: flex-end;
  }
}

/* Refine the mobile header: a smaller mark with calmer edge spacing. */
@media (max-width: 800px) {
  .lpa-header__inner {
    width: min(calc(100% - 3rem), 100%);
  }

  .lpa-brand {
    gap: .7rem;
  }

  .lpa-brand .custom-logo {
    max-width: 88px;
    max-height: 40px;
  }

  .lpa-brand-name {
    font-size: .78rem;
    letter-spacing: .035em;
  }
}

@media (max-width: 350px) {
  .lpa-header__inner {
    width: min(calc(100% - 2rem), 100%);
  }

  .lpa-brand {
    gap: .55rem;
  }

  .lpa-brand .custom-logo {
    max-width: 78px;
    max-height: 36px;
  }

  .lpa-brand-name {
    font-size: .72rem;
  }
}

/* Keep the logo and close control above a vertically centered mobile menu. */
@media (max-width: 800px) {
  .lpa-header__inner,
  .lpa-branding,
  .lpa-header__actions {
    position: relative;
    z-index: 101;
  }

  .lpa-site-nav {
    top: 72px;
    bottom: auto;
    display: flex;
    flex-direction: column;
    justify-content: safe center;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }

  .lpa-site-nav[hidden] {
    display: none;
  }
}

@media (max-width: 782px) {
  body.admin-bar .lpa-site-nav {
    top: 118px;
    height: calc(100vh - 118px);
    height: calc(100dvh - 118px);
  }
}

@media (min-width: 783px) and (max-width: 800px) {
  body.admin-bar .lpa-site-nav {
    top: 104px;
    height: calc(100vh - 104px);
    height: calc(100dvh - 104px);
  }
}

/* Lift the centered menu group to remove the oversized gap below the logo. */
@media (max-width: 800px) {
  .lpa-site-nav > ul,
  .lpa-site-nav > .lpa-language-switcher--mobile {
    transform: translateY(clamp(-11rem, -20vh, -8rem));
  }
}

@media (max-width: 800px) and (max-height: 640px) {
  .lpa-site-nav > ul,
  .lpa-site-nav > .lpa-language-switcher--mobile {
    transform: translateY(-2rem);
  }
}

/* Treat the moving language cards as a quiet background layer on mobile. */
@media (max-width: 800px) {
  .lpa-front-page .lpa-international .lpa-language-card {
    background: rgba(255, 255, 255, .58);
    border-color: rgba(80, 87, 84, .16);
    box-shadow: 0 18px 42px rgba(80, 87, 84, .035);
    opacity: .38;
    filter: blur(.45px);
    transition:
      opacity .3s ease,
      filter .3s ease,
      background-color .3s ease,
      box-shadow .3s ease;
  }

  .lpa-front-page .lpa-international .lpa-language-card:hover,
  .lpa-front-page .lpa-international .lpa-language-card:focus-visible,
  .lpa-front-page .lpa-international .lpa-language-card:active {
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 42px rgba(80, 87, 84, .08);
    opacity: .9;
    filter: none;
  }
}

/* Keep the services heading in two balanced lines on phones. */
@media (max-width: 520px) {
  .lpa-front-page .lpa-services__header .lpa-section-title {
    font-size: clamp(1.38rem, 6.7vw, 1.68rem) !important;
    line-height: 1.5 !important;
  }
}

/* Keep each phrase of the international heading on one line. */
@media (max-width: 520px) {
  .lpa-front-page .lpa-international__copy .lpa-section-title {
    font-size: clamp(1.85rem, 9.45vw, 2.3rem) !important;
    line-height: 1.5 !important;
  }
}

/* Bring the mobile news archive list into the first screen sooner. */
@media (max-width: 520px) {
  .lpa-news-archive__header {
    padding: 3rem var(--lpa-edge) 2.5rem;
  }

  .lpa-news-archive__heading-row {
    gap: 1.5rem;
    margin-top: 2rem;
  }
}

/* Client-site building image used as a mobile-only, editor-managed FV cover. */
@media (min-width: 801px) {
  .lpa-front-page .lpa-hero-mobile-cover {
    display: none;
  }
}

@media (max-width: 800px) {
  .lpa-front-page .lpa-hero {
    overflow: hidden;
    isolation: isolate;
  }

  .lpa-front-page .lpa-hero-mobile-cover {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
  }

  .lpa-front-page .lpa-hero-mobile-cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.91) 54%, rgba(255,255,255,.84) 100%);
    content: "";
  }

  .lpa-front-page .lpa-hero-mobile-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
  }

  .lpa-front-page .lpa-hero__copy {
    position: relative;
    z-index: 2;
  }

  .lpa-front-page .lpa-hero-visual {
    display: none;
  }
}

/* Keep the mobile glass header without trapping the fixed menu inside it. */
@media (max-width: 800px) {
  .lpa-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .lpa-header::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255,255,255,.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.84);
    backdrop-filter: blur(26px) saturate(140%);
    -webkit-backdrop-filter: blur(26px) saturate(140%);
    content: "";
    pointer-events: none;
  }

  .lpa-header__inner {
    position: relative;
    z-index: 1;
  }

  .lpa-site-nav {
    top: 72px;
    bottom: 0;
    height: auto;
  }
}

/* Tighter section rhythm for tablet and mobile without losing whitespace. */
@media (max-width: 800px) {
  :root {
    --lpa-section: 4.75rem;
  }

  .lpa-footer__brand {
    display: grid;
    justify-items: center;
    width: 100%;
    text-align: center;
  }

  .lpa-footer__logo {
    justify-self: center;
    margin-bottom: 1.4rem;
  }
}

@media (max-width: 520px) {
  :root {
    --lpa-section: 4.25rem;
  }
}

/* Compact the home-page news list on mobile. */
@media (max-width: 800px) {
  .lpa-front-page .lpa-news__head {
    gap: 1.4rem;
    margin-bottom: 2.5rem;
  }

  .lpa-front-page .lpa-news-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title arrow"
      "date date";
    gap: .65rem 1rem;
    padding: 1.35rem .25rem;
  }

  .lpa-front-page .lpa-news-list a {
    grid-area: title;
    align-self: center;
  }

  .lpa-front-page .lpa-news-list time {
    grid-area: date;
  }

  .lpa-front-page .lpa-news-list li::after {
    grid-area: arrow;
    align-self: center;
  }
}

/* Overlay the mobile language clock on the international copy. */
@media (max-width: 800px) {
  .lpa-front-page .lpa-international {
    overflow: hidden;
  }

  .lpa-front-page .lpa-international__grid {
    position: relative;
    display: block;
  }

  .lpa-front-page .lpa-international__copy {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: clamp(27rem, 116vw, 34rem);
    padding-right: clamp(1rem, 8vw, 3.25rem);
  }

  .lpa-front-page .lpa-international__grid > .wp-block-column:last-child {
    position: absolute;
    inset: 0;
    z-index: 1;
    margin: 0;
    pointer-events: none;
  }

  .lpa-front-page .lpa-language-cards {
    position: absolute;
    inset: 0 calc(-1 * (var(--lpa-edge) + clamp(3.25rem, 16vw, 5rem))) 0 auto;
    width: calc(100% + var(--lpa-edge));
    height: 100%;
    margin: 0;
    overflow: hidden;
  }

  .lpa-front-page a.lpa-language-card {
    pointer-events: auto;
  }
}

/* Center the footer controls as one balanced group on mobile. */
@media (max-width: 800px) {
  .lpa-footer__meta {
    align-self: stretch;
    justify-items: center;
    text-align: center;
  }

  .lpa-footer nav {
    width: 100%;
  }

  .lpa-footer nav ul {
    justify-content: center;
  }

  .lpa-footer .lpa-language-switcher--footer {
    justify-self: center;
  }

  .lpa-footer .site-info {
    text-align: center;
  }
}

/* A compact, fine-lined mobile navigation panel. */
@media (max-width: 800px) {
  .lpa-site-nav {
    padding: 1.15rem 1.5rem 1.75rem;
  }

  .lpa-site-nav > ul > li > a {
    box-sizing: border-box;
    min-height: 48px;
    padding: .55rem .25rem;
    font-size: .82rem;
    letter-spacing: .07em;
  }

  .lpa-site-nav > ul > li:last-child {
    margin-top: .8rem;
  }

  .lpa-site-nav > ul > li:last-child > a {
    min-height: 44px;
    padding: .5rem 1rem;
    background: rgba(255, 255, 255, .72);
    font-size: .8rem;
    letter-spacing: .1em;
  }

  .lpa-language-switcher--mobile {
    margin-top: 1rem;
  }

  .lpa-language-switcher--mobile .lpa-language-toggle {
    min-height: 44px;
    padding: .5rem .85rem;
  }

  .lpa-language-switcher--mobile a,
  .lpa-language-switcher--mobile .is-pending {
    min-height: 44px;
    padding: .55rem .75rem;
  }
}

/* Final mobile menu position: vertically centered as one group. */
@media (max-width: 800px) {
  .lpa-site-nav {
    justify-content: center;
  }

  .lpa-site-nav > ul,
  .lpa-site-nav > .lpa-language-switcher--mobile {
    transform: none;
  }
}

/* Japanese office overview page — block-managed content. */
.lpa-office-shell,
.lpa-office-entry,
.lpa-office-entry > .entry-content,
.lpa-office-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.lpa-office-entry > .entry-content { padding: 0; }
.lpa-office-page {
  color: var(--lpa-graphite);
  background: var(--lpa-white);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
}

.lpa-office-page p { line-height: 2.05; }
.lpa-office-page .lpa-office-inner {
  width: min(calc(100% - 2 * var(--lpa-edge)), var(--lpa-wide));
  max-width: none;
  margin-inline: auto;
}

.lpa-office-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2.2rem !important;
  color: var(--lpa-mint-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
}

.lpa-office-label::before {
  width: 38px;
  height: 1px;
  background: var(--lpa-mint-dark);
  content: "";
}

.lpa-office-heading {
  margin: 0 !important;
  color: var(--lpa-graphite);
  font-size: clamp(2.15rem, 4.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.55;
}

.lpa-office-hero {
  position: relative;
  min-height: clamp(520px, 70vh, 760px);
  padding-block: clamp(8rem, 14vw, 13rem) clamp(6rem, 10vw, 9rem);
  overflow: hidden;
  border-bottom: 1px solid var(--lpa-line);
}

.lpa-office-hero::before,
.lpa-office-hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.lpa-office-hero::before {
  top: 14%;
  right: -12vw;
  width: clamp(330px, 40vw, 660px);
  aspect-ratio: 1;
  border: 1px solid var(--lpa-line);
  border-radius: 50%;
}

.lpa-office-hero::after {
  right: 12%;
  bottom: 0;
  width: 1px;
  height: 42%;
  background: var(--lpa-line);
}

.lpa-office-hero__columns {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  gap: clamp(3rem, 8vw, 8rem);
}

@media (min-width: 901px) {
  .lpa-office-hero__columns > .wp-block-column:first-child {
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    flex-basis: auto !important;
    min-width: 0;
  }

  .lpa-office-hero__columns > .wp-block-column:last-child {
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: clamp(220px, 22vw, 280px) !important;
  }
}

.lpa-office-hero__title {
  margin: 0 0 2rem !important;
  color: var(--lpa-graphite);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.2;
}

.lpa-office-hero__lead {
  max-width: 760px;
  margin: 0 !important;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  letter-spacing: .07em;
  line-height: 1.9 !important;
}

.lpa-office-hero__index {
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 1px solid var(--lpa-line);
}

.lpa-office-hero__index p {
  margin: 0 !important;
  color: var(--lpa-gray);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .7rem;
  letter-spacing: .16em;
  line-height: 2.4;
}

.lpa-office-overview { padding-block: var(--lpa-section); }
.lpa-office-overview__columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: none;
  gap: clamp(3rem, 8vw, 8rem);
}

.lpa-office-overview__columns > .wp-block-column:first-child {
  width: 100%;
  max-width: none;
}

.lpa-office-prose {
  width: 100%;
  max-width: 760px;
  margin-inline: auto !important;
}

@media (min-width: 901px) {
  .lpa-office-overview__columns .lpa-office-heading {
    white-space: nowrap;
  }
}

.lpa-office-prose p { margin: 0 0 1.7rem !important; }

.lpa-office-scope {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  border-top: 1px solid var(--lpa-line);
  border-bottom: 1px solid var(--lpa-line);
  list-style: none;
}

.lpa-office-scope li {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 1.5rem;
  color: var(--lpa-gray);
  font-size: .86rem;
  letter-spacing: .05em;
  text-align: center;
}

.lpa-office-scope li + li { border-left: 1px solid var(--lpa-line); }
.lpa-office-scope li::before {
  width: 5px;
  height: 5px;
  margin-bottom: .7rem;
  background: var(--lpa-mint-dark);
  border-radius: 50%;
  content: "";
}

.lpa-office-professionals {
  padding-block: var(--lpa-section);
  background: #f7f7f7;
  border-block: 1px solid var(--lpa-line);
}

.lpa-office-section-head {
  width: 100%;
  max-width: none;
  margin-bottom: clamp(4.5rem, 9vw, 8rem);
}
.lpa-office-section-lead {
  max-width: 840px;
  margin: 2.5rem 0 0 auto !important;
  color: var(--lpa-gray);
}

.lpa-office-person {
  width: 100%;
  max-width: none;
  padding-block: clamp(3rem, 6vw, 5.5rem);
  border-top: 1px solid var(--lpa-line);
}

.lpa-office-person:last-child { border-bottom: 1px solid var(--lpa-line); }
.lpa-office-person__columns {
  width: 100%;
  max-width: none;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.lpa-office-person.is-reverse .lpa-office-person__columns > .wp-block-column:first-child { order: 2; }
.lpa-office-person.is-reverse .lpa-office-person__columns > .wp-block-column:last-child { order: 1; }
.lpa-office-person__figure {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  padding: clamp(1rem, 2.4vw, 1.8rem) clamp(1rem, 2.6vw, 2rem) clamp(1.25rem, 3vw, 2.4rem) clamp(1.25rem, 3vw, 2.4rem);
  margin: 0 !important;
}

.lpa-office-person__figure::before {
  position: absolute;
  inset: 0 clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem) 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(53,216,148,.08), rgba(255,255,255,0) 58%),
    rgba(255,255,255,.72);
  border: 1px solid var(--lpa-line);
  content: "";
}

.lpa-office-person__figure::after {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 42%;
  height: 34%;
  border-right: 1px solid var(--lpa-mint-dark);
  border-bottom: 1px solid var(--lpa-mint-dark);
  content: "";
}

.lpa-office-person__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(.78) contrast(.95);
  background: #fff;
  border: 1px solid rgba(105,113,110,.12);
  box-shadow: 0 24px 60px rgba(55,65,61,.08);
  transition: filter .45s ease, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}

@media (hover: hover) {
  .lpa-office-person__figure:hover img {
    filter: saturate(.9) contrast(.98);
    transform: translate3d(.35rem, -.35rem, 0);
    box-shadow: 0 30px 72px rgba(55,65,61,.12);
  }
}

.lpa-office-person__number,
.lpa-office-person__message-label {
  margin: 0 0 1rem !important;
  color: var(--lpa-mint-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.lpa-office-person__name {
  margin: 0 !important;
  color: var(--lpa-graphite);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: .08em;
}

.lpa-office-person__reading {
  margin: .65rem 0 0 !important;
  color: var(--lpa-mint-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.4 !important;
}

.lpa-office-person__role { margin: .55rem 0 1.5rem !important; color: var(--lpa-gray); font-size: .78rem; letter-spacing: .14em; }
.lpa-office-person__languages {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 0 0 2.2rem;
  list-style: none;
}

.lpa-office-person__languages li {
  padding: .5rem .8rem;
  border: 1px solid var(--lpa-line);
  color: var(--lpa-gray);
  font-size: .72rem;
  letter-spacing: .05em;
}

.lpa-office-person__body > p:not([class]) { margin: 0 0 1.35rem !important; color: var(--lpa-gray); }
.lpa-office-person__message {
  max-width: none;
  padding-top: 1.8rem;
  margin-top: 2.2rem;
  border-top: 1px solid var(--lpa-mint-dark);
}
.lpa-office-person__message p:last-child { margin: 0 !important; }

.lpa-office-access {
  position: relative;
  padding-block: var(--lpa-section);
  overflow: hidden;
}

.lpa-office-access::after {
  position: absolute;
  right: -8vw;
  bottom: -20vw;
  width: clamp(360px, 48vw, 740px);
  aspect-ratio: 1;
  border: 1px solid var(--lpa-line);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.lpa-office-access__columns {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  gap: clamp(3rem, 8vw, 8rem);
}
.lpa-office-access p { color: var(--lpa-gray); }
.lpa-office-access__buttons { gap: .75rem; margin-top: 2.4rem; }
.lpa-office-button .wp-block-button__link {
  min-width: 220px;
  padding: 1rem 1.4rem;
  color: var(--lpa-graphite);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--lpa-line);
  border-radius: 0;
  font-size: .8rem;
  text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease;
}

.lpa-office-button .wp-block-button__link:hover,
.lpa-office-button .wp-block-button__link:focus-visible { background: var(--lpa-white); border-color: var(--lpa-mint-dark); }
.lpa-office-access__card {
  aspect-ratio: 1;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--lpa-line);
}

.lpa-office-access__number { margin: 0 0 1.1rem !important; color: var(--lpa-mint-dark) !important; font-family: Georgia, "Times New Roman", serif; font-size: .7rem; letter-spacing: .18em; }
.lpa-office-access__map {
  width: 100%;
  height: clamp(170px, 18vw, 230px);
  margin-bottom: .85rem;
  overflow: hidden;
  border: 1px solid var(--lpa-line);
}
.lpa-office-access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
}
.lpa-office-access__address {
  margin: 0 0 .65rem !important;
  color: var(--lpa-graphite) !important;
  font-size: clamp(.68rem, 1.1vw, .8rem);
  line-height: 1.75 !important;
  white-space: nowrap;
}
.lpa-office-access__card > p:not(.lpa-office-access__number):not(.lpa-office-access__address):not(.lpa-office-access__station) { margin: 0 !important; font-size: clamp(.68rem, 1.1vw, .8rem); line-height: 1.75; }
.lpa-office-access__station { padding-top: .75rem; margin-top: .75rem !important; border-top: 1px solid var(--lpa-line); font-size: .68rem; }

.lpa-office-map {
  position: relative;
  z-index: 1;
  width: min(100%, 600px);
  max-width: 600px;
  aspect-ratio: 1;
  box-sizing: border-box;
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-inline: auto;
  overflow: hidden;
  background: var(--lpa-offwhite);
  border: 1px solid var(--lpa-line);
}

.lpa-office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
}

@media (max-width: 900px) {
  .lpa-office-hero { min-height: 0; }
  .lpa-office-hero__columns,
  .lpa-office-overview__columns,
  .lpa-office-person__columns,
  .lpa-office-access__columns { display: grid; grid-template-columns: 1fr; }
  .lpa-office-hero__index { max-width: 420px; padding-left: 1.25rem; }
  .lpa-office-overview__columns { gap: 3.5rem; }
  .lpa-office-scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lpa-office-scope li:nth-child(3) { border-left: 0; border-top: 1px solid var(--lpa-line); }
  .lpa-office-scope li:nth-child(4) { border-top: 1px solid var(--lpa-line); }
  .lpa-office-person.is-reverse .lpa-office-person__columns > .wp-block-column:first-child,
  .lpa-office-person.is-reverse .lpa-office-person__columns > .wp-block-column:last-child { order: initial; }
  .lpa-office-person__figure { max-width: 520px; }
  .lpa-office-access__card { max-width: 560px; }
}

@media (max-width: 800px) {
  .lpa-office-hero__title { font-size: clamp(1.38rem, 6vw, 3.2rem); }
  .lpa-office-person__figure { pointer-events: none; }
  .lpa-office-person__figure img {
    transform: none !important;
    transition: none !important;
    user-select: none;
    -webkit-user-drag: none;
  }
}

@media (max-width: 600px) {
  .lpa-office-label { margin-bottom: 1.5rem !important; font-size: .64rem; }
  .lpa-office-heading { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .lpa-office-hero { padding-block: 6.5rem 5rem; }
  .lpa-office-hero::before { top: 30%; right: -48%; }
  .lpa-office-hero__columns { gap: 3.5rem; }
  .lpa-office-hero__title { margin-bottom: 1.5rem !important; }
  .lpa-office-hero__lead { font-size: 1.1rem; }
  .lpa-office-overview,
  .lpa-office-professionals,
  .lpa-office-access { padding-block: 5rem; }
  .lpa-office-scope { margin-top: 3.5rem; }
  .lpa-office-scope li { min-height: 105px; padding: 1.1rem .8rem; font-size: .73rem; }
  .lpa-office-section-head { margin-bottom: 3.5rem; }
  .lpa-office-section-lead { margin-top: 1.8rem !important; }
  .lpa-office-person { padding-block: 3rem; }
  .lpa-office-person__columns { gap: 2.2rem; }
  .lpa-office-person__figure {
    width: min(100%, 430px);
    max-width: none;
    box-sizing: border-box;
    padding: .85rem 1.15rem 1.5rem .95rem;
    margin-inline: auto !important;
  }
  .lpa-office-person__figure::before { inset: 0 2.4rem 2rem 0; }
  .lpa-office-person__figure::after { width: 38%; height: 28%; }
  .lpa-office-person__figure img { aspect-ratio: 5 / 6; }
  .lpa-office-person__name { font-size: 2.2rem; }
  .lpa-office-person__reading { font-size: .62rem; letter-spacing: .16em; }
  .lpa-office-access__buttons { display: grid; }
  .lpa-office-button,
  .lpa-office-button .wp-block-button__link { width: 100%; min-width: 0; }
  .lpa-office-access__card { aspect-ratio: auto; padding: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lpa-office-person__figure img { transition: none; }
  .lpa-office-person__figure:hover img { transform: none; }
}

@media (max-width: 800px) and (max-height: 640px) {
  .lpa-site-nav {
    justify-content: flex-start;
  }
}

/* Client specification: group collaboration and consultation guidance. */
.lpa-group {
  background: var(--lpa-pale);
}

.lpa-group__lead {
  max-width: none;
  margin-bottom: clamp(3rem, 6vw, 5rem) !important;
  color: var(--lpa-gray);
  line-height: 2.15;
}

.lpa-group__grid {
  gap: 0;
  border-top: 1px solid var(--lpa-line);
  border-bottom: 1px solid var(--lpa-line);
}

.lpa-group__item {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.lpa-group__item + .lpa-group__item {
  border-left: 1px solid var(--lpa-line);
}

.lpa-group__index {
  color: var(--lpa-mint-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.lpa-group__item h3 {
  margin-block: 1.6rem 1rem;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 450;
}

.lpa-group__item p:last-child {
  margin-bottom: 0;
  color: var(--lpa-gray);
  line-height: 2;
}

.lpa-consultation {
  background: var(--lpa-white);
}

.lpa-consultation__inner {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.lpa-consultation .lpa-section-title {
  font-size: clamp(2rem, 3.6vw, 2.7rem) !important;
}

.lpa-consultation__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--lpa-line);
}

.lpa-consultation__list li {
  position: relative;
  margin: 0;
  padding: 1.35rem 0 1.35rem 2rem;
  border-bottom: 1px solid var(--lpa-line);
  color: var(--lpa-graphite);
  line-height: 1.85;
}

.lpa-consultation__list li::before {
  position: absolute;
  top: 2.05rem;
  left: .25rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lpa-mint);
  content: "";
}

/* Editable Contact Form 7 form, kept quiet and fine-lined. */
.lpa-contact-form {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: auto !important;
}

.lpa-contact-form .wpcf7-form > p {
  margin: 0;
}

.lpa-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.lpa-contact-form label {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--lpa-graphite);
  font-size: .84rem;
  letter-spacing: .05em;
}

.lpa-form-required,
.lpa-form-optional {
  margin-left: .45rem;
  color: var(--lpa-mint-dark);
  font-size: .68rem;
}

.lpa-form-optional {
  color: var(--lpa-gray);
}

.lpa-contact-form input[type="text"],
.lpa-contact-form input[type="email"],
.lpa-contact-form input[type="tel"],
.lpa-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: .55rem;
  padding: .75rem .15rem;
  color: var(--lpa-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--lpa-line);
  border-radius: 0;
  font: inherit;
}

.lpa-contact-form textarea {
  min-height: 130px;
  border: 1px solid var(--lpa-line);
  padding: .8rem;
  resize: vertical;
}

.lpa-contact-form input:focus,
.lpa-contact-form textarea:focus {
  border-color: var(--lpa-gray);
  outline: 0;
  box-shadow: none;
}

.lpa-contact-form .wpcf7-acceptance label {
  display: flex;
  gap: .6rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.lpa-privacy-box {
  box-sizing: border-box;
  max-height: 240px;
  margin: .4rem 0 1.4rem;
  padding: 1.35rem 1.5rem;
  overflow-y: auto;
  color: var(--lpa-gray);
  background: rgba(255,255,255,.6);
  border: 1px solid var(--lpa-line);
  scrollbar-color: var(--lpa-mint-dark) var(--lpa-offwhite);
  scrollbar-width: thin;
}

.lpa-privacy-box:focus {
  outline: 1px solid var(--lpa-mint-dark);
  outline-offset: 2px;
}

.lpa-privacy-box h3 {
  margin: 1.35rem 0 .45rem;
  color: var(--lpa-graphite);
  font-size: .83rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.lpa-privacy-box h3:first-of-type { margin-top: 1rem; }
.lpa-privacy-box p,
.lpa-privacy-box li {
  margin: 0;
  font-size: .73rem;
  line-height: 1.9;
}
.lpa-privacy-box ul { margin: .35rem 0 0 1.2rem; padding: 0; }

.lpa-contact-form input[type="submit"] {
  width: 100%;
  padding: 1rem 1.5rem;
  color: var(--lpa-ink);
  background: var(--lpa-white);
  border: 1px solid var(--lpa-mint-dark);
  border-radius: 0;
  font-family: inherit;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}

.lpa-contact-form input[type="submit"]:hover,
.lpa-contact-form input[type="submit"]:focus-visible {
  color: var(--lpa-white);
  background: var(--lpa-mint-dark);
}

.lpa-contact-form .wpcf7-response-output {
  margin: 1.25rem 0 0 !important;
  padding: .8rem 1rem !important;
  border-width: 1px !important;
  font-size: .8rem;
}

.lpa-contact-form .wp-block-separator {
  margin-block: 2.2rem 1.6rem;
}

.lpa-contact__office {
  font-size: .82rem;
  line-height: 1.9;
}

/* Use the full content width for the editable form and forthcoming policy box. */
.lpa-contact {
  padding-block: clamp(5rem, 8vw, 7rem);
}

.lpa-contact__inner {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 5vw, 4.5rem);
}

.lpa-contact__inner > .wp-block-group:first-child {
  max-width: 900px;
}

.lpa-contact__inner > .wp-block-group:first-child .lpa-eyebrow {
  margin-bottom: 1.5rem !important;
}

.lpa-contact__inner > .wp-block-group:first-child .lpa-section-title {
  margin-bottom: 2.5rem !important;
}

.lpa-contact__aside {
  display: block;
  margin-top: 0;
  padding: clamp(2rem, 4vw, 3rem);
}

.lpa-contact-form textarea {
  height: clamp(145px, 13vw, 175px);
  min-height: 145px;
}

@media (min-width: 1001px) {
  .lpa-contact-form .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }

  .lpa-contact-form .lpa-form-grid {
    display: contents;
  }

  .lpa-contact-form .lpa-form-grid > p {
    margin: 0;
  }

  .lpa-contact-form .wpcf7-form > fieldset,
  .lpa-contact-form .wpcf7-form > p,
  .lpa-contact-form .wpcf7-response-output {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .lpa-group__grid,
  .lpa-consultation__inner,
  .lpa-form-grid {
    grid-template-columns: 1fr;
  }

  .lpa-group__item {
    padding: 2rem 0;
  }

  .lpa-group__item + .lpa-group__item {
    border-top: 1px solid var(--lpa-line);
    border-left: 0;
  }

  .lpa-consultation__inner {
    gap: 2.5rem;
  }

  .lpa-consultation__list li {
    padding-block: 1.1rem;
  }

  .lpa-consultation__list li::before {
    top: 1.85rem;
  }
}

/* 2026-08-24: online consultation and four-step process. */
.lpa-online {
  position: relative;
  overflow: hidden;
  background: var(--lpa-pale);
  border-block: 1px solid var(--lpa-line);
}

.lpa-online::after {
  position: absolute;
  right: -12vw;
  bottom: -24vw;
  width: clamp(360px, 44vw, 760px);
  aspect-ratio: 1;
  border: 1px solid var(--lpa-line);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.lpa-online__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.lpa-online__signal {
  position: relative;
  display: flex;
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  flex-direction: column;
  justify-content: flex-start;
  background: transparent;
  border: 0;
}

.lpa-online__signal::before {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(54px, 5vw, 80px);
  height: 1px;
  background: var(--lpa-mint-dark);
  content: "";
}

.lpa-online__monogram {
  margin: auto 0 !important;
  color: var(--lpa-line);
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.lpa-online__caption {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0 !important;
  color: var(--lpa-gray);
  font-size: .7rem;
  letter-spacing: .18em;
}

.lpa-online__signal .lpa-eyebrow {
  margin-bottom: 0 !important;
}

.lpa-online__steps {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--lpa-line);
}

.lpa-online__step {
  display: grid;
  grid-template-columns: 2.75rem minmax(145px, .72fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin: 0;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--lpa-line);
}

.lpa-online__step-number,
.lpa-online__step-title,
.lpa-online__step-text {
  margin: 0 !important;
}

.lpa-online__step-number {
  color: var(--lpa-mint-dark);
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .14em;
}

.lpa-online__step-title {
  color: var(--lpa-ink);
  font-size: clamp(.98rem, 1.25vw, 1.15rem);
  font-weight: 450;
  line-height: 1.7;
}

.lpa-online__step-text {
  color: var(--lpa-gray);
  font-size: .78rem;
  line-height: 1.9;
}

.lpa-online__content {
  align-self: center;
  max-width: 760px;
}

.lpa-online__content .lpa-section-title {
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
}

.lpa-online__content > p:not(.lpa-eyebrow) {
  color: var(--lpa-gray);
  line-height: 2.25;
}

.lpa-online__audience {
  display: grid;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 2.5rem;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-block: 1px solid var(--lpa-line);
}

.lpa-online__audience li {
  margin: 0;
  padding: 1.4rem 1rem 1.4rem 1.5rem;
  color: var(--lpa-graphite);
  font-size: .82rem;
  line-height: 1.7;
}

.lpa-online__audience li + li {
  border-left: 1px solid var(--lpa-line);
}

.lpa-online__audience li::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: .65rem;
  border-radius: 50%;
  background: var(--lpa-mint);
  vertical-align: middle;
  content: "";
}

.lpa-online__button .wp-block-button,
.lpa-online__button .wp-block-button__link {
  width: 100%;
}

.lpa-online__button .wp-block-button__link {
  box-sizing: border-box;
  max-width: 390px;
}

.lpa-process {
  background: var(--lpa-white);
}

.lpa-process__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.lpa-process__lead {
  max-width: 520px;
  margin-bottom: clamp(3.5rem, 7vw, 6rem) !important;
  color: var(--lpa-gray);
  line-height: 2.2;
}

.lpa-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--lpa-line);
  border-bottom: 1px solid var(--lpa-line);
}

.lpa-process__step {
  position: relative;
  min-height: 300px;
  padding: clamp(2rem, 3vw, 3.25rem) clamp(1.3rem, 2.4vw, 2.5rem);
}

.lpa-process__step + .lpa-process__step {
  border-left: 1px solid var(--lpa-line);
}

.lpa-process__number {
  margin: 0 0 clamp(3rem, 6vw, 5rem) !important;
  color: var(--lpa-mint-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.lpa-process__step h3 {
  margin: 0 0 1.3rem;
  color: var(--lpa-ink);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 450;
  line-height: 1.65;
}

.lpa-process__step p:last-child {
  margin: 0;
  color: var(--lpa-gray);
  font-size: .84rem;
  line-height: 2;
}

@media (max-width: 1100px) {
  .lpa-online__grid {
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    gap: 4rem;
  }

  .lpa-online__audience {
    grid-template-columns: 1fr;
  }

  .lpa-online__audience li + li {
    border-top: 1px solid var(--lpa-line);
    border-left: 0;
  }

  .lpa-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lpa-process__step:nth-child(3) {
    border-left: 0;
  }

  .lpa-process__step:nth-child(n + 3) {
    border-top: 1px solid var(--lpa-line);
  }
}

@media (max-width: 800px) {
  .lpa-consultation .lpa-section-title,
  .lpa-online__content .lpa-section-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem) !important;
  }

  .lpa-online__grid,
  .lpa-process__header {
    grid-template-columns: 1fr;
  }

  .lpa-online__signal {
    min-height: 0;
    padding: 0;
  }

  .lpa-online__steps {
    margin-top: 2.5rem;
  }

  .lpa-online__step {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: .35rem .75rem;
    padding: 1rem 0;
  }

  .lpa-online__step-text {
    grid-column: 2;
  }

  .lpa-online__content {
    max-width: none;
  }

  .lpa-process__header {
    gap: 1rem;
  }

  .lpa-process__lead {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 520px) {
  .lpa-online,
  .lpa-process {
    padding-block: 4.5rem;
  }

  .lpa-online__grid {
    gap: 2.5rem;
  }

  .lpa-online__signal {
    min-height: 0;
    padding: 0;
  }

  .lpa-online__monogram {
    font-size: 3.5rem;
  }

  .lpa-online__audience {
    margin-block: 1.75rem;
  }

  .lpa-online__audience li {
    padding-block: .9rem;
  }

  .lpa-online .lpa-section-title,
  .lpa-process .lpa-section-title {
    margin-bottom: 2.5rem !important;
  }

  .lpa-online__button .wp-block-button__link {
    max-width: none;
    padding-inline: 1rem;
    font-size: .78rem;
  }

  .lpa-process__steps {
    grid-template-columns: 1fr;
  }

  .lpa-process__header {
    gap: 0;
    margin-bottom: 3rem;
  }

  .lpa-process__step,
  .lpa-process__step:nth-child(3) {
    min-height: 0;
    padding: 1.35rem .25rem 1.55rem;
    border-top: 1px solid var(--lpa-line);
    border-left: 0;
  }

  .lpa-process__step:first-child {
    border-top: 0;
  }

  .lpa-process__number {
    margin-bottom: 1rem !important;
  }

  .lpa-process__step h3 {
    margin-bottom: .75rem;
  }

  .lpa-process__step p:last-child {
    line-height: 1.8;
  }
}

/* Contact: use a 60/40 desktop split and align the compact form right. */
@media (min-width: 801px) {
  .lpa-contact__inner {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: clamp(2.5rem, 5vw, 5.5rem);
    align-items: start;
  }

  .lpa-contact__inner > .wp-block-group:first-child {
    max-width: none;
  }
}

/* 2026-08-24: compact contact form and keep the Japanese lead to two lines. */
@media (min-width: 801px) {
  html:lang(ja) .lpa-contact__inner .lpa-section-title {
    white-space: nowrap;
    font-size: clamp(2.15rem, 3vw, 3.15rem) !important;
    line-height: 1.45;
    letter-spacing: .015em;
  }

  .lpa-contact__aside {
    justify-self: end;
    max-width: 520px;
    padding-block: clamp(1.5rem, 2.35vw, 2.25rem);
    padding-inline: clamp(2rem, 3vw, 3rem);
  }

  .lpa-contact-form input[type="submit"] {
    display: block;
    width: min(100%, 240px);
    margin-inline: auto;
  }
}

.lpa-contact-form label {
  margin-bottom: .8rem;
}

.lpa-contact-form input[type="text"],
.lpa-contact-form input[type="email"],
.lpa-contact-form input[type="tel"],
.lpa-contact-form textarea {
  margin-top: .35rem;
  padding-block: .55rem;
}

.lpa-contact-form textarea {
  height: 96px;
  min-height: 96px;
  padding: .7rem;
}

.lpa-contact-form .wpcf7-form > .lpa-privacy-box {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  height: 72px;
  min-height: 72px;
  max-height: none;
  margin: .15rem 0 .8rem;
  padding: .6rem .8rem;
  overflow: auto;
  resize: vertical;
}

.lpa-contact-form .lpa-privacy-guide {
  grid-column: 1 / -1;
  margin: .15rem 0 .45rem !important;
  color: var(--lpa-gray);
  font-size: .72rem;
  line-height: 1.7;
  letter-spacing: .04em;
}

.lpa-contact-form .lpa-privacy-guide::before {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin-right: .55rem;
  vertical-align: middle;
  background: var(--lpa-mint-dark);
  content: "";
}

.lpa-contact-form .lpa-privacy-box::-webkit-scrollbar {
  width: 8px;
}

.lpa-contact-form .lpa-privacy-box::-webkit-scrollbar-track {
  background: var(--lpa-offwhite);
}

.lpa-contact-form .lpa-privacy-box::-webkit-scrollbar-thumb {
  background: var(--lpa-mint-dark);
  border: 2px solid var(--lpa-offwhite);
}

.lpa-contact-form .wpcf7-acceptance label {
  margin-bottom: .8rem;
}

.lpa-contact-form input[type="submit"] {
  padding: .78rem 1.25rem;
}

.lpa-contact__small {
  margin-top: .85rem !important;
}

@media (min-width: 1001px) {
  .lpa-contact {
    overflow: clip;
  }

  /* Keep the section at its natural content height. */
  .lpa-contact__inner {
    align-items: start;
  }

  /* Quiet counterpoint in the open lower-left area of the contact section. */
  .lpa-contact::before {
    position: absolute;
    bottom: clamp(-250px, -13vw, -150px);
    left: clamp(-190px, -9vw, -110px);
    width: clamp(380px, 30vw, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(from 18deg, var(--lpa-mint-dark) 0 8deg, var(--lpa-line) 8deg 360deg);
    content: "";
    opacity: .68;
    pointer-events: none;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 0);
  }

  .lpa-contact__aside {
    position: relative;
    top: auto;
    z-index: 2;
  }

  .lpa-contact-form .wpcf7-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem 1rem;
  }

  /* Name/company share the first row; email occupies the full second row. */
  .lpa-contact-form .lpa-form-grid > :nth-child(3),
  .lpa-contact-form .lpa-form-grid + .lpa-form-grid > * {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .lpa-contact__aside {
    padding: .9rem;
  }

  .lpa-contact-form .lpa-form-grid {
    gap: 0 !important;
  }

  .lpa-contact-form label {
    margin-bottom: .45rem;
    font-size: .76rem;
    line-height: 1.5;
  }

  .lpa-contact-form input[type="text"],
  .lpa-contact-form input[type="email"],
  .lpa-contact-form input[type="tel"] {
    height: 34px !important;
    min-height: 34px !important;
    margin-top: .15rem;
    padding: .2rem .1rem;
  }

  .lpa-contact-form .wpcf7-form > .lpa-privacy-box {
    height: 62px;
    min-height: 62px;
    max-height: none;
    margin-bottom: .45rem;
    padding: .45rem .6rem;
  }

  .lpa-contact-form textarea {
    height: 72px;
    min-height: 72px;
    margin-top: .2rem;
    padding: .5rem;
  }

  .lpa-contact-form .lpa-privacy-guide {
    margin: 0 0 .25rem !important;
    font-size: .64rem;
    line-height: 1.55;
  }

  .lpa-contact-form .wpcf7-acceptance label {
    margin-bottom: .45rem;
    gap: .4rem;
  }

  .lpa-contact-form input[type="submit"] {
    min-height: 40px;
    padding: .6rem 1rem;
  }

  .lpa-contact__small {
    margin-top: .5rem !important;
  }
}

/* Place the desktop footer controls in the third column. */
@media (min-width: 801px) {
  .lpa-footer__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .lpa-footer__brand {
    grid-column: 1;
  }

  .lpa-footer__meta {
    grid-column: 3;
    width: 100%;
    align-self: end;
    justify-items: end;
    text-align: right;
  }

  .lpa-footer nav ul {
    justify-content: flex-end;
  }

  .lpa-footer .lpa-language-switcher--footer,
  .lpa-footer .site-info {
    justify-self: end;
    text-align: right;
  }

  .lpa-footer .lpa-language-switcher--footer .lpa-language-dropdown {
    right: 0;
    left: auto;
  }
}

/* 2026-08-24: keep every front-page section heading on one shared scale. */
.lpa-front-page .lpa-section-title,
.lpa-front-page .lpa-intro__title {
  font-size: clamp(2.5rem, 3.65vw, 3rem) !important;
  line-height: 1.4 !important;
  letter-spacing: .01em !important;
  white-space: normal !important;
}

/* Keep the two author-defined lines intact only for Japanese. */
@media (min-width: 801px) {
  html:lang(ja) .lpa-front-page .lpa-consultation .lpa-section-title {
    white-space: nowrap !important;
  }

  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-consultation__inner > * {
    min-width: 0;
  }

  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-consultation .lpa-section-title {
    max-width: 100%;
    font-size: clamp(2rem, 3vw, 2.7rem) !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  html:lang(ja) .lpa-front-page .lpa-contact__inner .lpa-section-title {
    font-size: clamp(2.5rem, 3.65vw, 3rem) !important;
    line-height: 1.4 !important;
    letter-spacing: .01em !important;
  }
}

@media (max-width: 800px) {
  .lpa-front-page .lpa-section-title,
  .lpa-front-page .lpa-intro__title,
  .lpa-front-page .lpa-services__header .lpa-section-title,
  .lpa-front-page .lpa-international__copy .lpa-section-title {
    font-size: clamp(1.45rem, 6.8vw, 1.65rem) !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
  }
}

/* 2026-08-25: restrained black CTAs requested for contact and services. */
.lpa-site-nav > ul > li:last-child > a,
.lpa-site-nav > ul > li:last-child > a:visited {
  color: #fff;
  background: #111514;
  border-color: #111514;
}

.lpa-site-nav > ul > li:last-child > a:hover,
.lpa-site-nav > ul > li:last-child > a:focus-visible {
  color: #fff;
  background: var(--lpa-graphite);
  border-color: var(--lpa-graphite);
}

.lpa-hero__buttons .wp-block-button:nth-child(2) .wp-block-button__link,
.lpa-hero__buttons .wp-block-button:nth-child(2) .wp-block-button__link:visited {
  color: #fff;
  background: #111514;
  border-color: #111514;
}

.lpa-hero__buttons .wp-block-button:nth-child(2) .wp-block-button__link:hover,
.lpa-hero__buttons .wp-block-button:nth-child(2) .wp-block-button__link:focus-visible {
  color: #fff;
  background: var(--lpa-graphite);
  border-color: var(--lpa-graphite);
}

/* 2026-08-25: use the same restrained black treatment for the remaining CTAs. */
.lpa-online__button .wp-block-button__link,
.lpa-online__button .wp-block-button__link:visited,
.lpa-contact-form input[type="submit"] {
  color: #fff;
  background: #111514;
  border-color: #111514;
}

/* WordPress loads the outline variation after the child-theme stylesheet. */
.lpa-online__button .wp-block-button.is-style-outline--2 > .wp-block-button__link,
.lpa-online__button .wp-block-button.is-style-outline--2 > .wp-block-button__link:visited {
  color: #fff !important;
  background: #111514 !important;
  border-color: #111514 !important;
}

.lpa-online__button .wp-block-button__link:hover,
.lpa-online__button .wp-block-button__link:focus-visible,
.lpa-contact-form input[type="submit"]:hover,
.lpa-contact-form input[type="submit"]:focus-visible {
  color: #fff;
  background: var(--lpa-graphite);
  border-color: var(--lpa-graphite);
}

.lpa-online__button .wp-block-button.is-style-outline--2 > .wp-block-button__link:hover,
.lpa-online__button .wp-block-button.is-style-outline--2 > .wp-block-button__link:focus-visible {
  color: #fff !important;
  background: var(--lpa-graphite) !important;
  border-color: var(--lpa-graphite) !important;
}

.lpa-front-page .lpa-international .lpa-language-card,
.lpa-front-page .lpa-international a.lpa-language-card,
.lpa-front-page .lpa-international a.lpa-language-card:visited {
  color: #fff;
  background: #111514;
  border-color: #111514;
}

.lpa-front-page .lpa-international .lpa-language-card__code,
.lpa-front-page .lpa-international .lpa-language-card__name {
  color: #fff;
}

.lpa-front-page .lpa-international a.lpa-language-card:hover,
.lpa-front-page .lpa-international a.lpa-language-card:focus-visible {
  color: #fff;
  background: var(--lpa-graphite);
  border-color: var(--lpa-graphite);
}

@media (max-width: 800px) {
  .lpa-front-page .lpa-international .lpa-language-card,
  .lpa-front-page .lpa-international .lpa-language-card:hover,
  .lpa-front-page .lpa-international .lpa-language-card:focus-visible,
  .lpa-front-page .lpa-international .lpa-language-card:active {
    background: #111514;
    border-color: #111514;
  }
}

/* Keep the selected alternating sections consistently gray. */
.lpa-front-page .lpa-intro,
.lpa-front-page .lpa-international,
.lpa-front-page .lpa-group,
.lpa-front-page .lpa-online {
  background-color: #f7f7f7 !important;
}

.lpa-front-page .lpa-intro > .wp-block-group__inner-container,
.lpa-front-page .lpa-international > .wp-block-group__inner-container,
.lpa-front-page .lpa-group > .wp-block-group__inner-container,
.lpa-front-page .lpa-online > .wp-block-group__inner-container,
.lpa-front-page .lpa-intro__grid,
.lpa-front-page .lpa-international__grid,
.lpa-front-page .lpa-group__grid,
.lpa-front-page .lpa-online__grid {
  background-color: transparent !important;
}

.lpa-front-page .lpa-international__grid > .wp-block-column:last-child,
.lpa-front-page .lpa-international .lpa-language-cards {
  background-color: transparent !important;
}

.lpa-front-page .lpa-contact {
  background-color: var(--lpa-white) !important;
}

/* Keep the animated language clock behind the copy on phones. */
@media (max-width: 800px) {
  .lpa-front-page .lpa-international__grid {
    z-index: 0;
    isolation: isolate;
  }

  .lpa-front-page .lpa-international__copy {
    z-index: 2 !important;
  }

  .lpa-front-page .lpa-international__grid > .wp-block-column:last-child {
    z-index: -1 !important;
    pointer-events: none;
  }

  .lpa-front-page .lpa-international .lpa-language-card,
  .lpa-front-page .lpa-international a.lpa-language-card,
  .lpa-front-page .lpa-international a.lpa-language-card:hover,
  .lpa-front-page .lpa-international a.lpa-language-card:focus-visible,
  .lpa-front-page .lpa-international a.lpa-language-card:active {
    z-index: 0 !important;
    opacity: .18 !important;
    filter: grayscale(1) blur(.45px) !important;
    pointer-events: none !important;
  }
}

/* Let non-Japanese hero copy wrap within the phone viewport. */
@media (max-width: 800px) {
  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-hero__copy,
  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-hero h1,
  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-hero__lead,
  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-hero__note {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-hero h1 .lpa-h1-line {
    white-space: normal !important;
  }
}

/* Client revision 2026-08-29: fixed services, compact professionals and clearer contact. */
.lpa-front-page .lpa-service-swipe-hint {
  display: none !important;
}

.lpa-front-page .lpa-service-grid,
.lpa-front-page .lpa-service-grid.is-auto-scrolling {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1px;
  width: 100%;
  margin: 0;
  padding: 1px;
  overflow: visible;
  background: var(--lpa-line);
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.lpa-front-page .lpa-service-grid .lpa-service-card,
.lpa-front-page .lpa-service-grid.is-auto-scrolling .lpa-service-card,
.lpa-front-page .lpa-service-grid .lpa-service-card:nth-child(n) {
  display: flex;
  flex: none;
  flex-direction: column;
  grid-column: auto;
  width: auto;
  min-width: 0;
  min-height: 430px;
  height: 100%;
  margin-block: 0 !important;
  scroll-snap-align: none;
}

.lpa-front-page .lpa-service-card__index {
  margin-bottom: 3.5rem !important;
}

.lpa-front-page .lpa-process {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.lpa-front-page .lpa-process__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.lpa-front-page .lpa-process__header .lpa-section-title,
.lpa-front-page .lpa-process__lead {
  margin-bottom: 0 !important;
}

.lpa-front-page .lpa-process__step {
  min-height: 240px;
}

.lpa-front-page .lpa-process__number {
  margin-bottom: clamp(2rem, 4vw, 3.25rem) !important;
}

.lpa-front-page .lpa-contact > .lpa-consultation__inner {
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--lpa-line);
}

.lpa-front-page .lpa-contact > .lpa-consultation__inner .lpa-section-title {
  margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

.lpa-contact-form .lpa-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1001px) {
  .lpa-contact-form .lpa-form-grid > :nth-child(3),
  .lpa-contact-form .lpa-form-grid > :nth-child(4) {
    grid-column: auto;
  }
}

.lpa-contact-form .wpcf7-form > .lpa-privacy-box {
  height: 190px;
  min-height: 190px;
}

.lpa-office-professionals > .lpa-office-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.lpa-office-professionals > .lpa-office-inner > .lpa-office-section-head {
  grid-column: 1 / -1;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.lpa-office-professionals .lpa-office-person {
  min-width: 0;
  padding: clamp(2rem, 3.5vw, 3rem);
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--lpa-line);
}

.lpa-office-professionals .lpa-office-person:last-child {
  border-bottom: 1px solid var(--lpa-line);
}

.lpa-office-professionals .lpa-office-person__columns {
  display: flex !important;
  flex-direction: column;
  gap: 2rem;
}

.lpa-office-professionals .lpa-office-person__columns > .wp-block-column,
.lpa-office-professionals .lpa-office-person.is-reverse .lpa-office-person__columns > .wp-block-column {
  order: initial !important;
  width: 100%;
  flex-basis: auto !important;
}

.lpa-office-professionals .lpa-office-person__columns > .wp-block-column:first-child {
  display: flex;
  justify-content: center;
}

.lpa-office-professionals .lpa-office-person__figure {
  width: min(66.666%, 330px);
  margin-inline: auto !important;
}

.lpa-office-professionals .lpa-office-person__name {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.lpa-office-professionals .lpa-office-person__languages {
  margin-bottom: 1.4rem;
}

.lpa-office-professionals .lpa-office-person__body > p:not([class]) {
  margin-bottom: 1rem !important;
  font-size: .9rem;
  line-height: 1.95;
}

@media (max-width: 900px) {
  .lpa-front-page .lpa-service-grid,
  .lpa-front-page .lpa-service-grid.is-auto-scrolling {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lpa-office-professionals > .lpa-office-inner {
    grid-template-columns: 1fr;
  }

  .lpa-office-professionals > .lpa-office-inner > .lpa-office-section-head {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .lpa-front-page .lpa-service-grid,
  .lpa-front-page .lpa-service-grid.is-auto-scrolling {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    margin-right: 0;
    padding: 1px;
  }

  .lpa-front-page .lpa-service-grid .lpa-service-card,
  .lpa-front-page .lpa-service-grid .lpa-service-card:nth-child(n) {
    min-height: 0;
    padding: 2.2rem 1.8rem;
  }

  .lpa-front-page .lpa-process__step {
    min-height: 0;
  }

  .lpa-front-page .lpa-contact > .lpa-consultation__inner {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .lpa-contact-form .lpa-form-grid {
    grid-template-columns: 1fr;
  }

  .lpa-contact-form .wpcf7-form > .lpa-privacy-box {
    height: 150px;
    min-height: 150px;
  }

  .lpa-office-professionals .lpa-office-person {
    padding: 1.6rem;
  }

  .lpa-office-professionals .lpa-office-person__figure {
    width: min(72%, 280px);
  }
}

/* Tablet hero: stack the copy and decorative card before either column is compressed. */
@media (min-width: 801px) and (max-width: 1120px) {
  .lpa-front-page .lpa-hero {
    min-height: auto;
  }

  .lpa-front-page .lpa-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(4rem, 7vw, 6rem);
    min-height: 0;
  }

  .lpa-front-page .lpa-hero__copy {
    width: 100%;
    min-width: 0;
    max-width: 880px;
  }

  .lpa-front-page .lpa-hero-visual {
    width: min(100%, 680px);
    min-width: 0;
    min-height: 520px;
    margin-inline: auto;
  }

  .lpa-front-page .lpa-document-card {
    box-sizing: border-box;
    width: min(72%, 360px);
  }
}

/*
 * Hero language clock refinement (2026-09-01)
 * Keep the restored four-language rotation intact while returning the orbit
 * to its former edge-cropped treatment on a full-width pale-gray hero.
 */
.lpa-front-page .lpa-hero {
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: #f7f7f7;
}

.lpa-front-page .lpa-hero__inner {
  position: relative;
}

.lpa-front-page .lpa-hero-language-orbit {
  overflow: hidden;
  background: transparent;
}

.lpa-front-page .lpa-hero-language-orbit .lpa-language-cards {
  gap: 0;
  background: transparent;
  border: 0;
}

.lpa-front-page .lpa-hero-language-orbit .lpa-hero-language-card,
.lpa-front-page .lpa-hero-language-orbit .lpa-hero-language-card:visited {
  background: #707070;
  border-color: #707070;
}

.lpa-front-page .lpa-hero-language-orbit::before,
.lpa-front-page .lpa-hero-language-orbit::after {
  display: none;
}

@media (min-width: 1121px) {
  .lpa-front-page .lpa-hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(420px, .65fr);
    gap: clamp(1rem, 2vw, 2.5rem);
    width: min(100%, 1440px);
  }

  .lpa-front-page .lpa-hero-language-orbit {
    position: absolute;
    z-index: 1;
    top: 0;
    right: calc((100vw - 100%) / -2);
    bottom: 0;
    width: min(58vw, 960px);
    min-height: 100%;
    overflow: visible;
  }

  .lpa-front-page .lpa-hero__copy {
    position: relative;
    z-index: 2;
  }

  .lpa-front-page .lpa-hero-language-orbit .lpa-language-cards {
    --lpa-language-card-size: clamp(156px, 11vw, 180px);
    --lpa-language-orbit-radius: clamp(280px, 24vw, 350px);
    --lpa-language-center-inset: clamp(92px, 7vw, 118px);
    overflow: visible;
  }

  .lpa-front-page .lpa-hero-language-orbit .lpa-language-cards::before {
    top: 50%;
    right: calc(var(--lpa-language-center-inset) - var(--lpa-language-orbit-radius));
    left: auto;
    transform: translateY(-50%);
  }

  .lpa-front-page .lpa-hero-language-orbit .lpa-language-card {
    offset-path: circle(
      var(--lpa-language-orbit-radius)
      at calc(100% - var(--lpa-language-center-inset)) 50%
    );
  }
}

@media (min-width: 801px) and (max-width: 1120px) {
  .lpa-front-page .lpa-hero-language-orbit {
    width: calc(100% + (2 * var(--lpa-edge)));
    max-width: none;
    margin-inline: calc(-1 * var(--lpa-edge));
  }

  .lpa-front-page .lpa-hero-language-orbit .lpa-language-cards::before {
    top: 50%;
    right: calc(var(--lpa-language-center-inset) - var(--lpa-language-orbit-radius));
    left: auto;
    transform: translateY(-50%);
  }

  .lpa-front-page .lpa-hero-language-orbit .lpa-language-card {
    offset-path: circle(
      var(--lpa-language-orbit-radius)
      at calc(100% - var(--lpa-language-center-inset)) 50%
    );
  }

  .lpa-front-page .lpa-hero-language-orbit .lpa-language-cards {
    --lpa-language-card-size: clamp(150px, 17vw, 170px);
    --lpa-language-orbit-radius: clamp(200px, 22vw, 230px);
    --lpa-language-center-inset: clamp(68px, 7.4vw, 78px);
  }
}

/* Remaining client revisions dated 2026-08-31. */
.lpa-single-news__office-guide {
  position: relative;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid var(--lpa-line);
}

.lpa-single-news__office-guide::after {
  position: absolute;
  right: clamp(-90px, -6vw, -54px);
  bottom: clamp(-90px, -6vw, -54px);
  width: clamp(160px, 18vw, 230px);
  aspect-ratio: 1;
  border: 1px solid var(--lpa-line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.lpa-single-news__office-guide > * {
  position: relative;
  z-index: 1;
}

.lpa-single-news__office-guide .lpa-eyebrow {
  margin-bottom: 1.25rem !important;
}

.lpa-single-news__office-guide-title {
  margin: 0 0 1.5rem !important;
  font-size: clamp(1.55rem, 3vw, 2.2rem) !important;
  line-height: 1.5 !important;
}

.lpa-single-news__office-guide p {
  margin: 0;
  color: var(--lpa-gray);
  font-size: .94rem;
  line-height: 2.05;
}

.lpa-single-news__office-guide-links {
  margin-top: 1.35rem !important;
}

.lpa-single-news__office-guide-links a {
  color: var(--lpa-graphite);
  text-decoration-color: var(--lpa-mint-dark);
  text-underline-offset: .2em;
}

.lpa-single-news__office-guide + .lpa-single-news__back {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.lpa-front-page .lpa-contact__support-title {
  margin: clamp(3rem, 5vw, 4.5rem) 0 1.5rem !important;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem) !important;
  font-weight: 450;
  line-height: 1.55 !important;
}

.lpa-front-page .lpa-contact__support-list {
  margin-top: 0;
}

@media (min-width: 1101px) {
  .lpa-front-page .lpa-contact__inner {
    grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

@media (max-width: 1100px) {
  .lpa-front-page .lpa-contact__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .lpa-single-news__office-guide {
    padding: 1.6rem;
  }

  .lpa-single-news__office-guide-title {
    font-size: 1.45rem !important;
  }
}

/* Keep the news rows on the front page evenly spaced. */
@media (min-width: 521px) {
  .lpa-front-page .lpa-news-list > li {
    box-sizing: border-box;
    height: 128px;
    min-height: 128px;
  }
}

/* Follow the contact copy without sliding beneath the sticky desktop header. */
@media (min-width: 1101px) {
  .lpa-front-page .lpa-contact__aside {
    position: sticky;
    top: 124px;
    z-index: 2;
  }

  body.admin-bar.lpa-front-page .lpa-contact__aside {
    top: 156px;
  }
}

/* Reuse the four-language clock as a quiet background near ABOUT LPA on phones. */
@media (max-width: 800px) {
  .lpa-front-page .lpa-intro {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  .lpa-front-page .lpa-intro > :not(.is-mobile-intro-clock) {
    position: relative;
    z-index: 1;
  }

  .lpa-front-page .lpa-intro > .lpa-hero-language-orbit.is-mobile-intro-clock {
    position: absolute;
    z-index: 0;
    top: clamp(-150px, -28vw, -105px);
    right: clamp(-130px, -24vw, -90px);
    display: block;
    width: clamp(470px, 132vw, 540px);
    height: clamp(490px, 138vw, 570px);
    margin: 0;
    overflow: visible;
    opacity: .2;
    pointer-events: none;
  }

  .lpa-front-page .lpa-intro > .is-mobile-intro-clock .lpa-language-cards {
    --lpa-language-card-size: clamp(92px, 27vw, 108px);
    --lpa-language-orbit-radius: clamp(126px, 37vw, 148px);
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .lpa-front-page .lpa-intro > .is-mobile-intro-clock .lpa-language-cards::before {
    top: 46%;
    right: auto;
    left: 55%;
    width: calc(2 * var(--lpa-language-orbit-radius));
    transform: translate(-50%, -50%);
  }

  .lpa-front-page .lpa-intro > .is-mobile-intro-clock .lpa-hero-language-card {
    width: var(--lpa-language-card-size);
    min-height: var(--lpa-language-card-size);
    padding: .75rem;
    background: #707070;
    border-color: #707070;
    opacity: 1;
    filter: grayscale(1);
    offset-path: circle(
      var(--lpa-language-orbit-radius)
      at 55% 46%
    );
    pointer-events: none;
  }

  .lpa-front-page .lpa-intro > .is-mobile-intro-clock .lpa-language-card__code {
    margin-bottom: .65rem !important;
    font-size: .55rem;
  }

  .lpa-front-page .lpa-intro > .is-mobile-intro-clock .lpa-language-card__name {
    font-size: .82rem;
  }
}

/*
 * iPad hero composition.
 * Keep the language clock in the same visual band as the copy instead of
 * stacking it underneath and creating an empty lower half of the first view.
 */
@media (min-width: 801px) and (max-width: 1120px) {
  .lpa-front-page .lpa-hero {
    min-height: clamp(680px, calc(100svh - 100px), 920px);
    padding-block: clamp(5rem, 9vw, 7rem);
  }

  .lpa-front-page .lpa-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: clamp(540px, calc(100svh - 260px), 720px);
  }

  .lpa-front-page .lpa-hero__copy {
    position: relative;
    z-index: 2;
    width: min(66%, 650px);
    max-width: 650px;
  }

  .lpa-front-page .lpa-hero-language-orbit {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: calc(-1 * var(--lpa-edge));
    width: min(52vw, 560px);
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: visible;
    transform: translateY(-50%);
  }

  .lpa-front-page .lpa-hero-language-orbit .lpa-language-cards {
    --lpa-language-card-size: clamp(132px, 15vw, 154px);
    --lpa-language-orbit-radius: clamp(174px, 21vw, 220px);
    --lpa-language-center-inset: clamp(62px, 7vw, 76px);
    overflow: visible;
  }

  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-hero__copy {
    width: min(68%, 670px);
  }

  :is(html:lang(en), html:lang(fr), html:lang(pt)) .lpa-front-page .lpa-hero h1 {
    overflow-wrap: break-word;
  }
}

/* iPad contact: remove the inherited desktop half-width/right alignment. */
@media (min-width: 801px) and (max-width: 1100px) {
  .lpa-front-page .lpa-contact__inner {
    gap: clamp(3rem, 6vw, 4.5rem);
  }

  .lpa-front-page .lpa-contact__aside {
    justify-self: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
  }
}

/* iPad office page: preserve short labels and balance the footer controls. */
@media (min-width: 801px) and (max-width: 1100px) {
  html:lang(ja) .lpa-online__step {
    grid-template-columns: 2.75rem minmax(180px, .9fr) minmax(0, 1fr);
  }

  html:lang(ja) .lpa-online__step-title {
    white-space: nowrap;
  }

  .lpa-footer__inner {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .lpa-footer__brand {
    grid-column: 1;
  }

  .lpa-footer__meta {
    grid-column: 2;
    width: 100%;
  }

  .lpa-footer__meta > nav:first-child {
    width: 100%;
  }

  .lpa-footer__meta > nav:first-child ul {
    flex-wrap: nowrap;
    gap: clamp(.8rem, 2vw, 1.5rem);
  }

  .lpa-footer__meta > nav:first-child a {
    font-size: clamp(.66rem, 1.15vw, .76rem);
    white-space: nowrap;
  }

  .lpa-footer .lpa-language-switcher--footer {
    grid-row: 2;
    justify-self: end;
  }
}

/* iPad hero: make the clock read as background, never as foreground UI. */
@media (min-width: 801px) and (max-width: 1120px) {
  .lpa-front-page .lpa-hero,
  .lpa-front-page .lpa-hero__inner {
    isolation: isolate;
  }

  .lpa-front-page .lpa-hero-language-orbit {
    z-index: 0 !important;
    opacity: 1;
  }

  .lpa-front-page .lpa-hero-language-orbit .lpa-hero-language-card {
    z-index: 0;
  }

  .lpa-front-page .lpa-hero__copy {
    z-index: 3 !important;
    isolation: isolate;
  }

  .lpa-front-page .lpa-hero__copy > * {
    position: relative;
    z-index: 1;
  }
}

/* Phone FV cover: anchor the image to the full hero, outside its padded inner column. */
@media (max-width: 520px) {
  .lpa-front-page .lpa-hero__inner {
    position: static !important;
  }

  .lpa-front-page .lpa-hero-mobile-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }
}
/* Long translated office headings must wrap without widening the viewport. */
:is(html:lang(fr), html:lang(pt)) .lpa-office-overview .lpa-office-heading {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Keep horizontal decoration clipped without disabling the contact form's sticky positioning. */
.lpa-front-page .entry-content,
.lpa-front-page .lpa-contact {
  overflow: visible;
}

.lpa-front-page .lpa-hero {
  overflow: clip;
}

body.lpa-front-page {
  overflow-x: clip;
}

html:has(body.lpa-front-page) {
  overflow-x: hidden;
}
