/* Orion Residence subpages, in the homepage's own world (src/index.css): the tower at blue hour.
   Bone stone ground, blue-black night ink, one restrained bronze from the lit facade; Noto Serif light for every
   heading, Hanken Grotesk for text, Noto Serif/Sans SC for Chinese. Hairline rules instead of boxes; night panels
   only for the photo hero, the level directory, the map frame and the closing band, as on the homepage.
   Structure follows the Ren / CloutHaus subpages: photo hero with figures, ruled tables, plan sheets, FAQ, photo CTA. */
:root {
  --bone: #f3f1ec;
  --bone-2: #e9e6df;
  --ink: #11141c;
  --ink-2: #1b2030;
  --night: #0b1020;
  --stone: #565860;
  --line: #d6d3cb;
  --bronze: #a9824a;
  --bronze-deep: #86642f;
  --cream: #ede8dc;
  --sheet: #f0f1f1;
  --cr-90: rgba(237, 232, 220, .9);
  --cr-75: rgba(237, 232, 220, .75);
  --cr-30: rgba(237, 232, 220, .3);
  --cr-15: rgba(237, 232, 220, .15);
  --serif: "Noto Serif", "Noto Serif SC", Georgia, serif;
  --sans: "Hanken Grotesk", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bone);
  scrollbar-color: var(--line) var(--bone);
}
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  caret-color: var(--bronze);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.zh body { line-height: 1.85; }
::selection { background: var(--ink); color: var(--cream); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 80px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; }
.zh h1, .zh h2, .zh h3 { letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere; }

/* ---- The homepage's one button: a hairline box that fills with ink ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid currentColor; font: 500 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.zh .btn { letter-spacing: .08em; font-size: .85rem; }
.btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn.on-dark:hover { background: var(--cream); color: var(--night); border-color: var(--cream); }

/* ---- Header: ORION wordmark, pages, EN / 中文, Request viewing — cream over the photo, as on the homepage ---- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--cream); }
.bar { display: flex; align-items: center; gap: 36px; height: 80px; }
.brand { margin-right: auto; font: 300 1.25rem/1 var(--serif); letter-spacing: .18em; text-decoration: none; }
.links { display: flex; gap: 32px; font-size: .82rem; letter-spacing: .02em; }
.zh .links { font-size: .9rem; letter-spacing: .06em; }
.links a, .lang a { padding: 8px 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 8px; transition: text-decoration-color .3s var(--ease); }
.links a:hover, .lang a:hover { text-decoration-color: currentColor; }
.links a[aria-current] { text-decoration-color: var(--bronze); }
.lang { display: flex; align-items: center; gap: 6px; font-size: .8rem; }
.lang a { opacity: .8; }
.lang a[aria-current] { opacity: 1; text-decoration-color: var(--bronze); }
.lang span { opacity: .4; }
.top .btn { padding: 9px 18px; }
.menu { display: none; }

/* ---- Hero: the developer render under the homepage's night veil, figures ruled along its foot ---- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 92vh; min-height: 92svh; background: var(--night) var(--photo) var(--pos, center) / cover no-repeat; color: var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(11, 16, 32, .84), rgba(11, 16, 32, .55) 46%, rgba(11, 16, 32, .18) 78%), linear-gradient(to top, rgba(11, 16, 32, .82), rgba(11, 16, 32, 0) 62%), linear-gradient(to bottom, rgba(11, 16, 32, .55), rgba(11, 16, 32, 0) 22%); }
.hero .wrap { width: 100%; padding-top: 150px; padding-bottom: 40px; }
.crumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: .8rem; letter-spacing: .04em; color: var(--cr-75); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 5px; }
.crumb span[aria-hidden] { opacity: .5; }
.hero-copy { max-width: 46rem; }
h1 { margin: 0 0 28px; font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
.zh h1 { font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.3; }
.lead { margin: 0; max-width: 38rem; font-size: 1.05rem; line-height: 1.7; color: var(--cr-90); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--cr-30); font-variant-numeric: lining-nums tabular-nums; }
.facts b { display: block; margin-bottom: 4px; font: 300 clamp(1.6rem, 2.6vw, 2.3rem)/1.15 var(--serif); }
.facts span { display: block; font-size: .82rem; line-height: 1.5; color: var(--cr-75); }

/* ---- Sections: full-bleed bone bands, every other one on bone-2, ruled by a hairline ---- */
.sec { padding: 120px 0; border-top: 1px solid var(--line); }
.sec:nth-child(even) { background: var(--bone-2); }
h2 { margin: 0 0 24px; max-width: 20ch; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.1; text-wrap: balance; }
.zh h2 { max-width: 16em; font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.3; }
.split .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
.split h2 { grid-column: 1 / span 5; }
.split .sec-body { grid-column: 7 / -1; padding-top: 10px; }
.full h2 { margin-bottom: 48px; }
.sec p { margin: 0 0 18px; max-width: 62ch; color: rgba(17, 20, 28, .82); }
.sec p:last-child { margin-bottom: 0; }
.sec p.note, .sec p.intro { margin-top: 28px; max-width: 70ch; font-size: .95rem; color: var(--stone); }
.sec p.intro { margin: -20px 0 56px; font-size: 1.02rem; color: rgba(17, 20, 28, .82); }
.sec p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 5px; transition: color .2s var(--ease); }
.sec p a:hover { color: var(--bronze-deep); }

