:root {
  --site-header-height: 116px;
  --site-header-line-y: 112px;
}

.site-header-root {
  position: relative;
  z-index: 50;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--site-header-height);
  overflow: visible;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(
      180deg,
      rgba(235, 232, 226, .96) 0,
      rgba(235, 232, 226, .96) var(--site-header-line-y),
      transparent var(--site-header-line-y),
      transparent 100%
    );
  border: 0;
  border-bottom: 0;
  box-shadow: none;
}

.topnav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--site-header-line-y);
  height: 1px;
  background: rgba(54, 52, 48, .34);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45);
  pointer-events: none;
}

.topnav__inner {
  width: min(1180px, calc(100% - 32px));
  height: var(--site-header-height);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 22px;
  text-decoration: none;
  min-width: 0;
  height: var(--site-header-height);
  position: relative;
  z-index: 1;
}

.brand__mark {
  width: 102px;
  height: 102px;
  margin-top: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(54, 52, 48, .26);
  background:
    linear-gradient(180deg, rgba(251, 248, 241, .95) 0 48%, rgba(105, 100, 92, .20) 48% 51%, rgba(166, 151, 130, .46) 51% 100%),
    radial-gradient(circle at 65% 28%, rgba(255, 255, 255, .72), transparent 22%),
    linear-gradient(135deg, #ddd8ce, #b2aaa0);
  color: #3f3c38;
  box-shadow: 0 12px 24px rgba(40, 37, 32, .16);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -.08em;
  font-size: 34px;
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 30px;
  height: 18px;
  border-radius: 50% 50% 0 0;
  border-top: 2px solid rgba(64, 61, 55, .38);
  opacity: .8;
}

.brand__logo {
  width: 144px;
  height: 144px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  filter: grayscale(.45) sepia(.22) drop-shadow(0 8px 14px rgba(40, 37, 32, .18));
  margin-top: -8px;
  flex: 0 0 auto;
}

.brand__text {
  display: block;
  min-width: 0;
  line-height: 1;
  padding-top: 30px;
}

.brand__title {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(31px, 4.1vw, 55px);
  letter-spacing: -.03em;
  color: var(--ink, #272521);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .68);
  white-space: nowrap;
}

.brand__subtitle {
  display: block;
  margin-top: 44px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(16px, 1.8vw, 24px);
  color: #6d665d;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .34);
  white-space: nowrap;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navlinks a,
.lang-switcher button {
  border: 1px solid rgba(64, 61, 55, .22);
  background: rgba(248, 246, 240, .74);
  color: var(--ink, #272521);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.navlinks a:hover,
.lang-switcher button:hover {
  transform: translateY(-1px);
  background: #fbf8f0;
  border-color: rgba(64, 61, 55, .38);
}

.navlinks a[aria-current="page"],
.lang-switcher button.is-active {
  border-color: rgba(64, 61, 55, .46);
  background: rgba(241, 236, 226, .96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42);
}

.lang-switcher {
  display: inline-flex;
  gap: 4px;
  padding-left: 4px;
}

.lang-switcher button {
  padding: 10px 11px;
  font-size: 13px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
}

.site-3d-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-sizing: border-box;
  background: rgba(47, 45, 41, .92);
  color: #fff;
}

.site-3d-topbar__back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  color: #fff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.site-3d-topbar__back:hover { background: rgba(255, 255, 255, .16); }

.site-3d-lang {
  display: inline-flex;
  gap: 4px;
}

.site-3d-lang button {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  cursor: pointer;
  font: 700 12px/1 Arial, sans-serif;
}

.site-3d-lang button.is-active { background: rgba(255, 255, 255, .24); }

@media (max-width: 780px) {
  :root {
    --site-header-height: 104px;
    --site-header-line-y: 72px;
  }

  .topnav__inner {
    height: auto;
    min-height: var(--site-header-height);
    padding: 0;
    align-items: flex-start;
    gap: 10px;
  }

  .brand { height: var(--site-header-height); gap: 10px; }
  .brand__subtitle { display: none; }
  .brand__title { font-size: 22px; white-space: normal; }
  .brand__text { padding-top: 22px; }
  .brand__mark { width: 66px; height: 66px; margin-top: 3px; font-size: 22px; }
  .brand__logo { width: 90px; height: 90px; margin-top: 3px; }

  .nav-area {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 18px;
  }

  .navlinks { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
  .navlinks a { padding: 9px 11px; font-size: 14px; }
  .lang-switcher button { padding: 9px 10px; font-size: 12px; }
}


/* 20260709_v2 – grayscale header with dark sepia accent (#755338). */
.topnav {
  backdrop-filter: blur(16px);
  background:
    linear-gradient(
      180deg,
      rgba(238, 235, 228, .97) 0,
      rgba(238, 235, 228, .97) var(--site-header-line-y),
      transparent var(--site-header-line-y),
      transparent 100%
    );
}
.topnav::after {
  height: 1px;
  background: rgba(117, 83, 56, .46);
  box-shadow: 0 1px 0 rgba(255,255,255,.56);
}
.brand__mark {
  border-color: rgba(117,83,56,.42);
  background:
    linear-gradient(180deg, rgba(252,250,245,.98) 0 48%, rgba(117,83,56,.38) 48% 51%, rgba(222,216,206,.72) 51% 100%),
    radial-gradient(circle at 63% 27%, rgba(255,238,205,.80), transparent 20%),
    linear-gradient(135deg, #e0ddd6, #a8a197);
  color: #2b2925;
  box-shadow: 0 14px 28px rgba(117,83,56,.18), 0 4px 12px rgba(30,28,25,.10);
}
.brand__mark::after { border-top-color: rgba(117,83,56,.56); }
.brand__title { color: #282622; text-shadow: 0 1px 0 rgba(255,255,255,.72); }
.brand__subtitle { color: #755338; }
.navlinks a,
.lang-switcher button {
  border-color: rgba(117,83,56,.24);
  background: rgba(248,246,240,.78);
  color: #282622;
  box-shadow: 0 8px 18px rgba(117,83,56,.08);
}
.navlinks a:hover,
.lang-switcher button:hover {
  background: #fbfaf6;
  border-color: rgba(117,83,56,.46);
  box-shadow: 0 12px 24px rgba(117,83,56,.12);
}
.navlinks a[aria-current="page"],
.lang-switcher button.is-active {
  border-color: rgba(117,83,56,.60);
  background: rgba(241,236,227,.98);
  color: #755338;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.44), 0 8px 18px rgba(117,83,56,.10);
}
.site-3d-topbar {
  background: rgba(43, 38, 33, .94);
  border-bottom: 1px solid rgba(168,134,95,.35);
}
.site-3d-topbar__back {
  background: rgba(117,83,56,.36);
  border: 1px solid rgba(168,134,95,.32);
}
.site-3d-lang button {
  border-color: rgba(168,134,95,.44);
  background: rgba(117,83,56,.20);
}
.site-3d-lang button.is-active { background: rgba(117,83,56,.62); }
