:root {
  /* Image Palette */
  --primary-white: #f4f4f4;
  /* Base off-white / light surface */
  --accent-orange: #fb9935;
  /* Warm secondary accent */
  --red: #b90b0b;
  /* Primary brand red */
  --red-dark: #8c0909;
  /* Deep red / dark states */

  /* Derived Neutrals & Tints */
  --red-soft: #fff1f3;
  /* Soft light tint derived from #B90B0B */
  --surface: #f4f4f4;
  /* Matched to off-white swatch */
  --line: #e6e2e0;
  /* Neutral border line */
  --ink: #101216;
  /* High-contrast text */
  --muted: #687078;
  /* Subtle copy */
  --dark: #170207;
  /* Dark theme panels */
  --white: #ffffff;
  /* Pure white */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}


button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--red-soft);
  display: grid;
  place-items: center;
  transition:
    opacity 0.55s var(--ease),
    visibility 0.55s var(--ease);
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  color: #fff;
}

.loader-logo {
  width: 120px;
  height: 80px;
  margin: auto auto 18px;
  overflow: hidden;
}

.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loader-line {
  width: 150px;
  height: 2px;
  background: #ffffff20;
  overflow: hidden;
}

.loader-line span {
  display: block;
  width: 55%;
  height: 100%;
  background: #ff4769;
  animation: load 1.1s var(--ease) infinite;
}

@keyframes load {
  to {
    transform: translateX(300%);
  }
}

.scroll-progress {
  position: fixed;
  z-index: 2100;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4769);
}

.cursor-glow {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 0, 45, 0.09), transparent 68%);
  opacity: 0;
}

body.cursor-ready .cursor-glow {
  opacity: 1;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fffffff2;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: 0.3s var(--ease);
}

.nav-shell.scrolled {
  box-shadow: 0 10px 35px #0000000d;
}

.nav-shell.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  min-width: 220px;
}

.brand-logo-wrap {
  width: 78px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 78px;
  height: 46px;
  object-fit: contain;
}

.brand-copy {
  display: block;
}

.brand-name {
  display: block;
  line-height: 1;
  font-size: 0.98rem;
}

.brand-note {
  display: block;
  margin-top: 5px;
  color: #92979c;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 11px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #222;
  margin: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #4a4d50;
  line-height: 1;
  transition: color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--red);
}