/* ---- Tables: ink top rule, hairline rows, tabular figures ---- */
.tablewrap { overflow-x: auto; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; font-variant-numeric: lining-nums tabular-nums; }
th, td { padding: 15px 24px 15px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th:last-child, td:last-child { padding-right: 0; }
th { font: 500 .72rem/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.zh th { font-size: .8rem; letter-spacing: .08em; }
td { color: rgba(17, 20, 28, .8); }
td:first-child { color: var(--ink); font-family: var(--serif); font-size: 1rem; white-space: nowrap; }
.tablewrap.wide table { min-width: 860px; }
.walk td:nth-child(n+2), .walk th:nth-child(n+2) { white-space: nowrap; width: 1%; }
.zh td:first-child { white-space: normal; min-width: 5em; }

/* ---- Plan sheets: the developer's layout sheet on its own grey paper, spec ruled beneath ---- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 48px; }
.plan { display: flex; flex-direction: column; }
.sheet { position: relative; margin: 0 0 26px; aspect-ratio: 4 / 5; background: var(--sheet); overflow: hidden; }
.sheet a { position: absolute; inset: 0; cursor: zoom-in; }
.sheet img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }
.plan h3 { margin: 0 0 6px; font-size: 1.75rem; line-height: 1.15; }
.plan .spec { margin: 0 0 14px; font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--stone); }
.plan .side { display: flex; gap: 12px; margin: 0 0 14px; font-size: .92rem; color: var(--ink); }
.plan .side span, .fit dt { flex: none; padding-top: 2px; font: 500 .7rem/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-deep); }
.zh .plan .side span, .zh .fit dt { font-size: .78rem; letter-spacing: .06em; }
.ruled { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ruled li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.6; color: rgba(17, 20, 28, .8); }
.sec-body .ruled { margin-bottom: 26px; }
.fit { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 18px 0 0; font-size: .92rem; line-height: 1.6; }
.fit dd { margin: 0; color: var(--ink); }
.action { align-self: flex-start; margin-top: auto; padding-top: 22px; font-size: .84rem; letter-spacing: .04em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 6px; transition: color .2s var(--ease); }
.action:hover { color: var(--bronze-deep); }

/* ---- Level directory: the tower read from the top, on a night panel like a lift lobby board ---- */
.night { background: var(--night) !important; color: var(--cream); border-top-color: var(--night); }
.night h2 { color: var(--cream); }
.night p.note { color: var(--cr-75); }
.stack { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--cr-30); }
.stack li { display: grid; grid-template-columns: 9rem 13rem minmax(0, 1fr); align-items: baseline; gap: 0 28px; padding: 24px 0; border-bottom: 1px solid var(--cr-15); }
.stack .n { white-space: nowrap; font: 300 2.8rem/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--cream); }
.stack .lv { display: block; margin-bottom: 8px; font: 500 .7rem/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.zh .stack .lv { font-size: .78rem; letter-spacing: .06em; }
.stack .nm { font: 300 1.25rem/1.3 var(--serif); color: var(--cream); }
.stack .it { font-size: .92rem; line-height: 1.65; color: var(--cr-75); }

/* ---- Photographs: full renders with a quiet caption, as the homepage hangs them ---- */
.photo { margin: 40px 0 0; }
.photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bone-2); }
.photo figcaption, .map figcaption { margin-top: 10px; font-size: .78rem; color: var(--stone); }
.duo { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; margin-top: 16px; }
.duo .photo { margin-top: 0; }
.duo .photo:nth-child(2) img { aspect-ratio: 4 / 3; }
.full p { max-width: 70ch; }
.map { margin: 40px 0 0; padding: 22px; background: var(--night); }
.map img { width: 100%; }
.map figcaption { color: var(--cr-75); }

