:root {
  --night: #071019;
  --night-soft: #102130;
  --paper: #f4efe6;
  --paper-soft: #fbf7f0;
  --line: rgba(19, 31, 45, 0.12);
  --line-light: rgba(251, 247, 240, 0.1);
  --accent: #c9a46a;
  --accent-strong: #b57f35;
  --text: #1a2734;
  --text-soft: #516170;
  --text-muted: #708092;
  --white-soft: rgba(251, 247, 240, 0.74);
  --shadow-strong: 0 30px 80px rgba(7, 16, 25, 0.22);
  --shadow-card: 0 18px 46px rgba(12, 20, 30, 0.12);
  --font-sans: "Source Sans 3", "Noto Sans SC", sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(201, 164, 106, 0.12), transparent 28%),
    linear-gradient(180deg, #e7ddce 0%, #f6f1e8 30%, #efe7da 100%);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.028) 0, rgba(7, 16, 25, 0.028) 1px, transparent 1px, transparent 104px),
    linear-gradient(180deg, rgba(251, 247, 240, 0.08), transparent 38%);
  opacity: 0.4;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: rgba(181, 127, 53, 0.22);
}

:focus-visible {
  outline: 2px solid rgba(181, 127, 53, 0.78);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.masthead {
  position: relative;
  z-index: 2;
  padding: 1.35rem 0 0;
}

.masthead-inner,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  display: grid;
  align-content: center;
  gap: 0.22rem;
  padding: 0.65rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(201, 164, 106, 0.24);
  background:
    radial-gradient(circle at 28% 22%, rgba(201, 164, 106, 0.22), transparent 60%),
    rgba(251, 247, 240, 0.06);
  box-shadow: inset 0 1px 0 rgba(251, 247, 240, 0.08);
}

.brand-mark span {
  display: block;
  height: 0.22rem;
  border-radius: 999px;
  background: var(--paper-soft);
}

.brand-mark .broken {
  position: relative;
  background: transparent;
}

.brand-mark .broken::before,
.brand-mark .broken::after {
  content: "";
  position: absolute;
  top: 0;
  width: 41%;
  height: 100%;
  border-radius: 999px;
  background: var(--paper-soft);
}

.brand-mark .broken::after {
  right: 0;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.04;
  letter-spacing: 0.03em;
  color: var(--night);
}

.brand-subtitle {
  margin-top: 0.18rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.lang-switch,
.mail-chip,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 999px;
}

.lang-switch,
.mail-chip {
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(19, 31, 45, 0.16);
  background: rgba(251, 247, 240, 0.68);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-card);
}

.lang-switch:hover,
.lang-switch:focus-visible,
.mail-chip:hover,
.mail-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(181, 127, 53, 0.34);
}

.hero,
.section-dark,
.site-footer {
  position: relative;
  overflow: hidden;
}

.hero::before,
.section-dark::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 247, 240, 0.04) 0, rgba(251, 247, 240, 0.04) 1px, transparent 1px, transparent 120px),
    linear-gradient(180deg, rgba(251, 247, 240, 0.08), transparent 34%);
  opacity: 0.28;
}

.hero {
  margin-top: 1rem;
  padding: clamp(4.4rem, 8vw, 6.8rem) 0 3.8rem;
  background:
    radial-gradient(circle at 84% 20%, rgba(212, 108, 71, 0.14), transparent 22%),
    radial-gradient(circle at 16% 16%, rgba(201, 164, 106, 0.14), transparent 30%),
    linear-gradient(130deg, #08111b 0%, #0f1e2d 46%, #152a3d 100%);
  color: var(--paper-soft);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -10rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 240, 0.08);
  box-shadow: 0 0 0 3rem rgba(251, 247, 240, 0.02), 0 0 0 7rem rgba(251, 247, 240, 0.015);
}

.hero-grid,
.content-grid,
.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.hero-grid {
  width: min(100%, 1100px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.02fr) minmax(290px, 0.74fr);
  gap: 1.5rem;
  align-items: start;
}

.content-grid,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.eyebrow,
.section-tag,
.card-kicker,
.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: currentColor;
}

.eyebrow {
  margin: 0 0 1rem;
}

.hero h1,
.hero-card h2,
.section-title,
.content-panel h2,
.contact-card h2,
.form-card h2,
.topic-card h3,
.footer-title {
  margin: 0;
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3.1rem, 6.5vw, 5.4rem);
  line-height: 0.9;
  color: var(--paper-soft);
}

.hero-title-line {
  display: block;
}

.hero-deck {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.42;
  color: rgba(251, 247, 240, 0.92);
}

.hero-body {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: rgba(251, 247, 240, 0.72);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: linear-gradient(180deg, #d8b377 0%, #c49752 100%);
  color: var(--night);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow:
    0 16px 36px rgba(7, 16, 25, 0.22),
    inset 0 1px 0 rgba(251, 247, 240, 0.42);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-card,
.topic-card,
.content-panel,
.form-card {
  position: relative;
  border-radius: 1.45rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(251, 247, 240, 0.97), rgba(239, 231, 219, 0.94));
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.hero-card,
.content-panel,
.form-card {
  padding: 1.45rem;
}

.hero-card {
  max-width: 35rem;
  justify-self: end;
  align-self: center;
}

.hero-card::after,
.content-panel::after,
.form-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  right: 1.45rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.55;
}

.hero-card h2,
.content-panel h2,
.contact-card h2 {
  font-size: clamp(1.95rem, 3.4vw, 2.65rem);
  line-height: 1.02;
}

.hero-card p,
.content-panel p,
.topic-card p,
.section-copy,
.contact-card p,
.form-card p {
  margin: 0.72rem 0 0;
}

.point-list,
.method-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.point-list li,
.method-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text);
}

