/* ============================================================
   LAND & ESTATE CAPITAL — design system
   Concept: "The Family Seal" — book-grade typography on paper,
   ink and one red. Quiet institutional.
   ============================================================ */

:root {
  --paper: #FAF9F6;
  --paper-dim: #F3F1EA;
  --ink: #191A1C;
  --ink-deep: #101114;
  --seal: #B01E23;
  --slate: #63666D;
  --hairline: #E5E2DA;
  --hairline-dark: #2A2C30;
  --stone: #ECE8DF;
  --stone-line: #D8D3C7;
  --serif: 'EB Garamond', 'Noto Serif SC', 'Songti SC', serif;
  --sans: 'Archivo', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --measure: 34em;
  --gutter: clamp(24px, 6vw, 96px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- language switching ---------- */
html[lang="zh"] .L-en { display: none !important; }
html:not([lang="zh"]) .L-zh { display: none !important; }

html[lang="zh"] body { line-height: 1.9; }
html[lang="zh"] h1, html[lang="zh"] h2 { line-height: 1.25; }

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 3px;
}

::selection { background: var(--seal); color: var(--paper); }

/* ---------- header ---------- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--gutter);
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; }

.brand .wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.wordmark .name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.wordmark .sub {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.site-nav a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

html[lang="zh"] .site-nav a { letter-spacing: 0.14em; font-size: 13px; }

.site-nav a:hover { border-bottom-color: var(--seal); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--seal); color: var(--seal); }

.lang-toggle {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink);
  padding: 7px 16px;
  cursor: pointer;
}

.lang-toggle:hover { border-color: var(--seal); color: var(--seal); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(64px, 11vh, 140px) var(--gutter) clamp(72px, 12vh, 150px);
  align-items: start;
}

.motto-rail {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.55em;
  color: var(--seal);
  border-left: 1px solid var(--hairline);
  padding-left: 18px;
  min-height: 240px;
  margin-top: 10px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 28px;
}

html[lang="zh"] .eyebrow { letter-spacing: 0.32em; font-size: 12.5px; }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  max-width: 11em;
}

html[lang="zh"] h1 { font-size: clamp(34px, 5.2vw, 68px); font-weight: 600; letter-spacing: 0.02em; }

.hero .lede {
  margin-top: 36px;
  max-width: var(--measure);
  font-size: clamp(19px, 1.6vw, 22px);
  color: var(--slate);
}

.hero .quiet-line {
  margin-top: 44px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

/* hero entrance — one orchestrated moment */
.hero > * { opacity: 0; transform: translateY(14px); animation: rise 0.9s cubic-bezier(.2,.6,.2,1) forwards; }
.hero .motto-rail { animation-delay: 0.55s; transform: none; }
.hero div > .eyebrow { animation-delay: 0.05s; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .hero > * { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */
.section {
  padding: clamp(72px, 11vh, 130px) var(--gutter);
  border-top: 1px solid var(--hairline);
}

.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: clamp(40px, 6vh, 64px);
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.008em;
  max-width: 18em;
}

/* three practices */
.practices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}

.practice {
  border-top: 1px solid var(--ink);
  padding-top: 26px;
}

.practice .tick {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-bottom: 16px;
}

.practice h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  margin-bottom: 6px;
}

.practice .zh-name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--seal);
  display: block;
  margin-bottom: 18px;
}

.practice p { font-size: 17.5px; color: var(--slate); max-width: 30em; }

/* motto band */
.motto-band {
  background: var(--stone);
  color: var(--ink);
  text-align: center;
  padding: clamp(90px, 14vh, 160px) var(--gutter);
}

.motto-band .words {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 62px);
  letter-spacing: 0.01em;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.motto-band .words .dot { color: var(--seal); padding: 0 0.12em; }

.motto-band .note {
  margin-top: 30px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}

/* centered statement */
.statement {
  text-align: center;
}

.statement p {
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.5;
  max-width: 30em;
  margin: 0 auto;
}

.statement .verse { font-style: italic; }

.statement cite {
  display: block;
  margin-top: 26px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
}

.statement .seal-stamp {
  width: 44px;
  height: 44px;
  margin: 56px auto 0;
  opacity: 0.92;
}

/* ---------- prose / narrative ---------- */
.prose {
  max-width: var(--measure);
}

.prose p + p { margin-top: 1.4em; }
.prose .lede { font-size: clamp(20px, 1.8vw, 24px); color: var(--slate); }

/* timeline */
.timeline { margin-top: clamp(48px, 7vh, 80px); }

.timeline .row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}

.timeline .when {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--seal);
  padding-top: 6px;
}

.timeline h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

.timeline p { max-width: var(--measure); color: var(--slate); font-size: 18px; }

/* figure band */
.figure-band { border-top: 1px solid var(--hairline); }

.figure-band img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.02);
}

.figure-band figcaption {
  padding: 18px var(--gutter) 0;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

/* values trio */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}

.value .han {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--seal);
  line-height: 1;
  margin-bottom: 18px;
}

.value h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.value p { font-size: 17.5px; color: var(--slate); }

/* ---------- ventures: terms ---------- */
.terms { margin-top: clamp(40px, 6vh, 64px); }

.terms .term {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: 30px 0;
  border-top: 1px solid var(--hairline);
}

.terms dt {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 5px;
}

.terms dd {
  font-size: 19px;
  color: var(--slate);
  max-width: var(--measure);
}

/* bring list */
.bring {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}

.bring .item { border-top: 1px solid var(--ink); padding-top: 24px; }

.bring h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 10px; }

.bring p { font-size: 17px; color: var(--slate); }

/* proof line */
.proof {
  margin-top: clamp(56px, 8vh, 88px);
  border-left: 2px solid var(--seal);
  padding-left: 28px;
  max-width: 36em;
}

.proof p { font-size: 21px; font-style: italic; }

.proof cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

/* CTA */
.write-us { text-align: center; }

.write-us h2 { margin: 0 auto 18px; }

.write-us p { color: var(--slate); max-width: var(--measure); margin: 0 auto; }

.write-us .mail {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.write-us .mail:hover { color: var(--seal); border-bottom-color: var(--seal); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-block h3 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 16px;
}

.contact-block p { font-size: 20px; line-height: 1.7; }

.contact-block a { text-decoration: none; border-bottom: 1px solid var(--hairline); }
.contact-block a:hover { border-bottom-color: var(--seal); color: var(--seal); }

.contact-block + .contact-block { margin-top: 44px; }

/* ---------- footer ---------- */
.site-foot {
  background: var(--stone);
  color: var(--slate);
  padding: clamp(56px, 8vh, 88px) var(--gutter) 40px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.8;
}

.foot-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--stone-line);
}

.foot-grid .mark { width: 34px; height: 34px; }

.foot-name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.site-foot a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--stone-line); }
.site-foot a:hover { color: var(--seal); border-bottom-color: var(--seal); }

.foot-links { text-align: right; }
.foot-links a { display: inline-block; margin-left: 24px; }

.foot-legal {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--slate);
}

.foot-legal .disclaimer { max-width: 62em; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .practices, .values, .bring { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { text-align: left; }
  .foot-links a { margin-left: 0; margin-right: 24px; }
  .timeline .row, .terms .term { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 720px) {
  .site-head { flex-wrap: wrap; }
  .site-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .motto-rail { display: none; }
  body { font-size: 17.5px; }
}
