/* ELUXA — Direction F: Maison / 当代
   Contemporary luxury firm. Cool light ground, tight grid, one line, then the work.
   Not letterpress nostalgia, not a SaaS landing. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/noto-sans-sc.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("/fonts/noto-serif-sc.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --ink: #12141a;
  --ink-deep: #0e1520;
  --gold: #c9a45e;
  --paper: #f3f4f6;
  --paper-2: #eceef1;
  --muted: #3a4150;
  --line: rgba(18, 20, 26, 0.14);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, serif;
  --sans: "Instrument Sans", "Noto Sans SC", "Avenir Next", sans-serif;
  --wrap: 74rem;
  --gutter: 1.5rem;
  --measure: 38rem;
  color-scheme: light;
}

:lang(zh-Hans) {
  --serif: "Noto Serif SC", "Songti SC", "Cormorant Garamond", serif;
  --sans: "Noto Sans SC", "PingFang HK", "Instrument Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100svh;
  letter-spacing: -0.01em;
}
:lang(zh-Hans) body {
  font-size: 1.02rem; line-height: 1.85; letter-spacing: 0;
}

::selection { background: var(--gold); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--gold); color: var(--ink);
  padding: 0.4rem 0.7rem; z-index: 10;
}
.skip:focus { top: 1rem; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: min(var(--wrap), calc(100% - 4rem));
  margin-inline: auto;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.25rem 1.5rem; min-height: 3.75rem;
}
.brand {
  display: flex; align-items: center; text-decoration: none;
  min-height: 44px; margin-right: auto;
}
.brand img { height: 16px; width: auto; }
:lang(zh-Hans) .brand img { height: 36px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; }
.nav a, .lang {
  text-decoration: none;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.45rem; min-height: 44px;
  display: inline-flex; align-items: center; color: var(--ink);
}
:lang(zh-Hans) .nav a, :lang(zh-Hans) .lang {
  letter-spacing: 0.1em; text-transform: none; font-size: 0.82rem;
}
.nav a[aria-current="page"] {
  color: var(--gold);
  box-shadow: inset 0 -1px 0 var(--gold);
}
.lang { color: var(--muted); padding-right: 0; }

h1, h2, h3, .legal-name, .email {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em;
}
:lang(zh-Hans) :is(h1, h2, h3, .legal-name) {
  font-weight: 400; letter-spacing: 0.02em;
}
h1 em { font-style: italic; font-weight: 500; }

.kicker, .page-kicker, .act-no {
  margin: 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
}
:lang(zh-Hans) .kicker, :lang(zh-Hans) .page-kicker, :lang(zh-Hans) .act-no {
  letter-spacing: 0.1em; font-size: 0.78rem; text-transform: none;
}
.rule {
  width: 2.5rem; height: 1px; background: var(--gold);
  border: 0; margin: 0 0 1.1rem;
}

/* One strong line, then the work — first viewport */
.opener, .activities, .house-note {
  width: min(var(--wrap), calc(100% - 4rem));
  margin-inline: auto;
}
.opener {
  padding: 4.25rem 0 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 2rem 2.5rem;
  align-items: end;
}
.opener h1 {
  margin: 0;
  font-size: clamp(2.15rem, 3.8vw, 3.35rem);
  line-height: 1.12;
  max-width: 16em;
}
:lang(zh-Hans) .opener h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.4;
}
.opener-meta {
  margin: 0;
  font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-align: right;
  padding-bottom: 0.35rem;
  white-space: nowrap;
}
:lang(zh-Hans) .opener-meta {
  letter-spacing: 0.08em; text-transform: none; font-size: 0.8rem;
}

.activities {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.activity {
  padding: 2rem 1.75rem 2.25rem 0;
  border-right: 1px solid var(--line);
  min-height: 16rem;
  display: flex; flex-direction: column;
}
.activity:last-child {
  border-right: 0;
  padding-right: 0;
}
.activity:not(:first-child) { padding-left: 1.75rem; }
.act-no { display: block; margin-bottom: 1.15rem; }
.activity h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.65rem, 2.2vw, 2.05rem);
  line-height: 1.08;
}
:lang(zh-Hans) .activity h2 { line-height: 1.3; }
.activity p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem; line-height: 1.6;
  flex: 1;
}
:lang(zh-Hans) .activity p { line-height: 1.8; }
.activity .act-link,
.activity .status-line {
  margin-top: 1.5rem;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 0.2rem;
  min-height: 44px;
  display: inline-flex; align-items: center;
}
:lang(zh-Hans) .activity .act-link,
:lang(zh-Hans) .activity .status-line {
  letter-spacing: 0.08em; text-transform: none; font-size: 0.8rem;
}
.status-line { color: var(--gold); border-bottom-color: var(--gold); }

.house-note {
  padding: 3.25rem 0 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 1.5rem 3rem;
}
.house-note h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  line-height: 1.15;
}
.house-note p { margin: 0; color: var(--muted); max-width: 36rem; }
.house-note a {
  text-underline-offset: 0.18em; text-decoration-thickness: 1px;
  text-decoration-color: var(--gold);
}

