:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey: #8a8a8a;
  --line: rgba(10, 10, 10, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  transition: background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand img { height: 15px; width: auto; display: block; }
.nav { display: flex; gap: clamp(24px, 4vw, 48px); }
.nav a {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.nav a:hover::after, .nav a[aria-current="page"]::after {
  transform: scaleX(1); transform-origin: left;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px var(--gutter) 80px; position: relative;
}
.hero-logo { width: min(640px, 78vw); height: auto; }
.hero-sub {
  margin-top: 36px; font-size: 12px; letter-spacing: .6em; text-transform: uppercase;
  color: var(--grey); padding-left: .6em;
}
.hero-rule { width: 1px; height: 64px; background: var(--black); margin-top: 56px; opacity: .5; }
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--grey);
}

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; }
.dark { background: var(--black); color: var(--white); }

.eyebrow {
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--grey); display: flex; align-items: center; gap: 16px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }

.statement {
  margin-top: 40px; max-width: 980px;
  font-size: clamp(30px, 4.6vw, 60px); line-height: 1.18; font-weight: 300;
  letter-spacing: -.01em;
}
.statement em { font-style: normal; color: var(--grey); }

.pillars {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.pillar { padding: 40px 32px 0 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.pillar .num { font-size: 12px; letter-spacing: .3em; color: var(--grey); }
.pillar h3 {
  margin-top: 24px; font-size: 15px; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase;
}
.pillar p { margin-top: 16px; color: rgba(255, 255, 255, .62); font-size: 16px; max-width: 32ch; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 {
  font-size: clamp(32px, 5vw, 64px); font-weight: 300; line-height: 1.15; margin-top: 32px;
}
.cta .eyebrow { justify-content: center; }
.cta .eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 48px;
  padding: 20px 40px; border: 1px solid currentColor;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s cubic-bezier(.7, 0, .2, 1);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.btn:hover { color: var(--white); }
.btn:hover::before { transform: scaleY(1); }
.btn .arrow { transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.btn:hover .arrow { transform: translateX(6px); }

/* ---------- Contact page ---------- */
.page-head { padding: clamp(160px, 20vw, 240px) 0 clamp(64px, 8vw, 96px); }
.page-head h1 {
  margin-top: 32px; font-size: clamp(48px, 9vw, 120px); font-weight: 300;
  line-height: 1; letter-spacing: -.02em;
}
.page-head p { margin-top: 32px; max-width: 46ch; color: #555; font-size: 18px; }

.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.contact-item { padding: 48px 32px 56px 0; }
.contact-item + .contact-item { padding-left: 32px; border-left: 1px solid var(--line); }
.contact-item .label {
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--grey);
}
.contact-item .value { margin-top: 20px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; }
.contact-item a.value { display: inline-block; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact-item a.value:hover { border-color: var(--black); }

.contact-band { padding: clamp(80px, 10vw, 140px) 0; }
.contact-band .btn { margin-top: 0; }
.contact-band .btn:hover { color: var(--black); }
.contact-band .btn::before { background: var(--white); }
.contact-band .row {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.contact-band h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 300; line-height: 1.2; max-width: 20ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 72px 0 40px; }
.site-footer .top {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-dark);
}
.site-footer .top img { height: 14px; filter: invert(1); }
.site-footer .bottom {
  padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .5);
}
.site-footer .nav a { color: var(--white); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .15s; }
.reveal.d2 { transition-delay: .3s; }
.reveal.d3 { transition-delay: .45s; }

.hero-logo { animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-sub { animation: fade 1.4s .6s ease both; }
.hero-rule { animation: grow 1.2s 1s cubic-bezier(.7, 0, .2, 1) both; transform-origin: top; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); letter-spacing: .1em; } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .site-header .wrap { height: 68px; }
  .brand img { height: 12px; }
  .nav a { font-size: 11px; letter-spacing: .22em; }
  .pillars, .contact-grid { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 36px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line-dark); }
  .contact-item, .contact-item + .contact-item { padding: 36px 0; border-left: 0; }
  .contact-item + .contact-item { border-top: 1px solid var(--line); }
  .hero-sub { letter-spacing: .45em; }
}

/* ---------- Chinese typography ---------- */
:lang(zh) body, body:lang(zh) {
  font-family: "Jost", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html:lang(zh) .statement, html:lang(zh) .page-head h1, html:lang(zh) .cta h2 { letter-spacing: .02em; line-height: 1.35; }

/* ---------- Language switch ---------- */
.header-right { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.lang { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; }
.lang a { color: var(--grey); transition: color .3s; }
.lang a:hover, .lang a[aria-current="true"] { color: var(--black); }
.lang span { width: 1px; height: 12px; background: var(--line); }

/* ---------- Offices ---------- */
.offices { padding: clamp(80px, 10vw, 140px) 0 0; }
.office-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.office { padding: 48px 32px 8px 0; }
.office + .office { padding-left: 32px; border-left: 1px solid var(--line); }
.office .city { font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; line-height: 1.1; }
.office .country { margin-top: 10px; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--grey); }
.office address { margin-top: 28px; font-style: normal; font-size: 18px; line-height: 1.7; }
.office .map {
  display: inline-block; margin-top: 24px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s;
}
.office .map:hover { border-color: var(--black); }

/* ---------- Form ---------- */
.form-section .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); }
.form-section h2 { margin-top: 32px; font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.15; }
.form-section .intro { margin-top: 24px; color: rgba(255,255,255,.6); max-width: 34ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.field input, .field textarea {
  margin-top: 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark);
  color: var(--white); font: inherit; font-size: 18px; padding: 10px 0; outline: none; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--white); }
