:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-muted: #f2f0eb;
  --ink: #142238;
  --ink-soft: #2f3949;
  --muted: #69717c;
  --line: rgba(20, 34, 56, 0.12);
  --navy: #10243f;
  --navy-2: #1d385f;
  --gold: #a1783f;
  --sage: #65766a;
  --shadow-border:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 1px 2px -1px rgba(0, 0, 0, 0.06),
    0 14px 32px -24px rgba(16, 36, 63, 0.42);
  --shadow-border-hover:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 2px 4px -2px rgba(0, 0, 0, 0.08),
    0 18px 40px -24px rgba(16, 36, 63, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    "Noto Sans TC",
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

h1,
h2,
h3,
p,
dl {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 720;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--navy);
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 15px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 650;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition-property: color;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.site-nav a:hover {
  color: var(--gold);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: #ebe8df;
}

.language-button {
  min-width: 48px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  transition-property: background-color, color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.language-button:hover,
.language-button.is-active {
  color: var(--navy);
  background: var(--surface);
}

.language-button:active,
.button:active {
  scale: 0.96;
}

.hero {
  position: relative;
  min-height: calc(100svh - 73px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(88px, 12vw, 150px) clamp(20px, 6vw, 84px) clamp(72px, 10vw, 110px);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/images/hotel-exterior.jpg");
  background-position: center right;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.88) 38%, rgba(251, 250, 247, 0.4) 64%, rgba(251, 250, 247, 0.12) 100%),
    linear-gradient(180deg, rgba(251, 250, 247, 0.08), rgba(251, 250, 247, 0.52));
}

.hero-inner {
  max-width: 1180px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  transition-property: background-color, color, box-shadow, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 28px -18px rgba(16, 36, 63, 0.8);
}

.button.primary:hover {
  background: var(--navy-2);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-border);
}

.button.secondary:hover {
  box-shadow: var(--shadow-border-hover);
}

.section {
  scroll-margin-top: 120px;
  padding: clamp(72px, 9vw, 116px) clamp(20px, 6vw, 84px);
}

.split-layout,
.facility-layout,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.copy-block {
  color: var(--ink-soft);
  font-size: 18px;
}

.copy-block p:last-child,
.section-heading p:last-child,
.facility-intro,
.contact-inner p:last-child {
  margin-bottom: 0;
}

.business-section,
.company-section {
  background: var(--surface);
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.business-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-border);
  transition-property: box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.business-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-border-hover);
}

.business-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.business-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
}

.business-card-body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.capability-panel {
  max-width: 1180px;
  margin: clamp(42px, 6vw, 70px) auto 0;
  padding-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--line);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow-border);
}

.capability-card {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 18px;
  padding: clamp(22px, 2.8vw, 32px);
  background: #fbfaf7;
}

.capability-card-rule {
  width: 3px;
  min-height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(101, 118, 106, 0.34));
}

.capability-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.facility-section {
  background: var(--surface-muted);
}

.facility-copy {
  position: sticky;
  top: 116px;
}

.facility-intro {
  color: var(--ink-soft);
  font-size: 18px;
}

.facility-list,
.company-table,
.contact-list {
  margin: 28px 0 0;
}

.facility-list div,
.company-table div,
.contact-list div {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.facility-list div:last-child,
.company-table div:last-child,
.contact-list div:last-child {
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--ink);
  font-weight: 760;
}

dd {
  margin: 0;
  color: var(--muted);
}

.facility-images {
  display: grid;
  gap: 18px;
}

.facility-images img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-border);
  object-fit: cover;
}

.facility-image-main {
  aspect-ratio: 16 / 9;
}

.facility-image-secondary {
  aspect-ratio: 16 / 8;
}

.company-table {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.company-table div {
  grid-template-columns: minmax(160px, 0.34fr) 1fr;
}

.contact-section {
  color: #fff;
  background: var(--navy);
}

.contact-section h2,
.contact-section dt {
  color: #fff;
}

.contact-section .eyebrow {
  color: #d9b978;
}

.contact-section p,
.contact-section dd {
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  margin-top: 0;
}

.contact-list div {
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding: 24px clamp(20px, 6vw, 84px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  max-width: 1180px;
  margin: 0 auto;
}

[data-i18n],
[data-i18n-alt] {
  transition-property: opacity;
  transition-duration: 120ms;
  transition-timing-function: ease-out;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 18px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .split-layout,
  .facility-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .facility-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 8px 12px;
    padding: 12px 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    font-size: 14px;
  }

  .brand span:last-child {
    font-size: 15px;
  }

  .language-switch {
    gap: 2px;
    padding: 3px;
  }

  .language-button {
    min-width: 38px;
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .hero {
    min-height: 680px;
    align-items: end;
    padding: 96px 18px 58px;
  }

  h1 {
    font-size: clamp(34px, 9.4vw, 38px);
  }

  html[lang="en"] h1 {
    font-size: clamp(30px, 8.7vw, 34px);
  }

  html[lang="zh"] h1 {
    font-size: clamp(34px, 9.2vw, 38px);
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.22) 0%, rgba(251, 250, 247, 0.72) 40%, rgba(251, 250, 247, 0.98) 78%),
      linear-gradient(90deg, rgba(251, 250, 247, 0.68), rgba(251, 250, 247, 0.18));
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    scroll-margin-top: 214px;
    padding: 64px 18px;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .capability-card-rule {
    width: 42px;
    min-height: 3px;
  }

  .facility-list div,
  .company-table div,
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .facility-image-secondary {
    aspect-ratio: 4 / 3;
  }
}
