:root {
  --khoa-bg-warm: #e8dfd3;
  --khoa-bg-warm-light: #f5efe7;
  --khoa-bg-dark: #2a1810;
  --khoa-bg-dark-deep: #1a110b;
  --khoa-accent: #e8893a;
  --khoa-accent-soft: #f5c88a;
  --khoa-text-dark: #2b1a12;
  --khoa-text-muted: #7a5c48;
  --khoa-line: #c9a882;
}

[data-page="top"] {
  background-color: var(--khoa-bg-warm);
  color: var(--khoa-text-dark);
}

#loading.top {
  background-color: var(--khoa-bg-dark-deep);
}

[data-page="top"] section.page_dark {
  background-color: var(--khoa-bg-dark);
  color: #f5efe7;
}

#globalFooter {
  background-color: var(--khoa-bg-dark);
  color: #f5efe7;
}

#globalFooter .gnavi a,
#globalFooter .company,
#globalFooter .copyright {
  color: #f5efe7;
}

#globalFooter .u3 {
  color: rgba(245, 239, 231, 0.72);
}

#globalFooter .gnavi .n2 {
  border-bottom-color: rgba(201, 168, 130, 0.35);
}

#globalFooter .gnavi a span::after {
  background-color: rgba(245, 200, 138, 0.65);
}

#globalFooter .sns .ig img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

#globalFooter .sns .ig:hover img {
  opacity: 1;
}

#globalFooter .logo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

#globalNavi {
  background-color: transparent;
}

@media screen and (max-width: 750px) {
  #globalNavi {
    background-color: var(--khoa-bg-dark-deep);
  }
}

[data-page="top"] section.lt::before,
[data-page="top"] section.rt::before,
[data-page="top"] section.rb::after {
  display: none;
}

.gnavi a span::after {
  background-color: var(--khoa-line);
}

[data-page="top"] .contents .en {
  color: var(--khoa-text-muted);
}

[data-page="top"] #mv .chatchcopy {
  background: linear-gradient(
    145deg,
    rgba(26, 17, 11, 0.88) 0%,
    rgba(58, 32, 18, 0.78) 55%,
    rgba(42, 24, 16, 0.84) 100%
  );
  border: 1px solid rgba(232, 137, 58, 0.22);
}

[data-page="top"] #mv .chatchcopy .s1 {
  color: var(--khoa-accent-soft);
}

#loading.top img,
#globalHeader .logo img,
#mv .logo img,
#globalFooter .logo img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

#globalHeader .logo {
  width: 88px;
}

#globalHeader .logo img {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(42, 24, 16, 0.28);
}

#loading.top img {
  width: 132px;
  height: 132px;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

#mv .logo img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

#globalNavi .sns,
#globalFooter .sns {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
}

#globalFooter .sns .nav_menu {
  display: inline-flex;
  align-items: center;
  align-self: center;
  line-height: 1;
  margin-bottom: 0;
  white-space: nowrap;
}

#globalFooter .gnavi .navi {
  display: flex;
  flex-direction: column;
  row-gap: 17px;
}

#globalFooter .sns .ig:not(.ig-text) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}

#globalNavi .sns .ig-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  margin-top: 0;
  padding: 0;
  flex-shrink: 0;
}

#globalNavi .sns .ig img {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  object-fit: contain;
  color: #2b2b2b;
}

#globalFooter .sns .ig img {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

[data-page="top"] #access .contents a.ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

[data-page="top"] #access .contents a.ig img {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  margin: 0;
}

/* Nav: số + gạch + nhãn trên một hàng, căn giữa dọc */
.gnavi a {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  line-height: 1.25;
  max-width: 100%;
}