.hp { position: absolute; left: -9999px; }
.form .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.form .btn { margin-top: 0; background: transparent; color: var(--white); cursor: pointer; font-family: inherit; }
.form .btn::before { background: var(--white); }
.form .btn:hover { color: var(--black); }
.form .btn[disabled] { opacity: .5; pointer-events: none; }
.form-status { font-size: 15px; color: rgba(255,255,255,.75); }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 20;
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 18px;
  background: var(--black); color: var(--white); border: 1px solid rgba(255,255,255,.25);
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .4s cubic-bezier(.2,.7,.2,1), background .3s, color .3s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--white); color: var(--black); border-color: var(--black); }
.wa-float svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 760px) {
  .office-grid, .form-section .grid, .form { grid-template-columns: 1fr; }
  .office, .office + .office { padding: 36px 0; border-left: 0; }
  .office + .office { border-top: 1px solid var(--line); }
  .lang { font-size: 11px; }
  .nav { gap: 18px; }
  .header-right { gap: 18px; }
  .wa-float { padding: 0; width: 52px; height: 52px; justify-content: center; }
  .wa-float .wa-label { display: none; }
}

/* ---------- v3 tweaks ---------- */
.contact-grid.two { grid-template-columns: 1fr 1fr; }
.page-head .btn { margin-top: 40px; }
.field label { color: rgba(255,255,255,.72); }
.field input, .field textarea { border-bottom-color: rgba(255,255,255,.35); }
.youtian { font-size: 10px; letter-spacing: .45em; color: rgba(255,255,255,.4); }
@media (max-width: 760px) { .contact-grid.two { grid-template-columns: 1fr; } }
.contact-grid.one { grid-template-columns: 1fr; }

