:root {
  --background: #fbf9f3;
  --foreground: #263044;
  --muted: #687080;
  --border: #ddd9cf;
  --secondary: #f1eee5;
  --navy: #192a46;
  --cream: #fbf8ef;
  --gold: #d6a833;
  --gold-text: #c39016;
  --container: min(1280px, calc(100% - 48px));
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
}
body.menu-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: white;
  color: var(--navy);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid rgb(221 217 207 / 55%);
  background: rgb(251 249 243 / 82%);
  backdrop-filter: blur(12px);
}
.nav-container {
  width: var(--container);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  color: var(--foreground);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 48px;
}
.nav-panel ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-panel li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-panel li a:hover,
.nav-panel li a:focus-visible {
  color: var(--foreground);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--foreground);
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.menu-backdrop {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-1px);
}
.button-primary {
  padding: 10px 16px;
  color: var(--cream);
  background: var(--navy);
}
.button-primary:hover {
  background: #263b5d;
}
.button-gold {
  color: #2e2a1e;
  background: var(--gold);
}
.button-gold:hover {
  background: #e1b84d;
}
.button-outline {
  border-color: rgb(251 248 239 / 35%);
  color: var(--cream);
  background: transparent;
}
.button-outline:hover {
  background: rgb(251 248 239 / 10%);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  background: var(--navy);
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  background: linear-gradient(
    90deg,
    rgb(25 42 70 / 94%),
    rgb(25 42 70 / 76%) 46%,
    rgb(25 42 70 / 42%)
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 96px;
}
.hero-content > * {
  max-width: 768px;
}
.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker.gold {
  color: var(--gold);
}
h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
}
h1 {
  margin: 24px 0 0;
  color: var(--cream);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hero-content > p:not(.kicker) {
  max-width: 576px;
  margin: 24px 0 0;
  color: rgb(251 248 239 / 80%);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.section {
  padding-block: 112px;
  scroll-margin-top: 72px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
h2 {
  margin: 16px 0 0;
  color: var(--foreground);
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.prose-large {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.prose-large p {
  margin: 0;
}
.prose-large p + p {
  margin-top: 24px;
}

.focus-section {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--secondary), transparent 70%);
}
.section-heading {
  max-width: 672px;
  margin-inline: auto;
  text-align: center;
}
.section-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.focus-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(38 48 68 / 7%);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.focus-card:hover {
  box-shadow: 0 12px 28px rgb(38 48 68 / 10%);
  transform: translateY(-2px);
}
.gold-rule {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--gold);
  transition: width 0.2s;
}
.focus-card:hover .gold-rule {
  width: 80px;
}
.focus-card h3 {
  margin: 24px 0 0;
  color: var(--foreground);
  font-size: 20px;
}
.focus-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hong-kong-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.hong-kong-grid picture {
  display: block;
}
.hong-kong-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgb(38 48 68 / 14%);
}
.hong-kong-intro {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.advantage-list {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.advantage-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.5;
}
.advantage-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: '';
}

.site-footer {
  padding: 88px 0 32px;
  color: var(--cream);
  background: var(--navy);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.footer-grid h2 {
  margin: 0;
  color: var(--cream);
  font-size: 38px;
}
.footer-grid > div:first-child > p {
  max-width: 450px;
  margin: 16px 0 0;
  color: rgb(251 248 239 / 70%);
  line-height: 1.65;
}
.contact-details {
  display: grid;
  gap: 24px;
}
.contact-details a {
  display: inline-block;
  margin-top: 6px;
  color: var(--cream);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-details a:hover {
  color: var(--gold);
}
.contact-details address {
  margin-top: 6px;
  color: rgb(251 248 239 / 80%);
  font-style: normal;
  line-height: 1.6;
}
.disclaimer {
  max-width: 850px;
  margin: 56px 0 0;
  color: rgb(251 248 239 / 45%);
  font-size: 12px;
  line-height: 1.65;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgb(251 248 239 / 10%);
  color: rgb(251 248 239 / 55%);
  font-size: 14px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom p:last-child {
  color: rgb(251 248 239 / 38%);
}
.footer-bottom div {
  display: flex;
  gap: 10px;
}
.footer-bottom a {
  text-underline-offset: 3px;
}

.reveal {
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--cream);
  background: var(--navy);
  text-align: center;
}
.error-page main {
  max-width: 520px;
}
.error-page h1 {
  color: var(--cream);
}
.error-page p:not(.kicker) {
  margin: 20px 0 32px;
  color: rgb(251 248 239 / 70%);
}
.legal-page {
  min-height: 100vh;
  color: var(--foreground);
  background: var(--background);
}
.legal-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.legal-main {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
  padding: 96px 0;
}
.legal-main h1 {
  margin: 18px 0 32px;
  color: var(--foreground);
  font-size: clamp(44px, 7vw, 64px);
}
.legal-main h2 {
  margin-top: 40px;
  font-size: 25px;
}
.legal-main p {
  color: var(--muted);
  line-height: 1.75;
}
.legal-main .button {
  margin-top: 30px;
}

@media (max-width: 1050px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .hong-kong-grid,
  .footer-grid {
    gap: 56px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 32px, 620px);
  }
  .nav-container {
    min-height: 64px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-panel {
    position: fixed;
    z-index: 2;
    inset: 64px 0 auto;
    display: block;
    padding: 24px;
    border-top: 1px solid var(--border);
    background: rgb(251 249 243 / 98%);
    box-shadow: 0 14px 25px rgb(38 48 68 / 10%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s,
      visibility 0.2s,
      transform 0.2s;
  }
  .site-header.open .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-panel ul {
    display: grid;
    gap: 0;
  }
  .nav-panel li a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
  }
  .nav-cta {
    width: 100%;
    margin-top: 20px;
  }
  .menu-backdrop {
    position: fixed;
    z-index: 1;
    inset: 64px 0 0;
    width: 100%;
    height: calc(100vh - 64px);
    border: 0;
    background: rgb(25 42 70 / 35%);
  }
  .site-header.open .menu-backdrop {
    display: block;
  }
  .site-header.open .menu-toggle > span:nth-last-child(3) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.open .menu-toggle > span:nth-last-child(2) {
    opacity: 0;
  }
  .site-header.open .menu-toggle > span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero {
    min-height: 760px;
    padding-top: 64px;
  }
  .hero-media img {
    object-position: 60% center;
  }
  .hero-overlay {
    background: linear-gradient(90deg, rgb(25 42 70 / 94%), rgb(25 42 70 / 62%));
  }
  h1 {
    font-size: clamp(44px, 12vw, 58px);
  }
  .section {
    padding-block: 80px;
  }
  .about-grid,
  .hong-kong-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hong-kong-grid picture {
    order: 2;
  }
  .site-footer {
    padding-top: 72px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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