/* ---- Distance lists, as in the homepage Location rows ---- */
.dist { margin: 0 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dist li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dist li span:first-child { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.dist li span:last-child { font-size: .9rem; color: var(--stone); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- Two-sided verdict: ruled columns, no fill ---- */
.compare { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.compare > div { padding: 30px 48px 4px 0; }
.compare > div + div { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--line); }
.compare h3 { margin: 0 0 12px; font-size: 1.5rem; }

/* ---- FAQ: hairline rows with the homepage's thin bronze plus ---- */
.faq { margin-bottom: 72px; border-top: 1px solid var(--line); }
.faq:last-child { margin-bottom: 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { margin: 0; font-size: 1.3rem; line-height: 1.4; color: var(--ink); transition: color .2s var(--ease); }
.zh .qa h3 { font-size: 1.2rem; }
.qa summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--bronze), var(--bronze)) center / 18px 1px no-repeat, linear-gradient(var(--bronze), var(--bronze)) center / 1px 18px no-repeat; transition: background-size .3s var(--ease); }
.qa[open] summary::after { background-size: 18px 1px, 1px 0; }
.qa summary:hover h3 { color: var(--bronze-deep); }
.sec .qa p { margin: 0 0 28px; padding-right: 46px; }

/* ---- Closing band: a render under the night veil, the homepage's hairline button ---- */
.cta { position: relative; isolation: isolate; background: var(--night) var(--photo) center / cover no-repeat; color: var(--cream); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(11, 16, 32, .9), rgba(11, 16, 32, .7)); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px 64px; padding-top: 136px; padding-bottom: 136px; }
.cta p { margin: 0; max-width: 26ch; font: 300 clamp(1.8rem, 3.2vw, 3rem)/1.15 var(--serif); text-wrap: balance; }
.zh .cta p { max-width: 18em; line-height: 1.35; letter-spacing: .02em; }

/* ---- Footer: bone-2, columns split by vertical hairlines, as on the homepage ---- */
footer { padding: 80px 0 48px; background: var(--bone-2); color: rgba(17, 20, 28, .8); font-size: .88rem; line-height: 1.7; }
footer .cols { display: grid; grid-template-columns: 5fr 4fr 3fr; }
footer .cols > * { padding: 0 32px; border-left: 1px solid var(--line); }
footer .cols > :first-child { padding-left: 0; border-left: 0; }
footer .cols p { margin: 0 0 10px; max-width: 34ch; }
footer .mark { font: 300 1.5rem/1 var(--serif) !important; letter-spacing: .18em; color: var(--ink); margin-bottom: 18px !important; }
footer .mute { color: var(--stone); }
footer nav, footer .cols > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }
footer nav a, footer .cols > div:last-child a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .3s var(--ease); }
footer nav a:hover, footer .cols > div:last-child a:hover { text-decoration-color: currentColor; }
footer .line { margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--stone); }