.gnavi a span:first-child {
  position: relative;
  flex: 0 0 auto;
  font-size: 14px;
  padding-right: 34px;
  margin-right: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gnavi a span:first-child::after {
  display: block;
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.12em;
  width: 26px;
  height: 2px;
  background-color: var(--khoa-line);
}

.gnavi a span:last-child:not(:only-child) {
  flex: 0 1 auto;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gnavi a span:last-child:not(:only-child)::after {
  display: none !important;
  content: none;
}

[data-page="top"] #mv .chatchcopy {
  max-width: 360px;
  padding: 22px 26px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 32px rgba(26, 17, 11, 0.45);
}

[data-page="top"] #mv .chatchcopy strong {
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

[data-page="top"] #mv .chatchcopy .s1 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-page="top"] #mv .chatchcopy .s2 {
  font-size: 15px;
  line-height: 1.85;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

[data-page="top"] .sec_title::before {
  display: none;
}

[data-page="top"] .sec_title {
  padding-top: 0;
}

@media screen and (min-width: 750px) and (max-width: 1024px) {
  #globalNavi .sns,
  #globalFooter .sns {
    gap: 2.4vw;
  }

  #globalNavi .sns .ig,
  #globalFooter .sns .ig {
    width: 4.2vw;
    height: 4.2vw;
  }

  #globalNavi .sns .ig img {
    width: 3.2vw;
    height: 3.2vw;
  }

  #globalFooter .sns .ig img {
    width: 3.2vw;
    height: 3.2vw;
    filter: brightness(0) invert(1);
    opacity: 0.92;
  }

  .gnavi a span:first-child,
  .gnavi a span:last-child:not(:only-child) {
    font-size: 1.45vw;
  }

  .gnavi a span:first-child {
    padding-right: 3.6vw;
    margin-right: 1.2vw;
  }

  .gnavi a span:first-child::after {
    width: 2.15vw;
  }

  [data-page="top"] #mv .chatchcopy {
    max-width: 38vw;
    padding: 2.2vw 2.6vw;
  }

  [data-page="top"] #mv .chatchcopy strong {
    font-size: 3.2vw;
  }

  [data-page="top"] #mv .chatchcopy .s1 {
    font-size: 1.9vw;
  }

  [data-page="top"] #mv .chatchcopy .s2 {
    font-size: 1.45vw;
  }
}

@media screen and (max-width: 750px) {
  #globalFooter .sns {
    gap: 5.5vw;
  }

  #globalFooter .sns .ig:not(.ig-text) {
    width: 11vw;
    height: 11vw;
  }

  #globalFooter .sns .ig img {
    width: 6.5vw;
    height: 6.5vw;
    filter: brightness(0) invert(1);
    opacity: 0.95;
  }

  #globalFooter .u1 .gnavi {
    border-bottom-color: rgba(201, 168, 130, 0.35);
  }

  #globalHeader .logo {
    width: 16vw;
  }

  #globalHeader .logo img {
    width: 16vw;
    height: 16vw;
    border-radius: 3vw;
  }

  /* Sidebar mobile — một cột căn phải */
  #globalNavi .gnavi {
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 26vw 9.74vw 12vw;
    gap: 6.15vw;
    row-gap: 6.15vw;
    column-gap: 0;
    color: #f5efe7;
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  #globalNavi .gnavi .navi {
    width: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6.15vw;
    row-gap: 6.15vw;
    margin: 0;
    padding: 0;
    border: none;
  }

  #globalNavi .gnavi .n1,
  #globalNavi .gnavi .n2 {
    width: auto;
    align-items: flex-end;
  }

  #globalNavi .gnavi .n2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  #globalNavi .gnavi .unit.n3 {
    width: auto;
    align-self: flex-end;
    padding-top: 0;
    margin-top: 0;
    border-top: 1px solid rgba(247, 247, 247, 0.4);
  }

  #globalNavi .gnavi a {
    color: #f5efe7;
    text-transform: uppercase;
  }

  #globalNavi .gnavi a span:first-child::after {
    background-color: rgba(245, 239, 231, 0.55);
  }

  #globalNavi .gnavi .unit .sns {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6.15vw;
    width: auto;
    margin-top: 6.15vw;
  }

  #globalNavi .sns .nav_menu {
    display: inline-flex !important;
    align-items: center;
    align-self: flex-end;
    font-size: 2.56vw;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f5efe7;
    margin-bottom: 0 !important;
    font-family: inherit;
    line-height: 1.2;
    white-space: nowrap;
    column-gap: 2.56vw;
  }

  #globalNavi .sns .nav_menu::after {
    filter: brightness(0) invert(1);
  }

  #globalNavi .sns .ig-text {
    font-size: 2.56vw;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f5efe7;
    gap: 2.56vw;
    font-family: inherit;
  }

  #globalNavi .sns .ig-text img {
    width: 4.1vw;
    height: 4.1vw;
    filter: brightness(0) invert(1);
  }

  #globalFooter .gnavi {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    column-gap: 4vw;
    row-gap: 5vw;
  }

  #globalFooter .gnavi .navi {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
  }

  .gnavi a span:first-child,
  .gnavi a span:last-child:not(:only-child) {
    font-size: 3.4vw;
  }

  .gnavi a span:first-child {
    padding-right: 7vw;
    margin-right: 2.4vw;
    min-width: 3.4em;
  }

  .gnavi a span:first-child::after {
    width: 5.5vw;
    bottom: 0.1em;
  }

  #globalFooter .u1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  #globalFooter .gnavi {
    width: 100%;
    justify-content: space-between;
    column-gap: 4vw;
  }

  #globalFooter .sns {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    gap: 5vw;
    margin-top: 0;
  }

  #globalFooter .sns .nav_menu {
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin-bottom: 0 !important;
    line-height: 1;
    white-space: nowrap;
  }

  #globalFooter .sns .ig {
    align-self: center;
  }

  [data-page="top"] #mv .chatchcopy {
    left: 50%;
    right: auto;
    bottom: 18vw;
    transform: translateX(-50%);
    max-width: 84vw;
    padding: 4.5vw 5vw;
  }

  [data-page="top"] #mv .chatchcopy strong {
    font-size: 7vw;
  }

  [data-page="top"] #mv .chatchcopy .s1 {
    font-size: 4.2vw;
  }

  [data-page="top"] #mv .chatchcopy .s2 {
    font-size: 3.4vw;
  }
}