.hero-links {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.25rem;
}
.hero-links a {
  text-decoration: none;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding: 0.3rem 0 0.2rem; min-height: 44px;
  display: inline-flex; align-items: center;
}
.hero-links a[href^="mailto"] {
  text-transform: none; letter-spacing: 0.02em; font-size: 0.9rem;
}
:lang(zh-Hans) .hero-links a {
  letter-spacing: 0.08em; text-transform: none; font-size: 0.86rem;
}

.lede { margin: 0; color: var(--muted); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a, .note a {
  text-underline-offset: 0.18em; text-decoration-thickness: 1px;
  text-decoration-color: var(--gold);
}

/* Inner pages — same tight contemporary system, no dark mast */
.mast {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--ink);
}
.mast h1 {
  margin: 0; max-width: 16em;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  color: var(--ink);
}
:lang(zh-Hans) .mast h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.3;
}
.mast .dek {
  max-width: 36rem; margin: 1rem 0 0;
  color: var(--muted);
}
.about-mast .mark-block { width: min(14rem, 60%); margin: 0 0 1.5rem; }

.page-body { padding: 2.75rem 0 5rem; }

.service {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) minmax(0, var(--measure));
  gap: 1rem 2.5rem;
  padding: 2.1rem 0;
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 1px solid var(--ink); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h2 { margin: 0; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.1; }
:lang(zh-Hans) .service h2 { line-height: 1.35; }
.service h2 span {
  display: block; color: var(--gold); font-family: var(--sans);
  font-weight: 500; font-size: 0.62rem; letter-spacing: 0.18em;
  margin-bottom: 0.55rem;
}

.prose h2 {
  margin: 2.4rem 0 0.7rem;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  padding-top: 0.85rem;
  border-top: 1px solid var(--ink);
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

.facts { margin: 2.75rem 0 0; max-width: 46rem; }
.facts div {
  display: grid; grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.7rem 1.5rem; padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.facts div:first-child { border-top: 1px solid var(--ink); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt {
  margin: 0; color: var(--gold); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; padding-top: 0.25rem;
}
:lang(zh-Hans) .facts dt {
  letter-spacing: 0.08em; text-transform: none; font-size: 0.8rem;
}
.facts dd { margin: 0; }

.status {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.15rem; align-items: baseline;
  margin: 1.35rem 0 0; padding: 0.75rem 0;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  max-width: 30rem;
}
.status strong { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }

.email {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.05;
  text-decoration: none; border-bottom: 1px solid var(--gold);
  overflow-wrap: anywhere;
}
.note {
  max-width: 34rem; margin-top: 2.75rem; padding-top: 1.2rem;
  border-top: 1px solid var(--ink);
  color: var(--muted); font-size: 0.92rem;
}
.note .legal-name { color: var(--ink) !important; }

.site-footer {
  background: var(--ink-deep);
  color: rgba(244, 241, 234, 0.62);
  padding: 2.5rem 0 2.25rem;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem; align-items: end;
}
.legal-name {
  margin: 0; color: var(--paper);
  font-size: 1.35rem; line-height: 1.15;
}
.legal-name + .legal-name { margin-top: 0.15rem; }
.legal-name[lang="zh-Hant"] {
  font-family: "Noto Serif SC", "Noto Sans SC", serif;
  font-size: 1.05rem; letter-spacing: 0.12em;
}
.footer-address {
  max-width: 26rem; margin: 1rem 0 0.35rem;
  font-size: 0.68rem; letter-spacing: 0.08em; line-height: 1.55;
  text-transform: uppercase;
}
.site-footer a {
  color: var(--paper);
  text-underline-offset: 0.18em; text-decoration-thickness: 1px;
  text-decoration-color: var(--gold);
}
.site-footer p { margin: 0 0 0.25rem; }
.footer-meta {
  text-align: right; font-size: 0.64rem;
  letter-spacing: 0.16em; text-transform: uppercase;
}
:lang(zh-Hans) .footer-meta {
  letter-spacing: 0.08em; text-transform: none; font-size: 0.84rem;
}
.footer-copy { color: var(--paper); }

main { opacity: 1; }

@media (max-width: 900px) {
  .wrap, .opener, .activities, .house-note { width: min(var(--wrap), calc(100% - 2rem)); }
  .opener { grid-template-columns: 1fr; gap: 1rem; padding: 2.75rem 0 2rem; }
  .opener-meta { text-align: left; }
  .activities { grid-template-columns: 1fr; }
  .activity, .activity:not(:first-child), .activity:last-child {
    padding: 1.6rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
  }
  .activity:last-child { border-bottom: 0; }
  .house-note, .service, .footer-grid, .facts div { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; margin-top: 0.5rem; }
  .mast { padding: 2.5rem 0 1.5rem; }
  .page-body { padding: 2rem 0 3.5rem; }
}

@media (max-width: 860px) {
  .brand { order: 1; }
  .lang { order: 2; }
  .nav { order: 3; flex-basis: 100%; padding-bottom: 0.2rem; }
  .nav a { letter-spacing: 0.1em; padding-inline: 0.35rem; font-size: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .skip { display: none; }
  body, .site-footer { background: white; color: black; }
  a { text-decoration: underline; }
}