.nav-link:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  bottom: 8px;
  background: var(--red);
  transform: translateX(-50%);
  transition: 0.25s var(--ease);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: calc(100% - 24px);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.hero-photo {
  position: absolute;
  inset: -2%;
  background:
    linear-gradient(90deg,
      #110005f7 0%,
      #110005d4 35%,
      #11000566 68%,
      #11000526 100%),
    url("../assets/representative.png") center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 1.5s var(--ease);
}

.loaded .hero-photo {
  transform: scale(1);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    linear-gradient(#fff1 1px, transparent 1px),
    linear-gradient(90deg, #fff1 1px, transparent 1px);
  background-size: 76px 76px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
}

.kicker,
.eyebrow {
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker {
  color: #ffb5c3;
}

.kicker:before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: #ffb5c3;
  vertical-align: middle;
  margin-right: 11px;
}

.eyebrow {
  color: var(--red);
}

.p_eyebrow {
    color: var(--black);
    font-weight: bold;
}

.hero h2 .red {
  color: #ffbac6;
}

.hero-copy,
.hero-copy1 {
  max-width: 690px;
  color: #ffffffbd;
  font-size: 1.04rem;
}

.hero-highlights {
  max-width: 1050px;
  margin: 0;
  padding-left: 1.2rem;
  color: #ffffff;
}

.hero-highlights li {
  margin-bottom: 1rem;
  padding-left: 0.2rem;
  color: #ffffffbd;
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-highlights li::marker {
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.86rem 1.25rem;
  font-weight: 800;
  transition: 0.22s var(--ease);
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 30px #c9002d33;
}

.btn-red:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #171717;
}

.btn-white:hover {
  background: #f2f2f2;
  transform: translateY(-2px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
  max-width: 860px;
  border-top: 1px solid #fff2;
  padding-top: 1.25rem;
}

.hero-fact {
  min-width: 200px;
  padding: 0 1.35rem;
  border-right: 1px solid #fff1;
}

.hero-fact:first-child {
  padding-left: 0;
}

.hero-fact:last-child {
  border-right: 0;
}

.hero-fact small {
  display: block;
  color: #ffffff70;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-fact strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

.section {
  padding: 100px 0;
}

.section-soft {
  background: var(--surface);
}

.section-title {
  margin: 0.55rem 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
}

.section-copy {
  color: var(--muted);
  max-width: 720px;
}

.page-hero {
  padding: 140px 0 92px;
  background: linear-gradient(135deg, #170207, #39000d);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid #fff2;
  border-radius: 50%;
  right: -170px;
  top: -220px;
  box-shadow:
    0 0 0 55px #fff00005,
    0 0 0 110px #fff00003;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: #ffb5c3;
}

.crumb {
  font-size: 0.72rem;
  color: #ffffff80;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.9rem, 6vw, 6rem);
  margin: 0.5rem 0 1rem;
}

.page-hero p {
  max-width: 720px;
  color: #ffffffb8;
  font-size: 1.05rem;
}

.card-clean,
.service-card,
.job-card,
.gallery-copy,
.profile {
  background: #fff;
  border: 1px solid var(--line);
}

.card-clean {
  height: 100%;
  padding: 2rem;
  transition: 0.28s var(--ease);
}

.card-clean:hover,
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px #00000012;
}

.number {
  font-weight: 850;
  color: var(--red);
  font-size: 2.8rem;
  line-height: 1;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact-grid1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1px;
  background: transparent;
  border: 1px solid var(--line);
}

.fact {
  background: #fff;
  padding: 1.3rem;
}

.fact small {
  display: block;
  color: var(--muted);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.fact strong {
  display: block;
  margin-top: 0.25rem;
}

.profile {
  border-top: 3px solid var(--red);
  box-shadow: 0 25px 65px #0000000f;
}

.profile-head {
  padding: 1.15rem 1.35rem;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.profile-body {
  padding: 0.25rem 1.35rem;
}

.profile-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 1.08rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-row:last-child {
  border-bottom: 0;
}

.profile-label {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
}

.profile-value {
  font-weight: 600;
}

.dark-panel {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dark-panel .container {
  position: relative;
  z-index: 1;
}

.quote {
  max-width: 850px;
  border-left: 3px solid #ff4769;
  padding-left: 1.2rem;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.38;
}

.dark-panel p {
  color: #ffffffad;
}

.service-card {
  height: 100%;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.service-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.service-card h2,
.service-card h3 {
  font-size: 1.42rem;
}

.service-card p,
.service-list {
  color: var(--muted);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
}

.service-list li {
  display: flex;
  gap: 9px;
  padding: 0.62rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.service-list li:before {
  content: "↗";
  color: var(--red);
  font-weight: 800;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
}

.support-item {
  padding: 1.35rem 1.5rem;
  border-right: 1px solid var(--line);
}

.support-item:last-child {
  border-right: 0;
}

.support-item small {
  display: block;
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-item p {
  color: var(--muted);
  font-size: 0.81rem;
  margin: 0.35rem 0 0;
}

.flow-shell {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2.35rem 1.2rem;
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-dot {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  font-weight: 850;
  box-shadow: 0 13px 28px #c9002d33;
}

.flow-line {
  position: absolute;
  top: 30px;
  left: 74%;
  right: -26%;
  height: 1px;
  background: #ddd;
}

.flow-step:last-child .flow-line {
  display: none;
}

.flow-step p {
  max-width: 188px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.81rem;
}

.visual-card,
.gallery-box {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.visual-card {
  min-height: 560px;
}

.visual-card img,
.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card img {
  min-height: 560px;
}

.gallery-box {
  height: 100%;
  min-height: 460px;
}

.gallery-box img {
  min-height: 460px;
}

.gallery-label {
  position: absolute;
  left: 15px;
  bottom: 15px;
  background: #00000085;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.7rem 0.85rem;
  font-size: 0.79rem;
}

.gallery-copy {
  height: 100%;
  min-height: 300px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presentation-image {
  border-radius: 20px;
}
 
.principle {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 1.08rem 0;
  border-top: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #e8b7c0;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
}

.principle span {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
}

.recruitment-note {
  padding: 0.9rem 1rem;
  border: 1px dashed #dfafb8;
  background: #fff8f9;
  color: #71414a;
  font-size: 0.73rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter {
  border: 1px solid #202326;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 750;
  font-size: 0.8rem;
}

.filter.active,
.filter:hover {
  background: #202326;
  color: #fff;
}

.role-count {
  margin-left: auto;
  align-self: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.job-card {
  height: 100%;
  overflow: hidden;
  transition: 0.25s var(--ease);
}

.job-top {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.job-category {
  color: var(--red);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.job-title {
  font-size: 1.25rem;
  margin: 0.2rem 0;
}

.job-status {
  color: #14733c;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.job-body {
  padding: 1.35rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 1rem;
}

.job-chip,
.skill-pill {
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
  font-size: 0.69rem;
}

.job-chip {
  border: 1px solid var(--line);
  color: #575c60;
  background: #fbfbfb;
}

.skill-pill {
  background: var(--red-soft);
  color: var(--red);
  font-weight: 700;
}

.job-description {
  color: var(--muted);
  font-size: 0.82rem;
}

.job-footer {
  padding: 1rem 1.35rem;
  background: #fbfbfb;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.job-salary {
  font-size: 0.74rem;
  color: var(--muted);
}

.job-salary strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
}

.job-more {
  border: 0;
  background: none;
  color: var(--red);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0;
}

.contact {
  background: var(--red);
  color: #fff;
}

.contact-card {
  background: #fff;
  color: var(--ink);
  padding: 1.8rem;
  box-shadow: 0 25px 70px #46000c38;
}

.contact-row {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-of-type {
  border-bottom: 0;
}

.contact-row small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.55rem;
}

footer {
  background: var(--dark);
  color: #ffffff94;
  font-size: 0.77rem;
}

.footer-inner {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.reveal.show1 {
  opacity: 0;
  transform: none;
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #0009;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: min(820px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  box-shadow: 0 30px 100px #0006;
}

.modal-head {
  background: var(--dark);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.modal-head h3 {
  margin: 0;
}

.modal-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.modal-body {
  padding: 24px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

.modal-side {
  background: var(--surface);
  padding: 18px;
}

.modal-side p {
  margin: 0 0 16px;
}

.modal-side small {
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

.backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s var(--ease);
}

.backtop.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.backtop:hover {
  background: var(--red);
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    box-shadow: 0 18px 35px #0000000d;
  }

  .nav-links.open {
    display: grid;
  }

  .nav-link {
    padding: 12px;
  }

  .nav-contact {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-photo {
    background:
      linear-gradient(180deg, #11000555, #110005f7 76%),
      url("../assets/representative.png") center top/cover no-repeat;
  }

  .hero-fact {
    flex: 1 1 45%;
    min-width: 0;
    margin-bottom: 10px;
  }

  .hero-fact:nth-child(2) {
    border-right: 0;
  }

  .hero-fact:last-child {
    flex-basis: 100%;
    border-right: 0;
  }

  .flow-line {
    display: none;
  }

  .support-strip {
    grid-template-columns: 1fr;
  }

  .support-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .support-item:last-child {
    border-bottom: 0;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 76px 0;
  }

  .page-hero {
    padding: 115px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-fact {
    flex-basis: 100%;
    border-right: 0;
    padding-left: 0;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .profile-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .visual-card,
  .visual-card img,
  .gallery-box,
  .gallery-box img {
    min-height: 390px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy {
    display: none;
  }

  .brand-logo-wrap,
  .brand-logo {
    width: 76px;
    height: 44px;
  }

  .job-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .role-count {
    margin-left: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   LANGUAGE SELECTOR — MATCH HOME / ABOUT GLASS SWITCH
   ========================================================= */
.language-selector {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  flex: 0 0 auto;
  width: 104px;
  height: 40px;
  margin-left: 12px;
  padding: 3px;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 5px 18px rgba(48, 17, 28, 0.10);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  isolation: isolate;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.language-selector:hover {
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 7px 22px rgba(48, 17, 28, 0.14);
}

.language-pill-bg {
  position: absolute;
  z-index: 1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(135deg, #b20b3b, #850023);
  box-shadow: 0 5px 14px rgba(169, 0, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s cubic-bezier(0.34, 1.42, 0.64, 1), width 0.2s ease;
}

.language-btn {
  position: relative;
  z-index: 2;
  appearance: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  min-width: 0;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #514b50;
  cursor: pointer;
  font-family: var(--font-sans, "Roboto", "Noto Sans JP", Arial, sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, transform 0.2s ease;
}

.language-btn:hover { color: #a9002f; }
.language-btn:active { transform: scale(0.96); }
.language-btn[aria-pressed="true"],
.language-btn[aria-pressed="true"]:hover { color: #fff; }
.language-code { display: block; margin: 0; padding: 0; font-weight: 800; line-height: 1; }
.language-name { display: none; margin: 0; padding: 0; font-weight: 700; line-height: 1; }
.language-btn:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

.nav-shell.scrolled .language-selector {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   LANGUAGE SELECTOR — TABLET
   ========================================================= */

@media (min-width: 901px) and (max-width: 1200px) {
  .language-selector {
    width: 138px;
    height: 38px;
    margin-left: 5px;
    padding: 3px;
  }

  .language-btn {
    height: 30px;
    font-size: 0.62rem;
  }
}


/* =========================================================
   LANGUAGE SELECTOR — MOBILE
   ========================================================= */

@media (max-width: 900px) {
  .language-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    height: 44px;

    margin: 10px 0 0;
    padding: 3px;

    justify-content: stretch;
  }

  .language-btn {
    width: 100%;
    height: 36px;

    min-width: 0;
    padding: 0 8px;

    font-size: 0.7rem;
  }

  .language-name {
    display: inline;
    margin-left: 4px;

    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
  }
}


@media (max-width: 420px) {
  .language-name {
    display: none;
  }

  .language-btn {
    font-size: 0.68rem;
  }
}

/* Japanese mobile adjustments */
@media (max-width: 900px) {
  html[lang="ja"] .language-btn {
    font-size: 0.68rem;
    padding: 0 6px;
  }

  html[lang="ja"] .language-name {
    font-size: 0.68rem;
  }
}

@media (max-width: 420px) {
  html[lang="ja"] .language-btn {
    font-size: 0.65rem;
  }
}


html[lang="ja"] body {
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

html[lang="my"] body {
  font-family:
    "Myanmar Text", "Noto Sans Myanmar", "Padauk", "IBM Plex Sans", Arial,
    sans-serif;
}

/* =========================================================
   NAV ALIGNMENT FIXES FOR JAPANESE & MYANMAR
   ========================================================= */

/* Japanese: wider characters need adjusted nav-link padding */
html[lang="ja"] .nav-link {
  padding: 0 10px;
  font-size: 0.8rem;
}

/* Myanmar: taller glyphs need vertical alignment and padding adjustments */
html[lang="my"] .nav-link {
  padding: 0 10px;
  font-size: 0.8rem;
  line-height: 1.2;
}

/* Ensure nav-inner maintains alignment with longer nav-link text in JA/MY */
html[lang="ja"] .nav-inner,
html[lang="my"] .nav-inner {
  gap: 16px;
}

/* Language-specific navigation typography. */
html[lang="ja"] .language-btn,
html[lang="my"] .language-btn {
  font-size: 0.65rem;
}

@media (min-width: 901px) and (max-width: 1200px) {
  html[lang="ja"] .language-btn {
    font-size: 0.6rem;
  }
}

/* ===== Consolidated from layout-fix.css ===== */
/* =========================================================
   MGSS — layout-fix.css
   Load AFTER styles.css
   Page-wide alignment + responsive grid fixes.
   ========================================================= */

:root {
  --mgss-container: 1180px;
  --mgss-gap: 24px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.container,
.nav-inner,
.footer-inner {
  width: min(var(--mgss-container), calc(100% - 40px));
  margin-inline: auto;
}

.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  min-width: 0;
}

.row>.col {
  grid-column: span 6;
  min-width: 0;
}

.row.three>.col {
  grid-column: span 4;
}

.g-4 {
  gap: 24px;
}

.g-5 {
  gap: 48px;
}

.align-items-center {
  align-items: center;
}

.mt-2 {
  margin-top: 16px;
}

.row img,
.section-image,
.gallery-box img,
.visual-card img {
  max-width: 100%;
}

.section-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 14px;
}

.service-card,
.card-clean,
.job-card {
  height: 100%;
}

.section {
  padding: 88px 0;
}

.nav-inner {
  min-height: 76px;
}

.footer-inner {
  width: min(var(--mgss-container), calc(100% - 40px));
}

.btn {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

@media (max-width: 900px) {

  .container,
  .nav-inner,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .row>.col {
    grid-column: span 2;
  }

  .row.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .row.three>.col {
    grid-column: span 1;
  }

  .row.three>.col:last-child {
    grid-column: 1 / -1;
  }

  .g-5 {
    gap: 32px;
  }

  .section-image {
    min-height: 360px;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 68px 0;
  }

  .row,
  .row.three {
    grid-template-columns: 1fr;
  }

  .row>.col,
  .row.three>.col,
  .row.three>.col:last-child {
    grid-column: 1 / -1;
  }

  .g-4 {
    gap: 18px;
  }

  .g-5 {
    gap: 26px;
  }

  .section-image {
    min-height: 300px;
  }
}


/* ===== Consolidated from home-carousel.css ===== */
/* =========================================================
   MGSS — home-carousel.css
   Load AFTER styles.css and layout-fix.css.
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #170207;
  transform: none !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition:
    opacity 0.85s cubic-bezier(.2, .8, .2, 1),
    transform 6s cubic-bezier(.2, .8, .2, 1),
    visibility 0s linear .85s;
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

/* Readability layer */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(10, 0, 4, 0.550) 0%,
      rgba(10, 0, 4, 0.450) 34%,
      rgba(10, 0, 4, 0.23) 68%,
      rgba(10, 0, 4, 0) 100%);
}

.hero-grid {
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
}

.hero-carousel-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, .40);
  border-radius: 50%;
  background: rgba(12, 0, 4, .55);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.hero-carousel-arrow:hover,
.hero-carousel-arrow:focus-visible {
  background: #c9002d;
  border-color: #c9002d;
  transform: translateY(-1px);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  background: rgba(12, 0, 4, .55);
  opacity: .72;
  cursor: pointer;
  transition:
    width .25s ease,
    opacity .25s ease,
    background .25s ease;
}

.hero-carousel-dot.active {
  width: 26px;
  background: #fff;
  opacity: 1;
}

.hero-carousel-arrow:focus-visible,
.hero-carousel-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-photo::after {
    background:
      linear-gradient(180deg,
        rgba(10, 0, 4, .22) 0%,
        rgba(10, 0, 4, .58) 48%,
        rgba(10, 0, 4, .94) 100%);
  }

}

@media (max-width: 700px) {


  .hero-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .hero-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hero-carousel-dot.active {
    width: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transform: none;
    transition: opacity .01ms linear;
  }
}


/* ===== Consolidated from home-polish.css ===== */
/* =========================================================
   MGSS — home-polish.css
   Home-page visual corrections.
   Load LAST.
   ========================================================= */

.hero {
  min-height: 650px;
}

.hero-content {
  padding: 86px 0 100px;
  max-width: 900px;
}

.hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(3.4rem, 6.3vw, 6rem);
  line-height: .98;
}

.hero-copy {
  max-width: 650px;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 24px;
}

.hero-facts {
  margin-top: 34px;
}

.section-title {
  max-width: 760px;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.section-copy {
  font-size: .95rem;
  line-height: 1.75;
}

.section>.container>.reveal:first-child {
  max-width: 760px;
}

.service-card {
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
}

.service-card h3 {
  margin: 18px 0 12px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.service-card p {
  line-height: 1.7;
  min-height: 82px;
}

.service-card .btn {
  margin-top: 10px;
}

.section-image {
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
}

.dark-panel .section-title {
  color: #fff;
}

.contact {
  padding: 82px 0;
}

.contact-button {
  margin-left: auto;
}

@media (max-width: 900px) {
  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding: 82px 0 110px;
  }

  .contact-button {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 70px 0 96px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .hero-copy {
    font-size: .94rem;
  }

  .service-card p {
    min-height: 0;
  }
}

/* =========================================================
   MGSS — UNIFIED INTERNAL HERO THEME
   One compact, shared style for Company, Services,
   Recruitment, Process, Activities and Contact pages.
========================================================= */

:root {
  --gss-hero-bg: linear-gradient(125deg, #16070b 0%, #2b0b16 58%, #4a1020 100%);
  --gss-hero-pink: #f39aae;
  --gss-hero-muted: rgba(255, 255, 255, 0.76);
}

/* Shared internal-page hero */
.page-hero,
.services-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 360px;
  padding: 104px 0 58px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 14%, rgba(243, 154, 174, 0.13), transparent 30%),
    radial-gradient(circle at 8% 100%, rgba(180, 0, 45, 0.16), transparent 34%),
    var(--gss-hero-bg);
}

.page-hero::before,
.page-hero::after,
.services-hero::before,
.services-hero::after {
  pointer-events: none;
}

/* ── Bokeh particle orbs ── */
@keyframes gss-orb-float-a {
  0%,100% { transform: translate(0,0) scale(1); opacity: .07; }
  35%     { transform: translate(18px,-22px) scale(1.08); opacity: .11; }
  70%     { transform: translate(-12px,14px) scale(0.95); opacity: .06; }
}
@keyframes gss-orb-float-b {
  0%,100% { transform: translate(0,0) scale(1); opacity: .05; }
  40%     { transform: translate(-20px,16px) scale(1.12); opacity: .09; }
  75%     { transform: translate(14px,-10px) scale(0.93); opacity: .05; }
}
@keyframes gss-orb-float-c {
  0%,100% { transform: translate(0,0) scale(1); opacity: .06; }
  30%     { transform: translate(10px,24px) scale(1.05); opacity: .10; }
  65%     { transform: translate(-16px,-8px) scale(0.97); opacity: .05; }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-orbs span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(38px);
  will-change: transform, opacity;
}

/* Orb 1 – large crimson, top-left */
.hero-orbs span:nth-child(1) {
  width: 340px; height: 340px;
  top: -80px; left: -60px;
  background: radial-gradient(circle, rgba(180,0,45,.18) 0%, transparent 70%);
  animation: gss-orb-float-a 13s ease-in-out infinite;
}
/* Orb 2 – medium pink, top-right */
.hero-orbs span:nth-child(2) {
  width: 260px; height: 260px;
  top: 10px; right: 6%;
  background: radial-gradient(circle, rgba(243,154,174,.13) 0%, transparent 68%);
  animation: gss-orb-float-b 17s ease-in-out infinite;
  animation-delay: -4s;
}
/* Orb 3 – small deep-red, bottom-center */
.hero-orbs span:nth-child(3) {
  width: 200px; height: 200px;
  bottom: -40px; left: 42%;
  background: radial-gradient(circle, rgba(201,0,45,.14) 0%, transparent 65%);
  animation: gss-orb-float-c 11s ease-in-out infinite;
  animation-delay: -7s;
}
/* Orb 4 – tiny pink, bottom-right */
.hero-orbs span:nth-child(4) {
  width: 150px; height: 150px;
  bottom: 10px; right: 12%;
  background: radial-gradient(circle, rgba(243,154,174,.10) 0%, transparent 70%);
  animation: gss-orb-float-a 19s ease-in-out infinite;
  animation-delay: -11s;
}
/* Orb 5 – mid crimson, left-center */
.hero-orbs span:nth-child(5) {
  width: 180px; height: 180px;
  top: 50%; left: 18%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(180,0,45,.09) 0%, transparent 68%);
  animation: gss-orb-float-b 15s ease-in-out infinite;
  animation-delay: -2s;
}

.page-hero .container,
.services-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-inner,
.services-hero-copy {
  max-width: 980px;
}

.page-hero .crumb,
.services-hero .crumb {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero .eyebrow,
.services-hero .eyebrow,
.page-hero .light-eyebrow,
.services-hero .light-eyebrow {
  margin-bottom: 10px;
  color: var(--gss-hero-pink);
  font-size: 0.68rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero h1,
.page-hero h1 span,
.services-hero h1,
.services-hero h1 span {
  max-width: 760px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  font-weight: 750;
  line-height: 1.13;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.page-hero p,
.services-hero-copy>p {
  max-width: 620px;
  margin: 0;
  color: var(--gss-hero-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.page-hero-meta,
.services-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 20px;
  font-size: 0.72rem;
  line-height: 1.5;
}

.page-hero-meta,
.page-hero-meta a,
.services-hero-meta,
.services-hero-meta a {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero-meta a,
.services-hero-meta a {
  color: var(--gss-hero-pink);
}

.services-hero-grid {
  align-items: start;
  gap: 48px;
}

.services-hero h1 {
  max-width: 720px;
}

.services-hero .services-hero-meta {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.services-hero .hero-meta-item {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

/* Contact form — placed after the contact details */
.contact-card {
  border-radius: 18px;
}

.contact-form-wrap {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-form-heading h3 {
  margin: 0.45rem 0 1.15rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 1.25rem;
  border: 1px solid #eadfe2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(70, 0, 12, 0.06);
}

.contact-form .form-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contact-form label {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 12px 14px;
  border: 1px solid #d9cbd0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  opacity: 1;
  cursor: pointer;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a7b82;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--red);
  outline: 3px solid rgba(194, 0, 14, 0.14);
  outline-offset: 1px;
}

.contact-form .btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
  cursor: pointer;
}

.contact-form .form-note {
  margin: 0;
  color: var(--muted);
}

/* Responsive hero and contact form */
@media (max-width: 900px) {

  .page-hero,
  .services-hero {
    min-height: 330px;
    padding: 92px 0 52px;
  }

  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-hero h1,
  .page-hero h1 span,
  .services-hero h1,
  .services-hero h1 span {
    font-size: clamp(1.8rem, 5.2vw, 2.55rem);
  }
}

@media (max-width: 600px) {

  .page-hero,
  .services-hero {
    min-height: 300px;
    padding: 82px 0 44px;
  }

  .page-hero h1,
  .page-hero h1 span,
  .services-hero h1,
  .services-hero h1 span {
    font-size: clamp(1.65rem, 7.2vw, 2.15rem);
    line-height: 1.16;
  }

  .page-hero p,
  .services-hero-copy>p {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .contact-form {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .page-hero *,
  .services-hero * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   FINAL UNIFIED HERO TYPOGRAPHY + CONTACT FORM POSITION
   Keep this in styles.css so every page uses one source of truth.
========================================================= */

.page-hero,
.services-hero {
  min-height: 390px !important;
  padding: 112px 0 76px !important;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.page-hero .container,
.services-hero .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.page-hero-inner,
.services-hero-copy {
  width: 100%;
  max-width: 900px;
  padding: 0 !important;
}

.page-hero .crumb,
.services-hero .crumb {
  margin: 0 0 12px !important;
  color: rgba(255, 255, 255, .62) !important;
  font-size: .66rem !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.page-hero .eyebrow,
.services-hero .eyebrow,
.page-hero .light-eyebrow,
.services-hero .light-eyebrow {
  margin: 0 0 14px !important;
  color: #ffb5c3 !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  line-height: 1.45 !important;
  text-transform: uppercase;
}

.page-hero h1,
.page-hero h1 span,
.services-hero h1,
.services-hero h1 span {
  max-width: 920px !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: clamp(2.45rem, 5.2vw, 5.2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.055em !important;
  line-height: 1.02 !important;
  text-wrap: balance;
}

.page-hero p,
.services-hero-copy>p {
  max-width: 680px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: .98rem !important;
  font-weight: 500;
  line-height: 1.75 !important;
}

.page-hero-meta,
.services-hero-meta {
  margin-top: 24px !important;
  gap: 10px 14px !important;
}

.page-hero-meta>span,
.page-hero-meta>a,
.services-hero-meta>span,
.services-hero-meta>a {
  font-size: .74rem !important;
}

/* The form belongs between the main contact section and the three cards. */
.contact-form-section {
  padding-top: 0 !important;
  padding-bottom: 28px !important;
}

.contact-form-panel {
  max-width: 920px;
  margin-inline: auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(23, 2, 7, .08);
}

.contact-form-wrap {
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form-heading {
  margin-bottom: 1.2rem;
}

.contact-form-heading h3 {
  margin: .4rem 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.12;
}

.contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-form .form-field:nth-child(5),
.contact-form .btn,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.contact-form .btn {
  width: fit-content;
}

@media (max-width: 900px) {

  .page-hero,
  .services-hero {
    min-height: 340px !important;
    padding: 94px 0 62px !important;
  }

  .page-hero h1,
  .page-hero h1 span,
  .services-hero h1,
  .services-hero h1 span {
    font-size: clamp(2.2rem, 7vw, 4rem) !important;
  }
}

@media (max-width: 640px) {

  .page-hero,
  .services-hero {
    min-height: 300px !important;
    padding: 78px 0 48px !important;
  }

  .page-hero .container,
  .services-hero .container {
    width: min(100% - 32px, 1180px);
  }

  .page-hero h1,
  .page-hero h1 span,
  .services-hero h1,
  .services-hero h1 span {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    letter-spacing: -.045em !important;
    line-height: 1.08 !important;
  }

  .page-hero p,
  .services-hero-copy>p {
    font-size: .9rem !important;
  }

  .contact-form-panel {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .form-field:nth-child(4),
  .contact-form .btn,
  .contact-form .form-note {
    grid-column: auto;
  }
}



/* =========================================================
   TYPOGRAPHY CONSISTENCY — ALL HERO SECTIONS
   Uses the existing stylesheet; no additional CSS file.
   ========================================================= */

:where(.page-hero, .services-hero) {
  isolation: isolate;
}

:where(.page-hero, .services-hero) h1,
:where(.page-hero, .services-hero) h1 span {
  max-width: 18ch;
  margin-block: 0;
  font-size: clamp(2.35rem, 4.8vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 750;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

:where(.page-hero, .services-hero) p,
:where(.services-hero-copy > p) {
  max-width: 60ch;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.65;
  text-wrap: pretty;
}

:where(.page-hero, .services-hero) .eyebrow,
:where(.page-hero, .services-hero) .crumb {
  letter-spacing: 0.14em;
  line-height: 1.35;
}

:where(.page-hero, .services-hero) .page-hero-meta,
:where(.page-hero, .services-hero) .services-hero-meta {
  line-height: 1.45;
}

@media (max-width: 767.98px) {

  :where(.page-hero, .services-hero) h1,
  :where(.page-hero, .services-hero) h1 span {
    max-width: 15ch;
    font-size: clamp(2.05rem, 9.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  :where(.page-hero, .services-hero) p,
  :where(.services-hero-copy > p) {
    max-width: 42rem;
    font-size: 0.98rem;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.page-hero, .services-hero) * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================
   FINAL HERO TITLE SCALE — COMPACT + WHITE
   Keep all existing styling in this stylesheet.
========================================================= */
:where(.page-hero, .services-hero) h1,
:where(.page-hero, .services-hero) h1 span {
  color: #fff !important;
  max-width: 24ch !important;
  font-size: clamp(2.65rem, 4vw, 4rem) !important;
  font-weight: 750 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  text-wrap: balance;
}

:where(.page-hero, .services-hero) p,
:where(.services-hero-copy > p) {
  color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 900px) {

  :where(.page-hero, .services-hero) h1,
  :where(.page-hero, .services-hero) h1 span {
    font-size: clamp(2.35rem, 6vw, 3.35rem) !important;
  }
}

@media (max-width: 640px) {

  :where(.page-hero, .services-hero) h1,
  :where(.page-hero, .services-hero) h1 span {
    max-width: 20ch !important;
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
    line-height: 1.1 !important;
  }
}


/* ==========================================================================
   MGSS DESIGN SYSTEM — TYPOGRAPHY & GLOBAL CONTROLS
   Refactor layer: intentional shared defaults; existing component styles stay
   in place above this section to avoid removing established UI behavior.
   ========================================================================== */
:root {
  --mgss-red: #c81016;
  --mgss-red-dark: #a90d12;
  --mgss-ink: #20242b;
  --mgss-muted: #5e6875;
  --mgss-surface: #ffffff;
  --mgss-page: #f5f6f7;
  --mgss-border: #e2e5e9;
  --mgss-focus: #2563eb;

  --mgss-font-body: "Noto Sans", "Noto Sans Myanmar", "Yu Gothic", "Meiryo", sans-serif;
  --mgss-font-heading: "Noto Sans", "Noto Sans Myanmar", "Yu Gothic", "Meiryo", sans-serif;

  --mgss-text-xs: .8125rem;
  --mgss-text-sm: .9375rem;
  --mgss-text-base: 1rem;
  --mgss-text-lg: 1.125rem;
  --mgss-h4: 1.125rem;
  --mgss-h3: 1.375rem;
  --mgss-h2: clamp(1.75rem, 2.7vw, 2.25rem);
  --mgss-h1: clamp(2.125rem, 4.4vw, 3.25rem);

  --mgss-leading-tight: 1.12;
  --mgss-leading-heading: 1.2;
  --mgss-leading-body: 1.6;
  --mgss-section-space: clamp(3rem, 6vw, 5.5rem);
  --mgss-radius-sm: .5rem;
  --mgss-radius-md: 1rem;
  --mgss-radius-pill: 999px;
  --mgss-shadow-soft: 0 14px 36px rgba(20, 25, 35, .07);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mgss-font-body);
  color: var(--mgss-ink);
  font-size: var(--mgss-text-base);
  line-height: var(--mgss-leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--mgss-font-heading);
  color: var(--mgss-ink);
  font-weight: 750;
  line-height: var(--mgss-leading-heading);
  letter-spacing: -.025em;
  margin-block: 0 .75em;
  text-wrap: balance;
}

h1,
.h1 {
  font-size: var(--mgss-h1);
  line-height: var(--mgss-leading-tight);
}

h2,
.h2 {
  font-size: var(--mgss-h2);
}

h3,
.h3 {
  font-size: var(--mgss-h3);
}

h4,
.h4 {
  font-size: var(--mgss-h4);
}

p,
li {
  line-height: var(--mgss-leading-body);
}

p {
  margin-block: 0 1rem;
  text-wrap: pretty;
}

small,
.small {
  font-size: var(--mgss-text-sm);
}

button,
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--mgss-radius-pill);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
    box-shadow .2s ease, transform .2s ease;
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--mgss-focus);
  outline-offset: 3px;
}

img,
video {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 640px) {
  :root {
    --mgss-text-base: 1rem;
    --mgss-section-space: 2.75rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* =========================================================
   CEO MESSAGE + VISION / MISSION
   ========================================================= */

.ceo-purpose-section {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--surface, #ffffff);
}


/* ---------------------------------------------------------
   CEO MESSAGE
   --------------------------------------------------------- */

.ceo-message {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    margin-bottom: clamp(5rem, 10vw, 9rem);
}


/* CEO IMAGE */

.ceo-image {
    position: relative;
    border-radius: 20px;
    aspect-ratio: 5 / 5;
}

.ceo-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: inherit;
    pointer-events: none;
}

.ceo-image img {
    width: 100%;
    height: 100%;
    display: block;
    /* object-fit: cover; */
}


/* CEO CONTENT */

.ceo-content {
    max-width: 720px;
}

.ceo-content .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--red, #c8102e);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.ceo-content h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text, #111111);
}

.ceo-content p {
    margin: 0 0 1rem;
    color: var(--text-muted, #666666);
    line-height: 1.9;
    font-size: 1rem;
}


/* SIGNATURE */

.ceo-signature {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--red, #c8102e);
}

.ceo-signature strong {
    font-size: 1.05rem;
    color: var(--text, #111111);
}

.ceo-signature span {
    font-size: 0.85rem;
    color: var(--text-muted, #777777);
}


/* ---------------------------------------------------------
   PURPOSE HEADER
   --------------------------------------------------------- */

.purpose-header {
    max-width: 700px;
    margin-bottom: 3rem;
}

.purpose-header .eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--red, #c8102e);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.purpose-header h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.purpose-header p {
    margin: 0;
    color: var(--text-muted, #666666);
    line-height: 1.8;
}


/* ---------------------------------------------------------
   VISION / MISSION GRID
   --------------------------------------------------------- */

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}


/* CARD */

.purpose-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    min-height: 320px;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--mgss-radius-md, 18px);
    background: #ffffff;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.purpose-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--red, #c8102e);
}

.purpose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    border-color: rgba(200, 16, 46, 0.2);
}


/* NUMBER */

.purpose-icon {
    display: flex;
    align-items: flex-start;
}

.purpose-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f7f7f7;
    color: var(--red, #c8102e);
    font-size: 0.85rem;
    font-weight: 700;
}


/* CARD TEXT */

.purpose-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--red, #c8102e);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.purpose-card h3 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.3;
    color: var(--text, #111111);
}

.purpose-card p {
    margin: 0;
    color: var(--text-muted, #666666);
    line-height: 1.8;
}


/* ---------------------------------------------------------
   REVEAL ANIMATION
   --------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s var(--ease, ease),
        transform 0.7s var(--ease, ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .ceo-message {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 5rem;
    }

    .ceo-image {
        max-width: 520px;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .purpose-card {
        min-height: auto;
    }
}


@media (max-width: 480px) {

    .purpose-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.75rem;
    }

    .purpose-icon span {
        width: 45px;
        height: 45px;
    }

    .ceo-content h2 {
        font-size: 2rem;
    }
}


/* =========================================================
   Shared navigation + language selector consistency
   ========================================================= */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 248, .96);
  border-bottom: 1px solid rgba(185, 11, 11, .12);
  backdrop-filter: blur(14px);
}
.nav-inner { gap: clamp(.75rem, 1.8vw, 1.5rem); }
.nav-links { align-items: center; }
.language-selector {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  min-width: 100px;
  height: 42px;
  padding: 4px;
  border: 1px solid #e8e3e2;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(34, 12, 17, .08);
}
.language-pill-bg {
  position: absolute;
  z-index: -1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #b90b0b;
  box-shadow: 0 4px 10px rgba(185, 11, 11, .2);
  transition: transform .24s ease;
  pointer-events: none;
}
.language-selector:has(.language-btn[data-language="en"][aria-pressed="true"]) .language-pill-bg {
  transform: translateX(100%);
}
.language-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 50%;
  min-width: 0;
  height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #606067;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.language-btn[aria-pressed="true"] { color: #fff; }
.language-btn:hover { transform: translateY(-1px); }
.language-btn:focus-visible { outline: 2px solid #b90b0b; outline-offset: 3px; }
.language-name { display: none !important; }
@media (max-width: 900px) {
  .language-selector { min-width: 96px; height: 40px; }
  .nav-inner { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .language-pill-bg, .language-btn { transition: none; }
}


/* FINAL OVERRIDE: keep the previous Home/About glass language switch on every page. */
.language-selector {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: center !important;
  width: 104px !important;
  min-width: 104px !important;
  height: 40px !important;
  margin-left: 12px !important;
  padding: 3px !important;
  gap: 0 !important;
  border: 1px solid rgba(255,255,255,.85) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 5px 18px rgba(48,17,28,.10) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  isolation: isolate !important;
  overflow: hidden !important;
}
.language-pill-bg {
  position: absolute !important;
  z-index: 1 !important;
  top: 3px !important;
  bottom: 3px !important;
  left: 3px !important;
  width: calc(50% - 3px) !important;
  height: auto !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg,#b20b3b,#850023) !important;
  box-shadow: 0 5px 14px rgba(169,0,47,.28), inset 0 1px 0 rgba(255,255,255,.22) !important;
  pointer-events: none !important;
  transform: translate3d(0,0,0) !important;
  transition: transform .28s cubic-bezier(.34,1.42,.64,1), width .2s ease !important;
}
.language-selector:has(.language-btn[data-language="en"][aria-pressed="true"]) .language-pill-bg {
  transform: translateX(100%) !important;
}
.language-btn {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #514b50 !important;
  font-family: var(--font-sans,"Roboto","Noto Sans JP",Arial,sans-serif) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.language-btn[aria-pressed="true"],
.language-btn[aria-pressed="true"]:hover { color: #fff !important; }
.language-btn:hover { color: #a9002f !important; }

.language-code { display: block !important; margin: 0 !important; padding: 0 !important; font-weight: 800 !important; line-height: 1 !important; }

@media (max-width: 600px) {
  .language-selector { width: 96px !important; min-width: 96px !important; margin-left: 6px !important; }
}