[data-page="top"] #concept .sc1 .images {
  align-items: stretch;
  column-gap: 14px;
}

[data-page="top"] #concept .sc1 .images figure {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

[data-page="top"] #concept .sc1 .images figure .parallax {
  width: 100%;
  overflow: hidden;
}

[data-page="top"] #concept .sc1 .images figure .parallax img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transform: scale(1) !important;
}

[data-page="top"] #concept .sc1 .images figure figcaption {
  margin-top: 24px;
  color: rgba(245, 239, 231, 0.78);
}

[data-page="top"] #reserve .sec_gallery {
  align-items: stretch;
}

[data-page="top"] #reserve .sec_gallery .img {
  flex: 1 1 calc(50% - 7px);
  width: auto;
  height: 420px;
  margin: 0;
  overflow: hidden;
}

[data-page="top"] #reserve .sec_gallery .img .parallax {
  width: 100%;
  height: 100%;
}

[data-page="top"] #reserve .sec_gallery .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) !important;
}

@media screen and (min-width: 750px) and (max-width: 1024px) {
  [data-page="top"] #concept .sc1 .images figure .parallax img {
    height: 28vw;
  }

  [data-page="top"] #reserve .sec_gallery .img {
    height: 40vw;
  }
}

@media screen and (max-width: 750px) {
  [data-page="top"] #concept .sc1 .images {
    column-gap: 0;
  }

  [data-page="top"] #concept .sc1 .images figure {
    flex: 1 1 calc(50% - 1.5vw);
  }

  [data-page="top"] #concept .sc1 .images figure .parallax img {
    height: 42vw;
  }

  [data-page="top"] #reserve .sec_gallery .img {
    flex: 1 1 calc(50% - 1.5vw);
    width: calc(50% - 1.5vw);
    height: 52vw;
    margin: 0;
  }

  [data-page="top"] #reserve .sec_gallery .img.i1,
  [data-page="top"] #reserve .sec_gallery .img.i2 {
    margin-left: 0;
    margin-right: 0;
  }
}

/* menu-02: lớn hơn bản gốc nhưng không đè chữ (absolute + right âm) */
[data-page="top"] #menu .contents {
  z-index: 1;
}

[data-page="top"] #menu .contents figure.img {
  position: absolute;
  top: -80px;
  right: -360px;
  width: 300px;
  height: 480px;
  margin-top: 0;
  z-index: 0;
  overflow: hidden;
}

[data-page="top"] #menu .contents figure.img .parallax {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

[data-page="top"] #menu .contents figure.img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) !important;
}

@media screen and (min-width: 750px) and (max-width: 1024px) {
  [data-page="top"] #menu .contents figure.img {
    top: -11vw;
    right: -36vw;
    width: 28vw;
    height: 46vw;
  }
}

@media screen and (max-width: 750px) {
  [data-page="top"] #menu .contents figure.img {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + 9.74vw);
    height: auto;
    margin: 12vw 0 0 -9.74vw;
  }

  [data-page="top"] #menu .contents figure.img img {
    width: 100%;
    height: 117vw;
    object-fit: cover;
  }
}

/* Shop / Không gian — giữ đủ 4 ảnh trong khung nhìn */
[data-page="top"] #shop .sec_inner {
  overflow: visible;
}

[data-page="top"] #shop .img .parallax,
[data-page="top"] #shop .img .parallax img {
  width: 100%;
  height: 100%;
  display: block;
}

[data-page="top"] #shop .img .parallax img {
  object-fit: cover;
  transform: scale(1) !important;
}

[data-page="top"] #shop .img.i1 {
  width: 260px;
  height: 352px;
  margin-left: -480px;
}

@media screen and (min-width: 1281px) {
  [data-page="top"] #shop .img.i1 {
    width: 280px;
    height: 378px;
    margin-left: -520px;
  }
}

[data-page="top"] #access .map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
}

@media screen and (min-width: 750px) and (max-width: 1280px) {
  [data-page="top"] #shop .img.i1 {
    left: 4.88vw;
    margin-left: 0;
    width: 24vw;
    height: 32vw;
  }

  [data-page="top"] #shop .img.i3 {
    left: auto;
    right: 4.88vw;
    margin-left: 0;
    width: 52vw;
    max-width: 520px;
  }
}