/* ---------- Legal ---------- */
.legal-link { font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.4); transition: color .3s; }
.legal-link:hover { color: var(--white); }
.page-head.small h1 { font-size: clamp(36px, 5vw, 64px); }
.page-head.small p { font-size: 15px; }
.legal-body { padding-bottom: clamp(80px, 10vw, 140px); }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.legal-lang { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--grey); padding-bottom: 20px; border-bottom: 1px solid var(--black); }
.legal dl .row { display: grid; grid-template-columns: 2fr 3fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.legal dt { color: var(--grey); }
.legal dd { line-height: 1.6; }
@media (max-width: 760px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal dl .row { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   v4: homepage sections, menu, Youtian, trilingual legal
   ========================================================= */
h1, h2, h3, h4, b, strong, dt, th, button { font-weight: 300; }
.pillar h3, .nav a, .btn { font-weight: 400; } /* Jost 400 = regular, not bold */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
.hero-logo { width: min(520px, 72vw); }
.hero-sub { margin-top: 28px; }
.hero-title {
  margin-top: clamp(48px, 7vh, 80px); font-size: clamp(24px, 3.2vw, 42px); line-height: 1.3;
  animation: fade 1.4s .9s ease both;
}
.hero-text {
  margin-top: 24px; max-width: 54ch; color: #6b6b6b; font-size: clamp(15px, 1.2vw, 17px);
  animation: fade 1.4s 1.2s ease both;
}

/* Section scaffolding */
section[id] { scroll-margin-top: 84px; }
.two-col { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.two-col p { color: rgba(255,255,255,.62); font-size: 18px; max-width: 46ch; }
.section-title { margin-top: 40px; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.15; }
.section-intro { margin-top: 28px; max-width: 56ch; font-size: 18px; color: #555; }
.section-intro.on-dark { color: rgba(255,255,255,.62); margin-top: 40px; }
.pillars.light { border-top-color: var(--line); }
.pillars.light .pillar + .pillar { border-left-color: var(--line); }
.pillars.light .pillar p { color: #555; }
.closing { margin-top: clamp(56px, 8vw, 110px); font-size: clamp(30px, 4.6vw, 60px); line-height: 1.2; }
html:lang(zh-Hans) .closing, html:lang(zh-Hans) .hero-title, html:lang(zh-Hans) .section-title { letter-spacing: .03em; line-height: 1.45; }

/* Menu toggle (tablet / mobile) */
.menu-toggle {
  display: none; background: none; border: 1px solid var(--black); color: var(--black);
  font: inherit; font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  padding: 10px 16px; cursor: pointer;
}
@media (max-width: 1024px) {
  .menu-toggle { display: inline-block; position: relative; z-index: 12; }
  .site-header .nav {
    position: fixed; inset: 0; z-index: 11; background: var(--white);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 28px; padding: 0 var(--gutter);
    opacity: 0; pointer-events: none; transition: opacity .4s ease;
  }
  .site-header .nav a { font-size: clamp(22px, 6vw, 34px); letter-spacing: .06em; text-transform: none; font-weight: 300; }
  body.menu-open .site-header .nav { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .lang { position: relative; z-index: 12; }
  .brand { position: relative; z-index: 12; }
  .two-col { grid-template-columns: 1fr; }
}

/* Footer brand + Youtian animation */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.youtian { display: flex; gap: .55em; font-size: 10px; letter-spacing: 0; color: rgba(255,255,255,.75); height: 14px; }
.youtian span { display: inline-block; opacity: 0; transform: translateY(8px); filter: blur(4px); }
.site-footer.play .youtian span { animation: yt 5s cubic-bezier(.2,.7,.2,1) both; }
.youtian span:nth-child(1) { animation-delay: .00s !important; }
.youtian span:nth-child(2) { animation-delay: .09s !important; }
.youtian span:nth-child(3) { animation-delay: .18s !important; }
.youtian span:nth-child(4) { animation-delay: .27s !important; }
.youtian span:nth-child(5) { animation-delay: .36s !important; }
.youtian span:nth-child(6) { animation-delay: .45s !important; }
.youtian span:nth-child(7) { animation-delay: .54s !important; }
@keyframes yt {
  0%   { opacity: 0; transform: translateY(8px); filter: blur(4px); letter-spacing: 0; }
  14%  { opacity: 1; transform: none; filter: blur(0); }
  70%  { opacity: 1; transform: none; filter: blur(0); }
  100% { opacity: 0; transform: translateY(-6px); filter: blur(4px); }
}
@media (prefers-reduced-motion: reduce) { .youtian { display: none; } }

/* Legal: one trilingual page */
.legal-head { padding: clamp(140px, 16vw, 200px) 0 clamp(40px, 5vw, 64px); }
.company-frame {
  margin-top: 32px; display: inline-block; border: 1px solid var(--black);
  padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 52px);
}
.cf-name { font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .14em; }
.cf-name-gr { margin-top: 8px; font-size: 14px; letter-spacing: .12em; color: #555; }
.cf-meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .22em; color: var(--grey); }
.legal-note { margin-top: 28px; font-size: 12px; line-height: 1.8; color: var(--grey); }
.legal-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 56px); }
.legal-lang { font-size: 10px; padding-bottom: 14px; }
.legal dl .row { grid-template-columns: 1fr 1.6fr; gap: 14px; padding: 11px 0; font-size: 12px; }
.legal dd { line-height: 1.55; }
@media (max-width: 1024px) { .legal-grid { grid-template-columns: 1fr; } }

/* ---------- v5: light Greek / Chinese fonts, aligned legal table ---------- */
:lang(el) { font-family: "Noto Sans", "Jost", Arial, sans-serif; font-weight: 300; }
html:lang(zh-Hans) body, :lang(zh-Hans) { font-family: "Jost", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
.legal-head { padding: clamp(130px, 15vw, 180px) 0 clamp(28px, 3vw, 40px); }
.legal-table { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 3vw, 48px); }
.legal-table .legal-lang { font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--grey); padding-bottom: 14px; border-bottom: 1px solid var(--black); margin: 0; }
.legal-table .cell { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.55; font-weight: 300; }
.legal-table .cell .k { color: var(--grey); }
.legal-table .cell.name { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--black); align-items: center; }
.legal-table .cell.name .v { font-size: 13px; letter-spacing: .08em; }
.legal-table + * { margin: 0; }
@media (max-width: 1024px) {
  .legal-table { grid-template-columns: 1fr; }
  .legal-table > * { order: var(--o); }
  .legal-table .legal-lang:not(:first-child) { margin-top: 48px; }
}
@media (max-width: 760px) { .legal-head .eyebrow { font-size: 9px; letter-spacing: .18em; gap: 10px; } .legal-head .eyebrow::before { width: 20px; } }

/* ---------- v6 ---------- */
.site-footer .youtian.run span { animation: yt 3.6s cubic-bezier(.2,.7,.2,1) both !important; animation-delay: var(--d) !important; }
.legal-table .cell.name { margin-top: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); display: block; }
.legal-table .cell.name .k { display: block; margin-bottom: 6px; }
.legal-table .cell.name .v { display: block; white-space: nowrap; font-size: 14px; letter-spacing: .1em; color: var(--black); }
.site-footer .credit { margin-top: 28px; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.22); text-align: center; }