/* ---- Floating WhatsApp: the homepage's ink circle ---- */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--cr-15); background: var(--ink); color: var(--cream); transition: background-color .3s var(--ease); }
.wa:hover { background: var(--night); }
.wa svg { width: 20px; height: 20px; }

/* ---- Tablet ---- */
@media (max-width: 1180px) {
  .wrap { padding: 0 48px; }
  .bar { gap: 24px; }
  .links { gap: 22px; }
  .split .wrap { display: block; }
  .split .sec-body { padding-top: 8px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack li { grid-template-columns: 6rem minmax(0, 1fr); gap: 4px 24px; }
  .stack .n { grid-row: span 2; }
}

/* ---- Phone: the homepage's two-line toggle opening a full-width bone sheet ---- */
@media (max-width: 1023px) {
  .wrap { padding: 0 24px; }
  .bar { height: 64px; gap: 16px; }
  .links, .bar > .lang, .bar > .btn { display: none; }
  .menu { display: block; }
  .menu:not([open]) .panel { display: none; }
  .btn { white-space: normal; text-align: center; }
  .cta .btn { max-width: 100%; }
  .menu summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
  .menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .top:has(.menu[open]) { background: var(--bone); color: var(--ink); border-bottom: 1px solid var(--line); }
  .panel { position: absolute; top: 64px; left: 0; right: 0; display: flex; flex-direction: column; max-height: calc(100svh - 64px); overflow-y: auto; padding: 8px 24px 32px; background: var(--bone); border-bottom: 1px solid var(--line); color: var(--ink); }
  .panel > a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 300 1.75rem/1.25 var(--serif); text-decoration: none; }
  .panel > a[aria-current] { color: var(--bronze-deep); }
  .panel-foot { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin-top: 24px; }
  .panel-foot .lang { font-size: 1rem; gap: 10px; }
  .panel-foot .lang a { padding: 10px 4px; }

  .hero { min-height: 94vh; min-height: 94svh; }
  .hero .wrap { padding-top: 112px; padding-bottom: 28px; }
  .hero::before { background: linear-gradient(to top, rgba(11, 16, 32, .92), rgba(11, 16, 32, .6) 55%, rgba(11, 16, 32, .5)); }
  .lead { font-size: 1rem; }
  .facts { grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 44px; }
  .sec { padding: 88px 0; }
  .full h2 { margin-bottom: 32px; }
  .sec p.intro { margin: -12px 0 40px; }
  .plans { gap: 64px 28px; }
  .duo { grid-template-columns: 1fr; gap: 28px; }
  .compare { grid-template-columns: 1fr; }
  .compare > div, .compare > div + div { padding: 26px 0 6px; border-left: 0; }
  .compare > div + div { border-top: 1px solid var(--line); margin-top: 18px; }
  .cta .wrap { padding-top: 96px; padding-bottom: 96px; }
  footer .cols { grid-template-columns: 1fr; gap: 28px; }
  footer .cols > * { padding: 0; border-left: 0; }
  footer .cols > * + * { padding-top: 24px; border-top: 1px solid var(--line); }
  footer { padding-bottom: 96px; }
}
@media (max-width: 680px) {
  .plans { grid-template-columns: 1fr; }
  .sheet { aspect-ratio: 5 / 6; }
  .stack li { grid-template-columns: 6.2rem minmax(0, 1fr); gap: 2px 16px; padding: 20px 0; }
  .stack .n { font-size: 1.8rem; }
  td { padding-right: 16px; }
  td:first-child { white-space: normal; }
  .fit { grid-template-columns: 1fr; gap: 2px; }
  .fit dd { margin-bottom: 8px; }
  .sec .qa p { padding-right: 0; }
  .qa h3 { font-size: 1.15rem; }
  .map { padding: 12px; }
}
@media (max-width: 400px) {
  .wrap { padding: 0 20px; }
  .facts b { font-size: 1.45rem; }
  h1 { font-size: 2.05rem; }
  .zh h1 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
