:root {
  --paper: #f6f2e8;
  --paper-warm: #fffdf6;
  --ink: #233e34;
  --muted: #53635a;
  --line: rgba(53, 72, 51, 0.16);
  --shadow: 0 20px 50px rgba(30, 43, 24, 0.1);
  --autumn-gold: #a77a25;
}

body {
  isolation: isolate;
  background: var(--paper);
}

/* Fixed layers keep the landscape in view without stretching it down the page. */
body::before {
  z-index: -2;
  opacity: 1;
  background: #8c915e url('/assets/arxan-autumn-desktop.v20260919.webp') center / cover no-repeat;
  mask-image: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: '';
  background: linear-gradient(180deg, rgba(240, 238, 213, 0.16), rgba(26, 45, 29, 0.17));
}

.topbar {
  min-height: 88px;
  margin-top: 22px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 253, 244, 0.45);
  border-radius: 20px;
  background: rgba(255, 253, 246, 0.92);
  box-shadow: 0 8px 30px rgba(30, 43, 24, 0.05);
}

.language-switch {
  border-color: var(--line);
  background: rgba(226, 229, 211, 0.35);
}

.language-switch a:hover:not([aria-current='page']) {
  background: rgba(35, 62, 52, 0.09);
}

.hero {
  display: block;
  margin: 28px 0;
  padding: 34px 36px 36px;
  border-left: 3px solid var(--autumn-gold);
  border-radius: 4px 24px 24px 4px;
  background: linear-gradient(90deg, rgba(255, 253, 244, 0.94), rgba(255, 253, 244, 0.9) 56%, rgba(255, 253, 244, 0.65) 72%, rgba(255, 253, 244, 0) 100%);
}

.hero-copy { max-width: 720px; }
.hero-mark { display: none; }
.hero .eyebrow {
  margin: 0 0 18px;
  color: #5c663c;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.eyebrow::before { background: var(--autumn-gold); }
h1 { font-size: clamp(34px, 4.1vw, 52px); line-height: 1.22; text-wrap: balance; }
.keep-word { white-space: nowrap; }
html:not([lang='zh-CN']) h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.16; }
.hero p { max-width: 640px; font-size: 15px; }

.section-heading,
.strategy-heading {
  align-items: center;
  padding: 20px 26px;
  border: 1px solid rgba(255, 253, 244, 0.45);
  border-radius: 18px;
  background: rgba(255, 253, 246, 0.9);
}
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(25px, 2.4vw, 30px); }
.strategy-heading { margin-bottom: 16px; }
.strategy-kicker { color: #76632f; }

.business-card {
  border-color: rgba(255, 253, 244, 0.48);
  border-radius: 22px;
  background: rgba(255, 253, 246, 0.88);
  box-shadow: 0 12px 36px rgba(30, 43, 24, 0.08);
  backdrop-filter: none;
}
.business-card::before { height: 3px; }
.business-card:hover { box-shadow: 0 22px 48px rgba(30, 43, 24, 0.12); }
.card-number { color: #5f603b; }
.card-action { border-radius: 12px; border-color: transparent; }
.card-action:hover,
.card-action:focus-visible { background: #375747; border-color: #375747; }
.card-action:focus-visible,
.language-switch a:focus-visible { outline: 3px solid #8b641f; outline-offset: 3px; }
.contact-link:hover,
.contact-link:focus-visible { color: #7b571d; }

.strategy-section { padding-bottom: 40px; }
.strategy-card {
  --strategy-accent: #896322;
  --strategy-soft: rgba(167, 122, 37, 0.09);
  border-color: rgba(255, 253, 244, 0.48);
  border-radius: 20px;
  background: rgba(255, 253, 246, 0.88);
  box-shadow: 0 12px 36px rgba(30, 43, 24, 0.08);
  backdrop-filter: none;
}
.strategy-card.is-futures {
  --strategy-accent: #365d4d;
  --strategy-soft: rgba(54, 93, 77, 0.08);
}
.strategy-card:hover { box-shadow: 0 20px 42px rgba(30, 43, 24, 0.12); }
.strategy-symbol { border-radius: 19px; }
.is-stock .strategy-type { color: #79571e; }

.site-footer {
  border-color: rgba(255, 253, 244, 0.4);
  background: rgba(255, 253, 246, 0.92);
}
.footer-inner { padding: 28px 0; gap: 20px 28px; }
.footer-partner-link,
.footer-friend-link { background: rgba(255, 255, 255, 0.32); }
.footer-inner a:hover,
.footer-inner a:focus-visible { color: #76551e; }
.footer-partner-link:hover,
.footer-partner-link:focus-visible,
.footer-friend-link:hover,
.footer-friend-link:focus-visible { border-color: var(--autumn-gold); background: rgba(255, 255, 255, 0.5); }
.photo-credit {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
}
.photo-credit a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .topbar { padding-inline: 20px; }
  .hero { background: rgba(255, 253, 244, 0.9); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 760px) {
  body::before { background-image: url('/assets/arxan-autumn-mobile.v20260919.webp'); background-position: 58% center; }
  .topbar { margin-top: 14px; border-radius: 16px; }
  .hero { margin: 20px 0; padding: 28px 24px; background: rgba(255, 253, 244, 0.9); }
  .hero .eyebrow { font-size: 10px; letter-spacing: 0.08em; }
  h1 { font-size: clamp(30px, 8.5vw, 42px); }
  html:not([lang='zh-CN']) h1 { font-size: clamp(29px, 7.8vw, 40px); }
  .hero p { font-size: 14px; line-height: 1.85; }
  .business-card { border-radius: 19px; }
  .section-heading, .strategy-heading { padding: 18px 22px; border-radius: 16px; }
  .strategy-section { padding-bottom: 28px; }
  .strategy-heading { align-items: flex-start; }
  .strategy-heading p { line-height: 1.6; }
  .footer-inner { padding-block: 24px; }
}

@media (max-width: 600px) {
  .topbar { gap: 12px; padding: 14px 18px; }
  .strategy-card { gap: 14px; }
  .strategy-card h4 { font-size: 21px; }
  .photo-credit { font-size: 10px; }
}