.point-list li::before,
.method-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent-strong);
}

.section {
  position: relative;
  padding: clamp(3.7rem, 6vw, 5.2rem) 0;
}

.section-dark {
  background:
    radial-gradient(circle at 84% 20%, rgba(201, 164, 106, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(8, 17, 27, 0.98), rgba(16, 30, 44, 0.96));
  color: var(--paper-soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}

.section-head > div {
  display: grid;
  gap: 0.8rem;
}

.section-title {
  max-width: 14ch;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.04;
  color: var(--text);
}

.section-copy {
  max-width: 36rem;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.light .section-title {
  color: var(--paper-soft);
}

.light .section-copy {
  color: var(--white-soft);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.topic-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-card {
  padding: 1rem 1.05rem;
}

.topic-card h3 {
  font-size: 1.6rem;
  line-height: 0.98;
  color: var(--text);
}

.content-grid {
  margin-top: 1rem;
}

.balanced-panels {
  align-items: stretch;
}

.balanced-panels > .content-panel {
  height: 100%;
}

.content-panel .panel-tag {
  margin-bottom: 0.95rem;
}

.email-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  text-align: left;
}

.email-panel .panel-tag {
  justify-content: flex-start;
  margin-bottom: 0;
}

.email-panel-body {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  min-height: 100%;
  padding-top: 1.3rem;
}

.content-panel .email-panel-heading {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.22rem, 1.9vw, 1.64rem);
  line-height: 1.16;
  white-space: nowrap;
}

.email-panel-address {
  align-self: center;
  margin: 0 auto;
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.18;
  font-weight: 700;
  color: var(--night);
  text-align: center;
  user-select: all;
  word-break: break-all;
}

body[data-lang="zh"] .content-panel .email-panel-heading {
  font-size: clamp(1.22rem, 1.9vw, 1.64rem);
  line-height: 1.16;
  letter-spacing: 0;
  white-space: nowrap;
}

.contact-card {
  position: relative;
  padding: 1.45rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(251, 247, 240, 0.08);
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 164, 106, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(8, 17, 27, 0.98), rgba(18, 31, 45, 0.96));
  color: var(--paper-soft);
  box-shadow: var(--shadow-strong);
}

.contact-card p {
  color: var(--white-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(19, 31, 45, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(251, 247, 240, 0.24);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(181, 127, 53, 0.52);
  box-shadow:
    0 0 0 4px rgba(201, 164, 106, 0.15),
    inset 0 1px 0 rgba(251, 247, 240, 0.32);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.form-note,
.form-status {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.form-status {
  min-height: 1.5em;
}

.site-footer {
  padding: 2.8rem 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 164, 106, 0.12), transparent 22%),
    linear-gradient(180deg, #08111b 0%, #0e1b29 100%);
  color: var(--white-soft);
  border-top: 1px solid rgba(251, 247, 240, 0.08);
}

.footer-title {
  color: var(--paper-soft);
  font-size: 1.9rem;
  line-height: 1;
}

.footer-copy p {
  margin: 0.35rem 0 0;
}

.footer-chip {
  border-color: var(--line-light);
  background: rgba(251, 247, 240, 0.06);
  color: var(--paper-soft);
  box-shadow: inset 0 1px 0 rgba(251, 247, 240, 0.08);
}

.footer-chip:hover,
.footer-chip:focus-visible {
  border-color: rgba(201, 164, 106, 0.38);
}

body[data-lang="zh"] .brand-subtitle,
body[data-lang="zh"] .lang-switch,
body[data-lang="zh"] .button,
body[data-lang="zh"] .eyebrow,
body[data-lang="zh"] .section-tag,
body[data-lang="zh"] .card-kicker,
body[data-lang="zh"] .panel-tag,
body[data-lang="zh"] .field span {
  letter-spacing: 0.08em;
  text-transform: none;
}

body[data-lang="zh"] .section-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: 0;
}

body[data-lang="zh"] .content-panel h2 {
  font-size: clamp(2rem, 3.9vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-card,
  .content-panel,
  .form-card {
    animation: rise-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-card {
    animation-delay: 0.08s;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .content-grid,
  .contact-layout,
  .topic-grid-wide {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    width: 100%;
  }

  .hero-card {
    max-width: none;
    justify-self: stretch;
    align-self: start;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1180px, calc(100% - 1.25rem));
  }

  .content-panel .email-panel-heading {
    white-space: normal;
  }

  body[data-lang="zh"] .content-panel .email-panel-heading {
    white-space: normal;
  }

  .masthead-inner,
  .footer-grid,
  .form-foot {
    align-items: start;
    flex-direction: column;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
    max-width: none;
  }

  .section-head > div {
    gap: 0.7rem;
  }

  .hero-card,
  .content-panel,
  .form-card,
  .contact-card {
    padding: 1.2rem;
  }

  .hero-card::after,
  .content-panel::after,
  .form-card::after,
  .contact-card::after {
    left: 1.2rem;
    right: 1.2rem;
  }

  .form-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }

  .hero-copy,
  .hero-card,
  .content-panel,
  .form-card {
    animation: none;
  }
}