@media screen and (max-width: 750px) {
  [data-page="top"] #shop .img {
    overflow: hidden;
  }

  [data-page="top"] #shop .img.i1 {
    left: 0;
    margin-left: 0;
    width: 48vw;
    height: 64vw;
  }

  [data-page="top"] #shop .img.i2 {
    right: 0;
    margin-left: 0;
  }

  [data-page="top"] #shop .img.i3 {
    right: 0;
    margin-left: 0;
    width: calc(100% - 9.74vw);
  }

  [data-page="top"] #shop .img.i4 {
    left: 9.74vw;
    margin-left: 0;
  }
}

/* Vietnamese typography — override Shippori Mincho / Cormorant */
[data-page="top"],
[data-page="top"] button,
[data-page="top"] input,
[data-page="top"] select,
[data-page="top"] textarea,
#loading.top {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
}

[data-page="top"] .gnavi a,
[data-page="top"] .sec_title,
[data-page="top"] #mv .chatchcopy,
[data-page="top"] #mv .chatchcopy strong,
[data-page="top"] .contents h2,
[data-page="top"] #mv nav a,
[data-page="top"] .buttons a span,
[data-page="top"] figcaption,
[data-page="top"] #concept .sc2 .contents h2 {
  font-family: "Playfair Display", "Be Vietnam Pro", Georgia, serif;
}

[data-page="top"] .contents .en {
  font-family: "Be Vietnam Pro", sans-serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

[data-page="top"] .contents .ja,
[data-page="top"] #access .contents p,
[data-page="top"] .company,
[data-page="top"] .copyright {
  font-family: "Be Vietnam Pro", sans-serif;
  line-height: 1.85;
}

[data-page="top"] .gnavi a {
  letter-spacing: 0.04em;
}

/* Language switcher */
#globalHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(42, 24, 16, 0.08);
  border: 1px solid rgba(201, 168, 130, 0.45);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.lang-switcher button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--khoa-text-muted);
  padding: 2px 4px;
  cursor: pointer;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.lang-switcher button:hover,
.lang-switcher button:focus-visible {
  color: var(--khoa-accent);
  outline: none;
}

.lang-switcher button.is-active {
  color: var(--khoa-text-dark);
}

.lang-switcher .lang-sep {
  color: rgba(122, 92, 72, 0.55);
  font-weight: 400;
  user-select: none;
}

html[data-lang="ja"] [data-page="top"],
html[data-lang="ja"] [data-page="top"] button,
html[data-lang="ja"] [data-page="top"] input,
html[data-lang="ja"] [data-page="top"] select,
html[data-lang="ja"] [data-page="top"] textarea,
html[data-lang="ja"] #loading.top,
html[data-lang="ja"] .lang-switcher {
  font-family: "Noto Sans JP", "Be Vietnam Pro", system-ui, sans-serif;
}

html[data-lang="ja"] [data-page="top"] .contents .ja,
html[data-lang="ja"] [data-page="top"] #access .contents p,
html[data-lang="ja"] [data-page="top"] .company,
html[data-lang="ja"] [data-page="top"] .copyright {
  font-family: "Noto Sans JP", "Be Vietnam Pro", sans-serif;
}

html[data-lang="ja"] [data-page="top"] .gnavi a,
html[data-lang="ja"] [data-page="top"] .sec_title,
html[data-lang="ja"] [data-page="top"] #mv .chatchcopy,
html[data-lang="ja"] [data-page="top"] #mv .chatchcopy strong,
html[data-lang="ja"] [data-page="top"] .contents h2,
html[data-lang="ja"] [data-page="top"] #mv nav a,
html[data-lang="ja"] [data-page="top"] .buttons a span,
html[data-lang="ja"] [data-page="top"] figcaption,
html[data-lang="ja"] [data-page="top"] #concept .sc2 .contents h2 {
  font-family: "Playfair Display", "Noto Sans JP", Georgia, serif;
}

@media screen and (min-width: 751px) {
  #globalNavi .sns .nav_menu {
    display: none !important;
  }

  #globalNavi .sns .ig-text span {
    display: none;
  }

  #globalNavi .sns .ig-text {
    width: 36px;
    height: 36px;
    justify-content: center;
  }
}

@media screen and (max-width: 750px) {
  #globalHeader {
    align-items: center;
  }

  .lang-switcher {
    margin-top: 0;
    font-size: 2.8vw;
    padding: 1.6vw 2.4vw;
    gap: 1.2vw;
  }

  .lang-switcher button {
    padding: 0.4vw 0.8vw;
  }
}
