/* finesse · register=brand · A=navy-champagne · B=PingFang-semibold-regular · C=photo-and-editorial-rows
 * D=CSS-feedback · E=Shanghai-cityscape · SOUL=6 SPECTACLE=4 DENSITY=4 */
:root {
  --navy: #1b2b3a;
  --deep: #14222e;
  --ink: #172532;
  --slate: #52616d;
  --gold: #b18a55;
  --gold-hover: #c5a371;
  --pale: #d6c3a5;
  --surface: #f5f4ef;
  --mist: #e9e8e2;
  --line: rgba(27, 43, 58, .18);
  --light-line: rgba(245, 244, 239, .26);
  --gutter: clamp(20px, 4.17vw, 64px);
  --nav-h: 72px;
  --section-space: clamp(56px, 8.85vw, 88px);
  --section-gap: clamp(22px, 4vw, 36px);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font: 16px/1.65 "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
a, summary { -webkit-tap-highlight-color: rgba(177, 138, 85, .22); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { min-width: 0; overflow-wrap: anywhere; font-weight: 650; }
h1, .section-heading h2 { line-height: 1.19; letter-spacing: -.025em; text-wrap: balance; }
.section-shell { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 4;
  top: 10px;
  left: var(--gutter);
  padding: 10px 16px;
  color: var(--ink);
  background: var(--surface);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: fixed;
  z-index: 3;
  inset: 0 0 auto;
  color: var(--surface);
  border-bottom: 1px solid var(--light-line);
}
.site-header.is-solid, .site-header.is-scrolled, .site-header:has(.mobile-menu[open]) {
  color: var(--ink);
  background: var(--surface);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; height: var(--nav-h); align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 19px; font-weight: 700; white-space: nowrap; }
.brand img { object-fit: contain; }
.site-header:not(.is-solid, .is-scrolled, :has(.mobile-menu[open])) .brand img { filter: brightness(0) invert(.96); }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 46px); }
.desktop-nav > a:not(.button), .mobile-nav a, .site-footer nav a, .footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.desktop-nav > a { font-size: 14px; }
.desktop-nav a[aria-current], .mobile-nav a[aria-current], .site-footer a[aria-current] { text-decoration: underline; text-underline-offset: .4em; }
.button {
  display: inline-flex;
  min-height: 48px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.button-gold { background: var(--gold); color: var(--deep); }
.button-outline, .header-contact { border-color: currentColor; }
.button-gold:focus-visible { outline-color: var(--surface); }
.mobile-menu { display: none; }
.band { background: var(--navy); color: var(--surface); }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--nav-h) + 36px) 96px;
  background: var(--deep);
}
.hero-photo, .hero::before, .hero::after { position: absolute; inset: 0; pointer-events: none; }
.hero-photo { left: 30%; z-index: -3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(20, 34, 46, .88), transparent 25%),
    linear-gradient(90deg, var(--deep) 29%, rgba(20, 34, 46, .98) 37%, rgba(20, 34, 46, .88) 50%, rgba(20, 34, 46, .16) 76%, rgba(20, 34, 46, .06));
}
.hero::after { z-index: -1; content: ""; background: url("assets/grain.svg"); opacity: .035; }
.hero-content { display: grid; justify-items: start; gap: clamp(16px, 2vw, 20px); }
.brand-signature { color: var(--pale); font-size: 13px; font-weight: 700; letter-spacing: .13em; }
.hero h1 { font-size: clamp(34px, 6.25vw, 68px); }
.hero-summary { font-size: clamp(14px, 1.55vw, 17px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cue { position: absolute; inset: auto 0 19px; }
.hero-cue a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }

.site-section, .contact-banner, .page-intro { padding-block: var(--section-space); }
.section-stack { display: grid; gap: var(--section-gap); }
.section-heading { display: grid; gap: 12px; }
.section-heading h2 { font-size: clamp(31px, 4.95vw, 48px); }
.section-heading p, .page-intro p { max-width: 42em; color: var(--slate); }
.band .section-heading p, .page-intro p { color: var(--surface); }
.entry-list { padding: 0; margin: 0; list-style: none; border-bottom: 1px solid var(--line); }
.entry-list li { border-top: 1px solid var(--line); }
.entry-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 19px; }
.entry-link > span:first-child { display: grid; gap: 3px; min-width: 0; }
.entry-link strong { font-size: 21px; line-height: 1.3; }
.entry-link small, .entry-detail p { color: var(--slate); font-size: 15px; }
.entry-detail { display: grid; justify-items: start; gap: 7px; padding-block: 22px; }
.entry-detail h2, .flow-copy h2, .flow-copy h3 { font-size: 24px; line-height: 1.28; }
.entry-detail p, .flow-copy p { max-width: 43em; }
.entry-detail .entry-summary { font-weight: 650; }
.flow-list { display: grid; gap: 0; }
.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.band .flow-row { border-color: var(--light-line); }
.flow-row:last-child { border-bottom: 1px solid var(--line); }
.band .flow-row:last-child { border-color: var(--light-line); }
.flow-copy { display: grid; justify-items: start; gap: 8px; }
.flow-copy p { color: var(--slate); }
.band .flow-copy p { color: var(--surface); }
.flow-figure { display: grid; gap: 8px; background: var(--mist); padding: 14px 16px 16px; }
.band .flow-figure { background: var(--deep); }
.flow-figure figcaption { color: var(--slate); font-size: 13px; }
.band .flow-figure figcaption { color: var(--pale); }
.flow-figure ol { display: flex; flex-wrap: wrap; gap: 2px 14px; padding: 0; margin: 0; list-style: none; font-size: 15px; font-weight: 650; }
.flow-figure li + li::before { content: "→"; margin-inline-end: 12px; }
.text-link, .email-link, .breadcrumb a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; width: fit-content; }
.text-link { font-weight: 650; white-space: nowrap; }
.band .text-link { color: var(--pale); }
.email-link { text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; max-width: 100%; }
.about-section { background: var(--mist); }
.about-photo { width: 100%; height: clamp(190px, 30vw, 280px); object-fit: cover; object-position: 50% 42%; }
.contact-banner { background: var(--deep); }
.interior main { padding-top: var(--nav-h); }
.page-intro h1 { font-size: clamp(30px, 5.1vw, 55px); margin-block: 10px 14px; text-wrap: pretty; }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--pale); font-size: 14px; }
.site-footer { padding-block: 35px 22px; }
.footer-inner { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.footer-inner p, .site-footer nav, .footer-email { color: var(--slate); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-email { width: fit-content; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 16px; border-top: 1px solid var(--line); color: var(--slate); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; white-space: nowrap; }

@media (hover: hover) and (pointer: fine) {
  a:hover:not(.brand, .button, .entry-link, .skip-link) { text-decoration: underline; text-underline-offset: .3em; }
  .button-gold:hover { background: var(--gold-hover); }
  .button-outline:hover, .header-contact:hover { background: var(--surface); color: var(--ink); }
  .is-scrolled .header-contact:hover, .is-solid .header-contact:hover { background: var(--navy); color: var(--surface); }
  .entry-link:hover strong { text-decoration: underline; text-underline-offset: .25em; }
}

@media (max-width: 899px) {
  .flow-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  :root { --nav-h: 68px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 10px;
    gap: 9px;
    border: 1px solid currentColor;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    white-space: nowrap;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-icon { width: 14px; height: 7px; border-block: 1px solid currentColor; }
  .mobile-menu[open] .menu-icon { transform: rotate(-45deg); }
  .mobile-nav {
    position: absolute;
    inset: var(--nav-h) 0 auto;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    display: grid;
    padding: 12px var(--gutter) 20px;
    color: var(--ink);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav a { min-height: 48px; border-bottom: 1px solid var(--line); }
}

@media (max-width: 599px) {
  .hero { align-items: end; }
  .hero-photo { left: 0; }
  .hero-photo img { object-position: 47% 43%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(20, 34, 46, .88), rgba(20, 34, 46, .12) 25%, rgba(20, 34, 46, .35) 48%, rgba(20, 34, 46, .95) 72%, var(--deep));
  }
  .hero h1 { font-size: clamp(30px, 9.5vw, 42px); }
  .hero-cue { bottom: 14px; }
  .site-footer nav { gap: 0 17px; }
}

@media (max-height: 620px) {
  .hero { padding-block: calc(var(--nav-h) + 18px) 72px; }
  .hero-cue { bottom: 10px; }
}

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