/* ---------- v7: mobile menu, black full-screen panel ---------- */
@media (max-width: 1024px) {
  /* backdrop-filter traps the fixed menu inside the header; disable it on small screens */
  .site-header, .site-header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.scrolled { background: var(--white); }
  .site-header .nav {
    background: var(--black); color: var(--white);
    justify-content: center; gap: 0; padding: 96px var(--gutter) 48px;
    transform: translateY(-12px);
    transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1);
  }
  body.menu-open .site-header .nav { transform: none; }
  .site-header .nav a {
    width: 100%; color: var(--white); padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    font-size: clamp(24px, 6.5vw, 34px);
  }
  .site-header .nav a:first-child { border-top: 1px solid rgba(255,255,255,.14); }
  .site-header .nav a::after { display: none; }
  .site-header .nav a[aria-current="page"] { color: rgba(255,255,255,.55); }
  body.menu-open .site-header { background: var(--black); border-bottom-color: transparent; }
  body.menu-open .brand img { filter: invert(1); }
  body.menu-open .lang a { color: rgba(255,255,255,.5); }
  body.menu-open .lang a[aria-current="true"] { color: var(--white); }
  body.menu-open .lang span { background: rgba(255,255,255,.3); }
  body.menu-open .menu-toggle { color: var(--white); border-color: var(--white); }
}

/* ---------- v8: footer spacing + credit ---------- */
.footer-brand { gap: 7px; }
.youtian { height: 12px; font-size: 9px; gap: .5em; }
.site-footer .credit { margin-top: 10px; text-align: left; font-size: 8px; letter-spacing: .26em; color: rgba(255,255,255,.25); }
@media (max-width: 760px) {
  .site-footer .bottom > span:first-child { white-space: nowrap; font-size: clamp(8.5px, 2.6vw, 11px); letter-spacing: .03em; }
}
